@gridsuite/commons-ui 0.146.0 → 0.148.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 (104) hide show
  1. package/README.md +1 -1
  2. package/dist/components/checkBoxList/CheckBoxListItem.js +1 -1
  3. package/dist/components/checkBoxList/CheckBoxListItemContent.js +1 -1
  4. package/dist/components/checkBoxList/DraggableCheckBoxListItem.js +1 -1
  5. package/dist/components/checkBoxList/DraggableCheckBoxListItemContent.js +1 -1
  6. package/dist/components/csvDownloader/use-csv-export.js +1 -1
  7. package/dist/components/customAGGrid/cell-renderers.js +1 -1
  8. package/dist/components/customAGGrid/separatorCellRenderer.js +1 -1
  9. package/dist/components/dialogs/elementSaveDialog/ElementSaveDialog.js +1 -1
  10. package/dist/components/directoryItemSelector/utils.js +2 -2
  11. package/dist/components/dnd-table/dnd-table-add-rows-dialog.js +1 -1
  12. package/dist/components/filter/HeaderFilterForm.js +1 -1
  13. package/dist/components/filter/expert/expertFilterConstants.js +1 -1
  14. package/dist/components/filter/utils/filterFormUtils.js +1 -1
  15. package/dist/components/index.js +4 -3
  16. package/dist/components/inputs/reactHookForm/DirectoryItemsInput.js +1 -1
  17. package/dist/components/inputs/reactHookForm/OverflowableChipWithHelperText.js +1 -1
  18. package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.js +1 -1
  19. package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.js +1 -1
  20. package/dist/components/inputs/reactHookForm/chip-items-input.js +1 -1
  21. package/dist/components/inputs/reactQueryBuilder/CountryValueEditor.js +1 -1
  22. package/dist/components/inputs/reactQueryBuilder/ElementValueEditor.js +1 -1
  23. package/dist/components/inputs/reactQueryBuilder/OperatorSelector.js +1 -1
  24. package/dist/components/overflowableText/OverflowableText.js +1 -1
  25. package/dist/components/parameters/common/ProviderParam.js +1 -1
  26. package/dist/components/parameters/common/limitreductions/limit-reduction-table-cell.js +1 -1
  27. package/dist/components/parameters/common/limitreductions/limit-reductions-table-form.js +1 -1
  28. package/dist/components/parameters/common/name-element-editor/name-element-editor-form.js +1 -1
  29. package/dist/components/parameters/common/name-element-editor/name-element-editor-utils.js +1 -1
  30. package/dist/components/parameters/common/utils.js +2 -2
  31. package/dist/components/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +1 -1
  32. package/dist/components/parameters/common/widget/parameter-float.js +1 -1
  33. package/dist/components/parameters/common/widget/parameter-line-directory-items-input.js +1 -1
  34. package/dist/components/parameters/common/widget/parameter-line-slider.js +1 -1
  35. package/dist/components/parameters/index.js +4 -3
  36. package/dist/components/parameters/loadflow/load-flow-general-parameters.js +1 -1
  37. package/dist/components/parameters/loadflow/load-flow-parameter-field.js +1 -1
  38. package/dist/components/parameters/loadflow/load-flow-parameters-content.js +1 -1
  39. package/dist/components/parameters/loadflow/load-flow-parameters-dialog.js +1 -1
  40. package/dist/components/parameters/loadflow/load-flow-parameters-form.js +1 -1
  41. package/dist/components/parameters/loadflow/load-flow-parameters-header.js +1 -1
  42. package/dist/components/parameters/loadflow/load-flow-parameters-utils.js +1 -1
  43. package/dist/components/parameters/network-visualizations/constants.d.ts +0 -4
  44. package/dist/components/parameters/network-visualizations/constants.js +1 -20
  45. package/dist/components/parameters/network-visualizations/index.js +1 -2
  46. package/dist/components/parameters/network-visualizations/map-parameters.js +21 -4
  47. package/dist/components/parameters/network-visualizations/network-area-diagram-parameters.js +1 -1
  48. package/dist/components/parameters/network-visualizations/network-visualizations-form.js +1 -1
  49. package/dist/components/parameters/network-visualizations/single-line-diagram-parameters.js +1 -1
  50. package/dist/components/parameters/pcc-min/pcc-min-form-utils.js +1 -1
  51. package/dist/components/parameters/pcc-min/pcc-min-parameters-form.js +1 -1
  52. package/dist/components/parameters/pcc-min/pcc-min-parameters-inline.js +1 -1
  53. package/dist/components/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -1
  54. package/dist/components/parameters/security-analysis/security-analysis-parameters-dialog.js +1 -1
  55. package/dist/components/parameters/security-analysis/security-analysis-parameters-form.js +1 -1
  56. package/dist/components/parameters/security-analysis/security-analysis-parameters-selector.js +1 -1
  57. package/dist/components/parameters/sensi/columns-definitions.js +2 -2
  58. package/dist/components/parameters/sensi/sensitivity-Flow-parameters.js +1 -1
  59. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.js +1 -1
  60. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-form.js +1 -1
  61. package/dist/components/parameters/sensi/table-cell.js +1 -1
  62. package/dist/components/parameters/sensi/utils.js +2 -2
  63. package/dist/components/parameters/short-circuit/constants.d.ts +2 -0
  64. package/dist/components/parameters/short-circuit/constants.js +4 -0
  65. package/dist/components/parameters/short-circuit/index.js +3 -1
  66. package/dist/components/parameters/short-circuit/short-circuit-fields.js +42 -8
  67. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-cell.d.ts +7 -0
  68. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-cell.js +48 -0
  69. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-columns-definition.d.ts +18 -0
  70. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-columns-definition.js +47 -0
  71. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-row.d.ts +8 -0
  72. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-row.js +27 -0
  73. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table.d.ts +8 -0
  74. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table.js +46 -0
  75. package/dist/components/parameters/short-circuit/short-circuit-parameters-form.js +1 -1
  76. package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.d.ts +14 -7
  77. package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.js +98 -10
  78. package/dist/components/parameters/short-circuit/short-circuit-parameters.type.d.ts +7 -0
  79. package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.js +15 -12
  80. package/dist/components/parameters/voltage-init/equipment-selection-parameters.js +1 -1
  81. package/dist/components/parameters/voltage-init/general-parameters.js +1 -1
  82. package/dist/components/parameters/voltage-init/voltage-init-form-utils.js +1 -1
  83. package/dist/components/parameters/voltage-init/voltage-init-parameters-form.js +1 -1
  84. package/dist/hooks/use-unique-name-validation.js +1 -1
  85. package/dist/hooks/useConfidentialityWarning.js +1 -1
  86. package/dist/hooks/useModificationLabelComputer.js +1 -1
  87. package/dist/index.js +7 -4
  88. package/dist/services/config.js +1 -1
  89. package/dist/services/utils.d.ts +2 -7
  90. package/dist/services/utils.js +7 -1
  91. package/dist/translations/en/parameters.d.ts +17 -0
  92. package/dist/translations/en/parameters.js +17 -0
  93. package/dist/translations/fr/parameters.d.ts +17 -0
  94. package/dist/translations/fr/parameters.js +17 -0
  95. package/dist/utils/error.js +3 -1
  96. package/dist/utils/index.js +3 -1
  97. package/dist/utils/types/CustomError.d.ts +13 -0
  98. package/dist/utils/types/CustomError.js +20 -0
  99. package/dist/utils/types/ProblemDetailError.d.ts +3 -12
  100. package/dist/utils/types/ProblemDetailError.js +4 -15
  101. package/dist/utils/types/index.d.ts +1 -0
  102. package/dist/utils/types/index.js +3 -1
  103. package/dist/utils/types/metadata.d.ts +4 -0
  104. package/package.json +1 -1
