@gridsuite/commons-ui 0.66.1 → 0.68.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 (425) hide show
  1. package/dist/components/authentication/AuthenticationRouter.d.ts +1 -2
  2. package/dist/components/authentication/AuthenticationRouter.js +5 -5
  3. package/dist/components/authentication/AuthenticationRouterErrorDisplay.js +1 -1
  4. package/dist/components/authentication/Login.d.ts +1 -2
  5. package/dist/components/authentication/Login.js +1 -1
  6. package/dist/components/authentication/Logout.d.ts +1 -2
  7. package/dist/components/authentication/Logout.js +1 -1
  8. package/dist/components/authentication/SignInCallbackHandler.d.ts +1 -2
  9. package/dist/components/authentication/SignInCallbackHandler.js +1 -1
  10. package/dist/components/authentication/SilentRenewCallbackHandler.d.ts +1 -2
  11. package/dist/components/authentication/SilentRenewCallbackHandler.js +5 -2
  12. package/dist/components/authentication/index.d.ts +5 -5
  13. package/dist/components/authentication/index.js +12 -12
  14. package/dist/components/cardErrorBoundary/CardErrorBoundary.d.ts +2 -2
  15. package/dist/components/cardErrorBoundary/CardErrorBoundary.js +1 -1
  16. package/dist/components/cardErrorBoundary/index.d.ts +7 -3
  17. package/dist/components/cardErrorBoundary/index.js +2 -2
  18. package/dist/components/checkBoxList/CheckBoxList.d.ts +0 -1
  19. package/dist/components/checkBoxList/CheckBoxList.js +1 -2
  20. package/dist/components/checkBoxList/CheckBoxListItem.d.ts +0 -1
  21. package/dist/components/checkBoxList/CheckBoxListItem.js +1 -2
  22. package/dist/components/checkBoxList/CheckBoxListItems.d.ts +0 -1
  23. package/dist/components/checkBoxList/CheckBoxListItems.js +2 -3
  24. package/dist/components/checkBoxList/ClickableCheckBoxItem.d.ts +0 -1
  25. package/dist/components/checkBoxList/ClickableCheckBoxItem.js +1 -2
  26. package/dist/components/checkBoxList/ClickableRowItem.d.ts +0 -1
  27. package/dist/components/checkBoxList/ClickableRowItem.js +1 -2
  28. package/dist/components/checkBoxList/DraggableCheckBoxListItem.d.ts +0 -1
  29. package/dist/components/checkBoxList/DraggableCheckBoxListItem.js +1 -2
  30. package/dist/components/checkBoxList/DraggableClickableCheckBoxItem.d.ts +0 -1
  31. package/dist/components/checkBoxList/DraggableClickableCheckBoxItem.js +2 -3
  32. package/dist/components/checkBoxList/DraggableClickableRowItem.d.ts +0 -1
  33. package/dist/components/checkBoxList/DraggableClickableRowItem.js +2 -3
  34. package/dist/components/checkBoxList/index.d.ts +7 -3
  35. package/dist/components/checkBoxList/index.js +1 -1
  36. package/dist/components/customAGGrid/customAggrid.d.ts +2 -2
  37. package/dist/components/customAGGrid/customAggrid.js +1 -1
  38. package/dist/components/customAGGrid/index.d.ts +8 -0
  39. package/dist/components/customAGGrid/index.js +7 -0
  40. package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.d.ts +1 -2
  41. package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.js +7 -7
  42. package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.d.ts +1 -2
  43. package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js +4 -4
  44. package/dist/components/dialogs/descriptionModificationDialog/index.d.ts +7 -0
  45. package/dist/components/dialogs/descriptionModificationDialog/index.js +4 -0
  46. package/dist/components/dialogs/index.d.ts +10 -0
  47. package/dist/components/dialogs/index.js +10 -0
  48. package/dist/components/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +1 -2
  49. package/dist/components/dialogs/modifyElementSelection/ModifyElementSelection.js +3 -3
  50. package/dist/components/dialogs/modifyElementSelection/index.d.ts +7 -0
  51. package/dist/components/dialogs/modifyElementSelection/index.js +4 -0
  52. package/dist/components/dialogs/popupConfirmationDialog/PopupConfirmationDialog.d.ts +1 -2
  53. package/dist/components/dialogs/popupConfirmationDialog/PopupConfirmationDialog.js +2 -2
  54. package/dist/components/dialogs/popupConfirmationDialog/index.d.ts +7 -0
  55. package/dist/components/dialogs/popupConfirmationDialog/index.js +4 -0
  56. package/dist/components/directoryItemSelector/DirectoryItemSelector.d.ts +1 -2
  57. package/dist/components/directoryItemSelector/DirectoryItemSelector.js +3 -3
  58. package/dist/components/directoryItemSelector/index.d.ts +7 -0
  59. package/dist/components/directoryItemSelector/index.js +4 -0
  60. package/dist/components/elementSearch/elementItem/EquipmentItem.d.ts +1 -1
  61. package/dist/components/elementSearch/elementItem/EquipmentItem.js +1 -3
  62. package/dist/components/elementSearch/elementItem/index.d.ts +7 -0
  63. package/dist/components/elementSearch/elementItem/index.js +4 -0
  64. package/dist/components/elementSearch/elementSearchDialog/ElementSearchDialog.d.ts +0 -1
  65. package/dist/components/elementSearch/elementSearchDialog/ElementSearchDialog.js +1 -2
  66. package/dist/components/elementSearch/elementSearchDialog/index.d.ts +7 -0
  67. package/dist/components/elementSearch/elementSearchDialog/index.js +4 -0
  68. package/dist/components/elementSearch/elementSearchInput/index.d.ts +7 -0
  69. package/dist/components/elementSearch/elementSearchInput/index.js +4 -0
  70. package/dist/components/elementSearch/hooks/index.d.ts +7 -0
  71. package/dist/components/elementSearch/hooks/index.js +4 -0
  72. package/dist/components/elementSearch/hooks/useElementSearch.d.ts +2 -2
  73. package/dist/components/elementSearch/hooks/useElementSearch.js +2 -2
  74. package/dist/components/elementSearch/index.d.ts +5 -7
  75. package/dist/components/elementSearch/index.js +6 -4
  76. package/dist/components/elementSearch/tagRenderer/TagRenderer.d.ts +1 -2
  77. package/dist/components/elementSearch/tagRenderer/TagRenderer.js +1 -1
  78. package/dist/components/elementSearch/tagRenderer/index.d.ts +7 -0
  79. package/dist/components/elementSearch/tagRenderer/index.js +4 -0
  80. package/dist/components/expandableGroup/ExpandableGroup.d.ts +1 -31
  81. package/dist/components/expandableGroup/ExpandableGroup.js +1 -2
  82. package/dist/components/expandableGroup/index.d.ts +7 -4
  83. package/dist/components/expandableGroup/index.js +2 -2
  84. package/dist/components/filter/FilterCreationDialog.d.ts +1 -2
  85. package/dist/components/filter/FilterCreationDialog.js +4 -4
  86. package/dist/components/filter/FilterForm.d.ts +2 -3
  87. package/dist/components/filter/FilterForm.js +8 -8
  88. package/dist/components/filter/criteriaBased/CriteriaBasedFilterEditionDialog.d.ts +1 -2
  89. package/dist/components/filter/criteriaBased/CriteriaBasedFilterEditionDialog.js +9 -9
  90. package/dist/components/filter/criteriaBased/CriteriaBasedFilterForm.d.ts +1 -2
  91. package/dist/components/filter/criteriaBased/CriteriaBasedFilterForm.js +5 -5
  92. package/dist/components/filter/criteriaBased/CriteriaBasedForm.d.ts +1 -2
  93. package/dist/components/filter/criteriaBased/CriteriaBasedForm.js +4 -4
  94. package/dist/components/filter/criteriaBased/FilterFreeProperties.d.ts +2 -2
  95. package/dist/components/filter/criteriaBased/FilterFreeProperties.js +6 -6
  96. package/dist/components/filter/criteriaBased/FilterProperties.d.ts +1 -2
  97. package/dist/components/filter/criteriaBased/FilterProperties.js +7 -5
  98. package/dist/components/filter/criteriaBased/FilterProperty.d.ts +2 -2
  99. package/dist/components/filter/criteriaBased/FilterProperty.js +5 -5
  100. package/dist/components/filter/criteriaBased/criteriaBasedFilterUtils.js +1 -1
  101. package/dist/components/filter/criteriaBased/index.d.ts +13 -0
  102. package/dist/components/filter/criteriaBased/index.js +27 -0
  103. package/dist/components/filter/expert/ExpertFilterEditionDialog.d.ts +1 -2
  104. package/dist/components/filter/expert/ExpertFilterEditionDialog.js +8 -8
  105. package/dist/components/filter/expert/ExpertFilterForm.d.ts +1 -2
  106. package/dist/components/filter/expert/ExpertFilterForm.js +7 -7
  107. package/dist/components/filter/expert/expertFilterConstants.d.ts +1 -1
  108. package/dist/components/filter/expert/expertFilterConstants.js +3 -3
  109. package/dist/components/filter/expert/index.d.ts +11 -0
  110. package/dist/components/filter/expert/index.js +39 -0
  111. package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.d.ts +1 -2
  112. package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js +8 -8
  113. package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.d.ts +3 -3
  114. package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.js +7 -7
  115. package/dist/components/filter/explicitNaming/index.d.ts +8 -0
  116. package/dist/components/filter/explicitNaming/index.js +9 -0
  117. package/dist/components/filter/index.d.ts +13 -0
  118. package/dist/components/filter/index.js +86 -0
  119. package/dist/components/filter/utils/filterApi.js +1 -1
  120. package/dist/components/filter/utils/filterFormUtils.js +4 -4
  121. package/dist/components/filter/utils/index.d.ts +8 -0
  122. package/dist/components/filter/utils/index.js +9 -0
  123. package/dist/components/flatParameters/FlatParameters.d.ts +0 -1
  124. package/dist/components/flatParameters/FlatParameters.js +1 -2
  125. package/dist/components/flatParameters/index.d.ts +7 -4
  126. package/dist/components/flatParameters/index.js +3 -2
  127. package/dist/components/index.d.ts +22 -0
  128. package/dist/components/index.js +293 -0
  129. package/dist/components/inputs/SelectClearable.d.ts +2 -2
  130. package/dist/components/inputs/SelectClearable.js +2 -2
  131. package/dist/components/inputs/index.d.ts +9 -0
  132. package/dist/components/inputs/index.js +119 -0
  133. package/dist/components/inputs/reactHookForm/DirectoryItemsInput.d.ts +1 -2
  134. package/dist/components/inputs/reactHookForm/DirectoryItemsInput.js +8 -8
  135. package/dist/components/inputs/reactHookForm/RawReadOnlyInput.d.ts +1 -2
  136. package/dist/components/inputs/reactHookForm/RawReadOnlyInput.js +1 -1
  137. package/dist/components/inputs/reactHookForm/agGridTable/BottomRightButtons.d.ts +1 -2
  138. package/dist/components/inputs/reactHookForm/agGridTable/BottomRightButtons.js +4 -4
  139. package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.d.ts +1 -2
  140. package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.js +6 -6
  141. package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/index.d.ts +7 -0
  142. package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/index.js +4 -0
  143. package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/numericEditor.d.ts +1 -2
  144. package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/numericEditor.js +1 -1
  145. package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.d.ts +1 -2
  146. package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.js +3 -3
  147. package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/index.d.ts +7 -0
  148. package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/index.js +4 -0
  149. package/dist/components/inputs/reactHookForm/agGridTable/index.d.ts +10 -0
  150. package/dist/components/inputs/reactHookForm/agGridTable/index.js +11 -0
  151. package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +1 -2
  152. package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.js +3 -3
  153. package/dist/components/inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts +1 -2
  154. package/dist/components/inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js +2 -2
  155. package/dist/components/inputs/reactHookForm/autocompleteInputs/index.d.ts +8 -0
  156. package/dist/components/inputs/reactHookForm/autocompleteInputs/index.js +6 -0
  157. package/dist/components/inputs/reactHookForm/booleans/BooleanInput.d.ts +1 -2
  158. package/dist/components/inputs/reactHookForm/booleans/BooleanInput.js +1 -1
  159. package/dist/components/inputs/reactHookForm/booleans/CheckboxInput.d.ts +1 -2
  160. package/dist/components/inputs/reactHookForm/booleans/CheckboxInput.js +2 -2
  161. package/dist/components/inputs/reactHookForm/booleans/RadioInput.d.ts +2 -2
  162. package/dist/components/inputs/reactHookForm/booleans/RadioInput.js +2 -2
  163. package/dist/components/inputs/reactHookForm/booleans/SwitchInput.d.ts +1 -2
  164. package/dist/components/inputs/reactHookForm/booleans/SwitchInput.js +2 -2
  165. package/dist/components/inputs/reactHookForm/booleans/index.d.ts +10 -0
  166. package/dist/components/inputs/reactHookForm/booleans/index.js +10 -0
  167. package/dist/components/inputs/reactHookForm/errorManagement/ErrorInput.d.ts +1 -2
  168. package/dist/components/inputs/reactHookForm/errorManagement/ErrorInput.js +1 -1
  169. package/dist/components/inputs/reactHookForm/errorManagement/FieldErrorAlert.d.ts +1 -2
  170. package/dist/components/inputs/reactHookForm/errorManagement/FieldErrorAlert.js +1 -1
  171. package/dist/components/inputs/reactHookForm/errorManagement/MidFormError.d.ts +1 -2
  172. package/dist/components/inputs/reactHookForm/errorManagement/MidFormError.js +1 -1
  173. package/dist/components/inputs/reactHookForm/errorManagement/index.d.ts +9 -0
  174. package/dist/components/inputs/reactHookForm/errorManagement/index.js +8 -0
  175. package/dist/components/inputs/reactHookForm/index.d.ts +17 -0
  176. package/dist/components/inputs/reactHookForm/index.js +85 -0
  177. package/dist/components/inputs/reactHookForm/numbers/FloatInput.d.ts +1 -2
  178. package/dist/components/inputs/reactHookForm/numbers/FloatInput.js +2 -2
  179. package/dist/components/inputs/reactHookForm/numbers/IntegerInput.d.ts +1 -2
  180. package/dist/components/inputs/reactHookForm/numbers/IntegerInput.js +2 -2
  181. package/dist/components/inputs/reactHookForm/numbers/RangeInput.d.ts +2 -2
  182. package/dist/components/inputs/reactHookForm/numbers/RangeInput.js +4 -4
  183. package/dist/components/inputs/reactHookForm/numbers/SliderInput.d.ts +1 -2
  184. package/dist/components/inputs/reactHookForm/numbers/SliderInput.js +1 -1
  185. package/dist/components/inputs/reactHookForm/numbers/index.d.ts +11 -0
  186. package/dist/components/inputs/reactHookForm/numbers/index.js +17 -0
  187. package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.d.ts +2 -2
  188. package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.js +1 -1
  189. package/dist/components/inputs/reactHookForm/provider/index.d.ts +8 -0
  190. package/dist/components/inputs/reactHookForm/provider/index.js +7 -0
  191. package/dist/components/inputs/reactHookForm/provider/useCustomFormContext.d.ts +1 -2
  192. package/dist/components/inputs/reactHookForm/provider/useCustomFormContext.js +1 -1
  193. package/dist/components/inputs/reactHookForm/selectInputs/CountriesInput.d.ts +1 -2
  194. package/dist/components/inputs/reactHookForm/selectInputs/CountriesInput.js +3 -3
  195. package/dist/components/inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +1 -2
  196. package/dist/components/inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.js +2 -2
  197. package/dist/components/inputs/reactHookForm/selectInputs/MuiSelectInput.d.ts +1 -2
  198. package/dist/components/inputs/reactHookForm/selectInputs/MuiSelectInput.js +1 -1
  199. package/dist/components/inputs/reactHookForm/selectInputs/SelectInput.d.ts +1 -2
  200. package/dist/components/inputs/reactHookForm/selectInputs/SelectInput.js +2 -2
  201. package/dist/components/inputs/reactHookForm/selectInputs/index.d.ts +10 -0
  202. package/dist/components/inputs/reactHookForm/selectInputs/index.js +10 -0
  203. package/dist/components/inputs/reactHookForm/text/DescriptionField.d.ts +1 -2
  204. package/dist/components/inputs/reactHookForm/text/DescriptionField.js +3 -3
  205. package/dist/components/inputs/reactHookForm/text/ExpandingTextField.d.ts +1 -2
  206. package/dist/components/inputs/reactHookForm/text/ExpandingTextField.js +3 -3
  207. package/dist/components/inputs/reactHookForm/text/TextInput.d.ts +1 -2
  208. package/dist/components/inputs/reactHookForm/text/TextInput.js +4 -4
  209. package/dist/components/inputs/reactHookForm/text/UniqueNameInput.d.ts +1 -2
  210. package/dist/components/inputs/reactHookForm/text/UniqueNameInput.js +3 -3
  211. package/dist/components/inputs/reactHookForm/text/index.d.ts +10 -0
  212. package/dist/components/inputs/reactHookForm/text/index.js +10 -0
  213. package/dist/components/inputs/reactHookForm/utils/CancelButton.d.ts +1 -2
  214. package/dist/components/inputs/reactHookForm/utils/CancelButton.js +1 -1
  215. package/dist/components/inputs/reactHookForm/utils/FieldLabel.d.ts +1 -2
  216. package/dist/components/inputs/reactHookForm/utils/FieldLabel.js +1 -1
  217. package/dist/components/inputs/reactHookForm/utils/SubmitButton.d.ts +1 -2
  218. package/dist/components/inputs/reactHookForm/utils/SubmitButton.js +1 -1
  219. package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.d.ts +1 -2
  220. package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.js +1 -1
  221. package/dist/components/inputs/reactHookForm/utils/functions.d.ts +0 -1
  222. package/dist/components/inputs/reactHookForm/utils/functions.js +0 -4
  223. package/dist/components/inputs/reactHookForm/utils/index.d.ts +11 -0
  224. package/dist/components/inputs/reactHookForm/utils/index.js +17 -0
  225. package/dist/components/inputs/reactQueryBuilder/AddButton.d.ts +2 -2
  226. package/dist/components/inputs/reactQueryBuilder/AddButton.js +1 -1
  227. package/dist/components/inputs/reactQueryBuilder/AutocompleteWithFavorites.d.ts +2 -2
  228. package/dist/components/inputs/reactQueryBuilder/AutocompleteWithFavorites.js +1 -1
  229. package/dist/components/inputs/reactQueryBuilder/CombinatorSelector.d.ts +1 -2
  230. package/dist/components/inputs/reactQueryBuilder/CombinatorSelector.js +2 -2
  231. package/dist/components/inputs/reactQueryBuilder/CountryValueEditor.d.ts +1 -2
  232. package/dist/components/inputs/reactQueryBuilder/CountryValueEditor.js +5 -5
  233. package/dist/components/inputs/reactQueryBuilder/CustomReactQueryBuilder.d.ts +1 -2
  234. package/dist/components/inputs/reactQueryBuilder/CustomReactQueryBuilder.js +9 -9
  235. package/dist/components/inputs/reactQueryBuilder/ElementValueEditor.d.ts +2 -2
  236. package/dist/components/inputs/reactQueryBuilder/ElementValueEditor.js +3 -3
  237. package/dist/components/inputs/reactQueryBuilder/FieldSelector.d.ts +1 -2
  238. package/dist/components/inputs/reactQueryBuilder/FieldSelector.js +1 -1
  239. package/dist/components/inputs/reactQueryBuilder/PropertyValueEditor.d.ts +4 -3
  240. package/dist/components/inputs/reactQueryBuilder/PropertyValueEditor.js +4 -4
  241. package/dist/components/inputs/reactQueryBuilder/RemoveButton.d.ts +1 -2
  242. package/dist/components/inputs/reactQueryBuilder/RemoveButton.js +1 -1
  243. package/dist/components/inputs/reactQueryBuilder/TextValueEditor.d.ts +1 -2
  244. package/dist/components/inputs/reactQueryBuilder/TextValueEditor.js +3 -3
  245. package/dist/components/inputs/reactQueryBuilder/TranslatedValueEditor.d.ts +1 -2
  246. package/dist/components/inputs/reactQueryBuilder/TranslatedValueEditor.js +3 -3
  247. package/dist/components/inputs/reactQueryBuilder/ValueEditor.d.ts +1 -2
  248. package/dist/components/inputs/reactQueryBuilder/ValueEditor.js +8 -8
  249. package/dist/components/inputs/reactQueryBuilder/ValueSelector.d.ts +1 -2
  250. package/dist/components/inputs/reactQueryBuilder/ValueSelector.js +1 -1
  251. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +1 -2
  252. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js +2 -2
  253. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +2 -2
  254. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js +1 -1
  255. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/index.d.ts +8 -0
  256. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/index.js +6 -0
  257. package/dist/components/inputs/reactQueryBuilder/hooks/index.d.ts +8 -0
  258. package/dist/components/inputs/reactQueryBuilder/hooks/index.js +6 -0
  259. package/dist/components/inputs/reactQueryBuilder/hooks/useConvertValue.d.ts +1 -2
  260. package/dist/components/inputs/reactQueryBuilder/hooks/useConvertValue.js +1 -1
  261. package/dist/components/inputs/reactQueryBuilder/hooks/useValid.d.ts +1 -2
  262. package/dist/components/inputs/reactQueryBuilder/hooks/useValid.js +1 -1
  263. package/dist/components/inputs/reactQueryBuilder/index.d.ts +20 -0
  264. package/dist/components/inputs/reactQueryBuilder/index.js +34 -0
  265. package/dist/components/muiVirtualizedTable/ColumnHeader.d.ts +3 -3
  266. package/dist/components/muiVirtualizedTable/ColumnHeader.js +3 -3
  267. package/dist/components/muiVirtualizedTable/KeyedColumnsRowIndexer.js +1 -1
  268. package/dist/components/muiVirtualizedTable/MuiVirtualizedTable.d.ts +6 -20
  269. package/dist/components/muiVirtualizedTable/MuiVirtualizedTable.js +5 -5
  270. package/dist/components/muiVirtualizedTable/index.d.ts +2 -3
  271. package/dist/components/muiVirtualizedTable/index.js +8 -4
  272. package/dist/components/multipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -2
  273. package/dist/components/multipleSelectionDialog/MultipleSelectionDialog.js +1 -1
  274. package/dist/components/multipleSelectionDialog/index.d.ts +7 -4
  275. package/dist/components/multipleSelectionDialog/index.js +2 -2
  276. package/dist/components/overflowableText/OverflowableText.d.ts +0 -1
  277. package/dist/components/overflowableText/OverflowableText.js +1 -2
  278. package/dist/components/overflowableText/index.d.ts +7 -4
  279. package/dist/components/overflowableText/index.js +1 -1
  280. package/dist/components/snackbarProvider/SnackbarProvider.d.ts +1 -2
  281. package/dist/components/snackbarProvider/SnackbarProvider.js +1 -1
  282. package/dist/components/snackbarProvider/index.d.ts +7 -3
  283. package/dist/components/snackbarProvider/index.js +2 -2
  284. package/dist/components/topBar/AboutDialog.d.ts +2 -2
  285. package/dist/components/topBar/AboutDialog.js +1 -1
  286. package/dist/components/topBar/GridLogo.d.ts +1 -2
  287. package/dist/components/topBar/GridLogo.js +2 -2
  288. package/dist/components/topBar/TopBar.d.ts +4 -9
  289. package/dist/components/topBar/TopBar.js +42 -14
  290. package/dist/components/topBar/UserInformationDialog.d.ts +9 -0
  291. package/dist/components/topBar/UserInformationDialog.js +70 -0
  292. package/dist/components/topBar/index.d.ts +2 -3
  293. package/dist/components/topBar/index.js +6 -5
  294. package/dist/components/treeViewFinder/TreeViewFinder.d.ts +1 -2
  295. package/dist/components/treeViewFinder/TreeViewFinder.js +8 -5
  296. package/dist/components/treeViewFinder/index.d.ts +1 -2
  297. package/dist/components/treeViewFinder/index.js +2 -2
  298. package/dist/hooks/customStates/index.d.ts +8 -0
  299. package/dist/hooks/customStates/index.js +6 -0
  300. package/dist/hooks/customStates/useStateBoolean.d.ts +1 -2
  301. package/dist/hooks/customStates/useStateBoolean.js +1 -1
  302. package/dist/hooks/customStates/useStateNumber.d.ts +1 -2
  303. package/dist/hooks/customStates/useStateNumber.js +1 -1
  304. package/dist/hooks/index.d.ts +14 -0
  305. package/dist/hooks/index.js +22 -0
  306. package/dist/hooks/useConfidentialityWarning.d.ts +1 -2
  307. package/dist/hooks/useConfidentialityWarning.js +1 -1
  308. package/dist/hooks/useDebounce.d.ts +1 -2
  309. package/dist/hooks/useDebounce.js +1 -1
  310. package/dist/hooks/useIntlRef.d.ts +1 -2
  311. package/dist/hooks/useIntlRef.js +1 -1
  312. package/dist/hooks/useLocalizedCountries.js +1 -1
  313. package/dist/hooks/usePredefinedProperties.d.ts +3 -3
  314. package/dist/hooks/usePredefinedProperties.js +3 -3
  315. package/dist/hooks/usePrevious.d.ts +0 -1
  316. package/dist/hooks/usePrevious.js +0 -1
  317. package/dist/hooks/useSnackMessage.js +1 -1
  318. package/dist/index.d.ts +7 -181
  319. package/dist/index.js +357 -236
  320. package/dist/redux/index.d.ts +8 -0
  321. package/dist/redux/index.js +20 -0
  322. package/dist/services/appsMetadata.d.ts +2 -25
  323. package/dist/services/userAdmin.d.ts +4 -0
  324. package/dist/services/userAdmin.js +12 -0
  325. package/dist/translations/en/cardErrorBoundaryEn.d.ts +1 -2
  326. package/dist/translations/en/cardErrorBoundaryEn.js +1 -1
  327. package/dist/translations/en/commonButtonEn.d.ts +1 -2
  328. package/dist/translations/en/commonButtonEn.js +1 -1
  329. package/dist/translations/en/csvEn.d.ts +1 -2
  330. package/dist/translations/en/csvEn.js +1 -1
  331. package/dist/translations/en/descriptionEn.d.ts +1 -2
  332. package/dist/translations/en/descriptionEn.js +1 -1
  333. package/dist/translations/en/directoryItemsInputEn.d.ts +1 -2
  334. package/dist/translations/en/directoryItemsInputEn.js +1 -1
  335. package/dist/translations/en/elementSearchEn.d.ts +1 -2
  336. package/dist/translations/en/elementSearchEn.js +1 -1
  337. package/dist/translations/en/equipmentSearchEn.d.ts +1 -2
  338. package/dist/translations/en/equipmentSearchEn.js +1 -1
  339. package/dist/translations/en/equipmentsEn.d.ts +1 -2
  340. package/dist/translations/en/equipmentsEn.js +1 -1
  341. package/dist/translations/en/filterEn.d.ts +1 -2
  342. package/dist/translations/en/filterEn.js +1 -1
  343. package/dist/translations/en/filterExpertEn.d.ts +1 -2
  344. package/dist/translations/en/filterExpertEn.js +1 -1
  345. package/dist/translations/en/flatParametersEn.d.ts +1 -2
  346. package/dist/translations/en/flatParametersEn.js +1 -1
  347. package/dist/translations/en/index.d.ts +24 -0
  348. package/dist/translations/en/index.js +38 -0
  349. package/dist/translations/en/inputsEn.d.ts +1 -2
  350. package/dist/translations/en/inputsEn.js +1 -1
  351. package/dist/translations/en/loginEn.d.ts +1 -2
  352. package/dist/translations/en/loginEn.js +1 -1
  353. package/dist/translations/en/multipleSelectionDialogEn.d.ts +1 -2
  354. package/dist/translations/en/multipleSelectionDialogEn.js +1 -1
  355. package/dist/translations/en/reportViewerEn.d.ts +1 -2
  356. package/dist/translations/en/reportViewerEn.js +1 -1
  357. package/dist/translations/en/tableEn.d.ts +1 -2
  358. package/dist/translations/en/tableEn.js +1 -1
  359. package/dist/translations/en/topBarEn.d.ts +12 -2
  360. package/dist/translations/en/topBarEn.js +13 -2
  361. package/dist/translations/en/treeviewFinderEn.d.ts +1 -2
  362. package/dist/translations/en/treeviewFinderEn.js +1 -1
  363. package/dist/translations/fr/cardErrorBoundaryFr.d.ts +1 -2
  364. package/dist/translations/fr/cardErrorBoundaryFr.js +1 -1
  365. package/dist/translations/fr/commonButtonFr.d.ts +1 -2
  366. package/dist/translations/fr/commonButtonFr.js +1 -1
  367. package/dist/translations/fr/csvFr.d.ts +1 -2
  368. package/dist/translations/fr/csvFr.js +1 -1
  369. package/dist/translations/fr/descriptionFr.d.ts +1 -2
  370. package/dist/translations/fr/descriptionFr.js +1 -1
  371. package/dist/translations/fr/directoryItemsInputFr.d.ts +1 -2
  372. package/dist/translations/fr/directoryItemsInputFr.js +1 -1
  373. package/dist/translations/fr/elementSearchFr.d.ts +1 -2
  374. package/dist/translations/fr/elementSearchFr.js +1 -1
  375. package/dist/translations/fr/equipmentSearchFr.d.ts +1 -2
  376. package/dist/translations/fr/equipmentSearchFr.js +1 -1
  377. package/dist/translations/fr/equipmentsFr.d.ts +1 -2
  378. package/dist/translations/fr/equipmentsFr.js +1 -1
  379. package/dist/translations/fr/filterExpertFr.d.ts +1 -2
  380. package/dist/translations/fr/filterExpertFr.js +1 -1
  381. package/dist/translations/fr/filterFr.d.ts +1 -2
  382. package/dist/translations/fr/filterFr.js +1 -1
  383. package/dist/translations/fr/flatParametersFr.d.ts +1 -2
  384. package/dist/translations/fr/flatParametersFr.js +1 -1
  385. package/dist/translations/fr/index.d.ts +24 -0
  386. package/dist/translations/fr/index.js +38 -0
  387. package/dist/translations/fr/inputsFr.d.ts +1 -2
  388. package/dist/translations/fr/inputsFr.js +1 -1
  389. package/dist/translations/fr/loginFr.d.ts +1 -2
  390. package/dist/translations/fr/loginFr.js +1 -1
  391. package/dist/translations/fr/multipleSelectionDialogFr.d.ts +1 -2
  392. package/dist/translations/fr/multipleSelectionDialogFr.js +1 -1
  393. package/dist/translations/fr/reportViewerFr.d.ts +1 -2
  394. package/dist/translations/fr/reportViewerFr.js +1 -1
  395. package/dist/translations/fr/tableFr.d.ts +1 -2
  396. package/dist/translations/fr/tableFr.js +1 -1
  397. package/dist/translations/fr/topBarFr.d.ts +12 -2
  398. package/dist/translations/fr/topBarFr.js +13 -2
  399. package/dist/translations/fr/treeviewFinderFr.d.ts +1 -2
  400. package/dist/translations/fr/treeviewFinderFr.js +1 -1
  401. package/dist/utils/algos.d.ts +1 -2
  402. package/dist/utils/algos.js +1 -1
  403. package/dist/utils/constants/browserConstants.d.ts +11 -0
  404. package/dist/utils/constants/browserConstants.js +12 -0
  405. package/dist/utils/constants/fetchStatus.d.ts +1 -2
  406. package/dist/utils/constants/fetchStatus.js +1 -1
  407. package/dist/utils/constants/fieldConstants.d.ts +1 -2
  408. package/dist/utils/constants/fieldConstants.js +1 -1
  409. package/dist/utils/constants/index.d.ts +9 -0
  410. package/dist/utils/constants/index.js +12 -0
  411. package/dist/utils/index.d.ts +14 -0
  412. package/dist/utils/index.js +61 -0
  413. package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.d.ts +2 -3
  414. package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js +2 -2
  415. package/dist/utils/mapper/getFileIcon.d.ts +4 -0
  416. package/dist/utils/mapper/{elementIcon.js → getFileIcon.js} +1 -1
  417. package/dist/utils/mapper/index.d.ts +8 -0
  418. package/dist/utils/mapper/index.js +6 -0
  419. package/dist/utils/types/equipmentType.js +1 -1
  420. package/dist/utils/types/index.d.ts +11 -0
  421. package/dist/utils/types/index.js +27 -0
  422. package/dist/utils/types/metadata.d.ts +19 -7
  423. package/dist/utils/types/types.d.ts +8 -5
  424. package/package.json +1 -1
  425. package/dist/utils/mapper/elementIcon.d.ts +0 -5
