@gridsuite/commons-ui 0.287.0 → 0.289.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 (280) hide show
  1. package/dist/chunks/index.BJsVzTMz.js +92 -0
  2. package/dist/chunks/module.pXeJjFiM.js +306 -0
  3. package/dist/components/composite/agGridTable/CustomAgGridTable.js +0 -2
  4. package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-comparator-filter.js +0 -2
  5. package/dist/components/composite/customAGGrid/customAggrid.js +8439 -2
  6. package/dist/components/composite/customAGGrid/hooks/use-custom-aggrid-sort.js +0 -2
  7. package/dist/components/composite/dnd-table/dnd-table-add-rows-dialog.js +1 -8
  8. package/dist/components/composite/dnd-table/dnd-table-row.js +1 -8
  9. package/dist/components/composite/dnd-table/dnd-table.js +1 -8
  10. package/dist/components/composite/elementSearch/elementItem/EquipmentItem.js +1 -2
  11. package/dist/components/composite/filter/FilterForm.js +0 -7
  12. package/dist/components/composite/filter/HeaderFilterForm.js +1 -8
  13. package/dist/components/composite/filter/expert/ExpertFilterForm.js +14 -9
  14. package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +1 -8
  15. package/dist/components/composite/grid/grid-section.js +1 -8
  16. package/dist/components/composite/reactQueryBuilder/OperatorSelector.js +0 -2
  17. package/dist/components/composite/report/QuickSearch.js +0 -2
  18. package/dist/components/composite/report/report-viewer/log-table/log-table.js +1 -8
  19. package/dist/components/ui/csvPicker/csv-picker-confirmation-dialog.js +0 -7
  20. package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +0 -7
  21. package/dist/components/ui/dialogs/name-element-editor/name-element-editor-utils.js +0 -7
  22. package/dist/components/ui/directoryItemSelector/DirectoryItemSelector.js +0 -2
  23. package/dist/components/ui/icons/ArrowsInputIcon.js +3 -2
  24. package/dist/components/ui/icons/ArrowsOutputIcon.js +3 -2
  25. package/dist/components/ui/icons/DatasetLinkedIcon.js +3 -2
  26. package/dist/components/ui/icons/EditNoteIcon.js +3 -2
  27. package/dist/components/ui/icons/LeftPanelCloseIcon.js +3 -2
  28. package/dist/components/ui/icons/LeftPanelOpenIcon.js +3 -2
  29. package/dist/components/ui/menus/custom-nested-menu.js +2 -2
  30. package/dist/components/ui/reactHookForm/DirectoryItemsInput.js +0 -2
  31. package/dist/components/ui/reactHookForm/chip-items-input.js +0 -2
  32. package/dist/components/ui/reactHookForm/text/DescriptionInput.js +0 -4
  33. package/dist/features/common/renderTable-ExportCsv.js +2 -10
  34. package/dist/features/global-filter/ui/global-filter-dropdown-panel.js +2 -10
  35. package/dist/features/global-filter/ui/global-filter-panel.js +2 -10
  36. package/dist/features/global-filter/ui/selected-global-filters.js +2 -10
  37. package/dist/features/index.js +3 -8
  38. package/dist/features/network-modification-table/network-modifications-table.js +0 -2
  39. package/dist/features/network-modification-table/renderers/description-cell.js +0 -6
  40. package/dist/features/network-modification-table/renderers/name-cell.js +2 -10
  41. package/dist/features/network-modification-table/renderers/reference-link-cell.js +1 -9
  42. package/dist/features/network-modification-table/renderers/root-network-chip-cell.js +0 -2
  43. package/dist/features/network-modification-table/renderers/switch-cell.js +0 -2
  44. package/dist/features/network-modification-table/row/drag-row-clone.js +0 -2
  45. package/dist/features/network-modification-table/use-modifications-drag-and-drop.js +0 -2
  46. package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +2 -10
  47. package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +2 -10
  48. package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +2 -10
  49. package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +2 -10
  50. package/dist/features/network-modifications/battery/modification/BatteryModificationForm.js +53 -3
  51. package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +2 -10
  52. package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.js +1 -8
  53. package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.js +1 -8
  54. package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +1 -8
  55. package/dist/features/network-modifications/by-filter/formula/formula/formula-form.js +2 -10
  56. package/dist/features/network-modifications/by-filter/formula/formula/reference-autocomplete-input.js +2 -10
  57. package/dist/features/network-modifications/by-filter/formula/modification-by-formula-form.js +2 -10
  58. package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.js +1 -8
  59. package/dist/features/network-modifications/common/connectivity/ConnectivityForm.js +1 -8
  60. package/dist/features/network-modifications/common/connectivity/PositionForm.js +1 -8
  61. package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +1 -8
  62. package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +2 -10
  63. package/dist/features/network-modifications/common/currentLimits/SelectedOperationalLimitGroup.js +2 -10
  64. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsEditor.js +2 -10
  65. package/dist/features/network-modifications/common/currentLimits/limitsEditor/LimitsPropertiesSideStack.js +2 -10
  66. package/dist/features/network-modifications/common/currentLimits/limitsEditor/TemporaryLimitsTable.js +2 -10
  67. package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.js +1 -8
  68. package/dist/features/network-modifications/common/index.d.ts +1 -0
  69. package/dist/features/network-modifications/common/index.js +2 -0
  70. package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +2 -10
  71. package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.js +1 -8
  72. package/dist/features/network-modifications/common/properties/PropertiesForm.js +1 -8
  73. package/dist/features/network-modifications/common/properties/PropertyForm.js +1 -8
  74. package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +1 -8
  75. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -8
  76. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -8
  77. package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js +1 -8
  78. package/dist/features/network-modifications/common/setpoints/SetPointsForm.js +1 -8
  79. package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.js +1 -8
  80. package/dist/features/network-modifications/common/tabbedForm.styles.d.ts +32 -0
  81. package/dist/features/network-modifications/common/tabbedForm.styles.js +14 -0
  82. package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +1 -8
  83. package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +2 -10
  84. package/dist/features/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +1 -8
  85. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +1 -8
  86. package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/useHvdcLccDeletion.js +0 -2
  87. package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +2 -10
  88. package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +2 -10
  89. package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +2 -10
  90. package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +2 -10
  91. package/dist/features/network-modifications/generator/modification/GeneratorModificationForm.js +53 -3
  92. package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +2 -10
  93. package/dist/features/network-modifications/hvdcLine/vsc/common/characteristics/VscHvdcLineCharacteristicsPane.js +2 -10
  94. package/dist/features/network-modifications/hvdcLine/vsc/common/converterStation/VscConverterStationPane.js +2 -10
  95. package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogHeader.js +2 -10
  96. package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogTabs.js +1 -8
  97. package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineDialogTabsContent.js +2 -10
  98. package/dist/features/network-modifications/hvdcLine/vsc/common/form/VscHvdcLineForm.js +57 -2
  99. package/dist/features/network-modifications/hvdcLine/vsc/creation/vscHvdcLineCreation.utils.js +1 -8
  100. package/dist/features/network-modifications/hvdcLine/vsc/modification/vscHvdcLineModification.utils.js +2 -10
  101. package/dist/features/network-modifications/index.js +3 -8
  102. package/dist/features/network-modifications/line/characteristics/LineCharacteristicsPane.js +2 -10
  103. package/dist/features/network-modifications/line/common/LineDialogHeader.js +2 -10
  104. package/dist/features/network-modifications/line/common/LineDialogTabsContent.js +2 -10
  105. package/dist/features/network-modifications/line/common/LineForm.js +56 -2
  106. package/dist/features/network-modifications/line/creation/lineCreation.utils.js +2 -10
  107. package/dist/features/network-modifications/line/modification/lineModification.utils.js +2 -10
  108. package/dist/features/network-modifications/load/common/LoadDialogHeader.js +2 -10
  109. package/dist/features/network-modifications/load/common/LoadForm.js +57 -3
  110. package/dist/features/network-modifications/load/creation/loadCreation.utils.js +1 -8
  111. package/dist/features/network-modifications/load/modification/loadModification.utils.js +2 -10
  112. package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +1 -8
  113. package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +2 -10
  114. package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +2 -10
  115. package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +2 -10
  116. package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +2 -10
  117. package/dist/features/network-modifications/static-var-compensator/common/set-points-limits-form-utils.js +2 -10
  118. package/dist/features/network-modifications/static-var-compensator/common/set-points-limits-form.js +2 -10
  119. package/dist/features/network-modifications/static-var-compensator/common/standby-automaton-form-utils.js +2 -10
  120. package/dist/features/network-modifications/static-var-compensator/common/standby-automaton-form.js +2 -10
  121. package/dist/features/network-modifications/static-var-compensator/common/static-var-compensator-dialog-header.js +2 -10
  122. package/dist/features/network-modifications/static-var-compensator/common/static-var-compensator-tabs-content.js +2 -10
  123. package/dist/features/network-modifications/static-var-compensator/common/susceptance-area.js +2 -10
  124. package/dist/features/network-modifications/static-var-compensator/creation/static-var-compensator-creation-form.js +12 -19
  125. package/dist/features/network-modifications/static-var-compensator/creation/static-var-compensator-creation-utils.js +2 -10
  126. package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +2 -10
  127. package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +2 -8
  128. package/dist/features/network-modifications/tabular/TabularForm.js +2 -10
  129. package/dist/features/network-modifications/tabular/properties/DefineTabularPropertiesDialog.js +2 -10
  130. package/dist/features/network-modifications/tabular/properties/TabularPropertiesForm.js +2 -10
  131. package/dist/features/network-modifications/tabular/properties/TabularPropertyForm.js +2 -10
  132. package/dist/features/network-modifications/tabular/tabular.utils.js +2 -10
  133. package/dist/features/network-modifications/tabular/tabularCreation.utils.js +2 -10
  134. package/dist/features/network-modifications/tabular/tabularModification.utils.js +2 -10
  135. package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.js +2 -10
  136. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.js +2 -10
  137. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.js +2 -10
  138. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.js +56 -2
  139. package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.js +2 -10
  140. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.js +2 -10
  141. package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.js +2 -10
  142. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.js +2 -10
  143. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.js +2 -10
  144. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.js +2 -10
  145. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.js +2 -10
  146. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.js +2 -10
  147. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.js +2 -10
  148. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.js +2 -10
  149. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.js +2 -10
  150. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.js +2 -10
  151. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.js +2 -10
  152. package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.js +2 -10
  153. package/dist/features/network-modifications/voltageLevel/coupling-device/coupling-device-creation-form.js +2 -10
  154. package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +5 -12
  155. package/dist/features/network-modifications/voltageLevel/creation/index.js +2 -10
  156. package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +1 -8
  157. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +1 -8
  158. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.js +1 -8
  159. package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +1 -8
  160. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +2 -10
  161. package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +1 -8
  162. package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +2 -10
  163. package/dist/features/network-modifications/voltageLevel/index.js +2 -10
  164. package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +5 -12
  165. package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js +2 -10
  166. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js +2 -10
  167. package/dist/features/network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.js +2 -10
  168. package/dist/features/network-modifications/voltageLevel/topology/creation/CreateVoltageLevelTopologyForm.js +2 -10
  169. package/dist/features/network-modifications/voltageLevel/topology/modification/ConnectionCellRender.js +2 -10
  170. package/dist/features/network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.js +2 -10
  171. package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.utils.js +2 -10
  172. package/dist/features/parameters/common/contingency-table/columns-definitions.js +1 -8
  173. package/dist/features/parameters/common/contingency-table/contingency-table.js +0 -2
  174. package/dist/features/parameters/common/limitreductions/limit-reduction-table-cell.js +1 -8
  175. package/dist/features/parameters/common/limitreductions/limit-reductions-table-form.js +1 -8
  176. package/dist/features/parameters/common/parameter-field.js +1 -8
  177. package/dist/features/parameters/common/parameter-layout/parameter-layout.js +1 -8
  178. package/dist/features/parameters/common/parameter-table-field/parameter-table-field.js +1 -8
  179. package/dist/features/parameters/common/parameters-creation-dialog.js +0 -7
  180. package/dist/features/parameters/common/provider-param.js +1 -8
  181. package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +1 -8
  182. package/dist/features/parameters/common/widget/parameter-float.js +1 -8
  183. package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +1 -8
  184. package/dist/features/parameters/common/widget/parameter-line-slider.js +1 -8
  185. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +1 -8
  186. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +1 -8
  187. package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +1 -8
  188. package/dist/features/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +1 -8
  189. package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +1 -8
  190. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +1 -8
  191. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +1 -8
  192. package/dist/features/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +1 -8
  193. package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.js +0 -2
  194. package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-preview.js +0 -2
  195. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +1 -8
  196. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +1 -8
  197. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters-utils.js +1 -8
  198. package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +1 -8
  199. package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +1 -8
  200. package/dist/features/parameters/loadflow/load-flow-advanced-parameters.js +1 -8
  201. package/dist/features/parameters/loadflow/load-flow-general-parameters.js +1 -8
  202. package/dist/features/parameters/loadflow/load-flow-parameters-content.js +1 -8
  203. package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +0 -7
  204. package/dist/features/parameters/loadflow/load-flow-parameters-header.js +1 -8
  205. package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +1 -8
  206. package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +1 -8
  207. package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.js +1 -8
  208. package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +1 -8
  209. package/dist/features/parameters/network-visualizations/map-parameters.js +1 -8
  210. package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.js +1 -8
  211. package/dist/features/parameters/network-visualizations/network-visualizations-form.js +1 -8
  212. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +0 -7
  213. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +1 -8
  214. package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +1 -8
  215. package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -8
  216. package/dist/features/parameters/pcc-min/pcc-min-form-utils.js +1 -8
  217. package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.js +0 -7
  218. package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +1 -8
  219. package/dist/features/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -8
  220. package/dist/features/parameters/security-analysis/columns-definitions.js +1 -8
  221. package/dist/features/parameters/security-analysis/security-analysis-parameters-content.js +1 -8
  222. package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +0 -7
  223. package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +1 -8
  224. package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +1 -8
  225. package/dist/features/parameters/security-analysis/security-analysis-parameters-utils.js +1 -8
  226. package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +1 -8
  227. package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -8
  228. package/dist/features/parameters/sensi/columns-definitions.js +1 -8
  229. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +0 -7
  230. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +1 -8
  231. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +1 -8
  232. package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +1 -8
  233. package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +1 -8
  234. package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -8
  235. package/dist/features/parameters/sensi/utils.js +1 -8
  236. package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +1 -8
  237. package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +1 -8
  238. package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-cell.js +1 -8
  239. package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +1 -8
  240. package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +0 -7
  241. package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +1 -8
  242. package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +1 -8
  243. package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +1 -8
  244. package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +1 -8
  245. package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.js +1 -8
  246. package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +1 -8
  247. package/dist/features/parameters/voltage-init/general-parameters.js +1 -8
  248. package/dist/features/parameters/voltage-init/use-voltage-init-parameters-form.js +1 -8
  249. package/dist/features/parameters/voltage-init/voltage-init-form-utils.js +1 -8
  250. package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +0 -7
  251. package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +1 -8
  252. package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +1 -8
  253. package/dist/features/parameters/voltage-init/voltage-limits-parameters.js +1 -8
  254. package/dist/features/process-configs/common/process-config-modifications-edition.js +2 -10
  255. package/dist/features/process-configs/lf-process-config-edition-dialog.js +2 -10
  256. package/dist/features/process-configs/loadflow/lf-process-config-edition.js +1 -8
  257. package/dist/features/process-configs/loadflow/lf-process-config-edition.utils.js +2 -10
  258. package/dist/features/process-configs/process-config.utils.js +2 -10
  259. package/dist/features/process-configs/sa-process-config-edition-dialog.js +2 -10
  260. package/dist/features/process-configs/sc-process-config-edition-dialog.js +2 -10
  261. package/dist/features/process-configs/security-analysis/sa-process-config-edition.js +1 -8
  262. package/dist/features/process-configs/security-analysis/sa-process-config-edition.utils.js +2 -10
  263. package/dist/features/process-configs/shortcircuit/sc-process-config-edition.js +1 -8
  264. package/dist/features/process-configs/shortcircuit/sc-process-config-edition.utils.js +2 -10
  265. package/dist/features/results/loadflow/limit-violation-result.js +2 -10
  266. package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +2 -10
  267. package/dist/features/results/securityanalysis/security-analysis-table.js +2 -10
  268. package/dist/features/results/shortcircuit/shortcircuit-analysis-result-table.js +2 -10
  269. package/dist/features/results/shortcircuit/shortcircuit-analysis-result.js +2 -10
  270. package/dist/features/side-bar/footer/applications/ApplicationMenu.js +1 -9
  271. package/dist/features/side-bar/footer/applications/OtherAppRedirection.js +1 -9
  272. package/dist/features/side-bar/footer/common/SideBarMenuItem.js +1 -9
  273. package/dist/features/side-bar/footer/profile/ProfileMenu.js +1 -9
  274. package/dist/features/side-bar/footer/settings/DarkModeToggle.js +1 -9
  275. package/dist/features/side-bar/footer/settings/LanguageSelection.js +1 -9
  276. package/dist/features/side-bar/footer/settings/SettingsMenu.js +1 -9
  277. package/dist/hooks/useLocalizedCountries.js +1000 -2
  278. package/dist/index.js +2 -0
  279. package/package.json +2 -2
  280. package/dist/assets/ExpertFilterForm.css +0 -180
