@gridsuite/commons-ui 0.241.1 → 0.242.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 (140) hide show
  1. package/README.md +4 -0
  2. package/dist/components/composite/grid/grid-item.d.ts +2 -1
  3. package/dist/components/composite/grid/grid-item.js +9 -2
  4. package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-autocomplete.d.ts +1 -2
  5. package/dist/features/index.js +87 -3
  6. package/dist/features/network-modification-table/index.js +2 -1
  7. package/dist/features/network-modification-table/use-modifications-drag-and-drop.js +2 -1
  8. package/dist/features/network-modification-table/utils.d.ts +1 -0
  9. package/dist/features/network-modification-table/utils.js +5 -1
  10. package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +3 -0
  11. package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +3 -0
  12. package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +3 -0
  13. package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +3 -0
  14. package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +3 -0
  15. package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.d.ts +71 -2
  16. package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.js +26 -8
  17. package/dist/features/network-modifications/common/connectivity/index.js +3 -1
  18. package/dist/features/network-modifications/common/currentLimits/LimitsPane.d.ts +7 -0
  19. package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +243 -0
  20. package/dist/features/network-modifications/common/currentLimits/LimitsTagChip.d.ts +9 -0
  21. package/dist/features/network-modifications/common/currentLimits/LimitsTagChip.js +29 -0
  22. package/dist/features/network-modifications/common/currentLimits/SelectedOperationalLimitGroup.d.ts +9 -0
  23. package/dist/features/network-modifications/common/currentLimits/SelectedOperationalLimitGroup.js +100 -0
  24. package/dist/features/network-modifications/common/currentLimits/index.d.ts +12 -0
  25. package/dist/features/network-modifications/common/currentLimits/index.js +47 -0
  26. package/dist/features/network-modifications/common/currentLimits/limits.types.d.ts +52 -0
  27. package/dist/features/network-modifications/common/currentLimits/limits.types.js +17 -0
  28. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.d.ts +10 -0
  29. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.js +285 -0
  30. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.d.ts +5 -0
  31. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.js +184 -0
  32. package/dist/features/network-modifications/common/currentLimits/limitsEditor/TemporaryLimitsTable.d.ts +14 -0
  33. package/dist/features/network-modifications/common/currentLimits/limitsEditor/TemporaryLimitsTable.js +166 -0
  34. package/dist/features/network-modifications/common/currentLimits/limitsEditor/index.d.ts +10 -0
  35. package/dist/features/network-modifications/common/currentLimits/limitsEditor/index.js +10 -0
  36. package/dist/features/network-modifications/common/currentLimits/limitsEditor/limitsChart.d.ts +11 -0
  37. package/dist/features/network-modifications/common/currentLimits/limitsEditor/limitsChart.js +177 -0
  38. package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.d.ts +213 -0
  39. package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.js +337 -0
  40. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsGroupsContextualMenu.d.ts +25 -0
  41. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsGroupsContextualMenu.js +92 -0
  42. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsPropertiesStack.d.ts +10 -0
  43. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsPropertiesStack.js +25 -0
  44. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroupTabLabel.d.ts +10 -0
  45. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroupTabLabel.js +73 -0
  46. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroups.d.ts +16 -0
  47. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroups.js +121 -0
  48. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/index.d.ts +11 -0
  49. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/index.js +12 -0
  50. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroups.types.d.ts +71 -0
  51. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroups.types.js +15 -0
  52. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroupsStyles.d.ts +46 -0
  53. package/dist/features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroupsStyles.js +45 -0
  54. package/dist/features/network-modifications/common/index.d.ts +1 -0
  55. package/dist/features/network-modifications/common/index.js +50 -2
  56. package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.d.ts +11 -0
  57. package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js +6 -4
  58. package/dist/features/network-modifications/common/measurements/index.js +2 -1
  59. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -1
  60. package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +3 -7
  61. package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +3 -0
  62. package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +9 -6
  63. package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +3 -0
  64. package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +3 -0
  65. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +9 -6
  66. package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +3 -0
  67. package/dist/features/network-modifications/index.d.ts +1 -0
  68. package/dist/features/network-modifications/index.js +85 -2
  69. package/dist/features/network-modifications/line/catalog/index.d.ts +8 -0
  70. package/dist/features/network-modifications/line/catalog/index.js +14 -0
  71. package/dist/features/network-modifications/line/catalog/lineCatalog.type.d.ts +66 -0
  72. package/dist/features/network-modifications/line/catalog/lineCatalog.type.js +7 -0
  73. package/dist/features/network-modifications/line/catalog/segment.utils.d.ts +90 -0
  74. package/dist/features/network-modifications/line/catalog/segment.utils.js +100 -0
  75. package/dist/features/network-modifications/line/characteristics/LineCharacteristicsPane.d.ts +8 -0
  76. package/dist/features/network-modifications/line/characteristics/LineCharacteristicsPane.js +152 -0
  77. package/dist/features/network-modifications/line/characteristics/index.d.ts +9 -0
  78. package/dist/features/network-modifications/line/characteristics/index.js +9 -0
  79. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.types.d.ts +14 -0
  80. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.types.js +1 -0
  81. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.d.ts +52 -0
  82. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +53 -0
  83. package/dist/features/network-modifications/line/common/LineDialogHeader.d.ts +6 -0
  84. package/dist/features/network-modifications/line/common/LineDialogHeader.js +103 -0
  85. package/dist/features/network-modifications/line/common/LineDialogTabs.d.ts +9 -0
  86. package/dist/features/network-modifications/line/common/LineDialogTabs.js +61 -0
  87. package/dist/features/network-modifications/line/common/LineDialogTabsContent.d.ts +8 -0
  88. package/dist/features/network-modifications/line/common/LineDialogTabsContent.js +96 -0
  89. package/dist/features/network-modifications/line/common/LineForm.d.ts +6 -0
  90. package/dist/features/network-modifications/line/common/LineForm.js +50 -0
  91. package/dist/features/network-modifications/line/common/index.d.ts +12 -0
  92. package/dist/features/network-modifications/line/common/index.js +13 -0
  93. package/dist/features/network-modifications/line/common/line.types.d.ts +47 -0
  94. package/dist/features/network-modifications/line/common/line.types.js +1 -0
  95. package/dist/features/network-modifications/line/common/line.utils.d.ts +13 -0
  96. package/dist/features/network-modifications/line/common/line.utils.js +34 -0
  97. package/dist/features/network-modifications/line/creation/index.d.ts +8 -0
  98. package/dist/features/network-modifications/line/creation/index.js +7 -0
  99. package/dist/features/network-modifications/line/creation/lineCreation.types.d.ts +39 -0
  100. package/dist/features/network-modifications/line/creation/lineCreation.types.js +1 -0
  101. package/dist/features/network-modifications/line/creation/lineCreation.utils.d.ts +151 -0
  102. package/dist/features/network-modifications/line/creation/lineCreation.utils.js +172 -0
  103. package/dist/features/network-modifications/line/index.d.ts +10 -0
  104. package/dist/features/network-modifications/line/index.js +37 -0
  105. package/dist/features/network-modifications/load/common/LoadDialogHeader.js +3 -0
  106. package/dist/features/network-modifications/load/modification/loadModification.utils.js +3 -0
  107. package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +7 -6
  108. package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +3 -0
  109. package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +3 -0
  110. package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +3 -0
  111. package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +3 -0
  112. package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +3 -0
  113. package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +3 -0
  114. package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +3 -0
  115. package/dist/features/network-modifications/voltageLevel/creation/index.js +3 -0
  116. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +3 -0
  117. package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +3 -0
  118. package/dist/features/network-modifications/voltageLevel/index.js +3 -0
  119. package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +4 -1
  120. package/dist/features/parameters/common/contingency-table/contingency-table.js +22 -10
  121. package/dist/features/parameters/common/contingency-table/types.d.ts +7 -8
  122. package/dist/features/parameters/common/contingency-table/utils.d.ts +13 -0
  123. package/dist/features/parameters/common/contingency-table/utils.js +31 -0
  124. package/dist/features/parameters/loadflow/load-flow-general-parameters.js +5 -1
  125. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +19 -31
  126. package/dist/hooks/useModificationLabelComputer.js +1 -0
  127. package/dist/index.js +87 -3
  128. package/dist/translations/en/networkModificationsEn.d.ts +28 -0
  129. package/dist/translations/en/networkModificationsEn.js +28 -0
  130. package/dist/translations/en/parameters.d.ts +3 -1
  131. package/dist/translations/en/parameters.js +3 -1
  132. package/dist/translations/fr/networkModificationsFr.d.ts +28 -0
  133. package/dist/translations/fr/networkModificationsFr.js +28 -0
  134. package/dist/translations/fr/parameters.d.ts +3 -1
  135. package/dist/translations/fr/parameters.js +3 -1
  136. package/dist/utils/constants/fieldConstants.d.ts +47 -1
  137. package/dist/utils/constants/fieldConstants.js +46 -0
  138. package/dist/utils/types/modificationType.d.ts +4 -0
  139. package/dist/utils/types/modificationType.js +5 -0
  140. package/package.json +11 -4