@@ -17,5 +17,4 @@ export interface DirectoryItemSelectorProps extends TreeViewFinderProps {
17
17
  multiselect?: boolean;
18
18
  expanded?: UUID[];
19
19
  }
20
- declare function DirectoryItemSelector({ open, types, equipmentTypes, itemFilter, expanded, ...otherTreeViewFinderProps }: Readonly<DirectoryItemSelectorProps>): import("react/jsx-runtime").JSX.Element;
21
- export default DirectoryItemSelector;
20
+ export declare function DirectoryItemSelector({ open, types, equipmentTypes, itemFilter, expanded, ...otherTreeViewFinderProps }: Readonly<DirectoryItemSelectorProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useCallback, useEffect } from "react";
3
- import getFileIcon from "../../utils/mapper/elementIcon.js";
3
+ import { getFileIcon } from "../../utils/mapper/getFileIcon.js";
4
4
  import { ElementType } from "../../utils/types/elementType.js";
5
- import TreeViewFinder from "../treeViewFinder/TreeViewFinder.js";
5
+ import { TreeViewFinder } from "../treeViewFinder/TreeViewFinder.js";
6
6
  import { useSnackMessage } from "../../hooks/useSnackMessage.js";
7
7
  import { fetchElementsInfos } from "../../services/explore.js";
