@gridsuite/commons-ui 0.237.0 → 0.238.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/dnd-table/dnd-table-add-rows-dialog.js +1 -0
- package/dist/components/composite/dnd-table/dnd-table-row.js +2 -1
- package/dist/components/composite/dnd-table/dnd-table.js +1 -0
- package/dist/components/composite/filter/HeaderFilterForm.js +1 -0
- package/dist/components/composite/filter/expert/ExpertFilterForm.js +1 -0
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +1 -0
- package/dist/components/index.js +9 -1
- package/dist/components/ui/csvPicker/csv-picker-confirmation-dialog.js +1 -0
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +1 -0
- package/dist/components/ui/index.js +9 -1
- package/dist/components/ui/reactHookForm/constants.d.ts +3 -0
- package/dist/components/ui/reactHookForm/constants.js +6 -0
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.d.ts +5 -0
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.js +66 -0
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-utils.d.ts +16 -0
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-utils.js +27 -0
- package/dist/components/ui/reactHookForm/directory-item-input/index.d.ts +8 -0
- package/dist/components/ui/reactHookForm/directory-item-input/index.js +7 -0
- package/dist/components/ui/reactHookForm/index.d.ts +1 -0
- package/dist/components/ui/reactHookForm/index.js +9 -1
- package/dist/features/index.js +1 -0
- package/dist/features/network-modification-table/renderers/name-cell.js +1 -0
- package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +1 -0
- package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +1 -0
- package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +1 -0
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +1 -0
- package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +1 -0
- package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.js +2 -1
- package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.js +1 -0
- package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +2 -1
- package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.js +1 -0
- package/dist/features/network-modifications/common/connectivity/ConnectivityForm.js +1 -0
- package/dist/features/network-modifications/common/connectivity/PositionForm.js +1 -0
- package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +1 -0
- package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +1 -0
- package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.js +1 -0
- package/dist/features/network-modifications/common/properties/PropertiesForm.js +1 -0
- package/dist/features/network-modifications/common/properties/PropertyForm.js +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -0
- package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js +1 -0
- package/dist/features/network-modifications/common/setpoints/SetPointsForm.js +1 -0
- package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.js +1 -0
- package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +1 -0
- package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +1 -0
- package/dist/features/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +1 -0
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +1 -0
- package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +1 -0
- package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +1 -0
- package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +1 -0
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +1 -0
- package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +1 -0
- package/dist/features/network-modifications/index.js +1 -0
- package/dist/features/network-modifications/load/common/LoadDialogHeader.js +1 -0
- package/dist/features/network-modifications/load/creation/loadCreation.utils.js +1 -0
- package/dist/features/network-modifications/load/modification/loadModification.utils.js +1 -0
- package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +1 -0
- package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +1 -0
- package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +1 -0
- package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +1 -0
- package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +1 -0
- package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +1 -0
- package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/index.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +1 -0
- package/dist/features/network-modifications/voltageLevel/index.js +1 -0
- package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +1 -0
- package/dist/features/parameters/common/ProviderParam.js +1 -0
- package/dist/features/parameters/common/contingency-table/columns-definitions.js +1 -0
- package/dist/features/parameters/common/limitreductions/limit-reduction-table-cell.js +1 -0
- package/dist/features/parameters/common/limitreductions/limit-reductions-table-form.js +1 -0
- package/dist/features/parameters/common/name-element-editor/name-element-editor-utils.js +1 -0
- package/dist/features/parameters/common/parameter-field.js +1 -0
- package/dist/features/parameters/common/parameter-table-field/parameter-table-field.js +1 -0
- package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +1 -0
- package/dist/features/parameters/common/widget/parameter-float.js +1 -0
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +2 -1
- package/dist/features/parameters/common/widget/parameter-line-slider.js +1 -0
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +1 -0
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +1 -0
- package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +1 -0
- package/dist/features/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +1 -0
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +1 -0
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +1 -0
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +1 -0
- package/dist/features/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +1 -0
- package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-treeview.js +2 -4
- package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.js +2 -3
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +5 -3
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +1 -0
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters-utils.d.ts +6 -3
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters-utils.js +40 -2
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +39 -36
- package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.d.ts +3 -3
- package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +11 -10
- package/dist/features/parameters/loadflow/load-flow-general-parameters.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-content.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-form.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-header.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +1 -0
- package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +1 -0
- package/dist/features/parameters/network-visualizations/map-parameters.js +1 -0
- package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.js +1 -0
- package/dist/features/parameters/network-visualizations/network-visualizations-form.js +1 -0
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +1 -0
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +1 -0
- package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +1 -0
- package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -0
- package/dist/features/parameters/pcc-min/pcc-min-form-utils.js +1 -0
- package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.js +1 -0
- package/dist/features/parameters/pcc-min/pcc-min-parameters-form.js +1 -0
- package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +1 -0
- package/dist/features/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -0
- package/dist/features/parameters/security-analysis/columns-definitions.js +1 -0
- package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +1 -0
- package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +1 -0
- package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +1 -0
- package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.js +1 -0
- package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +1 -0
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -0
- package/dist/features/parameters/sensi/columns-definitions.js +1 -0
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +1 -0
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +1 -0
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +1 -0
- package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +1 -0
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +1 -0
- package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -0
- package/dist/features/parameters/sensi/utils.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +2 -1
- package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-cell.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-parameters-form.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +1 -0
- package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.js +1 -0
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +1 -0
- package/dist/features/parameters/voltage-init/general-parameters.js +1 -0
- package/dist/features/parameters/voltage-init/use-voltage-init-parameters-form.js +1 -0
- package/dist/features/parameters/voltage-init/voltage-init-form-utils.js +1 -0
- package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +1 -0
- package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +1 -0
- package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +1 -0
- package/dist/features/parameters/voltage-init/voltage-limits-parameters.js +1 -0
- package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.js +1 -0
- package/dist/features/process-configs/security-analysis/update-sa-process-config.js +1 -0
- package/dist/features/process-configs/update-process-config-modifications.js +2 -1
- package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +1 -0
- package/dist/features/results/securityanalysis/security-analysis-table.js +1 -0
- package/dist/index.js +12 -4
- package/dist/services/dynamic-mapping.d.ts +2 -3
- package/dist/services/dynamic-mapping.js +3 -10
- package/dist/services/index.js +1 -2
- package/dist/translations/en/businessErrorsEn.d.ts +1 -1
- package/dist/translations/en/businessErrorsEn.js +1 -1
- package/dist/translations/fr/businessErrorsFr.d.ts +1 -1
- package/dist/translations/fr/businessErrorsFr.js +1 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/mapper/getFileIcon.js +3 -1
- package/dist/utils/types/dynamic-margin-calculation.type.d.ts +2 -5
- package/dist/utils/types/dynamic-simulation.type.d.ts +6 -4
- package/dist/utils/types/dynamic-simulation.type.js +10 -1
- package/dist/utils/types/elementType.d.ts +2 -2
- package/dist/utils/types/elementType.js +1 -1
- package/dist/utils/types/index.js +2 -1
- package/dist/utils/types/parameters.type.d.ts +2 -2
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
26
26
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
27
27
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
28
28
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
29
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
29
30
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
30
31
|
import "mui-nested-menu";
|
|
31
32
|
import "react-resizable-panels";
|
|
@@ -39,6 +39,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
39
39
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
40
40
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
41
41
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
42
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
42
43
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
43
44
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
44
45
|
import "mui-nested-menu";
|
|
@@ -30,6 +30,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
30
30
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
32
32
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
33
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
33
34
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
34
35
|
import "mui-nested-menu";
|
|
35
36
|
import "react-resizable-panels";
|
|
@@ -32,6 +32,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
32
32
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
33
33
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
34
34
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
35
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
35
36
|
import "@hello-pangea/dnd";
|
|
36
37
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
37
38
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -25,9 +25,10 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
25
25
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
26
26
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
27
27
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
28
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
29
|
+
import "../../../components/ui/treeViewFinder/TreeViewFinder.js";
|
|
28
30
|
import "@hello-pangea/dnd";
|
|
29
31
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
30
|
-
import "../../../components/ui/treeViewFinder/TreeViewFinder.js";
|
|
31
32
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
32
33
|
import "mui-nested-menu";
|
|
33
34
|
import "react-resizable-panels";
|
|
@@ -25,6 +25,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
25
25
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
26
26
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
27
27
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
28
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
28
29
|
import "@hello-pangea/dnd";
|
|
29
30
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
30
31
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -30,6 +30,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
30
30
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
32
32
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
33
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
33
34
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
34
35
|
import "mui-nested-menu";
|
|
35
36
|
import "react-resizable-panels";
|
|
@@ -29,6 +29,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
29
29
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
30
30
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
31
31
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
32
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
32
33
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
33
34
|
import "mui-nested-menu";
|
|
34
35
|
import "react-resizable-panels";
|
|
@@ -22,6 +22,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
22
22
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
23
23
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
24
24
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
25
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
25
26
|
import "@hello-pangea/dnd";
|
|
26
27
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
27
28
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -27,6 +27,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
27
27
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
28
28
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
29
29
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
30
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
30
31
|
import "@hello-pangea/dnd";
|
|
31
32
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
32
33
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -30,6 +30,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
30
30
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
32
32
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
33
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
33
34
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
34
35
|
import "mui-nested-menu";
|
|
35
36
|
import "react-resizable-panels";
|
|
@@ -29,6 +29,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
29
29
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
30
30
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
31
31
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
32
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
32
33
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
33
34
|
import "mui-nested-menu";
|
|
34
35
|
import "react-resizable-panels";
|
|
@@ -33,6 +33,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
33
33
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
34
34
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
35
35
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
36
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
36
37
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
37
38
|
import "mui-nested-menu";
|
|
38
39
|
import "react-resizable-panels";
|
|
@@ -27,6 +27,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
27
27
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
28
28
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
29
29
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
30
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
30
31
|
import "@hello-pangea/dnd";
|
|
31
32
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
32
33
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -24,6 +24,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
24
24
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
25
25
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
26
26
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
27
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
27
28
|
import "@hello-pangea/dnd";
|
|
28
29
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
29
30
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -28,6 +28,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
28
28
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
29
29
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
30
30
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
31
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
31
32
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
32
33
|
import "mui-nested-menu";
|
|
33
34
|
import "react-resizable-panels";
|
|
@@ -31,6 +31,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
31
31
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
32
32
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
33
33
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
34
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
34
35
|
import "@hello-pangea/dnd";
|
|
35
36
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
36
37
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -26,6 +26,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
26
26
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
27
27
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
28
28
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
29
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
29
30
|
import "@hello-pangea/dnd";
|
|
30
31
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
31
32
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -27,6 +27,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
27
27
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
28
28
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
29
29
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
30
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
30
31
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
31
32
|
import "mui-nested-menu";
|
|
32
33
|
import "react-resizable-panels";
|
|
@@ -23,6 +23,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
23
23
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
24
24
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
25
25
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
26
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
26
27
|
import "@hello-pangea/dnd";
|
|
27
28
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
28
29
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -28,6 +28,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
28
28
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
29
29
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
30
30
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
31
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
31
32
|
import "@hello-pangea/dnd";
|
|
32
33
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
33
34
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -30,6 +30,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
30
30
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
31
31
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
32
32
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
33
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
33
34
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
34
35
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
35
36
|
import "mui-nested-menu";
|
|
@@ -26,6 +26,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
26
26
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
27
27
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
28
28
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
29
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
29
30
|
import "@hello-pangea/dnd";
|
|
30
31
|
import { CustomMuiDialog } from "../../../components/ui/dialogs/customMuiDialog/CustomMuiDialog.js";
|
|
31
32
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
@@ -27,6 +27,7 @@ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
|
27
27
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
28
28
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
29
29
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
30
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
30
31
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
31
32
|
import "mui-nested-menu";
|
|
32
33
|
import "react-resizable-panels";
|
|
@@ -23,9 +23,10 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
23
23
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
24
24
|
import "../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
25
25
|
import "../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
26
|
+
import "../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
27
|
+
import "../../components/ui/treeViewFinder/TreeViewFinder.js";
|
|
26
28
|
import "@hello-pangea/dnd";
|
|
27
29
|
import "../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
28
|
-
import "../../components/ui/treeViewFinder/TreeViewFinder.js";
|
|
29
30
|
import "../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
30
31
|
import "mui-nested-menu";
|
|
31
32
|
import "react-resizable-panels";
|
|
@@ -25,6 +25,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
25
25
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
26
26
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
27
27
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
28
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
28
29
|
import "@hello-pangea/dnd";
|
|
29
30
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
30
31
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
@@ -22,6 +22,7 @@ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
|
22
22
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
23
23
|
import "../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
24
24
|
import "../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
25
|
+
import "../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
25
26
|
import "@hello-pangea/dnd";
|
|
26
27
|
import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
27
28
|
import "../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
package/dist/index.js
CHANGED
|
@@ -42,10 +42,12 @@ import { SubmitButton } from "./components/ui/reactHookForm/utils/SubmitButton.j
|
|
|
42
42
|
import { TextFieldWithAdornment } from "./components/ui/reactHookForm/utils/TextFieldWithAdornment.js";
|
|
43
43
|
import { genHelperError, gridItem, identity, isFieldRequired, toFloatOrNullValue } from "./components/ui/reactHookForm/utils/functions.js";
|
|
44
44
|
import { HelperPreviousValue } from "./components/ui/reactHookForm/utils/HelperPreviousValue.js";
|
|
45
|
-
import { DESCRIPTION, NAME } from "./components/ui/reactHookForm/constants.js";
|
|
45
|
+
import { DESCRIPTION, DIRECTORY_ITEM, DIRECTORY_ITEM_FULL_PATH, DIRECTORY_ITEM_ID, NAME } from "./components/ui/reactHookForm/constants.js";
|
|
46
46
|
import { ExpandableInput } from "./components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
47
47
|
import { CountrySelectionInput } from "./components/ui/reactHookForm/CountrySelectionInput.js";
|
|
48
48
|
import { CheckboxNullableInput } from "./components/ui/reactHookForm/CheckboxNullableInput.js";
|
|
49
|
+
import { directoryItemSchema, getAbsenceLabelKeyFromType } from "./components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
50
|
+
import { DirectoryItemInput } from "./components/ui/reactHookForm/directory-item-input/directory-item-input.js";
|
|
49
51
|
import { CheckBoxList } from "./components/ui/checkBoxList/CheckBoxList.js";
|
|
50
52
|
import { SelectClearable } from "./components/ui/inputs/SelectClearable.js";
|
|
51
53
|
import { ActivableChip } from "./components/ui/inputs/ActivableChip.js";
|
|
@@ -267,7 +269,7 @@ import { AnnouncementSeverity, ArrayAction } from "./utils/types/types.js";
|
|
|
267
269
|
import { MODIFICATION_TYPES, ModificationType } from "./utils/types/modificationType.js";
|
|
268
270
|
import { FieldType } from "./utils/types/fieldType.js";
|
|
269
271
|
import { ParameterType } from "./utils/types/parameters.type.js";
|
|
270
|
-
import { SolverType } from "./utils/types/dynamic-simulation.type.js";
|
|
272
|
+
import { SolverType, mapDynamicSimulationParameters } from "./utils/types/dynamic-simulation.type.js";
|
|
271
273
|
import { mapSecurityAnalysisParameters } from "./utils/types/security-analysis.type.js";
|
|
272
274
|
import { DistributionType, SensitivityType, mapSensitivityAnalysisParameters } from "./utils/types/sensitivity-analysis.type.js";
|
|
273
275
|
import { CalculationType, LoadModelsRule } from "./utils/types/dynamic-margin-calculation.type.js";
|
|
@@ -291,7 +293,7 @@ import { DEFAULT_TIMEOUT_MS, IGNORE_SIGNAL, backendFetch, backendFetchFile, back
|
|
|
291
293
|
import { getVoltageInitParameters, getVoltageInitUrl } from "./services/voltage-init.js";
|
|
292
294
|
import { fetchShortCircuitParameters, getShortCircuitSpecificParametersDescription, updateShortCircuitParameters } from "./services/short-circuit-analysis.js";
|
|
293
295
|
import { changeCompositeSubModificationOrder, changeNetworkModificationOrder, fetchBusBarSectionsForNewCoupler, fetchNetworkModification, getBaseNetworkModificationUrl, getNetworkModificationsFromComposite, getStudyUrlWithNodeUuid, setModificationMetadata, updateModification, updateModificationStatusByRootNetwork, updateNetworkModificationsMetadata } from "./services/networkModification.js";
|
|
294
|
-
import { fetchDynamicSimulationModels
|
|
296
|
+
import { fetchDynamicSimulationModels } from "./services/dynamic-mapping.js";
|
|
295
297
|
import { fetchDynamicSimulationParameters, fetchDynamicSimulationProviders, updateDynamicSimulationParameters } from "./services/dynamic-simulation.js";
|
|
296
298
|
import { fetchContingencyAndFiltersLists, fetchDynamicSecurityAnalysisProviders } from "./services/dynamic-security-analysis.js";
|
|
297
299
|
import { fetchDynamicMarginCalculationParameters, fetchDynamicMarginCalculationProviders, updateDynamicMarginCalculationParameters } from "./services/dynamic-margin-calculation.js";
|
|
@@ -569,6 +571,9 @@ export {
|
|
|
569
571
|
DEPTH_CELL_WIDTH,
|
|
570
572
|
DESCRIPTION,
|
|
571
573
|
DIAGONAL_LABEL,
|
|
574
|
+
DIRECTORY_ITEM,
|
|
575
|
+
DIRECTORY_ITEM_FULL_PATH,
|
|
576
|
+
DIRECTORY_ITEM_ID,
|
|
572
577
|
DISTRIBUTED_SLACK,
|
|
573
578
|
DISTRIBUTION_KEY,
|
|
574
579
|
DROP_FORBIDDEN_INDICATOR_BOTTOM,
|
|
@@ -585,6 +590,7 @@ export {
|
|
|
585
590
|
DescriptionInput,
|
|
586
591
|
DescriptionModificationDialog,
|
|
587
592
|
DevModeBanner,
|
|
593
|
+
DirectoryItemInput,
|
|
588
594
|
DirectoryItemSelector,
|
|
589
595
|
DirectoryItemsInput,
|
|
590
596
|
DistributionType,
|
|
@@ -1068,6 +1074,7 @@ export {
|
|
|
1068
1074
|
csvFr,
|
|
1069
1075
|
descriptionEn,
|
|
1070
1076
|
descriptionFr,
|
|
1077
|
+
directoryItemSchema,
|
|
1071
1078
|
directoryItemsInputEn,
|
|
1072
1079
|
directoryItemsInputFr,
|
|
1073
1080
|
dispatchUser,
|
|
@@ -1169,6 +1176,7 @@ export {
|
|
|
1169
1176
|
generatorModificationEmptyFormData,
|
|
1170
1177
|
generatorModificationFormSchema,
|
|
1171
1178
|
generatorModificationFormToDto,
|
|
1179
|
+
getAbsenceLabelKeyFromType,
|
|
1172
1180
|
getActivePowerControlEmptyFormData,
|
|
1173
1181
|
getActivePowerControlSchema,
|
|
1174
1182
|
getActivePowerSetPointSchema,
|
|
@@ -1209,7 +1217,6 @@ export {
|
|
|
1209
1217
|
getCreateSwitchesValidationSchema,
|
|
1210
1218
|
getCsvDelimiter,
|
|
1211
1219
|
getDefaultRowData,
|
|
1212
|
-
getDynamicMappings,
|
|
1213
1220
|
getEnergySourceLabel,
|
|
1214
1221
|
getEquipmentTypeShortLabel,
|
|
1215
1222
|
getEquipmentsInfosForSearchBar,
|
|
@@ -1337,6 +1344,7 @@ export {
|
|
|
1337
1344
|
loginFr,
|
|
1338
1345
|
logout,
|
|
1339
1346
|
makeComposeClasses,
|
|
1347
|
+
mapDynamicSimulationParameters,
|
|
1340
1348
|
mapNmKResultsCutOffPower,
|
|
1341
1349
|
mapPccMinParameters,
|
|
1342
1350
|
mapSecurityAnalysisParameters,
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { DynamicSimulationModelInfos,
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function fetchDynamicSimulationModels(mapping: string): Promise<DynamicSimulationModelInfos[]>;
|
|
1
|
+
import { DynamicSimulationModelInfos, IdName } from '../utils';
|
|
2
|
+
export declare function fetchDynamicSimulationModels(mapping: IdName): Promise<DynamicSimulationModelInfos[]>;
|
|
@@ -3,19 +3,12 @@ const PREFIX_DYNAMIC_MAPPING_SERVER_QUERIES = `${"api/gateway"}/dynamic-mapping`
|
|
|
3
3
|
function getDynamicMappingUrl() {
|
|
4
4
|
return `${PREFIX_DYNAMIC_MAPPING_SERVER_QUERIES}/`;
|
|
5
5
|
}
|
|
6
|
-
function getDynamicMappings() {
|
|
7
|
-
console.info(`Fetching dynamic mappings ...`);
|
|
8
|
-
const url = `${getDynamicMappingUrl()}mappings/`;
|
|
9
|
-
console.debug(url);
|
|
10
|
-
return backendFetchJson(url);
|
|
11
|
-
}
|
|
12
6
|
function fetchDynamicSimulationModels(mapping) {
|
|
13
|
-
console.info(`Fetching dynamic simulation models on mapping '${mapping}' ...`);
|
|
14
|
-
const url = `${getDynamicMappingUrl()}mappings/${mapping}/models`;
|
|
7
|
+
console.info(`Fetching dynamic simulation models on mapping '${mapping.name}' ...`);
|
|
8
|
+
const url = `${getDynamicMappingUrl()}mappings/${mapping.id}/models`;
|
|
15
9
|
console.debug(url);
|
|
16
10
|
return backendFetchJson(url);
|
|
17
11
|
}
|
|
18
12
|
export {
|
|
19
|
-
fetchDynamicSimulationModels
|
|
20
|
-
getDynamicMappings
|
|
13
|
+
fetchDynamicSimulationModels
|
|
21
14
|
};
|
package/dist/services/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { DEFAULT_TIMEOUT_MS, IGNORE_SIGNAL, backendFetch, backendFetchFile, back
|
|
|
13
13
|
import { getVoltageInitParameters, getVoltageInitUrl } from "./voltage-init.js";
|
|
14
14
|
import { fetchShortCircuitParameters, getShortCircuitSpecificParametersDescription, updateShortCircuitParameters } from "./short-circuit-analysis.js";
|
|
15
15
|
import { changeCompositeSubModificationOrder, changeNetworkModificationOrder, fetchBusBarSectionsForNewCoupler, fetchNetworkModification, getBaseNetworkModificationUrl, getNetworkModificationsFromComposite, getStudyUrlWithNodeUuid, setModificationMetadata, updateModification, updateModificationStatusByRootNetwork, updateNetworkModificationsMetadata } from "./networkModification.js";
|
|
16
|
-
import { fetchDynamicSimulationModels
|
|
16
|
+
import { fetchDynamicSimulationModels } from "./dynamic-mapping.js";
|
|
17
17
|
import { fetchDynamicSimulationParameters, fetchDynamicSimulationProviders, updateDynamicSimulationParameters } from "./dynamic-simulation.js";
|
|
18
18
|
import { fetchContingencyAndFiltersLists, fetchDynamicSecurityAnalysisProviders } from "./dynamic-security-analysis.js";
|
|
19
19
|
import { fetchDynamicMarginCalculationParameters, fetchDynamicMarginCalculationProviders, updateDynamicMarginCalculationParameters } from "./dynamic-margin-calculation.js";
|
|
@@ -69,7 +69,6 @@ export {
|
|
|
69
69
|
getAppName,
|
|
70
70
|
getAvailableComponentLibraries,
|
|
71
71
|
getBaseNetworkModificationUrl,
|
|
72
|
-
getDynamicMappings,
|
|
73
72
|
getLoadFlowDefaultLimitReductions,
|
|
74
73
|
getLoadFlowProviders,
|
|
75
74
|
getLoadFlowSpecificParametersDescription,
|
|
@@ -61,7 +61,7 @@ export declare const businessErrorsEn: {
|
|
|
61
61
|
'shortcircuit.busOutOfNodeCluster': string;
|
|
62
62
|
'securityAnalysis.contingencyListConfigEmpty': string;
|
|
63
63
|
'securityAnalysis.missingContingencyList': string;
|
|
64
|
-
'dynamicMapping.
|
|
64
|
+
'dynamicMapping.mappingNotProvided': string;
|
|
65
65
|
'dynamicSecurityAnalysis.providerNotFound': string;
|
|
66
66
|
'dynamicSecurityAnalysis.contingenciesNotFound': string;
|
|
67
67
|
'dynamicSecurityAnalysis.contingencyListEmpty': string;
|
|
@@ -55,7 +55,7 @@ const businessErrorsEn = {
|
|
|
55
55
|
"shortcircuit.busOutOfNodeCluster": "Selected bus is out of node cluster",
|
|
56
56
|
"securityAnalysis.contingencyListConfigEmpty": "The configuration does not contain any contingency.",
|
|
57
57
|
"securityAnalysis.missingContingencyList": "The configuration contains one or more contingency lists that have been deleted.",
|
|
58
|
-
"dynamicMapping.
|
|
58
|
+
"dynamicMapping.mappingNotProvided": "Mapping not provided",
|
|
59
59
|
"dynamicSecurityAnalysis.providerNotFound": "Dynamic security analysis provider not found.",
|
|
60
60
|
"dynamicSecurityAnalysis.contingenciesNotFound": "No contingencies provided.",
|
|
61
61
|
"dynamicSecurityAnalysis.contingencyListEmpty": "Contingency list parameter must not be null or empty.",
|
|
@@ -61,7 +61,7 @@ export declare const businessErrorsFr: {
|
|
|
61
61
|
'shortcircuit.busOutOfNodeCluster': string;
|
|
62
62
|
'securityAnalysis.contingencyListConfigEmpty': string;
|
|
63
63
|
'securityAnalysis.missingContingencyList': string;
|
|
64
|
-
'dynamicMapping.
|
|
64
|
+
'dynamicMapping.mappingNotProvided': string;
|
|
65
65
|
'dynamicSecurityAnalysis.providerNotFound': string;
|
|
66
66
|
'dynamicSecurityAnalysis.contingenciesNotFound': string;
|
|
67
67
|
'dynamicSecurityAnalysis.contingencyListEmpty': string;
|
|
@@ -55,7 +55,7 @@ const businessErrorsFr = {
|
|
|
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
57
|
"securityAnalysis.missingContingencyList": "La configuration contient une ou des listes d'aléas qui ont été supprimées.",
|
|
58
|
-
"dynamicMapping.
|
|
58
|
+
"dynamicMapping.mappingNotProvided": "Mapping non fourni",
|
|
59
59
|
"dynamicSecurityAnalysis.providerNotFound": "Simulateur d'analyse de sécurité dynamique non trouvé.",
|
|
60
60
|
"dynamicSecurityAnalysis.contingenciesNotFound": "Aucun aléa fourni.",
|
|
61
61
|
"dynamicSecurityAnalysis.contingencyListEmpty": "La liste d'aléas fournie ne doit pas être nulle ou vide.",
|
package/dist/utils/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import { AnnouncementSeverity, ArrayAction } from "./types/types.js";
|
|
|
27
27
|
import { MODIFICATION_TYPES, ModificationType } from "./types/modificationType.js";
|
|
28
28
|
import { FieldType } from "./types/fieldType.js";
|
|
29
29
|
import { ParameterType } from "./types/parameters.type.js";
|
|
30
|
-
import { SolverType } from "./types/dynamic-simulation.type.js";
|
|
30
|
+
import { SolverType, mapDynamicSimulationParameters } from "./types/dynamic-simulation.type.js";
|
|
31
31
|
import { mapSecurityAnalysisParameters } from "./types/security-analysis.type.js";
|
|
32
32
|
import { DistributionType, SensitivityType, mapSensitivityAnalysisParameters } from "./types/sensitivity-analysis.type.js";
|
|
33
33
|
import { CalculationType, LoadModelsRule } from "./types/dynamic-margin-calculation.type.js";
|
|
@@ -174,6 +174,7 @@ export {
|
|
|
174
174
|
keyGenerator,
|
|
175
175
|
kiloUnitToUnit,
|
|
176
176
|
makeComposeClasses,
|
|
177
|
+
mapDynamicSimulationParameters,
|
|
177
178
|
mapPccMinParameters,
|
|
178
179
|
mapSecurityAnalysisParameters,
|
|
179
180
|
mapSensitivityAnalysisParameters,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { MiscellaneousServicesRounded, Dashboard, Hub, TableView, Calculate, Settings, Article, NoteAlt, OfflineBolt, Photo, PhotoLibrary } from "@mui/icons-material";
|
|
2
|
+
import { AutoGraphRounded, MiscellaneousServicesRounded, Dashboard, Hub, TableView, Calculate, Settings, Article, NoteAlt, OfflineBolt, Photo, PhotoLibrary } from "@mui/icons-material";
|
|
3
3
|
import { ElementType } from "../types/elementType.js";
|
|
4
4
|
function getFileIcon(type, style) {
|
|
5
5
|
switch (type) {
|
|
@@ -31,6 +31,8 @@ function getFileIcon(type, style) {
|
|
|
31
31
|
return /* @__PURE__ */ jsx(Dashboard, { sx: style });
|
|
32
32
|
case ElementType.PROCESS_CONFIG:
|
|
33
33
|
return /* @__PURE__ */ jsx(MiscellaneousServicesRounded, { sx: style });
|
|
34
|
+
case ElementType.DYNAMIC_MAPPING:
|
|
35
|
+
return /* @__PURE__ */ jsx(AutoGraphRounded, { sx: style });
|
|
34
36
|
case ElementType.DIRECTORY:
|
|
35
37
|
return void 0;
|
|
36
38
|
default:
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UUID } from 'node:crypto';
|
|
2
|
+
import { IdName } from './types';
|
|
2
3
|
export declare enum CalculationType {
|
|
3
4
|
GLOBAL_MARGIN = "GLOBAL_MARGIN",
|
|
4
5
|
LOCAL_MARGIN = "LOCAL_MARGIN"
|
|
@@ -7,13 +8,9 @@ export declare enum LoadModelsRule {
|
|
|
7
8
|
ALL_LOADS = "ALL_LOADS",
|
|
8
9
|
TARGETED_LOADS = "TARGETED_LOADS"
|
|
9
10
|
}
|
|
10
|
-
export type IdNameInfos = {
|
|
11
|
-
id: UUID;
|
|
12
|
-
name?: string;
|
|
13
|
-
};
|
|
14
11
|
export type LoadsVariationInfos = {
|
|
15
12
|
id?: UUID;
|
|
16
|
-
loadFilters?:
|
|
13
|
+
loadFilters?: IdName[];
|
|
17
14
|
variation: number;
|
|
18
15
|
active: boolean;
|
|
19
16
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UUID } from 'node:crypto';
|
|
2
2
|
import { EquipmentType } from './equipmentType';
|
|
3
|
+
import { IdName } from './types';
|
|
3
4
|
export declare enum SolverType {
|
|
4
5
|
IDA = "IDA",
|
|
5
6
|
SIM = "SIM"
|
|
@@ -69,20 +70,21 @@ type CurveInfos = {
|
|
|
69
70
|
variableId: string;
|
|
70
71
|
};
|
|
71
72
|
export type SolverInfos = IdaSolverInfos | SimSolverInfos;
|
|
72
|
-
export type MappingInfos = {
|
|
73
|
-
name: string;
|
|
74
|
-
};
|
|
75
73
|
export type DynamicSimulationParametersInfos = {
|
|
76
74
|
id?: UUID;
|
|
77
75
|
provider?: string;
|
|
78
76
|
startTime?: number;
|
|
79
77
|
stopTime?: number;
|
|
80
|
-
|
|
78
|
+
mappingId?: UUID;
|
|
81
79
|
solver: SolverType;
|
|
82
80
|
solvers?: SolverInfos[];
|
|
83
81
|
network?: NetworkInfos;
|
|
84
82
|
curves?: CurveInfos[] | null;
|
|
85
83
|
};
|
|
84
|
+
export type DynamicSimulationParametersEnriched = Omit<DynamicSimulationParametersInfos, 'mappingId'> & {
|
|
85
|
+
mapping?: IdName;
|
|
86
|
+
};
|
|
87
|
+
export declare function mapDynamicSimulationParameters(parameters: DynamicSimulationParametersEnriched): DynamicSimulationParametersInfos;
|
|
86
88
|
export type ModelVariableDefinitionInfos = {
|
|
87
89
|
name: string;
|
|
88
90
|
unit: string;
|
|
@@ -3,6 +3,15 @@ var SolverType = /* @__PURE__ */ ((SolverType2) => {
|
|
|
3
3
|
SolverType2["SIM"] = "SIM";
|
|
4
4
|
return SolverType2;
|
|
5
5
|
})(SolverType || {});
|
|
6
|
+
function mapDynamicSimulationParameters(parameters) {
|
|
7
|
+
const { mapping, ...rest } = parameters;
|
|
8
|
+
const newParameters = {
|
|
9
|
+
...rest,
|
|
10
|
+
mappingId: parameters.mapping?.id
|
|
11
|
+
};
|
|
12
|
+
return newParameters;
|
|
13
|
+
}
|
|
6
14
|
export {
|
|
7
|
-
SolverType
|
|
15
|
+
SolverType,
|
|
16
|
+
mapDynamicSimulationParameters
|
|
8
17
|
};
|
|
@@ -14,7 +14,6 @@ export declare enum ElementType {
|
|
|
14
14
|
FILTER = "FILTER",
|
|
15
15
|
MODIFICATION = "MODIFICATION",
|
|
16
16
|
CONTINGENCY_LIST = "CONTINGENCY_LIST",
|
|
17
|
-
DYNAMIC_SIMULATION_MAPPING = "DYNAMIC_SIMULATION_MAPPING",
|
|
18
17
|
VOLTAGE_INIT_PARAMETERS = "VOLTAGE_INIT_PARAMETERS",
|
|
19
18
|
SECURITY_ANALYSIS_PARAMETERS = "SECURITY_ANALYSIS_PARAMETERS",
|
|
20
19
|
PCC_MIN_PARAMETERS = "PCC_MIN_PARAMETERS",
|
|
@@ -29,5 +28,6 @@ export declare enum ElementType {
|
|
|
29
28
|
SPREADSHEET_CONFIG_COLLECTION = "SPREADSHEET_CONFIG_COLLECTION",
|
|
30
29
|
DIAGRAM_CONFIG = "DIAGRAM_CONFIG",
|
|
31
30
|
WORKSPACE = "WORKSPACE",
|
|
32
|
-
PROCESS_CONFIG = "PROCESS_CONFIG"
|
|
31
|
+
PROCESS_CONFIG = "PROCESS_CONFIG",
|
|
32
|
+
DYNAMIC_MAPPING = "DYNAMIC_MAPPING"
|
|
33
33
|
}
|
|
@@ -5,7 +5,6 @@ var ElementType = /* @__PURE__ */ ((ElementType2) => {
|
|
|
5
5
|
ElementType2["FILTER"] = "FILTER";
|
|
6
6
|
ElementType2["MODIFICATION"] = "MODIFICATION";
|
|
7
7
|
ElementType2["CONTINGENCY_LIST"] = "CONTINGENCY_LIST";
|
|
8
|
-
ElementType2["DYNAMIC_SIMULATION_MAPPING"] = "DYNAMIC_SIMULATION_MAPPING";
|
|
9
8
|
ElementType2["VOLTAGE_INIT_PARAMETERS"] = "VOLTAGE_INIT_PARAMETERS";
|
|
10
9
|
ElementType2["SECURITY_ANALYSIS_PARAMETERS"] = "SECURITY_ANALYSIS_PARAMETERS";
|
|
11
10
|
ElementType2["PCC_MIN_PARAMETERS"] = "PCC_MIN_PARAMETERS";
|
|
@@ -21,6 +20,7 @@ var ElementType = /* @__PURE__ */ ((ElementType2) => {
|
|
|
21
20
|
ElementType2["DIAGRAM_CONFIG"] = "DIAGRAM_CONFIG";
|
|
22
21
|
ElementType2["WORKSPACE"] = "WORKSPACE";
|
|
23
22
|
ElementType2["PROCESS_CONFIG"] = "PROCESS_CONFIG";
|
|
23
|
+
ElementType2["DYNAMIC_MAPPING"] = "DYNAMIC_MAPPING";
|
|
24
24
|
return ElementType2;
|
|
25
25
|
})(ElementType || {});
|
|
26
26
|
export {
|
|
@@ -8,7 +8,7 @@ import { AnnouncementSeverity, ArrayAction } from "./types.js";
|
|
|
8
8
|
import { MODIFICATION_TYPES, ModificationType } from "./modificationType.js";
|
|
9
9
|
import { FieldType } from "./fieldType.js";
|
|
10
10
|
import { ParameterType } from "./parameters.type.js";
|
|
11
|
-
import { SolverType } from "./dynamic-simulation.type.js";
|
|
11
|
+
import { SolverType, mapDynamicSimulationParameters } from "./dynamic-simulation.type.js";
|
|
12
12
|
import { mapSecurityAnalysisParameters } from "./security-analysis.type.js";
|
|
13
13
|
import { DistributionType, SensitivityType, mapSensitivityAnalysisParameters } from "./sensitivity-analysis.type.js";
|
|
14
14
|
import { CalculationType, LoadModelsRule } from "./dynamic-margin-calculation.type.js";
|
|
@@ -71,6 +71,7 @@ export {
|
|
|
71
71
|
getEquipmentsInfosForSearchBar,
|
|
72
72
|
getLoadTypeLabel,
|
|
73
73
|
isInjection,
|
|
74
|
+
mapDynamicSimulationParameters,
|
|
74
75
|
mapPccMinParameters,
|
|
75
76
|
mapSecurityAnalysisParameters,
|
|
76
77
|
mapSensitivityAnalysisParameters
|