@gridsuite/commons-ui 0.278.0 → 0.279.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.
- package/dist/features/index.d.ts +1 -0
- package/dist/features/index.js +6 -0
- package/dist/features/side-bar/AppSideBar.d.ts +27 -0
- package/dist/features/side-bar/AppSideBar.js +102 -0
- package/dist/features/side-bar/AppSideBarHeader.d.ts +11 -0
- package/dist/features/side-bar/AppSideBarHeader.js +54 -0
- package/dist/features/side-bar/dialogs/AppSideBarDialogProvider.d.ts +14 -0
- package/dist/features/side-bar/dialogs/AppSideBarDialogProvider.js +36 -0
- package/dist/features/side-bar/dialogs/AppSideBarDialogs.d.ts +14 -0
- package/dist/features/side-bar/dialogs/AppSideBarDialogs.js +56 -0
- package/dist/features/side-bar/footer/AppSideBarFooter.d.ts +15 -0
- package/dist/features/side-bar/footer/AppSideBarFooter.js +60 -0
- package/dist/features/side-bar/footer/applications/ApplicationMenu.d.ts +5 -0
- package/dist/features/side-bar/footer/applications/ApplicationMenu.js +83 -0
- package/dist/features/side-bar/footer/applications/OtherAppRedirection.d.ts +6 -0
- package/dist/features/side-bar/footer/applications/OtherAppRedirection.js +105 -0
- package/dist/features/side-bar/footer/common/MinimizedSubMenuHeader.d.ts +9 -0
- package/dist/features/side-bar/footer/common/MinimizedSubMenuHeader.js +22 -0
- package/dist/features/side-bar/footer/common/SideBarMenuItem.d.ts +10 -0
- package/dist/features/side-bar/footer/common/SideBarMenuItem.js +76 -0
- package/dist/features/side-bar/footer/common/submenu-footer.style.d.ts +23 -0
- package/dist/features/side-bar/footer/common/submenu-footer.style.js +20 -0
- package/dist/features/side-bar/footer/profile/ProfileInfos.d.ts +4 -0
- package/dist/features/side-bar/footer/profile/ProfileInfos.js +32 -0
- package/dist/features/side-bar/footer/profile/ProfileMenu.d.ts +7 -0
- package/dist/features/side-bar/footer/profile/ProfileMenu.js +95 -0
- package/dist/features/side-bar/footer/profile/UserIcon.d.ts +9 -0
- package/dist/features/side-bar/footer/profile/UserIcon.js +33 -0
- package/dist/features/side-bar/footer/settings/DarkModeToggle.d.ts +7 -0
- package/dist/features/side-bar/footer/settings/DarkModeToggle.js +74 -0
- package/dist/features/side-bar/footer/settings/LanguageSelection.d.ts +8 -0
- package/dist/features/side-bar/footer/settings/LanguageSelection.js +75 -0
- package/dist/features/side-bar/footer/settings/SettingsMenu.d.ts +10 -0
- package/dist/features/side-bar/footer/settings/SettingsMenu.js +112 -0
- package/dist/features/side-bar/index.d.ts +7 -0
- package/dist/features/side-bar/index.js +4 -0
- package/dist/features/topBar/index.d.ts +2 -0
- package/dist/features/topBar/index.js +5 -1
- package/dist/index.js +6 -0
- package/dist/translations/en/topBarEn.d.ts +7 -0
- package/dist/translations/en/topBarEn.js +7 -0
- package/dist/translations/fr/topBarFr.d.ts +7 -0
- package/dist/translations/fr/topBarFr.js +7 -0
- package/package.json +1 -1
|
@@ -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';
|
|
@@ -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";
|
|
@@ -604,6 +607,7 @@ export {
|
|
|
604
607
|
AnnouncementBanner,
|
|
605
608
|
AnnouncementNotification,
|
|
606
609
|
AnnouncementSeverity,
|
|
610
|
+
AppSideBar,
|
|
607
611
|
ArrayAction,
|
|
608
612
|
ArrowsInputIcon,
|
|
609
613
|
ArrowsOutputIcon,
|
|
@@ -1264,7 +1268,9 @@ export {
|
|
|
1264
1268
|
UnauthorizedAccessAlert,
|
|
1265
1269
|
UndisplayedFilterNumberComparators,
|
|
1266
1270
|
UniqueNameInput,
|
|
1271
|
+
default5 as UserInformationDialog,
|
|
1267
1272
|
UserManagerMock,
|
|
1273
|
+
default6 as UserSettingsDialog,
|
|
1268
1274
|
VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR,
|
|
1269
1275
|
VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR,
|
|
1270
1276
|
VARIABLE_Q_GENERATORS,
|
|
@@ -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.",
|
|
@@ -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",
|