8
8
  import { fetchRootFolders, fetchDirectoryContent } from "../../services/directory.js";
@@ -219,5 +219,5 @@ function DirectoryItemSelector({
219
219
  );
220
220
  }
221
221
  export {
222
- DirectoryItemSelector as default
222
+ DirectoryItemSelector
223
223
  };
@@ -0,0 +1,7 @@
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 * from './DirectoryItemSelector';
@@ -0,0 +1,4 @@
1
+ import { DirectoryItemSelector } from "./DirectoryItemSelector.js";
2
+ export {
3
+ DirectoryItemSelector
4
+ };
@@ -1,4 +1,4 @@
1
- import { TagRenderer } from '../index';
1
+ import { TagRenderer } from '../tagRenderer/TagRenderer';
2
2
  import { EquipmentInfos } from '../../../utils/types/equipmentType';
3
3
  import { SxProps, Theme } from '@mui/material';
4
4
 
@@ -5,9 +5,7 @@ import clsx from "clsx";
5
5
  import { FormattedMessage } from "react-intl";
6
6
  import { Box } from "@mui/material";
7
7
  import { EQUIPMENT_TYPE } from "../../../utils/types/equipmentType.js";
8
- import "react";
9
- import TagRenderer from "../tagRenderer/TagRenderer.js";
10
- import "notistack";
8
+ import { TagRenderer } from "../tagRenderer/TagRenderer.js";
11
9
  import { OverflowableText } from "../../overflowableText/OverflowableText.js";
