@gridsuite/commons-ui 0.238.0 → 0.240.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 (614) hide show
  1. package/README.md +6 -2
  2. package/dist/components/composite/agGridTable/BottomTableButtons.d.ts +1 -1
  3. package/dist/components/composite/agGridTable/CustomAgGridTable.js +7 -1
  4. package/dist/components/composite/agGridTable/cellEditors/numericEditor.d.ts +9 -3
  5. package/dist/components/composite/agGridTable/cellEditors/numericEditor.js +24 -5
  6. package/dist/components/composite/customAGGrid/cell-renderers.d.ts +8 -8
  7. package/dist/components/composite/customAGGrid/cell-renderers.js +1 -1
  8. package/dist/components/composite/customAGGrid/context/custom-aggrid-context.d.ts +13 -0
  9. package/dist/components/composite/customAGGrid/context/custom-aggrid-context.js +23 -0
  10. package/dist/components/composite/customAGGrid/context/index.d.ts +7 -0
  11. package/dist/components/composite/customAGGrid/context/index.js +7 -0
  12. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-autocomplete-filter.d.ts +7 -0
  13. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-autocomplete-filter.js +74 -0
  14. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-filter.d.ts +2 -0
  15. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-filter.js +52 -0
  16. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-selector.d.ts +9 -0
  17. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-selector.js +18 -0
  18. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-filter.d.ts +11 -0
  19. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-filter.js +77 -0
  20. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.d.ts +10 -0
  21. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.js +59 -0
  22. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-filter-icon.d.ts +8 -0
  23. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-filter-icon.js +22 -0
  24. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/index.d.ts +8 -0
  25. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/index.js +6 -0
  26. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-column-filter.d.ts +7 -0
  27. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-column-filter.js +111 -0
  28. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-comparator-filter.d.ts +12 -0
  29. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-comparator-filter.js +65 -0
  30. package/dist/components/composite/customAGGrid/custom-aggrid-filters/index.d.ts +14 -0
  31. package/dist/components/composite/customAGGrid/custom-aggrid-filters/index.js +21 -0
  32. package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/filter-tolerance-utils.d.ts +7 -0
  33. package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/filter-tolerance-utils.js +79 -0
  34. package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/index.d.ts +7 -0
  35. package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/index.js +5 -0
  36. package/dist/components/composite/customAGGrid/custom-aggrid-header.d.ts +15 -0
  37. package/dist/components/composite/customAGGrid/custom-aggrid-header.js +96 -0
  38. package/dist/components/composite/customAGGrid/custom-aggrid-menu.d.ts +11 -0
  39. package/dist/components/composite/customAGGrid/custom-aggrid-menu.js +20 -0
  40. package/dist/components/composite/customAGGrid/custom-aggrid-sort.d.ts +8 -0
  41. package/dist/components/composite/customAGGrid/custom-aggrid-sort.js +21 -0
  42. package/dist/components/composite/customAGGrid/custom-aggrid-types.d.ts +122 -0
  43. package/dist/components/composite/customAGGrid/custom-aggrid-types.js +60 -0
  44. package/dist/components/composite/customAGGrid/display-rounding.d.ts +9 -0
  45. package/dist/components/composite/customAGGrid/display-rounding.js +33 -0
  46. package/dist/components/composite/customAGGrid/hooks/index.d.ts +7 -0
  47. package/dist/components/composite/customAGGrid/hooks/index.js +4 -0
  48. package/dist/components/composite/customAGGrid/hooks/use-custom-aggrid-sort.d.ts +6 -0
  49. package/dist/components/composite/customAGGrid/hooks/use-custom-aggrid-sort.js +43 -0
  50. package/dist/components/composite/customAGGrid/index.d.ts +9 -0
  51. package/dist/components/composite/customAGGrid/index.js +45 -1
  52. package/dist/components/composite/customAGGrid/separatorCellRenderer.d.ts +1 -1
  53. package/dist/components/composite/customAGGrid/utils/custom-aggrid-header-utils.d.ts +166 -0
  54. package/dist/components/composite/customAGGrid/utils/custom-aggrid-header-utils.js +54 -0
  55. package/dist/components/composite/customAGGrid/utils/index.d.ts +7 -0
  56. package/dist/components/composite/customAGGrid/utils/index.js +4 -0
  57. package/dist/components/composite/dnd-table/deletable-table-row.d.ts +1 -1
  58. package/dist/components/composite/dnd-table/dnd-table-add-rows-dialog.d.ts +1 -1
  59. package/dist/components/composite/dnd-table/dnd-table-bottom-left-buttons.d.ts +1 -1
  60. package/dist/components/composite/dnd-table/dnd-table-bottom-left-buttons.js +4 -4
  61. package/dist/components/composite/dnd-table/dnd-table-bottom-right-buttons.d.ts +1 -1
  62. package/dist/components/composite/dnd-table/dnd-table-bottom-right-buttons.js +6 -6
  63. package/dist/components/composite/dnd-table/dnd-table-row.d.ts +1 -1
  64. package/dist/components/composite/dnd-table/dnd-table.d.ts +1 -1
  65. package/dist/components/composite/dnd-table/dnd-table.js +4 -4
  66. package/dist/components/composite/elementSearch/elementItem/EquipmentItem.d.ts +1 -1
  67. package/dist/components/composite/elementSearch/elementSearchDialog/ElementSearchDialog.d.ts +1 -1
  68. package/dist/components/composite/elementSearch/elementSearchInput/ElementSearchInput.d.ts +1 -1
  69. package/dist/components/composite/elementSearch/tagRenderer/TagRenderer.d.ts +1 -1
  70. package/dist/components/composite/filter/FilterCreationDialog.d.ts +1 -1
  71. package/dist/components/composite/filter/FilterCreationDialog.js +1 -1
  72. package/dist/components/composite/filter/FilterForm.d.ts +1 -1
  73. package/dist/components/composite/filter/HeaderFilterForm.d.ts +1 -1
  74. package/dist/components/composite/filter/HeaderFilterForm.js +4 -4
  75. package/dist/components/composite/filter/expert/ExpertFilterEditionDialog.d.ts +1 -1
  76. package/dist/components/composite/filter/expert/ExpertFilterForm.d.ts +1 -1
  77. package/dist/components/composite/filter/expert/expertFilterConstants.js +1 -1
  78. package/dist/components/composite/filter/expert/expertFilterUtils.js +1 -1
  79. package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterEditionDialog.d.ts +1 -1
  80. package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.d.ts +2 -2
  81. package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +2 -4
  82. package/dist/components/composite/filter/utils/filterApi.js +1 -1
  83. package/dist/components/composite/flatParameters/FlatParameters.d.ts +1 -1
  84. package/dist/components/composite/grid/grid-item.d.ts +4 -3
  85. package/dist/components/composite/grid/grid-item.js +8 -4
  86. package/dist/components/composite/grid/grid-section.d.ts +1 -1
  87. package/dist/components/composite/grid/grid-section.js +3 -3
  88. package/dist/components/composite/grid/index.js +6 -3
  89. package/dist/components/composite/index.d.ts +1 -0
  90. package/dist/components/composite/index.js +71 -3
  91. package/dist/components/composite/muiTable/OverflowableTableCell.d.ts +1 -1
  92. package/dist/components/composite/muiTable/OverflowableTableCellWithCheckbox.d.ts +1 -1
  93. package/dist/components/composite/reactQueryBuilder/AddButton.d.ts +1 -1
  94. package/dist/components/composite/reactQueryBuilder/AutocompleteWithFavorites.d.ts +1 -1
  95. package/dist/components/composite/reactQueryBuilder/CombinatorSelector.d.ts +1 -1
  96. package/dist/components/composite/reactQueryBuilder/CountryValueEditor.d.ts +1 -1
  97. package/dist/components/composite/reactQueryBuilder/CustomReactQueryBuilder.d.ts +1 -1
  98. package/dist/components/composite/reactQueryBuilder/ElementValueEditor.d.ts +1 -1
  99. package/dist/components/composite/reactQueryBuilder/FieldSelector.d.ts +1 -1
  100. package/dist/components/composite/reactQueryBuilder/OperatorSelector.d.ts +1 -1
  101. package/dist/components/composite/reactQueryBuilder/PropertyValueEditor.d.ts +1 -1
  102. package/dist/components/composite/reactQueryBuilder/PropertyValueEditor.js +5 -5
  103. package/dist/components/composite/reactQueryBuilder/RemoveButton.d.ts +1 -1
  104. package/dist/components/composite/reactQueryBuilder/TextValueEditor.d.ts +1 -1
  105. package/dist/components/composite/reactQueryBuilder/TranslatedValueEditor.d.ts +1 -1
  106. package/dist/components/composite/reactQueryBuilder/ValueEditor.d.ts +1 -1
  107. package/dist/components/composite/reactQueryBuilder/ValueSelector.d.ts +1 -1
  108. package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +1 -1
  109. package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js +2 -2
  110. package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +1 -1
  111. package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js +5 -5
  112. package/dist/components/composite/report/QuickSearch.d.ts +14 -0
  113. package/dist/components/composite/report/QuickSearch.js +118 -0
  114. package/dist/components/composite/report/index.d.ts +12 -0
  115. package/dist/components/composite/report/index.js +25 -0
  116. package/dist/components/composite/report/report-log.mapper.d.ts +2 -0
  117. package/dist/components/composite/report/report-log.mapper.js +22 -0
  118. package/dist/components/composite/report/report-severity.d.ts +5 -0
  119. package/dist/components/composite/report/report-severity.js +89 -0
  120. package/dist/components/composite/report/report-treeview/hooks/index.d.ts +7 -0
  121. package/dist/components/composite/report/report-treeview/hooks/index.js +4 -0
  122. package/dist/components/composite/report/report-treeview/hooks/use-treeview-scroll.d.ts +4 -0
  123. package/dist/components/composite/report/report-treeview/hooks/use-treeview-scroll.js +19 -0
  124. package/dist/components/composite/report/report-treeview/index.d.ts +10 -0
  125. package/dist/components/composite/report/report-treeview/index.js +10 -0
  126. package/dist/components/composite/report/report-treeview/report-tree.mapper.d.ts +2 -0
  127. package/dist/components/composite/report/report-treeview/report-tree.mapper.js +16 -0
  128. package/dist/components/composite/report/report-treeview/treeview-item.d.ts +28 -0
  129. package/dist/components/composite/report/report-treeview/treeview-item.js +131 -0
  130. package/dist/components/composite/report/report-treeview/virtualized-treeview.d.ts +11 -0
  131. package/dist/components/composite/report/report-treeview/virtualized-treeview.js +177 -0
  132. package/dist/components/composite/report/report-viewer/context/index.d.ts +7 -0
  133. package/dist/components/composite/report/report-viewer/context/index.js +7 -0
  134. package/dist/components/composite/report/report-viewer/context/report-viewer-context.d.ts +16 -0
  135. package/dist/components/composite/report/report-viewer/context/report-viewer-context.js +23 -0
  136. package/dist/components/composite/report/report-viewer/index.d.ts +9 -0
  137. package/dist/components/composite/report/report-viewer/index.js +11 -0
  138. package/dist/components/composite/report/report-viewer/log-table/index.d.ts +7 -0
  139. package/dist/components/composite/report/report-viewer/log-table/index.js +4 -0
  140. package/dist/components/composite/report/report-viewer/log-table/log-table.d.ts +12 -0
  141. package/dist/components/composite/report/report-viewer/log-table/log-table.js +423 -0
  142. package/dist/components/composite/report/report-viewer/report-viewer.d.ts +8 -0
  143. package/dist/components/composite/report/report-viewer/report-viewer.js +114 -0
  144. package/dist/components/composite/report/report.constant.d.ts +8 -0
  145. package/dist/components/composite/report/report.constant.js +6 -0
  146. package/dist/components/composite/report/report.styles.d.ts +10 -0
  147. package/dist/components/composite/report/report.styles.js +12 -0
  148. package/dist/components/composite/report/report.type.d.ts +66 -0
  149. package/dist/components/composite/report/report.type.js +8 -0
  150. package/dist/components/index.js +71 -3
  151. package/dist/components/ui/addButton/AddButton.d.ts +1 -1
  152. package/dist/components/ui/checkBoxList/CheckBoxList.d.ts +1 -1
  153. package/dist/components/ui/checkBoxList/CheckBoxListItem.d.ts +1 -1
  154. package/dist/components/ui/checkBoxList/CheckBoxListItemContent.d.ts +1 -1
  155. package/dist/components/ui/checkBoxList/CheckBoxListItems.d.ts +1 -1
  156. package/dist/components/ui/checkBoxList/DraggableCheckBoxListItem.d.ts +1 -1
  157. package/dist/components/ui/checkBoxList/DraggableCheckBoxListItemContent.d.ts +1 -1
  158. package/dist/components/ui/csvDownloader/export-csv-button.d.ts +1 -1
  159. package/dist/components/ui/csvPicker/csv-picker-confirmation-dialog.d.ts +1 -1
  160. package/dist/components/ui/csvPicker/csv-picker.d.ts +1 -1
  161. package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.d.ts +1 -1
  162. package/dist/components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.d.ts +1 -1
  163. package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.d.ts +1 -1
  164. package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +9 -9
  165. package/dist/components/ui/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +1 -1
  166. package/dist/components/ui/dialogs/modifyElementSelection/ModifyElementSelection.js +3 -3
  167. package/dist/components/ui/dialogs/multipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -1
  168. package/dist/components/ui/dialogs/popupConfirmationDialog/PopupConfirmationDialog.d.ts +1 -1
  169. package/dist/components/ui/directoryItemSelector/DirectoryItemSelector.d.ts +1 -1
  170. package/dist/components/ui/expandableGroup/ExpandableGroup.d.ts +1 -1
  171. package/dist/components/ui/icons/ArrowsInputIcon.d.ts +1 -1
  172. package/dist/components/ui/icons/ArrowsOutputIcon.d.ts +1 -1
  173. package/dist/components/ui/icons/EditNoteIcon.d.ts +1 -1
  174. package/dist/components/ui/icons/LeftPanelCloseIcon.d.ts +1 -1
  175. package/dist/components/ui/icons/LeftPanelOpenIcon.d.ts +1 -1
  176. package/dist/components/ui/inputs/ActivableChip.d.ts +1 -1
  177. package/dist/components/ui/inputs/SelectClearable.d.ts +1 -1
  178. package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-autocomplete.d.ts +1 -1
  179. package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-autocomplete.js +1 -1
  180. package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-item.d.ts +1 -1
  181. package/dist/components/ui/inputs/checkbox-autocomplete/virtualized-list-item.d.ts +1 -1
  182. package/dist/components/ui/menus/custom-nested-menu.d.ts +2 -2
  183. package/dist/components/ui/menus/custom-nested-menu.js +1 -1
  184. package/dist/components/ui/overflowableText/OverflowableText.d.ts +2 -2
  185. package/dist/components/ui/reactHookForm/CheckboxNullableInput.d.ts +1 -1
  186. package/dist/components/ui/reactHookForm/CountrySelectionInput.d.ts +1 -1
  187. package/dist/components/ui/reactHookForm/DirectoryItemsInput.d.ts +1 -1
  188. package/dist/components/ui/reactHookForm/OverflowableChip.d.ts +1 -1
  189. package/dist/components/ui/reactHookForm/OverflowableChipWithHelperText.d.ts +1 -1
  190. package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +1 -1
  191. package/dist/components/ui/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts +1 -1
  192. package/dist/components/ui/reactHookForm/booleans/BooleanInput.d.ts +1 -1
  193. package/dist/components/ui/reactHookForm/booleans/CheckboxInput.d.ts +1 -1
  194. package/dist/components/ui/reactHookForm/booleans/RadioInput.d.ts +1 -1
  195. package/dist/components/ui/reactHookForm/booleans/SwitchInput.d.ts +1 -1
  196. package/dist/components/ui/reactHookForm/chip-items-input.d.ts +1 -1
  197. package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.d.ts +1 -1
  198. package/dist/components/ui/reactHookForm/errorManagement/ErrorInput.d.ts +1 -1
  199. package/dist/components/ui/reactHookForm/errorManagement/FieldErrorAlert.d.ts +1 -1
  200. package/dist/components/ui/reactHookForm/errorManagement/FieldErrorAlert.js +2 -2
  201. package/dist/components/ui/reactHookForm/errorManagement/MidFormError.d.ts +1 -1
  202. package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.d.ts +1 -1
  203. package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.js +4 -4
  204. package/dist/components/ui/reactHookForm/expandableInput/ExpandableInput.js +4 -4
  205. package/dist/components/ui/reactHookForm/numbers/FloatInput.d.ts +1 -1
  206. package/dist/components/ui/reactHookForm/numbers/IntegerInput.d.ts +1 -1
  207. package/dist/components/ui/reactHookForm/numbers/RangeInput.d.ts +1 -1
  208. package/dist/components/ui/reactHookForm/numbers/RangeInput.js +5 -5
  209. package/dist/components/ui/reactHookForm/numbers/SliderInput.d.ts +1 -1
  210. package/dist/components/ui/reactHookForm/provider/CustomFormProvider.d.ts +1 -1
  211. package/dist/components/ui/reactHookForm/readOnly/ButtonReadOnlyInput.d.ts +1 -1
  212. package/dist/components/ui/reactHookForm/readOnly/ReadOnlyInput.d.ts +1 -1
  213. package/dist/components/ui/reactHookForm/selectInputs/CountriesInput.d.ts +1 -1
  214. package/dist/components/ui/reactHookForm/selectInputs/EnumInput.d.ts +1 -1
  215. package/dist/components/ui/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +1 -1
  216. package/dist/components/ui/reactHookForm/selectInputs/MuiSelectInput.d.ts +1 -1
  217. package/dist/components/ui/reactHookForm/selectInputs/SelectInput.d.ts +1 -1
  218. package/dist/components/ui/reactHookForm/selectInputs/SelectWithConfirmationInput.d.ts +1 -1
  219. package/dist/components/ui/reactHookForm/tableInputs/table-numerical-input.d.ts +1 -1
  220. package/dist/components/ui/reactHookForm/tableInputs/table-text-input.d.ts +1 -1
  221. package/dist/components/ui/reactHookForm/text/DescriptionField.d.ts +1 -1
  222. package/dist/components/ui/reactHookForm/text/DescriptionInput.d.ts +1 -1
  223. package/dist/components/ui/reactHookForm/text/ExpandingTextField.d.ts +1 -1
  224. package/dist/components/ui/reactHookForm/text/TextInput.d.ts +1 -1
  225. package/dist/components/ui/reactHookForm/text/UniqueNameInput.d.ts +1 -1
  226. package/dist/components/ui/reactHookForm/utils/CancelButton.d.ts +1 -1
  227. package/dist/components/ui/reactHookForm/utils/FieldLabel.d.ts +1 -1
  228. package/dist/components/ui/reactHookForm/utils/HelperPreviousValue.d.ts +1 -1
  229. package/dist/components/ui/reactHookForm/utils/SubmitButton.d.ts +1 -1
  230. package/dist/components/ui/reactHookForm/utils/TextFieldWithAdornment.d.ts +1 -1
  231. package/dist/components/ui/reactHookForm/utils/functions.d.ts +2 -2
  232. package/dist/components/ui/reactHookForm/utils/functions.js +2 -2
  233. package/dist/components/ui/resizablePanels/ResizeHandle.d.ts +1 -1
  234. package/dist/components/ui/snackbarProvider/SnackbarProvider.d.ts +1 -1
  235. package/dist/components/ui/tablepagination/custom-table-pagination.d.ts +1 -1
  236. package/dist/components/ui/tooltip/CustomTooltip.d.ts +1 -1
  237. package/dist/components/ui/treeViewFinder/TreeViewFinder.d.ts +2 -2
  238. package/dist/features/announcement/AnnouncementBanner.d.ts +1 -1
  239. package/dist/features/announcement/AnnouncementNotification.d.ts +1 -1
  240. package/dist/features/authentication/AuthenticationRouter.d.ts +1 -1
  241. package/dist/features/authentication/AuthenticationRouter.js +2 -2
  242. package/dist/features/authentication/AuthenticationRouterErrorDisplay.d.ts +1 -1
  243. package/dist/features/authentication/AuthenticationRouterErrorDisplay.js +3 -3
  244. package/dist/features/authentication/Login.d.ts +1 -1
  245. package/dist/features/authentication/Logout.d.ts +1 -1
  246. package/dist/features/authentication/SignInCallbackHandler.d.ts +1 -1
  247. package/dist/features/authentication/SilentRenewCallbackHandler.d.ts +1 -1
  248. package/dist/features/authentication/alert/ErrorInLogoutAlert.d.ts +1 -1
  249. package/dist/features/authentication/alert/ErrorInUserValidationAlert.d.ts +1 -1
  250. package/dist/features/authentication/alert/UnauthorizedAccessAlert.d.ts +1 -1
  251. package/dist/features/authentication/utils/authService.js +1 -1
  252. package/dist/features/cardErrorBoundary/CardErrorBoundary.d.ts +1 -1
  253. package/dist/features/index.js +1 -2
  254. package/dist/features/network-modification-table/network-modification-table-styles.js +1 -1
  255. package/dist/features/network-modification-table/network-modifications-table.d.ts +2 -2
  256. package/dist/features/network-modification-table/renderers/cell-renderers.d.ts +9 -9
  257. package/dist/features/network-modification-table/renderers/cell-renderers.js +1 -1
  258. package/dist/features/network-modification-table/renderers/depth-box.d.ts +1 -1
  259. package/dist/features/network-modification-table/renderers/description-cell.d.ts +1 -1
  260. package/dist/features/network-modification-table/renderers/drag-handle-cell.d.ts +1 -1
  261. package/dist/features/network-modification-table/renderers/name-cell.d.ts +2 -1
  262. package/dist/features/network-modification-table/renderers/name-cell.js +7 -1
  263. package/dist/features/network-modification-table/renderers/network-modification-node-editor-name-header.d.ts +1 -1
  264. package/dist/features/network-modification-table/renderers/root-network-chip-cell.d.ts +1 -1
  265. package/dist/features/network-modification-table/renderers/select-cell.d.ts +2 -1
  266. package/dist/features/network-modification-table/renderers/select-header-cell.d.ts +2 -1
  267. package/dist/features/network-modification-table/renderers/switch-cell.d.ts +2 -1
  268. package/dist/features/network-modification-table/row/drag-row-clone.d.ts +2 -1
  269. package/dist/features/network-modification-table/row/modification-row.d.ts +2 -1
  270. package/dist/features/network-modification-table/row/modification-row.js +1 -1
  271. package/dist/features/network-modifications/battery/creation/BatteryCreationForm.d.ts +1 -1
  272. package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +13 -7
  273. package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +6 -0
  274. package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.d.ts +1 -1
  275. package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +10 -4
  276. package/dist/features/network-modifications/battery/modification/BatteryDialogTabs.d.ts +2 -7
  277. package/dist/features/network-modifications/battery/modification/BatteryDialogTabs.js +1 -1
  278. package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.d.ts +1 -1
  279. package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +14 -8
  280. package/dist/features/network-modifications/battery/modification/BatteryModificationForm.d.ts +1 -1
  281. package/dist/features/network-modifications/battery/modification/BatteryModificationForm.js +5 -5
  282. package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +7 -1
  283. package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.d.ts +1 -1
  284. package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.js +1 -1
  285. package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.d.ts +1 -1
  286. package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.js +4 -4
  287. package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.d.ts +1 -1
  288. package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +4 -4
  289. package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.d.ts +1 -1
  290. package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.js +1 -1
  291. package/dist/features/network-modifications/common/connectivity/BranchConnectivityForm.d.ts +1 -1
  292. package/dist/features/network-modifications/common/connectivity/BranchConnectivityForm.js +1 -1
  293. package/dist/features/network-modifications/common/connectivity/ConnectivityForm.d.ts +1 -1
  294. package/dist/features/network-modifications/common/connectivity/ConnectivityForm.js +7 -7
  295. package/dist/features/network-modifications/common/connectivity/PositionForm.d.ts +1 -1
  296. package/dist/features/network-modifications/common/connectivity/PositionForm.js +4 -4
  297. package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.d.ts +1 -1
  298. package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +4 -4
  299. package/dist/features/network-modifications/common/measurements/BranchActiveReactivePowerMeasurementsForm.d.ts +1 -1
  300. package/dist/features/network-modifications/common/measurements/BranchActiveReactivePowerMeasurementsForm.js +1 -1
  301. package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.d.ts +1 -1
  302. package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +8 -2
  303. package/dist/features/network-modifications/common/measurements/PowerMeasurementsForm.d.ts +1 -1
  304. package/dist/features/network-modifications/common/measurements/PowerMeasurementsForm.js +4 -4
  305. package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.d.ts +1 -1
  306. package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.js +4 -4
  307. package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js +1 -1
  308. package/dist/features/network-modifications/common/properties/PropertiesForm.d.ts +1 -1
  309. package/dist/features/network-modifications/common/properties/PropertiesForm.js +1 -1
  310. package/dist/features/network-modifications/common/properties/PropertyForm.d.ts +1 -1
  311. package/dist/features/network-modifications/common/properties/PropertyForm.js +5 -5
  312. package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.d.ts +1 -1
  313. package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +3 -3
  314. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.d.ts +1 -1
  315. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -1
  316. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.d.ts +1 -1
  317. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +7 -7
  318. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +1 -1
  319. package/dist/features/network-modifications/common/reactiveLimits/reactiveLimits.utils.js +1 -1
  320. package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.d.ts +1 -1
  321. package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js +2 -2
  322. package/dist/features/network-modifications/common/setpoints/SetPointsForm.d.ts +1 -1
  323. package/dist/features/network-modifications/common/setpoints/SetPointsForm.js +5 -5
  324. package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.d.ts +1 -1
  325. package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.js +3 -3
  326. package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.d.ts +1 -1
  327. package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +5 -5
  328. package/dist/features/network-modifications/common/voltageRegulation/voltageRegulation.utils.js +1 -1
  329. package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.d.ts +1 -1
  330. package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +12 -6
  331. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.d.ts +1 -1
  332. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.js +5 -5
  333. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.d.ts +1 -1
  334. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +5 -5
  335. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/hvdcLccDeletion.utils.js +1 -1
  336. package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.d.ts +1 -1
  337. package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +15 -9
  338. package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +7 -1
  339. package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.d.ts +1 -1
  340. package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +11 -5
  341. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabs.d.ts +2 -7
  342. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabs.js +1 -1
  343. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.d.ts +1 -1
  344. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +15 -9
  345. package/dist/features/network-modifications/generator/modification/GeneratorModificationForm.d.ts +1 -1
  346. package/dist/features/network-modifications/generator/modification/GeneratorModificationForm.js +5 -5
  347. package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +7 -1
  348. package/dist/features/network-modifications/load/common/LoadDialogHeader.d.ts +1 -1
  349. package/dist/features/network-modifications/load/common/LoadDialogHeader.js +11 -5
  350. package/dist/features/network-modifications/load/common/LoadDialogTabs.d.ts +2 -7
  351. package/dist/features/network-modifications/load/common/LoadDialogTabs.js +1 -1
  352. package/dist/features/network-modifications/load/common/LoadDialogTabsContent.d.ts +1 -1
  353. package/dist/features/network-modifications/load/common/LoadDialogTabsContent.js +1 -1
  354. package/dist/features/network-modifications/load/common/LoadForm.d.ts +1 -1
  355. package/dist/features/network-modifications/load/common/LoadForm.js +5 -5
  356. package/dist/features/network-modifications/load/modification/loadModification.utils.js +6 -0
  357. package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.d.ts +1 -1
  358. package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +12 -12
  359. package/dist/features/network-modifications/shunt-compensator/common/characteristicsForm.utils.d.ts +8 -8
  360. package/dist/features/network-modifications/shunt-compensator/common/characteristicsForm.utils.js +1 -1
  361. package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.d.ts +1 -1
  362. package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +17 -11
  363. package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.d.ts +12 -12
  364. package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +6 -0
  365. package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.d.ts +1 -1
  366. package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +9 -3
  367. package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.d.ts +12 -12
  368. package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +6 -0
  369. package/dist/features/network-modifications/substation/creation/SubstationCreationForm.d.ts +1 -1
  370. package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +13 -7
  371. package/dist/features/network-modifications/substation/creation/substationCreation.utils.js +1 -1
  372. package/dist/features/network-modifications/substation/modification/SubstationModificationForm.d.ts +1 -1
  373. package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +13 -7
  374. package/dist/features/network-modifications/substation/modification/substationModification.utils.js +1 -1
  375. package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.d.ts +1 -1
  376. package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +14 -8
  377. package/dist/features/network-modifications/voltageLevel/creation/index.js +6 -0
  378. package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.d.ts +1 -1
  379. package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +9 -9
  380. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.d.ts +1 -1
  381. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +5 -5
  382. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusCreation.d.ts +1 -1
  383. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusCreation.js +3 -3
  384. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.d.ts +1 -1
  385. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.d.ts +1 -1
  386. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +1 -1
  387. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.d.ts +1 -1
  388. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +13 -7
  389. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.d.ts +1 -1
  390. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +5 -5
  391. package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +9 -3
  392. package/dist/features/network-modifications/voltageLevel/index.js +6 -0
  393. package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.d.ts +1 -1
  394. package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +10 -4
  395. package/dist/features/network-modifications/voltageLevel/modification/voltageLevelModification.utils.d.ts +1 -1
  396. package/dist/features/network-modifications/voltageLevel/modification/voltageLevelModification.utils.js +3 -3
  397. package/dist/features/node/build-status-chip.d.ts +1 -1
  398. package/dist/features/notifications/NotificationsProvider.d.ts +1 -1
  399. package/dist/features/parameters/common/ProviderParam.d.ts +1 -1
  400. package/dist/features/parameters/common/ProviderParam.js +5 -5
  401. package/dist/features/parameters/common/computing-type.d.ts +1 -19
  402. package/dist/features/parameters/common/computing-type.js +16 -26
  403. package/dist/features/parameters/common/contingency-table/contingency-table.js +4 -4
  404. package/dist/features/parameters/common/index.js +1 -2
  405. package/dist/features/parameters/common/limitreductions/columns-definitions.d.ts +2 -2
  406. package/dist/features/parameters/common/limitreductions/limit-reduction-table-cell.d.ts +1 -1
  407. package/dist/features/parameters/common/limitreductions/limit-reduction-table-row.d.ts +1 -1
  408. package/dist/features/parameters/common/limitreductions/limit-reductions-label-column.d.ts +1 -1
  409. package/dist/features/parameters/common/limitreductions/limit-reductions-table-form.d.ts +1 -1
  410. package/dist/features/parameters/common/limitreductions/limit-reductions-tooltip-column.d.ts +1 -1
  411. package/dist/features/parameters/common/line-separator.d.ts +1 -1
  412. package/dist/features/parameters/common/line-separator.js +2 -2
  413. package/dist/features/parameters/common/name-element-editor/name-element-editor-form.d.ts +1 -1
  414. package/dist/features/parameters/common/name-element-editor/name-element-editor-form.js +4 -4
  415. package/dist/features/parameters/common/parameter-field.d.ts +1 -1
  416. package/dist/features/parameters/common/parameter-field.js +4 -4
  417. package/dist/features/parameters/common/parameter-table-field/parameter-table-field.d.ts +1 -1
  418. package/dist/features/parameters/common/parameter-table-field/parameter-table-field.js +3 -3
  419. package/dist/features/parameters/common/parameters-creation-dialog.d.ts +1 -1
  420. package/dist/features/parameters/common/parameters.d.ts +3 -3
  421. package/dist/features/parameters/common/parameters.js +3 -3
  422. package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-cell.d.ts +1 -1
  423. package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-row.d.ts +1 -1
  424. package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table.d.ts +1 -1
  425. package/dist/features/parameters/common/widget/parameter-float.d.ts +1 -1
  426. package/dist/features/parameters/common/widget/parameter-float.js +4 -4
  427. package/dist/features/parameters/common/widget/parameter-group.d.ts +1 -1
  428. package/dist/features/parameters/common/widget/parameter-group.js +2 -2
  429. package/dist/features/parameters/common/widget/parameter-line-directory-items-input.d.ts +1 -1
  430. package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +4 -4
  431. package/dist/features/parameters/common/widget/parameter-line-slider.d.ts +1 -1
  432. package/dist/features/parameters/common/widget/parameter-line-slider.js +4 -4
  433. package/dist/features/parameters/common/widget/parameter-switch.d.ts +1 -1
  434. package/dist/features/parameters/common/widget/parameter-switch.js +2 -2
  435. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.d.ts +1 -1
  436. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +6 -6
  437. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.d.ts +2 -2
  438. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +3 -3
  439. package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.d.ts +1 -1
  440. package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +2 -2
  441. package/dist/features/parameters/dynamic-margin-calculation/time-delay-parameters.d.ts +1 -1
  442. package/dist/features/parameters/dynamic-margin-calculation/time-delay-parameters.js +2 -2
  443. package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.d.ts +1 -1
  444. package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +4 -4
  445. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.d.ts +2 -2
  446. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +3 -3
  447. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.d.ts +1 -1
  448. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +8 -9
  449. package/dist/features/parameters/dynamic-security-analysis/scenario-parameters.d.ts +1 -1
  450. package/dist/features/parameters/dynamic-security-analysis/scenario-parameters.js +2 -2
  451. package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-select.d.ts +1 -1
  452. package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-treeview.d.ts +2 -2
  453. package/dist/features/parameters/dynamic-simulation/curve/common/grid-buttons.d.ts +1 -1
  454. package/dist/features/parameters/dynamic-simulation/curve/common/grid-buttons.js +4 -4
  455. package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.d.ts +1 -1
  456. package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.js +13 -8
  457. package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-preview.js +13 -7
  458. package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.d.ts +1 -1
  459. package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.js +10 -10
  460. package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector.js +26 -50
  461. package/dist/features/parameters/dynamic-simulation/curve/dialog/equipment-filter.js +22 -20
  462. package/dist/features/parameters/dynamic-simulation/curve/dialog/model-filter.js +11 -10
  463. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.d.ts +2 -3
  464. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +3 -3
  465. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.d.ts +1 -1
  466. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +8 -9
  467. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.d.ts +1 -1
  468. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +2 -2
  469. package/dist/features/parameters/dynamic-simulation/network/network-parameters.d.ts +1 -1
  470. package/dist/features/parameters/dynamic-simulation/network/network-parameters.js +2 -2
  471. package/dist/features/parameters/dynamic-simulation/solver/common-solver/common-solver-parameters.d.ts +1 -1
  472. package/dist/features/parameters/dynamic-simulation/solver/ida-solver/ida-solver-parameters.d.ts +1 -1
  473. package/dist/features/parameters/dynamic-simulation/solver/sim-solver/simplified-solver-parameters.d.ts +1 -1
  474. package/dist/features/parameters/dynamic-simulation/solver/solver-parameters.d.ts +1 -1
  475. package/dist/features/parameters/dynamic-simulation/solver/solver-parameters.js +2 -2
  476. package/dist/features/parameters/dynamic-simulation/time-delay/time-delay-parameters.d.ts +1 -1
  477. package/dist/features/parameters/dynamic-simulation/time-delay/time-delay-parameters.js +2 -2
  478. package/dist/features/parameters/index.js +1 -2
  479. package/dist/features/parameters/loadflow/load-flow-general-parameters.d.ts +1 -1
  480. package/dist/features/parameters/loadflow/load-flow-parameters-content.d.ts +1 -1
  481. package/dist/features/parameters/loadflow/load-flow-parameters-content.js +6 -6
  482. package/dist/features/parameters/loadflow/load-flow-parameters-dialog.d.ts +1 -1
  483. package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +6 -11
  484. package/dist/features/parameters/loadflow/load-flow-parameters-form.d.ts +1 -1
  485. package/dist/features/parameters/loadflow/load-flow-parameters-form.js +2 -2
  486. package/dist/features/parameters/loadflow/load-flow-parameters-header.d.ts +1 -1
  487. package/dist/features/parameters/loadflow/load-flow-parameters-header.js +5 -5
  488. package/dist/features/parameters/loadflow/load-flow-parameters-inline.d.ts +2 -3
  489. package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +2 -3
  490. package/dist/features/parameters/loadflow/load-flow-parameters-provider.d.ts +1 -1
  491. package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +6 -6
  492. package/dist/features/parameters/loadflow/use-load-flow-parameters-form.d.ts +1 -2
  493. package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +4 -4
  494. package/dist/features/parameters/network-visualizations/map-parameters.d.ts +1 -1
  495. package/dist/features/parameters/network-visualizations/map-parameters.js +10 -10
  496. package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.d.ts +1 -1
  497. package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.js +4 -4
  498. package/dist/features/parameters/network-visualizations/network-visualizations-form.d.ts +1 -1
  499. package/dist/features/parameters/network-visualizations/network-visualizations-form.js +5 -8
  500. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.d.ts +1 -1
  501. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.d.ts +1 -1
  502. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +2 -2
  503. package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.d.ts +1 -1
  504. package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +10 -10
  505. package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.d.ts +1 -1
  506. package/dist/features/parameters/pcc-min/pcc-min-parameters-form.d.ts +1 -1
  507. package/dist/features/parameters/pcc-min/pcc-min-parameters-form.js +5 -8
  508. package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.d.ts +1 -1
  509. package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +2 -2
  510. package/dist/features/parameters/security-analysis/columns-definitions.js +6 -6
  511. package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.d.ts +1 -1
  512. package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +10 -15
  513. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.d.ts +1 -1
  514. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +7 -7
  515. package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.d.ts +2 -3
  516. package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +2 -3
  517. package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.d.ts +1 -1
  518. package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.js +4 -4
  519. package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.d.ts +1 -1
  520. package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +8 -11
  521. package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.d.ts +2 -2
  522. package/dist/features/parameters/sensi/columns-definitions.d.ts +6 -6
  523. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.d.ts +1 -1
  524. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +5 -10
  525. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-factor-count.d.ts +1 -1
  526. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.d.ts +1 -1
  527. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +8 -8
  528. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.d.ts +2 -3
  529. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +2 -2
  530. package/dist/features/parameters/sensi/sensitivity-parameters-fields.d.ts +1 -1
  531. package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +7 -8
  532. package/dist/features/parameters/sensi/sensitivity-parameters-selector.d.ts +1 -1
  533. package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +3 -3
  534. package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.d.ts +1 -2
  535. package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +13 -13
  536. package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-cell.d.ts +1 -1
  537. package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-row.d.ts +1 -1
  538. package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table.d.ts +1 -1
  539. package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-cell.d.ts +1 -1
  540. package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-row.d.ts +1 -1
  541. package/dist/features/parameters/short-circuit/short-circuit-icc-material-table.d.ts +1 -1
  542. package/dist/features/parameters/short-circuit/short-circuit-parameters-content.d.ts +1 -1
  543. package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +4 -4
  544. package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.d.ts +1 -1
  545. package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +1 -6
  546. package/dist/features/parameters/short-circuit/short-circuit-parameters-form.d.ts +1 -1
  547. package/dist/features/parameters/short-circuit/short-circuit-parameters-form.js +4 -7
  548. package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.d.ts +2 -3
  549. package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +2 -2
  550. package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +7 -7
  551. package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +9 -9
  552. package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +7 -7
  553. package/dist/features/parameters/short-circuit/short-circuit-voltage-table.d.ts +1 -1
  554. package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.d.ts +1 -2
  555. package/dist/features/parameters/voltage-init/equipment-selection-parameters.d.ts +1 -1
  556. package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +5 -5
  557. package/dist/features/parameters/voltage-init/general-parameters.d.ts +1 -1
  558. package/dist/features/parameters/voltage-init/general-parameters.js +5 -5
  559. package/dist/features/parameters/voltage-init/voltage-init-form-utils.js +2 -2
  560. package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.d.ts +1 -1
  561. package/dist/features/parameters/voltage-init/voltage-init-parameters-form.d.ts +1 -1
  562. package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +6 -9
  563. package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.d.ts +1 -1
  564. package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +2 -2
  565. package/dist/features/parameters/voltage-init/voltage-limits-parameters.d.ts +1 -1
  566. package/dist/features/parameters/voltage-init/voltage-limits-parameters.js +2 -2
  567. package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.d.ts +1 -1
  568. package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.js +6 -0
  569. package/dist/features/process-configs/security-analysis/update-sa-process-config.d.ts +1 -1
  570. package/dist/features/process-configs/security-analysis/update-sa-process-config.js +2 -0
  571. package/dist/features/process-configs/update-process-config-modifications.d.ts +1 -1
  572. package/dist/features/process-configs/update-process-config-modifications.js +6 -0
  573. package/dist/features/results/securityanalysis/security-analysis-result-nmk.d.ts +1 -1
  574. package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +6 -0
  575. package/dist/features/results/securityanalysis/security-analysis-table.d.ts +1 -1
  576. package/dist/features/results/securityanalysis/security-analysis-table.js +6 -0
  577. package/dist/features/topBar/AboutDialog.d.ts +1 -1
  578. package/dist/features/topBar/AboutDialog.js +4 -7
  579. package/dist/features/topBar/DevModeBanner.d.ts +1 -1
  580. package/dist/features/topBar/GridLogo.d.ts +2 -2
  581. package/dist/features/topBar/GridLogo.js +1 -1
  582. package/dist/features/topBar/TopBar.d.ts +1 -1
  583. package/dist/features/topBar/UserInformationDialog.d.ts +1 -1
  584. package/dist/features/topBar/UserInformationDialog.js +39 -14
  585. package/dist/features/topBar/UserSettingsDialog.d.ts +1 -1
  586. package/dist/hooks/use-parameters-backend.d.ts +1 -1
  587. package/dist/hooks/use-stable-computed-array.d.ts +2 -0
  588. package/dist/hooks/use-stable-computed-array.js +16 -0
  589. package/dist/hooks/useModificationLabelComputer.d.ts +4 -4
  590. package/dist/index.js +80 -7
  591. package/dist/services/networkModification.js +1 -1
  592. package/dist/services/security-analysis.js +1 -1
  593. package/dist/services/sensitivity-analysis.js +1 -1
  594. package/dist/translations/en/topBarEn.d.ts +12 -0
  595. package/dist/translations/en/topBarEn.js +13 -1
  596. package/dist/translations/fr/topBarFr.d.ts +12 -0
  597. package/dist/translations/fr/topBarFr.js +13 -1
  598. package/dist/utils/constants/adornments.js +1 -1
  599. package/dist/utils/index.js +4 -1
  600. package/dist/utils/mapper/getFileIcon.d.ts +1 -1
  601. package/dist/utils/rounding.d.ts +20 -0
  602. package/dist/utils/rounding.js +26 -0
  603. package/dist/utils/store-sort-filter-fields.d.ts +38 -0
  604. package/dist/utils/store-sort-filter-fields.js +66 -0
  605. package/dist/utils/styles.d.ts +1 -1
  606. package/dist/utils/ts-utils.d.ts +1 -0
  607. package/dist/utils/ts-utils.js +7 -0
  608. package/dist/utils/types/computing-type.d.ts +19 -0
  609. package/dist/utils/types/computing-type.js +17 -0
  610. package/dist/utils/types/index.d.ts +1 -0
  611. package/dist/utils/types/index.js +2 -0
  612. package/dist/utils/types/parameters.type.d.ts +1 -1
  613. package/dist/utils/types/types.d.ts +11 -0
  614. package/package.json +4 -2
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { Grid, Typography, Select, MenuItem } from "@mui/material";
2
+ import { Grid2, Typography, Select, MenuItem } from "@mui/material";
3
3
  import { useIntl } from "react-intl";