@@ -1,18 +1,20 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { Grid } from "@mui/material";
3
3
  import { FormattedMessage } from "react-intl";
4
- import { MAP_BASE_MAP, NetworkVisualizationTabValues, PARAM_MAP_BASEMAP, INTL_MAP_BASE_MAP_OPTIONS, PARAM_LINE_FULL_PATH, PARAM_LINE_PARALLEL_PATH, INTL_LINE_FLOW_MODE_OPTIONS, LINE_FLOW_MODE, PARAM_LINE_FLOW_MODE, MAP_MANUAL_REFRESH, PARAM_MAP_MANUAL_REFRESH } from "./constants.js";
4
+ import { useState, useEffect } from "react";
5
+ import { MAP_BASE_MAP, NetworkVisualizationTabValues, PARAM_MAP_BASEMAP, PARAM_LINE_FULL_PATH, PARAM_LINE_PARALLEL_PATH, INTL_LINE_FLOW_MODE_OPTIONS, LINE_FLOW_MODE, PARAM_LINE_FLOW_MODE, MAP_MANUAL_REFRESH, PARAM_MAP_MANUAL_REFRESH } from "./constants.js";
5
6
  import { LineSeparator } from "../common/line-separator.js";
6
7
  import { parametersStyles } from "../parameters-style.js";
7
- import "react";
8
8
  import "../../../utils/conversionUtils.js";
9
+ import { snackWithFallback } from "../../../utils/error.js";
9
10
  import "@mui/icons-material";
10
11
  import "../../../utils/types/equipmentType.js";
11
12
  import "../../../utils/yupConfig.js";
13
+ import { fetchStudyMetadata } from "../../../services/appsMetadata.js";
12
14
  import "localized-countries";
13
15
  import "localized-countries/data/fr";
14
16
  import "localized-countries/data/en";
15
- import "notistack";
17
+ import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
16
18
  import "react-hook-form";
17
19
  import "../../inputs/reactHookForm/provider/CustomFormProvider.js";
18
20
  import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
@@ -36,7 +38,22 @@ import "../../inputs/reactQueryBuilder/PropertyValueEditor.js";
36
38
  import "react-querybuilder";
37
39
  import "../common/widget/parameter-line-slider.js";
38
40
  import "../common/limitreductions/columns-definitions.js";
41
+ const fetchMapBaseOption = async () => {
42
+ const studyMetadata = await fetchStudyMetadata();
43
+ return studyMetadata.baseMapOptions;
44
+ };
39
45
  function MapParameters() {
46
+ const [baseMapOptions, setBaseMapOptions] = useState([]);
47
+ const { snackError } = useSnackMessage();
48
+ useEffect(() => {
49
+ fetchMapBaseOption().then((p) => {
50
+ if (p !== void 0) {
51
+ setBaseMapOptions(p);
52
+ }
53
+ }).catch((error) => {
54
+ snackWithFallback(snackError, error);
55
+ });
56
+ }, [setBaseMapOptions, snackError]);
40
57
  const lineSwitch = (name, label) => /* @__PURE__ */ jsxs(Fragment, { children: [
41
58
  /* @__PURE__ */ jsx(Grid, { item: true, xs: 8, sx: parametersStyles.parameterName, children: /* @__PURE__ */ jsx(FormattedMessage, { id: label }) }),
42
59
  /* @__PURE__ */ jsx(Grid, { item: true, container: true, xs: 4, sx: parametersStyles.controlItem, children: /* @__PURE__ */ jsx(SwitchInput, { name: `${NetworkVisualizationTabValues.MAP}.${name}` }) })
@@ -61,7 +78,7 @@ function MapParameters() {
61
78
  fullWidth: true,
62
79
  name: `${NetworkVisualizationTabValues.MAP}.${PARAM_MAP_BASEMAP}`,
63
80
  size: "small",
64
- options: Object.values(INTL_MAP_BASE_MAP_OPTIONS)?.map((option) => option)
81
+ options: Object.values(baseMapOptions)?.map((option) => option)
65
82
  }
66
83
  ) })
67
84
  ] });
