@gridsuite/commons-ui 0.204.0 → 0.205.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/dialogs/elementSaveDialog/ElementSaveDialog.js +1 -0
- package/dist/components/dnd-table/dnd-table-add-rows-dialog.js +1 -0
- package/dist/components/dnd-table/dnd-table.js +1 -0
- package/dist/components/dnd-table-v2/dnd-table-add-rows-dialog.js +1 -0
- package/dist/components/dnd-table-v2/dnd-table.js +1 -0
- package/dist/components/filter/HeaderFilterForm.js +1 -0
- package/dist/components/filter/expert/ExpertFilterForm.js +1 -0
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.js +1 -0
- package/dist/components/grid/grid-item.d.ts +2 -2
- package/dist/components/icons/ArrowsInputIcon.d.ts +2 -0
- package/dist/components/icons/ArrowsInputIcon.js +9 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/icons/index.js +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/inputs/reactHookForm/text/DescriptionInput.js +1 -0
- package/dist/components/network-modification-table/row/modification-row.js +7 -17
- package/dist/components/network-modifications/by-filter/assignment/assignment/assignment-form.js +1 -0
- package/dist/components/network-modifications/by-filter/assignment/modification-by-assignment-form.js +1 -0
- package/dist/components/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +1 -0
- package/dist/components/network-modifications/common/activePowerControl/ActivePowerControlForm.js +1 -0
- package/dist/components/network-modifications/common/connectivity/ConnectivityForm.js +1 -0
- package/dist/components/network-modifications/common/connectivity/PositionForm.js +1 -0
- package/dist/components/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +1 -0
- package/dist/components/network-modifications/common/measurements/PowerWithValidityForm.js +1 -0
- package/dist/components/network-modifications/common/properties/PropertiesForm.js +1 -0
- package/dist/components/network-modifications/common/properties/PropertyForm.js +1 -0
- package/dist/components/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +1 -0
- package/dist/components/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -0
- package/dist/components/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -0
- package/dist/components/network-modifications/common/setpoints/SetPointsForm.js +1 -0
- package/dist/components/network-modifications/common/shortCircuit/ShortCircuitForm.js +1 -0
- package/dist/components/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +1 -0
- package/dist/components/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +1 -0
- package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +1 -0
- package/dist/components/network-modifications/generator/generatorDialog.type.d.ts +9 -1
- package/dist/components/network-modifications/generator/modification/generatorModification.types.d.ts +4 -0
- package/dist/components/network-modifications/index.js +1 -0
- package/dist/components/network-modifications/load/common/LoadDialogHeader.js +1 -0
- package/dist/components/network-modifications/load/creation/loadCreation.utils.js +1 -0
- package/dist/components/network-modifications/load/modification/loadModification.utils.js +1 -0
- package/dist/components/network-modifications/substation/creation/SubstationCreationForm.js +1 -0
- package/dist/components/network-modifications/substation/modification/SubstationModificationForm.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/index.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/creation/CreateSwitchesDialog.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/creation/CreateSwitchesForm.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +1 -0
- package/dist/components/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +1 -0
- package/dist/components/network-modifications/voltageLevel/index.js +1 -0
- package/dist/components/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +1 -0
- package/dist/components/parameters/common/ProviderParam.js +1 -0
- package/dist/components/parameters/common/contingency-table/columns-definitions.js +1 -0
- package/dist/components/parameters/common/limitreductions/limit-reduction-table-cell.js +1 -0
- package/dist/components/parameters/common/limitreductions/limit-reductions-table-form.js +1 -0
- package/dist/components/parameters/common/name-element-editor/name-element-editor-utils.js +1 -0
- package/dist/components/parameters/common/parameter-field.js +1 -0
- package/dist/components/parameters/common/parameter-table-field/parameter-table-field.js +1 -0
- package/dist/components/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +1 -0
- package/dist/components/parameters/common/widget/parameter-float.js +1 -0
- package/dist/components/parameters/common/widget/parameter-line-directory-items-input.js +1 -0
- package/dist/components/parameters/common/widget/parameter-line-slider.js +1 -0
- package/dist/components/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +1 -0
- package/dist/components/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +1 -0
- package/dist/components/parameters/dynamic-margin-calculation/loads-variations-parameters.js +1 -0
- package/dist/components/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +1 -0
- package/dist/components/parameters/dynamic-security-analysis/contingency-parameters.js +1 -0
- package/dist/components/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +1 -0
- package/dist/components/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +1 -0
- package/dist/components/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +1 -0
- package/dist/components/parameters/dynamic-simulation/dynamic-simulation-inline.js +1 -0
- package/dist/components/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +1 -0
- package/dist/components/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +1 -0
- package/dist/components/parameters/loadflow/load-flow-general-parameters.js +1 -0
- package/dist/components/parameters/loadflow/load-flow-parameters-content.js +1 -0
- package/dist/components/parameters/loadflow/load-flow-parameters-dialog.js +1 -0
- package/dist/components/parameters/loadflow/load-flow-parameters-form.js +1 -0
- package/dist/components/parameters/loadflow/load-flow-parameters-header.js +1 -0
- package/dist/components/parameters/loadflow/load-flow-parameters-inline.js +1 -0
- package/dist/components/parameters/loadflow/load-flow-parameters-utils.js +1 -0
- package/dist/components/parameters/loadflow/use-load-flow-parameters-form.js +1 -0
- package/dist/components/parameters/network-visualizations/map-parameters.js +1 -0
- package/dist/components/parameters/network-visualizations/network-area-diagram-parameters.js +1 -0
- package/dist/components/parameters/network-visualizations/network-visualizations-form.js +1 -0
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-dialog.js +1 -0
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-inline.js +1 -0
- package/dist/components/parameters/network-visualizations/single-line-diagram-parameters.js +1 -0
- package/dist/components/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -0
- package/dist/components/parameters/pcc-min/pcc-min-form-utils.js +1 -0
- package/dist/components/parameters/pcc-min/pcc-min-parameters-dialog.js +1 -0
- package/dist/components/parameters/pcc-min/pcc-min-parameters-form.js +1 -0
- package/dist/components/parameters/pcc-min/pcc-min-parameters-inline.js +1 -0
- package/dist/components/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -0
- package/dist/components/parameters/security-analysis/columns-definitions.js +1 -0
- package/dist/components/parameters/security-analysis/security-analysis-parameters-dialog.js +1 -0
- package/dist/components/parameters/security-analysis/security-analysis-parameters-form.js +1 -0
- package/dist/components/parameters/security-analysis/security-analysis-parameters-inline.js +1 -0
- package/dist/components/parameters/security-analysis/security-analysis-parameters-selector.js +1 -0
- package/dist/components/parameters/security-analysis/security-analysis-violations-hiding.js +1 -0
- package/dist/components/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -0
- package/dist/components/parameters/sensi/columns-definitions.js +1 -0
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.js +1 -0
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-form.js +1 -0
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-inline.js +1 -0
- package/dist/components/parameters/sensi/sensitivity-parameters-fields.js +1 -0
- package/dist/components/parameters/sensi/sensitivity-parameters-selector.js +1 -0
- package/dist/components/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -0
- package/dist/components/parameters/sensi/utils.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-general-tab-panel.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-cell.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-content.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-dialog.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-form.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-inline.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-study-area-tab-panel.js +1 -0
- package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.js +1 -0
- package/dist/components/parameters/voltage-init/equipment-selection-parameters.js +1 -0
- package/dist/components/parameters/voltage-init/general-parameters.js +1 -0
- package/dist/components/parameters/voltage-init/use-voltage-init-parameters-form.js +1 -0
- package/dist/components/parameters/voltage-init/voltage-init-form-utils.js +1 -0
- package/dist/components/parameters/voltage-init/voltage-init-parameters-dialog.js +1 -0
- package/dist/components/parameters/voltage-init/voltage-init-parameters-form.js +1 -0
- package/dist/components/parameters/voltage-init/voltage-init-parameters-inline.js +1 -0
- package/dist/components/parameters/voltage-init/voltage-limits-parameters.js +1 -0
- package/dist/components/topBar/AboutDialog.d.ts +1 -1
- package/dist/components/topBar/AboutDialog.js +15 -7
- package/dist/index.js +4 -1
- package/dist/utils/constants/notificationsProvider.d.ts +3 -1
- package/dist/utils/constants/notificationsProvider.js +3 -0
- package/dist/utils/index.js +2 -1
- package/package.json +7 -7
|
@@ -26,6 +26,7 @@ import { FloatInput } from "../../inputs/reactHookForm/numbers/FloatInput.js";
|
|
|
26
26
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
27
27
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
28
28
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
29
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
29
30
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
30
31
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
31
32
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -31,6 +31,7 @@ import "react-csv-downloader";
|
|
|
31
31
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
32
32
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
33
33
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
34
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
34
35
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
35
36
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
36
37
|
import "../../inputs/reactHookForm/expandableInput/ExpandableInput.js";
|
|
@@ -30,6 +30,7 @@ import "react-csv-downloader";
|
|
|
30
30
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
32
32
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
33
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
33
34
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
34
35
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
35
36
|
import "../../inputs/reactHookForm/expandableInput/ExpandableInput.js";
|
|
@@ -23,6 +23,7 @@ import "react-csv-downloader";
|
|
|
23
23
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
24
24
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
25
25
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
26
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
26
27
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
27
28
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
28
29
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -28,6 +28,7 @@ import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
|
28
28
|
import { PopupConfirmationDialog } from "../../dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
29
29
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
30
30
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
31
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
31
32
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
32
33
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
33
34
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -30,6 +30,7 @@ import "react-csv-downloader";
|
|
|
30
30
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
32
32
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
33
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
33
34
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
34
35
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
35
36
|
import "../../inputs/reactHookForm/expandableInput/ExpandableInput.js";
|
package/dist/components/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js
CHANGED
|
@@ -30,6 +30,7 @@ import { SwitchInput } from "../../inputs/reactHookForm/booleans/SwitchInput.js"
|
|
|
30
30
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
32
32
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
33
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
33
34
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
34
35
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
35
36
|
import "../../inputs/reactHookForm/expandableInput/ExpandableInput.js";
|
|
@@ -34,6 +34,7 @@ import { FloatInput } from "../../inputs/reactHookForm/numbers/FloatInput.js";
|
|
|
34
34
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
35
35
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
36
36
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
37
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
37
38
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
38
39
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
39
40
|
import "../../inputs/reactHookForm/expandableInput/ExpandableInput.js";
|
|
@@ -28,6 +28,7 @@ import "react-csv-downloader";
|
|
|
28
28
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
29
29
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
30
30
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
31
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
31
32
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
32
33
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
33
34
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -25,6 +25,7 @@ import { RadioInput } from "../../inputs/reactHookForm/booleans/RadioInput.js";
|
|
|
25
25
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
26
26
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
27
27
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
28
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
28
29
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
29
30
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
30
31
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -29,6 +29,7 @@ import "react-csv-downloader";
|
|
|
29
29
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
30
30
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
32
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
32
33
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
33
34
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
34
35
|
import "../../inputs/reactHookForm/expandableInput/ExpandableInput.js";
|
|
@@ -31,6 +31,7 @@ import "react-csv-downloader";
|
|
|
31
31
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
32
32
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
33
33
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
34
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
34
35
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
35
36
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
36
37
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -27,6 +27,7 @@ import "react-csv-downloader";
|
|
|
27
27
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
28
28
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
29
29
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
30
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
30
31
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
31
32
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
32
33
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -28,6 +28,7 @@ import "react-csv-downloader";
|
|
|
28
28
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
29
29
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
30
30
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
31
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
31
32
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
32
33
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
33
34
|
import "../../inputs/reactHookForm/expandableInput/ExpandableInput.js";
|
|
@@ -24,6 +24,7 @@ import "react-csv-downloader";
|
|
|
24
24
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
25
25
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
26
26
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
27
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
27
28
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
28
29
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
29
30
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -29,6 +29,7 @@ import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
|
29
29
|
import { PopupConfirmationDialog } from "../../dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
30
30
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
32
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
32
33
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
33
34
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
34
35
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -30,6 +30,7 @@ import "react-csv-downloader";
|
|
|
30
30
|
import "../../inputs/reactHookForm/numbers/RangeInput.js";
|
|
31
31
|
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
32
32
|
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
33
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
33
34
|
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
34
35
|
import "@material-symbols/svg-400/outlined/add_notes.svg?react";
|
|
35
36
|
import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
@@ -5,6 +5,7 @@ import { LoadingButton } from "@mui/lab";
|
|
|
5
5
|
import { Refresh, Gavel, ExpandMore, Apps, QuestionMark, DnsOutlined, WidgetsOutlined } from "@mui/icons-material";
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
7
|
import { LogoText } from "./GridLogo.js";
|
|
8
|
+
import { mergeSx } from "../../utils/styles.js";
|
|
8
9
|
const styles = {
|
|
9
10
|
general: {
|
|
10
11
|
".MuiAccordion-root": {
|
|
@@ -58,7 +59,7 @@ function getGlobalVersion(fnPromise, type, setData, setLoader) {
|
|
|
58
59
|
return Promise.resolve(null);
|
|
59
60
|
}
|
|
60
61
|
const moduleTypeSort = {
|
|
61
|
-
|
|
62
|
+
apps: 1,
|
|
62
63
|
server: 10,
|
|
63
64
|
other: 20
|
|
64
65
|
};
|
|
@@ -100,7 +101,7 @@ const moduleStyles = {
|
|
|
100
101
|
}
|
|
101
102
|
};
|
|
102
103
|
const ModuleTypesIcons = {
|
|
103
|
-
|
|
104
|
+
apps: /* @__PURE__ */ jsx(WidgetsOutlined, { sx: moduleStyles.icons, fontSize: "small", color: "primary" }),
|
|
104
105
|
server: /* @__PURE__ */ jsx(DnsOutlined, { sx: moduleStyles.icons, fontSize: "small", color: "secondary" }),
|
|
105
106
|
other: /* @__PURE__ */ jsx(QuestionMark, { sx: moduleStyles.icons, fontSize: "small" })
|
|
106
107
|
};
|
|
@@ -110,7 +111,7 @@ function insensitiveCaseCompare(str, obj) {
|
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
113
|
function tooltipTypeLabel(type) {
|
|
113
|
-
if (insensitiveCaseCompare("
|
|
114
|
+
if (insensitiveCaseCompare("apps", type) === 0) {
|
|
114
115
|
return "about-dialog/module-tooltip-app";
|
|
115
116
|
}
|
|
116
117
|
if (insensitiveCaseCompare("server", type) === 0) {
|
|
@@ -163,10 +164,11 @@ function Module({ type, name, version, gitTag }) {
|
|
|
163
164
|
Typography,
|
|
164
165
|
{
|
|
165
166
|
variant: "caption",
|
|
166
|
-
|
|
167
|
+
sx: mergeSx(moduleStyles.version, (theme) => ({
|
|
168
|
+
color: theme.palette.text.secondary
|
|
169
|
+
})),
|
|
167
170
|
display: "inline",
|
|
168
171
|
noWrap: true,
|
|
169
|
-
sx: moduleStyles.version,
|
|
170
172
|
children: gitTag || version || null
|
|
171
173
|
}
|
|
172
174
|
)
|
|
@@ -212,7 +214,7 @@ function AboutDialog({
|
|
|
212
214
|
if (open) {
|
|
213
215
|
const currentApp = {
|
|
214
216
|
name: `Grid${appName}`,
|
|
215
|
-
type: "
|
|
217
|
+
type: "apps",
|
|
216
218
|
version: appVersion,
|
|
217
219
|
gitTag: appGitTag
|
|
218
220
|
// license: appLicense,
|
|
@@ -330,7 +332,13 @@ function AboutDialog({
|
|
|
330
332
|
gitTag: module.gitTag
|
|
331
333
|
},
|
|
332
334
|
`module-${idx}`
|
|
333
|
-
)) }) || /* @__PURE__ */ jsx(
|
|
335
|
+
)) }) || /* @__PURE__ */ jsx(
|
|
336
|
+
Typography,
|
|
337
|
+
{
|
|
338
|
+
sx: { color: (selectedTheme) => selectedTheme.palette.error.main },
|
|
339
|
+
children: "Error"
|
|
340
|
+
}
|
|
341
|
+
) }) })
|
|
334
342
|
] })
|
|
335
343
|
] }) }),
|
|
336
344
|
/* @__PURE__ */ jsx(DialogActions, { children: /* @__PURE__ */ jsx(Button, { onClick: handleClose, autoFocus: true, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "close" }) }) })
|
package/dist/index.js
CHANGED
|
@@ -139,6 +139,7 @@ import { useNotificationsListener } from "./components/notifications/hooks/useNo
|
|
|
139
139
|
import { useListenerManager } from "./components/notifications/hooks/useListenerManager.js";
|
|
140
140
|
import { LeftPanelOpenIcon } from "./components/icons/LeftPanelOpenIcon.js";
|
|
141
141
|
import { ArrowsOutputIcon } from "./components/icons/ArrowsOutputIcon.js";
|
|
142
|
+
import { ArrowsInputIcon } from "./components/icons/ArrowsInputIcon.js";
|
|
142
143
|
import { LeftPanelCloseIcon } from "./components/icons/LeftPanelCloseIcon.js";
|
|
143
144
|
import { EditNoteIcon } from "./components/icons/EditNoteIcon.js";
|
|
144
145
|
import { ComputingType, formatComputingTypeLabel, isValidComputingType } from "./components/parameters/common/computing-type.js";
|
|
@@ -248,7 +249,7 @@ import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM } from "./utils/langs.js";
|
|
|
248
249
|
import { getFileIcon } from "./utils/mapper/getFileIcon.js";
|
|
249
250
|
import { equipmentTypesForPredefinedPropertiesMapper } from "./utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js";
|
|
250
251
|
import { copyToClipboard } from "./utils/navigator-clipboard.js";
|
|
251
|
-
import { NotificationsUrlKeys, PREFIX_CONFIG_NOTIFICATION_WS, PREFIX_DIRECTORY_NOTIFICATION_WS, PREFIX_STUDY_NOTIFICATION_WS } from "./utils/constants/notificationsProvider.js";
|
|
252
|
+
import { NotificationsUrlKeys, PREFIX_CONFIG_NOTIFICATION_WS, PREFIX_DIRECTORY_NOTIFICATION_WS, PREFIX_MONITOR_NOTIFICATION_WS, PREFIX_STUDY_NOTIFICATION_WS } from "./utils/constants/notificationsProvider.js";
|
|
252
253
|
import { DARK_THEME, LIGHT_THEME, makeComposeClasses, mergeSx, toNestedGlobalSelectors } from "./utils/styles.js";
|
|
253
254
|
import { CustomError } from "./utils/types/CustomError.js";
|
|
254
255
|
import { ProblemDetailError } from "./utils/types/ProblemDetailError.js";
|
|
@@ -414,6 +415,7 @@ export {
|
|
|
414
415
|
AnnouncementNotification,
|
|
415
416
|
AnnouncementSeverity,
|
|
416
417
|
ArrayAction,
|
|
418
|
+
ArrowsInputIcon,
|
|
417
419
|
ArrowsOutputIcon,
|
|
418
420
|
DataType2 as AssignmentDataType,
|
|
419
421
|
AuthenticationRouter,
|
|
@@ -745,6 +747,7 @@ export {
|
|
|
745
747
|
PHASE_SHIFTER_REGULATION_ON,
|
|
746
748
|
PREFIX_CONFIG_NOTIFICATION_WS,
|
|
747
749
|
PREFIX_DIRECTORY_NOTIFICATION_WS,
|
|
750
|
+
PREFIX_MONITOR_NOTIFICATION_WS,
|
|
748
751
|
PREFIX_STUDY_NOTIFICATION_WS,
|
|
749
752
|
PREFIX_STUDY_QUERIES,
|
|
750
753
|
PRIORITY,
|
|
@@ -3,8 +3,10 @@ export declare enum NotificationsUrlKeys {
|
|
|
3
3
|
GLOBAL_CONFIG = "GLOBAL_CONFIG",
|
|
4
4
|
STUDY = "STUDY",
|
|
5
5
|
DIRECTORY = "DIRECTORY",
|
|
6
|
-
DIRECTORY_DELETE_STUDY = "DIRECTORY_DELETE_STUDY"
|
|
6
|
+
DIRECTORY_DELETE_STUDY = "DIRECTORY_DELETE_STUDY",
|
|
7
|
+
MONITOR = "MONITOR"
|
|
7
8
|
}
|
|
8
9
|
export declare const PREFIX_CONFIG_NOTIFICATION_WS: string;
|
|
9
10
|
export declare const PREFIX_STUDY_NOTIFICATION_WS: string;
|
|
10
11
|
export declare const PREFIX_DIRECTORY_NOTIFICATION_WS: string;
|
|
12
|
+
export declare const PREFIX_MONITOR_NOTIFICATION_WS: string;
|
|
@@ -4,14 +4,17 @@ var NotificationsUrlKeys = /* @__PURE__ */ ((NotificationsUrlKeys2) => {
|
|
|
4
4
|
NotificationsUrlKeys2["STUDY"] = "STUDY";
|
|
5
5
|
NotificationsUrlKeys2["DIRECTORY"] = "DIRECTORY";
|
|
6
6
|
NotificationsUrlKeys2["DIRECTORY_DELETE_STUDY"] = "DIRECTORY_DELETE_STUDY";
|
|
7
|
+
NotificationsUrlKeys2["MONITOR"] = "MONITOR";
|
|
7
8
|
return NotificationsUrlKeys2;
|
|
8
9
|
})(NotificationsUrlKeys || {});
|
|
9
10
|
const PREFIX_CONFIG_NOTIFICATION_WS = `${"ws/gateway"}/config-notification`;
|
|
10
11
|
const PREFIX_STUDY_NOTIFICATION_WS = `${"ws/gateway"}/study-notification`;
|
|
11
12
|
const PREFIX_DIRECTORY_NOTIFICATION_WS = `${"ws/gateway"}/directory-notification`;
|
|
13
|
+
const PREFIX_MONITOR_NOTIFICATION_WS = `${"ws/gateway"}/monitor-notification`;
|
|
12
14
|
export {
|
|
13
15
|
NotificationsUrlKeys,
|
|
14
16
|
PREFIX_CONFIG_NOTIFICATION_WS,
|
|
15
17
|
PREFIX_DIRECTORY_NOTIFICATION_WS,
|
|
18
|
+
PREFIX_MONITOR_NOTIFICATION_WS,
|
|
16
19
|
PREFIX_STUDY_NOTIFICATION_WS
|
|
17
20
|
};
|
package/dist/utils/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM } from "./langs.js";
|
|
|
15
15
|
import { getFileIcon } from "./mapper/getFileIcon.js";
|
|
16
16
|
import { equipmentTypesForPredefinedPropertiesMapper } from "./mapper/equipmentTypesForPredefinedPropertiesMapper.js";
|
|
17
17
|
import { copyToClipboard } from "./navigator-clipboard.js";
|
|
18
|
-
import { NotificationsUrlKeys, PREFIX_CONFIG_NOTIFICATION_WS, PREFIX_DIRECTORY_NOTIFICATION_WS, PREFIX_STUDY_NOTIFICATION_WS } from "./constants/notificationsProvider.js";
|
|
18
|
+
import { NotificationsUrlKeys, PREFIX_CONFIG_NOTIFICATION_WS, PREFIX_DIRECTORY_NOTIFICATION_WS, PREFIX_MONITOR_NOTIFICATION_WS, PREFIX_STUDY_NOTIFICATION_WS } from "./constants/notificationsProvider.js";
|
|
19
19
|
import { DARK_THEME, LIGHT_THEME, makeComposeClasses, mergeSx, toNestedGlobalSelectors } from "./styles.js";
|
|
20
20
|
import { CustomError } from "./types/CustomError.js";
|
|
21
21
|
import { ProblemDetailError } from "./types/ProblemDetailError.js";
|
|
@@ -112,6 +112,7 @@ export {
|
|
|
112
112
|
PERCENTAGE,
|
|
113
113
|
PREFIX_CONFIG_NOTIFICATION_WS,
|
|
114
114
|
PREFIX_DIRECTORY_NOTIFICATION_WS,
|
|
115
|
+
PREFIX_MONITOR_NOTIFICATION_WS,
|
|
115
116
|
PREFIX_STUDY_NOTIFICATION_WS,
|
|
116
117
|
ParameterType,
|
|
117
118
|
PercentageAdornment,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridsuite/commons-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.205.0",
|
|
4
4
|
"description": "common react components for gridsuite applications",
|
|
5
5
|
"author": "gridsuite team",
|
|
6
6
|
"homepage": "https://github.com/gridsuite",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"@emotion/react": "^11.14.0",
|
|
66
66
|
"@emotion/styled": "^11.14.0",
|
|
67
67
|
"@hookform/resolvers": "^4.0.0",
|
|
68
|
-
"@mui/icons-material": "^5.
|
|
69
|
-
"@mui/lab": "
|
|
70
|
-
"@mui/material": "^5.
|
|
68
|
+
"@mui/icons-material": "^6.5.0",
|
|
69
|
+
"@mui/lab": "6.0.1-beta.36",
|
|
70
|
+
"@mui/material": "^6.5.0",
|
|
71
71
|
"@mui/x-tree-view": "^8.21.0",
|
|
72
72
|
"ag-grid-community": "^33.0.3",
|
|
73
73
|
"ag-grid-react": "^33.0.4",
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"@eslint/js": "^9.38.0",
|
|
92
92
|
"@hookform/resolvers": "^4.1.3",
|
|
93
93
|
"@jest/globals": "^30.1.2",
|
|
94
|
-
"@mui/icons-material": "^5.
|
|
95
|
-
"@mui/lab": "
|
|
96
|
-
"@mui/material": "^5.
|
|
94
|
+
"@mui/icons-material": "^6.5.0",
|
|
95
|
+
"@mui/lab": "6.0.1-beta.36",
|
|
96
|
+
"@mui/material": "^6.5.0",
|
|
97
97
|
"@react-hook/window-size": "^3.1.1",
|
|
98
98
|
"@stylistic/eslint-plugin": "^3.1.0",
|
|
99
99
|
"@testing-library/jest-dom": "^6.8.0",
|