@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
@@ -0,0 +1,10 @@
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 './BottomRightButtons';
8
+ export * from './CustomAgGridTable';
9
+ export * from './cellEditors';
10
+ export * from './csvUploader';
@@ -0,0 +1,11 @@
1
+ import { BottomRightButtons } from "./BottomRightButtons.js";
2
+ import { CustomAgGridTable, ROW_DRAGGING_SELECTION_COLUMN_DEF } from "./CustomAgGridTable.js";
3
+ import { NumericEditor } from "./cellEditors/numericEditor.js";
4
+ import { CsvUploader } from "./csvUploader/CsvUploader.js";
5
+ export {
6
+ BottomRightButtons,
7
+ CsvUploader,
8
+ CustomAgGridTable,
9
+ NumericEditor,
10
+ ROW_DRAGGING_SELECTION_COLUMN_DEF
11
+ };
@@ -13,8 +13,7 @@ export interface AutocompleteInputProps extends Omit<AutocompleteProps<Option, b
13
13
  onChangeCallback?: () => void;
14
14
  formProps?: Omit<TextFieldProps, 'value' | 'onChange' | 'inputRef' | 'inputProps' | 'InputProps'>;
15
15
  }
16
- declare function AutocompleteInput({ name, label, options, outputTransform, // transform materialUi input value before sending it to react hook form, mostly used to deal with select fields that need to return a string
16
+ export declare function AutocompleteInput({ name, label, options, outputTransform, // transform materialUi input value before sending it to react hook form, mostly used to deal with select fields that need to return a string
17
17
  inputTransform, // transform react hook form value before sending it to materialUi input, mostly used to deal with select fields that need to return a string
18
18
  readOnly, previousValue, allowNewValue, onChangeCallback, // method called when input value is changing
19
19
  formProps, ...props }: AutocompleteInputProps): import("react/jsx-runtime").JSX.Element;
20
- export default AutocompleteInput;
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { Autocomplete, TextField } from "@mui/material";
3
3
  import { useController } from "react-hook-form";
4
4
  import { isFieldRequired, genHelperPreviousValue, genHelperError, identity } from "../utils/functions.js";
5
- import FieldLabel from "../utils/FieldLabel.js";
6
- import useCustomFormContext from "../provider/useCustomFormContext.js";
5
+ import { FieldLabel } from "../utils/FieldLabel.js";
6
+ import { useCustomFormContext } from "../provider/useCustomFormContext.js";
7
7
  function AutocompleteInput({
8
8
  name,
9
9
  label,
@@ -75,5 +75,5 @@ function AutocompleteInput({
75
75
  );
76
76
  }
77
77
  export {
78
- AutocompleteInput as default
78
+ AutocompleteInput
79
79
  };
@@ -1,2 +1 @@
1
- declare function MultipleAutocompleteInput({ name, ...props }: any): import("react/jsx-runtime").JSX.Element;
2
- export default MultipleAutocompleteInput;
1
+ export declare function MultipleAutocompleteInput({ name, ...props }: any): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import { useWatch, useFieldArray } from "react-hook-form";
4
- import AutocompleteInput from "./AutocompleteInput.js";
4
+ import { AutocompleteInput } from "./AutocompleteInput.js";
5
5
  function MultipleAutocompleteInput({ name, ...props }) {
6
6
  const [unsavedInput, setUnsavedInput] = useState("");
7
7
  const watchAutocompleteValues = useWatch({
@@ -40,5 +40,5 @@ function MultipleAutocompleteInput({ name, ...props }) {
40
40
  );
41
41
  }
42
42
  export {
43
- MultipleAutocompleteInput as default
43
+ MultipleAutocompleteInput
44
44
  };
@@ -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 './AutocompleteInput';
8
+ export * from './MultipleAutocompleteInput';
@@ -0,0 +1,6 @@
1
+ import { AutocompleteInput } from "./AutocompleteInput.js";
2
+ import { MultipleAutocompleteInput } from "./MultipleAutocompleteInput.js";
3
+ export {
4
+ AutocompleteInput,
5
+ MultipleAutocompleteInput
6
+ };
@@ -6,5 +6,4 @@ export interface BooleanInputProps {
6
6
  formProps?: any;
7
7
  Input: typeof Switch | typeof Checkbox;
8
8
  }
9
- declare function BooleanInput({ name, label, formProps, Input }: BooleanInputProps): import("react/jsx-runtime").JSX.Element;
10
- export default BooleanInput;
9
+ export declare function BooleanInput({ name, label, formProps, Input }: BooleanInputProps): import("react/jsx-runtime").JSX.Element;
@@ -32,5 +32,5 @@ function BooleanInput({ name, label, formProps, Input }) {
32
32
  return CustomInput;
33
33
  }
34
34
  export {
35
- BooleanInput as default
35
+ BooleanInput
36
36
  };
@@ -5,5 +5,4 @@ export interface CheckboxInputProps {
5
5
  label?: string;
6
6
  formProps?: CheckboxProps;
7
7
  }
8
- declare function CheckboxInput({ name, label, formProps }: CheckboxInputProps): import("react/jsx-runtime").JSX.Element;
9
- export default CheckboxInput;
8
+ export declare function CheckboxInput({ name, label, formProps }: CheckboxInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Checkbox } from "@mui/material";
3
- import BooleanInput from "./BooleanInput.js";
3
+ import { BooleanInput } from "./BooleanInput.js";
4
4
  function CheckboxInput({ name, label, formProps }) {
5
5
  return /* @__PURE__ */ jsx(BooleanInput, { name, label, formProps, Input: Checkbox });
6
6
  }
7
7
  export {
8
- CheckboxInput as default
8
+ CheckboxInput
9
9
  };
@@ -11,5 +11,5 @@ export interface RadioInputProps {
11
11
  options: RadioOptions;
12
12
  formProps?: Omit<RadioGroupProps, 'value'>;
13
13
  }
14
- declare function RadioInput({ name, label, id, options, formProps }: Readonly<RadioInputProps>): import("react/jsx-runtime").JSX.Element;
15
- export default RadioInput;
14
+ export declare function RadioInput({ name, label, id, options, formProps }: Readonly<RadioInputProps>): import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { FormControl, FormLabel, RadioGroup, FormControlLabel, Radio } from "@mui/material";
3
3
  import { FormattedMessage } from "react-intl";
4
4
  import { useController } from "react-hook-form";
5
- import FieldLabel from "../utils/FieldLabel.js";
5
+ import { FieldLabel } from "../utils/FieldLabel.js";
6
6
  function RadioInput({ name, label, id, options, formProps }) {
7
7
  const {
8
8
  field: { onChange, value }
@@ -21,5 +21,5 @@ function RadioInput({ name, label, id, options, formProps }) {
21
21
  ] });
22
22
  }
23
23
  export {
24
- RadioInput as default
24
+ RadioInput
25
25
  };
@@ -5,5 +5,4 @@ export interface SwitchInputProps {
5
5
  label?: string;
6
6
  formProps?: SwitchProps;
7
7
  }
8
- declare function SwitchInput({ name, label, formProps }: SwitchInputProps): import("react/jsx-runtime").JSX.Element;
9
- export default SwitchInput;
8
+ export declare function SwitchInput({ name, label, formProps }: SwitchInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Switch } from "@mui/material";
3
- import BooleanInput from "./BooleanInput.js";
3
+ import { BooleanInput } from "./BooleanInput.js";
4
4
  function SwitchInput({ name, label, formProps }) {
5
5
  return /* @__PURE__ */ jsx(BooleanInput, { name, label, formProps, Input: Switch });
6
6
  }
7
7
  export {
8
- SwitchInput as default
8
+ SwitchInput
9
9
  };
@@ -0,0 +1,10 @@
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 './BooleanInput';
8
+ export * from './CheckboxInput';
9
+ export * from './RadioInput';
10
+ export * from './SwitchInput';
@@ -0,0 +1,10 @@
1
+ import { BooleanInput } from "./BooleanInput.js";
2
+ import { CheckboxInput } from "./CheckboxInput.js";
3
+ import { RadioInput } from "./RadioInput.js";
4
+ import { SwitchInput } from "./SwitchInput.js";
5
+ export {
6
+ BooleanInput,
7
+ CheckboxInput,
8
+ RadioInput,
9
+ SwitchInput
10
+ };
@@ -10,5 +10,4 @@ export interface ErrorInputProps {
10
10
  message: string | React.ReactNode;
11
11
  }) => React.ReactNode;
12
12
  }
13
- declare function ErrorInput({ name, InputField }: ErrorInputProps): "" | import("react/jsx-runtime").JSX.Element | undefined;
14
- export default ErrorInput;
13
+ export declare function ErrorInput({ name, InputField }: ErrorInputProps): "" | import("react/jsx-runtime").JSX.Element | undefined;
@@ -38,5 +38,5 @@ function ErrorInput({ name, InputField }) {
38
38
  }) });