12
10
  import { mergeSx } from "../../../utils/styles.js";
13
11
  function EquipmentItem({
@@ -0,0 +1,7 @@
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 * from './EquipmentItem';
@@ -0,0 +1,4 @@
1
+ import { EquipmentItem } from "./EquipmentItem.js";
2
+ export {
3
+ EquipmentItem
4
+ };
@@ -5,4 +5,3 @@ export interface ElementSearchDialogProps<T> extends ElementSearchInputProps<T>
5
5
  open: boolean;
6
6
  }
7
7
  export declare function ElementSearchDialog<T>(props: ElementSearchDialogProps<T>): import("react/jsx-runtime").JSX.Element;
8
- export default ElementSearchDialog;
@@ -11,6 +11,5 @@ function ElementSearchDialog(props) {
11
11
  return /* @__PURE__ */ jsx(Dialog, { open, onClose: handleClose, disableRestoreFocus: true, "aria-labelledby": "dialog-title-search", fullWidth: true, children: /* @__PURE__ */ jsx(DialogContent, { children: /* @__PURE__ */ jsx(ElementSearchInput, { onSearchTermChange, ...rest }) }) });
12
12
  }
13
13
  export {
14
- ElementSearchDialog,
15
- ElementSearchDialog as default
14
+ ElementSearchDialog
16
15
  };
@@ -0,0 +1,7 @@
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 * from './ElementSearchDialog';
@@ -0,0 +1,4 @@
1
+ import { ElementSearchDialog } from "./ElementSearchDialog.js";
2
+ export {
3
+ ElementSearchDialog
4
+ };
@@ -0,0 +1,7 @@
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 * from './ElementSearchInput';
@@ -0,0 +1,4 @@
1
+ import { ElementSearchInput } from "./ElementSearchInput.js";
2
+ export {
3
+ ElementSearchInput
4
+ };
@@ -0,0 +1,7 @@
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 * from './useElementSearch';
@@ -0,0 +1,4 @@
1
+ import { useElementSearch } from "./useElementSearch.js";
2
+ export {
3
+ useElementSearch
4
+ };
@@ -23,11 +23,11 @@ export type Paginated<T> = {
23
23
  interface UseElementSearch<T> {
24
24
  fetchElements: (newSearchTerm: string) => Promise<Paginated<T> | T[]>;
25
25
  }
26
- declare const useElementSearch: <T>(props: UseElementSearch<T>) => {
26
+ export declare const useElementSearch: <T>(props: UseElementSearch<T>) => {
27
27
  searchTerm: string;
28
28
  updateSearchTerm: (newSearchTerm: string) => void;
29
29
  elementsFound: T[];
30
30
  isLoading: boolean;
31
31
  totalElements: number;
32
32
  };
33
- export default useElementSearch;
33
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { useState, useRef, useCallback } from "react";
2
- import useDebounce from "../../../hooks/useDebounce.js";
2
+ import { useDebounce } from "../../../hooks/useDebounce.js";
3
3
  import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
4
4
  const SEARCH_FETCH_TIMEOUT_MILLIS = 1e3;
5
5
  const useElementSearch = (props) => {
@@ -65,5 +65,5 @@ const useElementSearch = (props) => {
65
65
  };
66
66
  };
67
67
  export {
68
- useElementSearch as default
68
+ useElementSearch
69
69
  };
@@ -4,10 +4,8 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- export { default as ElementSearchDialog } from './elementSearchDialog/ElementSearchDialog';
8
- export type { ElementSearchDialogProps } from './elementSearchDialog/ElementSearchDialog';
9
- export { default as TagRenderer } from './tagRenderer/TagRenderer';
10
- export type { TagRendererProps } from './tagRenderer/TagRenderer';
11
- export { ElementSearchInput } from './elementSearchInput/ElementSearchInput';
12
- export { default as useElementSearch } from './hooks/useElementSearch';
13
- export type { Paginated } from './hooks/useElementSearch';
7
+ export * from './elementItem';
8
+ export * from './elementSearchDialog';
9
+ export * from './elementSearchInput';
10
+ export * from './hooks';
11
+ export * from './tagRenderer';
@@ -1,10 +1,12 @@
1
+ import { EquipmentItem } from "./elementItem/EquipmentItem.js";
1
2
  import { ElementSearchDialog } from "./elementSearchDialog/ElementSearchDialog.js";
2
- import { default as default2 } from "./tagRenderer/TagRenderer.js";
3
3
  import { ElementSearchInput } from "./elementSearchInput/ElementSearchInput.js";
4
- import { default as default3 } from "./hooks/useElementSearch.js";
4
+ import { useElementSearch } from "./hooks/useElementSearch.js";
5
+ import { TagRenderer } from "./tagRenderer/TagRenderer.js";
5
6
  export {
6
7
  ElementSearchDialog,
7
8
  ElementSearchInput,
8
- default2 as TagRenderer,
9
- default3 as useElementSearch
9
+ EquipmentItem,
10
+ TagRenderer,
11
+ useElementSearch
10
12
  };
@@ -12,5 +12,4 @@ export interface TagRendererProps {
12
12
  equipmentVlTag?: SxProps<Theme>;
13
13
  };
14
14
  }
15
- declare function TagRenderer({ element, ...props }: TagRendererProps): import("react/jsx-runtime").JSX.Element | undefined;
16
- export default TagRenderer;
15
+ export declare function TagRenderer({ element, ...props }: TagRendererProps): import("react/jsx-runtime").JSX.Element | undefined;
@@ -17,5 +17,5 @@ function TagRenderer({ element, ...props }) {
17
17
  }
18
18
  }
19
19
  export {
20
- TagRenderer as default
20
+ TagRenderer
21
21
  };
@@ -0,0 +1,7 @@
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 * from './TagRenderer';
@@ -0,0 +1,4 @@
1
+ import { TagRenderer } from "./TagRenderer.js";
2
+ export {
3
+ TagRenderer
4
+ };
@@ -1,36 +1,6 @@
1
1
  import { PropsWithChildren, ReactNode } from 'react';
2
- import { Theme } from '@mui/material';
3
2
 
4
- export declare const styles: {
5
- accordion: () => {
6
- '&:before': {
7
- display: string;
8
- };
9
- background: string;
10
- };
11
- accordionSummary: (theme: Theme) => {
12
- flexDirection: string;
13
- padding: number;
14
- '.MuiAccordionSummary-content': {
15
- paddingLeft: number;
16
- };
17
- '&:not(.Mui-expanded)': {
18
- borderBottom: string;
19
- borderColor: string;
20
- };
21
- '& .MuiAccordionSummary-expandIconWrapper': {
22
- transform: string;
23
- };
24
- '& .MuiAccordionSummary-expandIconWrapper.Mui-expanded': {
25
- transform: string;
26
- };
27
- };
28
- accordionDetails: () => {
29
- padding: number;
30
- };
31
- };
32
3
  export interface ExpandableGroupProps extends PropsWithChildren {
33
4
  renderHeader: ReactNode;
34
5
  }
35
- declare function ExpandableGroup({ renderHeader, children }: Readonly<ExpandableGroupProps>): import("react/jsx-runtime").JSX.Element;
36
- export default ExpandableGroup;
6
+ export declare function ExpandableGroup({ renderHeader, children }: Readonly<ExpandableGroupProps>): import("react/jsx-runtime").JSX.Element;
@@ -53,6 +53,5 @@ function ExpandableGroup({ renderHeader, children }) {
53
53
  ] });
