@gridsuite/commons-ui 0.185.0 → 0.187.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 (115) hide show
  1. package/dist/components/index.d.ts +1 -0
  2. package/dist/components/index.js +28 -12
  3. package/dist/components/network-modifications/by-filter/commons/by-filter.type.d.ts +5 -0
  4. package/dist/components/network-modifications/by-filter/deletion/ByFilterDeletionForm.d.ts +7 -0
  5. package/dist/components/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +83 -0
  6. package/dist/components/network-modifications/by-filter/deletion/byFilterDeletion.types.d.ts +7 -0
  7. package/dist/components/network-modifications/by-filter/deletion/byFilterDeletion.utils.d.ts +18 -0
  8. package/dist/components/network-modifications/by-filter/deletion/byFilterDeletion.utils.js +52 -0
  9. package/dist/components/network-modifications/by-filter/deletion/index.d.ts +9 -0
  10. package/dist/components/network-modifications/by-filter/deletion/index.js +10 -0
  11. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → by-filter}/index.d.ts +1 -2
  12. package/dist/components/network-modifications/by-filter/index.js +10 -0
  13. package/dist/components/network-modifications/common/connectivity/connectivityForm.utils.d.ts +1 -1
  14. package/dist/components/network-modifications/index.d.ts +2 -1
  15. package/dist/components/network-modifications/index.js +52 -12
  16. package/dist/components/network-modifications/load/common/LoadDialogTabs.js +1 -1
  17. package/dist/components/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +138 -0
  18. package/dist/components/network-modifications/{voltage-level → voltageLevel}/creation/index.d.ts +1 -2
  19. package/dist/components/network-modifications/voltageLevel/creation/index.js +57 -0
  20. package/dist/components/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.d.ts +1 -0
  21. package/dist/components/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +93 -0
  22. package/dist/components/network-modifications/voltageLevel/creation/tabs/characteristicsTab/index.d.ts +7 -0
  23. package/dist/components/network-modifications/voltageLevel/creation/tabs/characteristicsTab/index.js +4 -0
  24. package/dist/components/network-modifications/voltageLevel/creation/tabs/index.d.ts +9 -0
  25. package/dist/components/network-modifications/voltageLevel/creation/tabs/index.js +10 -0
  26. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.d.ts +1 -0
  27. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +60 -0
  28. package/dist/components/network-modifications/{voltage-level/creation/coupling-omnibus → voltageLevel/creation/tabs/structureTab/couplingOmnibus}/CouplingOmnibusCreation.d.ts +1 -1
  29. package/dist/components/network-modifications/{voltage-level/creation/coupling-omnibus → voltageLevel/creation/tabs/structureTab/couplingOmnibus}/CouplingOmnibusCreation.js +6 -6
  30. package/dist/components/network-modifications/{voltage-level/creation/coupling-omnibus → voltageLevel/creation/tabs/structureTab/couplingOmnibus}/CouplingOmnibusForm.js +16 -16
  31. package/dist/components/network-modifications/{voltage-level/creation/coupling-omnibus → voltageLevel/creation/tabs/structureTab/couplingOmnibus}/index.d.ts +0 -1
  32. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/index.js +4 -0
  33. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/index.d.ts +8 -0
  34. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/index.js +6 -0
  35. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/SwitchesBetweenSections.js +19 -17
  36. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/CreateSwitchesDialog.d.ts +1 -1
  37. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/CreateSwitchesDialog.js +16 -16
  38. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/CreateSwitchesDialogSubmitButton.d.ts +1 -1
  39. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/CreateSwitchesForm.js +16 -16
  40. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/createSwitchesDialog.utils.d.ts +1 -1
  41. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/createSwitchesDialog.utils.js +5 -5
  42. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/index.d.ts +7 -0
  43. package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/index.js +0 -2
  44. package/dist/components/network-modifications/{voltage-level/creation/substation-creation → voltageLevel/creation/tabs/substationTab}/SubstationCreationSection.d.ts +1 -2
  45. package/dist/components/network-modifications/{voltage-level/creation/substation-creation → voltageLevel/creation/tabs/substationTab}/SubstationCreationSection.js +24 -26
  46. package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.d.ts +5 -0
  47. package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +81 -0
  48. package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/index.d.ts +7 -0
  49. package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/index.js +4 -0
  50. package/dist/components/network-modifications/voltageLevel/creation/voltageLevel.constants.d.ts +12 -0
  51. package/dist/components/network-modifications/voltageLevel/creation/voltageLevel.constants.js +9 -0
  52. package/dist/components/network-modifications/{voltage-level → voltageLevel}/creation/voltageLevelCreation.utils.d.ts +4 -0
  53. package/dist/components/network-modifications/{voltage-level → voltageLevel}/creation/voltageLevelCreation.utils.js +16 -0
  54. package/dist/components/network-modifications/voltageLevel/index.js +64 -0
  55. package/dist/components/network-modifications/voltageLevel/modification/voltageLevelModification.types.js +1 -0
  56. package/dist/components/network-modifications/voltageLevel/voltage-level.type.js +1 -0
  57. package/dist/components/node/build-status-chip.d.ts +12 -0
  58. package/dist/components/node/build-status-chip.js +75 -0
  59. package/dist/components/node/constant.d.ts +13 -0
  60. package/dist/components/node/constant.js +11 -0
  61. package/dist/components/node/index.d.ts +2 -0
  62. package/dist/components/node/index.js +6 -0
  63. package/dist/components/parameters/common/parameters-edition-dialog-props.d.ts +2 -0
  64. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.d.ts +1 -1
  65. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.js +2 -0
  66. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-form.d.ts +3 -1
  67. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-form.js +4 -2
  68. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-inline.d.ts +3 -1
  69. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-inline.js +3 -0
  70. package/dist/components/parameters/sensi/sensitivity-parameters-selector.d.ts +3 -1
  71. package/dist/components/parameters/sensi/sensitivity-parameters-selector.js +11 -7
  72. package/dist/components/parameters/short-circuit/columns-definition.js +2 -2
  73. package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +0 -1
  74. package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.js +20 -11
  75. package/dist/index.js +65 -52
  76. package/dist/translations/en/businessErrorsEn.d.ts +2 -0
  77. package/dist/translations/en/businessErrorsEn.js +2 -0
  78. package/dist/translations/en/networkModificationsEn.d.ts +7 -3
  79. package/dist/translations/en/networkModificationsEn.js +9 -4
  80. package/dist/translations/en/parameters.d.ts +7 -0
  81. package/dist/translations/en/parameters.js +8 -1
  82. package/dist/translations/fr/businessErrorsFr.d.ts +2 -0
  83. package/dist/translations/fr/businessErrorsFr.js +2 -0
  84. package/dist/translations/fr/networkModificationsFr.d.ts +7 -3
  85. package/dist/translations/fr/networkModificationsFr.js +10 -5
  86. package/dist/translations/fr/parameters.d.ts +7 -0
  87. package/dist/translations/fr/parameters.js +8 -1
  88. package/dist/utils/types/metadata.d.ts +1 -0
  89. package/package.json +1 -1
  90. package/dist/components/network-modifications/voltage-level/creation/VoltageLevelCreationForm.js +0 -174
  91. package/dist/components/network-modifications/voltage-level/creation/coupling-omnibus/index.js +0 -6
  92. package/dist/components/network-modifications/voltage-level/creation/index.js +0 -24
  93. package/dist/components/network-modifications/voltage-level/creation/substation-creation/SubstationAutocompleteAddButton.d.ts +0 -5
  94. package/dist/components/network-modifications/voltage-level/creation/substation-creation/SubstationAutocompleteAddButton.js +0 -79
  95. package/dist/components/network-modifications/voltage-level/index.js +0 -31
  96. /package/dist/components/network-modifications/{voltage-level/modification/voltageLevelModification.types.js → by-filter/commons/by-filter.type.js} +0 -0
  97. /package/dist/components/network-modifications/{voltage-level/voltage-level.type.js → by-filter/deletion/byFilterDeletion.types.js} +0 -0
  98. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/creation/VoltageLevelCreationForm.d.ts +0 -0
  99. /package/dist/components/network-modifications/{voltage-level/creation/coupling-omnibus → voltageLevel/creation/tabs/structureTab/couplingOmnibus}/CouplingOmnibusForm.d.ts +0 -0
  100. /package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/SwitchesBetweenSections.d.ts +0 -0
  101. /package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/CreateSwitchesDialogSubmitButton.js +0 -0
  102. /package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/CreateSwitchesForm.d.ts +0 -0
  103. /package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/index.d.ts +0 -0
  104. /package/dist/components/network-modifications/{voltage-level/creation/switches-between-sections → voltageLevel/creation/tabs/structureTab/switchesBetweenSections}/creation/index.js +0 -0
  105. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/creation/voltageLevelCreation.types.d.ts +0 -0
  106. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/creation/voltageLevelCreation.types.js +0 -0
  107. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/index.d.ts +0 -0
  108. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/modification/VoltageLevelModificationForm.d.ts +0 -0
  109. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/modification/VoltageLevelModificationForm.js +0 -0
  110. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/modification/index.d.ts +0 -0
  111. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/modification/index.js +0 -0
  112. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/modification/voltageLevelModification.types.d.ts +0 -0
  113. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/modification/voltageLevelModification.utils.d.ts +0 -0
  114. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/modification/voltageLevelModification.utils.js +0 -0
  115. /package/dist/components/network-modifications/{voltage-level → voltageLevel}/voltage-level.type.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useState, useCallback, useEffect } from "react";