39
39
  }
40
40
  export {
41
- ErrorInput as default
41
+ ErrorInput
42
42
  };
@@ -3,5 +3,4 @@ import { default as React } from 'react';
3
3
  export interface FieldErrorAlertProps {
4
4
  message: string | React.ReactNode;
5
5
  }
6
- declare function FieldErrorAlert({ message }: Readonly<FieldErrorAlertProps>): import("react/jsx-runtime").JSX.Element;
7
- export default FieldErrorAlert;
6
+ export declare function FieldErrorAlert({ message }: Readonly<FieldErrorAlertProps>): import("react/jsx-runtime").JSX.Element;
@@ -4,5 +4,5 @@ function FieldErrorAlert({ message }) {
4
4
  return /* @__PURE__ */ jsx(Grid, { item: true, xs: 12, children: /* @__PURE__ */ jsx(Alert, { severity: "error", children: message }) });
5
5
  }
6
6
  export {
7
- FieldErrorAlert as default
7
+ FieldErrorAlert
8
8
  };
@@ -3,5 +3,4 @@ import { ReactNode } from 'react';
3
3
  export type MidFormErrorProps = {
4
4
  message: string | ReactNode;
5
5
  };
6
- declare function MidFormError({ message }: Readonly<MidFormErrorProps>): import("react/jsx-runtime").JSX.Element;
7
- export default MidFormError;
6
+ export declare function MidFormError({ message }: Readonly<MidFormErrorProps>): import("react/jsx-runtime").JSX.Element;
@@ -15,5 +15,5 @@ function MidFormError({ message }) {
15
15
  );
