@gridsuite/commons-ui 0.237.0 → 0.239.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 (626) hide show
  1. package/dist/components/composite/agGridTable/BottomTableButtons.d.ts +1 -1
  2. package/dist/components/composite/agGridTable/CustomAgGridTable.js +7 -1
  3. package/dist/components/composite/agGridTable/cellEditors/numericEditor.d.ts +1 -1
  4. package/dist/components/composite/customAGGrid/cell-renderers.d.ts +8 -8
  5. package/dist/components/composite/customAGGrid/cell-renderers.js +1 -1
  6. package/dist/components/composite/customAGGrid/context/custom-aggrid-context.d.ts +13 -0
  7. package/dist/components/composite/customAGGrid/context/custom-aggrid-context.js +23 -0
  8. package/dist/components/composite/customAGGrid/context/index.d.ts +7 -0
  9. package/dist/components/composite/customAGGrid/context/index.js +7 -0
  10. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-autocomplete-filter.d.ts +7 -0
  11. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-autocomplete-filter.js +74 -0
  12. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-filter.d.ts +2 -0
  13. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-filter.js +52 -0
  14. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-selector.d.ts +9 -0
  15. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-selector.js +18 -0
  16. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-filter.d.ts +11 -0
  17. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-filter.js +77 -0
  18. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.d.ts +10 -0
  19. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.js +59 -0
  20. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-filter-icon.d.ts +8 -0
  21. package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-filter-icon.js +22 -0
  22. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/index.d.ts +8 -0
  23. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/index.js +6 -0
  24. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-column-filter.d.ts +7 -0
  25. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-column-filter.js +111 -0
  26. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-comparator-filter.d.ts +12 -0
  27. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-comparator-filter.js +65 -0
  28. package/dist/components/composite/customAGGrid/custom-aggrid-filters/index.d.ts +14 -0
  29. package/dist/components/composite/customAGGrid/custom-aggrid-filters/index.js +21 -0
  30. package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/filter-tolerance-utils.d.ts +7 -0
  31. package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/filter-tolerance-utils.js +79 -0
  32. package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/index.d.ts +7 -0
  33. package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/index.js +5 -0
  34. package/dist/components/composite/customAGGrid/custom-aggrid-header.d.ts +15 -0
  35. package/dist/components/composite/customAGGrid/custom-aggrid-header.js +96 -0
  36. package/dist/components/composite/customAGGrid/custom-aggrid-menu.d.ts +11 -0
  37. package/dist/components/composite/customAGGrid/custom-aggrid-menu.js +20 -0
  38. package/dist/components/composite/customAGGrid/custom-aggrid-sort.d.ts +8 -0
  39. package/dist/components/composite/customAGGrid/custom-aggrid-sort.js +21 -0
  40. package/dist/components/composite/customAGGrid/custom-aggrid-types.d.ts +122 -0
  41. package/dist/components/composite/customAGGrid/custom-aggrid-types.js +60 -0
  42. package/dist/components/composite/customAGGrid/display-rounding.d.ts +9 -0
  43. package/dist/components/composite/customAGGrid/display-rounding.js +33 -0
  44. package/dist/components/composite/customAGGrid/hooks/index.d.ts +7 -0
  45. package/dist/components/composite/customAGGrid/hooks/index.js +4 -0
  46. package/dist/components/composite/customAGGrid/hooks/use-custom-aggrid-sort.d.ts +6 -0
  47. package/dist/components/composite/customAGGrid/hooks/use-custom-aggrid-sort.js +43 -0
  48. package/dist/components/composite/customAGGrid/index.d.ts +9 -0
  49. package/dist/components/composite/customAGGrid/index.js +45 -1
  50. package/dist/components/composite/customAGGrid/separatorCellRenderer.d.ts +1 -1
  51. package/dist/components/composite/customAGGrid/utils/custom-aggrid-header-utils.d.ts +166 -0
  52. package/dist/components/composite/customAGGrid/utils/custom-aggrid-header-utils.js +54 -0
  53. package/dist/components/composite/customAGGrid/utils/index.d.ts +7 -0
  54. package/dist/components/composite/customAGGrid/utils/index.js +4 -0
  55. package/dist/components/composite/dnd-table/deletable-table-row.d.ts +1 -1
  56. package/dist/components/composite/dnd-table/dnd-table-add-rows-dialog.d.ts +1 -1
  57. package/dist/components/composite/dnd-table/dnd-table-add-rows-dialog.js +1 -0
  58. package/dist/components/composite/dnd-table/dnd-table-bottom-left-buttons.d.ts +1 -1
  59. package/dist/components/composite/dnd-table/dnd-table-bottom-right-buttons.d.ts +1 -1
  60. package/dist/components/composite/dnd-table/dnd-table-row.d.ts +1 -1
  61. package/dist/components/composite/dnd-table/dnd-table-row.js +2 -1
  62. package/dist/components/composite/dnd-table/dnd-table.d.ts +1 -1
  63. package/dist/components/composite/dnd-table/dnd-table.js +1 -0
  64. package/dist/components/composite/elementSearch/elementItem/EquipmentItem.d.ts +1 -1
  65. package/dist/components/composite/elementSearch/elementSearchDialog/ElementSearchDialog.d.ts +1 -1
  66. package/dist/components/composite/elementSearch/elementSearchInput/ElementSearchInput.d.ts +1 -1
  67. package/dist/components/composite/elementSearch/tagRenderer/TagRenderer.d.ts +1 -1
  68. package/dist/components/composite/filter/FilterCreationDialog.d.ts +1 -1
  69. package/dist/components/composite/filter/FilterCreationDialog.js +1 -1
  70. package/dist/components/composite/filter/FilterForm.d.ts +1 -1
  71. package/dist/components/composite/filter/HeaderFilterForm.d.ts +1 -1
  72. package/dist/components/composite/filter/HeaderFilterForm.js +1 -0
  73. package/dist/components/composite/filter/expert/ExpertFilterEditionDialog.d.ts +1 -1
  74. package/dist/components/composite/filter/expert/ExpertFilterForm.d.ts +1 -1
  75. package/dist/components/composite/filter/expert/ExpertFilterForm.js +1 -0
  76. package/dist/components/composite/filter/expert/expertFilterConstants.js +1 -1
  77. package/dist/components/composite/filter/expert/expertFilterUtils.js +1 -1
  78. package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterEditionDialog.d.ts +1 -1
  79. package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.d.ts +1 -1
  80. package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +1 -0
  81. package/dist/components/composite/filter/utils/filterApi.js +1 -1
  82. package/dist/components/composite/flatParameters/FlatParameters.d.ts +1 -1
  83. package/dist/components/composite/grid/grid-item.d.ts +1 -1
  84. package/dist/components/composite/grid/grid-section.d.ts +1 -1
  85. package/dist/components/composite/index.d.ts +1 -0
  86. package/dist/components/composite/index.js +67 -0
  87. package/dist/components/composite/muiTable/OverflowableTableCell.d.ts +1 -1
  88. package/dist/components/composite/muiTable/OverflowableTableCellWithCheckbox.d.ts +1 -1
  89. package/dist/components/composite/reactQueryBuilder/AddButton.d.ts +1 -1
  90. package/dist/components/composite/reactQueryBuilder/AutocompleteWithFavorites.d.ts +1 -1
  91. package/dist/components/composite/reactQueryBuilder/CombinatorSelector.d.ts +1 -1
  92. package/dist/components/composite/reactQueryBuilder/CountryValueEditor.d.ts +1 -1
  93. package/dist/components/composite/reactQueryBuilder/CustomReactQueryBuilder.d.ts +1 -1
  94. package/dist/components/composite/reactQueryBuilder/ElementValueEditor.d.ts +1 -1
  95. package/dist/components/composite/reactQueryBuilder/FieldSelector.d.ts +1 -1
  96. package/dist/components/composite/reactQueryBuilder/OperatorSelector.d.ts +1 -1
  97. package/dist/components/composite/reactQueryBuilder/PropertyValueEditor.d.ts +1 -1
  98. package/dist/components/composite/reactQueryBuilder/RemoveButton.d.ts +1 -1
  99. package/dist/components/composite/reactQueryBuilder/TextValueEditor.d.ts +1 -1
  100. package/dist/components/composite/reactQueryBuilder/TranslatedValueEditor.d.ts +1 -1
  101. package/dist/components/composite/reactQueryBuilder/ValueEditor.d.ts +1 -1
  102. package/dist/components/composite/reactQueryBuilder/ValueSelector.d.ts +1 -1
  103. package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +1 -1
  104. package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +1 -1
  105. package/dist/components/composite/report/QuickSearch.d.ts +14 -0
  106. package/dist/components/composite/report/QuickSearch.js +118 -0
  107. package/dist/components/composite/report/index.d.ts +12 -0
  108. package/dist/components/composite/report/index.js +25 -0
  109. package/dist/components/composite/report/report-log.mapper.d.ts +2 -0
  110. package/dist/components/composite/report/report-log.mapper.js +22 -0
  111. package/dist/components/composite/report/report-severity.d.ts +5 -0
  112. package/dist/components/composite/report/report-severity.js +89 -0
  113. package/dist/components/composite/report/report-treeview/hooks/index.d.ts +7 -0
  114. package/dist/components/composite/report/report-treeview/hooks/index.js +4 -0
  115. package/dist/components/composite/report/report-treeview/hooks/use-treeview-scroll.d.ts +4 -0
  116. package/dist/components/composite/report/report-treeview/hooks/use-treeview-scroll.js +19 -0
  117. package/dist/components/composite/report/report-treeview/index.d.ts +10 -0
  118. package/dist/components/composite/report/report-treeview/index.js +10 -0
  119. package/dist/components/composite/report/report-treeview/report-tree.mapper.d.ts +2 -0
  120. package/dist/components/composite/report/report-treeview/report-tree.mapper.js +16 -0
  121. package/dist/components/composite/report/report-treeview/treeview-item.d.ts +28 -0
  122. package/dist/components/composite/report/report-treeview/treeview-item.js +131 -0
  123. package/dist/components/composite/report/report-treeview/virtualized-treeview.d.ts +11 -0
  124. package/dist/components/composite/report/report-treeview/virtualized-treeview.js +177 -0
  125. package/dist/components/composite/report/report-viewer/context/index.d.ts +7 -0
  126. package/dist/components/composite/report/report-viewer/context/index.js +7 -0
  127. package/dist/components/composite/report/report-viewer/context/report-viewer-context.d.ts +16 -0
  128. package/dist/components/composite/report/report-viewer/context/report-viewer-context.js +23 -0
  129. package/dist/components/composite/report/report-viewer/index.d.ts +9 -0
  130. package/dist/components/composite/report/report-viewer/index.js +11 -0
  131. package/dist/components/composite/report/report-viewer/log-table/index.d.ts +7 -0
  132. package/dist/components/composite/report/report-viewer/log-table/index.js +4 -0
  133. package/dist/components/composite/report/report-viewer/log-table/log-table.d.ts +12 -0
  134. package/dist/components/composite/report/report-viewer/log-table/log-table.js +423 -0
  135. package/dist/components/composite/report/report-viewer/report-viewer.d.ts +8 -0
  136. package/dist/components/composite/report/report-viewer/report-viewer.js +114 -0
  137. package/dist/components/composite/report/report.constant.d.ts +8 -0
  138. package/dist/components/composite/report/report.constant.js +6 -0
  139. package/dist/components/composite/report/report.styles.d.ts +10 -0
  140. package/dist/components/composite/report/report.styles.js +12 -0
  141. package/dist/components/composite/report/report.type.d.ts +66 -0
  142. package/dist/components/composite/report/report.type.js +8 -0
  143. package/dist/components/index.js +76 -1
  144. package/dist/components/ui/addButton/AddButton.d.ts +1 -1
  145. package/dist/components/ui/checkBoxList/CheckBoxList.d.ts +1 -1
  146. package/dist/components/ui/checkBoxList/CheckBoxListItem.d.ts +1 -1
  147. package/dist/components/ui/checkBoxList/CheckBoxListItemContent.d.ts +1 -1
  148. package/dist/components/ui/checkBoxList/CheckBoxListItems.d.ts +1 -1
  149. package/dist/components/ui/checkBoxList/DraggableCheckBoxListItem.d.ts +1 -1
  150. package/dist/components/ui/checkBoxList/DraggableCheckBoxListItemContent.d.ts +1 -1
  151. package/dist/components/ui/csvDownloader/export-csv-button.d.ts +1 -1
  152. package/dist/components/ui/csvPicker/csv-picker-confirmation-dialog.d.ts +1 -1
  153. package/dist/components/ui/csvPicker/csv-picker-confirmation-dialog.js +1 -0
  154. package/dist/components/ui/csvPicker/csv-picker.d.ts +1 -1
  155. package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.d.ts +1 -1
  156. package/dist/components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.d.ts +1 -1
  157. package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.d.ts +1 -1
  158. package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +1 -0
  159. package/dist/components/ui/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +1 -1
  160. package/dist/components/ui/dialogs/multipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -1
  161. package/dist/components/ui/dialogs/popupConfirmationDialog/PopupConfirmationDialog.d.ts +1 -1
  162. package/dist/components/ui/directoryItemSelector/DirectoryItemSelector.d.ts +1 -1
  163. package/dist/components/ui/expandableGroup/ExpandableGroup.d.ts +1 -1
  164. package/dist/components/ui/icons/ArrowsInputIcon.d.ts +1 -1
  165. package/dist/components/ui/icons/ArrowsOutputIcon.d.ts +1 -1
  166. package/dist/components/ui/icons/EditNoteIcon.d.ts +1 -1
  167. package/dist/components/ui/icons/LeftPanelCloseIcon.d.ts +1 -1
  168. package/dist/components/ui/icons/LeftPanelOpenIcon.d.ts +1 -1
  169. package/dist/components/ui/index.js +9 -1
  170. package/dist/components/ui/inputs/ActivableChip.d.ts +1 -1
  171. package/dist/components/ui/inputs/SelectClearable.d.ts +1 -1
  172. package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-autocomplete.d.ts +1 -1
  173. package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-autocomplete.js +1 -1
  174. package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-item.d.ts +1 -1
  175. package/dist/components/ui/inputs/checkbox-autocomplete/virtualized-list-item.d.ts +1 -1
  176. package/dist/components/ui/menus/custom-nested-menu.d.ts +2 -2
  177. package/dist/components/ui/menus/custom-nested-menu.js +1 -1
  178. package/dist/components/ui/overflowableText/OverflowableText.d.ts +2 -2
  179. package/dist/components/ui/reactHookForm/CheckboxNullableInput.d.ts +1 -1
  180. package/dist/components/ui/reactHookForm/CountrySelectionInput.d.ts +1 -1
  181. package/dist/components/ui/reactHookForm/DirectoryItemsInput.d.ts +1 -1
  182. package/dist/components/ui/reactHookForm/OverflowableChip.d.ts +1 -1
  183. package/dist/components/ui/reactHookForm/OverflowableChipWithHelperText.d.ts +1 -1
  184. package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +1 -1
  185. package/dist/components/ui/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts +1 -1
  186. package/dist/components/ui/reactHookForm/booleans/BooleanInput.d.ts +1 -1
  187. package/dist/components/ui/reactHookForm/booleans/CheckboxInput.d.ts +1 -1
  188. package/dist/components/ui/reactHookForm/booleans/RadioInput.d.ts +1 -1
  189. package/dist/components/ui/reactHookForm/booleans/SwitchInput.d.ts +1 -1
  190. package/dist/components/ui/reactHookForm/chip-items-input.d.ts +1 -1
  191. package/dist/components/ui/reactHookForm/constants.d.ts +3 -0
  192. package/dist/components/ui/reactHookForm/constants.js +6 -0
  193. package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.d.ts +5 -0
  194. package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.js +66 -0
  195. package/dist/components/ui/reactHookForm/directory-item-input/directory-item-utils.d.ts +16 -0
  196. package/dist/components/ui/reactHookForm/directory-item-input/directory-item-utils.js +27 -0
  197. package/dist/components/ui/reactHookForm/directory-item-input/index.d.ts +8 -0
  198. package/dist/components/ui/reactHookForm/directory-item-input/index.js +7 -0
  199. package/dist/components/ui/reactHookForm/errorManagement/ErrorInput.d.ts +1 -1
  200. package/dist/components/ui/reactHookForm/errorManagement/FieldErrorAlert.d.ts +1 -1
  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/index.d.ts +1 -0
  204. package/dist/components/ui/reactHookForm/index.js +9 -1
  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/SliderInput.d.ts +1 -1
  209. package/dist/components/ui/reactHookForm/provider/CustomFormProvider.d.ts +1 -1
  210. package/dist/components/ui/reactHookForm/readOnly/ButtonReadOnlyInput.d.ts +1 -1
  211. package/dist/components/ui/reactHookForm/readOnly/ReadOnlyInput.d.ts +1 -1
  212. package/dist/components/ui/reactHookForm/selectInputs/CountriesInput.d.ts +1 -1
  213. package/dist/components/ui/reactHookForm/selectInputs/EnumInput.d.ts +1 -1
  214. package/dist/components/ui/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +1 -1
  215. package/dist/components/ui/reactHookForm/selectInputs/MuiSelectInput.d.ts +1 -1
  216. package/dist/components/ui/reactHookForm/selectInputs/SelectInput.d.ts +1 -1
  217. package/dist/components/ui/reactHookForm/selectInputs/SelectWithConfirmationInput.d.ts +1 -1
  218. package/dist/components/ui/reactHookForm/tableInputs/table-numerical-input.d.ts +1 -1
  219. package/dist/components/ui/reactHookForm/tableInputs/table-text-input.d.ts +1 -1
  220. package/dist/components/ui/reactHookForm/text/DescriptionField.d.ts +1 -1
  221. package/dist/components/ui/reactHookForm/text/DescriptionInput.d.ts +1 -1
  222. package/dist/components/ui/reactHookForm/text/ExpandingTextField.d.ts +1 -1
  223. package/dist/components/ui/reactHookForm/text/TextInput.d.ts +1 -1
  224. package/dist/components/ui/reactHookForm/text/UniqueNameInput.d.ts +1 -1
  225. package/dist/components/ui/reactHookForm/utils/CancelButton.d.ts +1 -1
  226. package/dist/components/ui/reactHookForm/utils/FieldLabel.d.ts +1 -1
  227. package/dist/components/ui/reactHookForm/utils/HelperPreviousValue.d.ts +1 -1
  228. package/dist/components/ui/reactHookForm/utils/SubmitButton.d.ts +1 -1
  229. package/dist/components/ui/reactHookForm/utils/TextFieldWithAdornment.d.ts +1 -1
  230. package/dist/components/ui/reactHookForm/utils/functions.d.ts +2 -2
  231. package/dist/components/ui/resizablePanels/ResizeHandle.d.ts +1 -1
  232. package/dist/components/ui/snackbarProvider/SnackbarProvider.d.ts +1 -1
  233. package/dist/components/ui/tablepagination/custom-table-pagination.d.ts +1 -1
  234. package/dist/components/ui/tooltip/CustomTooltip.d.ts +1 -1
  235. package/dist/components/ui/treeViewFinder/TreeViewFinder.d.ts +2 -2
  236. package/dist/features/announcement/AnnouncementBanner.d.ts +1 -1
  237. package/dist/features/announcement/AnnouncementNotification.d.ts +1 -1
  238. package/dist/features/authentication/AuthenticationRouter.d.ts +1 -1
  239. package/dist/features/authentication/AuthenticationRouterErrorDisplay.d.ts +1 -1
  240. package/dist/features/authentication/Login.d.ts +1 -1
  241. package/dist/features/authentication/Logout.d.ts +1 -1
  242. package/dist/features/authentication/SignInCallbackHandler.d.ts +1 -1
  243. package/dist/features/authentication/SilentRenewCallbackHandler.d.ts +1 -1
  244. package/dist/features/authentication/alert/ErrorInLogoutAlert.d.ts +1 -1
  245. package/dist/features/authentication/alert/ErrorInUserValidationAlert.d.ts +1 -1
  246. package/dist/features/authentication/alert/UnauthorizedAccessAlert.d.ts +1 -1
  247. package/dist/features/authentication/utils/authService.js +1 -1
  248. package/dist/features/cardErrorBoundary/CardErrorBoundary.d.ts +1 -1
  249. package/dist/features/index.js +2 -2
  250. package/dist/features/network-modification-table/network-modification-table-styles.js +1 -1
  251. package/dist/features/network-modification-table/network-modifications-table.d.ts +2 -2
  252. package/dist/features/network-modification-table/renderers/cell-renderers.d.ts +9 -9
  253. package/dist/features/network-modification-table/renderers/cell-renderers.js +1 -1
  254. package/dist/features/network-modification-table/renderers/depth-box.d.ts +1 -1
  255. package/dist/features/network-modification-table/renderers/description-cell.d.ts +1 -1
  256. package/dist/features/network-modification-table/renderers/drag-handle-cell.d.ts +1 -1
  257. package/dist/features/network-modification-table/renderers/name-cell.d.ts +2 -1
  258. package/dist/features/network-modification-table/renderers/name-cell.js +8 -1
  259. package/dist/features/network-modification-table/renderers/network-modification-node-editor-name-header.d.ts +1 -1
  260. package/dist/features/network-modification-table/renderers/root-network-chip-cell.d.ts +1 -1
  261. package/dist/features/network-modification-table/renderers/select-cell.d.ts +2 -1
  262. package/dist/features/network-modification-table/renderers/select-header-cell.d.ts +2 -1
  263. package/dist/features/network-modification-table/renderers/switch-cell.d.ts +2 -1
  264. package/dist/features/network-modification-table/row/drag-row-clone.d.ts +2 -1
  265. package/dist/features/network-modification-table/row/modification-row.d.ts +2 -1
  266. package/dist/features/network-modification-table/row/modification-row.js +1 -1
  267. package/dist/features/network-modifications/battery/creation/BatteryCreationForm.d.ts +1 -1
  268. package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +7 -0
  269. package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +7 -0
  270. package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.d.ts +1 -1
  271. package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +7 -0
  272. package/dist/features/network-modifications/battery/modification/BatteryDialogTabs.d.ts +2 -7
  273. package/dist/features/network-modifications/battery/modification/BatteryDialogTabs.js +1 -1
  274. package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.d.ts +1 -1
  275. package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +7 -0
  276. package/dist/features/network-modifications/battery/modification/BatteryModificationForm.d.ts +1 -1
  277. package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +8 -1
  278. package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.d.ts +1 -1
  279. package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.js +2 -1
  280. package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.d.ts +1 -1
  281. package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.js +1 -0
  282. package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.d.ts +1 -1
  283. package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +2 -1
  284. package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.d.ts +1 -1
  285. package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.js +1 -0
  286. package/dist/features/network-modifications/common/connectivity/BranchConnectivityForm.d.ts +1 -1
  287. package/dist/features/network-modifications/common/connectivity/ConnectivityForm.d.ts +1 -1
  288. package/dist/features/network-modifications/common/connectivity/ConnectivityForm.js +1 -0
  289. package/dist/features/network-modifications/common/connectivity/PositionForm.d.ts +1 -1
  290. package/dist/features/network-modifications/common/connectivity/PositionForm.js +1 -0
  291. package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.d.ts +1 -1
  292. package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +1 -0
  293. package/dist/features/network-modifications/common/measurements/BranchActiveReactivePowerMeasurementsForm.d.ts +1 -1
  294. package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.d.ts +1 -1
  295. package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +7 -0
  296. package/dist/features/network-modifications/common/measurements/PowerMeasurementsForm.d.ts +1 -1
  297. package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.d.ts +1 -1
  298. package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.js +1 -0
  299. package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js +1 -1
  300. package/dist/features/network-modifications/common/properties/PropertiesForm.d.ts +1 -1
  301. package/dist/features/network-modifications/common/properties/PropertiesForm.js +1 -0
  302. package/dist/features/network-modifications/common/properties/PropertyForm.d.ts +1 -1
  303. package/dist/features/network-modifications/common/properties/PropertyForm.js +1 -0
  304. package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.d.ts +1 -1
  305. package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +1 -0
  306. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.d.ts +1 -1
  307. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -0
  308. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.d.ts +1 -1
  309. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -0
  310. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +1 -1
  311. package/dist/features/network-modifications/common/reactiveLimits/reactiveLimits.utils.js +1 -1
  312. package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.d.ts +1 -1
  313. package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js +1 -0
  314. package/dist/features/network-modifications/common/setpoints/SetPointsForm.d.ts +1 -1
  315. package/dist/features/network-modifications/common/setpoints/SetPointsForm.js +1 -0
  316. package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.d.ts +1 -1
  317. package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.js +1 -0
  318. package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.d.ts +1 -1
  319. package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +1 -0
  320. package/dist/features/network-modifications/common/voltageRegulation/voltageRegulation.utils.js +1 -1
  321. package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.d.ts +1 -1
  322. package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +7 -0
  323. package/dist/features/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +1 -0
  324. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.d.ts +1 -1
  325. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.d.ts +1 -1
  326. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +1 -0
  327. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/hvdcLccDeletion.utils.js +1 -1
  328. package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.d.ts +1 -1
  329. package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +7 -0
  330. package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +8 -1
  331. package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.d.ts +1 -1
  332. package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +7 -0
  333. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabs.d.ts +2 -7
  334. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabs.js +1 -1
  335. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.d.ts +1 -1
  336. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +7 -0
  337. package/dist/features/network-modifications/generator/modification/GeneratorModificationForm.d.ts +1 -1
  338. package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +8 -1
  339. package/dist/features/network-modifications/index.js +1 -0
  340. package/dist/features/network-modifications/load/common/LoadDialogHeader.d.ts +1 -1
  341. package/dist/features/network-modifications/load/common/LoadDialogHeader.js +7 -0
  342. package/dist/features/network-modifications/load/common/LoadDialogTabs.d.ts +2 -7
  343. package/dist/features/network-modifications/load/common/LoadDialogTabs.js +1 -1
  344. package/dist/features/network-modifications/load/common/LoadDialogTabsContent.d.ts +1 -1
  345. package/dist/features/network-modifications/load/common/LoadForm.d.ts +1 -1
  346. package/dist/features/network-modifications/load/creation/loadCreation.utils.js +1 -0
  347. package/dist/features/network-modifications/load/modification/loadModification.utils.js +7 -0
  348. package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.d.ts +1 -1
  349. package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +1 -0
  350. package/dist/features/network-modifications/shunt-compensator/common/characteristicsForm.utils.js +1 -1
  351. package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.d.ts +1 -1
  352. package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +7 -0
  353. package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +7 -0
  354. package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.d.ts +1 -1
  355. package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +7 -0
  356. package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +7 -0
  357. package/dist/features/network-modifications/substation/creation/SubstationCreationForm.d.ts +1 -1
  358. package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +7 -0
  359. package/dist/features/network-modifications/substation/creation/substationCreation.utils.js +1 -1
  360. package/dist/features/network-modifications/substation/modification/SubstationModificationForm.d.ts +1 -1
  361. package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +7 -0
  362. package/dist/features/network-modifications/substation/modification/substationModification.utils.js +1 -1
  363. package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.d.ts +1 -1
  364. package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +8 -1
  365. package/dist/features/network-modifications/voltageLevel/creation/index.js +7 -0
  366. package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.d.ts +1 -1
  367. package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +1 -0
  368. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.d.ts +1 -1
  369. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +1 -0
  370. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusCreation.d.ts +1 -1
  371. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.d.ts +1 -1
  372. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.js +1 -0
  373. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.d.ts +1 -1
  374. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +1 -0
  375. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.d.ts +1 -1
  376. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +7 -0
  377. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.d.ts +1 -1
  378. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +1 -0
  379. package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +10 -3
  380. package/dist/features/network-modifications/voltageLevel/index.js +7 -0
  381. package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.d.ts +1 -1
  382. package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +8 -1
  383. package/dist/features/network-modifications/voltageLevel/modification/voltageLevelModification.utils.js +3 -3
  384. package/dist/features/node/build-status-chip.d.ts +1 -1
  385. package/dist/features/notifications/NotificationsProvider.d.ts +1 -1
  386. package/dist/features/parameters/common/ProviderParam.d.ts +1 -1
  387. package/dist/features/parameters/common/ProviderParam.js +1 -0
  388. package/dist/features/parameters/common/computing-type.d.ts +1 -19
  389. package/dist/features/parameters/common/computing-type.js +16 -26
  390. package/dist/features/parameters/common/contingency-table/columns-definitions.js +1 -0
  391. package/dist/features/parameters/common/index.js +1 -2
  392. package/dist/features/parameters/common/limitreductions/columns-definitions.d.ts +2 -2
  393. package/dist/features/parameters/common/limitreductions/limit-reduction-table-cell.d.ts +1 -1
  394. package/dist/features/parameters/common/limitreductions/limit-reduction-table-cell.js +1 -0
  395. package/dist/features/parameters/common/limitreductions/limit-reduction-table-row.d.ts +1 -1
  396. package/dist/features/parameters/common/limitreductions/limit-reductions-label-column.d.ts +1 -1
  397. package/dist/features/parameters/common/limitreductions/limit-reductions-table-form.d.ts +1 -1
  398. package/dist/features/parameters/common/limitreductions/limit-reductions-table-form.js +1 -0
  399. package/dist/features/parameters/common/limitreductions/limit-reductions-tooltip-column.d.ts +1 -1
  400. package/dist/features/parameters/common/line-separator.d.ts +1 -1
  401. package/dist/features/parameters/common/name-element-editor/name-element-editor-form.d.ts +1 -1
  402. package/dist/features/parameters/common/name-element-editor/name-element-editor-utils.js +1 -0
  403. package/dist/features/parameters/common/parameter-field.d.ts +1 -1
  404. package/dist/features/parameters/common/parameter-field.js +1 -0
  405. package/dist/features/parameters/common/parameter-table-field/parameter-table-field.d.ts +1 -1
  406. package/dist/features/parameters/common/parameter-table-field/parameter-table-field.js +1 -0
  407. package/dist/features/parameters/common/parameters-creation-dialog.d.ts +1 -1
  408. package/dist/features/parameters/common/parameters.d.ts +3 -3
  409. package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-cell.d.ts +1 -1
  410. package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +1 -0
  411. package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-row.d.ts +1 -1
  412. package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table.d.ts +1 -1
  413. package/dist/features/parameters/common/widget/parameter-float.d.ts +1 -1
  414. package/dist/features/parameters/common/widget/parameter-float.js +1 -0
  415. package/dist/features/parameters/common/widget/parameter-group.d.ts +1 -1
  416. package/dist/features/parameters/common/widget/parameter-line-directory-items-input.d.ts +2 -2
  417. package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +2 -1
  418. package/dist/features/parameters/common/widget/parameter-line-slider.d.ts +1 -1
  419. package/dist/features/parameters/common/widget/parameter-line-slider.js +1 -0
  420. package/dist/features/parameters/common/widget/parameter-switch.d.ts +1 -1
  421. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.d.ts +1 -1
  422. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +1 -0
  423. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.d.ts +2 -2
  424. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +1 -0
  425. package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.d.ts +1 -1
  426. package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +1 -0
  427. package/dist/features/parameters/dynamic-margin-calculation/time-delay-parameters.d.ts +1 -1
  428. package/dist/features/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +1 -0
  429. package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.d.ts +1 -1
  430. package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +3 -2
  431. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.d.ts +2 -2
  432. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +1 -0
  433. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.d.ts +1 -1
  434. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +3 -2
  435. package/dist/features/parameters/dynamic-security-analysis/scenario-parameters.d.ts +1 -1
  436. package/dist/features/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +1 -0
  437. package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-select.d.ts +1 -1
  438. package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-treeview.d.ts +2 -2
  439. package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-treeview.js +2 -4
  440. package/dist/features/parameters/dynamic-simulation/curve/common/grid-buttons.d.ts +1 -1
  441. package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.d.ts +1 -1
  442. package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.js +8 -3
  443. package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-preview.js +6 -0
  444. package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.d.ts +1 -1
  445. package/dist/features/parameters/dynamic-simulation/curve/dialog/equipment-filter.js +2 -0
  446. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.d.ts +2 -3
  447. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +5 -3
  448. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.d.ts +1 -1
  449. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +3 -2
  450. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters-utils.d.ts +6 -3
  451. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters-utils.js +40 -2
  452. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.d.ts +1 -1
  453. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +39 -36
  454. package/dist/features/parameters/dynamic-simulation/network/network-parameters.d.ts +1 -1
  455. package/dist/features/parameters/dynamic-simulation/solver/common-solver/common-solver-parameters.d.ts +1 -1
  456. package/dist/features/parameters/dynamic-simulation/solver/ida-solver/ida-solver-parameters.d.ts +1 -1
  457. package/dist/features/parameters/dynamic-simulation/solver/sim-solver/simplified-solver-parameters.d.ts +1 -1
  458. package/dist/features/parameters/dynamic-simulation/solver/solver-parameters.d.ts +1 -1
  459. package/dist/features/parameters/dynamic-simulation/time-delay/time-delay-parameters.d.ts +1 -1
  460. package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.d.ts +3 -3
  461. package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +11 -10
  462. package/dist/features/parameters/index.js +1 -2
  463. package/dist/features/parameters/loadflow/load-flow-general-parameters.d.ts +1 -1
  464. package/dist/features/parameters/loadflow/load-flow-general-parameters.js +1 -0
  465. package/dist/features/parameters/loadflow/load-flow-parameters-content.d.ts +1 -1
  466. package/dist/features/parameters/loadflow/load-flow-parameters-content.js +4 -3
  467. package/dist/features/parameters/loadflow/load-flow-parameters-dialog.d.ts +1 -1
  468. package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +7 -11
  469. package/dist/features/parameters/loadflow/load-flow-parameters-form.d.ts +1 -1
  470. package/dist/features/parameters/loadflow/load-flow-parameters-form.js +1 -0
  471. package/dist/features/parameters/loadflow/load-flow-parameters-header.d.ts +1 -1
  472. package/dist/features/parameters/loadflow/load-flow-parameters-header.js +1 -0
  473. package/dist/features/parameters/loadflow/load-flow-parameters-inline.d.ts +2 -3
  474. package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +1 -0
  475. package/dist/features/parameters/loadflow/load-flow-parameters-provider.d.ts +1 -1
  476. package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +7 -6
  477. package/dist/features/parameters/loadflow/use-load-flow-parameters-form.d.ts +1 -2
  478. package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +5 -4
  479. package/dist/features/parameters/network-visualizations/map-parameters.d.ts +1 -1
  480. package/dist/features/parameters/network-visualizations/map-parameters.js +3 -2
  481. package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.d.ts +1 -1
  482. package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.js +1 -0
  483. package/dist/features/parameters/network-visualizations/network-visualizations-form.d.ts +1 -1
  484. package/dist/features/parameters/network-visualizations/network-visualizations-form.js +1 -0
  485. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.d.ts +1 -1
  486. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +1 -0
  487. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.d.ts +1 -1
  488. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +1 -0
  489. package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.d.ts +1 -1
  490. package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +3 -2
  491. package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -0
  492. package/dist/features/parameters/pcc-min/pcc-min-form-utils.js +1 -0
  493. package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.d.ts +1 -1
  494. package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.js +1 -0
  495. package/dist/features/parameters/pcc-min/pcc-min-parameters-form.d.ts +1 -1
  496. package/dist/features/parameters/pcc-min/pcc-min-parameters-form.js +1 -0
  497. package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.d.ts +1 -1
  498. package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +1 -0
  499. package/dist/features/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -0
  500. package/dist/features/parameters/security-analysis/columns-definitions.js +7 -6
  501. package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.d.ts +1 -1
  502. package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +11 -15
  503. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.d.ts +1 -1
  504. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +1 -0
  505. package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.d.ts +2 -3
  506. package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +1 -0
  507. package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.d.ts +1 -1
  508. package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.js +2 -1
  509. package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.d.ts +1 -1
  510. package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +1 -0
  511. package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.d.ts +2 -2
  512. package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -0
  513. package/dist/features/parameters/sensi/columns-definitions.d.ts +6 -6
  514. package/dist/features/parameters/sensi/columns-definitions.js +1 -0
  515. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.d.ts +1 -1
  516. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +6 -10
  517. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-factor-count.d.ts +1 -1
  518. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.d.ts +1 -1
  519. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +1 -0
  520. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.d.ts +2 -3
  521. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +1 -0
  522. package/dist/features/parameters/sensi/sensitivity-parameters-fields.d.ts +1 -1
  523. package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +1 -0
  524. package/dist/features/parameters/sensi/sensitivity-parameters-selector.d.ts +1 -1
  525. package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +2 -1
  526. package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.d.ts +1 -2
  527. package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -0
  528. package/dist/features/parameters/sensi/utils.js +1 -0
  529. package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +1 -0
  530. package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-cell.d.ts +1 -1
  531. package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +2 -1
  532. package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-row.d.ts +1 -1
  533. package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table.d.ts +1 -1
  534. package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-cell.d.ts +1 -1
  535. package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-cell.js +1 -0
  536. package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-row.d.ts +1 -1
  537. package/dist/features/parameters/short-circuit/short-circuit-icc-material-table.d.ts +1 -1
  538. package/dist/features/parameters/short-circuit/short-circuit-parameters-content.d.ts +1 -1
  539. package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +2 -1
  540. package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.d.ts +1 -1
  541. package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +2 -6
  542. package/dist/features/parameters/short-circuit/short-circuit-parameters-form.d.ts +1 -1
  543. package/dist/features/parameters/short-circuit/short-circuit-parameters-form.js +1 -0
  544. package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.d.ts +2 -3
  545. package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +1 -0
  546. package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +8 -7
  547. package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +3 -2
  548. package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +4 -3
  549. package/dist/features/parameters/short-circuit/short-circuit-voltage-table.d.ts +1 -1
  550. package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.d.ts +1 -2
  551. package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.js +1 -0
  552. package/dist/features/parameters/voltage-init/equipment-selection-parameters.d.ts +1 -1
  553. package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +1 -0
  554. package/dist/features/parameters/voltage-init/general-parameters.d.ts +1 -1
  555. package/dist/features/parameters/voltage-init/general-parameters.js +4 -3
  556. package/dist/features/parameters/voltage-init/use-voltage-init-parameters-form.js +1 -0
  557. package/dist/features/parameters/voltage-init/voltage-init-form-utils.js +3 -2
  558. package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.d.ts +1 -1
  559. package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +1 -0
  560. package/dist/features/parameters/voltage-init/voltage-init-parameters-form.d.ts +1 -1
  561. package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +2 -1
  562. package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.d.ts +1 -1
  563. package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +1 -0
  564. package/dist/features/parameters/voltage-init/voltage-limits-parameters.d.ts +1 -1
  565. package/dist/features/parameters/voltage-init/voltage-limits-parameters.js +1 -0
  566. package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.d.ts +1 -1
  567. package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.js +7 -0
  568. package/dist/features/process-configs/security-analysis/update-sa-process-config.d.ts +1 -1
  569. package/dist/features/process-configs/security-analysis/update-sa-process-config.js +3 -0
  570. package/dist/features/process-configs/update-process-config-modifications.d.ts +1 -1
  571. package/dist/features/process-configs/update-process-config-modifications.js +8 -1
  572. package/dist/features/results/securityanalysis/security-analysis-result-nmk.d.ts +1 -1
  573. package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +7 -0
  574. package/dist/features/results/securityanalysis/security-analysis-table.d.ts +1 -1
  575. package/dist/features/results/securityanalysis/security-analysis-table.js +7 -0
  576. package/dist/features/topBar/AboutDialog.d.ts +1 -1
  577. package/dist/features/topBar/AboutDialog.js +1 -1
  578. package/dist/features/topBar/DevModeBanner.d.ts +1 -1
  579. package/dist/features/topBar/GridLogo.d.ts +2 -2
  580. package/dist/features/topBar/GridLogo.js +1 -1
  581. package/dist/features/topBar/TopBar.d.ts +1 -1
  582. package/dist/features/topBar/UserInformationDialog.d.ts +1 -1
  583. package/dist/features/topBar/UserInformationDialog.js +39 -14
  584. package/dist/features/topBar/UserSettingsDialog.d.ts +1 -1
  585. package/dist/hooks/use-parameters-backend.d.ts +1 -1
  586. package/dist/hooks/use-stable-computed-array.d.ts +2 -0
  587. package/dist/hooks/use-stable-computed-array.js +16 -0
  588. package/dist/hooks/useModificationLabelComputer.d.ts +4 -4
  589. package/dist/index.js +85 -8
  590. package/dist/services/dynamic-mapping.d.ts +2 -3
  591. package/dist/services/dynamic-mapping.js +3 -10
  592. package/dist/services/index.js +1 -2
  593. package/dist/services/networkModification.js +1 -1
  594. package/dist/services/security-analysis.js +1 -1
  595. package/dist/services/sensitivity-analysis.js +1 -1
  596. package/dist/translations/en/businessErrorsEn.d.ts +1 -1
  597. package/dist/translations/en/businessErrorsEn.js +1 -1
  598. package/dist/translations/en/topBarEn.d.ts +12 -0
  599. package/dist/translations/en/topBarEn.js +13 -1
  600. package/dist/translations/fr/businessErrorsFr.d.ts +1 -1
  601. package/dist/translations/fr/businessErrorsFr.js +1 -1
  602. package/dist/translations/fr/topBarFr.d.ts +12 -0
  603. package/dist/translations/fr/topBarFr.js +13 -1
  604. package/dist/utils/constants/adornments.js +1 -1
  605. package/dist/utils/index.js +6 -2
  606. package/dist/utils/mapper/getFileIcon.d.ts +1 -1
  607. package/dist/utils/mapper/getFileIcon.js +3 -1
  608. package/dist/utils/rounding.d.ts +20 -0
  609. package/dist/utils/rounding.js +26 -0
  610. package/dist/utils/store-sort-filter-fields.d.ts +38 -0
  611. package/dist/utils/store-sort-filter-fields.js +66 -0
  612. package/dist/utils/styles.d.ts +1 -1
  613. package/dist/utils/ts-utils.d.ts +1 -0
  614. package/dist/utils/ts-utils.js +7 -0
  615. package/dist/utils/types/computing-type.d.ts +19 -0
  616. package/dist/utils/types/computing-type.js +17 -0
  617. package/dist/utils/types/dynamic-margin-calculation.type.d.ts +2 -5
  618. package/dist/utils/types/dynamic-simulation.type.d.ts +6 -4
  619. package/dist/utils/types/dynamic-simulation.type.js +10 -1
  620. package/dist/utils/types/elementType.d.ts +2 -2
  621. package/dist/utils/types/elementType.js +1 -1
  622. package/dist/utils/types/index.d.ts +1 -0
  623. package/dist/utils/types/index.js +4 -1
  624. package/dist/utils/types/parameters.type.d.ts +3 -3
  625. package/dist/utils/types/types.d.ts +11 -0
  626. package/package.json +2 -1