4
4
  const styles = {
5
5
  gridItem: {
@@ -32,9 +32,9 @@ function RuleValueEditor(props) {
32
32
  operator
33
33
  });
34
34
  };
35
- return /* @__PURE__ */ jsxs(Grid, { container: true, paddingTop: 1, children: [
36
- /* @__PURE__ */ jsx(Grid, { container: true, item: true, xs: 4, sx: styles.gridItem, children: /* @__PURE__ */ jsx(Typography, { children: intl.formatMessage({ id: fieldData.label }) }) }),
37
- /* @__PURE__ */ jsx(Grid, { container: true, item: true, xs: 2.5, sx: styles.gridItem, paddingLeft: 1, children: /* @__PURE__ */ jsx(
35
+ return /* @__PURE__ */ jsxs(Grid2, { container: true, paddingTop: 1, children: [
36
+ /* @__PURE__ */ jsx(Grid2, { container: true, size: 4, sx: styles.gridItem, children: /* @__PURE__ */ jsx(Typography, { children: intl.formatMessage({ id: fieldData.label }) }) }),
37
+ /* @__PURE__ */ jsx(Grid2, { container: true, size: 2.5, sx: styles.gridItem, paddingLeft: 1, children: /* @__PURE__ */ jsx(
38
38
  Select,
39
39
  {
40
40
  value: operator,
@@ -46,7 +46,7 @@ function RuleValueEditor(props) {
46
46
  children: fieldData.operators?.map((option) => /* @__PURE__ */ jsx(MenuItem, { value: option.name, children: intl.formatMessage({ id: option.label }) }, option.name))
47
47
  }
48
48
  ) }),
49
- /* @__PURE__ */ jsx(Grid, { container: true, item: true, xs: 5.5, sx: styles.gridItem, paddingLeft: 1, children: /* @__PURE__ */ jsx(
49
+ /* @__PURE__ */ jsx(Grid2, { container: true, size: 5.5, sx: styles.gridItem, paddingLeft: 1, children: /* @__PURE__ */ jsx(
50
50
  ValueEditorControlElement,
51
51
  {
52
52
  ...props,
@@ -0,0 +1,14 @@
1
+ import { RefObject } from 'react';
2
+ import { SxStyle } from '../../../utils';
3
+ interface QuickSearchProps {
4
+ currentResultIndex: number;
5
+ onSearch: (searchTerm: string) => void;
6
+ onNavigate: (direction: 'next' | 'previous') => void;
7
+ resultCount: number;
8
+ resetSearch: () => void;
9
+ placeholder?: string;
10
+ inputRef: RefObject<HTMLDivElement | null>;
11
+ sx?: SxStyle;
12
+ }
13
+ export declare function QuickSearch({ currentResultIndex, onSearch, onNavigate, resultCount, resetSearch, placeholder, inputRef, sx, }: Readonly<QuickSearchProps>): import("react").JSX.Element;
14
+ export {};
@@ -0,0 +1,118 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { useState, useCallback } from "react";
3
+ import { TextField, InputAdornment, IconButton, Box } from "@mui/material";
4
+ import { Clear, KeyboardArrowUp, KeyboardArrowDown } from "@mui/icons-material";
5
+ import { useIntl } from "react-intl";
6
+ import "../../../utils/conversionUtils.js";
7
+ import "../../../utils/types/equipmentType.js";
8
+ import { useDebounce } from "../../../hooks/useDebounce.js";
9
+ import "localized-countries";
10
+ import "localized-countries/data/fr";
11
+ import "localized-countries/data/en";
12
+ import "notistack";
13
+ const styles = {
14
+ adornmentItem: {
15
+ padding: "2px"
16
+ }
17
+ };
18
+ function QuickSearch({
19
+ currentResultIndex,
20
+ onSearch,
21
+ onNavigate,
22
+ resultCount,
23
+ resetSearch,
24
+ placeholder,
25
+ inputRef,
26
+ sx
27
+ }) {
28
+ const [searchTerm, setSearchTerm] = useState("");
29
+ const [resultsCountDisplay, setResultsCountDisplay] = useState(false);
30
+ const intl = useIntl();
31
+ const debounceSearch = useDebounce(onSearch, 300);
32
+ const handleSearch = useCallback(() => {
33
+ debounceSearch(searchTerm);
34
+ setResultsCountDisplay(true);
35
+ }, [searchTerm, debounceSearch]);
36
+ const handleKeyDown = useCallback(
37
+ (event) => {
38
+ if (event.key === "Enter" && searchTerm) {
39
+ if (resultsCountDisplay && resultCount > 0) {
40
+ onNavigate("next");
41
+ } else {
42
+ handleSearch();
43
+ }
44
+ }
45
+ },
46
+ [handleSearch, onNavigate, resultCount, resultsCountDisplay, searchTerm]
47
+ );
48
+ const handleChange = useCallback(
49
+ (event) => {
50
+ const { value } = event.target;
51
+ if (value === "") {
52
+ resetSearch();
53
+ setResultsCountDisplay(false);
54
+ }
55
+ setSearchTerm(value);
56
+ debounceSearch(value);
57
+ if (value.length > 0) {
58
+ setResultsCountDisplay(true);
59
+ }
60
+ },
61
+ [debounceSearch, resetSearch]
62
+ );
63
+ const handleClear = useCallback(() => {
64
+ setSearchTerm("");
65
+ resetSearch();
66
+ setResultsCountDisplay(false);
67
+ if (inputRef.current) {
68
+ inputRef.current.focus();
69
+ }
70
+ }, [inputRef, resetSearch]);
71
+ return /* @__PURE__ */ jsx(
72
+ TextField,
73
+ {
74
+ inputRef,
75
+ value: searchTerm,
76
+ onChange: handleChange,
77
+ onKeyDown: handleKeyDown,
78
+ placeholder: placeholder ? intl.formatMessage({ id: placeholder }) : "",
79
+ sx: { maxWidth: "500px", ...sx },
80
+ size: "small",
81
+ InputProps: {
82
+ endAdornment: /* @__PURE__ */ jsxs(InputAdornment, { sx: { padding: 0.2 }, position: "end", children: [
83
+ searchTerm && /* @__PURE__ */ jsx(IconButton, { sx: styles.adornmentItem, onClick: handleClear, children: /* @__PURE__ */ jsx(Clear, {}) }),
84
+ resultsCountDisplay && /* @__PURE__ */ jsxs(Fragment, { children: [
85
+ /* @__PURE__ */ jsx(Box, { sx: styles.adornmentItem, children: /* @__PURE__ */ jsxs("span", { children: [
86
+ currentResultIndex + 1,
87
+ "/",
88
+ resultCount
89
+ ] }) }),
90
+ /* @__PURE__ */ jsxs(Box, { children: [
91
+ /* @__PURE__ */ jsx(
92
+ IconButton,
93
+ {
94
+ sx: styles.adornmentItem,
95
+ onClick: () => onNavigate("previous"),
96
+ disabled: resultCount === 0,
97
+ children: /* @__PURE__ */ jsx(KeyboardArrowUp, {})
98
+ }
99
+ ),
100
+ /* @__PURE__ */ jsx(
101
+ IconButton,
102
+ {
103
+ sx: styles.adornmentItem,
104
+ onClick: () => onNavigate("next"),
105
+ disabled: resultCount === 0,
106
+ children: /* @__PURE__ */ jsx(KeyboardArrowDown, {})
107
+ }
108
+ )
109
+ ] })
110
+ ] })
111
+ ] })
112
+ }
113
+ }
114
+ );
115
+ }
116
+ export {
117
+ QuickSearch
118
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright (c) 2026, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ export * from './report-viewer';
8
+ export * from './report-severity';
9
+ export * from './report-log.mapper';
10
+ export * from './report.type';
11
+ export * from './report.constant';
12
+ export * from './QuickSearch';
@@ -0,0 +1,25 @@
1
+ import { ReportViewer } from "./report-viewer/report-viewer.js";
2
+ import { ReportFetcherContext, ReportFilterContext, useReportFetcherContext, useReportFilterContext } from "./report-viewer/context/report-viewer-context.js";
3
+ import { default as default2 } from "./report-viewer/log-table/log-table.js";
4
+ import { REPORT_SEVERITY, getContainerDefaultSeverityList, getDefaultSeverityFilter, sortSeverityList } from "./report-severity.js";
5
+ import { mapReportLogs } from "./report-log.mapper.js";
6
+ import { ReportType } from "./report.type.js";
7
+ import { GLOBAL_REPORT_NODE_LABEL, NETWORK_MODIFICATION } from "./report.constant.js";
8
+ import { QuickSearch } from "./QuickSearch.js";
9
+ export {
10
+ GLOBAL_REPORT_NODE_LABEL,
11
+ default2 as LogTable,
12
+ NETWORK_MODIFICATION,
13
+ QuickSearch,
14
+ REPORT_SEVERITY,
15
+ ReportFetcherContext,
16
+ ReportFilterContext,
17
+ ReportType,
18
+ ReportViewer,
19
+ getContainerDefaultSeverityList,
20
+ getDefaultSeverityFilter,
21
+ mapReportLogs,
22
+ sortSeverityList,
23
+ useReportFetcherContext,
24
+ useReportFilterContext
25
+ };
@@ -0,0 +1,2 @@
1
+ import { Log, ReportLog } from './report.type';
2
+ export declare const mapReportLogs: (reportLogs: ReportLog[]) => Log[];
@@ -0,0 +1,22 @@
1
+ import { REPORT_SEVERITY } from "./report-severity.js";
2
+ const formatLog = (minDepth, reportLog, formattedLogs) => {
3
+ const severity = Object.values(REPORT_SEVERITY).find((s) => reportLog.severity === s.name) ?? REPORT_SEVERITY.UNKNOWN;
4
+ formattedLogs.push({
5
+ message: reportLog.message,
6
+ severity: severity.name,
7
+ backgroundColor: severity.colorName,
8
+ depth: (reportLog.depth ?? 0) - minDepth,
9
+ parentId: reportLog.parentId
10
+ });
11
+ };
12
+ const mapReportLogs = (reportLogs) => {
13
+ const formattedLogs = [];
14
+ const minDepth = Math.min(...reportLogs.map((log) => log.depth ?? 0));
15
+ reportLogs.forEach((reportLog) => {
16
+ formatLog(minDepth, reportLog, formattedLogs);
17
+ });
18
+ return formattedLogs;
19
+ };
20
+ export {
21
+ mapReportLogs
22
+ };
@@ -0,0 +1,5 @@
1
+ import { ReportSeverity, SeverityLevel } from './report.type';
2
+ export declare const REPORT_SEVERITY: Record<SeverityLevel, ReportSeverity>;
3
+ export declare const getDefaultSeverityFilter: (severityList: string[]) => string[];
4
+ export declare function sortSeverityList(severityList: SeverityLevel[]): SeverityLevel[];
5
+ export declare function getContainerDefaultSeverityList(): string[];
@@ -0,0 +1,89 @@
1
+ const REPORT_SEVERITY = {
2
+ UNKNOWN: {
3
+ name: "UNKNOWN",
4
+ level: 0,
5
+ colorName: "cornflowerblue",
6
+ colorHexCode: "#6495ED",
7
+ displayedByDefault: false,
8
+ displayedByDefaultForReportContainer: false
9
+ },
10
+ TRACE: {
11
+ name: "TRACE",
12
+ level: 1,
13
+ colorName: "SlateGray",
14
+ colorHexCode: "#708090",
15
+ displayedByDefault: false,
16
+ displayedByDefaultForReportContainer: true
17
+ },
18
+ DEBUG: {
19
+ name: "DEBUG",
20
+ level: 2,
21
+ colorName: "DarkCyan",
22
+ colorHexCode: "#008B8B",
23
+ displayedByDefault: false,
24
+ displayedByDefaultForReportContainer: true
25
+ },
26
+ DETAIL: {
27
+ name: "DETAIL",
28
+ level: 3,
29
+ colorName: "MediumPurple",
30
+ colorHexCode: "#9370DB",
31
+ displayedByDefault: false,
32
+ displayedByDefaultForReportContainer: true
33
+ },
34
+ INFO: {
35
+ name: "INFO",
36
+ level: 4,
37
+ colorName: "mediumseagreen",
38
+ colorHexCode: "#3CB371",
39
+ displayedByDefault: true,
40
+ displayedByDefaultForReportContainer: true
41
+ },
42
+ WARN: {
43
+ name: "WARN",
44
+ level: 5,
45
+ colorName: "orange",
46
+ colorHexCode: "#FFA500",
47
+ displayedByDefault: true,
48
+ displayedByDefaultForReportContainer: true
49
+ },
50
+ ERROR: {
51
+ name: "ERROR",
52
+ level: 6,
53
+ colorName: "crimson",
54
+ colorHexCode: "#DC143C",
55
+ displayedByDefault: true,
56
+ displayedByDefaultForReportContainer: true
57
+ },
58
+ FATAL: {
59
+ name: "FATAL",
60
+ level: 7,
61
+ colorName: "mediumorchid",
62
+ colorHexCode: "#BA55D3",
63
+ displayedByDefault: true,
64
+ displayedByDefaultForReportContainer: true
65
+ }
66
+ };
67
+ const getDefaultSeverityFilter = (severityList) => {
68
+ const severityFilter = [];
69
+ if (severityList?.length) {
70
+ Object.values(REPORT_SEVERITY).filter((s) => severityList.includes(s.name)).forEach((s) => {
71
+ if (s.displayedByDefault) {
72
+ severityFilter.push(s.name);
73
+ }
74
+ });
75
+ }
76
+ return severityFilter;
77
+ };
78
+ function sortSeverityList(severityList) {
79
+ return severityList.sort((a, b) => REPORT_SEVERITY[b].level - REPORT_SEVERITY[a].level);
80
+ }
81
+ function getContainerDefaultSeverityList() {
82
+ return Object.values(REPORT_SEVERITY).filter((s) => s.displayedByDefaultForReportContainer).map((s) => s.name);
83
+ }
84
+ export {
85
+ REPORT_SEVERITY,
86
+ getContainerDefaultSeverityList,
87
+ getDefaultSeverityFilter,
88
+ sortSeverityList
89
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright (c) 2026, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ export * from './use-treeview-scroll';
@@ -0,0 +1,4 @@
1
+ import { useTreeViewScroll } from "./use-treeview-scroll.js";
2
+ export {
3
+ useTreeViewScroll
4
+ };
@@ -0,0 +1,4 @@
1
+ import { RefObject } from 'react';
2
+ import { ListImperativeAPI } from 'react-window';
3
+ import { ReportItem } from '../treeview-item';
4
+ export declare const useTreeViewScroll: (highlightedReportId: string | undefined, nodes: ReportItem[], listRef: RefObject<ListImperativeAPI | null>) => void;
@@ -0,0 +1,19 @@
1
+ import { useRef, useEffect } from "react";
2
+ const useTreeViewScroll = (highlightedReportId, nodes, listRef) => {
3
+ const scrollLocked = useRef(false);
4
+ useEffect(() => {
5
+ scrollLocked.current = false;
6
+ }, [highlightedReportId]);
7
+ useEffect(() => {
8
+ if (listRef.current && highlightedReportId && !scrollLocked.current) {
9
+ listRef.current.scrollToRow({
10
+ index: nodes.map((node) => node.id).indexOf(highlightedReportId),
11
+ align: "center"
12
+ });
13
+ scrollLocked.current = true;
14
+ }
15
+ }, [highlightedReportId, listRef, nodes]);
16
+ };
17
+ export {
18
+ useTreeViewScroll
19
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Copyright (c) 2026, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ export * from './report-tree.mapper';
8
+ export * from './treeview-item';
9
+ export * from './virtualized-treeview';
10
+ export * from './hooks';
@@ -0,0 +1,10 @@
1
+ import { mapReportsTree } from "./report-tree.mapper.js";
2
+ import { TreeviewItem } from "./treeview-item.js";
3
+ import { VirtualizedTreeview } from "./virtualized-treeview.js";
4
+ import { useTreeViewScroll } from "./hooks/use-treeview-scroll.js";
5
+ export {
6
+ TreeviewItem,
7
+ VirtualizedTreeview,
8
+ mapReportsTree,
9
+ useTreeViewScroll
10
+ };
@@ -0,0 +1,2 @@
1
+ import { Report, ReportTree, ReportType } from '../report.type';
2
+ export declare function mapReportsTree(report: Report, reportType?: ReportType): ReportTree;
@@ -0,0 +1,16 @@
1
+ import { ReportType } from "../report.type.js";
2
+ import { GLOBAL_REPORT_NODE_LABEL } from "../report.constant.js";
3
+ import { REPORT_SEVERITY } from "../report-severity.js";
4
+ function mapReportsTree(report, reportType) {
5
+ return {
6
+ type: reportType ?? (report.message === GLOBAL_REPORT_NODE_LABEL ? ReportType.GLOBAL : ReportType.NODE),
7
+ id: report.id,
8
+ message: report.message,
9
+ parentId: report.parentId,
10
+ severity: Object.values(REPORT_SEVERITY).find((s) => report.severity === s.name) ?? REPORT_SEVERITY.UNKNOWN,
11
+ subReports: report.subReports.filter((subReport) => subReport.subReports.length > 0 || subReport.id).map((subReport) => mapReportsTree(subReport, ReportType.NODE))
12
+ };
13
+ }
14
+ export {
15
+ mapReportsTree
16
+ };
@@ -0,0 +1,28 @@
1
+ import { ReactNode } from 'react';
2
+ import { RowComponentProps } from 'react-window';
3
+ /**
4
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
5
+ * This Source Code Form is subject to the terms of the Mozilla Public
6
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
7
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
+ */
9
+ import * as React from 'react';
10
+ export interface ReportItem {
11
+ id: string;
12
+ icon?: ReactNode;
13
+ label: string;
14
+ depth: number;
15
+ collapsed?: boolean;
16
+ isCollapsable?: boolean;
17
+ isLeaf?: boolean;
18
+ isSelected?: boolean;
19
+ }
20
+ export declare function TreeviewItem({ index, nodes, onSelectedItem, onExpandItem, highlightedReportId, searchTerm, currentResultIndex, searchResults, style, }: RowComponentProps<{
21
+ nodes: ReportItem[];
22
+ onSelectedItem: (node: ReportItem) => void;
23
+ onExpandItem: (node: ReportItem) => void;
24
+ highlightedReportId?: string;
25
+ searchTerm: string;
26
+ currentResultIndex: number;
27
+ searchResults: number[];
28
+ }>): React.JSX.Element;
@@ -0,0 +1,131 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { useCallback, useMemo } from "react";
3
+ import { styled, Stack, useTheme, Box, Typography } from "@mui/material";
4
+ import { ArrowRight, ArrowDropDown } from "@mui/icons-material";
5
+ import "../../../../utils/conversionUtils.js";
6
+ import "../../../../utils/types/equipmentType.js";
7
+ import { mergeSx } from "../../../../utils/styles.js";
8
+ const escapeRegExp = (text) => text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
9
+ const styles = {
10
+ content: (theme) => ({
11
+ color: theme.palette.text.secondary,
12
+ borderRadius: theme.spacing(2),
13
+ width: "fit-content",
14
+ paddingRight: theme.spacing(1),
15
+ fontWeight: theme.typography.fontWeightMedium
16
+ }),
17
+ labelText: (theme) => ({
18
+ fontWeight: "inherit",
19
+ marginRight: theme.spacing(2)
20
+ }),
21
+ labelRoot: (theme) => ({
22
+ display: "flex",
23
+ alignItems: "center",
24
+ padding: theme.spacing(0.5, 0)
25
+ }),
26
+ root: (theme) => ({
27
+ "&:hover": {
28
+ backgroundColor: theme.palette.action.hover
29
+ }
30
+ }),
31
+ highlighted: (theme) => ({
32
+ backgroundColor: theme.palette.action.hover
33
+ })
34
+ };
35
+ const TreeViewItemBox = styled("div")(() => ({
36
+ display: "flex",
37
+ alignItems: "center",
38
+ justifyContent: "center",
39
+ userSelect: "none",
40
+ cursor: "pointer"
41
+ }));
42
+ const TreeViewItemStack = styled(Stack)((props) => {
43
+ const { left, theme, node } = props;
44
+ return {
45
+ position: "absolute",
46
+ left: `${left}px`,
47
+ width: "fit-content",
48
+ display: "flex",
49
+ alignItems: "center",
50
+ backgroundColor: node.isSelected ? `var(--tree-view-bg-color, ${theme.palette.action.selected})` : void 0,
51
+ color: "var(--tree-view-color)",
52
+ padding: theme.spacing(0.5, 0, 0.5, 2),
53
+ borderRadius: theme.spacing(2),
54
+ "&:hover": {
55
+ backgroundColor: theme.palette.action.hover
56
+ }
57
+ };
58
+ });
59
+ const ITEM_DEPTH_OFFSET = 12;
60
+ function TreeviewItem({
61
+ index,
62
+ nodes,
63
+ onSelectedItem,
64
+ onExpandItem,
65
+ highlightedReportId,
66
+ searchTerm,
67
+ currentResultIndex,
68
+ searchResults,
69
+ style
70
+ }) {
71
+ const currentNode = nodes[index];
72
+ const left = currentNode.depth * ITEM_DEPTH_OFFSET;
73
+ const isCollapsable = currentNode.isCollapsable ?? true;
74
+ const theme = useTheme();
75
+ const handleClick = useCallback(() => {
76
+ onSelectedItem(currentNode);
77
+ }, [onSelectedItem, currentNode]);
78
+ const handleExpand = useCallback(() => {
79
+ onExpandItem(currentNode);
80
+ }, [onExpandItem, currentNode]);
81
+ const highlightText = useMemo(
82
+ () => (text, highlight) => {
83
+ if (!highlight) {
84
+ return text;
85
+ }
86
+ const safeInput = escapeRegExp(highlight);
87
+ const parts = text.split(new RegExp(`(${safeInput})`, "gi"));
88
+ return parts.map((part, partIndex) => {
89
+ if (part.toLowerCase() === safeInput.toLowerCase()) {
90
+ const isCurrentOccurrence = searchResults[currentResultIndex] === index;
91
+ return /* @__PURE__ */ jsx(
92
+ "span",
93
+ {
94
+ style: {
95
+ backgroundColor: isCurrentOccurrence ? theme.searchedText.currentHighlightColor : theme.searchedText.highlightColor
96
+ },
97
+ children: part
98
+ },
99
+ `${part}-${partIndex}`
100
+ );
101
+ }
102
+ return part;
103
+ });
104
+ },
105
+ [searchResults, currentResultIndex, index, theme]
106
+ );
107
+ return /* @__PURE__ */ jsx(TreeViewItemBox, { sx: mergeSx(styles.content, styles.labelRoot), style, children: /* @__PURE__ */ jsxs(
108
+ TreeViewItemStack,
109
+ {
110
+ direction: "row",
111
+ left,
112
+ node: currentNode,
113
+ sx: mergeSx(styles.root, highlightedReportId === currentNode.id ? styles.highlighted : void 0),
114
+ children: [
115
+ isCollapsable && /* @__PURE__ */ jsx(
116
+ Box,
117
+ {
118
+ component: currentNode.collapsed ? ArrowRight : ArrowDropDown,
119
+ sx: { visibility: currentNode.isLeaf ? "hidden" : "visible", fontSize: "18px" },
120
+ onClick: handleExpand
121
+ }
122
+ ),
123
+ currentNode.icon,
124
+ /* @__PURE__ */ jsx(Typography, { variant: "body2", sx: styles.labelText, onClick: handleClick, children: highlightText(currentNode.label, searchTerm) })
125
+ ]
126
+ }
127
+ ) });
128
+ }
129
+ export {
130
+ TreeviewItem
131
+ };
@@ -0,0 +1,11 @@
1
+ import { ReportItem } from './treeview-item';
2
+ import { ReportTree } from '../report.type';
3
+ export interface TreeViewProps {
4
+ expandedTreeReports: string[];
5
+ setExpandedTreeReports: (reportIds: string[]) => void;
6
+ selectedReportId: string;
7
+ reportTree: ReportTree;
8
+ onSelectedItem: (node: ReportItem) => void;
9
+ highlightedReportId?: string;
10
+ }
11
+ export declare function VirtualizedTreeview({ expandedTreeReports, setExpandedTreeReports, selectedReportId, onSelectedItem, highlightedReportId, reportTree, }: TreeViewProps): import("react").JSX.Element;