@gridsuite/commons-ui 0.204.0 → 0.206.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/dist/components/announcement/AnnouncementBanner.d.ts +1 -1
  2. package/dist/components/announcement/AnnouncementBanner.js +3 -2
  3. package/dist/components/announcement/AnnouncementNotification.d.ts +1 -1
  4. package/dist/components/announcement/useGlobalAnnouncement.d.ts +1 -1
  5. package/dist/components/authentication/SignInCallbackHandler.d.ts +1 -1
  6. package/dist/components/authentication/SilentRenewCallbackHandler.d.ts +1 -1
  7. package/dist/components/authentication/authenticationType.d.ts +1 -1
  8. package/dist/components/authentication/utils/authService.d.ts +1 -6
  9. package/dist/components/authentication/utils/authService.js +18 -9
  10. package/dist/components/authentication/utils/userManagerMock.d.ts +7 -9
  11. package/dist/components/authentication/utils/userManagerMock.js +23 -27
  12. package/dist/components/customAGGrid/cell-renderers.js +7 -6
  13. package/dist/components/dialogs/elementSaveDialog/ElementSaveDialog.js +1 -0
  14. package/dist/components/dnd-table/dnd-table-add-rows-dialog.js +1 -0
  15. package/dist/components/dnd-table/dnd-table-bottom-left-buttons.js +4 -5
  16. package/dist/components/dnd-table/dnd-table-bottom-right-buttons.js +6 -9
  17. package/dist/components/dnd-table/dnd-table.js +4 -3
  18. package/dist/components/dnd-table-v2/deletable-table-row.js +3 -2
  19. package/dist/components/dnd-table-v2/dnd-table-add-rows-dialog.js +1 -0
  20. package/dist/components/dnd-table-v2/dnd-table-bottom-left-buttons.js +4 -5
  21. package/dist/components/dnd-table-v2/dnd-table-bottom-right-buttons.js +6 -9
  22. package/dist/components/dnd-table-v2/dnd-table-row.js +3 -3
  23. package/dist/components/dnd-table-v2/dnd-table.js +4 -2
  24. package/dist/components/filter/HeaderFilterForm.js +1 -0
  25. package/dist/components/filter/expert/ExpertFilterForm.js +1 -0
  26. package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.js +1 -0
  27. package/dist/components/flatParameters/FlatParameters.js +3 -3
  28. package/dist/components/grid/grid-item.d.ts +2 -2
  29. package/dist/components/grid/grid-item.js +3 -2
  30. package/dist/components/icons/ArrowsInputIcon.d.ts +2 -0
  31. package/dist/components/icons/ArrowsInputIcon.js +9 -0
  32. package/dist/components/icons/index.d.ts +1 -0
  33. package/dist/components/icons/index.js +2 -0
  34. package/dist/components/index.d.ts +1 -0
  35. package/dist/components/index.js +4 -0
  36. package/dist/components/inputs/ActivableChip.js +3 -2
  37. package/dist/components/inputs/reactHookForm/DirectoryItemsInput.js +3 -2
  38. package/dist/components/inputs/reactHookForm/agGridTable/BottomRightButtons.js +3 -3
  39. package/dist/components/inputs/reactHookForm/expandableInput/DeletableRow.js +3 -2
  40. package/dist/components/inputs/reactHookForm/text/DescriptionInput.js +4 -2
  41. package/dist/components/inputs/reactHookForm/utils/HelperPreviousValue.js +3 -4
  42. package/dist/components/network-modification-table/renderers/name-cell.js +3 -2
  43. package/dist/components/network-modification-table/row/modification-row.js +7 -17
  44. package/dist/components/network-modifications/by-filter/assignment/assignment/assignment-form.js +1 -0
  45. package/dist/components/network-modifications/by-filter/assignment/modification-by-assignment-form.js +1 -0
  46. package/dist/components/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +1 -0
  47. package/dist/components/network-modifications/common/activePowerControl/ActivePowerControlForm.js +4 -2
  48. package/dist/components/network-modifications/common/connectivity/ConnectivityForm.js +1 -0
  49. package/dist/components/network-modifications/common/connectivity/PositionForm.js +4 -2
  50. package/dist/components/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +1 -0
  51. package/dist/components/network-modifications/common/measurements/PowerWithValidityForm.js +1 -0
  52. package/dist/components/network-modifications/common/properties/PropertiesForm.js +1 -0
  53. package/dist/components/network-modifications/common/properties/PropertyForm.js +1 -0
  54. package/dist/components/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +1 -0
  55. package/dist/components/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -0
  56. package/dist/components/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -0
  57. package/dist/components/network-modifications/common/setpoints/SetPointsForm.js +1 -0
  58. package/dist/components/network-modifications/common/shortCircuit/ShortCircuitForm.js +1 -0
  59. package/dist/components/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +1 -0
  60. package/dist/components/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +1 -0
  61. package/dist/components/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +1 -0
  62. package/dist/components/network-modifications/generator/generatorDialog.type.d.ts +9 -1
  63. package/dist/components/network-modifications/generator/modification/generatorModification.types.d.ts +4 -0
  64. package/dist/components/network-modifications/index.js +1 -0
  65. package/dist/components/network-modifications/load/common/LoadDialogHeader.js +1 -0
  66. package/dist/components/network-modifications/load/creation/loadCreation.utils.js +1 -0
  67. package/dist/components/network-modifications/load/modification/loadModification.utils.js +1 -0
  68. package/dist/components/network-modifications/substation/creation/SubstationCreationForm.js +1 -0
  69. package/dist/components/network-modifications/substation/modification/SubstationModificationForm.js +1 -0
  70. package/dist/components/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +1 -0
  71. package/dist/components/network-modifications/voltageLevel/creation/index.js +1 -0
  72. package/dist/components/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +1 -0
  73. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +1 -0
  74. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.js +1 -0
  75. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +1 -0
  76. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/creation/CreateSwitchesDialog.js +1 -0
  77. package/dist/components/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/creation/CreateSwitchesForm.js +1 -0
  78. package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +4 -2
  79. package/dist/components/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +1 -0
  80. package/dist/components/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +1 -0
  81. package/dist/components/network-modifications/voltageLevel/index.js +1 -0
  82. package/dist/components/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +1 -0
  83. package/dist/components/overflowableText/OverflowableText.js +3 -2
  84. package/dist/components/parameters/common/ProviderParam.js +1 -0
  85. package/dist/components/parameters/common/contingency-table/columns-definitions.js +1 -0
  86. package/dist/components/parameters/common/limitreductions/limit-reduction-table-cell.js +4 -2
  87. package/dist/components/parameters/common/limitreductions/limit-reductions-table-form.js +1 -0
  88. package/dist/components/parameters/common/name-element-editor/name-element-editor-utils.js +1 -0
  89. package/dist/components/parameters/common/parameter-field.js +4 -2
  90. package/dist/components/parameters/common/parameter-table/parameter-table.js +3 -2
  91. package/dist/components/parameters/common/parameter-table/table-row.js +3 -2
  92. package/dist/components/parameters/common/parameter-table-field/parameter-table-field.js +4 -3
  93. package/dist/components/parameters/common/parameters-edition-dialog-props.d.ts +1 -1
  94. package/dist/components/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +1 -0
  95. package/dist/components/parameters/common/voltage-level-table/custom-voltage-level-table.js +3 -2
  96. package/dist/components/parameters/common/widget/parameter-float.js +4 -2
  97. package/dist/components/parameters/common/widget/parameter-line-directory-items-input.js +1 -0
  98. package/dist/components/parameters/common/widget/parameter-line-slider.js +1 -0
  99. package/dist/components/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +1 -0
  100. package/dist/components/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +1 -0
  101. package/dist/components/parameters/dynamic-margin-calculation/loads-variations-parameters.js +1 -0
  102. package/dist/components/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +1 -0
  103. package/dist/components/parameters/dynamic-security-analysis/contingency-parameters.js +1 -0
  104. package/dist/components/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +1 -0
  105. package/dist/components/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +1 -0
  106. package/dist/components/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +1 -0
  107. package/dist/components/parameters/dynamic-simulation/curve/common/grid-buttons.js +4 -5
  108. package/dist/components/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.js +4 -5
  109. package/dist/components/parameters/dynamic-simulation/dynamic-simulation-inline.js +1 -0
  110. package/dist/components/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +1 -0
  111. package/dist/components/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +1 -0
  112. package/dist/components/parameters/loadflow/load-flow-general-parameters.js +1 -0
  113. package/dist/components/parameters/loadflow/load-flow-parameters-content.js +1 -0
  114. package/dist/components/parameters/loadflow/load-flow-parameters-dialog.js +1 -0
  115. package/dist/components/parameters/loadflow/load-flow-parameters-form.js +1 -0
  116. package/dist/components/parameters/loadflow/load-flow-parameters-header.js +1 -0
  117. package/dist/components/parameters/loadflow/load-flow-parameters-inline.js +1 -0
  118. package/dist/components/parameters/loadflow/load-flow-parameters-utils.js +1 -0
  119. package/dist/components/parameters/loadflow/use-load-flow-parameters-form.js +1 -0
  120. package/dist/components/parameters/network-visualizations/map-parameters.js +1 -0
  121. package/dist/components/parameters/network-visualizations/network-area-diagram-parameters.js +1 -0
  122. package/dist/components/parameters/network-visualizations/network-visualizations-form.d.ts +1 -1
  123. package/dist/components/parameters/network-visualizations/network-visualizations-form.js +1 -0
  124. package/dist/components/parameters/network-visualizations/network-visualizations-parameters-dialog.js +1 -0
  125. package/dist/components/parameters/network-visualizations/network-visualizations-parameters-inline.d.ts +1 -1
  126. package/dist/components/parameters/network-visualizations/network-visualizations-parameters-inline.js +1 -0
  127. package/dist/components/parameters/network-visualizations/single-line-diagram-parameters.js +1 -0
  128. package/dist/components/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -0
  129. package/dist/components/parameters/pcc-min/pcc-min-form-utils.js +1 -0
  130. package/dist/components/parameters/pcc-min/pcc-min-parameters-dialog.js +1 -0
  131. package/dist/components/parameters/pcc-min/pcc-min-parameters-form.js +1 -0
  132. package/dist/components/parameters/pcc-min/pcc-min-parameters-inline.js +1 -0
  133. package/dist/components/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -0
  134. package/dist/components/parameters/security-analysis/columns-definitions.js +1 -0
  135. package/dist/components/parameters/security-analysis/security-analysis-parameters-dialog.js +1 -0
  136. package/dist/components/parameters/security-analysis/security-analysis-parameters-form.js +1 -0
  137. package/dist/components/parameters/security-analysis/security-analysis-parameters-inline.js +1 -0
  138. package/dist/components/parameters/security-analysis/security-analysis-parameters-selector.js +1 -0
  139. package/dist/components/parameters/security-analysis/security-analysis-violations-hiding.js +5 -4
  140. package/dist/components/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -0
  141. package/dist/components/parameters/sensi/columns-definitions.js +1 -0
  142. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.js +1 -0
  143. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-form.js +1 -0
  144. package/dist/components/parameters/sensi/sensitivity-analysis-parameters-inline.js +1 -0
  145. package/dist/components/parameters/sensi/sensitivity-parameters-fields.js +1 -0
  146. package/dist/components/parameters/sensi/sensitivity-parameters-selector.js +1 -0
  147. package/dist/components/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -0
  148. package/dist/components/parameters/sensi/utils.js +1 -0
  149. package/dist/components/parameters/short-circuit/short-circuit-general-tab-panel.js +1 -0
  150. package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +1 -0
  151. package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table-row.js +3 -2
  152. package/dist/components/parameters/short-circuit/short-circuit-icc-cluster-table.js +4 -3
  153. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table-cell.js +1 -0
  154. package/dist/components/parameters/short-circuit/short-circuit-icc-material-table.js +3 -2
  155. package/dist/components/parameters/short-circuit/short-circuit-parameters-content.js +1 -0
  156. package/dist/components/parameters/short-circuit/short-circuit-parameters-dialog.js +1 -0
  157. package/dist/components/parameters/short-circuit/short-circuit-parameters-form.js +1 -0
  158. package/dist/components/parameters/short-circuit/short-circuit-parameters-inline.js +1 -0
  159. package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.js +1 -0
  160. package/dist/components/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +1 -0
  161. package/dist/components/parameters/short-circuit/short-circuit-study-area-tab-panel.js +1 -0
  162. package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.js +1 -0
  163. package/dist/components/parameters/voltage-init/equipment-selection-parameters.js +1 -0
  164. package/dist/components/parameters/voltage-init/general-parameters.js +1 -0
  165. package/dist/components/parameters/voltage-init/use-voltage-init-parameters-form.js +1 -0
  166. package/dist/components/parameters/voltage-init/voltage-init-form-utils.js +1 -0
  167. package/dist/components/parameters/voltage-init/voltage-init-parameters-dialog.js +1 -0
  168. package/dist/components/parameters/voltage-init/voltage-init-parameters-form.js +1 -0
  169. package/dist/components/parameters/voltage-init/voltage-init-parameters-inline.js +1 -0
  170. package/dist/components/parameters/voltage-init/voltage-limits-parameters.js +4 -3
  171. package/dist/components/tooltip/CustomTooltip.d.ts +2 -0
  172. package/dist/components/tooltip/CustomTooltip.js +9 -0
  173. package/dist/components/tooltip/index.d.ts +1 -0
  174. package/dist/components/tooltip/index.js +4 -0
  175. package/dist/components/topBar/AboutDialog.d.ts +1 -1
  176. package/dist/components/topBar/AboutDialog.js +18 -12
  177. package/dist/components/topBar/TopBar.d.ts +1 -1
  178. package/dist/components/topBar/UserInformationDialog.d.ts +1 -1
  179. package/dist/hooks/use-parameters-backend.d.ts +1 -1
  180. package/dist/index.js +6 -1
  181. package/dist/redux/actions/authActions.d.ts +1 -1
  182. package/dist/redux/commonStore.d.ts +1 -1
  183. package/dist/utils/constants/notificationsProvider.d.ts +3 -1
  184. package/dist/utils/constants/notificationsProvider.js +3 -0
  185. package/dist/utils/index.js +2 -1
  186. package/package.json +8 -8
