@gridsuite/commons-ui 0.66.0 → 0.67.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 (421) 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 +4 -4
  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 +2 -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 +10 -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 +3 -0
  238. package/dist/components/inputs/reactQueryBuilder/FieldSelector.js +28 -0
  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 +4 -13
  290. package/dist/components/topBar/index.d.ts +2 -3
  291. package/dist/components/topBar/index.js +6 -5
  292. package/dist/components/treeViewFinder/TreeViewFinder.d.ts +1 -2
  293. package/dist/components/treeViewFinder/TreeViewFinder.js +4 -4
  294. package/dist/components/treeViewFinder/index.d.ts +1 -2
  295. package/dist/components/treeViewFinder/index.js +2 -2
  296. package/dist/hooks/customStates/index.d.ts +8 -0
  297. package/dist/hooks/customStates/index.js +6 -0
  298. package/dist/hooks/customStates/useStateBoolean.d.ts +1 -2
  299. package/dist/hooks/customStates/useStateBoolean.js +1 -1
  300. package/dist/hooks/customStates/useStateNumber.d.ts +1 -2
  301. package/dist/hooks/customStates/useStateNumber.js +1 -1
  302. package/dist/hooks/index.d.ts +14 -0
  303. package/dist/hooks/index.js +22 -0
  304. package/dist/hooks/useConfidentialityWarning.d.ts +1 -2
  305. package/dist/hooks/useConfidentialityWarning.js +1 -1
  306. package/dist/hooks/useDebounce.d.ts +1 -2
  307. package/dist/hooks/useDebounce.js +1 -1
  308. package/dist/hooks/useIntlRef.d.ts +1 -2
  309. package/dist/hooks/useIntlRef.js +1 -1
  310. package/dist/hooks/useLocalizedCountries.js +1 -1
  311. package/dist/hooks/usePredefinedProperties.d.ts +3 -3
  312. package/dist/hooks/usePredefinedProperties.js +3 -3
  313. package/dist/hooks/usePrevious.d.ts +0 -1
  314. package/dist/hooks/usePrevious.js +0 -1
  315. package/dist/hooks/useSnackMessage.js +1 -1
  316. package/dist/index.d.ts +7 -181
  317. package/dist/index.js +357 -236
  318. package/dist/redux/index.d.ts +8 -0
  319. package/dist/redux/index.js +20 -0
  320. package/dist/services/appsMetadata.d.ts +2 -25
  321. package/dist/translations/en/cardErrorBoundaryEn.d.ts +1 -2
  322. package/dist/translations/en/cardErrorBoundaryEn.js +1 -1
  323. package/dist/translations/en/commonButtonEn.d.ts +1 -2
  324. package/dist/translations/en/commonButtonEn.js +1 -1
  325. package/dist/translations/en/csvEn.d.ts +1 -2
  326. package/dist/translations/en/csvEn.js +1 -1
  327. package/dist/translations/en/descriptionEn.d.ts +1 -2
  328. package/dist/translations/en/descriptionEn.js +1 -1
  329. package/dist/translations/en/directoryItemsInputEn.d.ts +1 -2
  330. package/dist/translations/en/directoryItemsInputEn.js +1 -1
  331. package/dist/translations/en/elementSearchEn.d.ts +1 -2
  332. package/dist/translations/en/elementSearchEn.js +1 -1
  333. package/dist/translations/en/equipmentSearchEn.d.ts +1 -2
  334. package/dist/translations/en/equipmentSearchEn.js +1 -1
  335. package/dist/translations/en/equipmentsEn.d.ts +1 -2
  336. package/dist/translations/en/equipmentsEn.js +1 -1
  337. package/dist/translations/en/filterEn.d.ts +1 -2
  338. package/dist/translations/en/filterEn.js +1 -1
  339. package/dist/translations/en/filterExpertEn.d.ts +1 -2
  340. package/dist/translations/en/filterExpertEn.js +1 -1
  341. package/dist/translations/en/flatParametersEn.d.ts +1 -2
  342. package/dist/translations/en/flatParametersEn.js +1 -1
  343. package/dist/translations/en/index.d.ts +24 -0
  344. package/dist/translations/en/index.js +38 -0
  345. package/dist/translations/en/inputsEn.d.ts +1 -2
  346. package/dist/translations/en/inputsEn.js +1 -1
  347. package/dist/translations/en/loginEn.d.ts +1 -2
  348. package/dist/translations/en/loginEn.js +1 -1
  349. package/dist/translations/en/multipleSelectionDialogEn.d.ts +1 -2
  350. package/dist/translations/en/multipleSelectionDialogEn.js +1 -1
  351. package/dist/translations/en/reportViewerEn.d.ts +1 -2
  352. package/dist/translations/en/reportViewerEn.js +1 -1
  353. package/dist/translations/en/tableEn.d.ts +1 -2
  354. package/dist/translations/en/tableEn.js +1 -1
  355. package/dist/translations/en/topBarEn.d.ts +1 -2
  356. package/dist/translations/en/topBarEn.js +1 -1
  357. package/dist/translations/en/treeviewFinderEn.d.ts +1 -2
  358. package/dist/translations/en/treeviewFinderEn.js +1 -1
  359. package/dist/translations/fr/cardErrorBoundaryFr.d.ts +1 -2
  360. package/dist/translations/fr/cardErrorBoundaryFr.js +1 -1
  361. package/dist/translations/fr/commonButtonFr.d.ts +1 -2
  362. package/dist/translations/fr/commonButtonFr.js +1 -1
  363. package/dist/translations/fr/csvFr.d.ts +1 -2
  364. package/dist/translations/fr/csvFr.js +1 -1
  365. package/dist/translations/fr/descriptionFr.d.ts +1 -2
  366. package/dist/translations/fr/descriptionFr.js +1 -1
  367. package/dist/translations/fr/directoryItemsInputFr.d.ts +1 -2
  368. package/dist/translations/fr/directoryItemsInputFr.js +1 -1
  369. package/dist/translations/fr/elementSearchFr.d.ts +1 -2
  370. package/dist/translations/fr/elementSearchFr.js +1 -1
  371. package/dist/translations/fr/equipmentSearchFr.d.ts +1 -2
  372. package/dist/translations/fr/equipmentSearchFr.js +1 -1
  373. package/dist/translations/fr/equipmentsFr.d.ts +1 -2
  374. package/dist/translations/fr/equipmentsFr.js +1 -1
  375. package/dist/translations/fr/filterExpertFr.d.ts +1 -2
  376. package/dist/translations/fr/filterExpertFr.js +1 -1
  377. package/dist/translations/fr/filterFr.d.ts +1 -2
  378. package/dist/translations/fr/filterFr.js +1 -1
  379. package/dist/translations/fr/flatParametersFr.d.ts +1 -2
  380. package/dist/translations/fr/flatParametersFr.js +1 -1
  381. package/dist/translations/fr/index.d.ts +24 -0
  382. package/dist/translations/fr/index.js +38 -0
  383. package/dist/translations/fr/inputsFr.d.ts +1 -2
  384. package/dist/translations/fr/inputsFr.js +1 -1
  385. package/dist/translations/fr/loginFr.d.ts +1 -2
  386. package/dist/translations/fr/loginFr.js +1 -1
  387. package/dist/translations/fr/multipleSelectionDialogFr.d.ts +1 -2
  388. package/dist/translations/fr/multipleSelectionDialogFr.js +1 -1
  389. package/dist/translations/fr/reportViewerFr.d.ts +1 -2
  390. package/dist/translations/fr/reportViewerFr.js +1 -1
  391. package/dist/translations/fr/tableFr.d.ts +1 -2
  392. package/dist/translations/fr/tableFr.js +1 -1
  393. package/dist/translations/fr/topBarFr.d.ts +1 -2
  394. package/dist/translations/fr/topBarFr.js +1 -1
  395. package/dist/translations/fr/treeviewFinderFr.d.ts +1 -2
  396. package/dist/translations/fr/treeviewFinderFr.js +1 -1
  397. package/dist/utils/algos.d.ts +1 -2
  398. package/dist/utils/algos.js +1 -1
  399. package/dist/utils/constants/browserConstants.d.ts +11 -0
  400. package/dist/utils/constants/browserConstants.js +12 -0
  401. package/dist/utils/constants/fetchStatus.d.ts +1 -2
  402. package/dist/utils/constants/fetchStatus.js +1 -1
  403. package/dist/utils/constants/fieldConstants.d.ts +1 -2
  404. package/dist/utils/constants/fieldConstants.js +1 -1
  405. package/dist/utils/constants/index.d.ts +9 -0
  406. package/dist/utils/constants/index.js +12 -0
  407. package/dist/utils/index.d.ts +14 -0
  408. package/dist/utils/index.js +61 -0
  409. package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.d.ts +2 -3
  410. package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js +2 -2
  411. package/dist/utils/mapper/getFileIcon.d.ts +4 -0
  412. package/dist/utils/mapper/{elementIcon.js → getFileIcon.js} +1 -1
  413. package/dist/utils/mapper/index.d.ts +8 -0
  414. package/dist/utils/mapper/index.js +6 -0
  415. package/dist/utils/types/equipmentType.js +1 -1
  416. package/dist/utils/types/index.d.ts +11 -0
  417. package/dist/utils/types/index.js +27 -0
  418. package/dist/utils/types/metadata.d.ts +19 -7
  419. package/dist/utils/types/types.d.ts +0 -5
  420. package/package.json +1 -1
  421. package/dist/utils/mapper/elementIcon.d.ts +0 -5
