@gridsuite/commons-ui 0.62.0 → 0.63.1

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 (330) hide show
  1. package/dist/components/AuthenticationRouter/AuthenticationRouter.d.ts +21 -20
  2. package/dist/components/AuthenticationRouter/AuthenticationRouter.js +15 -13
  3. package/dist/components/AuthenticationRouter/index.d.ts +4 -7
  4. package/dist/components/AuthenticationRouter/index.js +2 -2
  5. package/dist/components/CardErrorBoundary/card-error-boundary.d.ts +0 -1
  6. package/dist/components/CardErrorBoundary/card-error-boundary.js +5 -3
  7. package/dist/components/CardErrorBoundary/index.d.ts +3 -7
  8. package/dist/components/CardErrorBoundary/index.js +2 -2
  9. package/dist/components/CustomAGGrid/custom-aggrid.js +1 -1
  10. package/dist/components/CustomAGGrid/custom-aggrid.style.js +5 -5
  11. package/dist/components/DirectoryItemSelector/directory-item-selector.d.ts +2 -3
  12. package/dist/components/DirectoryItemSelector/directory-item-selector.js +108 -105
  13. package/dist/components/ElementSearchDialog/element-search-dialog.d.ts +1 -1
  14. package/dist/components/ElementSearchDialog/element-search-dialog.js +2 -2
  15. package/dist/components/ElementSearchDialog/element-search-input.d.ts +1 -1
  16. package/dist/components/ElementSearchDialog/element-search-input.js +4 -6
  17. package/dist/components/ElementSearchDialog/equipment-item.d.ts +3 -3
  18. package/dist/components/ElementSearchDialog/equipment-item.js +13 -13
  19. package/dist/components/ElementSearchDialog/index.d.ts +3 -3
  20. package/dist/components/ElementSearchDialog/index.js +5 -5
  21. package/dist/components/ElementSearchDialog/tag-renderer.d.ts +11 -12
  22. package/dist/components/ElementSearchDialog/tag-renderer.js +5 -6
  23. package/dist/components/ElementSearchDialog/use-element-search.d.ts +2 -2
  24. package/dist/components/ElementSearchDialog/use-element-search.js +2 -2
  25. package/dist/components/ExpandableGroup/expandable-group.d.ts +3 -3
  26. package/dist/components/ExpandableGroup/expandable-group.js +6 -6
  27. package/dist/components/ExpandableGroup/index.d.ts +3 -7
  28. package/dist/components/ExpandableGroup/index.js +2 -2
  29. package/dist/components/FlatParameters/FlatParameters.d.ts +1 -1
  30. package/dist/components/FlatParameters/FlatParameters.js +46 -46
  31. package/dist/components/FlatParameters/index.d.ts +3 -7
  32. package/dist/components/Login/Login.d.ts +1 -7
  33. package/dist/components/Login/Login.js +3 -9
  34. package/dist/components/Login/Logout.d.ts +1 -1
  35. package/dist/components/Login/Logout.js +11 -11
  36. package/dist/components/Login/index.d.ts +3 -7
  37. package/dist/components/Login/index.js +2 -2
  38. package/dist/components/MuiVirtualizedTable/ColumnHeader.js +9 -8
  39. package/dist/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.d.ts +24 -9
  40. package/dist/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.js +200 -205
  41. package/dist/components/MuiVirtualizedTable/MuiVirtualizedTable.js +6 -6
  42. package/dist/components/MuiVirtualizedTable/index.d.ts +2 -2
  43. package/dist/components/MuiVirtualizedTable/index.js +3 -3
  44. package/dist/components/MultipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -1
  45. package/dist/components/MultipleSelectionDialog/MultipleSelectionDialog.js +5 -15
  46. package/dist/components/MultipleSelectionDialog/index.d.ts +3 -7
  47. package/dist/components/MultipleSelectionDialog/index.js +2 -2
  48. package/dist/components/OverflowableText/index.d.ts +3 -7
  49. package/dist/components/OverflowableText/overflowable-text.js +2 -2
  50. package/dist/components/ReportViewer/filter-button.d.ts +1 -1
  51. package/dist/components/ReportViewer/filter-button.js +3 -3
  52. package/dist/components/ReportViewer/index.d.ts +3 -7
  53. package/dist/components/ReportViewer/index.js +2 -2
  54. package/dist/components/ReportViewer/log-report-item.d.ts +1 -1
  55. package/dist/components/ReportViewer/log-report-item.js +12 -9
  56. package/dist/components/ReportViewer/log-report.js +3 -3
  57. package/dist/components/ReportViewer/log-table.d.ts +2 -1
  58. package/dist/components/ReportViewer/log-table.js +6 -5
  59. package/dist/components/ReportViewer/multi-select-list.d.ts +1 -1
  60. package/dist/components/ReportViewer/multi-select-list.js +3 -3
  61. package/dist/components/ReportViewer/report-item.js +4 -3
  62. package/dist/components/ReportViewer/report-viewer.js +11 -12
  63. package/dist/components/ReportViewerDialog/index.d.ts +3 -7
  64. package/dist/components/ReportViewerDialog/index.js +2 -2
  65. package/dist/components/SignInCallbackHandler/SignInCallbackHandler.d.ts +2 -2
  66. package/dist/components/SignInCallbackHandler/SignInCallbackHandler.js +3 -3
  67. package/dist/components/SignInCallbackHandler/index.d.ts +3 -7
  68. package/dist/components/SignInCallbackHandler/index.js +2 -2
  69. package/dist/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.d.ts +2 -2
  70. package/dist/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.js +3 -3
  71. package/dist/components/SilentRenewCallbackHandler/index.d.ts +3 -7
  72. package/dist/components/SilentRenewCallbackHandler/index.js +2 -2
  73. package/dist/components/SnackbarProvider/SnackbarProvider.d.ts +1 -1
  74. package/dist/components/SnackbarProvider/SnackbarProvider.js +14 -13
  75. package/dist/components/SnackbarProvider/index.d.ts +3 -7
  76. package/dist/components/SnackbarProvider/index.js +2 -2
  77. package/dist/components/TopBar/AboutDialog.d.ts +2 -3
  78. package/dist/components/TopBar/AboutDialog.js +151 -153
  79. package/dist/components/TopBar/GridLogo.d.ts +2 -2
  80. package/dist/components/TopBar/GridLogo.js +24 -24
  81. package/dist/components/TopBar/TopBar.d.ts +5 -29
  82. package/dist/components/TopBar/TopBar.js +9 -33
  83. package/dist/components/TopBar/index.d.ts +1 -1
  84. package/dist/components/TopBar/index.js +1 -1
  85. package/dist/components/TreeViewFinder/TreeViewFinder.js +51 -45
  86. package/dist/components/TreeViewFinder/index.d.ts +1 -1
  87. package/dist/components/TreeViewFinder/index.js +1 -1
  88. package/dist/components/dialogs/custom-mui-dialog.d.ts +2 -2
  89. package/dist/components/dialogs/custom-mui-dialog.js +5 -5
  90. package/dist/components/dialogs/description-modification-dialog.d.ts +7 -3
  91. package/dist/components/dialogs/description-modification-dialog.js +11 -5
  92. package/dist/components/dialogs/modify-element-selection.d.ts +1 -2
  93. package/dist/components/dialogs/modify-element-selection.js +21 -13
  94. package/dist/components/dialogs/popup-confirmation-dialog.d.ts +7 -3
  95. package/dist/components/dialogs/popup-confirmation-dialog.js +3 -6
  96. package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.d.ts +4 -5
  97. package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.js +123 -16
  98. package/dist/components/filter/criteria-based/criteria-based-filter-form.d.ts +1 -2
  99. package/dist/components/filter/criteria-based/criteria-based-filter-form.js +6 -5
  100. package/dist/components/filter/criteria-based/criteria-based-filter-utils.js +27 -20
  101. package/dist/components/filter/criteria-based/criteria-based-form.d.ts +1 -2
  102. package/dist/components/filter/criteria-based/criteria-based-form.js +17 -6
  103. package/dist/components/filter/criteria-based/filter-free-properties.d.ts +5 -3
  104. package/dist/components/filter/criteria-based/filter-free-properties.js +69 -13
  105. package/dist/components/filter/criteria-based/filter-properties.d.ts +1 -6
  106. package/dist/components/filter/criteria-based/filter-properties.js +124 -16
  107. package/dist/components/filter/criteria-based/filter-property.d.ts +1 -2
  108. package/dist/components/filter/criteria-based/filter-property.js +16 -16
  109. package/dist/components/filter/expert/expert-filter-constants.d.ts +8 -1
  110. package/dist/components/filter/expert/expert-filter-constants.js +7 -0
  111. package/dist/components/filter/expert/expert-filter-edition-dialog.d.ts +3 -4
  112. package/dist/components/filter/expert/expert-filter-edition-dialog.js +128 -15
  113. package/dist/components/filter/expert/expert-filter-form.d.ts +2 -2
  114. package/dist/components/filter/expert/expert-filter-form.js +115 -20
  115. package/dist/components/filter/expert/expert-filter-utils.d.ts +2 -2
  116. package/dist/components/filter/expert/expert-filter-utils.js +58 -46
  117. package/dist/components/filter/expert/expert-filter.type.d.ts +4 -0
  118. package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.d.ts +3 -4
  119. package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js +136 -16
  120. package/dist/components/filter/explicit-naming/explicit-naming-filter-form.d.ts +4 -5
  121. package/dist/components/filter/explicit-naming/explicit-naming-filter-form.js +241 -24
  122. package/dist/components/filter/filter-creation-dialog.d.ts +3 -4
  123. package/dist/components/filter/filter-creation-dialog.js +125 -13
  124. package/dist/components/filter/filter-form.d.ts +4 -5
  125. package/dist/components/filter/filter-form.js +73 -14
  126. package/dist/components/filter/utils/filter-api.js +1 -1
  127. package/dist/components/filter/utils/filter-form-utils.js +1 -1
  128. package/dist/components/inputs/react-hook-form/ExpandingTextField.d.ts +1 -2
  129. package/dist/components/inputs/react-hook-form/ExpandingTextField.js +5 -5
  130. package/dist/components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.d.ts +1 -2
  131. package/dist/components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.js +102 -13
  132. package/dist/components/inputs/react-hook-form/ag-grid-table/cell-editors/numericEditor.d.ts +7 -6
  133. package/dist/components/inputs/react-hook-form/ag-grid-table/cell-editors/numericEditor.js +13 -15
  134. package/dist/components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.d.ts +7 -3
  135. package/dist/components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js +220 -61
  136. package/dist/components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.d.ts +1 -2
  137. package/dist/components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.js +243 -11
  138. package/dist/components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.d.ts +4 -2
  139. package/dist/components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js +12 -12
  140. package/dist/components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.d.ts +1 -1
  141. package/dist/components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js +2 -2
  142. package/dist/components/inputs/react-hook-form/booleans/boolean-input.d.ts +1 -1
  143. package/dist/components/inputs/react-hook-form/booleans/boolean-input.js +2 -2
  144. package/dist/components/inputs/react-hook-form/booleans/checkbox-input.d.ts +1 -1
  145. package/dist/components/inputs/react-hook-form/booleans/checkbox-input.js +3 -3
  146. package/dist/components/inputs/react-hook-form/booleans/switch-input.d.ts +1 -1
  147. package/dist/components/inputs/react-hook-form/booleans/switch-input.js +3 -3
  148. package/dist/components/inputs/react-hook-form/directory-items-input.d.ts +11 -3
  149. package/dist/components/inputs/react-hook-form/directory-items-input.js +11 -11
  150. package/dist/components/inputs/react-hook-form/error-management/error-input.d.ts +2 -2
  151. package/dist/components/inputs/react-hook-form/error-management/error-input.js +7 -9
  152. package/dist/components/inputs/react-hook-form/error-management/field-error-alert.d.ts +2 -2
  153. package/dist/components/inputs/react-hook-form/error-management/field-error-alert.js +2 -4
  154. package/dist/components/inputs/react-hook-form/error-management/mid-form-error.d.ts +2 -2
  155. package/dist/components/inputs/react-hook-form/error-management/mid-form-error.js +2 -2
  156. package/dist/components/inputs/react-hook-form/numbers/float-input.d.ts +1 -2
  157. package/dist/components/inputs/react-hook-form/numbers/float-input.js +6 -5
  158. package/dist/components/inputs/react-hook-form/numbers/integer-input.d.ts +1 -1
  159. package/dist/components/inputs/react-hook-form/numbers/integer-input.js +5 -5
  160. package/dist/components/inputs/react-hook-form/provider/custom-form-provider.d.ts +1 -1
  161. package/dist/components/inputs/react-hook-form/provider/custom-form-provider.js +11 -8
  162. package/dist/components/inputs/react-hook-form/provider/use-custom-form-context.d.ts +2 -1
  163. package/dist/components/inputs/react-hook-form/provider/use-custom-form-context.js +1 -1
  164. package/dist/components/inputs/react-hook-form/radio-input.d.ts +1 -1
  165. package/dist/components/inputs/react-hook-form/radio-input.js +2 -8
  166. package/dist/components/inputs/react-hook-form/range-input.d.ts +1 -2
  167. package/dist/components/inputs/react-hook-form/range-input.js +5 -5
  168. package/dist/components/inputs/react-hook-form/raw-read-only-input.d.ts +2 -1
  169. package/dist/components/inputs/react-hook-form/raw-read-only-input.js +1 -1
  170. package/dist/components/inputs/react-hook-form/select-inputs/countries-input.d.ts +1 -3
  171. package/dist/components/inputs/react-hook-form/select-inputs/countries-input.js +4 -8
  172. package/dist/components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.d.ts +3 -1
  173. package/dist/components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js +4 -4
  174. package/dist/components/inputs/react-hook-form/select-inputs/mui-select-input.d.ts +1 -2
  175. package/dist/components/inputs/react-hook-form/select-inputs/mui-select-input.js +11 -10
  176. package/dist/components/inputs/react-hook-form/select-inputs/select-input.d.ts +1 -2
  177. package/dist/components/inputs/react-hook-form/select-inputs/select-input.js +16 -8
  178. package/dist/components/inputs/react-hook-form/slider-input.d.ts +1 -1
  179. package/dist/components/inputs/react-hook-form/slider-input.js +6 -6
  180. package/dist/components/inputs/react-hook-form/text-input.d.ts +6 -2
  181. package/dist/components/inputs/react-hook-form/text-input.js +9 -9
  182. package/dist/components/inputs/react-hook-form/unique-name-input.d.ts +4 -6
  183. package/dist/components/inputs/react-hook-form/unique-name-input.js +12 -12
  184. package/dist/components/inputs/react-hook-form/utils/cancel-button.d.ts +9 -10
  185. package/dist/components/inputs/react-hook-form/utils/cancel-button.js +2 -6
  186. package/dist/components/inputs/react-hook-form/utils/field-label.d.ts +1 -1
  187. package/dist/components/inputs/react-hook-form/utils/field-label.js +3 -3
  188. package/dist/components/inputs/react-hook-form/utils/functions.js +1 -1
  189. package/dist/components/inputs/react-hook-form/utils/submit-button.d.ts +9 -10
  190. package/dist/components/inputs/react-hook-form/utils/submit-button.js +2 -6
  191. package/dist/components/inputs/react-hook-form/utils/text-field-with-adornment.d.ts +1 -2
  192. package/dist/components/inputs/react-hook-form/utils/text-field-with-adornment.js +7 -7
  193. package/dist/components/inputs/react-query-builder/add-button.d.ts +1 -2
  194. package/dist/components/inputs/react-query-builder/add-button.js +13 -10
  195. package/dist/components/inputs/react-query-builder/combinator-selector.d.ts +1 -2
  196. package/dist/components/inputs/react-query-builder/combinator-selector.js +7 -6
  197. package/dist/components/inputs/react-query-builder/composite-rule-editor/group-value-editor.d.ts +1 -1
  198. package/dist/components/inputs/react-query-builder/composite-rule-editor/group-value-editor.js +2 -2
  199. package/dist/components/inputs/react-query-builder/composite-rule-editor/rule-value-editor.d.ts +1 -1
  200. package/dist/components/inputs/react-query-builder/composite-rule-editor/rule-value-editor.js +5 -5
  201. package/dist/components/inputs/react-query-builder/country-value-editor.d.ts +1 -2
  202. package/dist/components/inputs/react-query-builder/country-value-editor.js +18 -18
  203. package/dist/components/inputs/react-query-builder/custom-react-query-builder.d.ts +1 -1
  204. package/dist/components/inputs/react-query-builder/custom-react-query-builder.js +92 -19
  205. package/dist/components/inputs/react-query-builder/element-value-editor.d.ts +7 -3
  206. package/dist/components/inputs/react-query-builder/element-value-editor.js +50 -62
  207. package/dist/components/inputs/react-query-builder/property-value-editor.d.ts +1 -2
  208. package/dist/components/inputs/react-query-builder/property-value-editor.js +5 -5
  209. package/dist/components/inputs/react-query-builder/remove-button.d.ts +1 -2
  210. package/dist/components/inputs/react-query-builder/remove-button.js +26 -7
  211. package/dist/components/inputs/react-query-builder/text-value-editor.d.ts +1 -2
  212. package/dist/components/inputs/react-query-builder/text-value-editor.js +17 -17
  213. package/dist/components/inputs/react-query-builder/translated-value-editor.d.ts +1 -2
  214. package/dist/components/inputs/react-query-builder/translated-value-editor.js +22 -26
  215. package/dist/components/inputs/react-query-builder/value-editor.d.ts +1 -2
  216. package/dist/components/inputs/react-query-builder/value-editor.js +119 -18
  217. package/dist/components/inputs/react-query-builder/value-selector.d.ts +1 -1
  218. package/dist/components/inputs/react-query-builder/value-selector.js +2 -2
  219. package/dist/components/inputs/select-clearable.d.ts +1 -2
  220. package/dist/components/inputs/select-clearable.js +6 -5
  221. package/dist/components/translations/card-error-boundary-en.d.ts +2 -2
  222. package/dist/components/translations/card-error-boundary-en.js +2 -2
  223. package/dist/components/translations/card-error-boundary-fr.d.ts +2 -2
  224. package/dist/components/translations/card-error-boundary-fr.js +2 -2
  225. package/dist/components/translations/common-button-en.d.ts +2 -2
  226. package/dist/components/translations/common-button-en.js +2 -2
  227. package/dist/components/translations/common-button-fr.d.ts +2 -2
  228. package/dist/components/translations/common-button-fr.js +2 -2
  229. package/dist/components/translations/directory-items-input-en.d.ts +2 -2
  230. package/dist/components/translations/directory-items-input-en.js +2 -2
  231. package/dist/components/translations/directory-items-input-fr.d.ts +2 -2
  232. package/dist/components/translations/directory-items-input-fr.js +2 -2
  233. package/dist/components/translations/element-search-en.d.ts +2 -2
  234. package/dist/components/translations/element-search-en.js +2 -2
  235. package/dist/components/translations/element-search-fr.d.ts +2 -2
  236. package/dist/components/translations/element-search-fr.js +2 -2
  237. package/dist/components/translations/equipment-search-en.d.ts +2 -2
  238. package/dist/components/translations/equipment-search-en.js +2 -2
  239. package/dist/components/translations/equipment-search-fr.d.ts +2 -2
  240. package/dist/components/translations/equipment-search-fr.js +2 -2
  241. package/dist/components/translations/filter-en.d.ts +3 -2
  242. package/dist/components/translations/filter-en.js +3 -2
  243. package/dist/components/translations/filter-expert-en.d.ts +2 -2
  244. package/dist/components/translations/filter-expert-en.js +2 -2
  245. package/dist/components/translations/filter-expert-fr.d.ts +2 -2
  246. package/dist/components/translations/filter-expert-fr.js +2 -2
  247. package/dist/components/translations/filter-fr.d.ts +3 -2
  248. package/dist/components/translations/filter-fr.js +3 -2
  249. package/dist/components/translations/flat-parameters-en.d.ts +2 -2
  250. package/dist/components/translations/flat-parameters-en.js +2 -2
  251. package/dist/components/translations/flat-parameters-fr.d.ts +2 -2
  252. package/dist/components/translations/flat-parameters-fr.js +2 -2
  253. package/dist/components/translations/inputs-en.d.ts +2 -2
  254. package/dist/components/translations/inputs-en.js +2 -2
  255. package/dist/components/translations/inputs-fr.d.ts +2 -2
  256. package/dist/components/translations/inputs-fr.js +2 -2
  257. package/dist/components/translations/login-en.d.ts +2 -2
  258. package/dist/components/translations/login-en.js +2 -2
  259. package/dist/components/translations/login-fr.d.ts +2 -2
  260. package/dist/components/translations/login-fr.js +2 -2
  261. package/dist/components/translations/multiple-selection-dialog-en.d.ts +2 -2
  262. package/dist/components/translations/multiple-selection-dialog-en.js +2 -2
  263. package/dist/components/translations/multiple-selection-dialog-fr.d.ts +2 -2
  264. package/dist/components/translations/multiple-selection-dialog-fr.js +2 -2
  265. package/dist/components/translations/report-viewer-en.d.ts +2 -2
  266. package/dist/components/translations/report-viewer-en.js +2 -2
  267. package/dist/components/translations/report-viewer-fr.d.ts +2 -2
  268. package/dist/components/translations/report-viewer-fr.js +2 -2
  269. package/dist/components/translations/table-en.d.ts +2 -2
  270. package/dist/components/translations/table-en.js +2 -2
  271. package/dist/components/translations/table-fr.d.ts +2 -2
  272. package/dist/components/translations/table-fr.js +2 -2
  273. package/dist/components/translations/top-bar-en.d.ts +2 -2
  274. package/dist/components/translations/top-bar-en.js +2 -2
  275. package/dist/components/translations/top-bar-fr.d.ts +2 -2
  276. package/dist/components/translations/top-bar-fr.js +2 -2
  277. package/dist/components/translations/treeview-finder-en.d.ts +2 -2
  278. package/dist/components/translations/treeview-finder-en.js +2 -2
  279. package/dist/components/translations/treeview-finder-fr.d.ts +2 -2
  280. package/dist/components/translations/treeview-finder-fr.js +2 -2
  281. package/dist/hooks/localized-countries-hook.js +1 -1
  282. package/dist/hooks/predefined-properties-hook.d.ts +2 -1
  283. package/dist/hooks/predefined-properties-hook.js +2 -2
  284. package/dist/hooks/useDebounce.d.ts +2 -1
  285. package/dist/hooks/useDebounce.js +1 -1
  286. package/dist/hooks/useIntlRef.d.ts +2 -1
  287. package/dist/hooks/useIntlRef.js +1 -1
  288. package/dist/hooks/usePrevious.d.ts +2 -0
  289. package/dist/hooks/usePrevious.js +12 -0
  290. package/dist/hooks/useSnackMessage.d.ts +2 -2
  291. package/dist/hooks/useSnackMessage.js +36 -36
  292. package/dist/index.d.ts +27 -16
  293. package/dist/index.js +183 -159
  294. package/dist/redux/authActions.d.ts +56 -0
  295. package/dist/redux/commonStore.d.ts +4 -3
  296. package/dist/redux/commonStore.js +2 -1
  297. package/dist/services/apps-metadata.js +1 -1
  298. package/dist/services/directory.js +6 -6
  299. package/dist/services/explore.js +14 -12
  300. package/dist/services/index.d.ts +0 -5
  301. package/dist/services/study.js +2 -2
  302. package/dist/services/utils.d.ts +1 -1
  303. package/dist/services/utils.js +26 -26
  304. package/dist/utils/AuthService.d.ts +9 -8
  305. package/dist/utils/AuthService.js +77 -76
  306. package/dist/utils/ElementIcon.d.ts +3 -2
  307. package/dist/utils/ElementIcon.js +4 -3
  308. package/dist/utils/ElementType.d.ts +3 -6
  309. package/dist/utils/EquipmentType.js +3 -3
  310. package/dist/utils/FetchStatus.d.ts +2 -1
  311. package/dist/utils/FetchStatus.js +1 -1
  312. package/dist/utils/Metadata.d.ts +15 -0
  313. package/dist/utils/Metadata.js +1 -0
  314. package/dist/utils/UserManagerMock.d.ts +50 -25
  315. package/dist/utils/UserManagerMock.js +118 -11
  316. package/dist/utils/algos.d.ts +2 -1
  317. package/dist/utils/algos.js +2 -2
  318. package/dist/utils/equipment-types-for-predefined-properties-mapper.d.ts +2 -1
  319. package/dist/utils/equipment-types-for-predefined-properties-mapper.js +3 -1
  320. package/dist/utils/field-constants.d.ts +2 -1
  321. package/dist/utils/field-constants.js +1 -1
  322. package/dist/utils/functions.js +5 -2
  323. package/dist/utils/types.d.ts +1 -1
  324. package/dist/utils/yup-config.js +1 -2
  325. package/package.json +10 -4
  326. package/dist/chunks/criteria-based-filter-edition-dialog.CAT38SvB.js +0 -1694
  327. package/dist/chunks/filter-properties.B7-q_yPf.js +0 -195
  328. package/dist/redux/actions.d.ts +0 -54
  329. /package/dist/assets/{criteria-based-filter-edition-dialog.css → expert-filter-form.css} +0 -0
  330. /package/dist/redux/{actions.js → authActions.js} +0 -0