54
54
  }
55
55
  export {
56
- ExpandableGroup as default,
57
- styles
56
+ ExpandableGroup
58
57
  };
@@ -1,4 +1,7 @@
1
- import { default as ExpandableGroup } from './ExpandableGroup';
2
-
3
- export default ExpandableGroup;
4
- export type { ExpandableGroupProps } from './ExpandableGroup';
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 * from './ExpandableGroup';
@@ -1,4 +1,4 @@
1
- import ExpandableGroup from "./ExpandableGroup.js";
1
+ import { ExpandableGroup } from "./ExpandableGroup.js";
2
2
  export {
3
- ExpandableGroup as default
3
+ ExpandableGroup
4
4
  };
@@ -12,5 +12,4 @@ export interface FilterCreationDialogProps {
12
12
  equipmentType: string;
13
13
  };
14
14
  }
15
- declare function FilterCreationDialog({ open, onClose, activeDirectory, elementExists, language, sourceFilterForExplicitNamingConversion, }: FilterCreationDialogProps): import("react/jsx-runtime").JSX.Element;
16
- export default FilterCreationDialog;
15
+ export declare function FilterCreationDialog({ open, onClose, activeDirectory, elementExists, language, sourceFilterForExplicitNamingConversion, }: FilterCreationDialogProps): import("react/jsx-runtime").JSX.Element;
@@ -4,12 +4,12 @@ import { useForm } from "react-hook-form";
4
4
  import { yupResolver } from "@hookform/resolvers/yup";
