@gridsuite/commons-ui 0.45.0 → 0.47.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/README.md +0 -17
- package/dist/components/AuthenticationRouter/AuthenticationRouter.js +147 -0
- package/dist/components/CardErrorBoundary/card-error-boundary.js +110 -0
- package/dist/components/ElementSearchDialog/element-search-dialog.js +139 -0
- package/dist/components/ElementSearchDialog/equipment-item.js +77 -0
- package/dist/components/ElementSearchDialog/tag-renderer.js +34 -0
- package/dist/components/FlatParameters/FlatParameters.js +411 -0
- package/dist/components/Login/Login.js +78 -0
- package/dist/components/Login/Logout.js +69 -0
- package/dist/components/MuiVirtualizedTable/ColumnHeader.js +127 -0
- package/dist/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.js +548 -0
- package/dist/components/MuiVirtualizedTable/MuiVirtualizedTable.js +790 -0
- package/dist/components/MultipleSelectionDialog/MultipleSelectionDialog.js +87 -0
- package/dist/components/OverflowableText/overflowable-text.js +87 -0
- package/dist/components/ReportViewer/filter-button.js +64 -0
- package/dist/components/ReportViewer/log-report-item.js +95 -0
- package/dist/components/ReportViewer/log-report.js +49 -0
- package/dist/components/ReportViewer/log-table.js +131 -0
- package/dist/components/ReportViewer/multi-select-list.js +40 -0
- package/dist/components/ReportViewer/report-item.js +112 -0
- package/dist/components/ReportViewer/report-tree-view-context.js +8 -0
- package/dist/components/ReportViewer/report-viewer.js +158 -0
- package/dist/components/ReportViewerDialog/report-viewer-dialog.js +61 -0
- package/dist/components/SignInCallbackHandler/SignInCallbackHandler.js +13 -0
- package/dist/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.js +16 -0
- package/dist/components/SnackbarProvider/SnackbarProvider.js +28 -0
- package/dist/components/TopBar/AboutDialog.js +467 -0
- package/dist/components/TopBar/GridLogo.js +71 -0
- package/dist/components/TopBar/TopBar.js +679 -0
- package/dist/components/TreeViewFinder/TreeViewFinder.js +288 -0
- package/dist/components/react-hook-form/autocomplete-input.js +96 -0
- package/dist/components/react-hook-form/booleans/boolean-input.js +49 -0
- package/dist/components/react-hook-form/booleans/checkbox-input.js +24 -0
- package/dist/components/react-hook-form/booleans/switch-input.js +24 -0
- package/dist/components/react-hook-form/error-management/error-input.js +42 -0
- package/dist/components/react-hook-form/error-management/field-error-alert.js +9 -0
- package/dist/components/react-hook-form/error-management/mid-form-error.js +20 -0
- package/dist/components/react-hook-form/numbers/float-input.js +51 -0
- package/dist/components/react-hook-form/numbers/integer-input.js +36 -0
- package/dist/components/react-hook-form/numbers/utils.js +10 -0
- package/dist/components/react-hook-form/radio-input.js +44 -0
- package/dist/components/react-hook-form/select-input.js +31 -0
- package/dist/components/react-hook-form/slider-input.js +43 -0
- package/dist/components/react-hook-form/text-input.js +94 -0
- package/dist/components/react-hook-form/utils/cancel-button.js +16 -0
- package/dist/components/react-hook-form/utils/field-label.js +12 -0
- package/dist/components/react-hook-form/utils/functions.js +36 -0
- package/dist/components/react-hook-form/utils/submit-button.js +23 -0
- package/dist/components/react-hook-form/utils/text-field-with-adornment.js +96 -0
- package/dist/components/translations/card-error-boundary-en.js +8 -0
- package/dist/components/translations/card-error-boundary-fr.js +8 -0
- package/dist/components/translations/common-button-en.js +7 -0
- package/dist/components/translations/common-button-fr.js +7 -0
- package/dist/components/translations/element-search-en.js +7 -0
- package/dist/components/translations/element-search-fr.js +7 -0
- package/dist/components/translations/equipment-search-en.js +21 -0
- package/dist/components/translations/equipment-search-fr.js +21 -0
- package/dist/components/translations/flat-parameters-en.js +8 -0
- package/dist/components/translations/flat-parameters-fr.js +8 -0
- package/dist/components/translations/login-en.js +14 -0
- package/dist/components/translations/login-fr.js +14 -0
- package/dist/components/translations/multiple-selection-dialog-en.js +8 -0
- package/dist/components/translations/multiple-selection-dialog-fr.js +8 -0
- package/dist/components/translations/report-viewer-en.js +8 -0
- package/dist/components/translations/report-viewer-fr.js +8 -0
- package/dist/components/translations/table-en.js +6 -0
- package/dist/components/translations/table-fr.js +6 -0
- package/dist/components/translations/top-bar-en.js +27 -0
- package/dist/components/translations/top-bar-fr.js +27 -0
- package/dist/components/translations/treeview-finder-en.js +12 -0
- package/dist/components/translations/treeview-finder-fr.js +12 -0
- package/dist/hooks/useDebounce.js +17 -0
- package/{es/components/ElementSearchDialog/index.js → dist/hooks/useIntlRef.d.ts} +2 -2
- package/dist/hooks/useIntlRef.js +13 -0
- package/dist/hooks/useSnackMessage.js +81 -0
- package/dist/index.d.ts +225 -0
- package/dist/index.js +154 -0
- package/dist/utils/AuthService.js +336 -0
- package/dist/utils/ElementType.js +38 -0
- package/dist/utils/EquipmentType.js +132 -0
- package/dist/utils/UserManagerMock.js +85 -0
- package/dist/utils/actions.js +71 -0
- package/dist/utils/algos.js +24 -0
- package/dist/utils/styles.js +13 -0
- package/package.json +36 -21
- package/es/components/AuthenticationRouter/AuthenticationRouter.js +0 -102
- package/es/components/AuthenticationRouter/index.js +0 -7
- package/es/components/CardErrorBoundary/card-error-boundary.js +0 -138
- package/es/components/CardErrorBoundary/index.js +0 -7
- package/es/components/ElementSearchDialog/element-search-dialog.js +0 -153
- package/es/components/ElementSearchDialog/equipment-item.js +0 -63
- package/es/components/ElementSearchDialog/tag-renderer.js +0 -29
- package/es/components/FlatParameters/FlatParameters.js +0 -448
- package/es/components/FlatParameters/index.js +0 -8
- package/es/components/Login/Login.js +0 -79
- package/es/components/Login/Logout.js +0 -78
- package/es/components/Login/index.js +0 -7
- package/es/components/MuiVirtualizedTable/ColumnHeader.js +0 -125
- package/es/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.js +0 -619
- package/es/components/MuiVirtualizedTable/MuiVirtualizedTable.js +0 -780
- package/es/components/MuiVirtualizedTable/index.js +0 -9
- package/es/components/MultipleSelectionDialog/MultipleSelectionDialog.js +0 -95
- package/es/components/MultipleSelectionDialog/index.js +0 -8
- package/es/components/OverflowableText/index.js +0 -7
- package/es/components/OverflowableText/overflowable-text.js +0 -81
- package/es/components/ReportViewer/filter-button.js +0 -77
- package/es/components/ReportViewer/index.js +0 -7
- package/es/components/ReportViewer/log-report-item.js +0 -97
- package/es/components/ReportViewer/log-report.js +0 -63
- package/es/components/ReportViewer/log-table.js +0 -130
- package/es/components/ReportViewer/multi-select-list.js +0 -56
- package/es/components/ReportViewer/report-item.js +0 -131
- package/es/components/ReportViewer/report-tree-view-context.js +0 -13
- package/es/components/ReportViewer/report-viewer.js +0 -167
- package/es/components/ReportViewerDialog/index.js +0 -7
- package/es/components/ReportViewerDialog/report-viewer-dialog.js +0 -67
- package/es/components/SignInCallbackHandler/SignInCallbackHandler.js +0 -19
- package/es/components/SignInCallbackHandler/index.js +0 -7
- package/es/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.js +0 -19
- package/es/components/SilentRenewCallbackHandler/index.js +0 -7
- package/es/components/SnackbarProvider/SnackbarProvider.js +0 -39
- package/es/components/SnackbarProvider/index.js +0 -7
- package/es/components/TopBar/AboutDialog.js +0 -456
- package/es/components/TopBar/GridLogo.js +0 -73
- package/es/components/TopBar/TopBar.js +0 -487
- package/es/components/TopBar/index.js +0 -9
- package/es/components/TreeViewFinder/TreeViewFinder.js +0 -341
- package/es/components/TreeViewFinder/index.js +0 -7
- package/es/components/images/powsybl_logo.svg +0 -35
- package/es/components/react-hook-form/autocomplete-input.js +0 -110
- package/es/components/react-hook-form/booleans/boolean-input.js +0 -56
- package/es/components/react-hook-form/booleans/checkbox-input.js +0 -28
- package/es/components/react-hook-form/booleans/switch-input.js +0 -28
- package/es/components/react-hook-form/error-management/error-input.js +0 -50
- package/es/components/react-hook-form/error-management/field-error-alert.js +0 -22
- package/es/components/react-hook-form/error-management/mid-form-error.js +0 -25
- package/es/components/react-hook-form/numbers/float-input.js +0 -105
- package/es/components/react-hook-form/numbers/integer-input.js +0 -35
- package/es/components/react-hook-form/numbers/utils.js +0 -6
- package/es/components/react-hook-form/radio-input.js +0 -55
- package/es/components/react-hook-form/select-input.js +0 -40
- package/es/components/react-hook-form/slider-input.js +0 -48
- package/es/components/react-hook-form/text-input.js +0 -100
- package/es/components/react-hook-form/utils/cancel-button.js +0 -28
- package/es/components/react-hook-form/utils/field-label.js +0 -15
- package/es/components/react-hook-form/utils/functions.js +0 -42
- package/es/components/react-hook-form/utils/submit-button.js +0 -29
- package/es/components/react-hook-form/utils/text-field-with-adornment.js +0 -92
- package/es/components/translations/card-error-boundary-en.js +0 -13
- package/es/components/translations/card-error-boundary-fr.js +0 -13
- package/es/components/translations/common-button-en.js +0 -12
- package/es/components/translations/common-button-fr.js +0 -12
- package/es/components/translations/element-search-en.js +0 -12
- package/es/components/translations/element-search-fr.js +0 -12
- package/es/components/translations/equipment-search-en.js +0 -26
- package/es/components/translations/equipment-search-fr.js +0 -26
- package/es/components/translations/flat-parameters-en.js +0 -13
- package/es/components/translations/flat-parameters-fr.js +0 -13
- package/es/components/translations/inputs-en.js +0 -25
- package/es/components/translations/inputs-fr.js +0 -25
- package/es/components/translations/login-en.js +0 -19
- package/es/components/translations/login-fr.js +0 -19
- package/es/components/translations/multiple-selection-dialog-en.js +0 -13
- package/es/components/translations/multiple-selection-dialog-fr.js +0 -13
- package/es/components/translations/report-viewer-en.js +0 -13
- package/es/components/translations/report-viewer-fr.js +0 -13
- package/es/components/translations/table-en.js +0 -11
- package/es/components/translations/table-fr.js +0 -11
- package/es/components/translations/top-bar-en.js +0 -32
- package/es/components/translations/top-bar-fr.js +0 -32
- package/es/components/translations/treeview-finder-en.js +0 -17
- package/es/components/translations/treeview-finder-fr.js +0 -17
- package/es/hooks/useDebounce.js +0 -26
- package/es/hooks/useIntlRef.js +0 -22
- package/es/hooks/useSnackMessage.js +0 -81
- package/es/index.js +0 -71
- package/es/utils/AuthService.js +0 -312
- package/es/utils/ElementType.js +0 -49
- package/es/utils/EquipmentType.js +0 -133
- package/es/utils/UserManagerMock.js +0 -81
- package/es/utils/actions.js +0 -65
- package/es/utils/algos.js +0 -29
- package/es/utils/styles.js +0 -35
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2023, 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
|
-
|
|
8
|
-
var common_button_en = {
|
|
9
|
-
cancel: 'Cancel',
|
|
10
|
-
validate: 'Validate'
|
|
11
|
-
};
|
|
12
|
-
export default common_button_en;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2023, 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
|
-
|
|
8
|
-
var common_button_fr = {
|
|
9
|
-
cancel: 'Annuler',
|
|
10
|
-
validate: 'Valider'
|
|
11
|
-
};
|
|
12
|
-
export default common_button_fr;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var element_search_en = {
|
|
9
|
-
'element_search/label': 'Search for an element',
|
|
10
|
-
'element_search/noResult': 'No result'
|
|
11
|
-
};
|
|
12
|
-
export default element_search_en;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var element_search_fr = {
|
|
9
|
-
'element_search/label': 'Rechercher un élément',
|
|
10
|
-
'element_search/noResult': 'Aucun résultat'
|
|
11
|
-
};
|
|
12
|
-
export default element_search_fr;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var equipment_search_en = {
|
|
9
|
-
'equipment_search/label': 'Search for an equipment',
|
|
10
|
-
'equipment_search/switchTag': 'SWITCH',
|
|
11
|
-
'equipment_search/busbarSectionTag': 'BBS',
|
|
12
|
-
'equipment_search/lineTag': 'LINE',
|
|
13
|
-
'equipment_search/2wtTag': '2W TRANSFO',
|
|
14
|
-
'equipment_search/3wtTag': '3W TRANSFO',
|
|
15
|
-
'equipment_search/generatorTag': 'GENERATOR',
|
|
16
|
-
'equipment_search/batteryTag': 'BATTERY',
|
|
17
|
-
'equipment_search/loadTag': 'LOAD',
|
|
18
|
-
'equipment_search/shuntTag': 'SHUNT',
|
|
19
|
-
'equipment_search/svcTag': 'SVC',
|
|
20
|
-
'equipment_search/hvdcLineTag': 'HVDC LINE',
|
|
21
|
-
'equipment_search/hvdcStationTag': 'HVDC STATION',
|
|
22
|
-
'equipment_search/voltageLevelTag': 'VOLTAGE LEVEL',
|
|
23
|
-
'equipment_search/substationTag': 'SUBSTATION',
|
|
24
|
-
'equipment_search/busTag': 'BUS'
|
|
25
|
-
};
|
|
26
|
-
export default equipment_search_en;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var equipment_search_fr = {
|
|
9
|
-
'equipment_search/label': 'Rechercher un ouvrage',
|
|
10
|
-
'equipment_search/switchTag': 'SWITCH',
|
|
11
|
-
'equipment_search/busbarSectionTag': 'SJB',
|
|
12
|
-
'equipment_search/lineTag': 'LIGNE',
|
|
13
|
-
'equipment_search/2wtTag': 'TRANSFO 2E',
|
|
14
|
-
'equipment_search/3wtTag': 'TRANSFO 3E',
|
|
15
|
-
'equipment_search/generatorTag': 'GROUPE',
|
|
16
|
-
'equipment_search/batteryTag': 'BATTERIE',
|
|
17
|
-
'equipment_search/loadTag': 'CONSO',
|
|
18
|
-
'equipment_search/shuntTag': 'MCS',
|
|
19
|
-
'equipment_search/svcTag': 'CSPR',
|
|
20
|
-
'equipment_search/hvdcLineTag': 'LIGNE HVDC',
|
|
21
|
-
'equipment_search/hvdcStationTag': 'STATION HVDC',
|
|
22
|
-
'equipment_search/voltageLevelTag': 'POSTE',
|
|
23
|
-
'equipment_search/substationTag': 'SITE',
|
|
24
|
-
'equipment_search/busTag': 'NOEUD'
|
|
25
|
-
};
|
|
26
|
-
export default equipment_search_fr;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2023, 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
|
-
|
|
8
|
-
var flat_parameters_en = {
|
|
9
|
-
'flat_parameters/none': 'None',
|
|
10
|
-
'flat_parameters/some': 'Some',
|
|
11
|
-
'flat_parameters/all': 'All'
|
|
12
|
-
};
|
|
13
|
-
export default flat_parameters_en;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2023, 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
|
-
|
|
8
|
-
var flat_parameters_fr = {
|
|
9
|
-
'flat_parameters/none': 'Aucune',
|
|
10
|
-
'flat_parameters/some': 'Quelques-unes',
|
|
11
|
-
'flat_parameters/all': 'Toutes'
|
|
12
|
-
};
|
|
13
|
-
export default flat_parameters_fr;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var inputs_en = {
|
|
9
|
-
'inputs/kiki': 'Kylian Mbappe',
|
|
10
|
-
'inputs/ney': 'Neymar',
|
|
11
|
-
'inputs/lapulga': 'Lionel Messi',
|
|
12
|
-
'inputs/ibra': 'Zlatan Ibrahimovic',
|
|
13
|
-
'inputs/float': 'Float',
|
|
14
|
-
'inputs/integer': 'Integer',
|
|
15
|
-
'inputs/radio': 'Radio',
|
|
16
|
-
'inputs/select': 'Select',
|
|
17
|
-
'inputs/slider': 'Slider',
|
|
18
|
-
'inputs/text': 'Text',
|
|
19
|
-
'inputs/autocomplete': 'Autocomplete',
|
|
20
|
-
'inputs/boolean': 'Boolean',
|
|
21
|
-
'inputs/checkbox': 'Checkbox',
|
|
22
|
-
'inputs/switch': 'Switch',
|
|
23
|
-
Optional: 'Optional'
|
|
24
|
-
};
|
|
25
|
-
export default inputs_en;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var inputs_fr = {
|
|
9
|
-
'inputs/kiki': 'Kylian Mbappe',
|
|
10
|
-
'inputs/ney': 'Neymar',
|
|
11
|
-
'inputs/lapulga': 'Lionel Messi',
|
|
12
|
-
'inputs/ibra': 'Zlatan Ibrahimovic',
|
|
13
|
-
'inputs/float': 'Float',
|
|
14
|
-
'inputs/integer': 'Integer',
|
|
15
|
-
'inputs/radio': 'Radio',
|
|
16
|
-
'inputs/select': 'Select',
|
|
17
|
-
'inputs/slider': 'Slider',
|
|
18
|
-
'inputs/text': 'Text',
|
|
19
|
-
'inputs/autocomplete': 'Autocomplete',
|
|
20
|
-
'inputs/boolean': 'Boolean',
|
|
21
|
-
'inputs/checkbox': 'Checkbox',
|
|
22
|
-
'inputs/switch': 'Switch',
|
|
23
|
-
Optional: 'Optional'
|
|
24
|
-
};
|
|
25
|
-
export default inputs_fr;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var login_en = {
|
|
9
|
-
'login/login': 'Login',
|
|
10
|
-
'login/connection': 'Connection',
|
|
11
|
-
'login/unauthorizedAccess': 'Unauthorized access',
|
|
12
|
-
'login/unauthorizedAccessMessage': "The user {userName} isn't granted yet",
|
|
13
|
-
'login/errorInUserValidation': 'Error during user validation',
|
|
14
|
-
'login/errorInUserValidationMessage': 'An unexpected error occured during user validation for {userName}.',
|
|
15
|
-
'login/errorInLogout': 'Error during user logout',
|
|
16
|
-
'login/errorInLogoutMessage': 'An unexpected error occured during user logout for {userName}.',
|
|
17
|
-
'login/logout': 'Logout'
|
|
18
|
-
};
|
|
19
|
-
export default login_en;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var login_fr = {
|
|
9
|
-
'login/login': 'Se connecter',
|
|
10
|
-
'login/connection': 'Connexion',
|
|
11
|
-
'login/unauthorizedAccess': 'Accès non autorisé',
|
|
12
|
-
'login/unauthorizedAccessMessage': "L'utilisateur {userName} n'a pas encore accès à GridSuite",
|
|
13
|
-
'login/errorInUserValidation': "Erreur lors de la validation de l'utilisateur",
|
|
14
|
-
'login/errorInUserValidationMessage': "Une erreur s'est produite pendant la validation de l'utilisateur {userName}.",
|
|
15
|
-
'login/errorInLogout': "Erreur lors de la déconnexion de l'utilisateur",
|
|
16
|
-
'login/errorInLogoutMessage': "Une erreur s'est produite pendant la déconnexion de l'utilisateur {userName}.",
|
|
17
|
-
'login/logout': 'Se déconnecter'
|
|
18
|
-
};
|
|
19
|
-
export default login_fr;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2023, 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
|
-
|
|
8
|
-
var multiple_selection_dialog_en = {
|
|
9
|
-
'multiple_selection_dialog/cancel': 'Cancel',
|
|
10
|
-
'multiple_selection_dialog/validate': 'Validate',
|
|
11
|
-
'multiple_selection_dialog/selectAll': 'Select all'
|
|
12
|
-
};
|
|
13
|
-
export default multiple_selection_dialog_en;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2023, 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
|
-
|
|
8
|
-
var multiple_selection_dialog_fr = {
|
|
9
|
-
'multiple_selection_dialog/cancel': 'Annuler',
|
|
10
|
-
'multiple_selection_dialog/validate': 'Valider',
|
|
11
|
-
'multiple_selection_dialog/selectAll': 'Tout sélectionner'
|
|
12
|
-
};
|
|
13
|
-
export default multiple_selection_dialog_fr;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var report_viewer_en = {
|
|
9
|
-
'report_viewer/close': 'Close',
|
|
10
|
-
'report_viewer/severity': 'Severity',
|
|
11
|
-
'report_viewer/message': 'Message'
|
|
12
|
-
};
|
|
13
|
-
export default report_viewer_en;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var report_viewer_fr = {
|
|
9
|
-
'report_viewer/close': 'Fermer',
|
|
10
|
-
'report_viewer/severity': 'Sévérité',
|
|
11
|
-
'report_viewer/message': 'Message'
|
|
12
|
-
};
|
|
13
|
-
export default report_viewer_fr;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var table_en = {
|
|
9
|
-
'MuiVirtualizedTable/exportCSV': 'Download CSV'
|
|
10
|
-
};
|
|
11
|
-
export default table_en;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var table_fr = {
|
|
9
|
-
'MuiVirtualizedTable/exportCSV': 'Télécharger un CSV'
|
|
10
|
-
};
|
|
11
|
-
export default table_fr;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var top_bar_en = {
|
|
9
|
-
'top-bar/settings': 'Settings',
|
|
10
|
-
'top-bar/logout': 'Logout',
|
|
11
|
-
'top-bar/goFullScreen': 'Full screen',
|
|
12
|
-
'top-bar/exitFullScreen': 'Exit full screen mode',
|
|
13
|
-
'top-bar/about': 'About',
|
|
14
|
-
'top-bar/displayMode': 'Display mode',
|
|
15
|
-
'top-bar/equipmentLabel': 'Equipment label',
|
|
16
|
-
'top-bar/id': 'Id',
|
|
17
|
-
'top-bar/name': 'Name',
|
|
18
|
-
'top-bar/language': 'Language',
|
|
19
|
-
'top-bar/customTheme': 'Custom theme',
|
|
20
|
-
'about-dialog/title': 'About',
|
|
21
|
-
'about-dialog/version': 'Version {version}',
|
|
22
|
-
'about-dialog/alert-running-old-version-msg': 'Running old version.\nSave your work and refresh the application to load the latest version.',
|
|
23
|
-
'about-dialog/license': 'License',
|
|
24
|
-
'about-dialog/modules-section': 'Modules details',
|
|
25
|
-
'about-dialog/label-version': 'Version',
|
|
26
|
-
'about-dialog/label-git-version': 'Tag',
|
|
27
|
-
'about-dialog/label-type': 'Type',
|
|
28
|
-
'about-dialog/module-tooltip-app': 'application',
|
|
29
|
-
'about-dialog/module-tooltip-server': 'server',
|
|
30
|
-
'about-dialog/module-tooltip-other': 'other'
|
|
31
|
-
};
|
|
32
|
-
export default top_bar_en;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var top_bar_fr = {
|
|
9
|
-
'top-bar/settings': 'Paramètres',
|
|
10
|
-
'top-bar/logout': 'Se déconnecter',
|
|
11
|
-
'top-bar/goFullScreen': 'Plein écran',
|
|
12
|
-
'top-bar/exitFullScreen': 'Quitter mode plein écran',
|
|
13
|
-
'top-bar/about': 'À propos',
|
|
14
|
-
'top-bar/displayMode': "Mode d'affichage",
|
|
15
|
-
'top-bar/equipmentLabel': 'Label des ouvrages',
|
|
16
|
-
'top-bar/id': 'Id',
|
|
17
|
-
'top-bar/name': 'Nom',
|
|
18
|
-
'top-bar/language': 'Langue',
|
|
19
|
-
'top-bar/customTheme': 'Choix de theme',
|
|
20
|
-
'about-dialog/title': 'À propos',
|
|
21
|
-
'about-dialog/version': 'Version {version}',
|
|
22
|
-
'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",
|
|
23
|
-
'about-dialog/license': 'Licence',
|
|
24
|
-
'about-dialog/modules-section': 'Détails des modules',
|
|
25
|
-
'about-dialog/label-version': 'Version',
|
|
26
|
-
'about-dialog/label-git-version': 'Tag',
|
|
27
|
-
'about-dialog/label-type': 'Type',
|
|
28
|
-
'about-dialog/module-tooltip-app': 'application',
|
|
29
|
-
'about-dialog/module-tooltip-server': 'serveur',
|
|
30
|
-
'about-dialog/module-tooltip-other': 'autre'
|
|
31
|
-
};
|
|
32
|
-
export default top_bar_fr;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var treeview_finder_en = {
|
|
9
|
-
'treeview_finder/close': 'Close',
|
|
10
|
-
'treeview_finder/validate': 'Validate',
|
|
11
|
-
'treeview_finder/add': 'Add...',
|
|
12
|
-
'treeview_finder/deleteSelection': 'Delete selection',
|
|
13
|
-
'treeview_finder/contentText': '{multiselect, select, true {Please choose one or more element(s).} false {Please choose one element.} other {}}',
|
|
14
|
-
'treeview_finder/finderTitle': '{multiselect, select, true {Please choose one or more element(s).} false {Please choose one element.} other {}}',
|
|
15
|
-
'treeview_finder/addElementsValidation': '{nbElements, plural, =0 {Please select an element} =1 {Add this element} other{Add # elements}}'
|
|
16
|
-
};
|
|
17
|
-
export default treeview_finder_en;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
var treeview_finder_fr = {
|
|
9
|
-
'treeview_finder/close': 'Fermer',
|
|
10
|
-
'treeview_finder/validate': 'Valider',
|
|
11
|
-
'treeview_finder/add': 'Ajouter...',
|
|
12
|
-
'treeview_finder/deleteSelection': 'Supprimer la selection',
|
|
13
|
-
'treeview_finder/contentText': '{multiselect, select, true {Veuillez choisir un ou plusieurs éléments.} false {Veuillez choisir un élément.} other {}}',
|
|
14
|
-
'treeview_finder/finderTitle': '{multiselect, select, true {Veuillez choisir un ou plusieurs éléments.} false {Veuillez choisir un élément.} other {}}',
|
|
15
|
-
'treeview_finder/addElementsValidation': '{nbElements, plural, =0 {Veuillez sélectionner un élément} =1 {Ajouter cet élément} other {Ajouter # éléments}}'
|
|
16
|
-
};
|
|
17
|
-
export default treeview_finder_fr;
|
package/es/hooks/useDebounce.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2023, 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
|
-
|
|
8
|
-
import { useEffect, useMemo } from 'react';
|
|
9
|
-
import { debounce } from '@mui/material/utils';
|
|
10
|
-
export var useDebounce = function useDebounce(func, delay) {
|
|
11
|
-
if (delay === void 0) {
|
|
12
|
-
delay = 700;
|
|
13
|
-
}
|
|
14
|
-
var debouncedChangeHandler = useMemo(function () {
|
|
15
|
-
return debounce(func, delay);
|
|
16
|
-
}, [func, delay]);
|
|
17
|
-
|
|
18
|
-
// Stop the invocation of the debounced function after unmounting
|
|
19
|
-
|
|
20
|
-
useEffect(function () {
|
|
21
|
-
return function () {
|
|
22
|
-
debouncedChangeHandler.clear();
|
|
23
|
-
};
|
|
24
|
-
}, [debouncedChangeHandler]);
|
|
25
|
-
return debouncedChangeHandler;
|
|
26
|
-
};
|
package/es/hooks/useIntlRef.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2021, 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
|
-
|
|
8
|
-
import { useEffect, useRef } from 'react';
|
|
9
|
-
import { useIntl } from 'react-intl';
|
|
10
|
-
|
|
11
|
-
//This useEffect must be at the beginning to be executed before other useEffects which use intlRef.
|
|
12
|
-
//This ref is used to avoid redoing other useEffects when the language (intl) is changed for things that produce temporary messages using the snackbar.
|
|
13
|
-
//The drawback to this custom hook is that a ref and a useEffect are created in each component that needs this hook.
|
|
14
|
-
//Can we avoid this overhead ?
|
|
15
|
-
export function useIntlRef() {
|
|
16
|
-
var intl = useIntl();
|
|
17
|
-
var intlRef = useRef();
|
|
18
|
-
useEffect(function () {
|
|
19
|
-
intlRef.current = intl;
|
|
20
|
-
}, [intl]);
|
|
21
|
-
return intlRef;
|
|
22
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2021, 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
|
-
|
|
8
|
-
import { useCallback } from 'react';
|
|
9
|
-
import { useSnackbar } from 'notistack';
|
|
10
|
-
import { useIntlRef } from './useIntlRef';
|
|
11
|
-
export function useSnackMessage() {
|
|
12
|
-
var intlRef = useIntlRef();
|
|
13
|
-
var _useSnackbar = useSnackbar(),
|
|
14
|
-
enqueueSnackbar = _useSnackbar.enqueueSnackbar;
|
|
15
|
-
|
|
16
|
-
/*
|
|
17
|
-
There is two kind of messages : the message itself (bottom of snackbar), and the header (top of snackbar).
|
|
18
|
-
As inputs, you can give either a text message, or an ID with optional values (for translation with intl).
|
|
19
|
-
snackInputs: {
|
|
20
|
-
messageTxt,
|
|
21
|
-
messageId,
|
|
22
|
-
messageValues,
|
|
23
|
-
headerTxt,
|
|
24
|
-
headerId,
|
|
25
|
-
headerValues,
|
|
26
|
-
}
|
|
27
|
-
*/
|
|
28
|
-
var snackError = useCallback(function (snackInputs) {
|
|
29
|
-
return makeSnackbar(snackInputs, intlRef, enqueueSnackbar, 'error', true);
|
|
30
|
-
}, [enqueueSnackbar, intlRef]);
|
|
31
|
-
|
|
32
|
-
/* see snackError */
|
|
33
|
-
var snackWarning = useCallback(function (snackInputs) {
|
|
34
|
-
return makeSnackbar(snackInputs, intlRef, enqueueSnackbar, 'warning', true);
|
|
35
|
-
}, [enqueueSnackbar, intlRef]);
|
|
36
|
-
|
|
37
|
-
/* see snackError */
|
|
38
|
-
var snackInfo = useCallback(function (snackInputs) {
|
|
39
|
-
return makeSnackbar(snackInputs, intlRef, enqueueSnackbar, 'info', false);
|
|
40
|
-
}, [enqueueSnackbar, intlRef]);
|
|
41
|
-
return {
|
|
42
|
-
snackError: snackError,
|
|
43
|
-
snackInfo: snackInfo,
|
|
44
|
-
snackWarning: snackWarning
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function makeSnackbar(snackInputs, intlRef, enqueueSnackbar, level, persistent) {
|
|
48
|
-
var message = checkAndTranslateIfNecessary(snackInputs.messageTxt, snackInputs.messageId, snackInputs.messageValues, intlRef);
|
|
49
|
-
var header = checkAndTranslateIfNecessary(snackInputs.headerTxt, snackInputs.headerId, snackInputs.headerValues, intlRef);
|
|
50
|
-
displayMessageWithSnackbar(message, header, enqueueSnackbar, level, persistent);
|
|
51
|
-
}
|
|
52
|
-
function checkAndTranslateIfNecessary(txt, id, values, intlRef) {
|
|
53
|
-
checkInputs(txt, id, values);
|
|
54
|
-
return txt !== null && txt !== void 0 ? txt : id ? intlRef.current.formatMessage({
|
|
55
|
-
id: id
|
|
56
|
-
}, values) : null;
|
|
57
|
-
}
|
|
58
|
-
function checkInputs(txt, id, values) {
|
|
59
|
-
if (txt && (id || values)) {
|
|
60
|
-
console.warn('Snack inputs should be [*Txt] OR [*Id, *Values]');
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
function displayMessageWithSnackbar(message, header, enqueueSnackbar, level, persistent) {
|
|
64
|
-
var fullMessage = '';
|
|
65
|
-
if (header) {
|
|
66
|
-
fullMessage += header;
|
|
67
|
-
}
|
|
68
|
-
if (message) {
|
|
69
|
-
if (header) {
|
|
70
|
-
fullMessage += '\n\n';
|
|
71
|
-
}
|
|
72
|
-
fullMessage += message;
|
|
73
|
-
}
|
|
74
|
-
enqueueSnackbar(fullMessage, {
|
|
75
|
-
variant: level,
|
|
76
|
-
persist: persistent,
|
|
77
|
-
style: {
|
|
78
|
-
whiteSpace: 'pre-line'
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}
|
package/es/index.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, 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
|
-
|
|
8
|
-
export { default as TreeViewFinder } from './components/TreeViewFinder';
|
|
9
|
-
export { default as TopBar } from './components/TopBar';
|
|
10
|
-
export { default as AboutDialog } from './components/TopBar/AboutDialog';
|
|
11
|
-
export { default as SnackbarProvider } from './components/SnackbarProvider';
|
|
12
|
-
export { default as AuthenticationRouter } from './components/AuthenticationRouter';
|
|
13
|
-
export { default as MuiVirtualizedTable } from './components/MuiVirtualizedTable';
|
|
14
|
-
export { KeyedColumnsRowIndexer, CHANGE_WAYS } from './components/MuiVirtualizedTable';
|
|
15
|
-
export { default as ReportViewer } from './components/ReportViewer';
|
|
16
|
-
export { default as ReportViewerDialog } from './components/ReportViewerDialog';
|
|
17
|
-
export { default as OverflowableText } from './components/OverflowableText';
|
|
18
|
-
export { default as ElementSearchDialog } from './components/ElementSearchDialog';
|
|
19
|
-
export { default as FlatParameters } from './components/FlatParameters';
|
|
20
|
-
export { default as MultipleSelectionDialog } from './components/MultipleSelectionDialog';
|
|
21
|
-
export { EQUIPMENT_TYPE, getEquipmentsInfosForSearchBar, equipmentStyles } from './utils/EquipmentType';
|
|
22
|
-
export { initializeAuthenticationDev, initializeAuthenticationProd, logout, dispatchUser, getPreLoginPath } from './utils/AuthService';
|
|
23
|
-
export { elementType, getFileIcon } from './utils/ElementType';
|
|
24
|
-
export { DEFAULT_CELL_PADDING, DEFAULT_HEADER_HEIGHT, DEFAULT_ROW_HEIGHT } from './components/MuiVirtualizedTable/MuiVirtualizedTable';
|
|
25
|
-
export { DARK_THEME, LIGHT_THEME, LANG_SYSTEM, LANG_ENGLISH, LANG_FRENCH } from './components/TopBar/TopBar';
|
|
26
|
-
export { USER, setLoggedUser, SIGNIN_CALLBACK_ERROR, setSignInCallbackError, UNAUTHORIZED_USER_INFO, LOGOUT_ERROR, USER_VALIDATION_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN } from './utils/actions';
|
|
27
|
-
export { default as report_viewer_en } from './components/translations/report-viewer-en';
|
|
28
|
-
export { default as report_viewer_fr } from './components/translations/report-viewer-fr';
|
|
29
|
-
export { default as login_en } from './components/translations/login-en';
|
|
30
|
-
export { default as login_fr } from './components/translations/login-fr';
|
|
31
|
-
export { default as top_bar_en } from './components/translations/top-bar-en';
|
|
32
|
-
export { default as top_bar_fr } from './components/translations/top-bar-fr';
|
|
33
|
-
export { default as table_en } from './components/translations/table-en';
|
|
34
|
-
export { default as table_fr } from './components/translations/table-fr';
|
|
35
|
-
export { default as treeview_finder_en } from './components/translations/treeview-finder-en';
|
|
36
|
-
export { default as treeview_finder_fr } from './components/translations/treeview-finder-fr';
|
|
37
|
-
export { default as element_search_en } from './components/translations/element-search-en';
|
|
38
|
-
export { default as element_search_fr } from './components/translations/element-search-fr';
|
|
39
|
-
export { default as equipment_search_en } from './components/translations/equipment-search-en';
|
|
40
|
-
export { default as equipment_search_fr } from './components/translations/equipment-search-fr';
|
|
41
|
-
export { default as card_error_boundary_en } from './components/translations/card-error-boundary-en';
|
|
42
|
-
export { default as card_error_boundary_fr } from './components/translations/card-error-boundary-fr';
|
|
43
|
-
export { default as flat_parameters_en } from './components/translations/flat-parameters-en';
|
|
44
|
-
export { default as flat_parameters_fr } from './components/translations/flat-parameters-fr';
|
|
45
|
-
export { default as multiple_selection_dialog_en } from './components/translations/multiple-selection-dialog-en';
|
|
46
|
-
export { default as multiple_selection_dialog_fr } from './components/translations/multiple-selection-dialog-fr';
|
|
47
|
-
export { default as common_button_en } from './components/translations/common-button-en';
|
|
48
|
-
export { default as common_button_fr } from './components/translations/common-button-fr';
|
|
49
|
-
export { TagRenderer } from './components/ElementSearchDialog';
|
|
50
|
-
export { EquipmentItem } from './components/ElementSearchDialog/equipment-item';
|
|
51
|
-
export { default as CardErrorBoundary } from './components/CardErrorBoundary';
|
|
52
|
-
export { useIntlRef } from './hooks/useIntlRef';
|
|
53
|
-
export { useSnackMessage } from './hooks/useSnackMessage';
|
|
54
|
-
export { useDebounce } from './hooks/useDebounce';
|
|
55
|
-
export { default as AutocompleteInput } from './components/react-hook-form/autocomplete-input';
|
|
56
|
-
export { default as TextInput } from './components/react-hook-form/text-input';
|
|
57
|
-
export { default as RadioInput } from './components/react-hook-form/radio-input';
|
|
58
|
-
export { default as SliderInput } from './components/react-hook-form/slider-input';
|
|
59
|
-
export { default as FloatInput } from './components/react-hook-form/numbers/float-input';
|
|
60
|
-
export { default as IntegerInput } from './components/react-hook-form/numbers/integer-input';
|
|
61
|
-
export { default as SelectInput } from './components/react-hook-form/select-input';
|
|
62
|
-
export { default as CheckboxInput } from './components/react-hook-form/booleans/checkbox-input';
|
|
63
|
-
export { default as SwitchInput } from './components/react-hook-form/booleans/switch-input';
|
|
64
|
-
export { default as ErrorInput } from './components/react-hook-form/error-management/error-input';
|
|
65
|
-
export { default as FieldErrorAlert } from './components/react-hook-form/error-management/field-error-alert';
|
|
66
|
-
export { default as MidFormError } from './components/react-hook-form/error-management/mid-form-error';
|
|
67
|
-
export { default as TextFieldWithAdornment } from './components/react-hook-form/utils/text-field-with-adornment';
|
|
68
|
-
export { default as FieldLabel } from './components/react-hook-form/utils/field-label';
|
|
69
|
-
export { default as SubmitButton } from './components/react-hook-form/utils/submit-button';
|
|
70
|
-
export { default as CancelButton } from './components/react-hook-form/utils/cancel-button';
|
|
71
|
-
export { genHelperPreviousValue, genHelperError, identity, isFieldRequired } from './components/react-hook-form/utils/functions';
|