@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,293 @@
1
+ import { AuthenticationRouter } from "./authentication/AuthenticationRouter.js";
2
+ import { default as default2 } from "./authentication/AuthenticationRouterErrorDisplay.js";
3
+ import { Login } from "./authentication/Login.js";
4
+ import { Logout } from "./authentication/Logout.js";
5
+ import { SignInCallbackHandler } from "./authentication/SignInCallbackHandler.js";
6
+ import { SilentRenewCallbackHandler } from "./authentication/SilentRenewCallbackHandler.js";
7
+ import { ErrorInLogoutAlert } from "./authentication/alert/ErrorInLogoutAlert.js";
8
+ import { ErrorInUserValidationAlert } from "./authentication/alert/ErrorInUserValidationAlert.js";
9
+ import { UnauthorizedAccessAlert } from "./authentication/alert/UnauthorizedAccessAlert.js";
10
+ import { dispatchUser, getPreLoginPath, handleSigninCallback, handleSilentRenewCallback, initializeAuthenticationDev, initializeAuthenticationProd, login, logout } from "./authentication/utils/authService.js";
11
+ import { UserManagerMock } from "./authentication/utils/userManagerMock.js";
12
+ import { CardErrorBoundary } from "./cardErrorBoundary/CardErrorBoundary.js";
13
+ import { CheckBoxList } from "./checkBoxList/CheckBoxList.js";
14
+ import { CUSTOM_AGGRID_THEME, styles } from "./customAGGrid/customAggrid.style.js";
15
+ import { CustomAGGrid } from "./customAGGrid/customAggrid.js";
16
+ import { CustomMuiDialog } from "./dialogs/customMuiDialog/CustomMuiDialog.js";
17
+ import { DescriptionModificationDialog } from "./dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
18
+ import { ModifyElementSelection } from "./dialogs/modifyElementSelection/ModifyElementSelection.js";
19
+ import { PopupConfirmationDialog } from "./dialogs/popupConfirmationDialog/PopupConfirmationDialog.js";
20
+ import { DirectoryItemSelector } from "./directoryItemSelector/DirectoryItemSelector.js";
21
+ import { EquipmentItem } from "./elementSearch/elementItem/EquipmentItem.js";
22
+ import { ElementSearchDialog } from "./elementSearch/elementSearchDialog/ElementSearchDialog.js";
23
+ import { ElementSearchInput } from "./elementSearch/elementSearchInput/ElementSearchInput.js";
24
+ import { useElementSearch } from "./elementSearch/hooks/useElementSearch.js";
25
+ import { TagRenderer } from "./elementSearch/tagRenderer/TagRenderer.js";
26
+ import { FilterCreationDialog } from "./filter/FilterCreationDialog.js";
27
+ import { FilterForm } from "./filter/FilterForm.js";
28
+ import { DISTRIBUTION_KEY, FilterType, NO_SELECTION_FOR_COPY } from "./filter/constants/FilterConstants.js";
29
+ import { CriteriaBasedFilterEditionDialog } from "./filter/criteriaBased/CriteriaBasedFilterEditionDialog.js";
30
+ import { CriteriaBasedFilterForm, criteriaBasedFilterEmptyFormData, criteriaBasedFilterSchema } from "./filter/criteriaBased/CriteriaBasedFilterForm.js";
31
+ import { CriteriaBasedForm } from "./filter/criteriaBased/CriteriaBasedForm.js";
32
+ import { FilterFreeProperties, FreePropertiesTypes } from "./filter/criteriaBased/FilterFreeProperties.js";
33
+ import { FilterProperties, filterPropertiesYupSchema } from "./filter/criteriaBased/FilterProperties.js";
34
+ import { FilterProperty, PROPERTY_NAME, PROPERTY_VALUES, PROPERTY_VALUES_1, PROPERTY_VALUES_2 } from "./filter/criteriaBased/FilterProperty.js";
35
+ import { backToFrontTweak, frontToBackTweak, getCriteriaBasedFormData, getCriteriaBasedSchema } from "./filter/criteriaBased/criteriaBasedFilterUtils.js";
36
+ import { ExpertFilterEditionDialog } from "./filter/expert/ExpertFilterEditionDialog.js";
37
+ import { EXPERT_FILTER_QUERY, ExpertFilterForm, expertFilterSchema, getExpertFilterEmptyFormData, rqbQuerySchemaValidator } from "./filter/expert/ExpertFilterForm.js";
38
+ import { CombinatorType, DataType, FieldType, OperatorType } from "./filter/expert/expertFilter.type.js";
39
+ import { COMBINATOR_OPTIONS, CONVERTERS_MODE_OPTIONS, ENERGY_SOURCE_OPTIONS, EXPERT_FILTER_EQUIPMENTS, EXPERT_FILTER_FIELDS, FIELDS_OPTIONS, LOAD_TYPE_OPTIONS, OPERATOR_OPTIONS, PHASE_REGULATION_MODE_OPTIONS, RATIO_REGULATION_MODE_OPTIONS, REGULATION_TYPE_OPTIONS, RULES, SHUNT_COMPENSATOR_TYPE_OPTIONS, SVAR_REGULATION_MODE_OPTIONS } from "./filter/expert/expertFilterConstants.js";
40
+ import { countRules, exportExpertRules, getNumberOfSiblings, getOperators, importExpertRules, queryValidator, recursiveRemove, testQuery } from "./filter/expert/expertFilterUtils.js";
41
+ import { ExplicitNamingFilterEditionDialog } from "./filter/explicitNaming/ExplicitNamingFilterEditionDialog.js";
42
+ import { ExplicitNamingFilterForm, FILTER_EQUIPMENTS_ATTRIBUTES, explicitNamingFilterSchema, getExplicitNamingFilterEmptyFormData } from "./filter/explicitNaming/ExplicitNamingFilterForm.js";
43
+ import { saveCriteriaBasedFilter, saveExpertFilter, saveExplicitNamingFilter } from "./filter/utils/filterApi.js";
44
+ import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS } from "./filter/utils/filterFormUtils.js";
45
+ import { FlatParameters, extractDefault } from "./flatParameters/FlatParameters.js";
46
+ import { SelectClearable } from "./inputs/SelectClearable.js";
47
+ import { DirectoryItemsInput, NAME } from "./inputs/reactHookForm/DirectoryItemsInput.js";
48
+ import { RawReadOnlyInput } from "./inputs/reactHookForm/RawReadOnlyInput.js";
49
+ import { BottomRightButtons } from "./inputs/reactHookForm/agGridTable/BottomRightButtons.js";
50
+ import { CustomAgGridTable, ROW_DRAGGING_SELECTION_COLUMN_DEF } from "./inputs/reactHookForm/agGridTable/CustomAgGridTable.js";
51
+ import { NumericEditor } from "./inputs/reactHookForm/agGridTable/cellEditors/numericEditor.js";
52
+ import { CsvUploader } from "./inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.js";
53
+ import { AutocompleteInput } from "./inputs/reactHookForm/autocompleteInputs/AutocompleteInput.js";
54
+ import { MultipleAutocompleteInput } from "./inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js";
55
+ import { BooleanInput } from "./inputs/reactHookForm/booleans/BooleanInput.js";
56
+ import { CheckboxInput } from "./inputs/reactHookForm/booleans/CheckboxInput.js";
57
+ import { RadioInput } from "./inputs/reactHookForm/booleans/RadioInput.js";
58
+ import { SwitchInput } from "./inputs/reactHookForm/booleans/SwitchInput.js";
59
+ import { ErrorInput } from "./inputs/reactHookForm/errorManagement/ErrorInput.js";
60
+ import { FieldErrorAlert } from "./inputs/reactHookForm/errorManagement/FieldErrorAlert.js";
61
+ import { MidFormError } from "./inputs/reactHookForm/errorManagement/MidFormError.js";
62
+ import { FloatInput } from "./inputs/reactHookForm/numbers/FloatInput.js";
63
+ import { IntegerInput } from "./inputs/reactHookForm/numbers/IntegerInput.js";
64
+ import { DEFAULT_RANGE_VALUE, RangeInput, RangeType, getRangeInputDataForm, getRangeInputSchema } from "./inputs/reactHookForm/numbers/RangeInput.js";
65
+ import { SliderInput } from "./inputs/reactHookForm/numbers/SliderInput.js";
66
+ import { isFloatNumber, isIntegerNumber } from "./inputs/reactHookForm/numbers/utils.js";
67
+ import { CustomFormContext, CustomFormProvider } from "./inputs/reactHookForm/provider/CustomFormProvider.js";
68
+ import { useCustomFormContext } from "./inputs/reactHookForm/provider/useCustomFormContext.js";
69
+ import { CountriesInput } from "./inputs/reactHookForm/selectInputs/CountriesInput.js";
70
+ import { InputWithPopupConfirmation } from "./inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.js";
71
+ import { MuiSelectInput } from "./inputs/reactHookForm/selectInputs/MuiSelectInput.js";
72
+ import { SelectInput } from "./inputs/reactHookForm/selectInputs/SelectInput.js";
73
+ import { DescriptionField } from "./inputs/reactHookForm/text/DescriptionField.js";
74
+ import { ExpandingTextField } from "./inputs/reactHookForm/text/ExpandingTextField.js";
75
+ import { TextInput } from "./inputs/reactHookForm/text/TextInput.js";
76
+ import { UniqueNameInput } from "./inputs/reactHookForm/text/UniqueNameInput.js";
77
+ import { CancelButton } from "./inputs/reactHookForm/utils/CancelButton.js";
78
+ import { FieldLabel } from "./inputs/reactHookForm/utils/FieldLabel.js";
79
+ import { SubmitButton } from "./inputs/reactHookForm/utils/SubmitButton.js";
80
+ import { TextFieldWithAdornment } from "./inputs/reactHookForm/utils/TextFieldWithAdornment.js";
81
+ import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, toFloatOrNullValue } from "./inputs/reactHookForm/utils/functions.js";
82
+ import { AddButton } from "./inputs/reactQueryBuilder/AddButton.js";
83
+ import { AutocompleteWithFavorites } from "./inputs/reactQueryBuilder/AutocompleteWithFavorites.js";
84
+ import { CombinatorSelector } from "./inputs/reactQueryBuilder/CombinatorSelector.js";
85
+ import { CountryValueEditor } from "./inputs/reactQueryBuilder/CountryValueEditor.js";
86
+ import { CustomReactQueryBuilder } from "./inputs/reactQueryBuilder/CustomReactQueryBuilder.js";
87
+ import { ElementValueEditor } from "./inputs/reactQueryBuilder/ElementValueEditor.js";
88
+ import { PropertyValueEditor } from "./inputs/reactQueryBuilder/PropertyValueEditor.js";
89
+ import { RemoveButton } from "./inputs/reactQueryBuilder/RemoveButton.js";
90
+ import { TextValueEditor } from "./inputs/reactQueryBuilder/TextValueEditor.js";
91
+ import { TranslatedValueEditor } from "./inputs/reactQueryBuilder/TranslatedValueEditor.js";
92
+ import { ValueEditor } from "./inputs/reactQueryBuilder/ValueEditor.js";
93
+ import { ValueSelector } from "./inputs/reactQueryBuilder/ValueSelector.js";
94
+ import { GroupValueEditor } from "./inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js";
95
+ import { RuleValueEditor } from "./inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js";
96
+ import { useConvertValue } from "./inputs/reactQueryBuilder/hooks/useConvertValue.js";
97
+ import { useValid } from "./inputs/reactQueryBuilder/hooks/useValid.js";
98
+ import { ChangeWays, KeyedColumnsRowIndexer, collectibleHelper, forTesting, getHelper, noOpHelper } from "./muiVirtualizedTable/KeyedColumnsRowIndexer.js";
99
+ import { DEFAULT_CELL_PADDING, DEFAULT_HEADER_HEIGHT, DEFAULT_ROW_HEIGHT, MuiVirtualizedTable, generateMuiVirtualizedTableClass } from "./muiVirtualizedTable/MuiVirtualizedTable.js";
100
+ import { MultipleSelectionDialog } from "./multipleSelectionDialog/MultipleSelectionDialog.js";
101
+ import { OverflowableText } from "./overflowableText/OverflowableText.js";
102
+ import { SnackbarProvider } from "./snackbarProvider/SnackbarProvider.js";
103
+ import { TopBar } from "./topBar/TopBar.js";
104
+ import { GridLogo, LogoText } from "./topBar/GridLogo.js";
105
+ import { AboutDialog } from "./topBar/AboutDialog.js";
106
+ import { TreeViewFinder, generateTreeViewFinderClass } from "./treeViewFinder/TreeViewFinder.js";
107
+ export {
108
+ AboutDialog,
109
+ AddButton,
110
+ AuthenticationRouter,
111
+ default2 as AuthenticationRouterErrorDisplay,
112
+ AutocompleteInput,
113
+ AutocompleteWithFavorites,
114
+ BooleanInput,
115
+ BottomRightButtons,
116
+ COMBINATOR_OPTIONS,
117
+ CONTINGENCY_LIST_EQUIPMENTS,
118
+ CONVERTERS_MODE_OPTIONS,
119
+ CUSTOM_AGGRID_THEME,
120
+ CancelButton,
121
+ CardErrorBoundary,
122
+ ChangeWays,
123
+ CheckBoxList,
124
+ CheckboxInput,
125
+ CombinatorSelector,
126
+ CombinatorType,
127
+ CountriesInput,
128
+ CountryValueEditor,
129
+ CriteriaBasedFilterEditionDialog,
130
+ CriteriaBasedFilterForm,
131
+ CriteriaBasedForm,
132
+ CsvUploader,
133
+ CustomAGGrid,
134
+ CustomAgGridTable,
135
+ CustomFormContext,
136
+ CustomFormProvider,
137
+ CustomMuiDialog,
138
+ CustomReactQueryBuilder,
139
+ DEFAULT_CELL_PADDING,
140
+ DEFAULT_HEADER_HEIGHT,
141
+ DEFAULT_RANGE_VALUE,
142
+ DEFAULT_ROW_HEIGHT,
143
+ DISTRIBUTION_KEY,
144
+ DataType,
145
+ DescriptionField,
146
+ DescriptionModificationDialog,
147
+ DirectoryItemSelector,
148
+ DirectoryItemsInput,
149
+ ENERGY_SOURCE_OPTIONS,
150
+ EXPERT_FILTER_EQUIPMENTS,
151
+ EXPERT_FILTER_FIELDS,
152
+ EXPERT_FILTER_QUERY,
153
+ ElementSearchDialog,
154
+ ElementSearchInput,
155
+ ElementValueEditor,
156
+ EquipmentItem,
157
+ ErrorInLogoutAlert,
158
+ ErrorInUserValidationAlert,
159
+ ErrorInput,
160
+ ExpandingTextField,
161
+ ExpertFilterEditionDialog,
162
+ ExpertFilterForm,
163
+ ExplicitNamingFilterEditionDialog,
164
+ ExplicitNamingFilterForm,
165
+ FIELDS_OPTIONS,
166
+ FILTER_EQUIPMENTS,
167
+ FILTER_EQUIPMENTS_ATTRIBUTES,
168
+ FieldErrorAlert,
169
+ FieldLabel,
170
+ FieldType,
171
+ FilterCreationDialog,
172
+ FilterForm,
173
+ FilterFreeProperties,
174
+ FilterProperties,
175
+ FilterProperty,
176
+ FilterType,
177
+ FlatParameters,
178
+ FloatInput,
179
+ FreePropertiesTypes,
180
+ GridLogo,
181
+ GroupValueEditor,
182
+ InputWithPopupConfirmation,
183
+ IntegerInput,
184
+ KeyedColumnsRowIndexer,
185
+ LOAD_TYPE_OPTIONS,
186
+ Login,
187
+ LogoText,
188
+ Logout,
189
+ MidFormError,
190
+ ModifyElementSelection,
191
+ MuiSelectInput,
192
+ MuiVirtualizedTable,
193
+ MultipleAutocompleteInput,
194
+ MultipleSelectionDialog,
195
+ NAME,
196
+ NO_SELECTION_FOR_COPY,
197
+ NumericEditor,
198
+ OPERATOR_OPTIONS,
199
+ OperatorType,
200
+ OverflowableText,
201
+ PHASE_REGULATION_MODE_OPTIONS,
202
+ PROPERTY_NAME,
203
+ PROPERTY_VALUES,
204
+ PROPERTY_VALUES_1,
205
+ PROPERTY_VALUES_2,
206
+ PopupConfirmationDialog,
207
+ PropertyValueEditor,
208
+ RATIO_REGULATION_MODE_OPTIONS,
209
+ REGULATION_TYPE_OPTIONS,
210
+ ROW_DRAGGING_SELECTION_COLUMN_DEF,
211
+ RULES,
212
+ RadioInput,
213
+ RangeInput,
214
+ RangeType,
215
+ RawReadOnlyInput,
216
+ RemoveButton,
217
+ RuleValueEditor,
218
+ SHUNT_COMPENSATOR_TYPE_OPTIONS,
219
+ SVAR_REGULATION_MODE_OPTIONS,
220
+ SelectClearable,
221
+ SelectInput,
222
+ SignInCallbackHandler,
223
+ SilentRenewCallbackHandler,
224
+ SliderInput,
225
+ SnackbarProvider,
226
+ SubmitButton,
227
+ SwitchInput,
228
+ TagRenderer,
229
+ TextFieldWithAdornment,
230
+ TextInput,
231
+ TextValueEditor,
232
+ TopBar,
233
+ TranslatedValueEditor,
234
+ TreeViewFinder,
235
+ UnauthorizedAccessAlert,
236
+ UniqueNameInput,
237
+ UserManagerMock,
238
+ ValueEditor,
239
+ ValueSelector,
240
+ backToFrontTweak,
241
+ collectibleHelper,
242
+ countRules,
243
+ criteriaBasedFilterEmptyFormData,
244
+ criteriaBasedFilterSchema,
245
+ dispatchUser,
246
+ expertFilterSchema,
247
+ explicitNamingFilterSchema,
248
+ exportExpertRules,
249
+ extractDefault,
250
+ filterPropertiesYupSchema,
251
+ forTesting,
252
+ frontToBackTweak,
253
+ genHelperError,
254
+ genHelperPreviousValue,
255
+ generateMuiVirtualizedTableClass,
256
+ generateTreeViewFinderClass,
257
+ getCriteriaBasedFormData,
258
+ getCriteriaBasedSchema,
259
+ getExpertFilterEmptyFormData,
260
+ getExplicitNamingFilterEmptyFormData,
261
+ getHelper,
262
+ getNumberOfSiblings,
263
+ getOperators,
264
+ getPreLoginPath,
265
+ getRangeInputDataForm,
266
+ getRangeInputSchema,
267
+ gridItem,
268
+ handleSigninCallback,
269
+ handleSilentRenewCallback,
270
+ identity,
271
+ importExpertRules,
272
+ initializeAuthenticationDev,
273
+ initializeAuthenticationProd,
274
+ isFieldRequired,
275
+ isFloatNumber,
276
+ isIntegerNumber,
277
+ login,
278
+ logout,
279
+ noOpHelper,
280
+ queryValidator,
281
+ recursiveRemove,
282
+ rqbQuerySchemaValidator,
283
+ saveCriteriaBasedFilter,
284
+ saveExpertFilter,
285
+ saveExplicitNamingFilter,
286
+ styles,
287
+ testQuery,
288
+ toFloatOrNullValue,
289
+ useConvertValue,
290
+ useCustomFormContext,
291
+ useElementSearch,
292
+ useValid
293
+ };
@@ -9,5 +9,5 @@ export interface SelectClearableProps extends Omit<AutocompleteProps<SelectOptio
9
9
  onChange: (value: string | null) => void;