5
5
  import { saveExplicitNamingFilter, saveCriteriaBasedFilter, saveExpertFilter } from "./utils/filterApi.js";
6
6
  import { useSnackMessage } from "../../hooks/useSnackMessage.js";
7
- import CustomMuiDialog from "../dialogs/customMuiDialog/CustomMuiDialog.js";
7
+ import { CustomMuiDialog } from "../dialogs/customMuiDialog/CustomMuiDialog.js";
8
8
  import { criteriaBasedFilterEmptyFormData, criteriaBasedFilterSchema } from "./criteriaBased/CriteriaBasedFilterForm.js";
9
9
  import { getExplicitNamingFilterEmptyFormData, explicitNamingFilterSchema, FILTER_EQUIPMENTS_ATTRIBUTES } from "./explicitNaming/ExplicitNamingFilterForm.js";
10
- import FieldConstants from "../../utils/constants/fieldConstants.js";
10
+ import { FieldConstants } from "../../utils/constants/fieldConstants.js";
11
11
  import "../../utils/yupConfig.js";
12
- import FilterForm from "./FilterForm.js";
12
+ import { FilterForm } from "./FilterForm.js";
13
13
  import { getExpertFilterEmptyFormData, expertFilterSchema, EXPERT_FILTER_QUERY } from "./expert/ExpertFilterForm.js";
14
14
  import { FilterType } from "./constants/FilterConstants.js";
15
15
  import * as yup from "yup";
@@ -119,5 +119,5 @@ function FilterCreationDialog({
119
119
  );
120
120
  }
121
121
  export {
122
- FilterCreationDialog as default
122
+ FilterCreationDialog
123
123
  };
@@ -1,7 +1,7 @@
1
1
  import { ElementExistsType } from '../../utils/types/elementType';
2
2
  import { UUID } from 'crypto';
3
3
 