16
16
  }
17
17
  export {
18
- MidFormError as default
18
+ MidFormError
19
19
  };
@@ -0,0 +1,9 @@
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 './ErrorInput';
8
+ export * from './FieldErrorAlert';
9
+ export * from './MidFormError';
@@ -0,0 +1,8 @@
1
+ import { ErrorInput } from "./ErrorInput.js";
2
+ import { FieldErrorAlert } from "./FieldErrorAlert.js";
3
+ import { MidFormError } from "./MidFormError.js";
4
+ export {
5
+ ErrorInput,
6
+ FieldErrorAlert,
7
+ MidFormError
8
+ };
@@ -0,0 +1,17 @@
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 './DirectoryItemsInput';
8
+ export * from './RawReadOnlyInput';
9
+ export * from './agGridTable';
10
+ export * from './autocompleteInputs';
11
+ export * from './booleans';
12
+ export * from './errorManagement';
13
+ export * from './numbers';
14
+ export * from './provider';
15
+ export * from './selectInputs';
16
+ export * from './text';
17
+ export * from './utils';
@@ -0,0 +1,85 @@
1
+ import { DirectoryItemsInput, NAME } from "./DirectoryItemsInput.js";
2
+ import { RawReadOnlyInput } from "./RawReadOnlyInput.js";
3
+ import { BottomRightButtons } from "./agGridTable/BottomRightButtons.js";
4
+ import { CustomAgGridTable, ROW_DRAGGING_SELECTION_COLUMN_DEF } from "./agGridTable/CustomAgGridTable.js";
5
+ import { NumericEditor } from "./agGridTable/cellEditors/numericEditor.js";
6
+ import { CsvUploader } from "./agGridTable/csvUploader/CsvUploader.js";
7
+ import { AutocompleteInput } from "./autocompleteInputs/AutocompleteInput.js";
8
+ import { MultipleAutocompleteInput } from "./autocompleteInputs/MultipleAutocompleteInput.js";
9
+ import { BooleanInput } from "./booleans/BooleanInput.js";
10
+ import { CheckboxInput } from "./booleans/CheckboxInput.js";
11
+ import { RadioInput } from "./booleans/RadioInput.js";
12
+ import { SwitchInput } from "./booleans/SwitchInput.js";
13
+ import { ErrorInput } from "./errorManagement/ErrorInput.js";
14
+ import { FieldErrorAlert } from "./errorManagement/FieldErrorAlert.js";
15
+ import { MidFormError } from "./errorManagement/MidFormError.js";
16
+ import { FloatInput } from "./numbers/FloatInput.js";
17
+ import { IntegerInput } from "./numbers/IntegerInput.js";
18
+ import { DEFAULT_RANGE_VALUE, RangeInput, RangeType, getRangeInputDataForm, getRangeInputSchema } from "./numbers/RangeInput.js";
19
+ import { SliderInput } from "./numbers/SliderInput.js";
20
+ import { isFloatNumber, isIntegerNumber } from "./numbers/utils.js";
21
+ import { CustomFormContext, CustomFormProvider } from "./provider/CustomFormProvider.js";
22
+ import { useCustomFormContext } from "./provider/useCustomFormContext.js";
23
+ import { CountriesInput } from "./selectInputs/CountriesInput.js";
24
+ import { InputWithPopupConfirmation } from "./selectInputs/InputWithPopupConfirmation.js";
25
+ import { MuiSelectInput } from "./selectInputs/MuiSelectInput.js";
26
+ import { SelectInput } from "./selectInputs/SelectInput.js";
27
+ import { DescriptionField } from "./text/DescriptionField.js";
28
+ import { ExpandingTextField } from "./text/ExpandingTextField.js";
29
+ import { TextInput } from "./text/TextInput.js";
30
+ import { UniqueNameInput } from "./text/UniqueNameInput.js";
31
+ import { CancelButton } from "./utils/CancelButton.js";
32
+ import { FieldLabel } from "./utils/FieldLabel.js";
33
+ import { SubmitButton } from "./utils/SubmitButton.js";
34
+ import { TextFieldWithAdornment } from "./utils/TextFieldWithAdornment.js";
35
+ import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, toFloatOrNullValue } from "./utils/functions.js";
36
+ export {
37
+ AutocompleteInput,
38
+ BooleanInput,
39
+ BottomRightButtons,
40
+ CancelButton,
41
+ CheckboxInput,
42
+ CountriesInput,
43
+ CsvUploader,
44
+ CustomAgGridTable,
45
+ CustomFormContext,
46
+ CustomFormProvider,
47
+ DEFAULT_RANGE_VALUE,
48
+ DescriptionField,
49
+ DirectoryItemsInput,
50
+ ErrorInput,
51
+ ExpandingTextField,
52
+ FieldErrorAlert,
53
+ FieldLabel,
54
+ FloatInput,
55
+ InputWithPopupConfirmation,
56
+ IntegerInput,
57
+ MidFormError,
58
+ MuiSelectInput,
59
+ MultipleAutocompleteInput,
60
+ NAME,
61
+ NumericEditor,
62
+ ROW_DRAGGING_SELECTION_COLUMN_DEF,
63
+ RadioInput,
64
+ RangeInput,
65
+ RangeType,
66
+ RawReadOnlyInput,
67
+ SelectInput,
68
+ SliderInput,
69
+ SubmitButton,
70
+ SwitchInput,
71
+ TextFieldWithAdornment,
72
+ TextInput,
73
+ UniqueNameInput,
74
+ genHelperError,
75
+ genHelperPreviousValue,
76
+ getRangeInputDataForm,
77
+ getRangeInputSchema,
78
+ gridItem,
79
+ identity,
80
+ isFieldRequired,
81
+ isFloatNumber,
82
+ isIntegerNumber,
83
+ toFloatOrNullValue,
84
+ useCustomFormContext
85
+ };
@@ -1,5 +1,4 @@
1
1
  import { TextInputProps } from '../text/TextInput';