10
10
  label?: string;
11
11
  }
12
- declare function SelectClearable(props: Readonly<SelectClearableProps>): import("react/jsx-runtime").JSX.Element;
13
- export default SelectClearable;
12
+ export declare function SelectClearable(props: Readonly<SelectClearableProps>): import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useIntl } from "react-intl";
3
3
  import { Autocomplete, TextField } from "@mui/material";
4
- import FieldLabel from "./reactHookForm/utils/FieldLabel.js";
4
+ import { FieldLabel } from "./reactHookForm/utils/FieldLabel.js";
5
5
  function SelectClearable(props) {
6
6
  const { value, onChange, label, options, ...otherProps } = props;
7
7
  const intl = useIntl();
@@ -37,5 +37,5 @@ function SelectClearable(props) {
37
37
  );
38
38
  }
39
39
  export {
40
- SelectClearable as default
40
+ SelectClearable
41
41
  };
@@ -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 './SelectClearable';
8
+ export * from './reactHookForm';
9
+ export * from './reactQueryBuilder';
@@ -0,0 +1,119 @@
1
+ import { SelectClearable } from "./SelectClearable.js";
2
+ import { DirectoryItemsInput, NAME } from "./reactHookForm/DirectoryItemsInput.js";
3
+ import { RawReadOnlyInput } from "./reactHookForm/RawReadOnlyInput.js";
4
+ import { BottomRightButtons } from "./reactHookForm/agGridTable/BottomRightButtons.js";
5
+ import { CustomAgGridTable, ROW_DRAGGING_SELECTION_COLUMN_DEF } from "./reactHookForm/agGridTable/CustomAgGridTable.js";
6
+ import { NumericEditor } from "./reactHookForm/agGridTable/cellEditors/numericEditor.js";
7
+ import { CsvUploader } from "./reactHookForm/agGridTable/csvUploader/CsvUploader.js";
8
+ import { AutocompleteInput } from "./reactHookForm/autocompleteInputs/AutocompleteInput.js";
9
+ import { MultipleAutocompleteInput } from "./reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js";
10
+ import { BooleanInput } from "./reactHookForm/booleans/BooleanInput.js";
11
+ import { CheckboxInput } from "./reactHookForm/booleans/CheckboxInput.js";
12
+ import { RadioInput } from "./reactHookForm/booleans/RadioInput.js";
13
+ import { SwitchInput } from "./reactHookForm/booleans/SwitchInput.js";
14
+ import { ErrorInput } from "./reactHookForm/errorManagement/ErrorInput.js";
15
+ import { FieldErrorAlert } from "./reactHookForm/errorManagement/FieldErrorAlert.js";
16
+ import { MidFormError } from "./reactHookForm/errorManagement/MidFormError.js";
17
+ import { FloatInput } from "./reactHookForm/numbers/FloatInput.js";
18
+ import { IntegerInput } from "./reactHookForm/numbers/IntegerInput.js";
19
+ import { DEFAULT_RANGE_VALUE, RangeInput, RangeType, getRangeInputDataForm, getRangeInputSchema } from "./reactHookForm/numbers/RangeInput.js";
20
+ import { SliderInput } from "./reactHookForm/numbers/SliderInput.js";
21
+ import { isFloatNumber, isIntegerNumber } from "./reactHookForm/numbers/utils.js";
22
+ import { CustomFormContext, CustomFormProvider } from "./reactHookForm/provider/CustomFormProvider.js";
23
+ import { useCustomFormContext } from "./reactHookForm/provider/useCustomFormContext.js";
24
+ import { CountriesInput } from "./reactHookForm/selectInputs/CountriesInput.js";
25
+ import { InputWithPopupConfirmation } from "./reactHookForm/selectInputs/InputWithPopupConfirmation.js";
26
+ import { MuiSelectInput } from "./reactHookForm/selectInputs/MuiSelectInput.js";
27
+ import { SelectInput } from "./reactHookForm/selectInputs/SelectInput.js";
28
+ import { DescriptionField } from "./reactHookForm/text/DescriptionField.js";
29
+ import { ExpandingTextField } from "./reactHookForm/text/ExpandingTextField.js";
30
+ import { TextInput } from "./reactHookForm/text/TextInput.js";
31
+ import { UniqueNameInput } from "./reactHookForm/text/UniqueNameInput.js";
32
+ import { CancelButton } from "./reactHookForm/utils/CancelButton.js";
33
+ import { FieldLabel } from "./reactHookForm/utils/FieldLabel.js";
34
+ import { SubmitButton } from "./reactHookForm/utils/SubmitButton.js";
35
+ import { TextFieldWithAdornment } from "./reactHookForm/utils/TextFieldWithAdornment.js";
36
+ import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, toFloatOrNullValue } from "./reactHookForm/utils/functions.js";
37
+ import { AddButton } from "./reactQueryBuilder/AddButton.js";
38
+ import { AutocompleteWithFavorites } from "./reactQueryBuilder/AutocompleteWithFavorites.js";
39
+ import { CombinatorSelector } from "./reactQueryBuilder/CombinatorSelector.js";
40
+ import { CountryValueEditor } from "./reactQueryBuilder/CountryValueEditor.js";
41
+ import { CustomReactQueryBuilder } from "./reactQueryBuilder/CustomReactQueryBuilder.js";
42
+ import { ElementValueEditor } from "./reactQueryBuilder/ElementValueEditor.js";
43
+ import { PropertyValueEditor } from "./reactQueryBuilder/PropertyValueEditor.js";
44
+ import { RemoveButton } from "./reactQueryBuilder/RemoveButton.js";
45
+ import { TextValueEditor } from "./reactQueryBuilder/TextValueEditor.js";
46
+ import { TranslatedValueEditor } from "./reactQueryBuilder/TranslatedValueEditor.js";
47
+ import { ValueEditor } from "./reactQueryBuilder/ValueEditor.js";
48
+ import { ValueSelector } from "./reactQueryBuilder/ValueSelector.js";
49
+ import { GroupValueEditor } from "./reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js";
50
+ import { RuleValueEditor } from "./reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js";
51
+ import { useConvertValue } from "./reactQueryBuilder/hooks/useConvertValue.js";
52
+ import { useValid } from "./reactQueryBuilder/hooks/useValid.js";
53
+ export {
54
+ AddButton,
55
+ AutocompleteInput,
56
+ AutocompleteWithFavorites,
57
+ BooleanInput,
58
+ BottomRightButtons,
59
+ CancelButton,
60
+ CheckboxInput,
61
+ CombinatorSelector,
62
+ CountriesInput,
63
+ CountryValueEditor,
64
+ CsvUploader,
65
+ CustomAgGridTable,
66
+ CustomFormContext,
67
+ CustomFormProvider,
68
+ CustomReactQueryBuilder,
69
+ DEFAULT_RANGE_VALUE,
70
+ DescriptionField,
71
+ DirectoryItemsInput,
72
+ ElementValueEditor,
73
+ ErrorInput,
74
+ ExpandingTextField,
75
+ FieldErrorAlert,
76
+ FieldLabel,
77
+ FloatInput,
78
+ GroupValueEditor,
79
+ InputWithPopupConfirmation,
80
+ IntegerInput,
81
+ MidFormError,
82
+ MuiSelectInput,
83
+ MultipleAutocompleteInput,
84
+ NAME,
85
+ NumericEditor,
86
+ PropertyValueEditor,
87
+ ROW_DRAGGING_SELECTION_COLUMN_DEF,
88
+ RadioInput,
89
+ RangeInput,
90
+ RangeType,
91
+ RawReadOnlyInput,
92
+ RemoveButton,
93
+ RuleValueEditor,
94
+ SelectClearable,
95
+ SelectInput,
96
+ SliderInput,
97
+ SubmitButton,
98
+ SwitchInput,
99
+ TextFieldWithAdornment,
100
+ TextInput,
101
+ TextValueEditor,
102
+ TranslatedValueEditor,
103
+ UniqueNameInput,
104
+ ValueEditor,
105
+ ValueSelector,
106
+ genHelperError,
107
+ genHelperPreviousValue,
108
+ getRangeInputDataForm,
109
+ getRangeInputSchema,
110
+ gridItem,
111
+ identity,
112
+ isFieldRequired,
113
+ isFloatNumber,
114
+ isIntegerNumber,
115
+ toFloatOrNullValue,
116
+ useConvertValue,
117
+ useCustomFormContext,
118
+ useValid
119
+ };
@@ -18,9 +18,8 @@ export interface DirectoryItemsInputProps {
18
18
  disable?: boolean;
19
19
  labelRequiredFromContext?: boolean;
20
20
  }