3
3
  import { useIntl, FormattedMessage } from "react-intl";
4
- import { Grid, Box, Tabs, Tab } from "@mui/material";
4
+ import { Grid, Box, Tabs, Tab, Card, CardContent } from "@mui/material";
5
5
  import { SensiTabValues, SensiBranchesTabValues, SensiInjectionsSet, SensiInjection, SensiHvdcs, SensiPsts, SensiNodes, COLUMNS_DEFINITIONS_INJECTIONS_SET, COLUMNS_DEFINITIONS_INJECTIONS, COLUMNS_DEFINITIONS_HVDCS, COLUMNS_DEFINITIONS_PSTS, COLUMNS_DEFINITIONS_NODES } from "./columns-definitions.js";
6
6
  import { TabPanel } from "../common/parameters.js";
7
7
  import "../../../utils/conversionUtils.js";
@@ -43,14 +43,16 @@ import "../common/contingency-table/columns-definitions.js";
43
43
  import { SensitivityAnalysisParametersFactorCount } from "./sensitivity-analysis-parameters-factor-count.js";
44
44
  import { MAX_VARIABLES_COUNT, MAX_RESULTS_COUNT } from "./constants.js";
45
45
  import { isValidSensiParameterRow } from "./utils.js";
46
+ import { BuildStatusChip } from "../../node/build-status-chip.js";
46
47
  const styles = {
47
48
  boxContent: {
48
49
  display: "flex",
49
50
  alignItems: "end",
50
51
  justifyContent: "right",
52
+ gap: 0.5,
51
53
  flex: "auto",
52
54
  flexGrow: "1",
53
- whiteSpace: "pre-wrap"
55
+ paddingTop: 1
54
56
  }
55
57
  };
56
58
  function SensitivityParametersSelector({
@@ -58,7 +60,8 @@ function SensitivityParametersSelector({
58
60
  isLoading,
59
61
  factorsCount,
60
62
  isDeveloperMode,
61
- isStudyLinked
63
+ isStudyLinked,
64
+ globalBuildStatus
62
65
  }) {
63
66
  const intl = useIntl();
64
67
  const [tabValue, setTabValue] = useState(SensiTabValues.SensitivityBranches);
@@ -118,8 +121,9 @@ function SensitivityParametersSelector({
118
121
  },
119
122
  tab.label
120
123
  )) }),
121
- isStudyLinked && /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
122
- /* @__PURE__ */ jsxs(Box, { sx: { ...styles.boxContent, minWidth: 300 }, children: [
124
+ isStudyLinked && /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", gap: 3 }, children: [
125
+ /* @__PURE__ */ jsx(Box, { sx: { ...styles.boxContent }, children: /* @__PURE__ */ jsx(BuildStatusChip, { buildStatus: globalBuildStatus, overrideLabel: true }) }),
126
+ /* @__PURE__ */ jsxs(Box, { sx: { ...styles.boxContent }, children: [
123
127
  /* @__PURE__ */ jsx(
124
128
  SensitivityAnalysisParametersFactorCount,
125
129
  {
@@ -140,7 +144,7 @@ function SensitivityParametersSelector({
140
144
  }
141
145
  )
142
146
  ] }),
143
- /* @__PURE__ */ jsxs(Box, { sx: { ...styles.boxContent, minWidth: 300 }, children: [
147
+ /* @__PURE__ */ jsxs(Box, { sx: { ...styles.boxContent }, children: [
144
148
  /* @__PURE__ */ jsx(
145
149
  SensitivityAnalysisParametersFactorCount,
146
150
  {
@@ -161,7 +165,7 @@ function SensitivityParametersSelector({
161
165
  }
162
166
  )
163
167
  ] })
164
- ] })
168
+ ] }) }) })
165
169
  ] }),