@@ -1,20 +1,121 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import "@react-querybuilder/material";
4
- import "./country-value-editor.js";
5
- import "./translated-value-editor.js";
6
- import "./text-value-editor.js";
7
- import "@mui/material/Box";
8
- import "react-hook-form";
9
- import "../../../utils/field-constants.js";
10
- import "../../filter/expert/expert-filter.type.js";
11
- import "../../../utils/equipment-types.js";
12
- import { V } from "../../../chunks/criteria-based-filter-edition-dialog.CAT38SvB.js";
13
- import "../../../utils/ElementType.js";
14
- import "./property-value-editor.js";
15
- import "../../filter/constants/filter-constants.js";
16
- import "./composite-rule-editor/group-value-editor.js";
17
- import "../../filter/expert/expert-filter-constants.js";
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useCallback } from "react";
3
+ import { MaterialValueEditor } from "@react-querybuilder/material";
4
+ import Box from "@mui/material/Box";
5
+ import { useFormContext } from "react-hook-form";
6
+ import CountryValueEditor from "./country-value-editor.js";
7
+ import TranslatedValueEditor from "./translated-value-editor.js";
8
+ import TextValueEditor from "./text-value-editor.js";
9
+ import { FieldType, DataType } from "../../filter/expert/expert-filter.type.js";
10
+ import FieldConstants from "../../../utils/field-constants.js";
11
+ import { VoltageLevel, Substation } from "../../../utils/equipment-types.js";
12
+ import ElementValueEditor from "./element-value-editor.js";
13
+ import { ElementType } from "../../../utils/ElementType.js";
14
+ import PropertyValueEditor from "./property-value-editor.js";
15
+ import { FilterType } from "../../filter/constants/filter-constants.js";
16
+ import GroupValueEditor from "./composite-rule-editor/group-value-editor.js";
17
+ import { OPERATOR_OPTIONS } from "../../filter/expert/expert-filter-constants.js";
18
+ const styles = {
19
+ noArrows: {
20
+ "& input::-webkit-outer-spin-button, & input::-webkit-inner-spin-button": {
21
+ display: "none"
22
+ },
23
+ "& input[type=number]": {
24
+ MozAppearance: "textfield"
25
+ }
26
+ }
27
+ };
28
+ function ValueEditor(props) {
29
+ const {
30
+ field,
31
+ operator,
32
+ value,
33
+ rule,
34
+ handleOnChange,
35
+ inputType,
36
+ fieldData
37
+ } = props;
38
+ const formContext = useFormContext();
39
+ const { getValues } = formContext;
40
+ const itemFilter = useCallback(
41
+ (filterValue) => {
42
+ var _a, _b, _c;
43
+ if ((filterValue == null ? void 0 : filterValue.type) === ElementType.FILTER) {
44
+ return (
45
+ // we do not authorize to use an expert filter in the rules of
46
+ // another expert filter, to prevent potential cycle problems
47
+ ((_a = filterValue == null ? void 0 : filterValue.specificMetadata) == null ? void 0 : _a.type) !== FilterType.EXPERT.id && (field === FieldType.ID && ((_b = filterValue == null ? void 0 : filterValue.specificMetadata) == null ? void 0 : _b.equipmentType) === getValues(FieldConstants.EQUIPMENT_TYPE) || (field === FieldType.VOLTAGE_LEVEL_ID || field === FieldType.VOLTAGE_LEVEL_ID_1 || field === FieldType.VOLTAGE_LEVEL_ID_2) && ((_c = filterValue == null ? void 0 : filterValue.specificMetadata) == null ? void 0 : _c.equipmentType) === VoltageLevel.type)
48
+ );
49
+ }
50
+ return true;
51
+ },
52
+ [field, getValues]
53
+ );
54
+ if (operator === OPERATOR_OPTIONS.EXISTS.name || operator === OPERATOR_OPTIONS.NOT_EXISTS.name) {
55
+ return null;
56
+ }
57
+ if ([FieldType.COUNTRY, FieldType.COUNTRY_1, FieldType.COUNTRY_2].includes(
58
+ field
59
+ )) {
60
+ return /* @__PURE__ */ jsx(CountryValueEditor, { ...props });
61
+ }
62
+ if (field === FieldType.REGULATION_TYPE || field === FieldType.SVAR_REGULATION_MODE || field === FieldType.ENERGY_SOURCE || field === FieldType.SHUNT_COMPENSATOR_TYPE || field === FieldType.LOAD_TYPE || field === FieldType.RATIO_REGULATION_MODE || field === FieldType.PHASE_REGULATION_MODE) {
63
+ return /* @__PURE__ */ jsx(TranslatedValueEditor, { ...props });
64
+ }
65
+ if (operator === OPERATOR_OPTIONS.IS_PART_OF.name || operator === OPERATOR_OPTIONS.IS_NOT_PART_OF.name) {
66
+ let equipmentTypes;
67
+ if (field === FieldType.VOLTAGE_LEVEL_ID || field === FieldType.VOLTAGE_LEVEL_ID_1 || field === FieldType.VOLTAGE_LEVEL_ID_2) {
68
+ equipmentTypes = [VoltageLevel.type];
69
+ } else if (field === FieldType.ID) {
70
+ equipmentTypes = [getValues(FieldConstants.EQUIPMENT_TYPE)];
71
+ }
72
+ return /* @__PURE__ */ jsx(
73
+ ElementValueEditor,
74
+ {
75
+ name: DataType.FILTER_UUID + rule.id,
76
+ elementType: ElementType.FILTER,
77
+ equipmentTypes,
78
+ titleId: "selectFilterDialogTitle",
79
+ hideErrorMessage: true,
80
+ onChange: (e) => {
81
+ handleOnChange(e.map((v) => v.id));
82
+ },
83
+ itemFilter,
84
+ defaultValue: value
85
+ }
86
+ );
87
+ }
88
+ if (field === FieldType.ID || field === FieldType.NAME || field === FieldType.REGULATING_TERMINAL_VL_ID || field === FieldType.REGULATING_TERMINAL_CONNECTABLE_ID || field === FieldType.VOLTAGE_LEVEL_ID || field === FieldType.VOLTAGE_LEVEL_ID_1 || field === FieldType.VOLTAGE_LEVEL_ID_2) {
89
+ return /* @__PURE__ */ jsx(TextValueEditor, { ...props });
90
+ }
91
+ if (field === FieldType.PROPERTY || field === FieldType.SUBSTATION_PROPERTY || field === FieldType.SUBSTATION_PROPERTY_1 || field === FieldType.SUBSTATION_PROPERTY_2 || field === FieldType.VOLTAGE_LEVEL_PROPERTY || field === FieldType.VOLTAGE_LEVEL_PROPERTY_1 || field === FieldType.VOLTAGE_LEVEL_PROPERTY_2) {
92
+ let equipmentType;
93
+ if (field === FieldType.SUBSTATION_PROPERTY || field === FieldType.SUBSTATION_PROPERTY_1 || field === FieldType.SUBSTATION_PROPERTY_2) {
94
+ equipmentType = Substation.type;
95
+ } else if (field === FieldType.VOLTAGE_LEVEL_PROPERTY || field === FieldType.VOLTAGE_LEVEL_PROPERTY_1 || field === FieldType.VOLTAGE_LEVEL_PROPERTY_2) {
96
+ equipmentType = VoltageLevel.type;
97
+ } else {
98
+ equipmentType = getValues(FieldConstants.EQUIPMENT_TYPE);
99
+ }
100
+ return /* @__PURE__ */ jsx(
101
+ PropertyValueEditor,
102
+ {
103
+ equipmentType,
104
+ valueEditorProps: props
105
+ }
106
+ );
107
+ }
108
+ if (fieldData.dataType === DataType.COMBINATOR) {
109
+ return /* @__PURE__ */ jsx(GroupValueEditor, { ...props });
110
+ }
111
+ return /* @__PURE__ */ jsx(Box, { sx: inputType === "number" ? styles.noArrows : void 0, children: /* @__PURE__ */ jsx(
112
+ MaterialValueEditor,
113
+ {
114
+ ...props,
115
+ title: void 0
116
+ }
117
+ ) });
118
+ }
18
119
  export {
19
- V as default
120
+ ValueEditor as default
20
121
  };