21
- declare function DirectoryItemsInput({ label, name, elementType, // Used to specify type of element (Filter, Contingency list, ...)
21
+ export declare function DirectoryItemsInput({ label, name, elementType, // Used to specify type of element (Filter, Contingency list, ...)
22
22
  equipmentTypes, // Mostly used for filters, it allows the user to get elements of specific equipment only
23
23
  itemFilter, // Used to further filter the results displayed according to specific requirement
24
24
  titleId, // title of directory item selector dialogue
25
25
  hideErrorMessage, onRowChanged, onChange, disable, labelRequiredFromContext, }: DirectoryItemsInputProps): import("react/jsx-runtime").JSX.Element;
26
- export default DirectoryItemsInput;
@@ -4,16 +4,16 @@ import FolderIcon from "@mui/icons-material/Folder";
4
4
  import { useState, useMemo, useCallback } from "react";
5
5
  import { useFieldArray, useController } from "react-hook-form";
6
6
  import { useIntl } from "react-intl";
7
- import RawReadOnlyInput from "./RawReadOnlyInput.js";
8
- import FieldLabel from "./utils/FieldLabel.js";
9
- import useCustomFormContext from "./provider/useCustomFormContext.js";
7
+ import { RawReadOnlyInput } from "./RawReadOnlyInput.js";
8
+ import { FieldLabel } from "./utils/FieldLabel.js";
9
+ import { useCustomFormContext } from "./provider/useCustomFormContext.js";
10
10
  import { isFieldRequired } from "./utils/functions.js";
11
- import ErrorInput from "./errorManagement/ErrorInput.js";
11
+ import { ErrorInput } from "./errorManagement/ErrorInput.js";
12
12
  import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
13
13
  import { mergeSx } from "../../../utils/styles.js";
14
14
  import { OverflowableText } from "../../overflowableText/OverflowableText.js";
15
- import MidFormError from "./errorManagement/MidFormError.js";
16
- import DirectoryItemSelector from "../../directoryItemSelector/DirectoryItemSelector.js";
15
+ import { MidFormError } from "./errorManagement/MidFormError.js";
16
+ import { DirectoryItemSelector } from "../../directoryItemSelector/DirectoryItemSelector.js";
17
17
  import { fetchDirectoryElementPath } from "../../../services/directory.js";
18
18
  const NAME = "name";
19
19
  const styles = {
@@ -202,6 +202,6 @@ function DirectoryItemsInput({
202
202
  ] });
203
203
  }
204
204
  export {
205
- NAME,
206
- DirectoryItemsInput as default
205
+ DirectoryItemsInput,
206
+ NAME
207
207
  };
@@ -7,5 +7,4 @@
7
7
  export type RawReadOnlyInputProps = {
8
8
  name: string;
9
9
  };
10
- declare function RawReadOnlyInput({ name }: Readonly<RawReadOnlyInputProps>): any;
11
- export default RawReadOnlyInput;
10
+ export declare function RawReadOnlyInput({ name }: Readonly<RawReadOnlyInputProps>): any;
@@ -6,5 +6,5 @@ function RawReadOnlyInput({ name }) {
6
6
  return value;
7
7
  }
8
8
  export {
9
- RawReadOnlyInput as default
9
+ RawReadOnlyInput
10
10
  };
@@ -12,5 +12,4 @@ export interface BottomRightButtonsProps {
12
12
  useFieldArrayOutput: UseFieldArrayReturn<FieldValues, string, 'id'>;
13
13
  csvProps: any;
14
14
  }
15
- declare function BottomRightButtons({ name, disableUp, disableDown, disableDelete, handleAddRow, handleDeleteRows, handleMoveRowUp, handleMoveRowDown, useFieldArrayOutput, csvProps, }: BottomRightButtonsProps): import("react/jsx-runtime").JSX.Element;
16
- export default BottomRightButtons;
15
+ export declare function BottomRightButtons({ name, disableUp, disableDown, disableDelete, handleAddRow, handleDeleteRows, handleMoveRowUp, handleMoveRowDown, useFieldArrayOutput, csvProps, }: BottomRightButtonsProps): import("react/jsx-runtime").JSX.Element;
@@ -7,9 +7,9 @@ import DeleteIcon from "@mui/icons-material/Delete";
7
7
  import { useState } from "react";
8
8
  import { useIntl } from "react-intl";
9
9
  import { styled } from "@mui/material/styles";
10
- import ErrorInput from "../errorManagement/ErrorInput.js";
11
- import FieldErrorAlert from "../errorManagement/FieldErrorAlert.js";
12
- import CsvUploader from "./csvUploader/CsvUploader.js";
10
+ import { ErrorInput } from "../errorManagement/ErrorInput.js";
11
+ import { FieldErrorAlert } from "../errorManagement/FieldErrorAlert.js";
12
+ import { CsvUploader } from "./csvUploader/CsvUploader.js";
13
13
  const InnerColoredButton = styled(IconButton)(({ theme }) => {
14
14
  return {
15
15
  color: theme.palette.primary.main
@@ -62,5 +62,5 @@ function BottomRightButtons({
62
62
  ] });
63
63
  }
64
64
  export {
65
- BottomRightButtons as default
65
+ BottomRightButtons
66
66
  };
@@ -18,5 +18,4 @@ export interface CustomAgGridTableProps {
18
18
  alwaysShowVerticalScroll: boolean;
19
19
  stopEditingWhenCellsLoseFocus: boolean;
20
20
  }
21
- declare function CustomAgGridTable({ name, columnDefs, makeDefaultRowData, csvProps, cssProps, defaultColDef, pagination, paginationPageSize, suppressRowClickSelection, alwaysShowVerticalScroll, stopEditingWhenCellsLoseFocus, ...props }: CustomAgGridTableProps): import("react/jsx-runtime").JSX.Element;
22
- export default CustomAgGridTable;
21
+ export declare function CustomAgGridTable({ name, columnDefs, makeDefaultRowData, csvProps, cssProps, defaultColDef, pagination, paginationPageSize, suppressRowClickSelection, alwaysShowVerticalScroll, stopEditingWhenCellsLoseFocus, ...props }: CustomAgGridTableProps): import("react/jsx-runtime").JSX.Element;
@@ -6,8 +6,8 @@ import "ag-grid-community/styles/ag-grid.css";
6
6
  import "ag-grid-community/styles/ag-theme-alpine.css";
7
7
  import { useTheme, Grid } from "@mui/material";
8
8
  import { useIntl } from "react-intl";
9
- import BottomRightButtons from "./BottomRightButtons.js";
10
- import FieldConstants from "../../../../utils/constants/fieldConstants.js";
9
+ import { BottomRightButtons } from "./BottomRightButtons.js";
10
+ import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
11
11
  const ROW_DRAGGING_SELECTION_COLUMN_DEF = [
12
12
  {
13
13
  rowDrag: true,
@@ -231,6 +231,6 @@ function CustomAgGridTable({
231
231
  ] });
232
232
  }
233
233
  export {
234
- ROW_DRAGGING_SELECTION_COLUMN_DEF,
235
- CustomAgGridTable as default
234
+ CustomAgGridTable,
235
+ ROW_DRAGGING_SELECTION_COLUMN_DEF
236
236
  };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ export * from './numericEditor';
@@ -0,0 +1,4 @@
1
+ import { NumericEditor } from "./numericEditor.js";
2
+ export {
3
+ NumericEditor
4
+ };
@@ -7,7 +7,7 @@ import { ICellEditorComp, ICellEditorParams } from 'ag-grid-community';
7
7
  * React version if you want to check, with forwardRef, useEffect and useImperativeHandle :
8
8
  * https://www.ag-grid.com/react-data-grid/component-cell-editor/#cell-editor-example
9
9
  */
10
- declare class NumericEditor implements ICellEditorComp {
10
+ export declare class NumericEditor implements ICellEditorComp {
11
11
  eInput: HTMLInputElement;
12
12
  cancelBeforeStart: boolean;
13
13
  init(params: ICellEditorParams): void;
@@ -21,4 +21,3 @@ declare class NumericEditor implements ICellEditorComp {
21
21
  static isNumericKey(event: any): boolean | "" | null;
22
22
  static focusOut(): boolean;
23
23
  }
24
- export default NumericEditor;
@@ -64,5 +64,5 @@ class NumericEditor {
64
64
  }
65
65
  }
66
66
  export {
67
- NumericEditor as default
67
+ NumericEditor
68
68
  };
@@ -16,5 +16,4 @@ export interface CsvUploaderProps {
16
16
  getDataFromCsv: any;
17
17
  useFieldArrayOutput: any;
18
18
  }
19
- declare function CsvUploader({ name, onClose, open, title, fileHeaders, fileName, csvData, validateData, getDataFromCsv, useFieldArrayOutput, }: Readonly<CsvUploaderProps>): import("react/jsx-runtime").JSX.Element;
20
- export default CsvUploader;
19
+ export declare function CsvUploader({ name, onClose, open, title, fileHeaders, fileName, csvData, validateData, getDataFromCsv, useFieldArrayOutput, }: Readonly<CsvUploaderProps>): import("react/jsx-runtime").JSX.Element;
@@ -13,8 +13,8 @@ import Alert from "@mui/material/Alert";
13
13
  import { DialogContentText } from "@mui/material";
14
14
  import { useWatch } from "react-hook-form";
15
15
  import { RECORD_SEP, UNIT_SEP } from "papaparse";
16
- import FieldConstants from "../../../../../utils/constants/fieldConstants.js";
17
- import CancelButton from "../../utils/CancelButton.js";
16
+ import { FieldConstants } from "../../../../../utils/constants/fieldConstants.js";
17
+ import { CancelButton } from "../../utils/CancelButton.js";
18
18
  function CsvUploader({
19
19
  name,
20
20
  onClose,
@@ -170,5 +170,5 @@ function CsvUploader({
170
170
  ] });
171
171
  }
172
172
  export {
173
- CsvUploader as default
173
+ CsvUploader
174
174
  };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ export * from './CsvUploader';
@@ -0,0 +1,4 @@
1
+ import { CsvUploader } from "./CsvUploader.js";
2
+ export {
3
+ CsvUploader
4
+ };