@gridsuite/commons-ui 0.296.0 → 0.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/composite/agGridTable/BottomTableButtons.js +56 -44
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-filter.js +32 -23
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.js +31 -23
- package/dist/components/composite/customAGGrid/custom-aggrid-header.js +67 -43
- package/dist/components/composite/elementSearch/elementSearchInput/ElementSearchInput.d.ts +3 -2
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +43 -28
- package/dist/components/composite/reactQueryBuilder/CustomReactQueryBuilder.js +4 -7
- package/dist/components/composite/reactQueryBuilder/FieldSelector.js +5 -3
- package/dist/components/composite/reactQueryBuilder/PropertyValueEditor.js +63 -52
- package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js +22 -9
- package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js +59 -24
- package/dist/components/ui/csvPicker/csv-picker.js +24 -12
- package/dist/components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js +15 -7
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +82 -39
- package/dist/components/ui/dialogs/modifyElementSelection/ModifyElementSelection.js +29 -9
- package/dist/components/ui/dialogs/name-element-editor/name-element-editor-form.js +24 -15
- package/dist/components/ui/inputs/ActivableChip.js +2 -2
- package/dist/components/ui/inputs/SelectClearable.js +4 -3
- package/dist/components/ui/reactHookForm/DirectoryItemsInput.js +1 -1
- package/dist/components/ui/reactHookForm/OverflowableChip.js +24 -13
- package/dist/components/ui/reactHookForm/OverflowableChipWithHelperText.js +9 -4
- package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.js +11 -5
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.js +13 -3
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.js +3 -1
- package/dist/components/ui/reactHookForm/utils/HelperPreviousValue.js +11 -1
- package/dist/features/authentication/AuthenticationRouter.js +62 -53
- package/dist/features/authentication/Login.js +15 -7
- package/dist/features/authentication/Logout.js +9 -1
- package/dist/features/cardErrorBoundary/CardErrorBoundary.js +28 -10
- package/dist/features/global-filter/ui/global-filter-panel.js +4 -10
- package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +22 -12
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +21 -11
- package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +35 -25
- package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +28 -16
- package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.js +16 -4
- package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.js +81 -68
- package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +31 -21
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +32 -21
- package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.d.ts +1 -1
- package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js +1 -1
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +20 -9
- package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +22 -12
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +28 -18
- package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/VscConverterStationPane.js +15 -4
- package/dist/features/network-modifications/static-var-compensator/common/set-points-limits-form.js +70 -40
- package/dist/features/network-modifications/static-var-compensator/common/standby-automaton-form.js +35 -6
- package/dist/features/network-modifications/static-var-compensator/common/static-var-compensator-tabs-content.js +16 -7
- package/dist/features/network-modifications/tabular/TabularForm.js +102 -72
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +20 -10
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +35 -17
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js +9 -1
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js +6 -4
- package/dist/features/network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.js +17 -7
- package/dist/features/network-modifications/voltageLevel/topology/creation/CreateVoltageLevelTopologyForm.js +23 -13
- package/dist/features/network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.js +25 -15
- package/dist/features/parameters/common/parameter-field.js +17 -4
- package/dist/features/parameters/common/parameter-table-field/parameter-table-field.js +23 -12
- package/dist/features/parameters/common/provider-param.js +1 -1
- package/dist/features/parameters/common/widget/parameter-float.js +16 -4
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +1 -1
- package/dist/features/parameters/common/widget/parameter-switch.js +13 -1
- package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-select.js +6 -4
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.js +43 -32
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector.js +47 -25
- package/dist/features/parameters/network-visualizations/map-parameters.js +7 -3
- package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.js +7 -3
- package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +7 -3
- package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +23 -13
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-factor-count.js +2 -2
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +12 -1
- package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +36 -26
- package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +67 -26
- package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +15 -4
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +51 -15
- package/dist/features/parameters/voltage-init/general-parameters.js +9 -1
- package/dist/features/process-configs/common/FormSubSection.js +2 -2
- package/dist/features/process-configs/common/GeneralInformationSection.js +1 -1
- package/dist/features/process-configs/common/SpecificInformationSection.js +12 -4
- package/dist/features/process-configs/common/process-config-modifications-edition.js +3 -3
- package/dist/features/process-configs/form/components/ProcessTypeChangeDialog.js +5 -2
- package/dist/features/side-bar/AppSideBarHeader.js +36 -16
- package/dist/features/side-bar/footer/AppSideBarFooter.js +46 -38
- package/dist/features/side-bar/footer/applications/OtherAppRedirection.js +10 -8
- package/dist/features/side-bar/footer/common/SideBarMenuItem.js +9 -1
- package/dist/features/side-bar/footer/profile/ProfileInfos.js +15 -6
- package/dist/features/side-bar/footer/settings/DarkModeToggle.js +16 -4
- package/dist/features/side-bar/footer/settings/SettingsMenu.js +16 -6
- package/dist/features/topBar/AboutDialog.js +46 -17
- package/dist/features/topBar/TopBar.js +2 -2
- package/dist/features/topBar/UserInformationDialog.js +198 -45
- package/package.json +16 -11
|
@@ -74,42 +74,53 @@ function CurveSelectorDialog({
|
|
|
74
74
|
modelsFetcher
|
|
75
75
|
}
|
|
76
76
|
) }),
|
|
77
|
-
/* @__PURE__ */ jsx(
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
77
|
+
/* @__PURE__ */ jsx(
|
|
78
|
+
Grid,
|
|
79
|
+
{
|
|
80
|
+
size: 0.5,
|
|
81
|
+
sx: {
|
|
82
|
+
display: "flex",
|
|
83
|
+
justifyContent: "center",
|
|
84
|
+
alignItems: "center"
|
|
85
|
+
},
|
|
86
|
+
children: /* @__PURE__ */ jsxs(Stack, { children: [
|
|
87
|
+
/* @__PURE__ */ jsx(
|
|
88
|
+
CustomTooltip,
|
|
86
89
|
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
children: /* @__PURE__ */ jsx(
|
|
90
|
+
title: intl.formatMessage({
|
|
91
|
+
id: "AddRows"
|
|
92
|
+
}),
|
|
93
|
+
children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
94
|
+
IconButton,
|
|
95
|
+
{
|
|
96
|
+
color: "primary",
|
|
97
|
+
onClick: () => handleAddButton(),
|
|
98
|
+
disabled: hasSelectedRow,
|
|
99
|
+
children: /* @__PURE__ */ jsx(ArrowCircleRight, {})
|
|
100
|
+
}
|
|
101
|
+
) })
|
|
91
102
|
}
|
|
92
|
-
)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
/* @__PURE__ */ jsx(
|
|
96
|
-
CustomTooltip,
|
|
97
|
-
{
|
|
98
|
-
title: intl.formatMessage({
|
|
99
|
-
id: "DeleteRows"
|
|
100
|
-
}),
|
|
101
|
-
children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
102
|
-
IconButton,
|
|
103
|
+
),
|
|
104
|
+
/* @__PURE__ */ jsx(
|
|
105
|
+
CustomTooltip,
|
|
103
106
|
{
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
children: /* @__PURE__ */ jsx(
|
|
107
|
+
title: intl.formatMessage({
|
|
108
|
+
id: "DeleteRows"
|
|
109
|
+
}),
|
|
110
|
+
children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
111
|
+
IconButton,
|
|
112
|
+
{
|
|
113
|
+
color: "primary",
|
|
114
|
+
onClick: () => handleDeleteButton(),
|
|
115
|
+
disabled: hasSelectedRow,
|
|
116
|
+
children: /* @__PURE__ */ jsx(ArrowCircleLeft, {})
|
|
117
|
+
}
|
|
118
|
+
) })
|
|
108
119
|
}
|
|
109
|
-
)
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
120
|
+
)
|
|
121
|
+
] })
|
|
122
|
+
}
|
|
123
|
+
),
|
|
113
124
|
/* @__PURE__ */ jsx(Grid, { size: "grow", children: /* @__PURE__ */ jsx(CurvePreview, { ref: previewRef }) })
|
|
114
125
|
]
|
|
115
126
|
}
|
|
@@ -39,31 +39,53 @@ const CurveSelector = forwardRef(
|
|
|
39
39
|
[]
|
|
40
40
|
);
|
|
41
41
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
42
|
-
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsxs(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
42
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsxs(
|
|
43
|
+
Stack,
|
|
44
|
+
{
|
|
45
|
+
spacing: 1,
|
|
46
|
+
sx: {
|
|
47
|
+
alignItems: "flex-start",
|
|
48
|
+
justifyContent: "flex-start",
|
|
49
|
+
height: "100%"
|
|
50
|
+
},
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ jsx(Typography, { sx: styles.h6, variant: "h6", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "DynamicSimulationCurveEquipmentFilter" }) }),
|
|
53
|
+
/* @__PURE__ */ jsx(
|
|
54
|
+
EquipmentFilter,
|
|
55
|
+
{
|
|
56
|
+
ref: equipmentFilterRef,
|
|
57
|
+
equipmentType,
|
|
58
|
+
onChangeEquipmentType: handleChangeEquipmentType,
|
|
59
|
+
voltageLevelsFetcher,
|
|
60
|
+
countriesFetcher,
|
|
61
|
+
evaluateFilterFetcher
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
) }),
|
|
67
|
+
/* @__PURE__ */ jsx(Grid, { size: 6, children: /* @__PURE__ */ jsxs(
|
|
68
|
+
Stack,
|
|
69
|
+
{
|
|
70
|
+
spacing: 1,
|
|
71
|
+
sx: {
|
|
72
|
+
alignItems: "flex-start",
|
|
73
|
+
justifyContent: "flex-start",
|
|
74
|
+
height: "100%"
|
|
75
|
+
},
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ jsx(Typography, { sx: styles.h6, variant: "h6", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "DynamicSimulationCurveCurveFilter" }) }),
|
|
78
|
+
/* @__PURE__ */ jsx(
|
|
79
|
+
ModelFilter,
|
|
80
|
+
{
|
|
81
|
+
ref: modelFilterRef,
|
|
82
|
+
equipmentType: getReferencedEquipmentTypeForModel(equipmentType),
|
|
83
|
+
modelsFetcher
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
) })
|
|
67
89
|
] });
|
|
68
90
|
}
|
|
69
91
|
);
|
|
@@ -77,9 +77,13 @@ function MapParameters() {
|
|
|
77
77
|
{
|
|
78
78
|
container: true,
|
|
79
79
|
spacing: 1,
|
|
80
|
-
sx:
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
sx: [
|
|
81
|
+
{
|
|
82
|
+
marginTop: -3,
|
|
83
|
+
justifyContent: "space-between"
|
|
84
|
+
},
|
|
85
|
+
parametersStyles.scrollableGrid
|
|
86
|
+
],
|
|
83
87
|
children: [
|
|
84
88
|
lineSwitch(PARAM_LINE_FULL_PATH, PARAM_LINE_FULL_PATH),
|
|
85
89
|
lineSwitch(PARAM_LINE_PARALLEL_PATH, PARAM_LINE_PARALLEL_PATH),
|
|
@@ -31,9 +31,13 @@ function NetworkAreaDiagramParameters() {
|
|
|
31
31
|
{
|
|
32
32
|
container: true,
|
|
33
33
|
spacing: 1,
|
|
34
|
-
sx:
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
sx: [
|
|
35
|
+
{
|
|
36
|
+
marginTop: -3,
|
|
37
|
+
justifyContent: "space-between"
|
|
38
|
+
},
|
|
39
|
+
parametersStyles.scrollableGrid
|
|
40
|
+
],
|
|
37
41
|
children: [
|
|
38
42
|
/* @__PURE__ */ jsx(Grid, { size: 8, sx: parametersStyles.parameterName, children: /* @__PURE__ */ jsx(FormattedMessage, { id: NAD_POSITIONS_GENERATION_MODE_LABEL }) }),
|
|
39
43
|
/* @__PURE__ */ jsx(Grid, { container: true, size: 4, sx: parametersStyles.controlItem, children: /* @__PURE__ */ jsx(
|
|
@@ -69,9 +69,13 @@ function SingleLineDiagramParameters({ componentLibraries }) {
|
|
|
69
69
|
{
|
|
70
70
|
container: true,
|
|
71
71
|
spacing: 1,
|
|
72
|
-
sx:
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
sx: [
|
|
73
|
+
{
|
|
74
|
+
marginTop: -3,
|
|
75
|
+
justifyContent: "space-between"
|
|
76
|
+
},
|
|
77
|
+
parametersStyles.scrollableGrid
|
|
78
|
+
],
|
|
75
79
|
children: [
|
|
76
80
|
labelPosition(PARAM_DIAGONAL_LABEL, DIAGONAL_LABEL),
|
|
77
81
|
labelPosition(PARAM_CENTER_LABEL, CENTER_LABEL),
|
|
@@ -105,19 +105,29 @@ const fieldsToShow = [
|
|
|
105
105
|
function ViolationsHidingParameters() {
|
|
106
106
|
const intl = useIntl();
|
|
107
107
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
108
|
-
/* @__PURE__ */ jsx(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
108
|
+
/* @__PURE__ */ jsx(
|
|
109
|
+
Grid,
|
|
110
|
+
{
|
|
111
|
+
container: true,
|
|
112
|
+
spacing: 1,
|
|
113
|
+
sx: {
|
|
114
|
+
paddingBottom: 1
|
|
115
|
+
},
|
|
116
|
+
children: /* @__PURE__ */ jsxs(Grid, { size: 8, sx: parametersStyles.text, children: [
|
|
117
|
+
/* @__PURE__ */ jsx(Typography, { children: intl.formatMessage({
|
|
118
|
+
id: "securityAnalysis.violationsHiding"
|
|
119
|
+
}) }),
|
|
120
|
+
/* @__PURE__ */ jsx(
|
|
121
|
+
CustomTooltip,
|
|
122
|
+
{
|
|
123
|
+
sx: parametersStyles.tooltip,
|
|
124
|
+
title: intl.formatMessage({ id: "securityAnalysis.toolTip.violationsHiding" }),
|
|
125
|
+
children: /* @__PURE__ */ jsx(Info, {})
|
|
126
|
+
}
|
|
127
|
+
)
|
|
128
|
+
] })
|
|
129
|
+
}
|
|
130
|
+
),
|
|
121
131
|
fieldsToShow?.map((item) => /* @__PURE__ */ jsx(SecurityAnalysisFields, { ...item }, item.label))
|
|
122
132
|
] });
|
|
123
133
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Box, CircularProgress } from "@mui/material";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
|
-
import {
|
|
4
|
+
import { ErrorOutlined } from "@mui/icons-material";
|
|
5
5
|
const styles = {
|
|
6
6
|
circularProgress: (theme) => ({
|
|
7
7
|
display: "flex",
|
|
@@ -48,7 +48,7 @@ function SensitivityAnalysisParametersFactorCount(props) {
|
|
|
48
48
|
const displayCount = isOverMillion ? "999999" : count.toString();
|
|
49
49
|
const suffix = isOverMillion ? "+" : "";
|
|
50
50
|
return /* @__PURE__ */ jsxs(Box, { sx, children: [
|
|
51
|
-
isAlert && /* @__PURE__ */ jsx(
|
|
51
|
+
isAlert && /* @__PURE__ */ jsx(ErrorOutlined, { sx: styles.errorOutlineIcon }),
|
|
52
52
|
/* @__PURE__ */ jsx(FormattedMessage, { id: messageId, values: { count: displayCount, suffix } })
|
|
53
53
|
] });
|
|
54
54
|
}
|
|
@@ -49,7 +49,18 @@ function SensitivityAnalysisParametersForm({
|
|
|
49
49
|
),
|
|
50
50
|
/* @__PURE__ */ jsxs(Stack, { children: [
|
|
51
51
|
/* @__PURE__ */ jsx(SensitivityAnalysisFields, {}),
|
|
52
|
-
/* @__PURE__ */ jsx(
|
|
52
|
+
/* @__PURE__ */ jsx(
|
|
53
|
+
Grid,
|
|
54
|
+
{
|
|
55
|
+
container: true,
|
|
56
|
+
size: 12,
|
|
57
|
+
sx: {
|
|
58
|
+
paddingTop: 1,
|
|
59
|
+
paddingBottom: 1
|
|
60
|
+
},
|
|
61
|
+
children: /* @__PURE__ */ jsx(LineSeparator, {})
|
|
62
|
+
}
|
|
63
|
+
),
|
|
53
64
|
/* @__PURE__ */ jsx(
|
|
54
65
|
SensitivityParametersSelector,
|
|
55
66
|
{
|
|
@@ -26,32 +26,42 @@ import "react-resizable-panels";
|
|
|
26
26
|
import "react-papaparse";
|
|
27
27
|
import { parametersStyles } from "../parameters-style.js";
|
|
28
28
|
function SensitivityAnalysisFields() {
|
|
29
|
-
return /* @__PURE__ */ jsxs(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
29
|
+
return /* @__PURE__ */ jsxs(
|
|
30
|
+
Grid,
|
|
31
|
+
{
|
|
32
|
+
container: true,
|
|
33
|
+
spacing: 1,
|
|
34
|
+
sx: {
|
|
35
|
+
paddingTop: 1
|
|
36
|
+
},
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ jsx(Grid, { sx: parametersStyles.parameterName, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "flowSensitivityValue" }) }),
|
|
39
|
+
/* @__PURE__ */ jsxs(Grid, { container: true, spacing: 1, children: [
|
|
40
|
+
/* @__PURE__ */ jsx(Grid, { size: 4, children: /* @__PURE__ */ jsx(
|
|
41
|
+
FloatInput,
|
|
42
|
+
{
|
|
43
|
+
name: FLOW_FLOW_SENSITIVITY_VALUE_THRESHOLD,
|
|
44
|
+
label: "flowFlowSensitivityValueThreshold"
|
|
45
|
+
}
|
|
46
|
+
) }),
|
|
47
|
+
/* @__PURE__ */ jsx(Grid, { size: 4, children: /* @__PURE__ */ jsx(
|
|
48
|
+
FloatInput,
|
|
49
|
+
{
|
|
50
|
+
name: ANGLE_FLOW_SENSITIVITY_VALUE_THRESHOLD,
|
|
51
|
+
label: "angleFlowSensitivityValueThreshold"
|
|
52
|
+
}
|
|
53
|
+
) }),
|
|
54
|
+
/* @__PURE__ */ jsx(Grid, { size: 4, children: /* @__PURE__ */ jsx(
|
|
55
|
+
FloatInput,
|
|
56
|
+
{
|
|
57
|
+
name: FLOW_VOLTAGE_SENSITIVITY_VALUE_THRESHOLD,
|
|
58
|
+
label: "flowVoltageSensitivityValueThreshold"
|
|
59
|
+
}
|
|
60
|
+
) })
|
|
61
|
+
] })
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
);
|
|
55
65
|
}
|
|
56
66
|
export {
|
|
57
67
|
SensitivityAnalysisFields
|
|
@@ -114,10 +114,21 @@ const ShortCircuitGeneralTabPanel = forwardRef(
|
|
|
114
114
|
const newPredefinedParameters = event.target.value;
|
|
115
115
|
resetAll(newPredefinedParameters);
|
|
116
116
|
};
|
|
117
|
-
const feederResult = /* @__PURE__ */ jsxs(
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
const feederResult = /* @__PURE__ */ jsxs(
|
|
118
|
+
Grid,
|
|
119
|
+
{
|
|
120
|
+
container: true,
|
|
121
|
+
spacing: 2,
|
|
122
|
+
direction: "row",
|
|
123
|
+
sx: {
|
|
124
|
+
alignItems: "center"
|
|
125
|
+
},
|
|
126
|
+
children: [
|
|
127
|
+
/* @__PURE__ */ jsx(Grid, { size: 10, children: /* @__PURE__ */ jsx(FieldLabel, { label: "descWithFeederResult" }) }),
|
|
128
|
+
/* @__PURE__ */ jsx(Grid, { size: 2, children: /* @__PURE__ */ jsx(SwitchInput, { name: `${COMMON_PARAMETERS}.${SHORT_CIRCUIT_WITH_FEEDER_RESULT}` }) })
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
);
|
|
121
132
|
const predefinedParameters = /* @__PURE__ */ jsx(
|
|
122
133
|
MuiSelectInput,
|
|
123
134
|
{
|
|
@@ -175,28 +186,58 @@ const ShortCircuitGeneralTabPanel = forwardRef(
|
|
|
175
186
|
isIccMaxFeaturesDefaultConfiguration,
|
|
176
187
|
isIccMinFeaturesDefaultConfiguration
|
|
177
188
|
]);
|
|
178
|
-
return /* @__PURE__ */ jsx(TabPanel, { index: ShortCircuitParametersTabValues.GENERAL, ref, ...othersTabPanelProps, children: /* @__PURE__ */ jsxs(
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
189
|
+
return /* @__PURE__ */ jsx(TabPanel, { index: ShortCircuitParametersTabValues.GENERAL, ref, ...othersTabPanelProps, children: /* @__PURE__ */ jsxs(
|
|
190
|
+
Grid,
|
|
191
|
+
{
|
|
192
|
+
container: true,
|
|
193
|
+
sx: {
|
|
194
|
+
paddingLeft: 2
|
|
195
|
+
},
|
|
196
|
+
children: [
|
|
197
|
+
/* @__PURE__ */ jsx(
|
|
198
|
+
Grid,
|
|
199
|
+
{
|
|
200
|
+
container: true,
|
|
201
|
+
size: { xl: 6 },
|
|
202
|
+
sx: {
|
|
203
|
+
paddingTop: 2
|
|
204
|
+
},
|
|
205
|
+
children: /* @__PURE__ */ jsx(GridItem, { size: 10, children: feederResult })
|
|
206
|
+
}
|
|
207
|
+
),
|
|
208
|
+
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitPredefinedParameters", heading: 4 }),
|
|
209
|
+
/* @__PURE__ */ jsxs(
|
|
210
|
+
Grid,
|
|
211
|
+
{
|
|
212
|
+
size: { xl: 6 },
|
|
213
|
+
container: true,
|
|
214
|
+
spacing: 1,
|
|
215
|
+
sx: {
|
|
216
|
+
alignItems: "center"
|
|
217
|
+
},
|
|
218
|
+
children: [
|
|
219
|
+
/* @__PURE__ */ jsx(GridItem, { size: 9, children: predefinedParameters }),
|
|
220
|
+
/* @__PURE__ */ jsx(GridItem, { size: 2, children: statusToShow })
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
),
|
|
224
|
+
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitCharacteristics", heading: 4 }),
|
|
225
|
+
/* @__PURE__ */ jsxs(Grid, { container: true, spacing: 5, size: 12, children: [
|
|
226
|
+
/* @__PURE__ */ jsxs(Grid, { children: [
|
|
227
|
+
/* @__PURE__ */ jsx(GridItem, { children: loads }),
|
|
228
|
+
/* @__PURE__ */ jsx(GridItem, { children: shuntCompensators })
|
|
229
|
+
] }),
|
|
230
|
+
/* @__PURE__ */ jsxs(Grid, { size: 8, children: [
|
|
231
|
+
/* @__PURE__ */ jsx(GridItem, { children: vsc }),
|
|
232
|
+
/* @__PURE__ */ jsx(GridItem, { children: neutralPosition })
|
|
233
|
+
] })
|
|
234
|
+
] }),
|
|
235
|
+
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitVoltageProfileMode", heading: 4 }),
|
|
236
|
+
/* @__PURE__ */ jsx(Grid, { container: true, children: /* @__PURE__ */ jsx(GridItem, { size: 12, children: initialVoltageProfileModeField }) }),
|
|
237
|
+
/* @__PURE__ */ jsx(VoltageTable, { voltageProfileMode: watchInitialVoltageProfileMode })
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
) });
|
|
200
241
|
}
|
|
201
242
|
);
|
|
202
243
|
export {
|
|
@@ -57,10 +57,21 @@ function createRows() {
|
|
|
57
57
|
}
|
|
58
58
|
const ShortCircuitPowerElectronicsTabPanel = forwardRef(
|
|
59
59
|
({ ...othersTabPanelProps }, ref) => {
|
|
60
|
-
const modelPowerElectronics = /* @__PURE__ */ jsxs(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
const modelPowerElectronics = /* @__PURE__ */ jsxs(
|
|
61
|
+
Grid,
|
|
62
|
+
{
|
|
63
|
+
container: true,
|
|
64
|
+
spacing: 2,
|
|
65
|
+
direction: "row",
|
|
66
|
+
sx: {
|
|
67
|
+
alignItems: "center"
|
|
68
|
+
},
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ jsx(Grid, { size: 10, children: /* @__PURE__ */ jsx(FieldLabel, { label: "ShortCircuitModelPowerElectronics" }) }),
|
|
71
|
+
/* @__PURE__ */ jsx(Grid, { size: 2, children: /* @__PURE__ */ jsx(SwitchInput, { name: `${SPECIFIC_PARAMETERS}.${SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS}` }) })
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
);
|
|
64
75
|
return /* @__PURE__ */ jsxs(TabPanel, { index: ShortCircuitParametersTabValues.POWER_ELECTRONICS, ref, ...othersTabPanelProps, children: [
|
|
65
76
|
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitPowerElectronicsSection", heading: 4 }),
|
|
66
77
|
/* @__PURE__ */ jsx(Grid, { container: true, size: { xl: 6 }, children: /* @__PURE__ */ jsx(GridItem, { size: 10, children: modelPowerElectronics }) }),
|
|
@@ -61,13 +61,25 @@ function EquipmentSelectionParameters() {
|
|
|
61
61
|
/* @__PURE__ */ jsx("br", {}),
|
|
62
62
|
/* @__PURE__ */ jsx(FormattedMessage, { id: "VoltageInitParametersBatteriesAlert" })
|
|
63
63
|
] }),
|
|
64
|
-
/* @__PURE__ */ jsx(
|
|
65
|
-
|
|
64
|
+
/* @__PURE__ */ jsx(
|
|
65
|
+
Grid,
|
|
66
66
|
{
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
container: true,
|
|
68
|
+
sx: [
|
|
69
|
+
{
|
|
70
|
+
justifyContent: "flex-end"
|
|
71
|
+
},
|
|
72
|
+
equipmentsSelectionStyles.choiceContainer
|
|
73
|
+
],
|
|
74
|
+
children: /* @__PURE__ */ jsx(Grid, { size: 5, sx: equipmentsSelectionStyles.choice, children: /* @__PURE__ */ jsx(
|
|
75
|
+
RadioInput,
|
|
76
|
+
{
|
|
77
|
+
name: GENERATORS_SELECTION_TYPE,
|
|
78
|
+
options: Object.values(initialEquipmentsSelectionType)
|
|
79
|
+
}
|
|
80
|
+
) })
|
|
69
81
|
}
|
|
70
|
-
)
|
|
82
|
+
),
|
|
71
83
|
/* @__PURE__ */ jsx(
|
|
72
84
|
ParameterLineDirectoryItemsInput,
|
|
73
85
|
{
|
|
@@ -78,13 +90,25 @@ function EquipmentSelectionParameters() {
|
|
|
78
90
|
hideErrorMessage: true
|
|
79
91
|
}
|
|
80
92
|
),
|
|
81
|
-
/* @__PURE__ */ jsx(
|
|
82
|
-
|
|
93
|
+
/* @__PURE__ */ jsx(
|
|
94
|
+
Grid,
|
|
83
95
|
{
|
|
84
|
-
|
|
85
|
-
|
|
96
|
+
container: true,
|
|
97
|
+
sx: [
|
|
98
|
+
{
|
|
99
|
+
justifyContent: "flex-end"
|
|
100
|
+
},
|
|
101
|
+
equipmentsSelectionStyles.choiceContainer
|
|
102
|
+
],
|
|
103
|
+
children: /* @__PURE__ */ jsx(Grid, { size: 5, sx: equipmentsSelectionStyles.choice, children: /* @__PURE__ */ jsx(
|
|
104
|
+
RadioInput,
|
|
105
|
+
{
|
|
106
|
+
name: TRANSFORMERS_SELECTION_TYPE,
|
|
107
|
+
options: Object.values(initialEquipmentsSelectionType)
|
|
108
|
+
}
|
|
109
|
+
) })
|
|
86
110
|
}
|
|
87
|
-
)
|
|
111
|
+
),
|
|
88
112
|
/* @__PURE__ */ jsx(
|
|
89
113
|
ParameterLineDirectoryItemsInput,
|
|
90
114
|
{
|
|
@@ -95,13 +119,25 @@ function EquipmentSelectionParameters() {
|
|
|
95
119
|
hideErrorMessage: true
|
|
96
120
|
}
|
|
97
121
|
),
|
|
98
|
-
/* @__PURE__ */ jsx(
|
|
99
|
-
|
|
122
|
+
/* @__PURE__ */ jsx(
|
|
123
|
+
Grid,
|
|
100
124
|
{
|
|
101
|
-
|
|
102
|
-
|
|
125
|
+
container: true,
|
|
126
|
+
sx: [
|
|
127
|
+
{
|
|
128
|
+
justifyContent: "flex-end"
|
|
129
|
+
},
|
|
130
|
+
equipmentsSelectionStyles.choiceContainer
|
|
131
|
+
],
|
|
132
|
+
children: /* @__PURE__ */ jsx(Grid, { size: 5, sx: equipmentsSelectionStyles.choice, children: /* @__PURE__ */ jsx(
|
|
133
|
+
RadioInput,
|
|
134
|
+
{
|
|
135
|
+
name: SHUNT_COMPENSATORS_SELECTION_TYPE,
|
|
136
|
+
options: Object.values(initialEquipmentsSelectionType)
|
|
137
|
+
}
|
|
138
|
+
) })
|
|
103
139
|
}
|
|
104
|
-
)
|
|
140
|
+
),
|
|
105
141
|
/* @__PURE__ */ jsx(
|
|
106
142
|
ParameterLineDirectoryItemsInput,
|
|
107
143
|
{
|
|
@@ -68,7 +68,15 @@ function GeneralParameters({ withApplyModifications }) {
|
|
|
68
68
|
onChange: setApplyModificationsValue
|
|
69
69
|
}
|
|
70
70
|
),
|
|
71
|
-
/* @__PURE__ */ jsx(
|
|
71
|
+
/* @__PURE__ */ jsx(
|
|
72
|
+
Box,
|
|
73
|
+
{
|
|
74
|
+
sx: {
|
|
75
|
+
my: 2
|
|
76
|
+
},
|
|
77
|
+
children: /* @__PURE__ */ jsx(LineSeparator, {})
|
|
78
|
+
}
|
|
79
|
+
)
|
|
72
80
|
] }),
|
|
73
81
|
/* @__PURE__ */ jsx(
|
|
74
82
|
ParameterSwitch,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Stack, Typography } from "@mui/material";
|
|
3
3
|
function FormSubSection({ children, id, title }) {
|
|
4
|
-
return /* @__PURE__ */ jsxs(Stack, {
|
|
5
|
-
/* @__PURE__ */ jsx(Typography, { id, variant: "subtitle1",
|
|
4
|
+
return /* @__PURE__ */ jsxs(Stack, { component: "section", "aria-labelledby": id, children: [
|
|
5
|
+
/* @__PURE__ */ jsx(Typography, { sx: { paddingBottom: 1, fontWeight: 600 }, id, variant: "subtitle1", children: title }),
|
|
6
6
|
children
|
|
7
7
|
] });
|
|
8
8
|
}
|
|
@@ -84,7 +84,7 @@ function GeneralInformationSection({
|
|
|
84
84
|
)
|
|
85
85
|
] }),
|
|
86
86
|
withFolderField && /* @__PURE__ */ jsxs(Grid, { size: { xs: 12, sm: 12 }, children: [
|
|
87
|
-
/* @__PURE__ */ jsx(Typography, { variant: "subtitle1", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "processConfigSaveDirectory" }) }),
|
|
87
|
+
/* @__PURE__ */ jsx(Typography, { variant: "subtitle1", sx: { fontWeight: 600, paddingBottom: 0.5 }, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "processConfigSaveDirectory" }) }),
|
|
88
88
|
/* @__PURE__ */ jsx(
|
|
89
89
|
DirectoryItemInput,
|
|
90
90
|
{
|