@@ -5,8 +5,8 @@ import { NAD_POSITIONS_GENERATION_MODE_LABEL, NetworkVisualizationTabValues, PAR
5
5
  import { parametersStyles } from "../parameters-style.js";
6
6
  import "../../overflowableText/OverflowableText.js";
7
7
  import "../../../utils/conversionUtils.js";
8
- import "@mui/icons-material";
9
8
  import "../../../utils/types/equipmentType.js";
9
+ import "@mui/icons-material";
10
10
  import "../../../utils/yupConfig.js";
11
11
  import "react";
12
12
  import "react-hook-form";
@@ -4,8 +4,8 @@ import { useState, useEffect } from "react";
4
4
  import { FormattedMessage } from "react-intl";
5
5
  import "../../overflowableText/OverflowableText.js";
6
6
  import "../../../utils/conversionUtils.js";
7
- import "@mui/icons-material";
8
7
  import "../../../utils/types/equipmentType.js";
8
+ import "@mui/icons-material";
9
9
  import "../../../utils/yupConfig.js";
10
10
  import "react-hook-form";
11
11
  import { getAvailableComponentLibraries } from "../../../services/study.js";
@@ -5,8 +5,8 @@ import { FormattedMessage } from "react-intl";
5
5
  import { LineSeparator } from "../common/line-separator.js";
6
6
  import { parametersStyles } from "../parameters-style.js";
7
7
  import "../../../utils/conversionUtils.js";
8
- import "@mui/icons-material";
9
8
  import "../../../utils/types/equipmentType.js";
9
+ import "@mui/icons-material";
10
10
  import "../../../utils/yupConfig.js";
11
11
  import "localized-countries";
12
12
  import "localized-countries/data/fr";
@@ -4,8 +4,8 @@ import "react-intl";
4
4
  import "@mui/material";
5
5
  import "../../overflowableText/OverflowableText.js";
6
6
  import "../../../utils/conversionUtils.js";
7
- import "@mui/icons-material";
8
7
  import "../../../utils/types/equipmentType.js";
8
+ import "@mui/icons-material";
9
9
  import "../../../utils/yupConfig.js";
10
10
  import "react";
11
11
  import "react-hook-form";
@@ -4,9 +4,9 @@ import "react-intl";
4
4
  import "../../overflowableText/OverflowableText.js";
5
5
  import { FILTERS } from "../../../utils/constants/filterConstant.js";
6
6
  import "../../../utils/conversionUtils.js";
7
- import "@mui/icons-material";
8
7
  import { ElementType } from "../../../utils/types/elementType.js";
9
8
  import { EquipmentType } from "../../../utils/types/equipmentType.js";
9
+ import "@mui/icons-material";
10
10
  import "../../../utils/yupConfig.js";
11
11
  import "react";
12
12
  import "react-hook-form";
@@ -3,8 +3,8 @@ import { useState, useCallback, useEffect } from "react";
3
3
  import { Box, Grid } from "@mui/material";
4
4
  import { FormattedMessage } from "react-intl";
5
5
  import "../../../utils/conversionUtils.js";
6
- import "@mui/icons-material";
7
6
  import "../../../utils/types/equipmentType.js";
7
+ import "@mui/icons-material";
8
8
  import "../../../utils/yupConfig.js";
9
9
  import { updatePccMinParameters } from "../../../services/pcc-min.js";
10
10
  import "localized-countries";
@@ -7,8 +7,8 @@ import "react/jsx-runtime";
7
7
  import "react-intl";
8
8
  import { FILTERS, ID } from "../../../utils/constants/filterConstant.js";
9
9
  import "../../../utils/conversionUtils.js";
10
- import "@mui/icons-material";
11
10
  import "../../../utils/types/equipmentType.js";
11
+ import "@mui/icons-material";
12
12
  import { updatePccMinParameters, getPccMinStudyParameters } from "../../../services/pcc-min.js";
13
13
  import "@mui/material";
14
14
  import "localized-countries";
@@ -2,9 +2,9 @@ import { jsx } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import "react-intl";
4
4
  import "../../../utils/conversionUtils.js";
5
- import "@mui/icons-material";
6
5
  import { ElementType } from "../../../utils/types/elementType.js";
7
6
  import "../../../utils/types/equipmentType.js";
7
+ import "@mui/icons-material";
8
8
  import "../../../utils/yupConfig.js";
9
9
  import { getSecurityAnalysisDefaultLimitReductions, updateSecurityAnalysisParameters, fetchSecurityAnalysisParameters, fetchDefaultSecurityAnalysisProvider, fetchSecurityAnalysisProviders } from "../../../services/security-analysis.js";
10
10
  import "@mui/material";
@@ -3,9 +3,9 @@ import { FormattedMessage } from "react-intl";
3
3
  import { Grid, Box, LinearProgress } from "@mui/material";
4
4
  import "../../overflowableText/OverflowableText.js";
5
5
  import "../../../utils/conversionUtils.js";
6
+ import "../../../utils/types/equipmentType.js";
6
7
  import "@mui/icons-material";
7
8
  import { mergeSx } from "../../../utils/styles.js";
8
- import "../../../utils/types/equipmentType.js";
9
9
  import "../../../utils/yupConfig.js";
10
10
  import "react";
11
11
  import "react-hook-form";
@@ -4,8 +4,8 @@ import { FormattedMessage } from "react-intl";
4
4
  import { Grid, Tabs, Tab } from "@mui/material";
5
5
  import { TabPanel } from "../common/parameters.js";
6
6
  import "../../../utils/conversionUtils.js";
7
- import "@mui/icons-material";
8
7
  import "../../../utils/types/equipmentType.js";
8
+ import "@mui/icons-material";
9
9
  import "../../../utils/yupConfig.js";
10
10
  import "localized-countries";
11
11
  import "localized-countries/data/fr";
@@ -1,9 +1,9 @@
1
1
  import { MONITORED_BRANCHES, INJECTIONS, DISTRIBUTION_TYPE, CONTINGENCIES, ACTIVATED, SENSITIVITY_TYPE, HVDC_LINES, PSTS, SUPERVISED_VOLTAGE_LEVELS, EQUIPMENTS_IN_VOLTAGE_REGULATION, PARAMETER_SENSI_INJECTIONS_SET, PARAMETER_SENSI_INJECTION, PARAMETER_SENSI_HVDC, PARAMETER_SENSI_PST, PARAMETER_SENSI_NODES } from "./constants.js";
2
2
  import "../../../utils/conversionUtils.js";
3
- import "react/jsx-runtime";
4
- import "@mui/icons-material";
5
3
  import { ElementType } from "../../../utils/types/elementType.js";
6
4
  import { EquipmentType } from "../../../utils/types/equipmentType.js";
5
+ import "react/jsx-runtime";
6
+ import "@mui/icons-material";
7
7
  import "../../../utils/yupConfig.js";
8
8
  const MONITORED_BRANCHES_EQUIPMENT_TYPES = [EquipmentType.LINE, EquipmentType.TWO_WINDINGS_TRANSFORMER];
9
9
  const INJECTION_DISTRIBUTION_TYPES = [
@@ -4,8 +4,8 @@ import { FormattedMessage } from "react-intl";
4
4
  import { FLOW_FLOW_SENSITIVITY_VALUE_THRESHOLD, ANGLE_FLOW_SENSITIVITY_VALUE_THRESHOLD, FLOW_VOLTAGE_SENSITIVITY_VALUE_THRESHOLD } from "./constants.js";
5
5
  import "../../overflowableText/OverflowableText.js";
6
6
  import "../../../utils/conversionUtils.js";
7
- import "@mui/icons-material";
8
7
  import "../../../utils/types/equipmentType.js";
8
+ import "@mui/icons-material";
9
9
  import "../../../utils/yupConfig.js";
10
10
  import "react";
11
11
  import "react-hook-form";
@@ -4,9 +4,9 @@ import "@mui/material";
4
4
  import "react-intl";
5
5
  import "react";
6
6
  import "../../../utils/conversionUtils.js";
7
- import "@mui/icons-material";
8
7
  import { ElementType } from "../../../utils/types/elementType.js";
9
8
  import "../../../utils/types/equipmentType.js";
9
+ import "@mui/icons-material";
10
10
  import "../../../utils/yupConfig.js";
11
11
  import "localized-countries";
12
12
  import "localized-countries/data/fr";
@@ -4,9 +4,9 @@ import { FormattedMessage } from "react-intl";
4
4
  import { parametersStyles } from "../parameters-style.js";
5
5
  import "../../overflowableText/OverflowableText.js";
6
6
  import "../../../utils/conversionUtils.js";
7
+ import "../../../utils/types/equipmentType.js";
7
8
  import "@mui/icons-material";
8
9
  import { mergeSx } from "../../../utils/styles.js";
9
- import "../../../utils/types/equipmentType.js";
10
10
  import "../../../utils/yupConfig.js";
11
11
  import "react";
12
12
  import "react-hook-form";
@@ -3,8 +3,8 @@ import { TableCell } from "@mui/material";
3
3
  import "react-intl";
4
4
  import "../../overflowableText/OverflowableText.js";
5
5
  import "../../../utils/conversionUtils.js";
6
- import "@mui/icons-material";
7
6
  import "../../../utils/types/equipmentType.js";
7
+ import "@mui/icons-material";
8
8
  import "../../../utils/yupConfig.js";
9
9
  import "react";
10
10
  import "react-hook-form";
@@ -2,10 +2,10 @@ import "../../../utils/yupConfig.js";
2
2
  import { FLOW_VOLTAGE_SENSITIVITY_VALUE_THRESHOLD, ANGLE_FLOW_SENSITIVITY_VALUE_THRESHOLD, FLOW_FLOW_SENSITIVITY_VALUE_THRESHOLD, PARAMETER_SENSI_NODES, EQUIPMENTS_IN_VOLTAGE_REGULATION, SUPERVISED_VOLTAGE_LEVELS, PARAMETER_SENSI_PST, PSTS, ACTIVATED, PARAMETER_SENSI_HVDC, HVDC_LINES, PARAMETER_SENSI_INJECTION, INJECTIONS, PARAMETER_SENSI_INJECTIONS_SET, DISTRIBUTION_TYPE, COUNT, CONTINGENCIES, SENSITIVITY_TYPE, MONITORED_BRANCHES, CONTAINER_NAME, CONTAINER_ID } from "./constants.js";
3
3
  import { ID } from "../../../utils/constants/filterConstant.js";
4
4
  import "../../../utils/conversionUtils.js";
5
- import "react/jsx-runtime";
6
- import "@mui/icons-material";
7
5
  import "../../../utils/types/equipmentType.js";
8
6
  import { DistributionType, SensitivityType } from "../../../utils/types/sensitivity-analysis.type.js";
7
+ import "react/jsx-runtime";
8
+ import "@mui/icons-material";
9
9
  import { PROVIDER } from "../common/constant.js";
10
10
  import "@mui/material";
11
11
  import "react-intl";
@@ -23,6 +23,8 @@ export declare const SHORT_CIRCUIT_WITH_NEUTRAL_POSITION = "withNeutralPosition"
23
23
  export declare const SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE = "initialVoltageProfileMode";
24
24
  export declare const SHORT_CIRCUIT_VOLTAGE_RANGES = "voltageRanges";
25
25
  export declare const SHORT_CIRCUIT_ONLY_STARTED_GENERATORS = "onlyStartedGenerators";
26
+ export declare const SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS = "modelPowerElectronics";
27
+ export declare const SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS = "powerElectronicsMaterials";
26
28
  export declare const intlPredefinedParametersOptions: () => {
27
29
  id: string;
28
30
  label: string;
@@ -19,6 +19,8 @@ const SHORT_CIRCUIT_WITH_NEUTRAL_POSITION = "withNeutralPosition";
19
19
  const SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE = "initialVoltageProfileMode";
20
20
  const SHORT_CIRCUIT_VOLTAGE_RANGES = "voltageRanges";
21
21
  const SHORT_CIRCUIT_ONLY_STARTED_GENERATORS = "onlyStartedGenerators";
22
+ const SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS = "modelPowerElectronics";
23
+ const SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS = "powerElectronicsMaterials";
22
24
  const intlPredefinedParametersOptions = () => [
23
25
  {
24
26
  id: "ICC_MAX_WITH_NOMINAL_VOLTAGE_MAP",
@@ -59,7 +61,9 @@ export {
59
61
  InitialVoltage,
60
62
  PredefinedParameters,
61
63
  SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE,
64
+ SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS,
62
65
  SHORT_CIRCUIT_ONLY_STARTED_GENERATORS,
66
+ SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS,
63
67
  SHORT_CIRCUIT_PREDEFINED_PARAMS,
64
68
  SHORT_CIRCUIT_VOLTAGE_RANGES,
65
69
  SHORT_CIRCUIT_WITH_FEEDER_RESULT,
@@ -1,11 +1,13 @@
1
- import { InitialVoltage, PredefinedParameters, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_VOLTAGE_RANGES, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, intlInitialVoltageProfileMode, intlPredefinedParametersOptions, onlyStartedGeneratorsOptions } from "./constants.js";
1
+ import { InitialVoltage, PredefinedParameters, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS, SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_VOLTAGE_RANGES, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, intlInitialVoltageProfileMode, intlPredefinedParametersOptions, onlyStartedGeneratorsOptions } from "./constants.js";
2
2
  import { ShortCircuitParametersInLine } from "./short-circuit-parameters-inline.js";
3
3
  import { ShortCircuitParametersEditionDialog } from "./short-circuit-parameters-dialog.js";
4
4
  export {
5
5
  InitialVoltage,
6
6
  PredefinedParameters,
7
7
  SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE,
8
+ SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS,
8
9
  SHORT_CIRCUIT_ONLY_STARTED_GENERATORS,
10
+ SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS,
9
11
  SHORT_CIRCUIT_PREDEFINED_PARAMS,
10
12
  SHORT_CIRCUIT_VOLTAGE_RANGES,
11
13
  SHORT_CIRCUIT_WITH_FEEDER_RESULT,
@@ -4,11 +4,11 @@ import { Grid } from "@mui/material";
4
4
  import { green, red } from "@mui/material/colors";
5
5
  import { Lens } from "@mui/icons-material";
6
6
  import { useWatch, useFormContext } from "react-hook-form";
7
- import { SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, intlPredefinedParametersOptions, PredefinedParameters, intlInitialVoltageProfileMode, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS, onlyStartedGeneratorsOptions, InitialVoltage, SHORT_CIRCUIT_WITH_FEEDER_RESULT } from "./constants.js";
7
+ import { FormattedMessage } from "react-intl";
8
+ import { SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS, intlPredefinedParametersOptions, PredefinedParameters, intlInitialVoltageProfileMode, onlyStartedGeneratorsOptions, InitialVoltage, SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS } from "./constants.js";
8
9
  import { VoltageTable } from "./short-circuit-voltage-table.js";
9
10
  import GridItem from "../../grid/grid-item.js";
10
11
  import GridSection from "../../grid/grid-section.js";
11
- import "react-intl";
12
12
  import { FieldLabel } from "../../inputs/reactHookForm/utils/FieldLabel.js";
13
13
  import "../../overflowableText/OverflowableText.js";
14
14
  import "../../../utils/conversionUtils.js";
@@ -42,11 +42,18 @@ import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialo
42
42
  import "../../dialogs/elementSaveDialog/ElementSaveDialog.js";
43
43
  import "../common/widget/parameter-line-slider.js";
44
44
  import "../common/limitreductions/columns-definitions.js";
45
+ import { ShortCircuitIccMaterialTable } from "./short-circuit-icc-material-table.js";
46
+ import { COLUMNS_DEFINITIONS_ICC_MATERIALS } from "./short-circuit-icc-material-table-columns-definition.js";
45
47
  var Status = /* @__PURE__ */ ((Status2) => {
46
48
  Status2["SUCCESS"] = "SUCCESS";
47
49
  Status2["ERROR"] = "ERROR";
48
50
  return Status2;
49
51
  })(Status || {});
52
+ const columnsDef = COLUMNS_DEFINITIONS_ICC_MATERIALS.map((col) => ({
53
+ ...col,
54
+ label: /* @__PURE__ */ jsx(FormattedMessage, { id: col.label }),
55
+ tooltip: /* @__PURE__ */ jsx(FormattedMessage, { id: col.tooltip })
56
+ }));
50
57
  function ShortCircuitFields({ resetAll, isDeveloperMode = true }) {
51
58
  const [status, setStatus] = useState(
52
59
  "SUCCESS"
@@ -77,12 +84,15 @@ function ShortCircuitFields({ resetAll, isDeveloperMode = true }) {
77
84
  () => Object.keys(watchSpecificParameters).length > 0 && watchSpecificParameters.constructor === Object,
78
85
  [watchSpecificParameters]
79
86
  );
87
+ const watchOnlyStartedGenerators = useWatch({
88
+ name: `${SPECIFIC_PARAMETERS}.${SHORT_CIRCUIT_ONLY_STARTED_GENERATORS}`
89
+ });
80
90
  const isIccMinFeaturesDefaultConfiguration = useMemo(() => {
81
- return !watchLoads && !watchShuntCompensators && !watchVSC && !watchNeutralPosition;
82
- }, [watchLoads, watchShuntCompensators, watchVSC, watchNeutralPosition]);
91
+ return !watchLoads && !watchShuntCompensators && !watchVSC && !watchNeutralPosition && watchOnlyStartedGenerators;
92
+ }, [watchLoads, watchShuntCompensators, watchVSC, watchNeutralPosition, watchOnlyStartedGenerators]);
83
93
  const isIccMaxFeaturesDefaultConfiguration = useMemo(() => {
84
- return !watchLoads && !watchShuntCompensators && watchVSC && !watchNeutralPosition;
85
- }, [watchLoads, watchShuntCompensators, watchVSC, watchNeutralPosition]);
94
+ return !watchLoads && !watchShuntCompensators && watchVSC && !watchNeutralPosition && !watchOnlyStartedGenerators;
95
+ }, [watchLoads, watchShuntCompensators, watchVSC, watchNeutralPosition, watchOnlyStartedGenerators]);
86
96
  const predefinedParamsOptions = useMemo(() => {
87
97
  const options = intlPredefinedParametersOptions();
88
98
  if (!isDeveloperMode) {
@@ -160,7 +170,21 @@ function ShortCircuitFields({ resetAll, isDeveloperMode = true }) {
160
170
  RadioInput,
161
171
  {
162
172
  name: `${SPECIFIC_PARAMETERS}.${SHORT_CIRCUIT_ONLY_STARTED_GENERATORS}`,
163
- options: Object.values(onlyStartedGeneratorsOptions)
173
+ options: Object.values(onlyStartedGeneratorsOptions),
174
+ formProps: {
175
+ onChange: (_event, value) => {
176
+ setValue(`${SPECIFIC_PARAMETERS}.${SHORT_CIRCUIT_ONLY_STARTED_GENERATORS}`, value === "true", {
177
+ shouldDirty: true
178
+ });
179
+ }
180
+ }
181
+ }
182
+ );
183
+ const modelPowerElectronics = /* @__PURE__ */ jsx(
184
+ CheckboxInput,
185
+ {
186
+ name: `${SPECIFIC_PARAMETERS}.${SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS}`,
187
+ label: "ShortCircuitModelPowerElectronics"
164
188
  }
165
189
  );
166
190
  useEffect(() => {
@@ -205,7 +229,17 @@ function ShortCircuitFields({ resetAll, isDeveloperMode = true }) {
205
229
  /* @__PURE__ */ jsx(VoltageTable, { voltageProfileMode: watchInitialVoltageProfileMode }),
206
230
  isThereSpecificParameters && /* @__PURE__ */ jsxs(Fragment, { children: [
207
231
  /* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitStartedGeneratorsMode", heading: 4 }),
208
- /* @__PURE__ */ jsx(Grid, { container: true, children: /* @__PURE__ */ jsx(GridItem, { size: 12, children: onlyStartedGenerators }) })
232
+ /* @__PURE__ */ jsx(Grid, { container: true, children: /* @__PURE__ */ jsx(GridItem, { size: 12, children: onlyStartedGenerators }) }),
233
+ /* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitPowerElectronicsSection", heading: 4 }),
234
+ /* @__PURE__ */ jsx(Grid, { container: true, children: /* @__PURE__ */ jsx(GridItem, { size: 12, children: modelPowerElectronics }) }),
235
+ /* @__PURE__ */ jsx(
236
+ ShortCircuitIccMaterialTable,
237
+ {
238
+ formName: `${SPECIFIC_PARAMETERS}.${SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS}`,
239
+ tableHeight: 300,
240
+ columnsDefinition: columnsDef
241
+ }
242
+ )
209
243
  ] })
210
244
  ] });
211
245
  }
@@ -0,0 +1,7 @@
1
+ import { IccMaterialIColumnsDef } from './short-circuit-icc-material-table-columns-definition';
2
+ export declare function ShortCircuitIccMaterialTableCell({ formName, rowIndex, column, inputsDisabled, }: Readonly<{
3
+ formName: string;
4
+ rowIndex: number;
5
+ column: IccMaterialIColumnsDef;
6
+ inputsDisabled?: boolean;
7
+ }>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,48 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { TableCell } from "@mui/material";
3
+ import "react-intl";
4
+ import "../../overflowableText/OverflowableText.js";
5
+ import "../../../utils/conversionUtils.js";
6
+ import "../../../utils/types/equipmentType.js";
7
+ import "@mui/icons-material";
8
+ import "../../../utils/yupConfig.js";
9
+ import "react";
10
+ import "react-hook-form";
11
+ import "localized-countries";
12
+ import "localized-countries/data/fr";
13
+ import "localized-countries/data/en";
14
+ import "notistack";
15
+ import "../../inputs/reactHookForm/provider/CustomFormProvider.js";
16
+ import "yup";
17
+ import { RawReadOnlyInput } from "../../inputs/reactHookForm/RawReadOnlyInput.js";
18
+ import "../../treeViewFinder/TreeViewFinder.js";
19
+ import "../../inputs/reactHookForm/agGridTable/BottomRightButtons.js";
20
+ import "../../customAGGrid/customAggrid.js";
21
+ import "ag-grid-community";
22
+ import "react-papaparse";
23
+ import "react-csv-downloader";
24
+ import { SwitchInput } from "../../inputs/reactHookForm/booleans/SwitchInput.js";
25
+ import { FloatInput } from "../../inputs/reactHookForm/numbers/FloatInput.js";
26
+ import "../../inputs/reactHookForm/numbers/RangeInput.js";
27
+ import "@react-querybuilder/material";
28
+ import "../../filter/expert/expertFilterConstants.js";
29
+ import "../../inputs/reactQueryBuilder/CustomReactQueryBuilder.js";
30
+ import "uuid";
31
+ import "../../inputs/reactQueryBuilder/PropertyValueEditor.js";
32
+ import "react-querybuilder";
33
+ import { SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE, SHORT_CIRCUIT_ICC_MATERIAL_TYPE } from "./short-circuit-icc-material-table-columns-definition.js";
34
+ function ShortCircuitIccMaterialTableCell({
35
+ formName,
36
+ rowIndex,
37
+ column,
38
+ inputsDisabled
39
+ }) {
40
+ return /* @__PURE__ */ jsxs(TableCell, { sx: { fontWeight: "bold" }, children: [
41
+ column.dataKey === SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE && /* @__PURE__ */ jsx(SwitchInput, { name: `${formName}[${rowIndex}].${column.dataKey}` }),
42
+ column.dataKey === SHORT_CIRCUIT_ICC_MATERIAL_TYPE && /* @__PURE__ */ jsx(RawReadOnlyInput, { name: `${formName}[${rowIndex}].${column.dataKey}` }),
43
+ column.dataKey !== SHORT_CIRCUIT_ICC_MATERIAL_TYPE && column.dataKey !== SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE && /* @__PURE__ */ jsx(FloatInput, { disabled: inputsDisabled, name: `${formName}[${rowIndex}].${column.dataKey}` })
44
+ ] });
45
+ }
46
+ export {
47
+ ShortCircuitIccMaterialTableCell
48
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright (c) 2025, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ export declare const SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE = "active";
8
+ export declare const SHORT_CIRCUIT_ICC_MATERIAL_TYPE = "type";
9
+ export declare const SHORT_CIRCUIT_ICC_MATERIAL_ALPHA = "alpha";
10
+ export declare const SHORT_CIRCUIT_ICC_MATERIAL_USMIN = "usMin";
11
+ export declare const SHORT_CIRCUIT_ICC_MATERIAL_USMAX = "usMax";
12
+ export declare const SHORT_CIRCUIT_ICC_MATERIAL_U0 = "u0";
13
+ export interface IccMaterialIColumnsDef {
14
+ label: React.ReactNode;
15
+ dataKey: string;
16
+ tooltip: React.ReactNode;
17
+ }
18
+ export declare const COLUMNS_DEFINITIONS_ICC_MATERIALS: IccMaterialIColumnsDef[];
@@ -0,0 +1,47 @@
1
+ const SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE = "active";
2
+ const SHORT_CIRCUIT_ICC_MATERIAL_TYPE = "type";
3
+ const SHORT_CIRCUIT_ICC_MATERIAL_ALPHA = "alpha";
4
+ const SHORT_CIRCUIT_ICC_MATERIAL_USMIN = "usMin";
5
+ const SHORT_CIRCUIT_ICC_MATERIAL_USMAX = "usMax";
6
+ const SHORT_CIRCUIT_ICC_MATERIAL_U0 = "u0";
7
+ const COLUMNS_DEFINITIONS_ICC_MATERIALS = [
8
+ {
9
+ label: "ShortCircuitIccMaterialActivate",
10
+ dataKey: SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE,
11
+ tooltip: "ShortCircuitIccMaterialActivateTooltip"
12
+ },
13
+ {
14
+ label: "ShortCircuitIccMaterialType",
15
+ dataKey: SHORT_CIRCUIT_ICC_MATERIAL_TYPE,
16
+ tooltip: "ShortCircuitIccMaterialTypeTooltip"
17
+ },
18
+ {
19
+ label: "ShortCircuitIccMaterialAlpha",
20
+ dataKey: SHORT_CIRCUIT_ICC_MATERIAL_ALPHA,
21
+ tooltip: "ShortCircuitIccMaterialAlphaTooltip"
22
+ },
23
+ {
24
+ label: "ShortCircuitIccMaterialUsmin",
25
+ dataKey: SHORT_CIRCUIT_ICC_MATERIAL_USMIN,
26
+ tooltip: "ShortCircuitIccMaterialUsminTooltip"
27
+ },
28
+ {
29
+ label: "ShortCircuitIccMaterialUsmax",
30
+ dataKey: SHORT_CIRCUIT_ICC_MATERIAL_USMAX,
31
+ tooltip: "ShortCircuitIccMaterialUsmaxTooltip"
32
+ },
33
+ {
34
+ label: "ShortCircuitIccMaterialU0",
35
+ dataKey: SHORT_CIRCUIT_ICC_MATERIAL_U0,
36
+ tooltip: "ShortCircuitIccMaterialU0Tooltip"
37
+ }
38
+ ];
39
+ export {
40
+ COLUMNS_DEFINITIONS_ICC_MATERIALS,
41
+ SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE,
42
+ SHORT_CIRCUIT_ICC_MATERIAL_ALPHA,
43
+ SHORT_CIRCUIT_ICC_MATERIAL_TYPE,
44
+ SHORT_CIRCUIT_ICC_MATERIAL_U0,
45
+ SHORT_CIRCUIT_ICC_MATERIAL_USMAX,
46
+ SHORT_CIRCUIT_ICC_MATERIAL_USMIN
47
+ };
@@ -0,0 +1,8 @@
1
+ import { IccMaterialIColumnsDef } from './short-circuit-icc-material-table-columns-definition';
2
+ interface ShortCircuitIccMaterialTableRowProps {
3
+ formName: string;
4
+ columnsDefinition: IccMaterialIColumnsDef[];
5
+ index: number;
6
+ }
7
+ export declare function ShortCircuitIccMaterialTableRow({ formName, columnsDefinition, index, }: Readonly<ShortCircuitIccMaterialTableRowProps>): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,27 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { TableRow } from "@mui/material";
3
+ import { useWatch } from "react-hook-form";
4
+ import { SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE } from "./short-circuit-icc-material-table-columns-definition.js";
5
+ import { ShortCircuitIccMaterialTableCell } from "./short-circuit-icc-material-table-cell.js";
6
+ function ShortCircuitIccMaterialTableRow({
7
+ formName,
8
+ columnsDefinition,
9
+ index
10
+ }) {
11
+ const watchRowActive = useWatch({
12
+ name: `${formName}[${index}].${SHORT_CIRCUIT_ICC_MATERIAL_ACTIVE}`
13
+ });
14
+ return /* @__PURE__ */ jsx(TableRow, { children: columnsDefinition.map((column) => /* @__PURE__ */ jsx(
15
+ ShortCircuitIccMaterialTableCell,
16
+ {
17
+ formName,
18
+ rowIndex: index,
19
+ column,
20
+ inputsDisabled: !watchRowActive
21
+ },
22
+ `${column.dataKey}`
23
+ )) });
24
+ }
25
+ export {
26
+ ShortCircuitIccMaterialTableRow
27
+ };
@@ -0,0 +1,8 @@
1
+ import { IccMaterialIColumnsDef } from './short-circuit-icc-material-table-columns-definition';
2
+ interface ShortCircuitIccMaterialTableProps {
3
+ columnsDefinition: IccMaterialIColumnsDef[];
4
+ tableHeight: number;
5
+ formName: string;
6
+ }
7
+ export declare function ShortCircuitIccMaterialTable({ formName, columnsDefinition, tableHeight, }: Readonly<ShortCircuitIccMaterialTableProps>): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,46 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { TableContainer, Table, TableHead, TableRow, Tooltip, TableCell, TableBody } from "@mui/material";
3
+ import { useFieldArray } from "react-hook-form";
4
+ import { ShortCircuitIccMaterialTableRow } from "./short-circuit-icc-material-table-row.js";
5
+ function ShortCircuitIccMaterialTable({
6
+ formName,
7
+ columnsDefinition,
8
+ tableHeight
9
+ }) {
10
+ const { fields: rows } = useFieldArray({
11
+ name: formName
12
+ });
13
+ return /* @__PURE__ */ jsx(
14
+ TableContainer,
15
+ {
16
+ sx: {
17
+ height: tableHeight,
18
+ width: "inherit",
19
+ border: "solid 0px rgba(0,0,0,0.1)"
20
+ },
21
+ children: /* @__PURE__ */ jsxs(Table, { stickyHeader: true, size: "small", sx: { tableLayout: "fixed" }, children: [
22
+ /* @__PURE__ */ jsx(TableHead, { children: /* @__PURE__ */ jsx(TableRow, { children: columnsDefinition.map((column) => /* @__PURE__ */ jsx(Tooltip, { title: column.tooltip, children: /* @__PURE__ */ jsx(
23
+ TableCell,
24
+ {
25
+ sx: {
26
+ textAlign: "center"
27
+ },
28
+ children: column.label
29
+ }
30
+ ) }, column.dataKey)) }) }),
31
+ /* @__PURE__ */ jsx(TableBody, { children: rows.map((row, index) => /* @__PURE__ */ jsx(
32
+ ShortCircuitIccMaterialTableRow,
33
+ {
34
+ columnsDefinition,
35
+ index,
36
+ formName
37
+ },
38
+ `${row.id}`
39
+ )) })
40
+ ] })
41
+ }
42
+ );
43
+ }
44
+ export {
45
+ ShortCircuitIccMaterialTable
46
+ };
@@ -3,8 +3,8 @@ import { Box, Grid, LinearProgress } from "@mui/material";
3
3
  import "react-intl";
4
4
  import "../../overflowableText/OverflowableText.js";
5
5
  import "../../../utils/conversionUtils.js";
6
- import "@mui/icons-material";
7
6
  import "../../../utils/types/equipmentType.js";
7
+ import "@mui/icons-material";
8
8
  import "../../../utils/yupConfig.js";
9
9
  import "react";
10
10
  import "react-hook-form";