@@ -1,8 +1,1006 @@
1
1
  import { useState, useEffect, useMemo, useCallback } from "react";
2
2
  import localizedCountries from "localized-countries";
3
- import countriesFr from "localized-countries/data/fr";
4
- import countriesEn from "localized-countries/data/en";
5
3
  import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM } from "../utils/langs.js";
4
+ const AF$1 = "Afghanistan";
5
+ const ZA$1 = "Afrique du Sud";
6
+ const AL$1 = "Albanie";
7
+ const DZ$1 = "Algérie";
8
+ const DE$1 = "Allemagne";
9
+ const AD$1 = "Andorre";
10
+ const AO$1 = "Angola";
11
+ const AI$1 = "Anguilla";
12
+ const AQ$1 = "Antarctique";
13
+ const AG$1 = "Antigua-et-Barbuda";
14
+ const SA$1 = "Arabie saoudite";
15
+ const AR$1 = "Argentine";
16
+ const AM$1 = "Arménie";
17
+ const AW$1 = "Aruba";
18
+ const AU$1 = "Australie";
19
+ const AT$1 = "Autriche";
20
+ const AZ$1 = "Azerbaïdjan";
21
+ const BS$1 = "Bahamas";
22
+ const BH$1 = "Bahreïn";
23
+ const BD$1 = "Bangladesh";
24
+ const BB$1 = "Barbade";
25
+ const BE$1 = "Belgique";
26
+ const BZ$1 = "Belize";
27
+ const BJ$1 = "Bénin";
28
+ const BM$1 = "Bermudes";
29
+ const BT$1 = "Bhoutan";
30
+ const BY$1 = "Biélorussie";
31
+ const BO$1 = "Bolivie";
32
+ const BA$1 = "Bosnie-Herzégovine";
33
+ const BW$1 = "Botswana";
34
+ const BR$1 = "Brésil";
35
+ const BN$1 = "Brunéi Darussalam";
36
+ const BG$1 = "Bulgarie";
37
+ const BF$1 = "Burkina Faso";
38
+ const BI$1 = "Burundi";
39
+ const KH$1 = "Cambodge";
40
+ const CM$1 = "Cameroun";
41
+ const CA$1 = "Canada";
42
+ const CV$1 = "Cap-Vert";
43
+ const CL$1 = "Chili";
44
+ const CN$1 = "Chine";
45
+ const CY$1 = "Chypre";
46
+ const CO$1 = "Colombie";
47
+ const KM$1 = "Comores";
48
+ const CG$1 = "Congo-Brazzaville";
49
+ const CD$1 = "Congo-Kinshasa";
50
+ const KP$1 = "Corée du Nord";
51
+ const KR$1 = "Corée du Sud";
52
+ const CR$1 = "Costa Rica";
53
+ const CI$1 = "Côte d’Ivoire";
54
+ const HR$1 = "Croatie";
55
+ const CU$1 = "Cuba";
56
+ const CW$1 = "Curaçao";
57
+ const DK$1 = "Danemark";
58
+ const DJ$1 = "Djibouti";
59
+ const DM$1 = "Dominique";
60
+ const EG$1 = "Égypte";
61
+ const AE$1 = "Émirats arabes unis";
62
+ const EC$1 = "Équateur";
63
+ const ER$1 = "Érythrée";
64
+ const ES$1 = "Espagne";
65
+ const EE$1 = "Estonie";
66
+ const SZ$1 = "Eswatini";
67
+ const VA$1 = "État de la Cité du Vatican";
68
+ const FM$1 = "États fédérés de Micronésie";
69
+ const US$1 = "États-Unis";
70
+ const ET$1 = "Éthiopie";
71
+ const FJ$1 = "Fidji";
72
+ const FI$1 = "Finlande";
73
+ const FR$1 = "France";
74
+ const GA$1 = "Gabon";
75
+ const GM$1 = "Gambie";
76
+ const GE$1 = "Géorgie";
77
+ const GS$1 = "Géorgie du Sud et îles Sandwich du Sud";
78
+ const GH$1 = "Ghana";
79
+ const GI$1 = "Gibraltar";
80
+ const GR$1 = "Grèce";
81
+ const GD$1 = "Grenade";
82
+ const GL$1 = "Groenland";
83
+ const GP$1 = "Guadeloupe";
84
+ const GU$1 = "Guam";
85
+ const GT$1 = "Guatemala";
86
+ const GG$1 = "Guernesey";
87
+ const GN$1 = "Guinée";
88
+ const GQ$1 = "Guinée équatoriale";
89
+ const GW$1 = "Guinée-Bissau";
90
+ const GY$1 = "Guyana";
91
+ const GF$1 = "Guyane française";
92
+ const HT$1 = "Haïti";
93
+ const HN$1 = "Honduras";
94
+ const HU$1 = "Hongrie";
95
+ const BV$1 = "Île Bouvet";
96
+ const CX$1 = "Île Christmas";
97
+ const IM$1 = "Île de Man";
98
+ const NF$1 = "Île Norfolk";
99
+ const AX$1 = "Îles Åland";
100
+ const KY$1 = "Îles Caïmans";
101
+ const CC$1 = "Îles Cocos";
102
+ const CK$1 = "Îles Cook";
103
+ const FO$1 = "Îles Féroé";
104
+ const HM$1 = "Îles Heard et McDonald";
105
+ const FK$1 = "Îles Malouines";
106
+ const MP$1 = "Îles Mariannes du Nord";
107
+ const MH$1 = "Îles Marshall";
108
+ const UM$1 = "Îles mineures éloignées des États-Unis";
109
+ const PN$1 = "Îles Pitcairn";
110
+ const SB$1 = "Îles Salomon";
111
+ const TC$1 = "Îles Turques-et-Caïques";
112
+ const VG$1 = "Îles Vierges britanniques";
113
+ const VI$1 = "Îles Vierges des États-Unis";
114
+ const IN$1 = "Inde";
115
+ const ID$1 = "Indonésie";
116
+ const IQ$1 = "Irak";
117
+ const IR$1 = "Iran";
118
+ const IE$1 = "Irlande";
119
+ const IS$1 = "Islande";
120
+ const IL$1 = "Israël";
121
+ const IT$1 = "Italie";
122
+ const JM$1 = "Jamaïque";
123
+ const JP$1 = "Japon";
124
+ const JE$1 = "Jersey";
125
+ const JO$1 = "Jordanie";
126
+ const KZ$1 = "Kazakhstan";
127
+ const KE$1 = "Kenya";
128
+ const KG$1 = "Kirghizistan";
129
+ const KI$1 = "Kiribati";
130
+ const KW$1 = "Koweït";
131
+ const RE$1 = "La Réunion";
132
+ const LA$1 = "Laos";
133
+ const LS$1 = "Lesotho";
134
+ const LV$1 = "Lettonie";
135
+ const LB$1 = "Liban";
136
+ const LR$1 = "Libéria";
137
+ const LY$1 = "Libye";
138
+ const LI$1 = "Liechtenstein";
139
+ const LT$1 = "Lituanie";
140
+ const LU$1 = "Luxembourg";
141
+ const MK$1 = "Macédoine du Nord";
142
+ const MG$1 = "Madagascar";
143
+ const MY$1 = "Malaisie";
144
+ const MW$1 = "Malawi";
145
+ const MV$1 = "Maldives";
146
+ const ML$1 = "Mali";
147
+ const MT$1 = "Malte";
148
+ const MA$1 = "Maroc";
149
+ const MQ$1 = "Martinique";
150
+ const MU$1 = "Maurice";
151
+ const MR$1 = "Mauritanie";
152
+ const YT$1 = "Mayotte";
153
+ const MX$1 = "Mexique";
154
+ const MD$1 = "Moldavie";
155
+ const MC$1 = "Monaco";
156
+ const MN$1 = "Mongolie";
157
+ const ME$1 = "Monténégro";
158
+ const MS$1 = "Montserrat";
159
+ const MZ$1 = "Mozambique";
160
+ const MM$1 = "Myanmar (Birmanie)";
161
+ const NA$1 = "Namibie";
162
+ const NR$1 = "Nauru";
163
+ const NP$1 = "Népal";
164
+ const NI$1 = "Nicaragua";
165
+ const NE$1 = "Niger";
166
+ const NG$1 = "Nigéria";
167
+ const NU$1 = "Niue";
168
+ const NO$1 = "Norvège";
169
+ const NC$1 = "Nouvelle-Calédonie";
170
+ const NZ$1 = "Nouvelle-Zélande";
171
+ const OM$1 = "Oman";
172
+ const UG$1 = "Ouganda";
173
+ const UZ$1 = "Ouzbékistan";
174
+ const PK$1 = "Pakistan";
175
+ const PW$1 = "Palaos";
176
+ const PA$1 = "Panama";
177
+ const PG$1 = "Papouasie-Nouvelle-Guinée";
178
+ const PY$1 = "Paraguay";
179
+ const NL$1 = "Pays-Bas";
180
+ const BQ$1 = "Pays-Bas caribéens";
181
+ const PE$1 = "Pérou";
182
+ const PH$1 = "Philippines";
183
+ const PL$1 = "Pologne";
184
+ const PF$1 = "Polynésie française";
185
+ const PR$1 = "Porto Rico";
186
+ const PT$1 = "Portugal";
187
+ const QA$1 = "Qatar";
188
+ const HK$1 = "R.A.S. chinoise de Hong Kong";
189
+ const MO$1 = "R.A.S. chinoise de Macao";
190
+ const CF$1 = "République centrafricaine";
191
+ const DO$1 = "République dominicaine";
192
+ const RO$1 = "Roumanie";
193
+ const GB$1 = "Royaume-Uni";
194
+ const RU$1 = "Russie";
195
+ const RW$1 = "Rwanda";
196
+ const EH$1 = "Sahara occidental";
197
+ const BL$1 = "Saint-Barthélemy";
198
+ const KN$1 = "Saint-Christophe-et-Niévès";
199
+ const SM$1 = "Saint-Marin";
200
+ const MF$1 = "Saint-Martin";
201
+ const SX$1 = "Saint-Martin (partie néerlandaise)";
202
+ const PM$1 = "Saint-Pierre-et-Miquelon";
203
+ const VC$1 = "Saint-Vincent-et-les-Grenadines";
204
+ const SH$1 = "Sainte-Hélène";
205
+ const LC$1 = "Sainte-Lucie";
206
+ const SV$1 = "Salvador";
207
+ const WS$1 = "Samoa";
208
+ const AS$1 = "Samoa américaines";
209
+ const ST$1 = "Sao Tomé-et-Principe";
210
+ const SN$1 = "Sénégal";
211
+ const RS$1 = "Serbie";
212
+ const SC$1 = "Seychelles";
213
+ const SL$1 = "Sierra Leone";
214
+ const SG$1 = "Singapour";
215
+ const SK$1 = "Slovaquie";
216
+ const SI$1 = "Slovénie";
217
+ const SO$1 = "Somalie";
218
+ const SD$1 = "Soudan";
219
+ const SS$1 = "Soudan du Sud";
220
+ const LK$1 = "Sri Lanka";
221
+ const SE$1 = "Suède";
222
+ const CH$1 = "Suisse";
223
+ const SR$1 = "Suriname";
224
+ const SJ$1 = "Svalbard et Jan Mayen";
225
+ const SY$1 = "Syrie";
226
+ const TJ$1 = "Tadjikistan";
227
+ const TW$1 = "Taïwan";
228
+ const TZ$1 = "Tanzanie";
229
+ const TD$1 = "Tchad";
230
+ const CZ$1 = "Tchéquie";
231
+ const TF$1 = "Terres australes françaises";
232
+ const IO$1 = "Territoire britannique de l’océan Indien";
233
+ const PS$1 = "Territoires palestiniens";
234
+ const TH$1 = "Thaïlande";
235
+ const TL$1 = "Timor oriental";
236
+ const TG$1 = "Togo";
237
+ const TK$1 = "Tokelau";
238
+ const TO$1 = "Tonga";
239
+ const TT$1 = "Trinité-et-Tobago";
240
+ const TN$1 = "Tunisie";
241
+ const TM$1 = "Turkménistan";
242
+ const TR$1 = "Turquie";
243
+ const TV$1 = "Tuvalu";
244
+ const UA$1 = "Ukraine";
245
+ const UY$1 = "Uruguay";
246
+ const VU$1 = "Vanuatu";
247
+ const VE$1 = "Venezuela";
248
+ const VN$1 = "Vietnam";
249
+ const WF$1 = "Wallis-et-Futuna";
250
+ const YE$1 = "Yémen";
251
+ const ZM$1 = "Zambie";
252
+ const ZW$1 = "Zimbabwe";
253
+ const countriesFr = {
254
+ AF: AF$1,
255
+ ZA: ZA$1,
256
+ AL: AL$1,
257
+ DZ: DZ$1,
258
+ DE: DE$1,
259
+ AD: AD$1,
260
+ AO: AO$1,
261
+ AI: AI$1,
262
+ AQ: AQ$1,
263
+ AG: AG$1,
264
+ SA: SA$1,
265
+ AR: AR$1,
266
+ AM: AM$1,
267
+ AW: AW$1,
268
+ AU: AU$1,
269
+ AT: AT$1,
270
+ AZ: AZ$1,
271
+ BS: BS$1,
272
+ BH: BH$1,
273
+ BD: BD$1,
274
+ BB: BB$1,
275
+ BE: BE$1,
276
+ BZ: BZ$1,
277
+ BJ: BJ$1,
278
+ BM: BM$1,
279
+ BT: BT$1,
280
+ BY: BY$1,
281
+ BO: BO$1,
282
+ BA: BA$1,
283
+ BW: BW$1,
284
+ BR: BR$1,
285
+ BN: BN$1,
286
+ BG: BG$1,
287
+ BF: BF$1,
288
+ BI: BI$1,
289
+ KH: KH$1,
290
+ CM: CM$1,
291
+ CA: CA$1,
292
+ CV: CV$1,
293
+ CL: CL$1,
294
+ CN: CN$1,
295
+ CY: CY$1,
296
+ CO: CO$1,
297
+ KM: KM$1,
298
+ CG: CG$1,
299
+ CD: CD$1,
300
+ KP: KP$1,
301
+ KR: KR$1,
302
+ CR: CR$1,
303
+ CI: CI$1,
304
+ HR: HR$1,
305
+ CU: CU$1,
306
+ CW: CW$1,
307
+ DK: DK$1,
308
+ DJ: DJ$1,
309
+ DM: DM$1,
310
+ EG: EG$1,
311
+ AE: AE$1,
312
+ EC: EC$1,
313
+ ER: ER$1,
314
+ ES: ES$1,
315
+ EE: EE$1,
316
+ SZ: SZ$1,
317
+ VA: VA$1,
318
+ FM: FM$1,
319
+ US: US$1,
320
+ ET: ET$1,
321
+ FJ: FJ$1,
322
+ FI: FI$1,
323
+ FR: FR$1,
324
+ GA: GA$1,
325
+ GM: GM$1,
326
+ GE: GE$1,
327
+ GS: GS$1,
328
+ GH: GH$1,
329
+ GI: GI$1,
330
+ GR: GR$1,
331
+ GD: GD$1,
332
+ GL: GL$1,
333
+ GP: GP$1,
334
+ GU: GU$1,
335
+ GT: GT$1,
336
+ GG: GG$1,
337
+ GN: GN$1,
338
+ GQ: GQ$1,
339
+ GW: GW$1,
340
+ GY: GY$1,
341
+ GF: GF$1,
342
+ HT: HT$1,
343
+ HN: HN$1,
344
+ HU: HU$1,
345
+ BV: BV$1,
346
+ CX: CX$1,
347
+ IM: IM$1,
348
+ NF: NF$1,
349
+ AX: AX$1,
350
+ KY: KY$1,
351
+ CC: CC$1,
352
+ CK: CK$1,
353
+ FO: FO$1,
354
+ HM: HM$1,
355
+ FK: FK$1,
356
+ MP: MP$1,
357
+ MH: MH$1,
358
+ UM: UM$1,
359
+ PN: PN$1,
360
+ SB: SB$1,
361
+ TC: TC$1,
362
+ VG: VG$1,
363
+ VI: VI$1,
364
+ IN: IN$1,
365
+ ID: ID$1,
366
+ IQ: IQ$1,
367
+ IR: IR$1,
368
+ IE: IE$1,
369
+ IS: IS$1,
370
+ IL: IL$1,
371
+ IT: IT$1,
372
+ JM: JM$1,
373
+ JP: JP$1,
374
+ JE: JE$1,
375
+ JO: JO$1,
376
+ KZ: KZ$1,
377
+ KE: KE$1,
378
+ KG: KG$1,
379
+ KI: KI$1,
380
+ KW: KW$1,
381
+ RE: RE$1,
382
+ LA: LA$1,
383
+ LS: LS$1,
384
+ LV: LV$1,
385
+ LB: LB$1,
386
+ LR: LR$1,
387
+ LY: LY$1,
388
+ LI: LI$1,
389
+ LT: LT$1,
390
+ LU: LU$1,
391
+ MK: MK$1,
392
+ MG: MG$1,
393
+ MY: MY$1,
394
+ MW: MW$1,
395
+ MV: MV$1,
396
+ ML: ML$1,
397
+ MT: MT$1,
398
+ MA: MA$1,
399
+ MQ: MQ$1,
400
+ MU: MU$1,
401
+ MR: MR$1,
402
+ YT: YT$1,
403
+ MX: MX$1,
404
+ MD: MD$1,
405
+ MC: MC$1,
406
+ MN: MN$1,
407
+ ME: ME$1,
408
+ MS: MS$1,
409
+ MZ: MZ$1,
410
+ MM: MM$1,
411
+ NA: NA$1,
412
+ NR: NR$1,
413
+ NP: NP$1,
414
+ NI: NI$1,
415
+ NE: NE$1,
416
+ NG: NG$1,
417
+ NU: NU$1,
418
+ NO: NO$1,
419
+ NC: NC$1,
420
+ NZ: NZ$1,
421
+ OM: OM$1,
422
+ UG: UG$1,
423
+ UZ: UZ$1,
424
+ PK: PK$1,
425
+ PW: PW$1,
426
+ PA: PA$1,
427
+ PG: PG$1,
428
+ PY: PY$1,
429
+ NL: NL$1,
430
+ BQ: BQ$1,
431
+ PE: PE$1,
432
+ PH: PH$1,
433
+ PL: PL$1,
434
+ PF: PF$1,
435
+ PR: PR$1,
436
+ PT: PT$1,
437
+ QA: QA$1,
438
+ HK: HK$1,
439
+ MO: MO$1,
440
+ CF: CF$1,
441
+ DO: DO$1,
442
+ RO: RO$1,
443
+ GB: GB$1,
444
+ RU: RU$1,
445
+ RW: RW$1,
446
+ EH: EH$1,
447
+ BL: BL$1,
448
+ KN: KN$1,
449
+ SM: SM$1,
450
+ MF: MF$1,
451
+ SX: SX$1,
452
+ PM: PM$1,
453
+ VC: VC$1,
454
+ SH: SH$1,
455
+ LC: LC$1,
456
+ SV: SV$1,
457
+ WS: WS$1,
458
+ AS: AS$1,
459
+ ST: ST$1,
460
+ SN: SN$1,
461
+ RS: RS$1,
462
+ SC: SC$1,
463
+ SL: SL$1,
464
+ SG: SG$1,
465
+ SK: SK$1,
466
+ SI: SI$1,
467
+ SO: SO$1,
468
+ SD: SD$1,
469
+ SS: SS$1,
470
+ LK: LK$1,
471
+ SE: SE$1,
472
+ CH: CH$1,
473
+ SR: SR$1,
474
+ SJ: SJ$1,
475
+ SY: SY$1,
476
+ TJ: TJ$1,
477
+ TW: TW$1,
478
+ TZ: TZ$1,
479
+ TD: TD$1,
480
+ CZ: CZ$1,
481
+ TF: TF$1,
482
+ IO: IO$1,
483
+ PS: PS$1,
484
+ TH: TH$1,
485
+ TL: TL$1,
486
+ TG: TG$1,
487
+ TK: TK$1,
488
+ TO: TO$1,
489
+ TT: TT$1,
490
+ TN: TN$1,
491
+ TM: TM$1,
492
+ TR: TR$1,
493
+ TV: TV$1,
494
+ UA: UA$1,
495
+ UY: UY$1,
496
+ VU: VU$1,
497
+ VE: VE$1,
498
+ VN: VN$1,
499
+ WF: WF$1,
500
+ YE: YE$1,
501
+ ZM: ZM$1,
502
+ ZW: ZW$1
503
+ };
504
+ const AF = "Afghanistan";
505
+ const AX = "Åland Islands";
506
+ const AL = "Albania";
507
+ const DZ = "Algeria";
508
+ const AS = "American Samoa";
509
+ const AD = "Andorra";
510
+ const AO = "Angola";
511
+ const AI = "Anguilla";
512
+ const AQ = "Antarctica";
513
+ const AG = "Antigua & Barbuda";
514
+ const AR = "Argentina";
515
+ const AM = "Armenia";
516
+ const AW = "Aruba";
517
+ const AU = "Australia";
518
+ const AT = "Austria";
519
+ const AZ = "Azerbaijan";
520
+ const BS = "Bahamas";
521
+ const BH = "Bahrain";
522
+ const BD = "Bangladesh";
523
+ const BB = "Barbados";
524
+ const BY = "Belarus";
525
+ const BE = "Belgium";
526
+ const BZ = "Belize";
527
+ const BJ = "Benin";
528
+ const BM = "Bermuda";
529
+ const BT = "Bhutan";
530
+ const BO = "Bolivia";
531
+ const BA = "Bosnia & Herzegovina";
532
+ const BW = "Botswana";
533
+ const BV = "Bouvet Island";
534
+ const BR = "Brazil";
535
+ const IO = "British Indian Ocean Territory";
536
+ const VG = "British Virgin Islands";
537
+ const BN = "Brunei";
538
+ const BG = "Bulgaria";
539
+ const BF = "Burkina Faso";
540
+ const BI = "Burundi";
541
+ const KH = "Cambodia";
542
+ const CM = "Cameroon";
543
+ const CA = "Canada";
544
+ const CV = "Cape Verde";
545
+ const BQ = "Caribbean Netherlands";
546
+ const KY = "Cayman Islands";
547
+ const CF = "Central African Republic";
548
+ const TD = "Chad";
549
+ const CL = "Chile";
550
+ const CN = "China";
551
+ const CX = "Christmas Island";
552
+ const CC = "Cocos (Keeling) Islands";
553
+ const CO = "Colombia";
554
+ const KM = "Comoros";
555
+ const CG = "Congo - Brazzaville";
556
+ const CD = "Congo - Kinshasa";
557
+ const CK = "Cook Islands";
558
+ const CR = "Costa Rica";
559
+ const CI = "Côte d’Ivoire";
560
+ const HR = "Croatia";
561
+ const CU = "Cuba";
562
+ const CW = "Curaçao";
563
+ const CY = "Cyprus";
564
+ const CZ = "Czechia";
565
+ const DK = "Denmark";
566
+ const DJ = "Djibouti";
567
+ const DM = "Dominica";
568
+ const DO = "Dominican Republic";
569
+ const EC = "Ecuador";
570
+ const EG = "Egypt";
571
+ const SV = "El Salvador";
572
+ const GQ = "Equatorial Guinea";
573
+ const ER = "Eritrea";
574
+ const EE = "Estonia";
575
+ const SZ = "Eswatini";
576
+ const ET = "Ethiopia";
577
+ const FK = "Falkland Islands";
578
+ const FO = "Faroe Islands";
579
+ const FJ = "Fiji";
580
+ const FI = "Finland";
581
+ const FR = "France";
582
+ const GF = "French Guiana";
583
+ const PF = "French Polynesia";
584
+ const TF = "French Southern Territories";
585
+ const GA = "Gabon";
586
+ const GM = "Gambia";
587
+ const GE = "Georgia";
588
+ const DE = "Germany";
589
+ const GH = "Ghana";
590
+ const GI = "Gibraltar";
591
+ const GR = "Greece";
592
+ const GL = "Greenland";
593
+ const GD = "Grenada";
594
+ const GP = "Guadeloupe";
595
+ const GU = "Guam";
596
+ const GT = "Guatemala";
597
+ const GG = "Guernsey";
598
+ const GN = "Guinea";
599
+ const GW = "Guinea-Bissau";
600
+ const GY = "Guyana";
601
+ const HT = "Haiti";
602
+ const HM = "Heard & McDonald Islands";
603
+ const HN = "Honduras";
604
+ const HK = "Hong Kong SAR China";
605
+ const HU = "Hungary";
606
+ const IS = "Iceland";
607
+ const IN = "India";
608
+ const ID = "Indonesia";
609
+ const IR = "Iran";
610
+ const IQ = "Iraq";
611
+ const IE = "Ireland";
612
+ const IM = "Isle of Man";
613
+ const IL = "Israel";
614
+ const IT = "Italy";
615
+ const JM = "Jamaica";
616
+ const JP = "Japan";
617
+ const JE = "Jersey";
618
+ const JO = "Jordan";
619
+ const KZ = "Kazakhstan";
620
+ const KE = "Kenya";
621
+ const KI = "Kiribati";
622
+ const KW = "Kuwait";
623
+ const KG = "Kyrgyzstan";
624
+ const LA = "Laos";
625
+ const LV = "Latvia";
626
+ const LB = "Lebanon";
627
+ const LS = "Lesotho";
628
+ const LR = "Liberia";
629
+ const LY = "Libya";
630
+ const LI = "Liechtenstein";
631
+ const LT = "Lithuania";
632
+ const LU = "Luxembourg";
633
+ const MO = "Macao SAR China";
634
+ const MG = "Madagascar";
635
+ const MW = "Malawi";
636
+ const MY = "Malaysia";
637
+ const MV = "Maldives";
638
+ const ML = "Mali";
639
+ const MT = "Malta";
640
+ const MH = "Marshall Islands";
641
+ const MQ = "Martinique";
642
+ const MR = "Mauritania";
643
+ const MU = "Mauritius";
644
+ const YT = "Mayotte";
645
+ const MX = "Mexico";
646
+ const FM = "Micronesia";
647
+ const MD = "Moldova";
648
+ const MC = "Monaco";
649
+ const MN = "Mongolia";
650
+ const ME = "Montenegro";
651
+ const MS = "Montserrat";
652
+ const MA = "Morocco";
653
+ const MZ = "Mozambique";
654
+ const MM = "Myanmar (Burma)";
655
+ const NA = "Namibia";
656
+ const NR = "Nauru";
657
+ const NP = "Nepal";
658
+ const NL = "Netherlands";
659
+ const NC = "New Caledonia";
660
+ const NZ = "New Zealand";
661
+ const NI = "Nicaragua";
662
+ const NE = "Niger";
663
+ const NG = "Nigeria";
664
+ const NU = "Niue";
665
+ const NF = "Norfolk Island";
666
+ const KP = "North Korea";
667
+ const MK = "North Macedonia";
668
+ const MP = "Northern Mariana Islands";
669
+ const NO = "Norway";
670
+ const OM = "Oman";
671
+ const PK = "Pakistan";
672
+ const PW = "Palau";
673
+ const PS = "Palestinian Territories";
674
+ const PA = "Panama";
675
+ const PG = "Papua New Guinea";
676
+ const PY = "Paraguay";
677
+ const PE = "Peru";
678
+ const PH = "Philippines";
679
+ const PN = "Pitcairn Islands";
680
+ const PL = "Poland";
681
+ const PT = "Portugal";
682
+ const PR = "Puerto Rico";
683
+ const QA = "Qatar";
684
+ const RE = "Réunion";
685
+ const RO = "Romania";
686
+ const RU = "Russia";
687
+ const RW = "Rwanda";
688
+ const WS = "Samoa";
689
+ const SM = "San Marino";
690
+ const ST = "São Tomé & Príncipe";
691
+ const SA = "Saudi Arabia";
692
+ const SN = "Senegal";
693
+ const RS = "Serbia";
694
+ const SC = "Seychelles";
695
+ const SL = "Sierra Leone";
696
+ const SG = "Singapore";
697
+ const SX = "Sint Maarten";
698
+ const SK = "Slovakia";
699
+ const SI = "Slovenia";
700
+ const SB = "Solomon Islands";
701
+ const SO = "Somalia";
702
+ const ZA = "South Africa";
703
+ const GS = "South Georgia & South Sandwich Islands";
704
+ const KR = "South Korea";
705
+ const SS = "South Sudan";
706
+ const ES = "Spain";
707
+ const LK = "Sri Lanka";
708
+ const BL = "St. Barthélemy";
709
+ const SH = "St. Helena";
710
+ const KN = "St. Kitts & Nevis";
711
+ const LC = "St. Lucia";
712
+ const MF = "St. Martin";
713
+ const PM = "St. Pierre & Miquelon";
714
+ const VC = "St. Vincent & Grenadines";
715
+ const SD = "Sudan";
716
+ const SR = "Suriname";
717
+ const SJ = "Svalbard & Jan Mayen";
718
+ const SE = "Sweden";
719
+ const CH = "Switzerland";
720
+ const SY = "Syria";
721
+ const TW = "Taiwan";
722
+ const TJ = "Tajikistan";
723
+ const TZ = "Tanzania";
724
+ const TH = "Thailand";
725
+ const TL = "Timor-Leste";
726
+ const TG = "Togo";
727
+ const TK = "Tokelau";
728
+ const TO = "Tonga";
729
+ const TT = "Trinidad & Tobago";
730
+ const TN = "Tunisia";
731
+ const TR = "Turkey";
732
+ const TM = "Turkmenistan";
733
+ const TC = "Turks & Caicos Islands";
734
+ const TV = "Tuvalu";
735
+ const UM = "U.S. Outlying Islands";
736
+ const VI = "U.S. Virgin Islands";
737
+ const UG = "Uganda";
738
+ const UA = "Ukraine";
739
+ const AE = "United Arab Emirates";
740
+ const GB = "United Kingdom";
741
+ const US = "United States";
742
+ const UY = "Uruguay";
743
+ const UZ = "Uzbekistan";
744
+ const VU = "Vanuatu";
745
+ const VA = "Vatican City";
746
+ const VE = "Venezuela";
747
+ const VN = "Vietnam";
748
+ const WF = "Wallis & Futuna";
749
+ const EH = "Western Sahara";
750
+ const YE = "Yemen";
751
+ const ZM = "Zambia";
752
+ const ZW = "Zimbabwe";
753
+ const countriesEn = {
754
+ AF,
755
+ AX,
756
+ AL,
757
+ DZ,
758
+ AS,
759
+ AD,
760
+ AO,
761
+ AI,
762
+ AQ,
763
+ AG,
764
+ AR,
765
+ AM,
766
+ AW,
767
+ AU,
768
+ AT,
769
+ AZ,
770
+ BS,
771
+ BH,
772
+ BD,
773
+ BB,
774
+ BY,
775
+ BE,
776
+ BZ,
777
+ BJ,
778
+ BM,
779
+ BT,
780
+ BO,
781
+ BA,
782
+ BW,
783
+ BV,
784
+ BR,
785
+ IO,
786
+ VG,
787
+ BN,
788
+ BG,
789
+ BF,
790
+ BI,
791
+ KH,
792
+ CM,
793
+ CA,
794
+ CV,
795
+ BQ,
796
+ KY,
797
+ CF,
798
+ TD,
799
+ CL,
800
+ CN,
801
+ CX,
802
+ CC,
803
+ CO,
804
+ KM,
805
+ CG,
806
+ CD,
807
+ CK,
808
+ CR,
809
+ CI,
810
+ HR,
811
+ CU,
812
+ CW,
813
+ CY,
814
+ CZ,
815
+ DK,
816
+ DJ,
817
+ DM,
818
+ DO,
819
+ EC,
820
+ EG,
821
+ SV,
822
+ GQ,
823
+ ER,
824
+ EE,
825
+ SZ,
826
+ ET,
827
+ FK,
828
+ FO,
829
+ FJ,
830
+ FI,
831
+ FR,
832
+ GF,
833
+ PF,
834
+ TF,
835
+ GA,
836
+ GM,
837
+ GE,
838
+ DE,
839
+ GH,
840
+ GI,
841
+ GR,
842
+ GL,
843
+ GD,
844
+ GP,
845
+ GU,
846
+ GT,
847
+ GG,
848
+ GN,
849
+ GW,
850
+ GY,
851
+ HT,
852
+ HM,
853
+ HN,
854
+ HK,
855
+ HU,
856
+ IS,
857
+ IN,
858
+ ID,
859
+ IR,
860
+ IQ,
861
+ IE,
862
+ IM,
863
+ IL,
864
+ IT,
865
+ JM,
866
+ JP,
867
+ JE,
868
+ JO,
869
+ KZ,
870
+ KE,
871
+ KI,
872
+ KW,
873
+ KG,
874
+ LA,
875
+ LV,
876
+ LB,
877
+ LS,
878
+ LR,
879
+ LY,
880
+ LI,
881
+ LT,
882
+ LU,
883
+ MO,
884
+ MG,
885
+ MW,
886
+ MY,
887
+ MV,
888
+ ML,
889
+ MT,
890
+ MH,
891
+ MQ,
892
+ MR,
893
+ MU,
894
+ YT,
895
+ MX,
896
+ FM,
897
+ MD,
898
+ MC,
899
+ MN,
900
+ ME,
901
+ MS,
902
+ MA,
903
+ MZ,
904
+ MM,
905
+ NA,
906
+ NR,
907
+ NP,
908
+ NL,
909
+ NC,
910
+ NZ,
911
+ NI,
912
+ NE,
913
+ NG,
914
+ NU,
915
+ NF,
916
+ KP,
917
+ MK,
918
+ MP,
919
+ NO,
920
+ OM,
921
+ PK,
922
+ PW,
923
+ PS,
924
+ PA,
925
+ PG,
926
+ PY,
927
+ PE,
928
+ PH,
929
+ PN,
930
+ PL,
931
+ PT,
932
+ PR,
933
+ QA,
934
+ RE,
935
+ RO,
936
+ RU,
937
+ RW,
938
+ WS,
939
+ SM,
940
+ ST,
941
+ SA,
942
+ SN,
943
+ RS,
944
+ SC,
945
+ SL,
946
+ SG,
947
+ SX,
948
+ SK,
949
+ SI,
950
+ SB,
951
+ SO,
952
+ ZA,
953
+ GS,
954
+ KR,
955
+ SS,
956
+ ES,
957
+ LK,
958
+ BL,
959
+ SH,
960
+ KN,
961
+ LC,
962
+ MF,
963
+ PM,
964
+ VC,
965
+ SD,
966
+ SR,
967
+ SJ,
968
+ SE,
969
+ CH,
970
+ SY,
971
+ TW,
972
+ TJ,
973
+ TZ,
974
+ TH,
975
+ TL,
976
+ TG,
977
+ TK,
978
+ TO,
979
+ TT,
980
+ TN,
981
+ TR,
982
+ TM,
983
+ TC,
984
+ TV,
985
+ UM,
986
+ VI,
987
+ UG,
988
+ UA,
989
+ AE,
990
+ GB,
991
+ US,
992
+ UY,
993
+ UZ,
994
+ VU,
995
+ VA,
996
+ VE,
997
+ VN,
998
+ WF,
999
+ EH,
1000
+ YE,
1001
+ ZM,
1002
+ ZW
1003
+ };
6
1004
  const supportedLanguages = [LANG_FRENCH, LANG_ENGLISH];
7
1005
  const getSystemLanguage = () => {
8
1006
  const systemLanguage = navigator.language.split(/[-_]/)[0];