@@ -63,6 +63,9 @@ import "../../../../components/composite/report/report-treeview/treeview-item.js
63
63
  import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
64
64
  import { getConnectivityWithPositionSchema, getConnectivityWithPositionEmptyFormDataProps, getConnectivityFormDataProps } from "../../common/connectivity/connectivityForm.utils.js";
65
65
  import "../../common/regulatingTerminal/RegulatingTerminalForm.js";
66
+ import "@mui/material/colors";
67
+ import "@mui/x-charts";
68
+ import "../../common/currentLimits/limitsPane.utils.js";
66
69
  import { CHARACTERISTICS_CHOICES } from "../common/shuntCompensator.utils.js";
67
70
  import { getCharacteristicsFormValidationSchema, getCharacteristicsEmptyFormData, getCharacteristicsFormData } from "../common/characteristicsForm.utils.js";
68
71
  const shuntCompensatorModificationFormSchema = object().shape({
@@ -63,6 +63,9 @@ import "react-window";
63
63
  import "../../../../components/composite/report/report-treeview/treeview-item.js";
64
64
  import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
65
65
  import "../../common/regulatingTerminal/RegulatingTerminalForm.js";
66
+ import "@mui/material/colors";
67
+ import "@mui/x-charts";
68
+ import "../../common/currentLimits/limitsPane.utils.js";
66
69
  function SubstationCreationForm() {
67
70
  return /* @__PURE__ */ jsxs(Stack, { spacing: 2, children: [
68
71
  /* @__PURE__ */ jsx(Grid2, { children: /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
@@ -61,6 +61,9 @@ import "react-window";
61
61
  import "../../../../components/composite/report/report-treeview/treeview-item.js";
62
62
  import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
63
63
  import "../../common/regulatingTerminal/RegulatingTerminalForm.js";
64
+ import "@mui/material/colors";
65
+ import "@mui/x-charts";
66
+ import "../../common/currentLimits/limitsPane.utils.js";
64
67
  function SubstationModificationForm({ substationToModify }) {
65
68
  const { locale } = useIntl();
66
69
  const { translate } = useLocalizedCountries(locale);
@@ -67,6 +67,9 @@ import "react-window";
67
67
  import "../../../../components/composite/report/report-treeview/treeview-item.js";
68
68
  import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
69
69
  import "../../common/regulatingTerminal/RegulatingTerminalForm.js";
70
+ import "@mui/material/colors";
71
+ import "@mui/x-charts";
72
+ import "../../common/currentLimits/limitsPane.utils.js";
70
73
  import { getTabStyle, getTabIndicatorStyle } from "../../../parameters/parameters-style.js";
71
74
  import { useTabsWithError } from "../../hooks/useTabsWithError.js";
72
75
  function VoltageLevelCreationForm({
@@ -59,6 +59,9 @@ import "react-window";
59
59
  import "../../../../components/composite/report/report-treeview/treeview-item.js";
60
60
  import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
61
61
  import "../../common/regulatingTerminal/RegulatingTerminalForm.js";
62
+ import "@mui/material/colors";
63
+ import "@mui/x-charts";
64
+ import "../../common/currentLimits/limitsPane.utils.js";
62
65
  import { MAX_SECTIONS_COUNT } from "./voltageLevel.constants.js";
63
66
  import { VoltageLevelCreationForm } from "./VoltageLevelCreationForm.js";
64
67
  import { SWITCH_TYPE, buildNewBusbarSections, getCreateSwitchesEmptyFormData, getCreateSwitchesValidationSchema, translateSwitchKinds, voltageLevelCreationDtoToForm, voltageLevelCreationEmptyFormData, voltageLevelCreationFormSchema, voltageLevelCreationFormToDto } from "./voltageLevelCreation.utils.js";
@@ -64,6 +64,9 @@ import "react-window";
64
64
  import "../../../../../../components/composite/report/report-treeview/treeview-item.js";
65
65
  import "../../../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
66
66
  import "../../../../common/regulatingTerminal/RegulatingTerminalForm.js";
67
+ import "@mui/material/colors";
68
+ import "@mui/x-charts";
69
+ import "../../../../common/currentLimits/limitsPane.utils.js";
67
70
  function SubstationCreationSection({
68
71
  showDeleteButton = true,
69
72
  onDelete
@@ -63,6 +63,9 @@ import "react-window";
63
63
  import "../../../../components/composite/report/report-treeview/treeview-item.js";
64
64
  import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
65
65
  import "../../common/regulatingTerminal/RegulatingTerminalForm.js";
66
+ import "@mui/material/colors";
67
+ import "@mui/x-charts";
68
+ import "../../common/currentLimits/limitsPane.utils.js";
66
69
  import { substationCreationEmptyFormData } from "../../substation/creation/substationCreation.utils.js";
67
70
  import "../../substation/modification/substationModification.utils.js";
68
71
  const SWITCH_TYPE = {
@@ -59,6 +59,9 @@ import "react-window";
59
59
  import "../../../components/composite/report/report-treeview/treeview-item.js";
60
60
  import "../../../components/composite/report/report-viewer/context/report-viewer-context.js";
61
61
  import "../common/regulatingTerminal/RegulatingTerminalForm.js";
62
+ import "@mui/material/colors";
63
+ import "@mui/x-charts";
64
+ import "../common/currentLimits/limitsPane.utils.js";
62
65
  import { MAX_SECTIONS_COUNT } from "./creation/voltageLevel.constants.js";
63
66
  import { VoltageLevelCreationForm } from "./creation/VoltageLevelCreationForm.js";
64
67
  import { SWITCH_TYPE, buildNewBusbarSections, getCreateSwitchesEmptyFormData, getCreateSwitchesValidationSchema, translateSwitchKinds, voltageLevelCreationDtoToForm, voltageLevelCreationEmptyFormData, voltageLevelCreationFormSchema, voltageLevelCreationFormToDto } from "./creation/voltageLevelCreation.utils.js";
@@ -40,7 +40,7 @@ import "../../common/properties/propertyUtils.js";
40
40
  import { GridSection } from "../../../../components/composite/grid/grid-section.js";
41
41
  import { BusbarSectionVoltageMeasurementsForm } from "../../common/measurements/BusbarSectionVoltageMeasurementsForm.js";
42
42
  import "../../common/regulatingTerminal/RegulatingTerminalForm.js";
43
- import { getTabStyle, getTabIndicatorStyle } from "../../../parameters/parameters-style.js";
43
+ import "@mui/material/colors";
44
44
  import "react-dom";
45
45
  import "autosuggest-highlight/match";
46
46
  import "autosuggest-highlight/parse";
@@ -68,6 +68,9 @@ import "../../../../components/composite/report/report-viewer/log-table/log-tabl
68
68
  import "react-window";
69
69
  import "../../../../components/composite/report/report-treeview/treeview-item.js";
70
70
  import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
71
+ import "@mui/x-charts";
72
+ import "../../common/currentLimits/limitsPane.utils.js";
73
+ import { getTabStyle, getTabIndicatorStyle } from "../../../parameters/parameters-style.js";
71
74
  function VoltageLevelModificationForm({
72
75
  voltageLevelToModify,
73
76
  busbarSections = []
@@ -1,5 +1,5 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Grid2, Stack, Alert, CircularProgress } from "@mui/material";
1
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
+ import { Alert, CircularProgress } from "@mui/material";
3
3
  import { forwardRef, useState, useImperativeHandle, useCallback, useEffect, useMemo } from "react";
4
4
  import { useIntl, FormattedMessage } from "react-intl";
5
5
  import { useFormContext } from "react-hook-form";
@@ -16,15 +16,19 @@ import "localized-countries/data/fr";
16
16
  import "localized-countries/data/en";
17
17
  import { useSnackMessage } from "../../../../hooks/useSnackMessage.js";
18
18
  import { CONTINGENCY_LISTS } from "../constants.js";
19
+ import { mapSimulatedContingencyList } from "./utils.js";
19
20
  const styles = {
20
- alert: { color: "text.primary", paddingTop: 0, paddingBottom: 0 }
21
+ alert: { color: "text.primary", paddingTop: 0, paddingBottom: 0 },
22
+ error: { color: "error.main", paddingTop: 0, paddingBottom: 0 }
21
23
  };
22
24
  function ContingencyTableWithApiRef({ name, showContingencyCount = false, fetchContingencyCount, isBuiltCurrentNode }, apiRef) {
23
25
  const intl = useIntl();
24
26
  const { snackError } = useSnackMessage();
25
27
  const { getValues } = useFormContext();
26
28
  const [isLoading, setIsLoading] = useState(false);
27
- const [simulatedContingencyCount, setSimulatedContingencyCount] = useState(null);
29
+ const [simulatedContingencyCount, setSimulatedContingencyCount] = useState(
30
+ null
31
+ );
28
32
  const [contingencyCountRefreshTrigger, setContingencyCountRefreshTrigger] = useState(0);
29
33
  useImperativeHandle(
30
34
  apiRef,
@@ -66,7 +70,7 @@ function ContingencyTableWithApiRef({ name, showContingencyCount = false, fetchC
66
70
  contingencyListsInfos.filter((lists) => lists[ACTIVATED]).flatMap((lists) => lists[CONTINGENCY_LISTS]?.map((contingencyList) => contingencyList[ID])),
67
71
  abortSignal
68
72
  ).then((contingencyCount) => {
69
- setSimulatedContingencyCount(contingencyCount);
73
+ setSimulatedContingencyCount(mapSimulatedContingencyList(contingencyCount, contingencyListsInfos));
70
74
  loadingTimeoutId = setTimeout(() => {
71
75
  setIsLoading(false);
72
76
  }, 500);
@@ -98,18 +102,26 @@ function ContingencyTableWithApiRef({ name, showContingencyCount = false, fetchC
98
102
  if (isLoading) {
99
103
  return /* @__PURE__ */ jsx(Alert, { variant: "standard", icon: /* @__PURE__ */ jsx(CircularProgress, { size: 22 }), severity: "info", sx: styles.alert });
100
104
  }
101
- if (simulatedContingencyCount?.contingencies === 0 && simulatedContingencyCount.notFoundElements === 0) {
105
+ if (simulatedContingencyCount === null || simulatedContingencyCount.success && simulatedContingencyCount.nbContingencies === 0) {
102
106
  return /* @__PURE__ */ jsx(Alert, { variant: "standard", severity: "error", sx: styles.alert, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "noContingency" }) });
103
107
  }
104
- return /* @__PURE__ */ jsx(Alert, { variant: "standard", icon: false, severity: "info", sx: styles.alert, children: /* @__PURE__ */ jsx(
108
+ return simulatedContingencyCount.success ? /* @__PURE__ */ jsx(Alert, { variant: "standard", icon: false, severity: "info", sx: styles.alert, children: /* @__PURE__ */ jsx(
105
109
  FormattedMessage,
106
110
  {
107
111
  id: "xContingenciesWillBeSimulatedAndYNotFound",
108
112
  values: {
109
- x: simulatedContingencyCount?.contingencies ?? "...",
113
+ x: simulatedContingencyCount?.nbContingencies ?? "...",
110
114
  y: simulatedContingencyCount?.notFoundElements ?? "..."
111
115
  }
112
116
  }
117
+ ) }) : /* @__PURE__ */ jsx(Alert, { variant: "standard", severity: "error", sx: styles.error, children: /* @__PURE__ */ jsx(
118
+ FormattedMessage,
119
+ {
120
+ id: "contingenciesWillNotBeSimulated",
121
+ values: {
122
+ invalidContingencyErrorMessage: simulatedContingencyCount.invalidContingencyErrorMessage
123
+ }
124
+ }
113
125
  ) });
114
126
  };
115
127
  const columnsDefinition = useMemo(() => {
@@ -120,7 +132,7 @@ function ContingencyTableWithApiRef({ name, showContingencyCount = false, fetchC
120
132
  })
121
133
  );
122
134
  }, [intl]);
123
- return /* @__PURE__ */ jsx(Grid2, { size: 12, children: /* @__PURE__ */ jsxs(Stack, { children: [
135
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
124
136
  /* @__PURE__ */ jsx(
125
137
  ParameterTableField,
126
138
  {
@@ -132,7 +144,7 @@ function ContingencyTableWithApiRef({ name, showContingencyCount = false, fetchC
132
144
  }
133
145
  ),
134
146
  showContingencyCount && renderContingencyCount()
135
- ] }) });
147
+ ] });
136
148
  }
137
149
  const ContingencyTable = forwardRef(ContingencyTableWithApiRef);
138
150
  export {
@@ -1,10 +1,9 @@
1
- /**
2
- * Copyright (c) 2026, RTE (http://www.rte-france.com)
3
- * This Source Code Form is subject to the terms of the Mozilla Public
4
- * License, v. 2.0. If a copy of the MPL was not distributed with this
5
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
- */
1
+ import { UUID } from 'node:crypto';
2
+ export interface ContingencyCountByContingencyList {
3
+ nbContingencies: number;
4
+ notFoundElements: Record<string, Set<string>> | null;
5
+ invalidContingencyErrorMessage: string | null;
6
+ }
7
7
  export interface ContingencyCount {
8
- contingencies: number;
9
- notFoundElements: number;
8
+ countByContingencyList: Record<UUID, ContingencyCountByContingencyList>;
10
9
  }
@@ -0,0 +1,13 @@
1
+ import { ContingencyCount } from './types';
2
+ import { ContingencyListsInfosEnriched } from '../../../../utils';
3
+ export type SuccessCountType = {
4
+ success: true;
5
+ nbContingencies: number;
6
+ notFoundElements: number;
7
+ };
8
+ export type FailureCountType = {
9
+ success: false;
10
+ invalidContingencyErrorMessage: string;
11
+ };
12
+ export type SimulatedContingencyCountType = SuccessCountType | FailureCountType;
13
+ export declare function mapSimulatedContingencyList(contingencyCount: ContingencyCount, contingencyListsInfos: ContingencyListsInfosEnriched[]): SimulatedContingencyCountType;
@@ -0,0 +1,31 @@
1
+ function mapSimulatedContingencyList(contingencyCount, contingencyListsInfos) {
2
+ const namesById = {};
3
+ contingencyListsInfos.forEach((info) => {
4
+ info.contingencyLists.forEach((idName) => {
5
+ namesById[idName.id] = idName.name;
6
+ });
7
+ });
8
+ let total = 0;
9
+ let totalNotFound = 0;
10
+ for (const [uuid, countByList] of Object.entries(contingencyCount.countByContingencyList)) {
11
+ total += countByList.nbContingencies;
12
+ const listName = namesById[uuid] ?? uuid;
13
+ if (countByList.invalidContingencyErrorMessage !== null) {
14
+ return {
15
+ success: false,
16
+ invalidContingencyErrorMessage: `${countByList.invalidContingencyErrorMessage} in the list ${listName}`
17
+ };
18
+ }
19
+ if (countByList.notFoundElements !== null) {
20
+ totalNotFound += Object.entries(countByList.notFoundElements).length;
21
+ }
22
+ }
23
+ return {
24
+ success: true,
25
+ nbContingencies: total,
26
+ notFoundElements: totalNotFound
27
+ };
28
+ }
29
+ export {
30
+ mapSimulatedContingencyList
31
+ };
@@ -74,9 +74,13 @@ const basicParams = [
74
74
  type: ParameterType.STRING,
75
75
  label: "descLfConnectedComponentMode",
76
76
  possibleValues: [
77
+ {
78
+ id: "MAIN_SYNCHRONOUS",
79
+ label: "descLfConnectedComponentModeMainSync"
80
+ },
77
81
  {
78
82
  id: "MAIN_CONNECTED",
79
- label: "descLfConnectedComponentModeMain"
83
+ label: "descLfConnectedComponentModeMainConnected"
80
84
  },
81
85
  {
82
86
  id: "ALL_CONNECTED",
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { Stack, Grid2 } from "@mui/material";
2
+ import { Stack, Box } from "@mui/material";
3
3
  import { parametersStyles } from "../parameters-style.js";
4
4
  import "@mui/icons-material";
5
5
  import "react";
@@ -51,37 +51,25 @@ function SecurityAnalysisParametersForm({
51
51
  }) {
52
52
  return /* @__PURE__ */ jsxs(Stack, { sx: parametersStyles.scrollableGrid, children: [
53
53
  /* @__PURE__ */ jsx(ProviderParam, { options: securityAnalysisMethods.formattedProviders, id: "Sa", sx: { paddingBottom: 1 } }),
54
- /* @__PURE__ */ jsxs(
55
- Grid2,
54
+ /* @__PURE__ */ jsx(
55
+ ContingencyTable,
56
56
  {
57
- container: true,
58
- sx: {
59
- maxHeight: "100%"
60
- },
61
- children: [
62
- /* @__PURE__ */ jsx(
63
- ContingencyTable,
64
- {
65
- name: CONTINGENCY_LISTS_INFOS,
66
- showContingencyCount,
67
- fetchContingencyCount,
68
- isBuiltCurrentNode,
69
- ref: contingencyTableApiRef
70
- }
71
- ),
72
- /* @__PURE__ */ jsx(Grid2, { container: true, paddingTop: 4, paddingBottom: 2, children: /* @__PURE__ */ jsx(LineSeparator, {}) }),
73
- /* @__PURE__ */ jsx(
74
- SecurityAnalysisParametersSelector,
75
- {
76
- params: securityAnalysisMethods.params,
77
- currentProvider: securityAnalysisMethods.watchProvider?.trim(),
78
- isDeveloperMode,
79
- defaultLimitReductions: securityAnalysisMethods.defaultLimitReductions
80
- }
81
- )
82
- ]
83
- },
84
- "securityAnalysisParameters"
57
+ name: CONTINGENCY_LISTS_INFOS,
58
+ showContingencyCount,
59
+ fetchContingencyCount,
60
+ isBuiltCurrentNode,
61
+ ref: contingencyTableApiRef
62
+ }
63
+ ),
64
+ /* @__PURE__ */ jsx(Box, { paddingTop: 4, paddingBottom: 2, children: /* @__PURE__ */ jsx(LineSeparator, {}) }),
65
+ /* @__PURE__ */ jsx(
66
+ SecurityAnalysisParametersSelector,
67
+ {
68
+ params: securityAnalysisMethods.params,
69
+ currentProvider: securityAnalysisMethods.watchProvider?.trim(),
70
+ isDeveloperMode,
71
+ defaultLimitReductions: securityAnalysisMethods.defaultLimitReductions
72
+ }
85
73
  )
86
74
  ] });
87
75
  }
@@ -70,6 +70,7 @@ const useModificationLabelComputer = () => {
70
70
  }
71
71
  return "";
72
72
  case MODIFICATION_TYPES.COMPOSITE_MODIFICATION.type:
73
+ case MODIFICATION_TYPES.MODIFICATION_REFERENCE.type:
73
74
  return modificationMetadata.name;
74
75
  default:
75
76
  return modificationMetadata.equipmentId || "";
package/dist/index.js CHANGED
@@ -228,14 +228,14 @@ import { PropertyForm } from "./features/network-modifications/common/properties
228
228
  import { copyEquipmentPropertiesForCreation, createPropertyModification, creationPropertiesSchema, emptyProperties, fetchPredefinedProperties, getConcatenatedProperties, getFilledPropertiesFromModification, getPropertiesFromModification, getPropertyValue, initializedProperty, mergeModificationAndEquipmentProperties, modificationPropertiesSchema, toModificationProperties } from "./features/network-modifications/common/properties/propertyUtils.js";
229
229
  import { getPowerWithValidityEditData, getPowerWithValidityEmptyFormData, getPowerWithValidityValidationSchema } from "./features/network-modifications/common/measurements/powerWithValidity.utils.js";
230
230
  import { getInjectionActiveReactivePowerEditData, getInjectionActiveReactivePowerEditDataProperties, getInjectionActiveReactivePowerEmptyFormData, getInjectionActiveReactivePowerEmptyFormDataProperties, getInjectionActiveReactivePowerValidationSchema, getInjectionActiveReactivePowerValidationSchemaProperties } from "./features/network-modifications/common/measurements/injectionActiveReactivePowerForm.utils.js";
231
- import { getBranchActiveReactivePowerEditData, getBranchActiveReactivePowerEditDataProperties, getBranchActiveReactivePowerEmptyFormData, getBranchActiveReactivePowerEmptyFormDataProperties, getBranchActiveReactivePowerValidationSchema, getBranchActiveReactivePowerValidationSchemaProperties } from "./features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js";
231
+ import { getBranchActiveReactivePowerEditData, getBranchActiveReactivePowerEditDataProperties, getBranchActiveReactivePowerEmptyFormData, getBranchActiveReactivePowerEmptyFormDataProperties, getBranchActiveReactivePowerValidationSchema, getBranchActiveReactivePowerValidationSchemaObject, getBranchActiveReactivePowerValidationSchemaProperties } from "./features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js";
232
232
  import { PowerWithValidityForm } from "./features/network-modifications/common/measurements/PowerWithValidityForm.js";
233
233
  import { PowerMeasurementsForm } from "./features/network-modifications/common/measurements/PowerMeasurementsForm.js";
234
234
  import { BranchActiveReactivePowerMeasurementsForm } from "./features/network-modifications/common/measurements/BranchActiveReactivePowerMeasurementsForm.js";
235
235
  import { BusbarSectionVoltageMeasurementsForm } from "./features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js";
236
236
  import { getActivePowerSetPointSchema, getReactivePowerSetPointSchema, getSetPointsEmptyFormData, getSetPointsSchema, testValueWithinPowerInterval } from "./features/network-modifications/common/setpoints/setPoints.utils.js";
237
237
  import { SetPointsForm } from "./features/network-modifications/common/setpoints/SetPointsForm.js";
238
- import { createConnectivityData, getCon1andCon2WithPositionValidationSchema, getConnectivityBusBarSectionData, getConnectivityData, getConnectivityFormData, getConnectivityFormDataProps, getConnectivityPropertiesData, getConnectivityPropertiesEmptyFormData, getConnectivityPropertiesValidationSchema, getConnectivityVoltageLevelData, getConnectivityWithPositionEmptyFormData, getConnectivityWithPositionEmptyFormDataProps, getConnectivityWithPositionSchema, getConnectivityWithPositionValidationSchema, getConnectivityWithoutPositionEmptyFormData, getConnectivityWithoutPositionValidationSchema, getCont1Cont2WithPositionEmptyFormData, getNewVoltageLevelData } from "./features/network-modifications/common/connectivity/connectivityForm.utils.js";
238
+ import { createConnectivityData, getBranchConnectivityWithPositionEmptyFormDataProps, getBranchConnectivityWithPositionSchema, getCon1andCon2WithPositionValidationSchema, getConnectivityBusBarSectionData, getConnectivityData, getConnectivityFormData, getConnectivityFormDataProps, getConnectivityPropertiesData, getConnectivityPropertiesEmptyFormData, getConnectivityPropertiesValidationSchema, getConnectivityVoltageLevelData, getConnectivityWithPositionEmptyFormData, getConnectivityWithPositionEmptyFormDataProps, getConnectivityWithPositionSchema, getConnectivityWithPositionValidationSchema, getConnectivityWithoutPositionEmptyFormData, getConnectivityWithoutPositionValidationSchema, getCont1Cont2WithPositionEmptyFormData, getNewVoltageLevelData } from "./features/network-modifications/common/connectivity/connectivityForm.utils.js";
239
239
  import { ConnectivityForm } from "./features/network-modifications/common/connectivity/ConnectivityForm.js";
240
240
  import { BranchConnectivityForm } from "./features/network-modifications/common/connectivity/BranchConnectivityForm.js";
241
241
  import { VoltageLevelConnectivityForm } from "./features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js";
@@ -252,6 +252,19 @@ import { RegulatingTerminalForm } from "./features/network-modifications/common/
252
252
  import { getRegulatingTerminalEmptyFormData, getRegulatingTerminalEquipmentData, getRegulatingTerminalFormData, getRegulatingTerminalVoltageLevelData } from "./features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.js";
253
253
  import { VoltageRegulationForm } from "./features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js";
254
254
  import { REGULATION_TYPES, getVoltageRegulationEmptyFormData, getVoltageRegulationSchema } from "./features/network-modifications/common/voltageRegulation/voltageRegulation.utils.js";
255
+ import { APPLICABILITY, TEMPORARY_LIMIT_MODIFICATION_TYPE } from "./features/network-modifications/common/currentLimits/limits.types.js";
256
+ import { LimitsTagChip, getPropertyAvatar } from "./features/network-modifications/common/currentLimits/LimitsTagChip.js";
257
+ import { LimitsPane } from "./features/network-modifications/common/currentLimits/LimitsPane.js";
258
+ import { addModificationTypeToOpLimitsGroups, addModificationTypeToTemporaryLimits, addOperationTypeToSelectedOpLG, convertToOperationalLimitsGroupFormSchema, formatMapInfosToTemporaryLimitsFormSchema, formatOpLimitGroupsToFormInfos, formatTemporaryLimitsModificationToFormSchema, generateEmptyOperationalLimitsGroup, generateUniqueId, getAllLimitsFormData, getAllLimitsFormDataProperties, getLimitsEmptyFormData, getLimitsEmptyFormDataProps, getLimitsValidationSchema, getLimitsValidationSchemaProps, mapServerLimitsGroupsToFormInfos, sanitizeLimitNames, sanitizeLimitsGroups } from "./features/network-modifications/common/currentLimits/limitsPane.utils.js";
259
+ import { LimitsChart } from "./features/network-modifications/common/currentLimits/limitsEditor/limitsChart.js";
260
+ import { LimitsPropertiesSideStack } from "./features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.js";
261
+ import { LimitsEditor } from "./features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.js";
262
+ import { TemporaryLimitsTable } from "./features/network-modifications/common/currentLimits/limitsEditor/TemporaryLimitsTable.js";
263
+ import { OPERATIONAL_LIMITS_GROUPS_MODIFICATION_TYPE } from "./features/network-modifications/common/currentLimits/operationalLimitsGroups/operationalLimitsGroups.types.js";
264
+ import { LimitsGroupsContextualMenu } from "./features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsGroupsContextualMenu.js";
265
+ import { LimitsPropertiesStack } from "./features/network-modifications/common/currentLimits/operationalLimitsGroups/LimitsPropertiesStack.js";
266
+ import { OperationalLimitsGroups } from "./features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroups.js";
267
+ import { OperationalLimitsGroupTabLabel } from "./features/network-modifications/common/currentLimits/operationalLimitsGroups/OperationalLimitsGroupTabLabel.js";
255
268
  import { getHvdcLccDeletionSchema } from "./features/network-modifications/equipmentDeletion/hvdcLccDeletion/hvdcLccDeletion.utils.js";
256
269
  import { ShuntCompensatorSelectionForm } from "./features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js";
257
270
  import { useHvdcLccDeletion } from "./features/network-modifications/equipmentDeletion/hvdcLccDeletion/useHvdcLccDeletion.js";
@@ -369,6 +382,16 @@ import { ShuntCompensatorCreationForm } from "./features/network-modifications/s
369
382
  import { shuntCompensatorCreationDtoToForm, shuntCompensatorCreationEmptyFormData, shuntCompensatorCreationFormSchema, shuntCompensatorCreationFormToDto } from "./features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js";
370
383
  import { ShuntCompensatorModificationForm } from "./features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js";
371
384
  import { shuntCompensatorModificationDtoToForm, shuntCompensatorModificationEmptyFormData, shuntCompensatorModificationFormSchema, shuntCompensatorModificationFormToDto } from "./features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js";
385
+ import { getCharacteristicsValidationSchema, getLineCharacteristicsEmptyFormData, getLineCharacteristicsFormData, getLineCharacteristicsValidationSchemaProps } from "./features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js";
386
+ import { LineCharacteristicsPane } from "./features/network-modifications/line/characteristics/LineCharacteristicsPane.js";
387
+ import { CATEGORIES_TABS } from "./features/network-modifications/line/catalog/lineCatalog.type.js";
388
+ import { LineSegmentsInfoSchema, SegmentCurrentLimitsSchema, SegmentInfoSchema, SegmentSchema, SegmentTemporaryLimitSchema, convertLimitsToOperationalLimitsGroupFormSchema, convertToLineSegmentInfos, convertToLineSegmentsFormData, emptyLineSegment } from "./features/network-modifications/line/catalog/segment.utils.js";
389
+ import { LINE_TAB_FIELDS, LineDialogTab } from "./features/network-modifications/line/common/line.utils.js";
390
+ import { LineDialogTabs } from "./features/network-modifications/line/common/LineDialogTabs.js";
391
+ import { LineDialogTabsContent } from "./features/network-modifications/line/common/LineDialogTabsContent.js";
392
+ import { LineDialogHeader } from "./features/network-modifications/line/common/LineDialogHeader.js";
393
+ import { LineForm } from "./features/network-modifications/line/common/LineForm.js";
394
+ import { lineCreationDtoToForm, lineCreationEmptyFormData, lineCreationFormSchema, lineCreationFormToDto } from "./features/network-modifications/line/creation/lineCreation.utils.js";
372
395
  import { BuildStatusChip } from "./features/node/build-status-chip.js";
373
396
  import { BuildStatus } from "./features/node/constant.js";
374
397
  import { COLUMNS_WITHOUT_BORDER, DEPTH_CELL_WIDTH, DROP_FORBIDDEN_INDICATOR_BOTTOM, DROP_FORBIDDEN_INDICATOR_TOP, DROP_INDICATOR_BOTTOM, DROP_INDICATOR_TOP, MODIFICATION_ROW_HEIGHT, createCellBorderColor, createCellContentWrapperSx, createCellStyle, createEditDescriptionStyle, createHeaderCellStyle, createModificationNameCellStyle, createNameCellLabelBoxSx, createNameCellRootStyle, createRootNetworkChipCellSx, createRowSx, networkModificationTableStyles } from "./features/network-modification-table/network-modification-table-styles.js";
@@ -387,7 +410,7 @@ import { SelectHeaderCell } from "./features/network-modification-table/renderer
387
410
  import { SwitchCell } from "./features/network-modification-table/renderers/switch-cell.js";
388
411
  import { DragCloneRow } from "./features/network-modification-table/row/drag-row-clone.js";
389
412
  import { ModificationRow } from "./features/network-modification-table/row/modification-row.js";
390
- import { MAX_COMPOSITE_NESTING_DEPTH, fetchSubModificationsForExpandedRows, findAllLoadedCompositeModifications, findDepth, findModificationInTree, formatToComposedModification, isCompositeModification, mergeSubModificationsIntoTree, moveSubModificationInTree, removeUuidsFromTree, updateModificationFieldInTree, updateSubModificationsOfACompositeInTree } from "./features/network-modification-table/utils.js";
413
+ import { MAX_COMPOSITE_NESTING_DEPTH, fetchSubModificationsForExpandedRows, findAllLoadedCompositeModifications, findDepth, findModificationInTree, formatToComposedModification, isCompositeModification, isSharedModification, mergeSubModificationsIntoTree, moveSubModificationInTree, removeUuidsFromTree, updateModificationFieldInTree, updateSubModificationsOfACompositeInTree } from "./features/network-modification-table/utils.js";
391
414
  import { AnnouncementBanner } from "./features/announcement/AnnouncementBanner.js";
392
415
  import { AnnouncementNotification } from "./features/announcement/AnnouncementNotification.js";
393
416
  import { useGlobalAnnouncement } from "./features/announcement/useGlobalAnnouncement.js";
@@ -481,6 +504,7 @@ export {
481
504
  ACTIVE,
482
505
  ALL_EQUIPMENTS,
483
506
  AMPERE,
507
+ APPLICABILITY,
484
508
  AUTO_EXTENSIBLE_COLUMNS,
485
509
  AboutDialog,
486
510
  ActivableChip,
@@ -525,6 +549,7 @@ export {
525
549
  ButtonReadOnlyInput,
526
550
  ByFilterDeletionForm,
527
551
  CALCULATION_TYPE,
552
+ CATEGORIES_TABS,
528
553
  CENTER_LABEL,
529
554
  CHARACTERISTICS_CHOICES,
530
555
  COLUMNS_DEFINITIONS_CONTINGENCY_LISTS_INFOS,
@@ -752,6 +777,7 @@ export {
752
777
  LIMIT_DURATION_FORM,
753
778
  LIMIT_REDUCTIONS_FORM,
754
779
  LINE_FLOW_MODE,
780
+ LINE_TAB_FIELDS,
755
781
  LOADS_VARIATIONS,
756
782
  LOAD_FILTERS,
757
783
  LOAD_INCREASE_START_TIME,
@@ -768,8 +794,22 @@ export {
768
794
  LimitReductionTableCell,
769
795
  LimitReductionTableRow,
770
796
  LimitReductionsTableForm,
797
+ LimitsChart,
798
+ LimitsEditor,
799
+ LimitsGroupsContextualMenu,
800
+ LimitsPane,
801
+ LimitsPropertiesSideStack,
802
+ LimitsPropertiesStack,
803
+ LimitsTagChip,
771
804
  Line,
805
+ LineCharacteristicsPane,
806
+ LineDialogHeader,
807
+ LineDialogTab,
808
+ LineDialogTabs,
809
+ LineDialogTabsContent,
772
810
  LineFlowMode,
811
+ LineForm,
812
+ LineSegmentsInfoSchema,
773
813
  LineSeparator,
774
814
  Load,
775
815
  LoadDialogHeader,
@@ -841,10 +881,13 @@ export {
841
881
  NumericCellRenderer,
842
882
  NumericEditor,
843
883
  OHM,
884
+ OPERATIONAL_LIMITS_GROUPS_MODIFICATION_TYPE,
844
885
  OPERATOR_OPTIONS,
845
886
  OhmAdornment,
846
887
  OperatingStatus,
847
888
  OperationType,
889
+ OperationalLimitsGroupTabLabel,
890
+ OperationalLimitsGroups,
848
891
  OperatorType,
849
892
  OptionalServicesStatus,
850
893
  OverflowableChip,
@@ -980,6 +1023,10 @@ export {
980
1023
  SecurityAnalysisParametersInline,
981
1024
  SecurityAnalysisResultNmk,
982
1025
  SecurityAnalysisTable,
1026
+ SegmentCurrentLimitsSchema,
1027
+ SegmentInfoSchema,
1028
+ SegmentSchema,
1029
+ SegmentTemporaryLimitSchema,
983
1030
  SelectCell,
984
1031
  SelectCellRenderer,
985
1032
  SelectClearable,
@@ -1020,6 +1067,7 @@ export {
1020
1067
  SwitchWithLabel,
1021
1068
  SwitchesBetweenSections,
1022
1069
  TAB_INFO,
1070
+ TEMPORARY_LIMIT_MODIFICATION_TYPE,
1023
1071
  TRANSFORMERS_SELECTION_TYPE,
1024
1072
  TWT_SPLIT_SHUNT_ADMITTANCE,
1025
1073
  TYPE_TAG_MAX_SIZE,
@@ -1029,6 +1077,7 @@ export {
1029
1077
  TableTextInput,
1030
1078
  TableType,
1031
1079
  TagRenderer,
1080
+ TemporaryLimitsTable,
1032
1081
  TextFieldWithAdornment,
1033
1082
  TextInput,
1034
1083
  TextValueEditor,
@@ -1079,6 +1128,9 @@ export {
1079
1128
  YUP_NOT_TYPE_NUMBER,
1080
1129
  YUP_POSITIVE,
1081
1130
  YUP_REQUIRED,
1131
+ addModificationTypeToOpLimitsGroups,
1132
+ addModificationTypeToTemporaryLimits,
1133
+ addOperationTypeToSelectedOpLG,
1082
1134
  addToleranceToFilter,
1083
1135
  alertThresholdMarks,
1084
1136
  areArrayElementsUnique,
@@ -1115,7 +1167,11 @@ export {
1115
1167
  computeTagMinSize,
1116
1168
  computeTolerance,
1117
1169
  convertInputValue,
1170
+ convertLimitsToOperationalLimitsGroupFormSchema,
1118
1171
  convertOutputValue,
1172
+ convertToLineSegmentInfos,
1173
+ convertToLineSegmentsFormData,
1174
+ convertToOperationalLimitsGroupFormSchema,
1119
1175
  copyEquipmentPropertiesForCreation,
1120
1176
  copyToClipboard,
1121
1177
  countRules,
@@ -1149,6 +1205,7 @@ export {
1149
1205
  elementSearchEn,
1150
1206
  elementSearchFr,
1151
1207
  emptyFormData,
1208
+ emptyLineSegment,
1152
1209
  emptyModificationByAssignmentFormData,
1153
1210
  emptyProperties,
1154
1211
  enrichPccMinParameters,
@@ -1229,9 +1286,14 @@ export {
1229
1286
  flattenNmKResultsConstraints,
1230
1287
  flattenNmKResultsContingencies,
1231
1288
  formatComputingTypeLabel,
1289
+ formatMapInfosToTemporaryLimitsFormSchema,
1290
+ formatOpLimitGroupsToFormInfos,
1291
+ formatTemporaryLimitsModificationToFormSchema,
1232
1292
  formatToComposedModification,
1233
1293
  genHelperError,
1294
+ generateEmptyOperationalLimitsGroup,
1234
1295
  generateTreeViewFinderClass,
1296
+ generateUniqueId,
1235
1297
  generatorCreationDtoToForm,
1236
1298
  generatorCreationEmptyFormData,
1237
1299
  generatorCreationFormSchema,
@@ -1244,6 +1306,8 @@ export {
1244
1306
  getActivePowerControlEmptyFormData,
1245
1307
  getActivePowerControlSchema,
1246
1308
  getActivePowerSetPointSchema,
1309
+ getAllLimitsFormData,
1310
+ getAllLimitsFormDataProperties,
1247
1311
  getAppName,
1248
1312
  getAvailableComponentLibraries,
1249
1313
  getBaseNetworkModificationUrl,
@@ -1252,11 +1316,15 @@ export {
1252
1316
  getBranchActiveReactivePowerEmptyFormData,
1253
1317
  getBranchActiveReactivePowerEmptyFormDataProperties,
1254
1318
  getBranchActiveReactivePowerValidationSchema,
1319
+ getBranchActiveReactivePowerValidationSchemaObject,
1255
1320
  getBranchActiveReactivePowerValidationSchemaProperties,
1321
+ getBranchConnectivityWithPositionEmptyFormDataProps,
1322
+ getBranchConnectivityWithPositionSchema,
1256
1323
  getCharacteristicsCreateFormDataFromSearchCopy,
1257
1324
  getCharacteristicsEmptyFormData,
1258
1325
  getCharacteristicsFormData,
1259
1326
  getCharacteristicsFormValidationSchema,
1327
+ getCharacteristicsValidationSchema,
1260
1328
  getComputedLanguage,
1261
1329
  getCon1andCon2WithPositionValidationSchema,
1262
1330
  getConcatenatedProperties,
@@ -1301,6 +1369,13 @@ export {
1301
1369
  getInjectionActiveReactivePowerValidationSchemaProperties,
1302
1370
  getLabelOrValue,
1303
1371
  getLimitReductionsFormSchema,
1372
+ getLimitsEmptyFormData,
1373
+ getLimitsEmptyFormDataProps,
1374
+ getLimitsValidationSchema,
1375
+ getLimitsValidationSchemaProps,
1376
+ getLineCharacteristicsEmptyFormData,
1377
+ getLineCharacteristicsFormData,
1378
+ getLineCharacteristicsValidationSchemaProps,
1304
1379
  getLoadFlowDefaultLimitReductions,
1305
1380
  getLoadFlowProviders,
1306
1381
  getLoadFlowSpecificParametersDescription,
@@ -1319,6 +1394,7 @@ export {
1319
1394
  getPowerWithValidityValidationSchema,
1320
1395
  getPreLoginPath,
1321
1396
  getPropertiesFromModification,
1397
+ getPropertyAvatar,
1322
1398
  getPropertyValue,
1323
1399
  getRangeInputSchema,
1324
1400
  getReactiveCapabilityCurveValidationSchema,
@@ -1392,12 +1468,17 @@ export {
1392
1468
  isNonEmptyStringOrArray,
1393
1469
  isObjectEmpty,
1394
1470
  isProcessType,
1471
+ isSharedModification,
1395
1472
  isStudyMetadata,
1396
1473
  isValidComputingType,
1397
1474
  isValidContingencyRow,
1398
1475
  italicFontTextField,
1399
1476
  keyGenerator,
1400
1477
  kiloUnitToUnit,
1478
+ lineCreationDtoToForm,
1479
+ lineCreationEmptyFormData,
1480
+ lineCreationFormSchema,
1481
+ lineCreationFormToDto,
1401
1482
  loadCreationDtoToForm,
1402
1483
  loadCreationEmptyFormData,
1403
1484
  loadCreationFormSchema,
@@ -1418,6 +1499,7 @@ export {
1418
1499
  mapReportLogs,
1419
1500
  mapSecurityAnalysisParameters,
1420
1501
  mapSensitivityAnalysisParameters,
1502
+ mapServerLimitsGroupsToFormInfos,
1421
1503
  mergeModificationAndEquipmentProperties,
1422
1504
  mergeSubModificationsIntoTree,
1423
1505
  mergeSx,
@@ -1453,6 +1535,8 @@ export {
1453
1535
  roundToDefaultPrecision,
1454
1536
  roundToPrecision,
1455
1537
  safeEncodeURIComponent,
1538
+ sanitizeLimitNames,
1539
+ sanitizeLimitsGroups,
1456
1540
  sanitizePercentageValue,
1457
1541
  sanitizeString,
1458
1542
  saveExpertFilter,