@@ -0,0 +1,26 @@
1
+ const GRIDSUITE_DEFAULT_PRECISION = 13;
2
+ const roundToPrecision = (num, precision) => Number(num.toPrecision(precision));
3
+ const roundToDefaultPrecision = (num) => roundToPrecision(num, GRIDSUITE_DEFAULT_PRECISION);
4
+ const countDecimalPlacesFromString = (numberAsString) => {
5
+ if (numberAsString.includes(".")) {
6
+ return numberAsString.split(".")[1].length;
7
+ }
8
+ return 0;
9
+ };
10
+ const countDecimalPlaces = (number) => {
11
+ const numberAsString = number.toString();
12
+ return countDecimalPlacesFromString(numberAsString);
13
+ };
14
+ const truncateNumber = (value, decimalPrecision) => {
15
+ const factor = 10 ** decimalPrecision;
16
+ const truncatedNumber = Math.floor(value * factor) / factor;
17
+ return truncatedNumber;
18
+ };
19
+ export {
20
+ GRIDSUITE_DEFAULT_PRECISION,
21
+ countDecimalPlaces,
22
+ countDecimalPlacesFromString,
23
+ roundToDefaultPrecision,
24
+ roundToPrecision,
25
+ truncateNumber
26
+ };
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Copyright (c) 2024, 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 declare const LOADFLOW_RESULT_SORT_STORE = "loadflowResult";
8
+ export declare const LOADFLOW_CURRENT_LIMIT_VIOLATION = "loadflowCurrentLimitViolation";
9
+ export declare const LOADFLOW_VOLTAGE_LIMIT_VIOLATION = "loadflowVoltageLimitViolation";
10
+ export declare const LOADFLOW_RESULT = "loadflowResult";
11
+ export declare const SECURITY_ANALYSIS_RESULT_SORT_STORE = "securityAnalysisResult";
12
+ export declare const SECURITY_ANALYSIS_RESULT_N = "securityAnalysisResultN";
13
+ export declare const SECURITY_ANALYSIS_RESULT_N_K = "securityAnalysisResultNK";
14
+ export declare const SECURITY_ANALYSIS_PAGINATION_STORE_FIELD = "securityAnalysisPagination";
15
+ export declare const SENSITIVITY_ANALYSIS_RESULT_SORT_STORE = "sensitivityAnalysisResult";
16
+ export declare const SENSITIVITY_ANALYSIS_PAGINATION_STORE_FIELD = "sensitivityAnalysisPagination";
17
+ export declare const SENSITIVITY_IN_DELTA_MW_N = "sensitivityInDeltaMWN";
18
+ export declare const SENSITIVITY_IN_DELTA_MW_N_K = "sensitivityInDeltaMWNK";
19
+ export declare const SENSITIVITY_IN_DELTA_A_N = "sensitivityInDeltaAN";
20
+ export declare const SENSITIVITY_IN_DELTA_A_N_K = "sensitivityInDeltaANK";
21
+ export declare const SENSITIVITY_AT_NODE_N = "sensitivityAtNodeN";
22
+ export declare const SENSITIVITY_AT_NODE_N_K = "sensitivityAtNodeNK";
23
+ export declare const SHORTCIRCUIT_ANALYSIS_RESULT_SORT_STORE = "shortcircuitAnalysisResult";
24
+ export declare const SHORTCIRCUIT_ANALYSIS_PAGINATION_STORE_FIELD = "shortcircuitAnalysisPagination";
25
+ export declare const ONE_BUS = "oneBus";
26
+ export declare const ALL_BUSES = "allBuses";
27
+ export declare const DYNAMIC_SIMULATION_RESULT_SORT_STORE = "dynamicSimulationResult";
28
+ export declare const TIMELINE = "timeline";
29
+ export declare const SPREADSHEET_SORT_STORE = "spreadsheet";
30
+ export declare const LOGS_PAGINATION_STORE_FIELD = "logsPagination";
31
+ export declare const TABLE_SORT_STORE = "tableSort";
32
+ export declare const STATEESTIMATION_RESULT_SORT_STORE = "stateEstimationResult";
33
+ export declare const STATEESTIMATION_QUALITY_CRITERION = "stateEstimationQualityCriterion";
34
+ export declare const STATEESTIMATION_QUALITY_PER_REGION = "stateEstimationQualityPerRegion";
35
+ export declare const STATEESTIMATION_RESULT = "stateEstimationResult";
36
+ export declare const PCCMIN_ANALYSIS_RESULT_SORT_STORE = "pccminAnalysisResult";
37
+ export declare const PCCMIN_ANALYSIS_PAGINATION_STORE_FIELD = "pccminAnalysisPagination";
38
+ export declare const PCCMIN_RESULT = "pccMinResults";
@@ -0,0 +1,66 @@
1
+ const LOADFLOW_RESULT_SORT_STORE = "loadflowResult";
2
+ const LOADFLOW_CURRENT_LIMIT_VIOLATION = "loadflowCurrentLimitViolation";
3
+ const LOADFLOW_VOLTAGE_LIMIT_VIOLATION = "loadflowVoltageLimitViolation";
4
+ const LOADFLOW_RESULT = "loadflowResult";
5
+ const SECURITY_ANALYSIS_RESULT_SORT_STORE = "securityAnalysisResult";
6
+ const SECURITY_ANALYSIS_RESULT_N = "securityAnalysisResultN";
7
+ const SECURITY_ANALYSIS_RESULT_N_K = "securityAnalysisResultNK";
8
+ const SECURITY_ANALYSIS_PAGINATION_STORE_FIELD = "securityAnalysisPagination";
9
+ const SENSITIVITY_ANALYSIS_RESULT_SORT_STORE = "sensitivityAnalysisResult";
10
+ const SENSITIVITY_ANALYSIS_PAGINATION_STORE_FIELD = "sensitivityAnalysisPagination";
11
+ const SENSITIVITY_IN_DELTA_MW_N = "sensitivityInDeltaMWN";
12
+ const SENSITIVITY_IN_DELTA_MW_N_K = "sensitivityInDeltaMWNK";
13
+ const SENSITIVITY_IN_DELTA_A_N = "sensitivityInDeltaAN";
14
+ const SENSITIVITY_IN_DELTA_A_N_K = "sensitivityInDeltaANK";
15
+ const SENSITIVITY_AT_NODE_N = "sensitivityAtNodeN";
16
+ const SENSITIVITY_AT_NODE_N_K = "sensitivityAtNodeNK";
17
+ const SHORTCIRCUIT_ANALYSIS_RESULT_SORT_STORE = "shortcircuitAnalysisResult";
18
+ const SHORTCIRCUIT_ANALYSIS_PAGINATION_STORE_FIELD = "shortcircuitAnalysisPagination";
19
+ const ONE_BUS = "oneBus";
20
+ const ALL_BUSES = "allBuses";
21
+ const DYNAMIC_SIMULATION_RESULT_SORT_STORE = "dynamicSimulationResult";
22
+ const TIMELINE = "timeline";
23
+ const SPREADSHEET_SORT_STORE = "spreadsheet";
24
+ const LOGS_PAGINATION_STORE_FIELD = "logsPagination";
25
+ const TABLE_SORT_STORE = "tableSort";
26
+ const STATEESTIMATION_RESULT_SORT_STORE = "stateEstimationResult";
27
+ const STATEESTIMATION_QUALITY_CRITERION = "stateEstimationQualityCriterion";
28
+ const STATEESTIMATION_QUALITY_PER_REGION = "stateEstimationQualityPerRegion";
29
+ const STATEESTIMATION_RESULT = "stateEstimationResult";
30
+ const PCCMIN_ANALYSIS_RESULT_SORT_STORE = "pccminAnalysisResult";
31
+ const PCCMIN_ANALYSIS_PAGINATION_STORE_FIELD = "pccminAnalysisPagination";
32
+ const PCCMIN_RESULT = "pccMinResults";
33
+ export {
34
+ ALL_BUSES,
35
+ DYNAMIC_SIMULATION_RESULT_SORT_STORE,
36
+ LOADFLOW_CURRENT_LIMIT_VIOLATION,
37
+ LOADFLOW_RESULT,
38
+ LOADFLOW_RESULT_SORT_STORE,
39
+ LOADFLOW_VOLTAGE_LIMIT_VIOLATION,
40
+ LOGS_PAGINATION_STORE_FIELD,
41
+ ONE_BUS,
42
+ PCCMIN_ANALYSIS_PAGINATION_STORE_FIELD,
43
+ PCCMIN_ANALYSIS_RESULT_SORT_STORE,
44
+ PCCMIN_RESULT,
45
+ SECURITY_ANALYSIS_PAGINATION_STORE_FIELD,
46
+ SECURITY_ANALYSIS_RESULT_N,
47
+ SECURITY_ANALYSIS_RESULT_N_K,
48
+ SECURITY_ANALYSIS_RESULT_SORT_STORE,
49
+ SENSITIVITY_ANALYSIS_PAGINATION_STORE_FIELD,
50
+ SENSITIVITY_ANALYSIS_RESULT_SORT_STORE,
51
+ SENSITIVITY_AT_NODE_N,
52
+ SENSITIVITY_AT_NODE_N_K,
53
+ SENSITIVITY_IN_DELTA_A_N,
54
+ SENSITIVITY_IN_DELTA_A_N_K,
55
+ SENSITIVITY_IN_DELTA_MW_N,
56
+ SENSITIVITY_IN_DELTA_MW_N_K,
57
+ SHORTCIRCUIT_ANALYSIS_PAGINATION_STORE_FIELD,
58
+ SHORTCIRCUIT_ANALYSIS_RESULT_SORT_STORE,
59
+ SPREADSHEET_SORT_STORE,
60
+ STATEESTIMATION_QUALITY_CRITERION,
61
+ STATEESTIMATION_QUALITY_PER_REGION,
62
+ STATEESTIMATION_RESULT,
63
+ STATEESTIMATION_RESULT_SORT_STORE,
64
+ TABLE_SORT_STORE,
65
+ TIMELINE
66
+ };
@@ -6,6 +6,6 @@ export declare const makeComposeClasses: (generateGlobalClass: (className: strin
6
6
  export declare const toNestedGlobalSelectors: (styles: object, generateGlobalClass: (className: string) => string) => {
7
7
  [k: string]: any;
8
8
  };
9
- export declare const mergeSx: (...allSx: (SxProps<Theme> | undefined)[]) => (boolean | import('@mui/system').SystemStyleObject<{}> | ((theme: {}) => import('@mui/system').SystemStyleObject<{}>) | ((theme: {}) => import('@mui/system').SystemStyleObject<{}>))[];
9
+ export declare const mergeSx: (...allSx: (SxProps<Theme> | undefined)[]) => SxProps<Theme>;
10
10
  export type SxStyle = SxProps<Theme>;
11
11
  export type MuiStyles = Record<string, SxStyle>;
@@ -18,3 +18,4 @@ export declare const getObjectId: (object: string | {
18
18
  export declare const richTypeEquals: (a: unknown, b: unknown) => boolean;
19
19
  export declare function getIdOrValue(value: any): any;
20
20
  export declare function getLabelOrValue(value: any): any;
21
+ export declare const isNonEmptyStringOrArray: (value: unknown) => value is string | unknown[];
@@ -43,12 +43,19 @@ function getIdOrValue(value) {
43
43
  function getLabelOrValue(value) {
44
44
  return typeof value !== "string" ? value?.label ?? null : value;
45
45
  }
46
+ const isNonEmptyStringOrArray = (value) => {
47
+ if (typeof value === "string" && value.length > 0) {
48
+ return true;
49
+ }
50
+ return Array.isArray(value) && value.length > 0;
51
+ };
46
52
  export {
47
53
  areIdsEqual,
48
54
  getIdOrSelf,
49
55
  getIdOrValue,
50
56
  getLabelOrValue,
51
57
  getObjectId,
58
+ isNonEmptyStringOrArray,
52
59
  notNull,
53
60
  notUndefined,
54
61
  parseIntData,
@@ -0,0 +1,19 @@
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 declare enum ComputingType {
8
+ LOAD_FLOW = "LOAD_FLOW",
9
+ SECURITY_ANALYSIS = "SECURITY_ANALYSIS",
10
+ SENSITIVITY_ANALYSIS = "SENSITIVITY_ANALYSIS",
11
+ SHORT_CIRCUIT = "SHORT_CIRCUIT",
12
+ SHORT_CIRCUIT_ONE_BUS = "SHORT_CIRCUIT_ONE_BUS",
13
+ DYNAMIC_SIMULATION = "DYNAMIC_SIMULATION",
14
+ DYNAMIC_SECURITY_ANALYSIS = "DYNAMIC_SECURITY_ANALYSIS",
15
+ DYNAMIC_MARGIN_CALCULATION = "DYNAMIC_MARGIN_CALCULATION",
16
+ VOLTAGE_INITIALIZATION = "VOLTAGE_INITIALIZATION",
17
+ STATE_ESTIMATION = "STATE_ESTIMATION",
18
+ PCC_MIN = "PCC_MIN"
19
+ }
@@ -0,0 +1,17 @@
1
+ var ComputingType = /* @__PURE__ */ ((ComputingType2) => {
2
+ ComputingType2["LOAD_FLOW"] = "LOAD_FLOW";
3
+ ComputingType2["SECURITY_ANALYSIS"] = "SECURITY_ANALYSIS";
4
+ ComputingType2["SENSITIVITY_ANALYSIS"] = "SENSITIVITY_ANALYSIS";
5
+ ComputingType2["SHORT_CIRCUIT"] = "SHORT_CIRCUIT";
6
+ ComputingType2["SHORT_CIRCUIT_ONE_BUS"] = "SHORT_CIRCUIT_ONE_BUS";
7
+ ComputingType2["DYNAMIC_SIMULATION"] = "DYNAMIC_SIMULATION";
8
+ ComputingType2["DYNAMIC_SECURITY_ANALYSIS"] = "DYNAMIC_SECURITY_ANALYSIS";
9
+ ComputingType2["DYNAMIC_MARGIN_CALCULATION"] = "DYNAMIC_MARGIN_CALCULATION";
10
+ ComputingType2["VOLTAGE_INITIALIZATION"] = "VOLTAGE_INITIALIZATION";
11
+ ComputingType2["STATE_ESTIMATION"] = "STATE_ESTIMATION";
12
+ ComputingType2["PCC_MIN"] = "PCC_MIN";
13
+ return ComputingType2;
14
+ })(ComputingType || {});
15
+ export {
16
+ ComputingType
17
+ };
@@ -1,4 +1,5 @@
1
1
  import { UUID } from 'node:crypto';
2
+ import { IdName } from './types';
2
3
  export declare enum CalculationType {
3
4
  GLOBAL_MARGIN = "GLOBAL_MARGIN",
4
5
  LOCAL_MARGIN = "LOCAL_MARGIN"
@@ -7,13 +8,9 @@ export declare enum LoadModelsRule {
7
8
  ALL_LOADS = "ALL_LOADS",
8
9
  TARGETED_LOADS = "TARGETED_LOADS"
9
10
  }
10
- export type IdNameInfos = {
11
- id: UUID;
12
- name?: string;
13
- };
14
11
  export type LoadsVariationInfos = {
15
12
  id?: UUID;
16
- loadFilters?: IdNameInfos[];
13
+ loadFilters?: IdName[];
17
14
  variation: number;
18
15
  active: boolean;
19
16
  };
@@ -1,5 +1,6 @@
1
1
  import { UUID } from 'node:crypto';
2
2
  import { EquipmentType } from './equipmentType';
3
+ import { IdName } from './types';
3
4
  export declare enum SolverType {
4
5
  IDA = "IDA",
5
6
  SIM = "SIM"
@@ -69,20 +70,21 @@ type CurveInfos = {
69
70
  variableId: string;
70
71
  };
71
72
  export type SolverInfos = IdaSolverInfos | SimSolverInfos;
72
- export type MappingInfos = {
73
- name: string;
74
- };
75
73
  export type DynamicSimulationParametersInfos = {
76
74
  id?: UUID;
77
75
  provider?: string;
78
76
  startTime?: number;
79
77
  stopTime?: number;
80
- mapping?: string;
78
+ mappingId?: UUID;
81
79
  solver: SolverType;
82
80
  solvers?: SolverInfos[];
83
81
  network?: NetworkInfos;
84
82
  curves?: CurveInfos[] | null;
85
83
  };
84
+ export type DynamicSimulationParametersEnriched = Omit<DynamicSimulationParametersInfos, 'mappingId'> & {
85
+ mapping?: IdName;
86
+ };
87
+ export declare function mapDynamicSimulationParameters(parameters: DynamicSimulationParametersEnriched): DynamicSimulationParametersInfos;
86
88
  export type ModelVariableDefinitionInfos = {
87
89
  name: string;
88
90
  unit: string;
@@ -3,6 +3,15 @@ var SolverType = /* @__PURE__ */ ((SolverType2) => {
3
3
  SolverType2["SIM"] = "SIM";
4
4
  return SolverType2;
5
5
  })(SolverType || {});
6
+ function mapDynamicSimulationParameters(parameters) {
7
+ const { mapping, ...rest } = parameters;
8
+ const newParameters = {
9
+ ...rest,
10
+ mappingId: parameters.mapping?.id
11
+ };
12
+ return newParameters;
13
+ }
6
14
  export {
7
- SolverType
15
+ SolverType,
16
+ mapDynamicSimulationParameters
8
17
  };
@@ -14,7 +14,6 @@ export declare enum ElementType {
14
14
  FILTER = "FILTER",
15
15
  MODIFICATION = "MODIFICATION",
16
16
  CONTINGENCY_LIST = "CONTINGENCY_LIST",
17
- DYNAMIC_SIMULATION_MAPPING = "DYNAMIC_SIMULATION_MAPPING",
18
17
  VOLTAGE_INIT_PARAMETERS = "VOLTAGE_INIT_PARAMETERS",
19
18
  SECURITY_ANALYSIS_PARAMETERS = "SECURITY_ANALYSIS_PARAMETERS",
20
19
  PCC_MIN_PARAMETERS = "PCC_MIN_PARAMETERS",
@@ -29,5 +28,6 @@ export declare enum ElementType {
29
28
  SPREADSHEET_CONFIG_COLLECTION = "SPREADSHEET_CONFIG_COLLECTION",
30
29
  DIAGRAM_CONFIG = "DIAGRAM_CONFIG",
31
30
  WORKSPACE = "WORKSPACE",
32
- PROCESS_CONFIG = "PROCESS_CONFIG"
31
+ PROCESS_CONFIG = "PROCESS_CONFIG",
32
+ DYNAMIC_MAPPING = "DYNAMIC_MAPPING"
33
33
  }
@@ -5,7 +5,6 @@ var ElementType = /* @__PURE__ */ ((ElementType2) => {
5
5
  ElementType2["FILTER"] = "FILTER";
6
6
  ElementType2["MODIFICATION"] = "MODIFICATION";
7
7
  ElementType2["CONTINGENCY_LIST"] = "CONTINGENCY_LIST";
8
- ElementType2["DYNAMIC_SIMULATION_MAPPING"] = "DYNAMIC_SIMULATION_MAPPING";
9
8
  ElementType2["VOLTAGE_INIT_PARAMETERS"] = "VOLTAGE_INIT_PARAMETERS";
10
9
  ElementType2["SECURITY_ANALYSIS_PARAMETERS"] = "SECURITY_ANALYSIS_PARAMETERS";
11
10
  ElementType2["PCC_MIN_PARAMETERS"] = "PCC_MIN_PARAMETERS";
@@ -21,6 +20,7 @@ var ElementType = /* @__PURE__ */ ((ElementType2) => {
21
20
  ElementType2["DIAGRAM_CONFIG"] = "DIAGRAM_CONFIG";
22
21
  ElementType2["WORKSPACE"] = "WORKSPACE";
23
22
  ElementType2["PROCESS_CONFIG"] = "PROCESS_CONFIG";
23
+ ElementType2["DYNAMIC_MAPPING"] = "DYNAMIC_MAPPING";
24
24
  return ElementType2;
25
25
  })(ElementType || {});
26
26
  export {
@@ -24,3 +24,4 @@ export * from './dynamic-margin-calculation.type';
24
24
  export * from './network-modification-types';
25
25
  export * from './pcc-min.type';
26
26
  export * from './network-modification-metadata';
27
+ export { ComputingType } from './computing-type';
@@ -8,12 +8,13 @@ import { AnnouncementSeverity, ArrayAction } from "./types.js";
8
8
  import { MODIFICATION_TYPES, ModificationType } from "./modificationType.js";
9
9
  import { FieldType } from "./fieldType.js";
10
10
  import { ParameterType } from "./parameters.type.js";
11
- import { SolverType } from "./dynamic-simulation.type.js";
11
+ import { SolverType, mapDynamicSimulationParameters } from "./dynamic-simulation.type.js";
12
12
  import { mapSecurityAnalysisParameters } from "./security-analysis.type.js";
13
13
  import { DistributionType, SensitivityType, mapSensitivityAnalysisParameters } from "./sensitivity-analysis.type.js";
14
14
  import { CalculationType, LoadModelsRule } from "./dynamic-margin-calculation.type.js";
15
15
  import { OperationType } from "./network-modification-types.js";
16
16
  import { mapPccMinParameters } from "./pcc-min.type.js";
17
+ import { ComputingType } from "./computing-type.js";
17
18
  export {
18
19
  ALL_EQUIPMENTS,
19
20
  AnnouncementSeverity,
@@ -24,6 +25,7 @@ export {
24
25
  BusBar,
25
26
  CONNECTION_DIRECTIONS,
26
27
  CalculationType,
28
+ ComputingType,
27
29
  CustomError,
28
30
  DistributionType,
29
31
  ENERGY_SOURCES,
@@ -71,6 +73,7 @@ export {
71
73
  getEquipmentsInfosForSearchBar,
72
74
  getLoadTypeLabel,
73
75
  isInjection,
76
+ mapDynamicSimulationParameters,
74
77
  mapPccMinParameters,
75
78
  mapSecurityAnalysisParameters,
76
79
  mapSensitivityAnalysisParameters
@@ -1,13 +1,13 @@
1
1
  import { UUID } from 'node:crypto';
2
- import { ComputingType } from '../../features/parameters/common/computing-type';
3
2
  import { LoadFlowParametersInfos } from './loadflow.type';
4
3
  import { DynamicSecurityAnalysisParametersFetchReturn } from './dynamic-security-analysis.type';
5
4
  import { ILimitReductionsByVoltageLevel } from '../../features/parameters/common/limitreductions/columns-definitions';
6
- import { DynamicSimulationParametersInfos } from './dynamic-simulation.type';
5
+ import { DynamicSimulationParametersEnriched } from './dynamic-simulation.type';
7
6
  import { SensitivityAnalysisParametersInfosEnriched } from './sensitivity-analysis.type';
8
7
  import { ShortCircuitParametersInfos } from '../../features/parameters/short-circuit/short-circuit-parameters.type';
9
8
  import { SAParametersEnriched } from './security-analysis.type';
10
9
  import { DynamicMarginCalculationParametersInfos } from './dynamic-margin-calculation.type';
10
+ import { ComputingType } from './computing-type';
11
11
  export declare enum ParameterType {
12
12
  BOOLEAN = "BOOLEAN",
13
13
  STRING = "STRING",
@@ -29,7 +29,7 @@ export type SpecificParameterInfos = {
29
29
  export type SpecificParametersDescription = Record<string, SpecificParameterInfos[]>;
30
30
  export type SpecificParametersValues = Record<string, any>;
31
31
  export type SpecificParametersPerProvider = Record<string, SpecificParametersValues>;
32
- export type ParametersInfos<T extends ComputingType> = T extends ComputingType.SENSITIVITY_ANALYSIS ? SensitivityAnalysisParametersInfosEnriched : T extends ComputingType.SECURITY_ANALYSIS ? SAParametersEnriched : T extends ComputingType.LOAD_FLOW ? LoadFlowParametersInfos : T extends ComputingType.DYNAMIC_SIMULATION ? DynamicSimulationParametersInfos : T extends ComputingType.DYNAMIC_SECURITY_ANALYSIS ? DynamicSecurityAnalysisParametersFetchReturn : T extends ComputingType.DYNAMIC_MARGIN_CALCULATION ? DynamicMarginCalculationParametersInfos : T extends ComputingType.SHORT_CIRCUIT ? ShortCircuitParametersInfos : Record<string, any>;
32
+ export type ParametersInfos<T extends ComputingType> = T extends ComputingType.SENSITIVITY_ANALYSIS ? SensitivityAnalysisParametersInfosEnriched : T extends ComputingType.SECURITY_ANALYSIS ? SAParametersEnriched : T extends ComputingType.LOAD_FLOW ? LoadFlowParametersInfos : T extends ComputingType.DYNAMIC_SIMULATION ? DynamicSimulationParametersEnriched : T extends ComputingType.DYNAMIC_SECURITY_ANALYSIS ? DynamicSecurityAnalysisParametersFetchReturn : T extends ComputingType.DYNAMIC_MARGIN_CALCULATION ? DynamicMarginCalculationParametersInfos : T extends ComputingType.SHORT_CIRCUIT ? ShortCircuitParametersInfos : Record<string, any>;
33
33
  export type BackendFunctions<T extends ComputingType> = {
34
34
  backendFetchProviders?: (() => Promise<string[]>) | null;
35
35
  backendFetchParameters: (paramsUuidOrStudyUuid: UUID) => Promise<ParametersInfos<T>>;
@@ -44,6 +44,17 @@ export type UserDetail = {
44
44
  maxAllowedCases: number;
45
45
  numberCasesUsed: number;
46
46
  maxAllowedBuilds: number;
47
+ maxAllowedLoadflow?: number;
48
+ maxAllowedSecurity?: number;
49
+ maxAllowedSensitivity?: number;
50
+ maxAllowedShortCircuit?: number;
51
+ maxAllowedVoltageInit?: number;
52
+ maxAllowedPccMin?: number;
53
+ maxAllowedStateEstimation?: number;
54
+ maxAllowedBalanceAdjustement?: number;
55
+ maxAllowedDynamicSimulation?: number;
56
+ maxAllowedDynamicSecurity?: number;
57
+ maxAllowedDynamicMargin?: number;
47
58
  };
48
59
  export declare enum AnnouncementSeverity {
49
60
  INFO = "INFO",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.237.0",
3
+ "version": "0.239.0",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",
@@ -56,6 +56,7 @@
56
56
  "clsx": "^2.1.1",
57
57
  "jwt-decode": "^4.0.0",
58
58
  "localized-countries": "^2.0.0",
59
+ "mathjs": "^14.7.0",
59
60
  "mui-nested-menu": "^4.0.1",
60
61
  "oidc-client-ts": "^3.5.0",
61
62
  "prop-types": "^15.8.1",