4
- interface FilterFormProps {
4
+ export interface FilterFormProps {
5
5
  creation?: boolean;
6
6
  activeDirectory?: UUID;
7
7
  elementExists?: ElementExistsType;
@@ -10,5 +10,4 @@ interface FilterFormProps {
10
10
  equipmentType: string;
11
11
  };
12
12
  }
13
- declare function FilterForm(props: FilterFormProps): import("react/jsx-runtime").JSX.Element;
14
- export default FilterForm;
13
+ export declare function FilterForm(props: FilterFormProps): import("react/jsx-runtime").JSX.Element;
@@ -2,15 +2,15 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useEffect } from "react";
3
3
  import { useFormContext, useWatch } from "react-hook-form";
4
4
  import { Grid } from "@mui/material";
5
- import FieldConstants from "../../utils/constants/fieldConstants.js";
6
- import CriteriaBasedFilterForm from "./criteriaBased/CriteriaBasedFilterForm.js";
7
- import ExplicitNamingFilterForm from "./explicitNaming/ExplicitNamingFilterForm.js";
8
- import ExpertFilterForm from "./expert/ExpertFilterForm.js";
5
+ import { FieldConstants } from "../../utils/constants/fieldConstants.js";
6
+ import { CriteriaBasedFilterForm } from "./criteriaBased/CriteriaBasedFilterForm.js";
7
+ import { ExplicitNamingFilterForm } from "./explicitNaming/ExplicitNamingFilterForm.js";
8
+ import { ExpertFilterForm } from "./expert/ExpertFilterForm.js";
9
9
  import { FilterType } from "./constants/FilterConstants.js";
10
- import RadioInput from "../inputs/reactHookForm/booleans/RadioInput.js";
10
+ import { RadioInput } from "../inputs/reactHookForm/booleans/RadioInput.js";
11
11
  import { ElementType } from "../../utils/types/elementType.js";
12
- import UniqueNameInput from "../inputs/reactHookForm/text/UniqueNameInput.js";
13
- import DescriptionField from "../inputs/reactHookForm/text/DescriptionField.js";
12
+ import { UniqueNameInput } from "../inputs/reactHookForm/text/UniqueNameInput.js";
13
+ import { DescriptionField } from "../inputs/reactHookForm/text/DescriptionField.js";
14
14
  function FilterForm(props) {
15
15
  const { sourceFilterForExplicitNamingConversion, creation, activeDirectory, elementExists } = props;
16
16
  const { setValue } = useFormContext();
@@ -57,5 +57,5 @@ function FilterForm(props) {
57
57
  ] });
58
58
  }
59
59
  export {
60
- FilterForm as default
60
+ FilterForm
61
61
  };
@@ -16,5 +16,4 @@ export interface CriteriaBasedFilterEditionDialogProps {
16
16
  elementExists?: ElementExistsType;
17
17
  language?: string;
18
18
  }
19
- declare function CriteriaBasedFilterEditionDialog({ id, name, titleId, open, onClose, broadcastChannel, getFilterById, selectionForCopy, setSelectionForCopy, activeDirectory, elementExists, language, }: Readonly<CriteriaBasedFilterEditionDialogProps>): import("react/jsx-runtime").JSX.Element;
20
- export default CriteriaBasedFilterEditionDialog;
19
+ export declare function CriteriaBasedFilterEditionDialog({ id, name, titleId, open, onClose, broadcastChannel, getFilterById, selectionForCopy, setSelectionForCopy, activeDirectory, elementExists, language, }: Readonly<CriteriaBasedFilterEditionDialogProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +1,17 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
+ import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { useState, useEffect, useCallback } from "react";
3
4
  import { useForm } from "react-hook-form";
4
- import { yupResolver } from "@hookform/resolvers/yup";
5
- import FieldConstants from "../../../utils/constants/fieldConstants.js";
6
- import { backToFrontTweak, frontToBackTweak } from "./criteriaBasedFilterUtils.js";
7
- import CustomMuiDialog from "../../dialogs/customMuiDialog/CustomMuiDialog.js";
8
5
  import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
9
- import { criteriaBasedFilterSchema } from "./CriteriaBasedFilterForm.js";
6
+ import { saveFilter } from "../../../services/explore.js";
7
+ import { FetchStatus } from "../../../utils/constants/fetchStatus.js";
8
+ import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
10
9
  import "../../../utils/yupConfig.js";
10
+ import { CustomMuiDialog } from "../../dialogs/customMuiDialog/CustomMuiDialog.js";
11
+ import { FilterForm } from "../FilterForm.js";
11
12
  import { FilterType, NO_SELECTION_FOR_COPY } from "../constants/FilterConstants.js";
12
- import FetchStatus from "../../../utils/constants/fetchStatus.js";
13
- import { saveFilter } from "../../../services/explore.js";
14
- import FilterForm from "../FilterForm.js";
13
+ import { criteriaBasedFilterSchema } from "./CriteriaBasedFilterForm.js";
14
+ import { backToFrontTweak, frontToBackTweak } from "./criteriaBasedFilterUtils.js";
15
15
  import * as yup from "yup";
16
16
  const formSchema = yup.object().shape({
17
17
  [FieldConstants.NAME]: yup.string().trim().required("nameEmpty"),
@@ -100,5 +100,5 @@ function CriteriaBasedFilterEditionDialog({
100
100
  );
101
101
  }
102
102
  export {
103
- CriteriaBasedFilterEditionDialog as default
103
+ CriteriaBasedFilterEditionDialog
104
104
  };
@@ -10,5 +10,4 @@ export declare const criteriaBasedFilterSchema: {
10
10
  export declare const criteriaBasedFilterEmptyFormData: {
11
11
  criteriaBased: any;
12
12
  };
13
- declare function CriteriaBasedFilterForm(): import("react/jsx-runtime").JSX.Element;
14
- export default CriteriaBasedFilterForm;
13
+ export declare function CriteriaBasedFilterForm(): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import Grid from "@mui/material/Grid";
3
- import FilterProperties, { filterPropertiesYupSchema } from "./FilterProperties.js";
4
- import FieldConstants from "../../../utils/constants/fieldConstants.js";
3
+ import { filterPropertiesYupSchema, FilterProperties } from "./FilterProperties.js";
4
+ import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
5
5
  import "../../../utils/yupConfig.js";
6
- import CriteriaBasedForm from "./CriteriaBasedForm.js";
6
+ import { CriteriaBasedForm } from "./CriteriaBasedForm.js";
7
7
  import { getCriteriaBasedSchema, getCriteriaBasedFormData } from "./criteriaBasedFilterUtils.js";
8
8
  import { FILTER_EQUIPMENTS } from "../utils/filterFormUtils.js";
9
9
  import { FreePropertiesTypes } from "./FilterFreeProperties.js";
@@ -30,7 +30,7 @@ function CriteriaBasedFilterForm() {
30
30
  ] });
31
31
  }
32
32
  export {
33
+ CriteriaBasedFilterForm,
33
34
  criteriaBasedFilterEmptyFormData,
34
- criteriaBasedFilterSchema,
35
- CriteriaBasedFilterForm as default
35
+ criteriaBasedFilterSchema
36
36
  };
@@ -4,5 +4,4 @@ export interface CriteriaBasedFormProps {
4
4
  equipments: Record<string, FormEquipment>;
5
5
  defaultValues: Record<string, any>;
6
6
  }
7
- declare function CriteriaBasedForm({ equipments, defaultValues }: CriteriaBasedFormProps): import("react/jsx-runtime").JSX.Element;
8
- export default CriteriaBasedForm;
7
+ export declare function CriteriaBasedForm({ equipments, defaultValues }: CriteriaBasedFormProps): import("react/jsx-runtime").JSX.Element;
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useFormContext, useWatch } from "react-hook-form";
3
3
  import { Grid } from "@mui/material";
4
4
  import { useEffect } from "react";