@@ -1,9 +1,10 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { TableRow, TableCell, Tooltip, IconButton } from "@mui/material";
2
+ import { TableRow, TableCell, IconButton } from "@mui/material";
3
3
  import { Delete } from "@mui/icons-material";
4
4
  import { useWatch } from "react-hook-form";
5
5
  import { useState } from "react";
6
6
  import { FormattedMessage } from "react-intl";
7
+ import { CustomTooltip } from "../../tooltip/CustomTooltip.js";
7
8
  import { SHORT_CIRCUIT_ICC_CLUSTER_ACTIVE } from "./columns-definition.js";
8
9
  import { ShortCircuitIccClusterTableCell } from "./short-circuit-icc-cluster-table-cell.js";
9
10
  function ShortCircuitIccClusterTableRow({
@@ -27,7 +28,7 @@ function ShortCircuitIccClusterTableRow({
27
28
  },
28
29
  `${column.dataKey}`
29
30
  )),
30
- /* @__PURE__ */ jsx(TableCell, { align: "center", children: isHover && /* @__PURE__ */ jsx(Tooltip, { title: /* @__PURE__ */ jsx(FormattedMessage, { id: "DeleteRows" }), children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: () => onDeleteButton(index), children: /* @__PURE__ */ jsx(Delete, { fontSize: "small" }) }) }) })
31
+ /* @__PURE__ */ jsx(TableCell, { align: "center", children: isHover && /* @__PURE__ */ jsx(CustomTooltip, { title: /* @__PURE__ */ jsx(FormattedMessage, { id: "DeleteRows" }), children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: () => onDeleteButton(index), children: /* @__PURE__ */ jsx(Delete, { fontSize: "small" }) }) }) })
31
32
  ] });