2
2
 
3
3
  export type FloatInputProps = Omit<TextInputProps, 'outputTransform' | 'inputTransform' | 'acceptValue'>;
4
- declare function FloatInput(props: FloatInputProps): import("react/jsx-runtime").JSX.Element;
5
- export default FloatInput;
4
+ export declare function FloatInput(props: FloatInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import TextInput from "../text/TextInput.js";
2
+ import { TextInput } from "../text/TextInput.js";
3
3
  import { isFloatNumber } from "./utils.js";
4
4
  const normalizeFixed = (number) => {
5
5
  return number.toLocaleString("en-US", {
@@ -45,5 +45,5 @@ function FloatInput(props) {
45
45
  );
46
46
  }
47
47
  export {
48
- FloatInput as default
48
+ FloatInput
49
49
  };
@@ -1,4 +1,3 @@
1
1
  import { TextInputProps } from '../text/TextInput';
2
2
 
3
- declare function IntegerInput(props: TextInputProps): import("react/jsx-runtime").JSX.Element;
4
- export default IntegerInput;
3
+ export declare function IntegerInput(props: TextInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import TextInput from "../text/TextInput.js";
2
+ import { TextInput } from "../text/TextInput.js";
3
3
  import { isIntegerNumber } from "./utils.js";
4
4
  function IntegerInput(props) {
5
5
  const inputTransform = (value) => {
@@ -28,5 +28,5 @@ function IntegerInput(props) {
28
28
  );
29
29
  }
30
30
  export {
31
- IntegerInput as default
31
+ IntegerInput
32
32
  };
@@ -49,5 +49,5 @@ interface RangeInputProps {
49
49
  name: string;
50
50
  label: string;
51
51
  }
52
- declare function RangeInput({ name, label }: RangeInputProps): import("react/jsx-runtime").JSX.Element;
53
- export default RangeInput;
52
+ export declare function RangeInput({ name, label }: RangeInputProps): import("react/jsx-runtime").JSX.Element;
53
+ export {};
@@ -5,10 +5,10 @@ import { useMemo } from "react";
5
5
  import InputLabel from "@mui/material/InputLabel";
6
6
  import { Grid } from "@mui/material";
7
7
  import FormControl from "@mui/material/FormControl";
8
- import FloatInput from "./FloatInput.js";
8
+ import { FloatInput } from "./FloatInput.js";
9
9
  import "../../../../utils/yupConfig.js";
10
- import MuiSelectInput from "../selectInputs/MuiSelectInput.js";
11
- import FieldConstants from "../../../../utils/constants/fieldConstants.js";
10
+ import { MuiSelectInput } from "../selectInputs/MuiSelectInput.js";
11
+ import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
12
12
  import * as yup from "yup";
13
13
  const style = {
14
14
  inputLegend: (theme) => ({
@@ -108,8 +108,8 @@ function RangeInput({ name, label }) {
108
108
  }
109
109
  export {
110
110
  DEFAULT_RANGE_VALUE,
111
+ RangeInput,
111
112
  RangeType,
112
- RangeInput as default,
113
113
  getRangeInputDataForm,
114
114
  getRangeInputSchema
115
115
  };
@@ -4,5 +4,4 @@ export interface SliderInputProps extends SliderProps {
4
4
  name: string;
5
5
  onValueChanged: (value: any) => void;
6
6
  }
7
- declare function SliderInput({ name, min, max, step, size, onValueChanged }: SliderInputProps): import("react/jsx-runtime").JSX.Element;
8
- export default SliderInput;
7
+ export declare function SliderInput({ name, min, max, step, size, onValueChanged }: SliderInputProps): import("react/jsx-runtime").JSX.Element;
@@ -13,5 +13,5 @@ function SliderInput({ name, min, max, step, size = "small", onValueChanged = id
13
13
  return /* @__PURE__ */ jsx(Slider, { size, min, max, step, value, onChange: handleValueChange });
14
14
  }
15
15
  export {
16
- SliderInput as default
16
+ SliderInput
17
17
  };
@@ -0,0 +1,11 @@
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 './FloatInput';
8
+ export * from './IntegerInput';
9
+ export * from './RangeInput';
10
+ export * from './SliderInput';
11
+ export * from './utils';
@@ -0,0 +1,17 @@
1
+ import { FloatInput } from "./FloatInput.js";
2
+ import { IntegerInput } from "./IntegerInput.js";
3
+ import { DEFAULT_RANGE_VALUE, RangeInput, RangeType, getRangeInputDataForm, getRangeInputSchema } from "./RangeInput.js";
4
+ import { SliderInput } from "./SliderInput.js";
5
+ import { isFloatNumber, isIntegerNumber } from "./utils.js";
6
+ export {
7
+ DEFAULT_RANGE_VALUE,
8
+ FloatInput,
9
+ IntegerInput,
10
+ RangeInput,
11
+ RangeType,
12
+ SliderInput,
13
+ getRangeInputDataForm,
14
+ getRangeInputSchema,
15
+ isFloatNumber,
16
+ isIntegerNumber
17
+ };
@@ -10,5 +10,5 @@ type CustomFormContextProps = {
10
10
  export type MergedFormContextProps = UseFormReturn<any> & CustomFormContextProps;
11
11
  type CustomFormProviderProps = PropsWithChildren<MergedFormContextProps>;
12
12
  export declare const CustomFormContext: React.Context<CustomFormContextProps>;
13
- declare function CustomFormProvider(props: CustomFormProviderProps): import("react/jsx-runtime").JSX.Element;
14
- export default CustomFormProvider;
13
+ export declare function CustomFormProvider(props: CustomFormProviderProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -27,5 +27,5 @@ function CustomFormProvider(props) {
27
27
  }
28
28
  export {
29
29
  CustomFormContext,
30
- CustomFormProvider as default
30
+ CustomFormProvider
31
31
  };
@@ -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 './CustomFormProvider';
8
+ export * from './useCustomFormContext';
@@ -0,0 +1,7 @@
1
+ import { CustomFormContext, CustomFormProvider } from "./CustomFormProvider.js";
2
+ import { useCustomFormContext } from "./useCustomFormContext.js";
3
+ export {
4
+ CustomFormContext,
5
+ CustomFormProvider,
6
+ useCustomFormContext
7
+ };
@@ -1,4 +1,3 @@
1
1
  import { MergedFormContextProps } from './CustomFormProvider';
2
2
 
3
- declare const useCustomFormContext: () => MergedFormContextProps;
4
- export default useCustomFormContext;
3
+ export declare const useCustomFormContext: () => MergedFormContextProps;
@@ -7,5 +7,5 @@ const useCustomFormContext = () => {
7
7
  return { ...formMethods, ...customFormMethods };
8
8
  };
9
9
  export {
10
- useCustomFormContext as default
10
+ useCustomFormContext
11
11
  };
@@ -2,5 +2,4 @@ export interface CountryInputProps {
2
2
  name: string;
3
3
  label: string;
4
4
  }
5
- declare function CountriesInput({ name, label }: Readonly<CountryInputProps>): import("react/jsx-runtime").JSX.Element;
6
- export default CountriesInput;
5
+ export declare function CountriesInput({ name, label }: Readonly<CountryInputProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useCallback } from "react";
3
3
  import { Chip } from "@mui/material";
4
- import AutocompleteInput from "../autocompleteInputs/AutocompleteInput.js";
4
+ import { AutocompleteInput } from "../autocompleteInputs/AutocompleteInput.js";
5
5
  import { useLocalizedCountries } from "../../../../hooks/useLocalizedCountries.js";
6
- import useCustomFormContext from "../provider/useCustomFormContext.js";
6
+ import { useCustomFormContext } from "../provider/useCustomFormContext.js";
7
7
  function CountriesInput({ name, label }) {
8
8
  const { language } = useCustomFormContext();
9
9
  const { translate, countryCodes } = useLocalizedCountries(language);
@@ -30,5 +30,5 @@ function CountriesInput({ name, label }) {
30
30
  );
31
31
  }
32
32
  export {
33
- CountriesInput as default
33
+ CountriesInput
34
34
  };
@@ -1,4 +1,3 @@
1
- declare function InputWithPopupConfirmation({ Input, name, shouldOpenPopup, // condition to open popup confirmation
1
+ export declare function InputWithPopupConfirmation({ Input, name, shouldOpenPopup, // condition to open popup confirmation
2
2
  resetOnConfirmation, // function to reset values in your form on confirmation,
3
3
  message, validateButtonLabel, ...props }: any): import("react/jsx-runtime").JSX.Element;
4
- export default InputWithPopupConfirmation;
@@ -1,7 +1,7 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useController } from "react-hook-form";
3
3
  import { useState } from "react";
4
- import PopupConfirmationDialog from "../../../dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
4
+ import { PopupConfirmationDialog } from "../../../dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
5
5
  function InputWithPopupConfirmation({
6
6
  Input,
7
7
  name,
@@ -57,5 +57,5 @@ function InputWithPopupConfirmation({
57
57
  ] });
58
58
  }
59
59
  export {
60
- InputWithPopupConfirmation as default
60
+ InputWithPopupConfirmation
61
61
  };
@@ -7,5 +7,4 @@ export type MuiSelectInputProps = SelectProps & {
7
7
  label: string;
8
8
  }[];
9
9
  };
10
- declare function MuiSelectInput({ name, options, ...props }: MuiSelectInputProps): import("react/jsx-runtime").JSX.Element;
11
- export default MuiSelectInput;
10
+ export declare function MuiSelectInput({ name, options, ...props }: MuiSelectInputProps): import("react/jsx-runtime").JSX.Element;
@@ -11,5 +11,5 @@ function MuiSelectInput({ name, options, ...props }) {
11
11
  return /* @__PURE__ */ jsx(Select, { value, onChange, ...props, children: options.map((option) => /* @__PURE__ */ jsx(MenuItem, { value: option.id ?? option, children: /* @__PURE__ */ jsx(FormattedMessage, { id: option.label ?? option }) }, option.id ?? option.label)) });
12
12
  }
13
13
  export {
14
- MuiSelectInput as default
14
+ MuiSelectInput
15
15
  };