@@ -1,8 +1,9 @@
1
- import { default as default2 } from "./TopBar.js";
2
- import { LogoText } from "./GridLogo.js";
3
- import { default as default3 } from "./AboutDialog.js";
1
+ import { TopBar } from "./TopBar.js";
2
+ import { GridLogo, LogoText } from "./GridLogo.js";
3
+ import { AboutDialog } from "./AboutDialog.js";
4
4
  export {
5
- default3 as AboutDialog,
5
+ AboutDialog,
6
+ GridLogo,
6
7
  LogoText,
7
- default2 as TopBar
8
+ TopBar
8
9
  };
@@ -29,5 +29,4 @@ export interface TreeViewFinderProps {
29
29
  onTreeBrowse?: (nodeId: string) => void;
30
30
  sortMethod?: (a: TreeViewFinderNodeProps, b: TreeViewFinderNodeProps) => number;
31
31
  }
32
- declare const _default: import('@emotion/styled').StyledComponent<TreeViewFinderProps & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
33
- export default _default;
32
+ export declare const TreeViewFinder: import('@emotion/styled').StyledComponent<TreeViewFinderProps & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
@@ -6,7 +6,7 @@ import { Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, B
6
6
  import { TreeView, TreeItem } from "@mui/x-tree-view";
7
7
  import { ChevronRight, ExpandMore, Check } from "@mui/icons-material";
8
8
  import { toNestedGlobalSelectors, makeComposeClasses } from "../../utils/styles.js";
9
- import CancelButton from "../inputs/reactHookForm/utils/CancelButton.js";
9
+ import { CancelButton } from "../inputs/reactHookForm/utils/CancelButton.js";
10
10
  const cssDialogPaper = "dialogPaper";
11
11
  const cssLabelRoot = "labelRoot";
12
12
  const cssLabelText = "labelText";
@@ -35,7 +35,7 @@ const defaultStyles = {
35
35
  };
36
36
  const generateTreeViewFinderClass = (className) => `GsiTreeViewFinder-${className}`;
37
37
  const composeClasses = makeComposeClasses(generateTreeViewFinderClass);
38
- function TreeViewFinder(props) {
38
+ function TreeViewFinderComponant(props) {
39
39
  const intl = useIntl();
40
40
  const {
41
41
  classes = {},
@@ -289,8 +289,8 @@ function TreeViewFinder(props) {
289
289
  );
290
290
  }
291
291
  const nestedGlobalSelectorsStyles = toNestedGlobalSelectors(defaultStyles, generateTreeViewFinderClass);
292
- const TreeViewFinder$1 = styled(TreeViewFinder)(nestedGlobalSelectorsStyles);
292
+ const TreeViewFinder = styled(TreeViewFinderComponant)(nestedGlobalSelectorsStyles);
293
293
  export {
294
- TreeViewFinder$1 as default,
294
+ TreeViewFinder,
295
295
  generateTreeViewFinderClass
296
296
  };
@@ -4,5 +4,4 @@
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 TreeViewFinder, generateTreeViewFinderClass } from './TreeViewFinder';
8
- export type { TreeViewFinderProps, TreeViewFinderNodeProps } from './TreeViewFinder';
7
+ export * from './TreeViewFinder';
@@ -1,5 +1,5 @@
1
- import { default as default2, generateTreeViewFinderClass } from "./TreeViewFinder.js";
1
+ import { TreeViewFinder, generateTreeViewFinderClass } from "./TreeViewFinder.js";
2
2
  export {
3
- default2 as TreeViewFinder,
3
+ TreeViewFinder,
4
4
  generateTreeViewFinderClass
5
5
  };
@@ -0,0 +1,8 @@
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 './useStateBoolean';
8
+ export * from './useStateNumber';
@@ -0,0 +1,6 @@
1
+ import { useStateBoolean } from "./useStateBoolean.js";
2
+ import { useStateNumber } from "./useStateNumber.js";
3
+ export {
4
+ useStateBoolean,
5
+ useStateNumber
6
+ };
@@ -7,5 +7,4 @@ export type UseStateBooleanReturn = {
7
7
  invert: () => void;
8
8
  setValue: Dispatch<SetStateAction<boolean>>;
9
9
  };
10
- declare const useStateBoolean: (initialState: boolean | (() => boolean)) => UseStateBooleanReturn;
11
- export default useStateBoolean;
10
+ export declare const useStateBoolean: (initialState: boolean | (() => boolean)) => UseStateBooleanReturn;
@@ -7,5 +7,5 @@ const useStateBoolean = (initialState) => {
7
7
  return { value, setTrue, setFalse, invert, setValue };
8
8
  };
9
9
  export {
10
- useStateBoolean as default
10
+ useStateBoolean
11
11
  };
@@ -7,5 +7,4 @@ export type UseStateNumberReturn = {
7
7
  decrement: (step?: number) => void;
8
8
  reset: () => void;
9
9
  };
10
- declare const useStateNumber: (initialState?: number | (() => number)) => UseStateNumberReturn;
11
- export default useStateNumber;
10
+ export declare const useStateNumber: (initialState?: number | (() => number)) => UseStateNumberReturn;
@@ -7,5 +7,5 @@ const useStateNumber = (initialState = 0) => {
7
7
  return { value, increment, decrement, reset, setValue };
8
8
  };
9
9
  export {
10
- useStateNumber as default
10
+ useStateNumber
11
11
  };
@@ -0,0 +1,14 @@
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 './customStates';
8
+ export * from './useConfidentialityWarning';
9
+ export * from './useDebounce';
10
+ export * from './useIntlRef';
11
+ export * from './useLocalizedCountries';
12
+ export * from './usePredefinedProperties';
13
+ export * from './usePrevious';
14
+ export * from './useSnackMessage';
@@ -0,0 +1,22 @@
1
+ import { useStateBoolean } from "./customStates/useStateBoolean.js";
2
+ import { useStateNumber } from "./customStates/useStateNumber.js";
3
+ import { useConfidentialityWarning } from "./useConfidentialityWarning.js";
4
+ import { useDebounce } from "./useDebounce.js";
5
+ import { useIntlRef } from "./useIntlRef.js";
6
+ import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./useLocalizedCountries.js";
7
+ import { usePredefinedProperties } from "./usePredefinedProperties.js";
8
+ import { usePrevious } from "./usePrevious.js";
9
+ import { useSnackMessage } from "./useSnackMessage.js";
10
+ export {
11
+ getComputedLanguage,
12
+ getSystemLanguage,
13
+ useConfidentialityWarning,
14
+ useDebounce,
15
+ useIntlRef,
16
+ useLocalizedCountries,
17
+ usePredefinedProperties,
18
+ usePrevious,
19
+ useSnackMessage,
20
+ useStateBoolean,
21
+ useStateNumber
22
+ };
@@ -4,5 +4,4 @@
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
- declare const useConfidentialityWarning: () => string | undefined;
8
- export default useConfidentialityWarning;
7
+ export declare const useConfidentialityWarning: () => string | undefined;
@@ -10,5 +10,5 @@ const useConfidentialityWarning = () => {
10
10
  return confidentialityWarningKey;
11
11
  };
12
12
  export {
13
- useConfidentialityWarning as default
13
+ useConfidentialityWarning
14
14
  };
@@ -4,5 +4,4 @@
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
- declare const useDebounce: <T extends (...args: any[]) => any>(func: T, delay?: number) => T & import('@mui/utils/debounce').Cancelable;
8
- export default useDebounce;
7
+ export declare const useDebounce: <T extends (...args: any[]) => any>(func: T, delay?: number) => T & import('@mui/utils/debounce').Cancelable;
@@ -10,5 +10,5 @@ const useDebounce = (func, delay = 700) => {
10
10
  return debouncedChangeHandler;
11
11
  };
12
12
  export {
13
- useDebounce as default
13
+ useDebounce
14
14
  };
@@ -5,5 +5,4 @@
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
7
  /// <reference types="react" />
8
- declare function useIntlRef(): import('react').MutableRefObject<import("react-intl").IntlShape>;
9
- export default useIntlRef;
8
+ export declare function useIntlRef(): import('react').MutableRefObject<import("react-intl").IntlShape>;
@@ -9,5 +9,5 @@ function useIntlRef() {
9
9
  return intlRef;
10
10
  }
11
11
  export {
12
- useIntlRef as default
12
+ useIntlRef
13
13
  };
@@ -2,7 +2,7 @@ import { useState, useEffect, useMemo, useCallback } from "react";
2
2
  import localizedCountries from "localized-countries";
3
3
  import countriesFr from "localized-countries/data/fr";
4
4
  import countriesEn from "localized-countries/data/en";
5
- import { LANG_ENGLISH, LANG_SYSTEM, LANG_FRENCH } from "../components/topBar/TopBar.js";
5
+ import { LANG_ENGLISH, LANG_SYSTEM, LANG_FRENCH } from "../utils/constants/browserConstants.js";
6
6
  const supportedLanguages = [LANG_FRENCH, LANG_ENGLISH];
7
7
  const getSystemLanguage = () => {
8
8
  const systemLanguage = navigator.language.split(/[-_]/)[0];
@@ -1,5 +1,5 @@
1
- import { EquipmentType, PredefinedProperties } from '../utils/types/types';
1
+ import { EquipmentType } from '../utils';
2
+ import { PredefinedProperties } from '../utils/types/types';
2
3
  import { Dispatch, SetStateAction } from 'react';
3
4
 
4
- declare const usePredefinedProperties: (initialType: EquipmentType | null) => [PredefinedProperties, Dispatch<SetStateAction<EquipmentType | null>>];
5
- export default usePredefinedProperties;
5
+ export declare const usePredefinedProperties: (initialType: EquipmentType | null) => [PredefinedProperties, Dispatch<SetStateAction<EquipmentType | null>>];
@@ -1,10 +1,10 @@
1
1
  import { useState, useEffect } from "react";
2
- import mapEquipmentTypeForPredefinedProperties from "../utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js";
2
+ import { equipmentTypesForPredefinedPropertiesMapper } from "../utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js";
3
3
  import { useSnackMessage } from "./useSnackMessage.js";
4
4
  import { fetchStudyMetadata } from "../services/appsMetadata.js";
5
5
  const fetchPredefinedProperties = async (equipmentType) => {
6
6
  var _a;
7
- const networkEquipmentType = mapEquipmentTypeForPredefinedProperties(equipmentType);
7
+ const networkEquipmentType = equipmentTypesForPredefinedPropertiesMapper(equipmentType);
8
8
  if (networkEquipmentType === void 0) {
9
9
  return Promise.resolve(void 0);
10
10
  }
@@ -31,5 +31,5 @@ const usePredefinedProperties = (initialType) => {
31
31
  return [equipmentPredefinedProps, setType];
32
32
  };
33
33
  export {
34
- usePredefinedProperties as default
34
+ usePredefinedProperties
35
35
  };
@@ -1,2 +1 @@
1
1
  export declare function usePrevious<T = undefined>(value: T): T | undefined;
2
- export default usePrevious;
@@ -7,6 +7,5 @@ function usePrevious(value) {
7
7
  return ref.current;
8
8
  }
9
9
  export {
10
- usePrevious as default,
11
10
  usePrevious
12
11
  };
@@ -1,6 +1,6 @@
1
1
  import { useCallback } from "react";
2
2
  import { useSnackbar } from "notistack";
3
- import useIntlRef from "./useIntlRef.js";
3
+ import { useIntlRef } from "./useIntlRef.js";
4
4
  function checkInputs(txt, id, values) {
5
5
  if (txt && (id || values)) {
6
6
  console.warn("Snack inputs should be [*Txt] OR [*Id, *Values]");
package/dist/index.d.ts CHANGED
@@ -4,185 +4,11 @@
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 { TreeViewFinder } from './components/treeViewFinder';
8
- export type { TreeViewFinderProps, TreeViewFinderNodeProps } from './components/treeViewFinder';
9
- export { TopBar } from './components/topBar';
10
- export type { TopBarProps } from './components/topBar';
11
- export { default as AboutDialog } from './components/topBar/AboutDialog';
12
- export type { AboutDialogProps, GridSuiteModule } from './components/topBar/AboutDialog';
13
- export { default as SnackbarProvider } from './components/snackbarProvider';
14
- export * from './components/authentication';
15
- export { MuiVirtualizedTable, KeyedColumnsRowIndexer, ChangeWays, DEFAULT_CELL_PADDING, DEFAULT_HEADER_HEIGHT, DEFAULT_ROW_HEIGHT, } from './components/muiVirtualizedTable';
16
- export type { MuiVirtualizedTableProps, CustomColumnProps, RowProps } from './components/muiVirtualizedTable';
17
- export { default as OverflowableText } from './components/overflowableText';
18
- export type { OverflowableTextProps } from './components/overflowableText';
19
- export { ElementSearchDialog } from './components/elementSearch';
20
- export type { ElementSearchDialogProps } from './components/elementSearch';
21
- export { default as FlatParameters } from './components/flatParameters';
22
- export { default as CheckboxList } from './components/checkBoxList/CheckBoxList';
23
- export type { FlatParametersProps, Parameter } from './components/flatParameters';
24
- export { default as ExpandableGroup } from './components/expandableGroup';
25
- export type { ExpandableGroupProps } from './components/expandableGroup';
26
- export { default as MultipleSelectionDialog } from './components/multipleSelectionDialog';
27
- export type { MultipleSelectionDialogProps } from './components/multipleSelectionDialog';
28
- export { default as CustomMuiDialog } from './components/dialogs/customMuiDialog/CustomMuiDialog';
29
- export type { CustomMuiDialogProps } from './components/dialogs/customMuiDialog/CustomMuiDialog';
30
- export { default as DescriptionModificationDialog } from './components/dialogs/descriptionModificationDialog/DescriptionModificationDialog';
31
- export type { DescriptionModificationDialogProps } from './components/dialogs/descriptionModificationDialog/DescriptionModificationDialog';
32
- export { default as DescriptionField } from './components/inputs/reactHookForm/text/DescriptionField';
33
- export { default as ModifyElementSelection } from './components/dialogs/modifyElementSelection/ModifyElementSelection';
34
- export type { ModifyElementSelectionProps } from './components/dialogs/modifyElementSelection/ModifyElementSelection';
35
- export { default as CriteriaBasedForm } from './components/filter/criteriaBased/CriteriaBasedForm';
36
- export type { CriteriaBasedFormProps } from './components/filter/criteriaBased/CriteriaBasedForm';
37
- export { default as PopupConfirmationDialog } from './components/dialogs/popupConfirmationDialog/PopupConfirmationDialog';
38
- export type { PopupConfirmationDialogProps } from './components/dialogs/popupConfirmationDialog/PopupConfirmationDialog';
39
- export { default as BottomRightButtons } from './components/inputs/reactHookForm/agGridTable/BottomRightButtons';
40
- export type { BottomRightButtonsProps } from './components/inputs/reactHookForm/agGridTable/BottomRightButtons';
41
- export { default as CustomAgGridTable } from './components/inputs/reactHookForm/agGridTable/CustomAgGridTable';
42
- export type { CustomAgGridTableProps } from './components/inputs/reactHookForm/agGridTable/CustomAgGridTable';
43
- export { ROW_DRAGGING_SELECTION_COLUMN_DEF } from './components/inputs/reactHookForm/agGridTable/CustomAgGridTable';
44
- export { Line, Generator, Load, Battery, SVC, DanglingLine, LCC, VSC, Hvdc, BusBar, TwoWindingTransfo, ThreeWindingTransfo, ShuntCompensator, VoltageLevel, Substation, } from './utils/types/equipmentTypes';
45
- export { NO_SELECTION_FOR_COPY as noSelectionForCopy } from './components/filter/constants/FilterConstants';
46
- export { default as FieldConstants } from './utils/constants/fieldConstants';
47
- export { fields as EXPERT_FILTER_FIELDS } from './components/filter/expert/expertFilterConstants';
48
- export { default as CustomReactQueryBuilder } from './components/inputs/reactQueryBuilder/CustomReactQueryBuilder';
49
- export type { CustomReactQueryBuilderProps } from './components/inputs/reactQueryBuilder/CustomReactQueryBuilder';
50
- export { EXPERT_FILTER_QUERY, rqbQuerySchemaValidator, getExpertFilterEmptyFormData, } from './components/filter/expert/ExpertFilterForm';
51
- export { importExpertRules, exportExpertRules } from './components/filter/expert/expertFilterUtils';
52
- export type { RuleTypeExport, RuleGroupTypeExport } from './components/filter/expert/expertFilter.type';
53
- export { formatQuery } from 'react-querybuilder';
54
- export { default as yup } from './utils/yupConfig';
55
- export { GRIDSUITE_DEFAULT_PRECISION, roundToPrecision, roundToDefaultPrecision, isBlankOrEmpty, unitToMicroUnit, microUnitToUnit, } from './utils/conversionUtils';
56
- export { ElementType } from './utils/types/elementType';
57
- export type { ElementAttributes, Option } from './utils/types/types';
58
- export { EQUIPMENT_TYPE, EquipmentType, getEquipmentsInfosForSearchBar, equipmentStyles, } from './utils/types/equipmentType';
59
- export type { Identifiable, Equipment, EquipmentInfos } from './utils/types/equipmentType';
60
- export { default as getFileIcon } from './utils/mapper/elementIcon';
61
- export { DARK_THEME, LIGHT_THEME, LANG_SYSTEM, LANG_ENGLISH, LANG_FRENCH } from './components/topBar/TopBar';
62
- export type { GsLang, GsLangUser, GsTheme } from './components/topBar/TopBar';
63
- export { USER, setLoggedUser, SIGNIN_CALLBACK_ERROR, setSignInCallbackError, UNAUTHORIZED_USER_INFO, LOGOUT_ERROR, USER_VALIDATION_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, } from './redux/actions/authActions';
64
- export type { AuthenticationActions, AuthenticationRouterErrorBase, AuthenticationRouterErrorAction, LogoutErrorAction, ShowAuthenticationRouterLoginAction, SignInCallbackErrorAction, UnauthorizedUserAction, UserAction, UserValidationErrorAction, } from './redux/actions/authActions';
65
- export { default as report_viewer_en } from './translations/en/reportViewerEn';
66
- export { default as report_viewer_fr } from './translations/fr/reportViewerFr';
67
- export { default as login_en } from './translations/en/loginEn';
68
- export { default as login_fr } from './translations/fr/loginFr';
69
- export { default as top_bar_en } from './translations/en/topBarEn';
70
- export { default as top_bar_fr } from './translations/fr/topBarFr';
71
- export { default as table_en } from './translations/en/tableEn';
72
- export { default as table_fr } from './translations/fr/tableFr';
73
- export { default as treeview_finder_en } from './translations/en/treeviewFinderEn';
74
- export { default as treeview_finder_fr } from './translations/fr/treeviewFinderFr';
75
- export { default as element_search_en } from './translations/en/elementSearchEn';
76
- export { default as element_search_fr } from './translations/fr/elementSearchFr';
77
- export { default as equipment_search_en } from './translations/en/equipmentSearchEn';
78
- export { default as equipment_search_fr } from './translations/fr/equipmentSearchFr';
79
- export { default as filter_en } from './translations/en/filterEn';
80
- export { default as filter_fr } from './translations/fr/filterFr';
81
- export { default as filter_expert_en } from './translations/en/filterExpertEn';
82
- export { default as filter_expert_fr } from './translations/fr/filterExpertFr';
83
- export { default as description_fr } from './translations/fr/descriptionFr';
84
- export { default as description_en } from './translations/en/descriptionEn';
85
- export { default as equipments_fr } from './translations/fr/equipmentsFr';
86
- export { default as equipments_en } from './translations/en/equipmentsEn';
87
- export { default as csv_fr } from './translations/fr/csvFr';
88
- export { default as csv_en } from './translations/en/csvEn';
89
- export { default as card_error_boundary_en } from './translations/en/cardErrorBoundaryEn';
90
- export { default as card_error_boundary_fr } from './translations/fr/cardErrorBoundaryFr';
91
- export { default as flat_parameters_en } from './translations/en/flatParametersEn';
92
- export { default as flat_parameters_fr } from './translations/fr/flatParametersFr';
93
- export { default as multiple_selection_dialog_en } from './translations/en/multipleSelectionDialogEn';
94
- export { default as multiple_selection_dialog_fr } from './translations/fr/multipleSelectionDialogFr';
95
- export { default as common_button_en } from './translations/en/commonButtonEn';
96
- export { default as common_button_fr } from './translations/fr/commonButtonFr';
97
- export { default as directory_items_input_en } from './translations/en/directoryItemsInputEn';
98
- export { default as directory_items_input_fr } from './translations/fr/directoryItemsInputFr';
99
- export { TagRenderer, ElementSearchInput, useElementSearch } from './components/elementSearch';
100
- export type { Paginated, TagRendererProps } from './components/elementSearch';
101
- export { EquipmentItem } from './components/elementSearch/elementItem/EquipmentItem';
102
- export type { EquipmentItemProps } from './components/elementSearch/elementItem/EquipmentItem';
103
- export { default as CardErrorBoundary } from './components/cardErrorBoundary';
104
- export { default as useIntlRef } from './hooks/useIntlRef';
105
- export { useSnackMessage } from './hooks/useSnackMessage';
106
- export type { UseSnackMessageReturn } from './hooks/useSnackMessage';
107
- export { default as useDebounce } from './hooks/useDebounce';
108
- export { default as usePrevious } from './hooks/usePrevious';
109
- export { default as useConfidentialityWarning } from './hooks/useConfidentialityWarning';
110
- export { default as usePredefinedProperties } from './hooks/usePredefinedProperties';
111
- export { default as useStateBoolean } from './hooks/customStates/useStateBoolean';
112
- export type { UseStateBooleanReturn } from './hooks/customStates/useStateBoolean';
113
- export { default as useStateNumber } from './hooks/customStates/useStateNumber';
114
- export type { UseStateNumberReturn } from './hooks/customStates/useStateNumber';
115
- export { default as SelectClearable } from './components/inputs/SelectClearable';
116
- export type { SelectClearableProps } from './components/inputs/SelectClearable';
117
- export { default as useCustomFormContext } from './components/inputs/reactHookForm/provider/useCustomFormContext';
118
- export { default as CustomFormProvider } from './components/inputs/reactHookForm/provider/CustomFormProvider';
119
- export type { MergedFormContextProps } from './components/inputs/reactHookForm/provider/CustomFormProvider';
120
- export { default as AutocompleteInput } from './components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput';
121
- export type { AutocompleteInputProps } from './components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput';
122
- export { default as TextInput } from './components/inputs/reactHookForm/text/TextInput';
123
- export type { TextInputProps } from './components/inputs/reactHookForm/text/TextInput';
124
- export { default as ExpandingTextField } from './components/inputs/reactHookForm/text/ExpandingTextField';
125
- export type { ExpandingTextFieldProps } from './components/inputs/reactHookForm/text/ExpandingTextField';
126
- export { default as RadioInput } from './components/inputs/reactHookForm/booleans/RadioInput';
127
- export type { RadioInputProps } from './components/inputs/reactHookForm/booleans/RadioInput';
128
- export { default as SliderInput } from './components/inputs/reactHookForm/numbers/SliderInput';
129
- export type { SliderInputProps } from './components/inputs/reactHookForm/numbers/SliderInput';
130
- export { default as FloatInput } from './components/inputs/reactHookForm/numbers/FloatInput';
131
- export type { FloatInputProps } from './components/inputs/reactHookForm/numbers/FloatInput';
132
- export { default as IntegerInput } from './components/inputs/reactHookForm/numbers/IntegerInput';
133
- export { default as SelectInput } from './components/inputs/reactHookForm/selectInputs/SelectInput';
134
- export type { SelectInputProps } from './components/inputs/reactHookForm/selectInputs/SelectInput';
135
- export { default as CheckboxInput } from './components/inputs/reactHookForm/booleans/CheckboxInput';
136
- export type { CheckboxInputProps } from './components/inputs/reactHookForm/booleans/CheckboxInput';
137
- export { default as SwitchInput } from './components/inputs/reactHookForm/booleans/SwitchInput';
138
- export type { SwitchInputProps } from './components/inputs/reactHookForm/booleans/SwitchInput';
139
- export { default as ErrorInput } from './components/inputs/reactHookForm/errorManagement/ErrorInput';
140
- export type { ErrorInputProps } from './components/inputs/reactHookForm/errorManagement/ErrorInput';
141
- export { default as FieldErrorAlert } from './components/inputs/reactHookForm/errorManagement/FieldErrorAlert';
142
- export type { FieldErrorAlertProps } from './components/inputs/reactHookForm/errorManagement/FieldErrorAlert';
143
- export { default as MidFormError } from './components/inputs/reactHookForm/errorManagement/MidFormError';
144
- export type { MidFormErrorProps } from './components/inputs/reactHookForm/errorManagement/MidFormError';
145
- export { default as TextFieldWithAdornment } from './components/inputs/reactHookForm/utils/TextFieldWithAdornment';
146
- export type { TextFieldWithAdornmentProps } from './components/inputs/reactHookForm/utils/TextFieldWithAdornment';
147
- export { default as FieldLabel } from './components/inputs/reactHookForm/utils/FieldLabel';
148
- export type { FieldLabelProps } from './components/inputs/reactHookForm/utils/FieldLabel';
149
- export { default as SubmitButton } from './components/inputs/reactHookForm/utils/SubmitButton';
150
- export { default as CancelButton } from './components/inputs/reactHookForm/utils/CancelButton';
151
- export { genHelperPreviousValue, genHelperError, identity, isFieldRequired, gridItem, isFloatNumber, toFloatOrNullValue, } from './components/inputs/reactHookForm/utils/functions';
152
- export { keyGenerator, areArrayElementsUnique, isObjectEmpty } from './utils/functions';
153
- export { default as DirectoryItemsInput } from './components/inputs/reactHookForm/DirectoryItemsInput';
154
- export type { DirectoryItemsInputProps } from './components/inputs/reactHookForm/DirectoryItemsInput';
155
- export { default as DirectoryItemSelector } from './components/directoryItemSelector/DirectoryItemSelector';
156
- export type { DirectoryItemSelectorProps } from './components/directoryItemSelector/DirectoryItemSelector';
157
- export { default as CustomAGGrid } from './components/customAGGrid/customAggrid';
158
- export type { CustomAGGridProps } from './components/customAGGrid/customAggrid';
159
- export { default as RawReadOnlyInput } from './components/inputs/reactHookForm/RawReadOnlyInput';
160
- export type { RawReadOnlyInputProps } from './components/inputs/reactHookForm/RawReadOnlyInput';
161
- export { default as FilterCreationDialog } from './components/filter/FilterCreationDialog';
162
- export type { FilterCreationDialogProps } from './components/filter/FilterCreationDialog';
163
- export { default as ExpertFilterEditionDialog } from './components/filter/expert/ExpertFilterEditionDialog';
164
- export type { ExpertFilterEditionDialogProps } from './components/filter/expert/ExpertFilterEditionDialog';
165
- export { default as ExplicitNamingFilterEditionDialog } from './components/filter/explicitNaming/ExplicitNamingFilterEditionDialog';
166
- export type { ExplicitNamingFilterEditionDialogProps } from './components/filter/explicitNaming/ExplicitNamingFilterEditionDialog';
167
- export { default as CriteriaBasedFilterEditionDialog } from './components/filter/criteriaBased/CriteriaBasedFilterEditionDialog';
168
- export type { CriteriaBasedFilterEditionDialogProps } from './components/filter/criteriaBased/CriteriaBasedFilterEditionDialog';
169
- export { saveExplicitNamingFilter, saveCriteriaBasedFilter, saveExpertFilter, } from './components/filter/utils/filterApi';
170
- export { default as RangeInput, DEFAULT_RANGE_VALUE, getRangeInputDataForm, getRangeInputSchema, } from './components/inputs/reactHookForm/numbers/RangeInput';
171
- export { default as InputWithPopupConfirmation } from './components/inputs/reactHookForm/selectInputs/InputWithPopupConfirmation';
172
- export { default as MuiSelectInput } from './components/inputs/reactHookForm/selectInputs/MuiSelectInput';
173
- export type { MuiSelectInputProps } from './components/inputs/reactHookForm/selectInputs/MuiSelectInput';
174
- export { default as CountriesInput } from './components/inputs/reactHookForm/selectInputs/CountriesInput';
175
- export type { CountryInputProps } from './components/inputs/reactHookForm/selectInputs/CountriesInput';
176
- export { getSystemLanguage, getComputedLanguage, useLocalizedCountries } from './hooks/useLocalizedCountries';
177
- export { default as MultipleAutocompleteInput } from './components/inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput';
178
- export { default as CsvUploader } from './components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader';
179
- export type { CsvUploaderProps } from './components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader';
180
- export { default as UniqueNameInput } from './components/inputs/reactHookForm/text/UniqueNameInput';
181
- export type { UniqueNameInputProps } from './components/inputs/reactHookForm/text/UniqueNameInput';
182
- export { FILTER_EQUIPMENTS, CONTINGENCY_LIST_EQUIPMENTS } from './components/filter/utils/filterFormUtils';
183
- export type { FormEquipment } from './components/filter/utils/filterFormUtils';
184
- export { getCriteriaBasedFormData, getCriteriaBasedSchema, } from './components/filter/criteriaBased/criteriaBasedFilterUtils';
185
- export { mergeSx } from './utils/styles';
186
- export { setCommonStore } from './redux/commonStore';
187
- export type { CommonStoreState } from './redux/commonStore';
7
+ export { default as svg } from './_mocks_/svg';
8
+ export * from './components';
9
+ export * from './hooks';
10
+ export * from './redux';
188
11
  export * from './services';
12
+ export * from './utils';
13
+ export * from './translations/en';
14
+ export * from './translations/fr';