32
33
  }
33
34
  export {
@@ -1,9 +1,10 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { TableContainer, Table, TableHead, TableRow, Tooltip, TableCell, IconButton, TableBody } from "@mui/material";
2
+ import { TableContainer, Table, TableHead, TableRow, TableCell, IconButton, TableBody } from "@mui/material";
3
3
  import { AddCircle } from "@mui/icons-material";
4
4
  import { useFieldArray } from "react-hook-form";
5
5
  import { FormattedMessage } from "react-intl";
6
6
  import { useCallback } from "react";
7
+ import { CustomTooltip } from "../../tooltip/CustomTooltip.js";
7
8
  import { ShortCircuitIccClusterTableRow } from "./short-circuit-icc-cluster-table-row.js";
8
9
  const styles = {
9
10
  tableContainer: (theme) => ({
@@ -39,8 +40,8 @@ function ShortCircuitIccClusterTable({
39
40
  );
40
41
  return /* @__PURE__ */ jsx(TableContainer, { sx: styles.tableContainer, children: /* @__PURE__ */ jsxs(Table, { stickyHeader: true, size: "small", sx: styles.table, children: [
41
42
  /* @__PURE__ */ jsx(TableHead, { children: /* @__PURE__ */ jsxs(TableRow, { children: [
42
- columnsDefinition.map((column) => /* @__PURE__ */ jsx(Tooltip, { title: column.tooltip, children: /* @__PURE__ */ jsx(TableCell, { align: "center", sx: { width: column.width }, children: column.label }) }, column.dataKey)),
43
- /* @__PURE__ */ jsx(TableCell, { align: "center", sx: { width: "5%" }, children: /* @__PURE__ */ jsx(Tooltip, { title: /* @__PURE__ */ jsx(FormattedMessage, { id: "AddRows" }), children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(IconButton, { size: "small", disabled: false, onClick: handleAddRowsButton, children: /* @__PURE__ */ jsx(AddCircle, { fontSize: "small" }) }) }) }) })
43
+ columnsDefinition.map((column) => /* @__PURE__ */ jsx(CustomTooltip, { title: column.tooltip, children: /* @__PURE__ */ jsx(TableCell, { align: "center", sx: { width: column.width }, children: column.label }) }, column.dataKey)),
44
+ /* @__PURE__ */ jsx(TableCell, { align: "center", sx: { width: "5%" }, children: /* @__PURE__ */ jsx(CustomTooltip, { title: /* @__PURE__ */ jsx(FormattedMessage, { id: "AddRows" }), children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(IconButton, { size: "small", disabled: false, onClick: handleAddRowsButton, children: /* @__PURE__ */ jsx(AddCircle, { fontSize: "small" }) }) }) }) })
44
45
  ] }) }),
45
46
  /* @__PURE__ */ jsx(TableBody, { children: rows.map((row, index) => /* @__PURE__ */ jsx(
46
47
  ShortCircuitIccClusterTableRow,
@@ -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";
@@ -1,6 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { TableContainer, Table, TableHead, TableRow, Tooltip, TableCell, TableBody } from "@mui/material";
2
+ import { TableContainer, Table, TableHead, TableRow, TableCell, TableBody } from "@mui/material";
3
3
  import { useFieldArray } from "react-hook-form";
4
+ import { CustomTooltip } from "../../tooltip/CustomTooltip.js";
4
5
  import { ShortCircuitIccMaterialTableRow } from "./short-circuit-icc-material-table-row.js";
5
6
  const styles = {
6
7
  tableContainer: (theme) => ({
@@ -23,7 +24,7 @@ function ShortCircuitIccMaterialTable({
23
24
  });
24
25
  return /* @__PURE__ */ jsx(TableContainer, { sx: styles.tableContainer, children: /* @__PURE__ */ jsxs(Table, { stickyHeader: true, size: "small", sx: styles.table, children: [
25
26
  /* @__PURE__ */ jsx(TableHead, { children: /* @__PURE__ */ jsxs(TableRow, { children: [
26
- columnsDefinition.map((column) => /* @__PURE__ */ jsx(Tooltip, { title: column.tooltip, children: /* @__PURE__ */ jsx(TableCell, { align: "center", sx: { width: column.width }, children: column.label }) }, column.dataKey)),
27
+ columnsDefinition.map((column) => /* @__PURE__ */ jsx(CustomTooltip, { title: column.tooltip, children: /* @__PURE__ */ jsx(TableCell, { align: "center", sx: { width: column.width }, children: column.label }) }, column.dataKey)),
27
28
  /* @__PURE__ */ jsx(TableCell, { align: "center", sx: { visibility: "hidden", width: "5%" } })
28
29
  ] }) }),
29
30
  /* @__PURE__ */ jsx(TableBody, { children: rows.map((row, index) => /* @__PURE__ */ jsx(
@@ -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";
@@ -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";
@@ -1,8 +1,9 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
3
  import { Info } from "@mui/icons-material";
4
- import { Tooltip, Grid } from "@mui/material";
4
+ import { Grid } from "@mui/material";
5
5
  import { useIntl } from "react-intl";
6
+ import { CustomTooltip } from "../../tooltip/CustomTooltip.js";
6
7
  import { LOW_VOLTAGE_LIMIT, HIGH_VOLTAGE_LIMIT, VOLTAGE_LIMITS_MODIFICATION, VOLTAGE_LIMITS_DEFAULT } from "./constants.js";
7
8
  import { VoltageAdornment } from "../../../utils/constants/adornments.js";
8
9
  import { FILTERS } from "../../../utils/constants/filterConstant.js";
@@ -30,6 +31,7 @@ import "react-csv-downloader";
30
31
  import "../../inputs/reactHookForm/numbers/RangeInput.js";
31
32
  import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
32
33
  import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
34
+ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
33
35
  import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
34
36
  import "@material-symbols/svg-400/outlined/add_notes.svg?react";
35
37
  import "../../dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
@@ -45,12 +47,11 @@ function VoltageLimitsParameters() {
45
47
  const intl = useIntl();
46
48
  const VoltageLevelFilterTooltip = useMemo(() => {
47
49
  return /* @__PURE__ */ jsx(
48
- Tooltip,
50
+ CustomTooltip,
49
51
  {
50
52
  title: intl.formatMessage({
51
53
  id: "VoltageLevelFilterTooltip"
52
54
  }),
53
- placement: "right-start",
54
55
  sx: { marginLeft: 1 },
55
56
  children: /* @__PURE__ */ jsx(Info, {})
56
57
  }
@@ -0,0 +1,2 @@
1
+ import { TooltipProps } from '@mui/material';
2
+ export declare function CustomTooltip(props: Readonly<TooltipProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { Tooltip } from "@mui/material";
3
+ function CustomTooltip(props) {
4
+ const { children, ...tooltipProps } = props;
5
+ return /* @__PURE__ */ jsx(Tooltip, { arrow: true, enterDelay: 250, ...tooltipProps, children });
6
+ }
7
+ export {
8
+ CustomTooltip
9
+ };
@@ -0,0 +1 @@
1
+ export * from './CustomTooltip';
@@ -0,0 +1,4 @@
1
+ import { CustomTooltip } from "./CustomTooltip.js";
2
+ export {
3
+ CustomTooltip
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  declare const moduleTypeSort: {
3
- app: number;
3
+ apps: number;
4
4
  server: number;
5
5
  other: number;
6
6
  };
@@ -1,10 +1,12 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useState, useEffect, useCallback } from "react";
3
- import { useTheme, Dialog, useMediaQuery, DialogTitle, Collapse, Alert, Box, Fade, CircularProgress, Typography, DialogContent, Accordion, AccordionSummary, AccordionDetails, Grid, DialogActions, Button, Tooltip, Zoom, Stack, tooltipClasses } from "@mui/material";
3
+ import { useTheme, Dialog, useMediaQuery, DialogTitle, Collapse, Alert, Box, Fade, CircularProgress, Typography, DialogContent, Accordion, AccordionSummary, AccordionDetails, Grid, DialogActions, Button, Zoom, Stack, tooltipClasses } from "@mui/material";
4
4
  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
+ import { CustomTooltip } from "../tooltip/CustomTooltip.js";
7
8
  import { LogoText } from "./GridLogo.js";
9
+ import { mergeSx } from "../../utils/styles.js";
8
10
  const styles = {
9
11
  general: {
10
12
  ".MuiAccordion-root": {
@@ -58,7 +60,7 @@ function getGlobalVersion(fnPromise, type, setData, setLoader) {
58
60
  return Promise.resolve(null);
59
61
  }
60
62
  const moduleTypeSort = {
61
- app: 1,
63
+ apps: 1,
62
64
  server: 10,
63
65
  other: 20
64
66
  };
@@ -100,7 +102,7 @@ const moduleStyles = {
100
102
  }
101
103
  };
102
104
  const ModuleTypesIcons = {
103
- app: /* @__PURE__ */ jsx(WidgetsOutlined, { sx: moduleStyles.icons, fontSize: "small", color: "primary" }),
105
+ apps: /* @__PURE__ */ jsx(WidgetsOutlined, { sx: moduleStyles.icons, fontSize: "small", color: "primary" }),
104
106
  server: /* @__PURE__ */ jsx(DnsOutlined, { sx: moduleStyles.icons, fontSize: "small", color: "secondary" }),
105
107
  other: /* @__PURE__ */ jsx(QuestionMark, { sx: moduleStyles.icons, fontSize: "small" })
106
108
  };
@@ -110,7 +112,7 @@ function insensitiveCaseCompare(str, obj) {
110
112
  });
111
113
  }
112
114
  function tooltipTypeLabel(type) {
113
- if (insensitiveCaseCompare("app", type) === 0) {
115
+ if (insensitiveCaseCompare("apps", type) === 0) {
114
116
  return "about-dialog/module-tooltip-app";
115
117
  }
116
118
  if (insensitiveCaseCompare("server", type) === 0) {
@@ -132,14 +134,11 @@ function Module({ type, name, version, gitTag }) {
132
134
  }
133
135
  },
134
136
  children: /* @__PURE__ */ jsx(
135
- Tooltip,
137
+ CustomTooltip,
136
138
  {
137
139
  TransitionComponent: Zoom,
138
- enterDelay: 2500,
139
140
  enterNextDelay: 350,
140
141
  leaveDelay: 200,
141
- placement: "bottom-start",
142
- arrow: true,
143
142
  sx: moduleStyles.tooltip,
144
143
  title: /* @__PURE__ */ jsxs(Fragment, { children: [
145
144
  /* @__PURE__ */ jsx(Typography, { variant: "body1", children: name || "<?>" }),
@@ -163,10 +162,11 @@ function Module({ type, name, version, gitTag }) {
163
162
  Typography,
164
163
  {
165
164
  variant: "caption",
166
- color: (theme) => theme.palette.text.secondary,
165
+ sx: mergeSx(moduleStyles.version, (theme) => ({
166
+ color: theme.palette.text.secondary
167
+ })),
167
168
  display: "inline",
168
169
  noWrap: true,
169
- sx: moduleStyles.version,
170
170
  children: gitTag || version || null
171
171
  }
172
172
  )
@@ -212,7 +212,7 @@ function AboutDialog({
212
212
  if (open) {
213
213
  const currentApp = {
214
214
  name: `Grid${appName}`,
215
- type: "app",
215
+ type: "apps",
216
216
  version: appVersion,
217
217
  gitTag: appGitTag
218
218
  // license: appLicense,
@@ -330,7 +330,13 @@ function AboutDialog({
330
330
  gitTag: module.gitTag
331
331
  },
332
332
  `module-${idx}`
333
- )) }) || /* @__PURE__ */ jsx(Typography, { color: (selectedTheme) => selectedTheme.palette.error.main, children: "Error" }) }) })
333
+ )) }) || /* @__PURE__ */ jsx(
334
+ Typography,
335
+ {
336
+ sx: { color: (selectedTheme) => selectedTheme.palette.error.main },
337
+ children: "Error"
338
+ }
339
+ ) }) })
334
340
  ] })
335
341
  ] }) }),
336
342
  /* @__PURE__ */ jsx(DialogActions, { children: /* @__PURE__ */ jsx(Button, { onClick: handleClose, autoFocus: true, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "close" }) }) })
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren, ReactNode } from 'react';
2
- import { User } from 'oidc-client';
2
+ import { User } from 'oidc-client-ts';
3
3
  import { GridLogoProps } from './GridLogo';
4
4
  import { AboutDialogProps } from './AboutDialog';
5
5
  import { LogoutProps } from '../authentication/Logout';
@@ -1,4 +1,4 @@
1
- import { User } from 'oidc-client';
1
+ import { User } from 'oidc-client-ts';
2
2
  interface UserInformationDialogProps {
3
3
  openDialog: boolean;
4
4
  onClose: () => void;
@@ -1,5 +1,5 @@
1
1
  import { UUID } from 'node:crypto';
2
- import { User } from 'oidc-client';
2
+ import { User } from 'oidc-client-ts';
3
3
  import { ComputingType } from '../components/parameters/common/computing-type';
4
4
  import { BackendFunctions, UseParametersBackendReturnProps } from '../utils/types/parameters.type';
5
5
  export declare enum OptionalServicesStatus {
package/dist/index.js CHANGED
@@ -56,6 +56,7 @@ import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS } from "./components/fil
56
56
  import { FlatParameters, extractDefault } from "./components/flatParameters/FlatParameters.js";
57
57
  import "react/jsx-runtime";
58
58
  import "@mui/material";
59
+ import { CustomTooltip } from "./components/tooltip/CustomTooltip.js";
59
60
  import "react-intl";
60
61
  import { SelectClearable } from "./components/inputs/SelectClearable.js";
61
62
  import { OverflowableChip } from "./components/inputs/reactHookForm/OverflowableChip.js";
@@ -139,6 +140,7 @@ import { useNotificationsListener } from "./components/notifications/hooks/useNo
139
140
  import { useListenerManager } from "./components/notifications/hooks/useListenerManager.js";
140
141
  import { LeftPanelOpenIcon } from "./components/icons/LeftPanelOpenIcon.js";
141
142
  import { ArrowsOutputIcon } from "./components/icons/ArrowsOutputIcon.js";
143
+ import { ArrowsInputIcon } from "./components/icons/ArrowsInputIcon.js";
142
144
  import { LeftPanelCloseIcon } from "./components/icons/LeftPanelCloseIcon.js";
143
145
  import { EditNoteIcon } from "./components/icons/EditNoteIcon.js";
144
146
  import { ComputingType, formatComputingTypeLabel, isValidComputingType } from "./components/parameters/common/computing-type.js";
@@ -248,7 +250,7 @@ import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM } from "./utils/langs.js";
248
250
  import { getFileIcon } from "./utils/mapper/getFileIcon.js";
249
251
  import { equipmentTypesForPredefinedPropertiesMapper } from "./utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js";
250
252
  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";
253
+ import { NotificationsUrlKeys, PREFIX_CONFIG_NOTIFICATION_WS, PREFIX_DIRECTORY_NOTIFICATION_WS, PREFIX_MONITOR_NOTIFICATION_WS, PREFIX_STUDY_NOTIFICATION_WS } from "./utils/constants/notificationsProvider.js";
252
254
  import { DARK_THEME, LIGHT_THEME, makeComposeClasses, mergeSx, toNestedGlobalSelectors } from "./utils/styles.js";
253
255
  import { CustomError } from "./utils/types/CustomError.js";
254
256
  import { ProblemDetailError } from "./utils/types/ProblemDetailError.js";
@@ -414,6 +416,7 @@ export {
414
416
  AnnouncementNotification,
415
417
  AnnouncementSeverity,
416
418
  ArrayAction,
419
+ ArrowsInputIcon,
417
420
  ArrowsOutputIcon,
418
421
  DataType2 as AssignmentDataType,
419
422
  AuthenticationRouter,
@@ -490,6 +493,7 @@ export {
490
493
  CustomMuiDialog,
491
494
  CustomNestedMenuItem,
492
495
  CustomReactQueryBuilder,
496
+ CustomTooltip,
493
497
  CustomVoltageLevelTable,
494
498
  CustomVoltageLevelTableCell,
495
499
  CustomVoltageLevelTableRow,
@@ -745,6 +749,7 @@ export {
745
749
  PHASE_SHIFTER_REGULATION_ON,
746
750
  PREFIX_CONFIG_NOTIFICATION_WS,
747
751
  PREFIX_DIRECTORY_NOTIFICATION_WS,
752
+ PREFIX_MONITOR_NOTIFICATION_WS,
748
753
  PREFIX_STUDY_NOTIFICATION_WS,
749
754
  PREFIX_STUDY_QUERIES,
750
755
  PRIORITY,
@@ -1,4 +1,4 @@
1
- import { User } from 'oidc-client';
1
+ import { User } from 'oidc-client-ts';
2
2
  export interface Action<T> {
3
3
  type: T;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { User } from 'oidc-client';
1
+ import { User } from 'oidc-client-ts';
2
2
  export type CommonStoreState = {
3
3
  user: User | null;
4
4
  };
@@ -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
  };
@@ -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.204.0",
3
+ "version": "0.206.0",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",
@@ -47,7 +47,7 @@
47
47
  "jwt-decode": "^4.0.0",
48
48
  "localized-countries": "^2.0.0",
49
49
  "mui-nested-menu": "^4.0.1",
50
- "oidc-client": "^1.11.5",
50
+ "oidc-client-ts": "^3.5.0",
51
51
  "prop-types": "^15.8.1",
52
52
  "react-csv-downloader": "^3.3.0",
53
53
  "react-dnd": "^16.0.1",
@@ -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.16.14",
69
- "@mui/lab": "5.0.0-alpha.175",
70
- "@mui/material": "^5.16.14",
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.18.0",
95
- "@mui/lab": "5.0.0-alpha.175",
96
- "@mui/material": "^5.18.0",
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",