@@ -1,4 +1,4 @@
1
1
  import { ValueSelectorProps } from 'react-querybuilder';
2
2
 
3
- declare const ValueSelector: (props: ValueSelectorProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare function ValueSelector(props: ValueSelectorProps): import("react/jsx-runtime").JSX.Element;
4
4
  export default ValueSelector;
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { MaterialValueSelector } from "@react-querybuilder/material";
3
- const ValueSelector = (props) => {
3
+ function ValueSelector(props) {
4
4
  return /* @__PURE__ */ jsx(
5
5
  MaterialValueSelector,
6
6
  {
@@ -8,7 +8,7 @@ const ValueSelector = (props) => {
8
8
  title: void 0
9
9
  }
10
10
  );
11
- };
11
+ }
12
12
  export {
13
13
  ValueSelector as default
14
14
  };
@@ -1,5 +1,4 @@
1
1
  import { AutocompleteProps } from '@mui/material/Autocomplete/Autocomplete';
2
- import { FunctionComponent } from 'react';
3
2
 
4
3
  type SelectOption = {
5
4
  id: string;
@@ -10,5 +9,5 @@ interface SelectClearableProps extends Omit<AutocompleteProps<SelectOption, fals
10
9
  onChange: (value: string | null) => void;
11
10
  label?: string;
12
11
  }
13
- declare const SelectClearable: FunctionComponent<SelectClearableProps>;
12
+ declare function SelectClearable(props: SelectClearableProps): import("react/jsx-runtime").JSX.Element;
14
13
  export default SelectClearable;
@@ -2,11 +2,11 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useIntl } from "react-intl";
3
3
  import { Autocomplete, TextField } from "@mui/material";
4
4
  import FieldLabel from "./react-hook-form/utils/field-label.js";
5
- const SelectClearable = (props) => {
6
- const { value, onChange, label, ...otherProps } = props;
5
+ function SelectClearable(props) {
6
+ const { value, onChange, label, options, ...otherProps } = props;
7
7
  const intl = useIntl();
8
- const inputTransform = (value2) => {
9
- return value2 && props.options.find((option) => option.id === value2) || null;
8
+ const inputTransform = (inputValue) => {
9
+ return value && options.find((option) => option.id === inputValue) || null;
10
10
  };
11
11
  const outputTransform = (option) => {
12
12
  return (option == null ? void 0 : option.id) ?? null;
@@ -31,10 +31,11 @@ const SelectClearable = (props) => {
31
31
  inputProps: { ...inputProps, readOnly: true }
32
32
  }
33
33
  ),
34
+ options,
34
35
  ...otherProps
35
36
  }
36
37
  );
37
- };
38
+ }
38
39
  export {
39
40
  SelectClearable as default
40
41
  };
