@gridsuite/commons-ui 0.278.0 → 0.280.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 (73) hide show
  1. package/dist/components/composite/customAGGrid/separatorCellRenderer.d.ts +7 -2
  2. package/dist/components/composite/customAGGrid/separatorCellRenderer.js +2 -2
  3. package/dist/features/index.d.ts +1 -0
  4. package/dist/features/index.js +19 -0
  5. package/dist/features/network-modifications/index.js +13 -0
  6. package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.d.ts +8 -0
  7. package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.js +119 -0
  8. package/dist/features/network-modifications/voltageLevel/common/index.d.ts +1 -0
  9. package/dist/features/network-modifications/voltageLevel/common/index.js +4 -0
  10. package/dist/features/network-modifications/voltageLevel/index.d.ts +2 -0
  11. package/dist/features/network-modifications/voltageLevel/index.js +13 -0
  12. package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.d.ts +8 -0
  13. package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js +387 -0
  14. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.d.ts +6 -0
  15. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.js +64 -0
  16. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.d.ts +6 -0
  17. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js +102 -0
  18. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/index.d.ts +2 -0
  19. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/index.js +6 -0
  20. package/dist/features/network-modifications/voltageLevel/moveFeederBays/index.d.ts +4 -0
  21. package/dist/features/network-modifications/voltageLevel/moveFeederBays/index.js +13 -0
  22. package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.type.d.ts +36 -0
  23. package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.type.js +1 -0
  24. package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.d.ts +37 -0
  25. package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.js +86 -0
  26. package/dist/features/side-bar/AppSideBar.d.ts +27 -0
  27. package/dist/features/side-bar/AppSideBar.js +102 -0
  28. package/dist/features/side-bar/AppSideBarHeader.d.ts +11 -0
  29. package/dist/features/side-bar/AppSideBarHeader.js +54 -0
  30. package/dist/features/side-bar/dialogs/AppSideBarDialogProvider.d.ts +14 -0
  31. package/dist/features/side-bar/dialogs/AppSideBarDialogProvider.js +36 -0
  32. package/dist/features/side-bar/dialogs/AppSideBarDialogs.d.ts +14 -0
  33. package/dist/features/side-bar/dialogs/AppSideBarDialogs.js +56 -0
  34. package/dist/features/side-bar/footer/AppSideBarFooter.d.ts +15 -0
  35. package/dist/features/side-bar/footer/AppSideBarFooter.js +60 -0
  36. package/dist/features/side-bar/footer/applications/ApplicationMenu.d.ts +5 -0
  37. package/dist/features/side-bar/footer/applications/ApplicationMenu.js +83 -0
  38. package/dist/features/side-bar/footer/applications/OtherAppRedirection.d.ts +6 -0
  39. package/dist/features/side-bar/footer/applications/OtherAppRedirection.js +105 -0
  40. package/dist/features/side-bar/footer/common/MinimizedSubMenuHeader.d.ts +9 -0
  41. package/dist/features/side-bar/footer/common/MinimizedSubMenuHeader.js +22 -0
  42. package/dist/features/side-bar/footer/common/SideBarMenuItem.d.ts +10 -0
  43. package/dist/features/side-bar/footer/common/SideBarMenuItem.js +76 -0
  44. package/dist/features/side-bar/footer/common/submenu-footer.style.d.ts +23 -0
  45. package/dist/features/side-bar/footer/common/submenu-footer.style.js +20 -0
  46. package/dist/features/side-bar/footer/profile/ProfileInfos.d.ts +4 -0
  47. package/dist/features/side-bar/footer/profile/ProfileInfos.js +32 -0
  48. package/dist/features/side-bar/footer/profile/ProfileMenu.d.ts +7 -0
  49. package/dist/features/side-bar/footer/profile/ProfileMenu.js +95 -0
  50. package/dist/features/side-bar/footer/profile/UserIcon.d.ts +9 -0
  51. package/dist/features/side-bar/footer/profile/UserIcon.js +33 -0
  52. package/dist/features/side-bar/footer/settings/DarkModeToggle.d.ts +7 -0
  53. package/dist/features/side-bar/footer/settings/DarkModeToggle.js +74 -0
  54. package/dist/features/side-bar/footer/settings/LanguageSelection.d.ts +8 -0
  55. package/dist/features/side-bar/footer/settings/LanguageSelection.js +75 -0
  56. package/dist/features/side-bar/footer/settings/SettingsMenu.d.ts +10 -0
  57. package/dist/features/side-bar/footer/settings/SettingsMenu.js +112 -0
  58. package/dist/features/side-bar/index.d.ts +7 -0
  59. package/dist/features/side-bar/index.js +4 -0
  60. package/dist/features/topBar/index.d.ts +2 -0
  61. package/dist/features/topBar/index.js +5 -1
  62. package/dist/index.js +19 -0
  63. package/dist/translations/en/networkModificationsEn.d.ts +12 -0
  64. package/dist/translations/en/networkModificationsEn.js +13 -1
  65. package/dist/translations/en/topBarEn.d.ts +7 -0
  66. package/dist/translations/en/topBarEn.js +7 -0
  67. package/dist/translations/fr/networkModificationsFr.d.ts +12 -0
  68. package/dist/translations/fr/networkModificationsFr.js +13 -1
  69. package/dist/translations/fr/topBarFr.d.ts +7 -0
  70. package/dist/translations/fr/topBarFr.js +7 -0
  71. package/dist/utils/constants/fieldConstants.d.ts +7 -1
  72. package/dist/utils/constants/fieldConstants.js +6 -0
  73. package/package.json +1 -1