166
170
  tabInfo.map((tab, index) => /* @__PURE__ */ jsxs(TabPanel, { value: tabValue, index, sx: { paddingTop: 1 }, children: [
167
171
  tabValue === SensiTabValues.SensitivityBranches && tab.subTabs && /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -62,14 +62,14 @@ const COLUMNS_DEFINITIONS_ICC_CLUSTERS = [
62
62
  equipmentTypes: [EquipmentType.GENERATOR, EquipmentType.BATTERY],
63
63
  elementType: ElementType.FILTER,
64
64
  titleId: "FiltersListsSelection",
65
- initialValue: []
65
+ initialValue: null
66
66
  },
67
67
  {
68
68
  label: "ShortCircuitIccClusterType",
69
69
  dataKey: SHORT_CIRCUIT_ICC_CLUSTER_TYPE,
70
70
  tooltip: "ShortCircuitIccClusterTypeTooltip",
71
71
  titleId: "ShortCircuitIccClusterTypeListsSelection",
72
- initialValue: [],
72
+ initialValue: null,
73
73
  width: "20%"
74
74
  },
75
75
  {
@@ -51,7 +51,6 @@ function ShortCircuitIccClusterTableCell({
51
51
  equipmentTypes: column.equipmentTypes,
52
52
  elementType: column.elementType ?? "",
53
53
  titleId: column.titleId,
54
- hideErrorMessage: true,
55
54
  label: void 0,
56
55
  itemFilter: void 0,
57
56
  disable: inputsDisabled
@@ -60,6 +60,11 @@ const getCommonShortCircuitParametersFormSchema = () => {
60
60
  })
61
61
  });
62
62
  };
63
+ const requiredWhenActive = (schema) => schema.when("active", {
64
+ is: true,
65
+ then: (s) => s.required(),
66
+ otherwise: (s) => s.notRequired().nullable()
67
+ });
63
68
  const getSpecificShortCircuitParametersFormSchema = (specificParametersDescriptionForProvider) => {
64
69
  const defaultSchema = getSpecificParametersFormSchema(specificParametersDescriptionForProvider);
65
70
  const powerElectronicsMaterialsParam = specificParametersDescriptionForProvider?.find(
@@ -68,11 +73,11 @@ const getSpecificShortCircuitParametersFormSchema = (specificParametersDescripti
68
73
  const powerElectronicsMaterialsSchema = powerElectronicsMaterialsParam ? yup.array().of(
69
74
  yup.object().shape({
70
75
  active: yup.boolean().required(),
71
- alpha: yup.number().required(),
72
- u0: yup.number().required(),
73
- usMin: yup.number().required(),
74
- usMax: yup.number().required(),
75
- type: yup.string().oneOf(["WIND", "SOLAR", "HVDC"]).required()
76
+ alpha: requiredWhenActive(yup.number()),
77
+ u0: requiredWhenActive(yup.number()),
78
+ usMin: requiredWhenActive(yup.number()),
79
+ usMax: requiredWhenActive(yup.number()),
80
+ type: requiredWhenActive(yup.string().oneOf(["WIND", "SOLAR", "HVDC"]))
76
81
  })
77
82
  ).required() : void 0;
78
83
  const nodeClusterParam = specificParametersDescriptionForProvider?.find(
@@ -90,17 +95,21 @@ const getSpecificShortCircuitParametersFormSchema = (specificParametersDescripti
90
95
  const powerElectronicsClustersSchema = powerElectronicsClustersParam ? yup.array().of(
91
96
  yup.object().shape({
92
97
  active: yup.boolean().required(),
93
- alpha: yup.number().required(),
94
- u0: yup.number().required(),
95
- usMin: yup.number().required(),
96
- usMax: yup.number().required(),
98
+ alpha: requiredWhenActive(yup.number()),
99
+ u0: requiredWhenActive(yup.number()),
100
+ usMin: requiredWhenActive(yup.number()),
101
+ usMax: requiredWhenActive(yup.number()),
97
102
  filters: yup.array().of(
98
103
  yup.object().shape({
99
104
  [ID]: yup.string().required(),
100
105
  [NAME]: yup.string().required()
101
106
  })
102
- ),
103
- type: yup.string().oneOf(["GENERATOR", "HVDC"]).required()
107
+ ).nullable().when("active", {
108
+ is: true,
109
+ then: (s) => s.required().min(1, "FilterInputMinError"),
110
+ otherwise: (s) => s.notRequired().nullable()
111
+ }),
112
+ type: requiredWhenActive(yup.string().oneOf(["GENERATOR", "HVDC"]).nullable())
104
113
  })
105
114
  ).required() : void 0;
106
115
  const existingSpecificSchema = defaultSchema.fields?.[SPECIFIC_PARAMETERS];
package/dist/index.js CHANGED
@@ -214,55 +214,8 @@ import { SubstationCreationForm } from "./components/network-modifications/subst
214
214
  import { substationCreationDtoToForm, substationCreationEmptyFormData, substationCreationFormSchema, substationCreationFormToDto } from "./components/network-modifications/substation/creation/substationCreation.utils.js";
215
215
  import { SubstationModificationForm } from "./components/network-modifications/substation/modification/SubstationModificationForm.js";
216
216
  import { substationModificationDtoToForm, substationModificationEmptyFormData, substationModificationFormSchema, substationModificationFormToDto } from "./components/network-modifications/substation/modification/substationModification.utils.js";
217
- import { CreateSwitchesDialog } from "./components/network-modifications/voltage-level/creation/switches-between-sections/creation/CreateSwitchesDialog.js";
218
- import { SwitchesBetweenSections } from "./components/network-modifications/voltage-level/creation/switches-between-sections/SwitchesBetweenSections.js";
219
- import { CouplingOmnibusForm } from "./components/network-modifications/voltage-level/creation/coupling-omnibus/CouplingOmnibusForm.js";
220
- import { CouplingOmnibusCreation } from "./components/network-modifications/voltage-level/creation/coupling-omnibus/CouplingOmnibusCreation.js";
221
- import { VoltageLevelCreationForm } from "./components/network-modifications/voltage-level/creation/VoltageLevelCreationForm.js";
222
- import { SWITCH_TYPE, buildNewBusbarSections, getCreateSwitchesEmptyFormData, getCreateSwitchesValidationSchema, translateSwitchKinds, voltageLevelCreationDtoToForm, voltageLevelCreationEmptyFormData, voltageLevelCreationFormSchema, voltageLevelCreationFormToDto } from "./components/network-modifications/voltage-level/creation/voltageLevelCreation.utils.js";
223
- import { SwitchKind } from "./components/network-modifications/voltage-level/creation/voltageLevelCreation.types.js";
224
- import { VoltageLevelModificationForm } from "./components/network-modifications/voltage-level/modification/VoltageLevelModificationForm.js";
225
- import { voltageLevelModificationDtoToForm, voltageLevelModificationEmptyFormData, voltageLevelModificationFormSchema, voltageLevelModificationFormToDto } from "./components/network-modifications/voltage-level/modification/voltageLevelModification.utils.js";
226
- import { LoadDialogTab } from "./components/network-modifications/load/common/load.utils.js";
227
- import { LoadDialogTabs } from "./components/network-modifications/load/common/LoadDialogTabs.js";
228
- import { LoadDialogTabsContent } from "./components/network-modifications/load/common/LoadDialogTabsContent.js";
229
- import { LoadDialogHeader } from "./components/network-modifications/load/common/LoadDialogHeader.js";
230
- import { LoadForm } from "./components/network-modifications/load/common/LoadForm.js";
231
- import { loadCreationDtoToForm, loadCreationEmptyFormData, loadCreationFormSchema, loadCreationFormToDto } from "./components/network-modifications/load/creation/loadCreation.utils.js";
232
- import { loadModificationDtoToForm, loadModificationEmptyFormData, loadModificationFormSchema, loadModificationFormToDto } from "./components/network-modifications/load/modification/loadModification.utils.js";
233
- import { useStateBoolean } from "./hooks/customStates/useStateBoolean.js";
234
- import { useStateNumber } from "./hooks/customStates/useStateNumber.js";
235
- import { useModificationLabelComputer } from "./hooks/useModificationLabelComputer.js";
236
- import { useConfidentialityWarning } from "./hooks/useConfidentialityWarning.js";
237
- import { useDebounce } from "./hooks/useDebounce.js";
238
- import { useIntlRef } from "./hooks/useIntlRef.js";
239
- import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./hooks/useLocalizedCountries.js";
240
- import { usePredefinedProperties } from "./hooks/usePredefinedProperties.js";
241
- import { usePrevious } from "./hooks/usePrevious.js";
242
- import { useSnackMessage } from "./hooks/useSnackMessage.js";
243
- import { useFormatLabelWithUnit } from "./hooks/useFormatLabelWithUnit.js";
244
- import { useSelectAppearance } from "./hooks/useSelectAppearance.js";
245
- import { OptionalServicesStatus, useParametersBackend } from "./hooks/use-parameters-backend.js";
246
- import { useCreateRowData } from "./hooks/use-create-row-data.js";
247
- import { useGetLabelEquipmentTypes } from "./hooks/useGetLabelEquipmentTypes.js";
248
- import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, resetAuthenticationRouterError, setLoggedUser, setLogoutError, setShowAuthenticationRouterLogin, setSignInCallbackError, setUnauthorizedUserInfo, setUserValidationError } from "./redux/actions/authActions.js";
249
- import { getUserToken, setCommonStore } from "./redux/commonStore.js";
250
- import { fetchAppsMetadata, fetchBaseVoltages, fetchDefaultCountry, fetchEnv, fetchFavoriteAndDefaultCountries, fetchStudyMetadata, isExploreMetadata, isStudyMetadata } from "./services/appsMetadata.js";
251
- import { fetchConfigParameter, fetchConfigParameters, getAppName, updateConfigParameter } from "./services/config.js";
252
- import { PermissionType, elementAlreadyExists, fetchDirectoryContent, fetchDirectoryElementPath, fetchRootFolders, hasElementPermission } from "./services/directory.js";
253
- import { createFilter, createParameter, fetchElementsInfos, saveFilter, updateParameter } from "./services/explore.js";
254
- import { PREFIX_STUDY_QUERIES, fetchLoadFlowParameters, getLoadFlowDefaultLimitReductions, getLoadFlowProviders, getLoadFlowSpecificParametersDescription, getLoadFlowUrl, setLoadFlowParameters } from "./services/loadflow.js";
255
- import { fetchPccMinParameters, getPccMinStudyParameters, updatePccMinParameters } from "./services/pcc-min.js";
256
- import { fetchSecurityAnalysisParameters, fetchSecurityAnalysisProviders, getSecurityAnalysisDefaultLimitReductions, getSecurityAnalysisParameters, getStudyUrl, setSecurityAnalysisParameters, updateSecurityAnalysisParameters } from "./services/security-analysis.js";
257
- import { exportFilter, getAvailableComponentLibraries, getStudyNetworkVisualizationsParameters, getStudyShortCircuitParameters, setStudyNetworkVisualizationParameters, updateVoltageInitParameters } from "./services/study.js";
258
- import { getNetworkVisualizationsParameters } from "./services/study-config.js";
259
- import { fetchCurrentAnnouncement, fetchUserDetails } from "./services/userAdmin.js";
260
- import { DEFAULT_TIMEOUT_MS, IGNORE_SIGNAL, backendFetch, backendFetchFile, backendFetchJson, backendFetchText, getRequestParamFromList, handleNotOkResponse, parseError, safeEncodeURIComponent } from "./services/utils.js";
261
- import { getVoltageInitParameters, getVoltageInitUrl } from "./services/voltage-init.js";
262
- import { fetchShortCircuitParameters, getShortCircuitSpecificParametersDescription, updateShortCircuitParameters } from "./services/short-circuit-analysis.js";
263
- import { fetchBusBarSectionsForNewCoupler, fetchNetworkModification, updateModification } from "./services/networkModification.js";
264
- import { fetchDynamicMarginCalculationParameters, fetchDynamicMarginCalculationProviders, updateDynamicMarginCalculationParameters } from "./services/dynamic-margin-calculation.js";
265
- import { fetchContingencyAndFiltersLists, fetchDynamicSecurityAnalysisProviders } from "./services/dynamic-security-analysis.js";
217
+ import { SwitchesBetweenSections } from "./components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js";
218
+ import "react-hook-form";
266
219
  import { equalsArray } from "./utils/algos.js";
267
220
  import { ActivePowerAdornment, AmpereAdornment, KiloAmpereAdornment, KilometerAdornment, MVAPowerAdornment, MicroSusceptanceAdornment, OhmAdornment, PercentageAdornment, ReactivePowerAdornment, SusceptanceAdornment, VoltageAdornment } from "./utils/constants/adornments.js";
268
221
  import { FetchStatus } from "./utils/constants/fetchStatus.js";
@@ -299,6 +252,57 @@ import { OperationType } from "./utils/types/network-modification-types.js";
299
252
  import { areIdsEqual, getIdOrSelf, getIdOrValue, getLabelOrValue, getObjectId, notNull, notUndefined, parseIntData, removeNullFields, richTypeEquals, sanitizeString } from "./utils/ts-utils.js";
300
253
  import { toNumber, validateValueIsANumber } from "./utils/validation-functions.js";
301
254
  import "./utils/yupConfig.js";
255
+ import "react";
256
+ import { fetchAppsMetadata, fetchBaseVoltages, fetchDefaultCountry, fetchEnv, fetchFavoriteAndDefaultCountries, fetchStudyMetadata, isExploreMetadata, isStudyMetadata } from "./services/appsMetadata.js";
257
+ import { fetchConfigParameter, fetchConfigParameters, getAppName, updateConfigParameter } from "./services/config.js";
258
+ import { PermissionType, elementAlreadyExists, fetchDirectoryContent, fetchDirectoryElementPath, fetchRootFolders, hasElementPermission } from "./services/directory.js";
259
+ import { createFilter, createParameter, fetchElementsInfos, saveFilter, updateParameter } from "./services/explore.js";
260
+ import { PREFIX_STUDY_QUERIES, fetchLoadFlowParameters, getLoadFlowDefaultLimitReductions, getLoadFlowProviders, getLoadFlowSpecificParametersDescription, getLoadFlowUrl, setLoadFlowParameters } from "./services/loadflow.js";
261
+ import { fetchPccMinParameters, getPccMinStudyParameters, updatePccMinParameters } from "./services/pcc-min.js";
262
+ import { fetchSecurityAnalysisParameters, fetchSecurityAnalysisProviders, getSecurityAnalysisDefaultLimitReductions, getSecurityAnalysisParameters, getStudyUrl, setSecurityAnalysisParameters, updateSecurityAnalysisParameters } from "./services/security-analysis.js";
263
+ import { exportFilter, getAvailableComponentLibraries, getStudyNetworkVisualizationsParameters, getStudyShortCircuitParameters, setStudyNetworkVisualizationParameters, updateVoltageInitParameters } from "./services/study.js";
264
+ import { getNetworkVisualizationsParameters } from "./services/study-config.js";
265
+ import { fetchCurrentAnnouncement, fetchUserDetails } from "./services/userAdmin.js";
266
+ import { DEFAULT_TIMEOUT_MS, IGNORE_SIGNAL, backendFetch, backendFetchFile, backendFetchJson, backendFetchText, getRequestParamFromList, handleNotOkResponse, parseError, safeEncodeURIComponent } from "./services/utils.js";
267
+ import { getVoltageInitParameters, getVoltageInitUrl } from "./services/voltage-init.js";
268
+ import { fetchShortCircuitParameters, getShortCircuitSpecificParametersDescription, updateShortCircuitParameters } from "./services/short-circuit-analysis.js";
269
+ import { fetchBusBarSectionsForNewCoupler, fetchNetworkModification, updateModification } from "./services/networkModification.js";
270
+ import { fetchDynamicMarginCalculationParameters, fetchDynamicMarginCalculationProviders, updateDynamicMarginCalculationParameters } from "./services/dynamic-margin-calculation.js";
271
+ import { fetchContingencyAndFiltersLists, fetchDynamicSecurityAnalysisProviders } from "./services/dynamic-security-analysis.js";
272
+ import "@mui/icons-material";
273
+ import { VoltageLevelCreationForm } from "./components/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js";
274
+ import { SWITCH_TYPE, buildNewBusbarSections, getCreateSwitchesEmptyFormData, getCreateSwitchesValidationSchema, isAdditionalInformationTabError, isCharacteristicsTabError, isStructureTabError, isSubstationTabError, translateSwitchKinds, voltageLevelCreationDtoToForm, voltageLevelCreationEmptyFormData, voltageLevelCreationFormSchema, voltageLevelCreationFormToDto } from "./components/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js";
275
+ import { SwitchKind } from "./components/network-modifications/voltageLevel/creation/voltageLevelCreation.types.js";
276
+ import { VoltageLevelModificationForm } from "./components/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js";
277
+ import { voltageLevelModificationDtoToForm, voltageLevelModificationEmptyFormData, voltageLevelModificationFormSchema, voltageLevelModificationFormToDto } from "./components/network-modifications/voltageLevel/modification/voltageLevelModification.utils.js";
278
+ import { LoadDialogTab } from "./components/network-modifications/load/common/load.utils.js";
279
+ import { LoadDialogTabs } from "./components/network-modifications/load/common/LoadDialogTabs.js";
280
+ import { LoadDialogTabsContent } from "./components/network-modifications/load/common/LoadDialogTabsContent.js";
281
+ import { LoadDialogHeader } from "./components/network-modifications/load/common/LoadDialogHeader.js";
282
+ import { LoadForm } from "./components/network-modifications/load/common/LoadForm.js";
283
+ import { loadCreationDtoToForm, loadCreationEmptyFormData, loadCreationFormSchema, loadCreationFormToDto } from "./components/network-modifications/load/creation/loadCreation.utils.js";
284
+ import { loadModificationDtoToForm, loadModificationEmptyFormData, loadModificationFormSchema, loadModificationFormToDto } from "./components/network-modifications/load/modification/loadModification.utils.js";
285
+ import { ByFilterDeletionForm } from "./components/network-modifications/by-filter/deletion/ByFilterDeletionForm.js";
286
+ import { EQUIPMENT_TYPE_ORDER, byFilterDeletionDtoToForm, byFilterDeletionFormSchema, byFilterDeletionFormToDto, emptyFormData } from "./components/network-modifications/by-filter/deletion/byFilterDeletion.utils.js";
287
+ import { BuildStatusChip } from "./components/node/build-status-chip.js";
288
+ import { BuildStatus } from "./components/node/constant.js";
289
+ import { useStateBoolean } from "./hooks/customStates/useStateBoolean.js";
290
+ import { useStateNumber } from "./hooks/customStates/useStateNumber.js";
291
+ import { useModificationLabelComputer } from "./hooks/useModificationLabelComputer.js";
292
+ import { useConfidentialityWarning } from "./hooks/useConfidentialityWarning.js";
293
+ import { useDebounce } from "./hooks/useDebounce.js";
294
+ import { useIntlRef } from "./hooks/useIntlRef.js";
295
+ import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./hooks/useLocalizedCountries.js";
296
+ import { usePredefinedProperties } from "./hooks/usePredefinedProperties.js";
297
+ import { usePrevious } from "./hooks/usePrevious.js";
298
+ import { useSnackMessage } from "./hooks/useSnackMessage.js";
299
+ import { useFormatLabelWithUnit } from "./hooks/useFormatLabelWithUnit.js";
300
+ import { useSelectAppearance } from "./hooks/useSelectAppearance.js";
301
+ import { OptionalServicesStatus, useParametersBackend } from "./hooks/use-parameters-backend.js";
302
+ import { useCreateRowData } from "./hooks/use-create-row-data.js";
303
+ import { useGetLabelEquipmentTypes } from "./hooks/useGetLabelEquipmentTypes.js";
304
+ import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, resetAuthenticationRouterError, setLoggedUser, setLogoutError, setShowAuthenticationRouterLogin, setSignInCallbackError, setUnauthorizedUserInfo, setUserValidationError } from "./redux/actions/authActions.js";
305
+ import { getUserToken, setCommonStore } from "./redux/commonStore.js";
302
306
  import { cardErrorBoundaryEn } from "./translations/en/cardErrorBoundaryEn.js";
303
307
  import { businessErrorsEn } from "./translations/en/businessErrorsEn.js";
304
308
  import { commonButtonEn } from "./translations/en/commonButtonEn.js";
@@ -388,8 +392,11 @@ export {
388
392
  BottomRightButtons,
389
393
  BranchActiveReactivePowerMeasurementsForm,
390
394
  BranchConnectivityForm,
395
+ BuildStatus,
396
+ BuildStatusChip,
391
397
  BusBar,
392
398
  ButtonReadOnlyInput,
399
+ ByFilterDeletionForm,
393
400
  CALCULATION_TYPE,
394
401
  CENTER_LABEL,
395
402
  COLUMNS_DEFINITIONS_CONTINGENCY_LISTS_INFOS,
@@ -431,10 +438,7 @@ export {
431
438
  CountriesInput,
432
439
  CountrySelectionInput,
433
440
  CountryValueEditor,
434
- CouplingOmnibusCreation,
435
- CouplingOmnibusForm,
436
441
  CreateParameterDialog,
437
- CreateSwitchesDialog,
438
442
  CsvExport,
439
443
  CsvUploader,
440
444
  CustomAGGrid,
@@ -485,6 +489,7 @@ export {
485
489
  DynamicSecurityAnalysisInline,
486
490
  ENERGY_SOURCE_OPTIONS,
487
491
  EQUIPMENTS_IN_VOLTAGE_REGULATION_TYPES,
492
+ EQUIPMENT_TYPE_ORDER,
488
493
  EXPERT_FILTER_EQUIPMENTS,
489
494
  EXPERT_FILTER_FIELDS,
490
495
  EXPERT_FILTER_QUERY,
@@ -851,6 +856,9 @@ export {
851
856
  buildNewBusbarSections,
852
857
  businessErrorsEn,
853
858
  businessErrorsFr,
859
+ byFilterDeletionDtoToForm,
860
+ byFilterDeletionFormSchema,
861
+ byFilterDeletionFormToDto,
854
862
  cardErrorBoundaryEn,
855
863
  cardErrorBoundaryFr,
856
864
  catchErrorHandler,
@@ -881,6 +889,7 @@ export {
881
889
  elementAlreadyExists,
882
890
  elementSearchEn,
883
891
  elementSearchFr,
892
+ emptyFormData,
884
893
  emptyProperties,
885
894
  equalsArray,
886
895
  equipmentDeletionDtoToForm,
@@ -1043,14 +1052,18 @@ export {
1043
1052
  inputsFr,
1044
1053
  intlInitialVoltageProfileMode,
1045
1054
  intlPredefinedParametersOptions,
1055
+ isAdditionalInformationTabError,
1046
1056
  isBlankOrEmpty,
1057
+ isCharacteristicsTabError,
1047
1058
  isEmpty,
1048
1059
  isExploreMetadata,
1049
1060
  isFieldRequired,
1050
1061
  isFloatNumber,
1051
1062
  isIntegerNumber,
1052
1063
  isObjectEmpty,
1064
+ isStructureTabError,
1053
1065
  isStudyMetadata,
1066
+ isSubstationTabError,
1054
1067
  isValidComputingType,
1055
1068
  italicFontTextField,
1056
1069
  keyGenerator,
@@ -60,6 +60,7 @@ export declare const businessErrorsEn: {
60
60
  'shortcircuit.inconsistentVoltageLevels': string;
61
61
  'shortcircuit.busOutOfNodeCluster': string;
62
62
  'securityAnalysis.contingencyListConfigEmpty': string;
63
+ 'securityAnalysis.missingContingencyList': string;
63
64
  'dynamicMapping.mappingNameNotProvided': string;
64
65
  'dynamicSecurityAnalysis.providerNotFound': string;
65
66
  'dynamicSecurityAnalysis.contingenciesNotFound': string;
@@ -68,6 +69,7 @@ export declare const businessErrorsEn: {
68
69
  'dynamicSimulation.mappingNotProvided': string;
69
70
  'dynamicSimulation.mappingNotLastRuleWithEmptyFilterError': string;
70
71
  'sensitivityAnalysis.tooManyFactors': string;
72
+ 'sensitivityAnalysis.filtersOrContingenciesListsNotFound': string;
71
73
  'pccMin.missingFilter': string;
72
74
  'pccMin.voltageLevelsLimitExceeded': string;
73
75
  'diagram.invalidEquipmentType': string;
@@ -54,6 +54,7 @@ const businessErrorsEn = {
54
54
  "shortcircuit.inconsistentVoltageLevels": "Some voltage levels have wrong isc values. Check out the logs to find which ones.",
55
55
  "shortcircuit.busOutOfNodeCluster": "Selected bus is out of node cluster",
56
56
  "securityAnalysis.contingencyListConfigEmpty": "The configuration does not contain any contingency.",
57
+ "securityAnalysis.missingContingencyList": "The configuration contains one or more contingency lists that have been deleted.",
57
58
  "dynamicMapping.mappingNameNotProvided": "Mapping name not provided",
58
59
  "dynamicSecurityAnalysis.providerNotFound": "Dynamic security analysis provider not found.",
59
60
  "dynamicSecurityAnalysis.contingenciesNotFound": "No contingencies provided.",
@@ -62,6 +63,7 @@ const businessErrorsEn = {
62
63
  "dynamicSimulation.mappingNotProvided": "Dynamic simulation mapping not provided.",
63
64
  "dynamicSimulation.mappingNotLastRuleWithEmptyFilterError": "Only last rule can have empty filter: type {equipmentType}, rule index {index}.",
64
65
  "sensitivityAnalysis.tooManyFactors": "Too many factors to run sensitivity analysis: {resultCount} results (limit: {resultCountLimit}) and {variableCount} variables (limit: {variableCountLimit}).",
66
+ "sensitivityAnalysis.filtersOrContingenciesListsNotFound": "The configuration contains one or more contingencies lists or filters that have been deleted.",
65
67
  "pccMin.missingFilter": "The configuration contains one filter that has been deleted.",
66
68
  "pccMin.voltageLevelsLimitExceeded": "The result of filter evaluation gives {voltageLevelSize} voltage levels, which exceeds the limit {voltageLevelsLimit}.",
67
69
  "diagram.invalidEquipmentType": "The equipment {id} of type {equipmentType} is not a substation or voltage level in given network",
@@ -68,6 +68,7 @@ export declare const networkModificationsEn: {
68
68
  'network_modifications.MOVE_VOLTAGE_LEVEL_FEEDER_BAYS': string;
69
69
  ModificationReadError: string;
70
70
  CreateSubstation: string;
71
+ DeleteEquipmentByFilter: string;
71
72
  SubstationCreationError: string;
72
73
  ModifySubstation: string;
73
74
  SubstationModificationError: string;
@@ -119,8 +120,6 @@ export declare const networkModificationsEn: {
119
120
  YupNotTypeNumber: string;
120
121
  CreateLoad: string;
121
122
  loadType: string;
122
- ConnectivityTab: string;
123
- LineCharacteristicsTab: string;
124
123
  VOLTAGE_LEVEL: string;
125
124
  BusBarBus: string;
126
125
  ConnectionName: string;
@@ -135,7 +134,6 @@ export declare const networkModificationsEn: {
135
134
  NodeNotBuildPositionMessage: string;
136
135
  NoVoltageLevelPositionMessage: string;
137
136
  ModifyLoad: string;
138
- StateEstimationTab: string;
139
137
  MeasurementsSection: string;
140
138
  ValidMeasurement: string;
141
139
  InvalidMeasurement: string;
@@ -144,4 +142,10 @@ export declare const networkModificationsEn: {
144
142
  LCCConverterStationShuntCompensators: string;
145
143
  Side1: string;
146
144
  Side2: string;
145
+ Or: string;
146
+ ConnectivityTab: string;
147
+ CharacteristicsTab: string;
148
+ StructureTab: string;
149
+ AdditionalInformationTab: string;
150
+ StateEstimationTab: string;
147
151
  };
@@ -74,6 +74,7 @@ const networkModificationsEn = {
74
74
  "network_modifications.MOVE_VOLTAGE_LEVEL_FEEDER_BAYS": "Moving feeder bays in voltage level {computedLabel}",
75
75
  ModificationReadError: "An error occurred while fetching the modification",
76
76
  CreateSubstation: "Create substation",
77
+ DeleteEquipmentByFilter: "Delete equipment by filter",
77
78
  SubstationCreationError: "Error while creating substation",
78
79
  ModifySubstation: "Modify substation",
79
80
  SubstationModificationError: "Error while modifying substation",
@@ -125,8 +126,6 @@ const networkModificationsEn = {
125
126
  YupNotTypeNumber: "This field only accepts numeric values",
126
127
  CreateLoad: "Create load",
127
128
  loadType: "Type",
128
- ConnectivityTab: "Connectivity",
129
- LineCharacteristicsTab: "Characteristics",
130
129
  VOLTAGE_LEVEL: "Voltage Level",
131
130
  BusBarBus: "Bus bar section / bus",
132
131
  ConnectionName: "Connection name",
@@ -141,7 +140,6 @@ const networkModificationsEn = {
141
140
  NodeNotBuildPositionMessage: "Build the node to display taken positions",
142
141
  NoVoltageLevelPositionMessage: "Select a voltage level to display taken positions",
143
142
  ModifyLoad: "Modify load",
144
- StateEstimationTab: "State estimation",
145
143
  MeasurementsSection: "Measurements",
146
144
  ValidMeasurement: "Valid",
147
145
  InvalidMeasurement: "Invalid",
@@ -149,7 +147,14 @@ const networkModificationsEn = {
149
147
  UnableToDeleteEquipment: "Unable to delete the equipment",
150
148
  LCCConverterStationShuntCompensators: "Shunt compensators related to the LCC",
151
149
  Side1: "Side 1",
152
- Side2: "Side 2"
150
+ Side2: "Side 2",
151
+ Or: "or",
152
+ // Tabs
153
+ ConnectivityTab: "Connectivity",
154
+ CharacteristicsTab: "Characteristics",
155
+ StructureTab: "Structure",
156
+ AdditionalInformationTab: "Additional information",
157
+ StateEstimationTab: "State estimation"
153
158
  };
154
159
  export {
155
160
  networkModificationsEn
@@ -276,4 +276,11 @@ export declare const parametersEn: {
276
276
  DynamicMarginCalculationLoadsFilter: string;
277
277
  DynamicMarginCalculationLoadsVariation: string;
278
278
  DynamicMarginCalculationLoadsActive: string;
279
+ BUILT: string;
280
+ BUILT_WITH_WARNING: string;
281
+ BUILT_WITH_ERROR: string;
282
+ NOT_BUILT: string;
283
+ BUILDING: string;
284
+ NODE_BUILT: string;
285
+ NODE_NOT_BUILT: string;
279
286
  };
@@ -276,7 +276,14 @@ const parametersEn = {
276
276
  DynamicMarginCalculationLoadModelsRuleTargetedLoads: "Targeted loads",
277
277
  DynamicMarginCalculationLoadsFilter: "Loads filter",
278
278
  DynamicMarginCalculationLoadsVariation: "Load variation",
279
- DynamicMarginCalculationLoadsActive: "Active"
279
+ DynamicMarginCalculationLoadsActive: "Active",
280
+ BUILT: "Built",
281
+ BUILT_WITH_WARNING: "Warnings",
282
+ BUILT_WITH_ERROR: "Errors",
283
+ NOT_BUILT: "Not built",
284
+ BUILDING: "Building",
285
+ NODE_BUILT: "Node built",
286
+ NODE_NOT_BUILT: "Node not built"
280
287
  };
281
288
  export {
282
289
  parametersEn
@@ -60,6 +60,7 @@ export declare const businessErrorsFr: {
60
60
  'shortcircuit.inconsistentVoltageLevels': string;
61
61
  'shortcircuit.busOutOfNodeCluster': string;
62
62
  'securityAnalysis.contingencyListConfigEmpty': string;
63
+ 'securityAnalysis.missingContingencyList': string;
63
64
  'dynamicMapping.mappingNameNotProvided': string;
64
65
  'dynamicSecurityAnalysis.providerNotFound': string;
65
66
  'dynamicSecurityAnalysis.contingenciesNotFound': string;
@@ -68,6 +69,7 @@ export declare const businessErrorsFr: {
68
69
  'dynamicSimulation.mappingNotProvided': string;
69
70
  'dynamicSimulation.mappingNotLastRuleWithEmptyFilterError': string;
70
71
  'sensitivityAnalysis.tooManyFactors': string;
72
+ 'sensitivityAnalysis.filtersOrContingenciesListsNotFound': string;
71
73
  'pccMin.missingFilter': string;
72
74
  'pccMin.voltageLevelsLimitExceeded': string;
73
75
  'diagram.invalidEquipmentType': string;
@@ -54,6 +54,7 @@ const businessErrorsFr = {
54
54
  "shortcircuit.inconsistentVoltageLevels": "Des postes ont des données Icc incohérentes. Vérifiez les logs pour déterminer lesquels.",
55
55
  "shortcircuit.busOutOfNodeCluster": "Le nœud électrique sélectionné est en dehors de la zone intérieure",
56
56
  "securityAnalysis.contingencyListConfigEmpty": "La configuration ne contient aucun aléas.",
57
+ "securityAnalysis.missingContingencyList": "La configuration contient une ou des listes d'aléas qui ont été supprimées.",
57
58
  "dynamicMapping.mappingNameNotProvided": "Nom du mapping non fourni",
58
59
  "dynamicSecurityAnalysis.providerNotFound": "Simulateur d'analyse de sécurité dynamique non trouvé.",
59
60
  "dynamicSecurityAnalysis.contingenciesNotFound": "Aucun aléa fourni.",
@@ -62,6 +63,7 @@ const businessErrorsFr = {
62
63
  "dynamicSimulation.mappingNotProvided": "Mapping pour la simulation dynamique non fourni.",
63
64
  "dynamicSimulation.mappingNotLastRuleWithEmptyFilterError": "Seule la dernière règle peut avoir un filtre vide : type {equipmentType}, indice de la règle : {index}.",
64
65
  "sensitivityAnalysis.tooManyFactors": "Trop de facteurs pour exécuter l’analyse de sensibilité : {resultCount} résultats (limite : {resultCountLimit}) et {variableCount} variables (limite : {variableCountLimit}).",
66
+ "sensitivityAnalysis.filtersOrContingenciesListsNotFound": "La configuration contient une ou des listes d'aléas ou filtres qui ont été supprimés.",
65
67
  "pccMin.missingFilter": "La configuration contient un filtre qui a été supprimé.",
66
68
  "pccMin.voltageLevelsLimitExceeded": "Le résultat de l’évaluation du filtre donne {voltageLevelSize} postes, ce qui dépasse la limite de {voltageLevelsLimit}.",
67
69
  "diagram.invalidEquipmentType": "L'équipement {id} de type {equipmentType} n'est pas un site ou poste dans le réseau courant",
@@ -68,6 +68,7 @@ export declare const networkModificationsFr: {
68
68
  'network_modifications.MOVE_VOLTAGE_LEVEL_FEEDER_BAYS': string;
69
69
  ModificationReadError: string;
70
70
  CreateSubstation: string;
71
+ DeleteEquipmentByFilter: string;
71
72
  SubstationCreationError: string;
72
73
  ModifySubstation: string;
73
74
  SubstationModificationError: string;
@@ -119,8 +120,6 @@ export declare const networkModificationsFr: {
119
120
  YupNotTypeNumber: string;
120
121
  CreateLoad: string;
121
122
  loadType: string;
122
- ConnectivityTab: string;
123
- LineCharacteristicsTab: string;
124
123
  VOLTAGE_LEVEL: string;
125
124
  BusBarBus: string;
126
125
  ConnectionName: string;
@@ -135,7 +134,6 @@ export declare const networkModificationsFr: {
135
134
  NodeNotBuildPositionMessage: string;
136
135
  NoVoltageLevelPositionMessage: string;
137
136
  ModifyLoad: string;
138
- StateEstimationTab: string;
139
137
  MeasurementsSection: string;
140
138
  ValidMeasurement: string;
141
139
  InvalidMeasurement: string;
@@ -144,4 +142,10 @@ export declare const networkModificationsFr: {
144
142
  LCCConverterStationShuntCompensators: string;
145
143
  Side1: string;
146
144
  Side2: string;
145
+ Or: string;
146
+ ConnectivityTab: string;
147
+ CharacteristicsTab: string;
148
+ StructureTab: string;
149
+ AdditionalInformationTab: string;
150
+ StateEstimationTab: string;
147
151
  };
@@ -74,6 +74,7 @@ const networkModificationsFr = {
74
74
  "network_modifications.MOVE_VOLTAGE_LEVEL_FEEDER_BAYS": "Déplacements de départs dans le poste {computedLabel}",
75
75
  ModificationReadError: "Une erreur est survenue lors de la récupération de la modification",
76
76
  CreateSubstation: "Créer un site",
77
+ DeleteEquipmentByFilter: "Supprimer des ouvrages par filtre",
77
78
  SubstationCreationError: "Erreur lors de la création d'un site'",
78
79
  ModifySubstation: "Modifier un site",
79
80
  SubstationModificationError: "Erreur lors de la modification d'un site",
@@ -98,7 +99,7 @@ const networkModificationsFr = {
98
99
  BusBarSections: "Section de jeu de barres",
99
100
  BusBarCount: "Nb de barres",
100
101
  numberOfSections: "Nb de sections",
101
- SwitchesBetweenSections: "OCs entre sections",
102
+ SwitchesBetweenSections: "Organes de coupure entre sections",
102
103
  Coupling_Omnibus: "Couplage / omnibus",
103
104
  AddCoupling_Omnibus: "Ajouter couplage / omnibus",
104
105
  SwitchBetweenSectionsLabel: "section_{index1} / section_{index2}",
@@ -125,8 +126,6 @@ const networkModificationsFr = {
125
126
  YupNotTypeNumber: "Ce champ n'accepte que des valeurs numériques",
126
127
  CreateLoad: "Créer une consommation",
127
128
  loadType: "Type",
128
- ConnectivityTab: "Connectivité",
129
- LineCharacteristicsTab: "Caractéristiques",
130
129
  VOLTAGE_LEVEL: "Poste",
131
130
  BusBarBus: "SJB / nœud",
132
131
  ConnectionName: "Nom départ",
@@ -141,7 +140,6 @@ const networkModificationsFr = {
141
140
  NodeNotBuildPositionMessage: "Veuillez réaliser le nœud pour afficher les positions prises",
142
141
  NoVoltageLevelPositionMessage: "Veuillez choisir un poste pour afficher les positions prises",
143
142
  ModifyLoad: "Modifier une consommation",
144
- StateEstimationTab: "Estimation d'état",
145
143
  MeasurementsSection: "Télémesures",
146
144
  ValidMeasurement: "Valide",
147
145
  InvalidMeasurement: "Invalide",
@@ -149,7 +147,14 @@ const networkModificationsFr = {
149
147
  UnableToDeleteEquipment: "Impossible de supprimer l'ouvrage",
150
148
  LCCConverterStationShuntCompensators: "Moyens de compensation liés à la LCC",
151
149
  Side1: "Côté 1",
152
- Side2: "Côté 2"
150
+ Side2: "Côté 2",
151
+ Or: "ou",
152
+ // Tabs
153
+ ConnectivityTab: "Connectivité",
154
+ CharacteristicsTab: "Caractéristiques",
155
+ StructureTab: "Structure",
156
+ AdditionalInformationTab: "Compléments",
157
+ StateEstimationTab: "Estimation d'état"
153
158
  };
154
159
  export {
155
160
  networkModificationsFr
@@ -276,4 +276,11 @@ export declare const parametersFr: {
276
276
  DynamicMarginCalculationLoadsFilter: string;
277
277
  DynamicMarginCalculationLoadsVariation: string;
278
278
  DynamicMarginCalculationLoadsActive: string;
279
+ BUILT: string;
280
+ BUILT_WITH_WARNING: string;
281
+ BUILT_WITH_ERROR: string;
282
+ NOT_BUILT: string;
283
+ BUILDING: string;
284
+ NODE_BUILT: string;
285
+ NODE_NOT_BUILT: string;
279
286
  };
@@ -275,7 +275,14 @@ const parametersFr = {
275
275
  DynamicMarginCalculationLoadModelsRuleTargetedLoads: "Charges ciblées",
276
276
  DynamicMarginCalculationLoadsFilter: "Regroupement de charges",
277
277
  DynamicMarginCalculationLoadsVariation: "Variation de charge",
278
- DynamicMarginCalculationLoadsActive: "Actif"
278
+ DynamicMarginCalculationLoadsActive: "Actif",
279
+ BUILT: "Réalisé",
280
+ BUILT_WITH_WARNING: "Alertes",
281
+ BUILT_WITH_ERROR: "Erreurs",
282
+ NOT_BUILT: "Non réalisé",
283
+ BUILDING: "En cours de réalisation",
284
+ NODE_BUILT: "Nœud réalisé",
285
+ NODE_NOT_BUILT: "Nœud non réalisé"
279
286
  };
280
287
  export {
281
288
  parametersFr
@@ -10,6 +10,7 @@ export type Metadata = {
10
10
  hiddenInAppsMenu: boolean;
11
11
  hiddenUserInformation: boolean;
12
12
  resources?: MetaDataRessources[];
13
+ useBusbarIdAsContingencyNameForPolygonCreation?: boolean;
13
14
  };
14
15
  export type StudyMetadata = Metadata & {
15
16
  name: 'Study';