5
- import FieldConstants from "../../../utils/constants/fieldConstants.js";
6
- import SelectInput from "../../inputs/reactHookForm/selectInputs/SelectInput.js";
7
- import InputWithPopupConfirmation from "../../inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.js";
5
+ import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
6
+ import { SelectInput } from "../../inputs/reactHookForm/selectInputs/SelectInput.js";
7
+ import { InputWithPopupConfirmation } from "../../inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.js";
8
8
  import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
9
9
  function CriteriaBasedForm({ equipments, defaultValues }) {
10
10
  const { getValues, setValue } = useFormContext();
@@ -49,5 +49,5 @@ function CriteriaBasedForm({ equipments, defaultValues }) {
49
49
  ] });
50
50
  }
51
51
  export {
52
- CriteriaBasedForm as default
52
+ CriteriaBasedForm
53
53
  };
@@ -8,5 +8,5 @@ interface FilterFreePropertiesProps {
8
8
  freePropertiesType: FreePropertiesTypes;
9
9
  predefined: PredefinedProperties;
10
10
  }
11
- declare function FilterFreeProperties({ freePropertiesType, predefined }: FilterFreePropertiesProps): import("react/jsx-runtime").JSX.Element;
12
- export default FilterFreeProperties;
11
+ export declare function FilterFreeProperties({ freePropertiesType, predefined }: FilterFreePropertiesProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -4,10 +4,10 @@ import { useWatch, useFieldArray } from "react-hook-form";
4
4
  import { FormattedMessage } from "react-intl";
5
5
  import AddIcon from "@mui/icons-material/Add";
6
6
  import { useMemo } from "react";
7
- import ErrorInput from "../../inputs/reactHookForm/errorManagement/ErrorInput.js";
8
- import FieldErrorAlert from "../../inputs/reactHookForm/errorManagement/FieldErrorAlert.js";
9
- import FieldConstants from "../../../utils/constants/fieldConstants.js";
10
- import FilterProperty, { PROPERTY_NAME, PROPERTY_VALUES_1, PROPERTY_VALUES_2, PROPERTY_VALUES } from "./FilterProperty.js";
7
+ import { ErrorInput } from "../../inputs/reactHookForm/errorManagement/ErrorInput.js";
8
+ import { FieldErrorAlert } from "../../inputs/reactHookForm/errorManagement/FieldErrorAlert.js";
9
+ import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
10
+ import { FilterProperty, PROPERTY_NAME, PROPERTY_VALUES_1, PROPERTY_VALUES_2, PROPERTY_VALUES } from "./FilterProperty.js";
11
11
  import { Line, Hvdc } from "../../../utils/types/equipmentTypes.js";
12
12
  var FreePropertiesTypes = /* @__PURE__ */ ((FreePropertiesTypes2) => {
13
13
  FreePropertiesTypes2["SUBSTATION_FILTER_PROPERTIES"] = "substationFreeProperties";
@@ -63,6 +63,6 @@ function FilterFreeProperties({ freePropertiesType, predefined }) {
63
63
  ] });
64
64
  }
65
65
  export {
66
- FreePropertiesTypes,
67
- FilterFreeProperties as default
66
+ FilterFreeProperties,
67
+ FreePropertiesTypes
68
68
  };
@@ -12,5 +12,4 @@ export declare const filterPropertiesYupSchema: {
12
12
  name_property: string;
13
13
  }[] | undefined, yup.AnyObject, "", "">;
14
14
  };
15
- declare function FilterProperties(): any;
16
- export default FilterProperties;
15
+ export declare function FilterProperties(): any;
@@ -5,12 +5,14 @@ import { useWatch } from "react-hook-form";
5
5
  import { FormattedMessage } from "react-intl";
6
6
  import { Line, Hvdc, Substation, Load, Generator, TwoWindingTransfo, Battery, ShuntCompensator, VoltageLevel } from "../../../utils/types/equipmentTypes.js";
7
7
  import { areArrayElementsUnique } from "../../../utils/functions.js";
8
- import FieldConstants from "../../../utils/constants/fieldConstants.js";
8
+ import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
9
9
  import "../../../utils/yupConfig.js";
10
- import FilterFreeProperties, { FreePropertiesTypes } from "./FilterFreeProperties.js";
10
+ import { FreePropertiesTypes, FilterFreeProperties } from "./FilterFreeProperties.js";
11
11
  import { PROPERTY_NAME, PROPERTY_VALUES, PROPERTY_VALUES_1, PROPERTY_VALUES_2 } from "./FilterProperty.js";
12
- import usePredefinedProperties from "../../../hooks/usePredefinedProperties.js";
12
+ import { usePredefinedProperties } from "../../../hooks/usePredefinedProperties.js";
13
13
  import { FilterType } from "../constants/FilterConstants.js";
14
+ import "@mui/icons-material";
15
+ import { EquipmentType } from "../../../utils/types/equipmentType.js";
14
16
  import * as yup from "yup";
15
17
  function propertyValuesTest(values, context, doublePropertyValues) {
16
18
  const rootLevelForm = context.from[context.from.length - 1];
@@ -92,7 +94,7 @@ function FilterProperties() {
92
94
  }, [displayEquipmentProperties, watchEquipmentType, setEquipmentType]);
93
95
  useEffect(() => {
94
96
  if (displaySubstationProperties) {
95
- setSubstationType(Substation.type);
97
+ setSubstationType(EquipmentType.SUBSTATION);
96
98
  }
97
99
  }, [displaySubstationProperties, setSubstationType]);
98
100
  return watchEquipmentType && /* @__PURE__ */ jsx(Grid, { item: true, container: true, spacing: 1, children: /* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, children: [
@@ -114,6 +116,6 @@ function FilterProperties() {
114
116
  ] }) });
115
117
  }
116
118
  export {
117
- FilterProperties as default,
119
+ FilterProperties,
118
120
  filterPropertiesYupSchema
119
121
  };
@@ -14,5 +14,5 @@ interface FilterPropertyProps {
14
14
  predefined: PredefinedProperties;
15
15
  propertyType: string;
16
16
  }
17
- declare function FilterProperty(props: FilterPropertyProps): import("react/jsx-runtime").JSX.Element;
18
- export default FilterProperty;
17
+ export declare function FilterProperty(props: FilterPropertyProps): import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -4,9 +4,9 @@ import DeleteIcon from "@mui/icons-material/Delete";
4
4
  import IconButton from "@mui/material/IconButton";
5
5
  import Grid from "@mui/material/Grid";
6
6
  import { useFormContext, useWatch } from "react-hook-form";
7
- import AutocompleteInput from "../../inputs/reactHookForm/autocompleteInputs/AutocompleteInput.js";
8
- import MultipleAutocompleteInput from "../../inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js";
9
- import FieldConstants from "../../../utils/constants/fieldConstants.js";
7
+ import { AutocompleteInput } from "../../inputs/reactHookForm/autocompleteInputs/AutocompleteInput.js";
8
+ import { MultipleAutocompleteInput } from "../../inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js";
9
+ import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
10
10
  const PROPERTY_NAME = "name_property";
11
11
  const PROPERTY_VALUES = "prop_values";
12
12
  const PROPERTY_VALUES_1 = "prop_values1";
@@ -57,9 +57,9 @@ function FilterProperty(props) {
57
57
  ] });
58
58
  }
59
59
  export {
60
+ FilterProperty,
60
61
  PROPERTY_NAME,
61
62
  PROPERTY_VALUES,
62
63
  PROPERTY_VALUES_1,
63
- PROPERTY_VALUES_2,
64
- FilterProperty as default
64
+ PROPERTY_VALUES_2
65
65
  };
@@ -1,4 +1,4 @@
1
- import FieldConstants from "../../../utils/constants/fieldConstants.js";
1
+ import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
2
2
  import { PROPERTY_VALUES, PROPERTY_VALUES_1, PROPERTY_VALUES_2, PROPERTY_NAME } from "./FilterProperty.js";
3
3
  import { FilterType } from "../constants/FilterConstants.js";
4
4
  import "../../../utils/yupConfig.js";