@@ -0,0 +1,112 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { DisplaySettings } from "@mui/icons-material";
3
+ import { useIntl } from "react-intl";
4
+ import { Box, Typography } from "@mui/material";
5
+ import { MinimizedSubMenuHeader } from "../common/MinimizedSubMenuHeader.js";
6
+ import { DarkModeToggle } from "./DarkModeToggle.js";
7
+ import { LanguageSelection } from "./LanguageSelection.js";
8
+ import { submenuFooterStyle } from "../common/submenu-footer.style.js";
9
+ import "../../../../components/ui/overflowableText/OverflowableText.js";
10
+ import "../../../../utils/conversionUtils.js";
11
+ import "../../../../utils/types/equipmentType.js";
12
+ import "react";
13
+ import "react-hook-form";
14
+ import "localized-countries";
15
+ import "localized-countries/data/fr";
16
+ import "localized-countries/data/en";
17
+ import "notistack";
18
+ import "../../../../components/ui/reactHookForm/provider/CustomFormProvider.js";
19
+ import "yup";
20
+ import "../../../../components/ui/treeViewFinder/TreeViewFinder.js";
21
+ import "../../../../components/ui/reactHookForm/numbers/RangeInput.js";
22
+ import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
23
+ import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
24
+ import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
25
+ import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
26
+ import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
27
+ import "../../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
28
+ import "../../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
29
+ import "../../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
30
+ import "@hello-pangea/dnd";
31
+ import "../../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
32
+ import "../../../../components/ui/snackbarProvider/SnackbarProvider.js";
33
+ import { CustomNestedMenuItem } from "../../../../components/ui/menus/custom-nested-menu.js";
34
+ import "react-resizable-panels";
35
+ import "react-papaparse";
36
+ import "react-dom";
37
+ import "autosuggest-highlight/match";
38
+ import "autosuggest-highlight/parse";
39
+ import "clsx";
40
+ import "../../../../components/composite/filter/FilterCreationDialog.js";
41
+ import "../../../../components/composite/filter/HeaderFilterForm.js";
42
+ import "../../../../components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js";
43
+ import "../../../../components/composite/filter/expert/ExpertFilterForm.js";
44
+ import "../../../../components/composite/filter/expert/ExpertFilterEditionDialog.js";
45
+ import "../../../../components/composite/filter/expert/expertFilterConstants.js";
46
+ import "react-querybuilder";
47
+ import "uuid";
48
+ import "../../../../components/composite/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js";
49
+ import "../../../../components/composite/filter/utils/filterFormUtils.js";
50
+ import "@react-querybuilder/material";
51
+ import "../../../../components/composite/reactQueryBuilder/CustomReactQueryBuilder.js";
52
+ import "../../../../components/composite/reactQueryBuilder/PropertyValueEditor.js";
53
+ import "../../../../components/composite/agGridTable/BottomTableButtons.js";
54
+ import "../../../../components/composite/agGridTable/CustomAgGridTable.js";
55
+ import "ag-grid-community";
56
+ import "../../../../components/composite/customAGGrid/customAggrid.js";
57
+ import "../../../../components/composite/customAGGrid/context/custom-aggrid-context.js";
58
+ import "mathjs";
59
+ import "../../../../components/composite/report/report-viewer/log-table/log-table.js";
60
+ import "react-window";
61
+ import "../../../../components/composite/report/report-treeview/treeview-item.js";
62
+ import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
63
+ function SettingsMenu({
64
+ isMinimized,
65
+ currentTheme,
66
+ setTheme,
67
+ selectedLanguage,
68
+ setSelectedLanguage
69
+ }) {
70
+ const intl = useIntl();
71
+ const settingsLabel = intl.formatMessage({ id: "top-bar/settings" });
72
+ const availableLanguages = ["sys", "fr", "en"];
73
+ return /* @__PURE__ */ jsxs(
74
+ CustomNestedMenuItem,
75
+ {
76
+ label: !isMinimized ? settingsLabel : "",
77
+ leftIcon: /* @__PURE__ */ jsx(DisplaySettings, {}),
78
+ sx: submenuFooterStyle.subMenu,
79
+ children: [
80
+ isMinimized && /* @__PURE__ */ jsx(MinimizedSubMenuHeader, { label: settingsLabel }),
81
+ /* @__PURE__ */ jsx(DarkModeToggle, { currentTheme, setTheme }),
82
+ /* @__PURE__ */ jsx(
83
+ CustomNestedMenuItem,
84
+ {
85
+ sx: submenuFooterStyle.subMenuChildren,
86
+ renderLabel: () => /* @__PURE__ */ jsxs(Box, { children: [
87
+ intl.formatMessage({ id: "top-bar/language" }),
88
+ /* @__PURE__ */ jsxs(Typography, { component: "span", fontSize: 12, sx: { color: "text.disabled" }, children: [
89
+ " - ",
90
+ intl.formatMessage({
91
+ id: `top-bar/language/${selectedLanguage}`
92
+ })
93
+ ] })
94
+ ] }),
95
+ children: availableLanguages.map((language) => /* @__PURE__ */ jsx(
96
+ LanguageSelection,
97
+ {
98
+ language,
99
+ isSelectedLanguage: selectedLanguage === language,
100
+ setSelectedLanguage
101
+ },
102
+ language
103
+ ))
104
+ }
105
+ )
106
+ ]
107
+ }
108
+ );
109
+ }
110
+ export {
111
+ SettingsMenu
112
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright (c) 2026, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ export * from './AppSideBar';
@@ -0,0 +1,4 @@
1
+ import { AppSideBar } from "./AppSideBar.js";
2
+ export {
3
+ AppSideBar
4
+ };
@@ -8,3 +8,5 @@ export * from './AboutDialog';
8
8
  export * from './GridLogo';
9
9
  export * from './DevModeBanner';
10
10
  export * from './TopBar';
11
+ export { default as UserInformationDialog } from './UserInformationDialog';
12
+ export { default as UserSettingsDialog } from './UserSettingsDialog';
@@ -2,10 +2,14 @@ import { AboutDialog } from "./AboutDialog.js";
2
2
  import { GridLogo, LogoText } from "./GridLogo.js";
3
3
  import { DevModeBanner } from "./DevModeBanner.js";
4
4
  import { TopBar } from "./TopBar.js";
5
+ import { default as default2 } from "./UserInformationDialog.js";
6
+ import { default as default3 } from "./UserSettingsDialog.js";
5
7
  export {
6
8
  AboutDialog,
7
9
  DevModeBanner,
8
10
  GridLogo,
9
11
  LogoText,
10
- TopBar
12
+ TopBar,
13
+ default2 as UserInformationDialog,
14
+ default3 as UserSettingsDialog
11
15
  };
package/dist/index.js CHANGED
@@ -179,6 +179,9 @@ import { AboutDialog } from "./features/topBar/AboutDialog.js";
179
179
  import { GridLogo, LogoText } from "./features/topBar/GridLogo.js";
180
180
  import { DevModeBanner } from "./features/topBar/DevModeBanner.js";
181
181
  import { TopBar } from "./features/topBar/TopBar.js";
182
+ import { default as default5 } from "./features/topBar/UserInformationDialog.js";
183
+ import { default as default6 } from "./features/topBar/UserSettingsDialog.js";
184
+ import { AppSideBar } from "./features/side-bar/AppSideBar.js";
182
185
  import { ParameterLayout } from "./features/parameters/common/parameter-layout/parameter-layout.js";
183
186
  import { ParameterLayoutProvider, useParameterLayoutContext } from "./features/parameters/common/parameter-layout/parameter-layout-provider.js";
184
187
  import { formatComputingTypeLabel, isValidComputingType } from "./features/parameters/common/computing-type.js";
@@ -364,6 +367,11 @@ import { createVoltageLevelTopologyDtoToForm, createVoltageLevelTopologyEmptyFor
364
367
  import { CreateVoltageLevelTopologyForm } from "./features/network-modifications/voltageLevel/topology/CreateVoltageLevelTopologyForm.js";
365
368
  import { VoltageLevelSectionCreationForm } from "./features/network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.js";
366
369
  import { POSITION_NEW_SECTION_SIDE, voltageLevelSectionCreationDtoToForm, voltageLevelSectionCreationEmptyFormData, voltageLevelSectionCreationFormSchema, voltageLevelSectionCreationFormToDto } from "./features/network-modifications/voltageLevel/section/voltageLevelSectionCreation.utils.js";
370
+ import { FeederBayPositionCellRenderer } from "./features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js";
371
+ import { FeederBayDirectionCellRenderer } from "./features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.js";
372
+ import { emptyMoveVoltageLevelFeederBaysFormData, moveVoltageLevelFeederBaysDtoToForm, moveVoltageLevelFeederBaysFormSchema, moveVoltageLevelFeederBaysFormToDto } from "./features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.js";
373
+ import { MoveVoltageLevelFeederBaysForm } from "./features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js";
374
+ import { HeaderWithTooltip } from "./features/network-modifications/voltageLevel/common/HeaderWithTooltip.js";
367
375
  import { LOAD_TAB_FIELDS, LoadDialogTab } from "./features/network-modifications/load/common/load.utils.js";
368
376
  import { LoadDialogTabs } from "./features/network-modifications/load/common/LoadDialogTabs.js";
369
377
  import { LoadDialogTabsContent } from "./features/network-modifications/load/common/LoadDialogTabsContent.js";
@@ -604,6 +612,7 @@ export {
604
612
  AnnouncementBanner,
605
613
  AnnouncementNotification,
606
614
  AnnouncementSeverity,
615
+ AppSideBar,
607
616
  ArrayAction,
608
617
  ArrowsInputIcon,
609
618
  ArrowsOutputIcon,
@@ -817,6 +826,8 @@ export {
817
826
  FORMULAS,
818
827
  FROM_COLUMN_TO_FIELD,
819
828
  FROM_COLUMN_TO_FIELD_ONE_BUS,
829
+ FeederBayDirectionCellRenderer,
830
+ FeederBayPositionCellRenderer,
820
831
  FetchStatus,
821
832
  FieldConstants,
822
833
  FieldErrorAlert,
@@ -855,6 +866,7 @@ export {
855
866
  HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD,
856
867
  HVDC_AC_EMULATION,
857
868
  HVDC_EQUIPMENT_TYPES,
869
+ HeaderWithTooltip,
858
870
  HelperPreviousValue,
859
871
  Hvdc,
860
872
  HvdcLccDeletionSpecificForm,
@@ -974,6 +986,7 @@ export {
974
986
  ModificationRow,
975
987
  ModificationType,
976
988
  ModifyElementSelection,
989
+ MoveVoltageLevelFeederBaysForm,
977
990
  MuiSelectInput,
978
991
  MultipleAutocompleteInput,
979
992
  MultipleSelectionDialog,
@@ -1264,7 +1277,9 @@ export {
1264
1277
  UnauthorizedAccessAlert,
1265
1278
  UndisplayedFilterNumberComparators,
1266
1279
  UniqueNameInput,
1280
+ default5 as UserInformationDialog,
1267
1281
  UserManagerMock,
1282
+ default6 as UserSettingsDialog,
1268
1283
  VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR,
1269
1284
  VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR,
1270
1285
  VARIABLE_Q_GENERATORS,
@@ -1402,6 +1417,7 @@ export {
1402
1417
  emptyLineSegment,
1403
1418
  emptyModificationByAssignmentFormData,
1404
1419
  emptyModificationFormData,
1420
+ emptyMoveVoltageLevelFeederBaysFormData,
1405
1421
  emptyProcessConfigModificationsFormData,
1406
1422
  emptyProperties,
1407
1423
  enrichPccMinParameters,
@@ -1763,6 +1779,9 @@ export {
1763
1779
  modificationPropertiesSchema,
1764
1780
  moveModification,
1765
1781
  moveSubModificationInTree,
1782
+ moveVoltageLevelFeederBaysDtoToForm,
1783
+ moveVoltageLevelFeederBaysFormSchema,
1784
+ moveVoltageLevelFeederBaysFormToDto,
1766
1785
  multipleSelectionDialogEn,
1767
1786
  multipleSelectionDialogFr,
1768
1787
  networkModificationTableStyles,
@@ -420,4 +420,16 @@ export declare const networkModificationsEn: {
420
420
  allOptionHelperText: string;
421
421
  areSwitchesOpen: string;
422
422
  areSwitchesClosed: string;
423
+ DuplicatedPositionsWarning: string;
424
+ moveFeederBaysSections: string;
425
+ MoveVoltageLevelFeederBays: string;
426
+ MoveVoltageLevelFeederBaysError: string;
427
+ Feeders: string;
428
+ equipmentID: string;
429
+ connectionDirection: string;
430
+ connectionPosition: string;
431
+ MissingConnectionsInVoltageLevel: string;
432
+ builtNodeTooltipVlTopoModif: string;
433
+ notBuiltNodeTooltipVlTopoModif: string;
434
+ Undefined: string;
423
435
  };
@@ -417,7 +417,19 @@ const networkModificationsEn = {
417
417
  allBusbarSections: "All",
418
418
  allOptionHelperText: "Busbars have different sections (number or index)",
419
419
  areSwitchesOpen: "Open",
420
- areSwitchesClosed: "Closed"
420
+ areSwitchesClosed: "Closed",
421
+ DuplicatedPositionsWarning: "Duplicated number",
422
+ moveFeederBaysSections: "Feeder bay will be connected onto the selected busbar section",
423
+ MoveVoltageLevelFeederBays: "Move connections",
424
+ MoveVoltageLevelFeederBaysError: "Error while moving feeder bays",
425
+ Feeders: "Feeder",
426
+ equipmentID: "Equipment ID",
427
+ connectionDirection: "Connection direction",
428
+ connectionPosition: "Connection position",
429
+ MissingConnectionsInVoltageLevel: "Missing connections in voltage level (Connections removed from list on validation)",
430
+ builtNodeTooltipVlTopoModif: "Switches list taking into account all applied modifications",
431
+ notBuiltNodeTooltipVlTopoModif: "Switches list from last built node in current branch",
432
+ Undefined: "Undefined"
421
433
  };
422
434
  export {
423
435
  networkModificationsEn
@@ -10,13 +10,20 @@ export declare const topBarEn: {
10
10
  'top-bar/goFullScreen': string;
11
11
  'top-bar/exitFullScreen': string;
12
12
  'top-bar/userInformation': string;
13
+ 'top-bar/myApps': string;
13
14
  'top-bar/about': string;
14
15
  'top-bar/displayMode': string;
16
+ 'top-bar/darkMode': string;
15
17
  'top-bar/equipmentLabel': string;
16
18
  'top-bar/id': string;
17
19
  'top-bar/name': string;
18
20
  'top-bar/language': string;
21
+ 'top-bar/language/fr': string;
22
+ 'top-bar/language/en': string;
23
+ 'top-bar/language/sys': string;
19
24
  'top-bar/developerModeWarning': string;
25
+ 'top-bar/settings': string;
26
+ 'top-bar/minimize': string;
20
27
  'about-dialog/title': string;
21
28
  'about-dialog/version': string;
22
29
  'about-dialog/alert-running-old-version-msg': string;
@@ -4,13 +4,20 @@ const topBarEn = {
4
4
  "top-bar/goFullScreen": "Full screen",
5
5
  "top-bar/exitFullScreen": "Exit full screen mode",
6
6
  "top-bar/userInformation": "User information",
7
+ "top-bar/myApps": "My apps",
7
8
  "top-bar/about": "About",
8
9
  "top-bar/displayMode": "Display mode",
10
+ "top-bar/darkMode": "Dark mode",
9
11
  "top-bar/equipmentLabel": "Equipment label",
10
12
  "top-bar/id": "Id",
11
13
  "top-bar/name": "Name",
12
14
  "top-bar/language": "Language",
15
+ "top-bar/language/fr": "Français",
16
+ "top-bar/language/en": "English",
17
+ "top-bar/language/sys": "Browser",
13
18
  "top-bar/developerModeWarning": "Developer mode: Some features are incomplete and may not work as expected.",
19
+ "top-bar/settings": "Settings",
20
+ "top-bar/minimize": "Minimize",
14
21
  "about-dialog/title": "About",
15
22
  "about-dialog/version": "Version {version}",
16
23
  "about-dialog/alert-running-old-version-msg": "Running old version.\nSave your work and refresh the application to load the latest version.",
@@ -420,4 +420,16 @@ export declare const networkModificationsFr: {
420
420
  allOptionHelperText: string;
421
421
  areSwitchesOpen: string;
422
422
  areSwitchesClosed: string;
423
+ DuplicatedPositionsWarning: string;
424
+ moveFeederBaysSections: string;
425
+ MoveVoltageLevelFeederBays: string;
426
+ MoveVoltageLevelFeederBaysError: string;
427
+ Feeders: string;
428
+ equipmentID: string;
429
+ connectionDirection: string;
430
+ connectionPosition: string;
431
+ MissingConnectionsInVoltageLevel: string;
432
+ builtNodeTooltipVlTopoModif: string;
433
+ notBuiltNodeTooltipVlTopoModif: string;
434
+ Undefined: string;
423
435
  };
@@ -417,7 +417,19 @@ const networkModificationsFr = {
417
417
  allBusbarSections: "Tous",
418
418
  allOptionHelperText: "Tous les jeux de barres n'ont pas les mêmes sections (index et nombre)",
419
419
  areSwitchesOpen: "Ouverts",
420
- areSwitchesClosed: "Fermés"
420
+ areSwitchesClosed: "Fermés",
421
+ DuplicatedPositionsWarning: "Numéro en doublon",
422
+ moveFeederBaysSections: "Les départs déplacés sont préparés sur la section de barre sélectionnée",
423
+ MoveVoltageLevelFeederBays: "Déplacer les départs",
424
+ MoveVoltageLevelFeederBaysError: "Erreur lors du déplacement des départs",
425
+ Feeders: "Départs",
426
+ equipmentID: "ID de l'ouvrage",
427
+ connectionDirection: "Sens départ",
428
+ connectionPosition: "Position départ",
429
+ MissingConnectionsInVoltageLevel: "Départs absents du poste (Départs supprimés de la liste à la validation)",
430
+ builtNodeTooltipVlTopoModif: "Liste des organes de coupure tenant compte de toutes les modifications réalisées",
431
+ notBuiltNodeTooltipVlTopoModif: "Liste des organes de coupure d'après le dernier nœud réalisé de la branche courante",
432
+ Undefined: "Non défini"
421
433
  };
422
434
  export {
423
435
  networkModificationsFr
@@ -10,13 +10,20 @@ export declare const topBarFr: {
10
10
  'top-bar/goFullScreen': string;
11
11
  'top-bar/exitFullScreen': string;
12
12
  'top-bar/userInformation': string;
13
+ 'top-bar/myApps': string;
13
14
  'top-bar/about': string;
14
15
  'top-bar/displayMode': string;
16
+ 'top-bar/darkMode': string;
15
17
  'top-bar/equipmentLabel': string;
16
18
  'top-bar/id': string;
17
19
  'top-bar/name': string;
18
20
  'top-bar/language': string;
21
+ 'top-bar/language/fr': string;
22
+ 'top-bar/language/en': string;
23
+ 'top-bar/language/sys': string;
19
24
  'top-bar/developerModeWarning': string;
25
+ 'top-bar/settings': string;
26
+ 'top-bar/minimize': string;
20
27
  'about-dialog/title': string;
21
28
  'about-dialog/version': string;
22
29
  'about-dialog/alert-running-old-version-msg': string;
@@ -4,13 +4,20 @@ const topBarFr = {
4
4
  "top-bar/goFullScreen": "Plein écran",
5
5
  "top-bar/exitFullScreen": "Quitter mode plein écran",
6
6
  "top-bar/userInformation": "Informations utilisateur",
7
+ "top-bar/myApps": "Mes applications",
7
8
  "top-bar/about": "À propos",
8
9
  "top-bar/displayMode": "Mode d'affichage",
10
+ "top-bar/darkMode": "Mode sombre",
9
11
  "top-bar/equipmentLabel": "Label des ouvrages",
10
12
  "top-bar/id": "Id",
11
13
  "top-bar/name": "Nom",
12
14
  "top-bar/language": "Langue",
15
+ "top-bar/language/fr": "Français",
16
+ "top-bar/language/en": "English",
17
+ "top-bar/language/sys": "Navigateur",
13
18
  "top-bar/developerModeWarning": "Mode développeur : Certaines fonctionnalités ne sont pas complètes et peuvent ne pas fonctionner comme prévu.",
19
+ "top-bar/settings": "Réglages",
20
+ "top-bar/minimize": "Réduire le menu",
14
21
  "about-dialog/title": "À propos",
15
22
  "about-dialog/version": "Version {version}",
16
23
  "about-dialog/alert-running-old-version-msg": "Ancienne version de l'application.\nVeuillez sauvegarder votre travail et rafraîchir l'application pour charger la dernière version",
@@ -24,6 +24,7 @@ export declare enum FieldConstants {
24
24
  CHARACTERISTICS = "characteristics",
25
25
  CHARACTERISTICS_CHOICE = "characteristicsChoice",
26
26
  CONNECTED = "terminalConnected",
27
+ CONNECTION_SIDE = "connectionSide",
27
28
  CONNECTION_DIRECTION = "connectionDirection",
28
29
  CONNECTION_NAME = "connectionName",
29
30
  CONNECTION_POSITION = "connectionPosition",
@@ -157,6 +158,7 @@ export declare enum FieldConstants {
157
158
  BUS_BAR_SECTION_ID1 = "busbarSectionId1",
158
159
  BUS_BAR_SECTION_ID2 = "busbarSectionId2",
159
160
  BUSBAR_SECTION_ID = "busbarSectionId",
161
+ BUSBAR_SECTION_IDS = "busbarSectionIds",
160
162
  COUPLING_OMNIBUS = "couplingOmnibus",
161
163
  IS_AFTER_BUSBAR_SECTION_ID = "isAfterBusBarSectionId",
162
164
  NEW_SWITCH_STATES = "newSwitchStates",
@@ -247,5 +249,9 @@ export declare enum FieldConstants {
247
249
  SETPOINTS_LIMITS = "setpointsLimits",
248
250
  VOLTAGE_REGULATION_MODE = "voltageRegulationMode",
249
251
  B0 = "b0",
250
- Q0 = "q0"
252
+ Q0 = "q0",
253
+ MOVE_VOLTAGE_LEVEL_FEEDER_BAYS_TABLE = "moveVoltageLevelFeederBaysTable",
254
+ IS_REMOVED = "isRemoved",
255
+ IS_SEPARATOR = "isSeparator",
256
+ ROW_ID = "rowId"
251
257
  }
@@ -18,6 +18,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
18
18
  FieldConstants2["CHARACTERISTICS"] = "characteristics";
19
19
  FieldConstants2["CHARACTERISTICS_CHOICE"] = "characteristicsChoice";
20
20
  FieldConstants2["CONNECTED"] = "terminalConnected";
21
+ FieldConstants2["CONNECTION_SIDE"] = "connectionSide";
21
22
  FieldConstants2["CONNECTION_DIRECTION"] = "connectionDirection";
22
23
  FieldConstants2["CONNECTION_NAME"] = "connectionName";
23
24
  FieldConstants2["CONNECTION_POSITION"] = "connectionPosition";
@@ -151,6 +152,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
151
152
  FieldConstants2["BUS_BAR_SECTION_ID1"] = "busbarSectionId1";
152
153
  FieldConstants2["BUS_BAR_SECTION_ID2"] = "busbarSectionId2";
153
154
  FieldConstants2["BUSBAR_SECTION_ID"] = "busbarSectionId";
155
+ FieldConstants2["BUSBAR_SECTION_IDS"] = "busbarSectionIds";
154
156
  FieldConstants2["COUPLING_OMNIBUS"] = "couplingOmnibus";
155
157
  FieldConstants2["IS_AFTER_BUSBAR_SECTION_ID"] = "isAfterBusBarSectionId";
156
158
  FieldConstants2["NEW_SWITCH_STATES"] = "newSwitchStates";
@@ -242,6 +244,10 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
242
244
  FieldConstants2["VOLTAGE_REGULATION_MODE"] = "voltageRegulationMode";
243
245
  FieldConstants2["B0"] = "b0";
244
246
  FieldConstants2["Q0"] = "q0";
247
+ FieldConstants2["MOVE_VOLTAGE_LEVEL_FEEDER_BAYS_TABLE"] = "moveVoltageLevelFeederBaysTable";
248
+ FieldConstants2["IS_REMOVED"] = "isRemoved";
249
+ FieldConstants2["IS_SEPARATOR"] = "isSeparator";
250
+ FieldConstants2["ROW_ID"] = "rowId";
245
251
  return FieldConstants2;
246
252
  })(FieldConstants || {});
247
253
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.278.0",
3
+ "version": "0.280.0",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",