@@ -4,9 +4,9 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const card_error_boundary_en: {
7
+ declare const cardErrorBoundaryEn: {
8
8
  'card_error_boundary/title': string;
9
9
  'card_error_boundary/content': string;
10
10
  'card_error_boundary/expandederrorheader': string;
11
11
  };
12
- export default card_error_boundary_en;
12
+ export default cardErrorBoundaryEn;
@@ -1,8 +1,8 @@
1
- const card_error_boundary_en = {
1
+ const cardErrorBoundaryEn = {
2
2
  "card_error_boundary/title": "Sorry, unexpected error :(",
3
3
  "card_error_boundary/content": "Please reload, or close and reopen this application, or contact support.",
4
4
  "card_error_boundary/expandederrorheader": "Error message (and see more information in the developper console):"
5
5
  };
6
6
  export {
7
- card_error_boundary_en as default
7
+ cardErrorBoundaryEn as default
8
8
  };
@@ -4,9 +4,9 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const card_error_boundary_fr: {
7
+ declare const cardErrorBoundaryFr: {
8
8
  'card_error_boundary/title': string;
9
9
  'card_error_boundary/content': string;
10
10
  'card_error_boundary/expandederrorheader': string;
11
11
  };
12
- export default card_error_boundary_fr;
12
+ export default cardErrorBoundaryFr;
@@ -1,8 +1,8 @@
1
- const card_error_boundary_fr = {
1
+ const cardErrorBoundaryFr = {
2
2
  "card_error_boundary/title": "Désolé, erreur inattendue :(",
3
3
  "card_error_boundary/content": "Veuillez recharger, ou fermer et réouvrir cette application, ou contacter le support.",
4
4
  "card_error_boundary/expandederrorheader": "Message d'erreur (et voir plus d'informations dans la console developpeur):"
5
5
  };
6
6
  export {
7
- card_error_boundary_fr as default
7
+ cardErrorBoundaryFr as default
8
8
  };
@@ -4,8 +4,8 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const common_button_en: {
7
+ declare const commonButtonEn: {
8
8
  cancel: string;
9
9
  validate: string;
10
10
  };
11
- export default common_button_en;
11
+ export default commonButtonEn;
@@ -1,7 +1,7 @@
1
- const common_button_en = {
1
+ const commonButtonEn = {
2
2
  cancel: "Cancel",
3
3
  validate: "Validate"
4
4
  };
5
5
  export {
6
- common_button_en as default
6
+ commonButtonEn as default
7
7
  };
@@ -4,8 +4,8 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const common_button_fr: {
7
+ declare const commonButtonFr: {
8
8
  cancel: string;
9
9
  validate: string;
10
10
  };
11
- export default common_button_fr;
11
+ export default commonButtonFr;
@@ -1,7 +1,7 @@
1
- const common_button_fr = {
1
+ const commonButtonFr = {
2
2
  cancel: "Annuler",
3
3
  validate: "Valider"
4
4
  };
5
5
  export {
6
- common_button_fr as default
6
+ commonButtonFr as default
7
7
  };
@@ -4,7 +4,7 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const directory_items_input_en: {
7
+ declare const directoryItemsInputEn: {
8
8
  'directory_items_input/ElementAlreadyUsed': string;
9
9
  };
10
- export default directory_items_input_en;
10
+ export default directoryItemsInputEn;
@@ -1,6 +1,6 @@
1
- const directory_items_input_en = {
1
+ const directoryItemsInputEn = {
2
2
  "directory_items_input/ElementAlreadyUsed": "This element is already used"
3
3
  };
4
4
  export {
5
- directory_items_input_en as default
5
+ directoryItemsInputEn as default
6
6
  };
@@ -4,7 +4,7 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const directory_items_input_fr: {
7
+ declare const directoryItemsInputFr: {
8
8
  'directory_items_input/ElementAlreadyUsed': string;
9
9
  };
10
- export default directory_items_input_fr;
10
+ export default directoryItemsInputFr;
@@ -1,6 +1,6 @@
1
- const directory_items_input_fr = {
1
+ const directoryItemsInputFr = {
2
2
  "directory_items_input/ElementAlreadyUsed": "Cet élément est déjà utilisé"
3
3
  };
4
4
  export {
5
- directory_items_input_fr as default
5
+ directoryItemsInputFr as default
6
6
  };
@@ -4,8 +4,8 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const element_search_en: {
7
+ declare const elementSearchEn: {
8
8
  'element_search/label': string;
9
9
  'element_search/noResult': string;
10
10
  };
11
- export default element_search_en;
11
+ export default elementSearchEn;
@@ -1,7 +1,7 @@
1
- const element_search_en = {
1
+ const elementSearchEn = {
2
2
  "element_search/label": "Search for an element",
3
3
  "element_search/noResult": "No result"
4
4
  };
5
5
  export {
6
- element_search_en as default
6
+ elementSearchEn as default
7
7
  };
@@ -4,8 +4,8 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const element_search_fr: {
7
+ declare const elementSearchFr: {
8
8
  'element_search/label': string;
9
9
  'element_search/noResult': string;
10
10
  };
11
- export default element_search_fr;
11
+ export default elementSearchFr;
@@ -1,7 +1,7 @@
1
- const element_search_fr = {
1
+ const elementSearchFr = {
2
2
  "element_search/label": "Rechercher un élément",
3
3
  "element_search/noResult": "Aucun résultat"
4
4
  };
5
5
  export {
6
- element_search_fr as default
6
+ elementSearchFr as default
7
7
  };
@@ -4,7 +4,7 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const equipment_search_en: {
7
+ declare const equipmentSearchEn: {
8
8
  'equipment_search/label': string;
9
9
  'equipment_search/switchTag': string;
10
10
  'equipment_search/busbarSectionTag': string;
@@ -22,4 +22,4 @@ declare const equipment_search_en: {
22
22
  'equipment_search/substationTag': string;
23
23
  'equipment_search/busTag': string;
24
24
  };
25
- export default equipment_search_en;
25
+ export default equipmentSearchEn;
@@ -1,4 +1,4 @@
1
- const equipment_search_en = {
1
+ const equipmentSearchEn = {
2
2
  "equipment_search/label": "Search for an equipment",
3
3
  "equipment_search/switchTag": "SWITCH",
4
4
  "equipment_search/busbarSectionTag": "BBS",
@@ -17,5 +17,5 @@ const equipment_search_en = {
17
17
  "equipment_search/busTag": "BUS"
18
18
  };
19
19
  export {
20
- equipment_search_en as default
20
+ equipmentSearchEn as default
21
21
  };
@@ -4,7 +4,7 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const equipment_search_fr: {
7
+ declare const equipmentSearchFr: {
8
8
  'equipment_search/label': string;
9
9
  'equipment_search/switchTag': string;
10
10
  'equipment_search/busbarSectionTag': string;
@@ -22,4 +22,4 @@ declare const equipment_search_fr: {
22
22
  'equipment_search/substationTag': string;
23
23
  'equipment_search/busTag': string;
24
24
  };
25
- export default equipment_search_fr;
25
+ export default equipmentSearchFr;
@@ -1,4 +1,4 @@
1
- const equipment_search_fr = {
1
+ const equipmentSearchFr = {
2
2
  "equipment_search/label": "Rechercher un ouvrage",
3
3
  "equipment_search/switchTag": "SWITCH",
4
4
  "equipment_search/busbarSectionTag": "SJB",
@@ -17,5 +17,5 @@ const equipment_search_fr = {
17
17
  "equipment_search/busTag": "NOEUD"
18
18
  };
19
19
  export {
20
- equipment_search_fr as default
20
+ equipmentSearchFr as default
21
21
  };
@@ -4,7 +4,7 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const filter_en: {
7
+ declare const filterEn: {
8
8
  OR: string;
9
9
  AND: string;
10
10
  rule: string;
@@ -21,8 +21,9 @@ declare const filter_en: {
21
21
  isNotPartOf: string;
22
22
  emptyRule: string;
23
23
  incorrectRule: string;
24
+ obsoleteFilter: string;
24
25
  betweenRule: string;
25
26
  emptyGroup: string;
26
27
  Hvdc: string;
27
28
  };
28
- export default filter_en;
29
+ export default filterEn;
@@ -1,4 +1,4 @@
1
- const filter_en = {
1
+ const filterEn = {
2
2
  OR: "OR",
3
3
  AND: "AND",
4
4
  rule: "rule",
@@ -15,10 +15,11 @@ const filter_en = {
15
15
  isNotPartOf: "is not part of",
16
16
  emptyRule: "Filter contains an empty field",
17
17
  incorrectRule: "Filter contains an incorrect field",
18
+ obsoleteFilter: "This filter is no longer supported. Please remove it or change its equipment type.",
18
19
  betweenRule: "Left value of 'between' rule have to be lower than the right value",
19
20
  emptyGroup: "Filter contains an empty group. Consider removing it or adding rules to this group",
20
21
  Hvdc: "HVDC"
21
22
  };
22
23
  export {
23
- filter_en as default
24
+ filterEn as default
24
25
  };
@@ -4,7 +4,7 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const filter_expert_en: {
7
+ declare const filterExpertEn: {
8
8
  id: string;
9
9
  name: string;
10
10
  energySource: string;
@@ -93,4 +93,4 @@ declare const filter_expert_en: {
93
93
  highVoltageThreshold: string;
94
94
  susceptanceFix: string;
95
95
  };
96
- export default filter_expert_en;
96
+ export default filterExpertEn;
@@ -1,4 +1,4 @@
1
- const filter_expert_en = {
1
+ const filterExpertEn = {
2
2
  id: "ID",
3
3
  name: "Name",
4
4
  energySource: "Energy source",
@@ -88,5 +88,5 @@ const filter_expert_en = {
88
88
  susceptanceFix: "Fixed part of susceptance "
89
89
  };
90
90
  export {
91
- filter_expert_en as default
91
+ filterExpertEn as default
92
92
  };
@@ -4,7 +4,7 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const filter_expert_fr: {
7
+ declare const filterExpertFr: {
8
8
  id: string;
9
9
  name: string;
10
10
  energySource: string;
@@ -93,4 +93,4 @@ declare const filter_expert_fr: {
93
93
  highVoltageThreshold: string;
94
94
  susceptanceFix: string;
95
95
  };
96
- export default filter_expert_fr;
96
+ export default filterExpertFr;
@@ -1,4 +1,4 @@
1
- const filter_expert_fr = {
1
+ const filterExpertFr = {
2
2
  id: "ID",
3
3
  name: "Nom",
4
4
  energySource: "Source d'énergie",
@@ -88,5 +88,5 @@ const filter_expert_fr = {
88
88
  susceptanceFix: "Susceptance fixe"
89
89
  };
90
90
  export {
91
- filter_expert_fr as default
91
+ filterExpertFr as default
92
92
  };
@@ -4,7 +4,7 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const filter_fr: {
7
+ declare const filterFr: {
8
8
  OR: string;
9
9
  AND: string;
10
10
  rule: string;
@@ -21,8 +21,9 @@ declare const filter_fr: {
21
21
  isNotPartOf: string;
22
22
  emptyRule: string;
23
23
  incorrectRule: string;
24
+ obsoleteFilter: string;
24
25
  betweenRule: string;
25
26
  emptyGroup: string;
26
27
  Hvdc: string;
27
28
  };
28
- export default filter_fr;
29
+ export default filterFr;
@@ -1,4 +1,4 @@
1
- const filter_fr = {
1
+ const filterFr = {
2
2
  OR: "OU",
3
3
  AND: "ET",
4
4
  rule: "règle",
@@ -15,10 +15,11 @@ const filter_fr = {
15
15
  isNotPartOf: "ne fait pas partie de",
16
16
  emptyRule: "Le filtre contient un champ vide",
17
17
  incorrectRule: "Le filtre contient un champ incorrect",
18
+ obsoleteFilter: "Ce filtre n'est plus supporté. Veuillez le supprimer ou changer son type d'équipement.",
18
19
  betweenRule: "La valeur de gauche d'une règle 'entre' doit être inférieure à la valeur de droite",
19
20
  emptyGroup: "Le filtre contient un groupe vide. Supprimez le ou ajoutez des règles à ce groupe",
20
21
  Hvdc: "HVDC"
21
22
  };
22
23
  export {
23
- filter_fr as default
24
+ filterFr as default
24
25
  };
@@ -4,9 +4,9 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const flat_parameters_en: {
7
+ declare const flatParametersEn: {
8
8
  'flat_parameters/none': string;
9
9
  'flat_parameters/some': string;
10
10
  'flat_parameters/all': string;
11
11
  };
12
- export default flat_parameters_en;
12
+ export default flatParametersEn;
@@ -1,8 +1,8 @@
1
- const flat_parameters_en = {
1
+ const flatParametersEn = {
2
2
  "flat_parameters/none": "None",
3
3
  "flat_parameters/some": "Some",
4
4
  "flat_parameters/all": "All"
5
5
  };
6
6
  export {
7
- flat_parameters_en as default
7
+ flatParametersEn as default
8
8
  };
@@ -4,9 +4,9 @@
4
4
  * License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
  */
7
- declare const flat_parameters_fr: {
7
+ declare const flatParametersFr: {
8
8
  'flat_parameters/none': string;
9
9
  'flat_parameters/some': string;
10
10
  'flat_parameters/all': string;
11
11
  };
12
- export default flat_parameters_fr;
12
+ export default flatParametersFr;
@@ -1,8 +1,8 @@
1
- const flat_parameters_fr = {
1
+ const flatParametersFr = {
2
2
  "flat_parameters/none": "Aucune",
3
3
  "flat_parameters/some": "Quelques-unes",
4
4
  "flat_parameters/all": "Toutes"
5
5
  };
6
6
  export {
7
- flat_parameters_fr as default
7
+ flatParametersFr as default
8
8
  };