@gridsuite/commons-ui 0.31.0 → 0.32.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/lib/components/AuthenticationRouter/AuthenticationRouter.js +7 -22
- package/lib/components/AuthenticationRouter/index.js +0 -4
- package/lib/components/CardErrorBoundary/card-error-boundary.js +13 -39
- package/lib/components/CardErrorBoundary/index.js +0 -4
- package/lib/components/ElementSearchDialog/element-search-dialog.js +18 -29
- package/lib/components/ElementSearchDialog/equipment-item.js +12 -22
- package/lib/components/ElementSearchDialog/index.js +0 -5
- package/lib/components/ElementSearchDialog/tag-renderer.js +8 -13
- package/lib/components/FlatParameters/FlatParameters.js +312 -0
- package/lib/components/FlatParameters/index.js +8 -0
- package/lib/components/Login/Login.js +2 -17
- package/lib/components/Login/Logout.js +2 -17
- package/lib/components/Login/index.js +0 -4
- package/lib/components/MuiVirtualizedTable/ColumnHeader.js +18 -32
- package/lib/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.js +104 -153
- package/lib/components/MuiVirtualizedTable/MuiVirtualizedTable.js +63 -189
- package/lib/components/MuiVirtualizedTable/index.js +0 -5
- package/lib/components/OverflowableText/index.js +0 -4
- package/lib/components/OverflowableText/overflowable-text.js +15 -25
- package/lib/components/ReportViewer/index.js +0 -4
- package/lib/components/ReportViewer/log-report-item.js +11 -22
- package/lib/components/ReportViewer/log-report.js +0 -17
- package/lib/components/ReportViewer/log-table.js +7 -28
- package/lib/components/ReportViewer/report-item.js +9 -22
- package/lib/components/ReportViewer/report-tree-view-context.js +1 -4
- package/lib/components/ReportViewer/report-viewer.js +18 -47
- package/lib/components/ReportViewerDialog/index.js +0 -4
- package/lib/components/ReportViewerDialog/report-viewer-dialog.js +6 -25
- package/lib/components/SignInCallbackHandler/SignInCallbackHandler.js +2 -6
- package/lib/components/SignInCallbackHandler/index.js +0 -4
- package/lib/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.js +2 -6
- package/lib/components/SilentRenewCallbackHandler/index.js +0 -4
- package/lib/components/SnackbarProvider/SnackbarProvider.js +6 -10
- package/lib/components/SnackbarProvider/index.js +0 -4
- package/lib/components/TopBar/TopBar.js +38 -101
- package/lib/components/TopBar/index.js +0 -4
- package/lib/components/TreeViewFinder/TreeViewFinder.js +73 -84
- package/lib/components/TreeViewFinder/index.js +0 -4
- package/lib/components/translations/card-error-boundary-en.js +1 -1
- package/lib/components/translations/card-error-boundary-fr.js +1 -1
- package/lib/components/translations/element-search-en.js +1 -1
- package/lib/components/translations/element-search-fr.js +1 -1
- package/lib/components/translations/equipment-search-en.js +1 -1
- package/lib/components/translations/equipment-search-fr.js +2 -2
- package/lib/components/translations/login-en.js +1 -1
- package/lib/components/translations/login-fr.js +1 -1
- package/lib/components/translations/report-viewer-en.js +1 -1
- package/lib/components/translations/report-viewer-fr.js +1 -1
- package/lib/components/translations/table-en.js +1 -1
- package/lib/components/translations/table-fr.js +1 -1
- package/lib/components/translations/top-bar-en.js +1 -1
- package/lib/components/translations/top-bar-fr.js +2 -2
- package/lib/components/translations/treeview-finder-en.js +1 -1
- package/lib/components/translations/treeview-finder-fr.js +1 -1
- package/lib/hooks/useImportExportParams.js +126 -168
- package/lib/hooks/useIntlRef.js +1 -3
- package/lib/hooks/useSnackMessage.js +5 -18
- package/lib/index.js +5 -76
- package/lib/utils/AuthService.js +14 -49
- package/lib/utils/ElementType.js +5 -15
- package/lib/utils/EquipmentType.js +3 -7
- package/lib/utils/UserManagerMock.js +8 -23
- package/lib/utils/actions.js +1 -14
- package/lib/utils/algos.js +13 -7
- package/package.json +5 -2
|
@@ -2,51 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
-
|
|
8
6
|
var _reactIntl = require("react-intl");
|
|
9
|
-
|
|
10
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
8
|
var _withStyles = _interopRequireDefault(require("@mui/styles/withStyles"));
|
|
13
|
-
|
|
14
9
|
var _Dialog = _interopRequireDefault(require("@mui/material/Dialog"));
|
|
15
|
-
|
|
16
10
|
var _DialogActions = _interopRequireDefault(require("@mui/material/DialogActions"));
|
|
17
|
-
|
|
18
11
|
var _DialogContent = _interopRequireDefault(require("@mui/material/DialogContent"));
|
|
19
|
-
|
|
20
12
|
var _DialogContentText = _interopRequireDefault(require("@mui/material/DialogContentText"));
|
|
21
|
-
|
|
22
13
|
var _DialogTitle = _interopRequireDefault(require("@mui/material/DialogTitle"));
|
|
23
|
-
|
|
24
14
|
var _Button = _interopRequireDefault(require("@mui/material/Button"));
|
|
25
|
-
|
|
26
15
|
var _TreeItem = _interopRequireDefault(require("@mui/lab/TreeItem"));
|
|
27
|
-
|
|
28
16
|
var _TreeView = _interopRequireDefault(require("@mui/lab/TreeView"));
|
|
29
|
-
|
|
30
17
|
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
31
|
-
|
|
32
18
|
var _ExpandMore = _interopRequireDefault(require("@mui/icons-material/ExpandMore"));
|
|
33
|
-
|
|
34
19
|
var _ChevronRight = _interopRequireDefault(require("@mui/icons-material/ChevronRight"));
|
|
35
|
-
|
|
36
20
|
var _Check = _interopRequireDefault(require("@mui/icons-material/Check"));
|
|
37
|
-
|
|
38
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
39
|
-
|
|
40
22
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
41
|
-
|
|
42
23
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
43
|
-
|
|
44
24
|
/**
|
|
45
25
|
* Copyright (c) 2021, RTE (http://www.rte-france.com)
|
|
46
26
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
47
27
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
48
28
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
49
29
|
*/
|
|
30
|
+
|
|
50
31
|
var defaultStyles = {
|
|
51
32
|
dialogPaper: {
|
|
52
33
|
minWidth: '50%'
|
|
@@ -68,6 +49,7 @@ var defaultStyles = {
|
|
|
68
49
|
},
|
|
69
50
|
icon: {}
|
|
70
51
|
};
|
|
52
|
+
|
|
71
53
|
/**
|
|
72
54
|
* This callback type is called `onTreeBrowseCallback` and is displayed as a global symbol.
|
|
73
55
|
*
|
|
@@ -100,39 +82,35 @@ var defaultStyles = {
|
|
|
100
82
|
* @param {Boolean} [onlyLeaves=true] - Allow/Forbid selection only on leaves
|
|
101
83
|
* @param {Boolean} [multiselect=false] - Allow/Forbid multiselection on Tree
|
|
102
84
|
*/
|
|
103
|
-
|
|
104
85
|
var TreeViewFinder = function TreeViewFinder(props) {
|
|
105
86
|
var intl = (0, _reactIntl.useIntl)();
|
|
106
87
|
var classes = props.classes,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
88
|
+
title = props.title,
|
|
89
|
+
contentText = props.contentText,
|
|
90
|
+
open = props.open,
|
|
91
|
+
data = props.data,
|
|
92
|
+
defaultExpanded = props.defaultExpanded,
|
|
93
|
+
defaultSelected = props.defaultSelected,
|
|
94
|
+
_onClose = props.onClose,
|
|
95
|
+
onTreeBrowse = props.onTreeBrowse,
|
|
96
|
+
validationButtonText = props.validationButtonText,
|
|
97
|
+
onlyLeaves = props.onlyLeaves,
|
|
98
|
+
multiselect = props.multiselect,
|
|
99
|
+
sortMethod = props.sortMethod;
|
|
120
100
|
var _useState = (0, _react.useState)({}),
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
101
|
+
mapPrintedNodes = _useState[0],
|
|
102
|
+
setMapPrintedNodes = _useState[1];
|
|
124
103
|
|
|
104
|
+
// Controlled expanded for TreeView
|
|
125
105
|
var _useState2 = (0, _react.useState)(defaultExpanded),
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
106
|
+
expanded = _useState2[0],
|
|
107
|
+
setExpanded = _useState2[1];
|
|
108
|
+
// Controlled selected for TreeView
|
|
130
109
|
var _useState3 = (0, _react.useState)(defaultSelected),
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
/* Utilities */
|
|
134
|
-
|
|
110
|
+
selected = _useState3[0],
|
|
111
|
+
setSelected = _useState3[1];
|
|
135
112
|
|
|
113
|
+
/* Utilities */
|
|
136
114
|
var isSelectable = function isSelectable(node) {
|
|
137
115
|
return onlyLeaves ? isLeaf(node) : true; // otherwise everything is selectable
|
|
138
116
|
};
|
|
@@ -140,16 +118,18 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
140
118
|
var isLeaf = function isLeaf(node) {
|
|
141
119
|
return node && node.children === undefined;
|
|
142
120
|
};
|
|
143
|
-
|
|
144
121
|
var computeMapPrintedNodes = (0, _react.useCallback)(function (nodes) {
|
|
145
122
|
var newMapPrintedNodes = {};
|
|
146
123
|
nodes.forEach(function (node) {
|
|
147
124
|
newMapPrintedNodes[node.id] = node;
|
|
148
|
-
if (!isLeaf(node))
|
|
125
|
+
if (!isLeaf(node)) {
|
|
126
|
+
Object.assign(newMapPrintedNodes, computeMapPrintedNodes(node.children));
|
|
127
|
+
}
|
|
149
128
|
});
|
|
150
129
|
return newMapPrintedNodes;
|
|
151
|
-
}, []);
|
|
130
|
+
}, []);
|
|
152
131
|
|
|
132
|
+
// Effects
|
|
153
133
|
(0, _react.useEffect)(function () {
|
|
154
134
|
// compute all mapPrintedNodes here from data prop
|
|
155
135
|
// if data changes in current expanded nodes
|
|
@@ -157,13 +137,11 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
157
137
|
console.debug('data updated, new mapPrintedNodes (nbNodes = ', Object.keys(newMapPrintedNodes).length, ') : ', newMapPrintedNodes);
|
|
158
138
|
setMapPrintedNodes(newMapPrintedNodes);
|
|
159
139
|
}, [data, computeMapPrintedNodes]);
|
|
160
|
-
|
|
161
140
|
var computeSelectedNodes = function computeSelectedNodes() {
|
|
162
141
|
return selected.map(function (nodeId) {
|
|
163
142
|
return mapPrintedNodes[nodeId];
|
|
164
143
|
});
|
|
165
144
|
};
|
|
166
|
-
|
|
167
145
|
var handleNodeToggle = function handleNodeToggle(e, nodeIds) {
|
|
168
146
|
// onTreeBrowse proc only on last node clicked and only when expanded
|
|
169
147
|
nodeIds.every(function (nodeId) {
|
|
@@ -175,11 +153,11 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
175
153
|
|
|
176
154
|
return true;
|
|
177
155
|
});
|
|
178
|
-
setExpanded(nodeIds);
|
|
156
|
+
setExpanded(nodeIds);
|
|
157
|
+
// will proc onNodeSelect then ...
|
|
179
158
|
};
|
|
180
|
-
/* User Interaction management */
|
|
181
|
-
|
|
182
159
|
|
|
160
|
+
/* User Interaction management */
|
|
183
161
|
var handleNodeSelect = function handleNodeSelect(e, values) {
|
|
184
162
|
// Default management
|
|
185
163
|
if (multiselect) {
|
|
@@ -188,31 +166,46 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
188
166
|
}));
|
|
189
167
|
} else {
|
|
190
168
|
// Toggle selection to allow unselection
|
|
191
|
-
if (selected.includes(values))
|
|
169
|
+
if (selected.includes(values)) {
|
|
170
|
+
setSelected([]);
|
|
171
|
+
} else {
|
|
172
|
+
setSelected(isSelectable(mapPrintedNodes[values]) ? [values] : []);
|
|
173
|
+
}
|
|
192
174
|
}
|
|
193
175
|
};
|
|
194
|
-
/* Render utilities */
|
|
195
|
-
|
|
196
176
|
|
|
177
|
+
/* Render utilities */
|
|
197
178
|
var getValidationButtonText = function getValidationButtonText() {
|
|
198
|
-
if (validationButtonText)
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
|
|
179
|
+
if (validationButtonText) {
|
|
180
|
+
return validationButtonText;
|
|
181
|
+
} else {
|
|
182
|
+
return intl.formatMessage({
|
|
183
|
+
id: 'treeview_finder/addElementsValidation'
|
|
184
|
+
}, {
|
|
185
|
+
nbElements: selected.length
|
|
186
|
+
});
|
|
187
|
+
}
|
|
203
188
|
};
|
|
204
|
-
|
|
205
189
|
var getNodeIcon = function getNodeIcon(node) {
|
|
206
|
-
if (!node)
|
|
190
|
+
if (!node) {
|
|
191
|
+
return null;
|
|
192
|
+
}
|
|
207
193
|
if (isSelectable(node) && selected.find(function (nodeId) {
|
|
208
194
|
return nodeId === node.id;
|
|
209
|
-
}))
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
195
|
+
})) {
|
|
196
|
+
return /*#__PURE__*/_react["default"].createElement(_Check["default"], {
|
|
197
|
+
className: classes.labelIcon
|
|
198
|
+
});
|
|
199
|
+
} else {
|
|
200
|
+
if (node.icon) {
|
|
201
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
202
|
+
className: classes.labelIcon
|
|
203
|
+
}, node.icon);
|
|
204
|
+
} else {
|
|
205
|
+
return null;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
214
208
|
};
|
|
215
|
-
|
|
216
209
|
var renderTreeItemLabel = function renderTreeItemLabel(node) {
|
|
217
210
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
218
211
|
className: classes.labelRoot
|
|
@@ -220,14 +213,14 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
220
213
|
className: classes.labelText
|
|
221
214
|
}, node.name));
|
|
222
215
|
};
|
|
223
|
-
|
|
224
216
|
var showChevron = function showChevron(node) {
|
|
225
217
|
// by defaut show Chevron if childrenCount is null or undefined otherwise only if > 0
|
|
226
218
|
return !!(node.childrenCount == null || node.childrenCount && node.childrenCount > 0);
|
|
227
219
|
};
|
|
228
|
-
|
|
229
220
|
var renderTree = function renderTree(node) {
|
|
230
|
-
if (!node)
|
|
221
|
+
if (!node) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
231
224
|
return /*#__PURE__*/_react["default"].createElement(_TreeItem["default"], {
|
|
232
225
|
key: node.id,
|
|
233
226
|
nodeId: node.id,
|
|
@@ -243,13 +236,11 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
243
236
|
}) : [false] // Pass non empty Array here to simulate a child then this node isn't considered as a leaf.
|
|
244
237
|
: null);
|
|
245
238
|
};
|
|
246
|
-
|
|
247
239
|
return /*#__PURE__*/_react["default"].createElement(_Dialog["default"], {
|
|
248
240
|
open: open,
|
|
249
241
|
onClose: function onClose(e, r) {
|
|
250
242
|
if (r === 'escapeKeyDown' || r === 'backdropClick') {
|
|
251
243
|
_onClose([]);
|
|
252
|
-
|
|
253
244
|
setSelected([]);
|
|
254
245
|
}
|
|
255
246
|
},
|
|
@@ -267,13 +258,16 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
267
258
|
id: 'treeview_finder/contentText'
|
|
268
259
|
}, {
|
|
269
260
|
multiselect: multiselect
|
|
270
|
-
})), /*#__PURE__*/_react["default"].createElement(_TreeView["default"]
|
|
261
|
+
})), /*#__PURE__*/_react["default"].createElement(_TreeView["default"]
|
|
262
|
+
// Controlled props
|
|
271
263
|
, {
|
|
272
264
|
expanded: expanded,
|
|
273
|
-
selected: selected
|
|
265
|
+
selected: selected
|
|
266
|
+
// events
|
|
274
267
|
,
|
|
275
268
|
onNodeToggle: handleNodeToggle,
|
|
276
|
-
onNodeSelect: handleNodeSelect
|
|
269
|
+
onNodeSelect: handleNodeSelect
|
|
270
|
+
// Uncontrolled props
|
|
277
271
|
,
|
|
278
272
|
multiSelect: multiselect
|
|
279
273
|
}, data && Array.isArray(data) ? data.sort(sortMethod).map(function (child) {
|
|
@@ -286,7 +280,6 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
286
280
|
},
|
|
287
281
|
onClick: function onClick() {
|
|
288
282
|
_onClose([]);
|
|
289
|
-
|
|
290
283
|
setSelected([]);
|
|
291
284
|
}
|
|
292
285
|
}, /*#__PURE__*/_react["default"].createElement(_reactIntl.FormattedMessage, {
|
|
@@ -299,15 +292,13 @@ var TreeViewFinder = function TreeViewFinder(props) {
|
|
|
299
292
|
},
|
|
300
293
|
onClick: function onClick() {
|
|
301
294
|
_onClose(computeSelectedNodes());
|
|
302
|
-
|
|
303
295
|
setSelected([]);
|
|
304
296
|
},
|
|
305
297
|
disabled: selected.length === 0
|
|
306
298
|
}, getValidationButtonText())));
|
|
307
299
|
};
|
|
308
|
-
/* TreeViewFinder props list */
|
|
309
|
-
|
|
310
300
|
|
|
301
|
+
/* TreeViewFinder props list */
|
|
311
302
|
TreeViewFinder.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
312
303
|
// Controlled
|
|
313
304
|
open: _propTypes["default"].bool.isRequired,
|
|
@@ -329,8 +320,8 @@ TreeViewFinder.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
329
320
|
multiselect: _propTypes["default"].bool,
|
|
330
321
|
sortMethod: _propTypes["default"].func
|
|
331
322
|
} : {};
|
|
332
|
-
/* TreeViewFinder props default values */
|
|
333
323
|
|
|
324
|
+
/* TreeViewFinder props default values */
|
|
334
325
|
TreeViewFinder.defaultProps = {
|
|
335
326
|
defaultSelected: [],
|
|
336
327
|
defaultExpanded: [],
|
|
@@ -338,8 +329,6 @@ TreeViewFinder.defaultProps = {
|
|
|
338
329
|
multiselect: false,
|
|
339
330
|
sortMethod: undefined
|
|
340
331
|
};
|
|
341
|
-
|
|
342
332
|
var _default = (0, _withStyles["default"])(defaultStyles)(TreeViewFinder);
|
|
343
|
-
|
|
344
333
|
exports["default"] = _default;
|
|
345
334
|
module.exports = exports.default;
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
var _TreeViewFinder = _interopRequireDefault(require("./TreeViewFinder"));
|
|
7
|
-
|
|
8
6
|
exports["default"] = _TreeViewFinder["default"];
|
|
9
|
-
|
|
10
7
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
8
|
module.exports = exports.default;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var card_error_boundary_en = {
|
|
13
13
|
'card_error_boundary/title': 'Sorry, unexpected error :(',
|
|
14
14
|
'card_error_boundary/content': 'Please reload, or close and reopen this application, or contact support.',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var card_error_boundary_fr = {
|
|
13
13
|
'card_error_boundary/title': 'Désolé, erreur inattendue :(',
|
|
14
14
|
'card_error_boundary/content': 'Veuillez recharger, ou fermer et réouvrir cette application, ou contacter le support.',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var element_search_en = {
|
|
13
13
|
'element_search/label': 'Search for an element',
|
|
14
14
|
'element_search/noResult': 'No result'
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var element_search_fr = {
|
|
13
13
|
'element_search/label': 'Rechercher un élément',
|
|
14
14
|
'element_search/noResult': 'Aucun résultat'
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var equipment_search_en = {
|
|
13
13
|
'equipment_search/label': 'Search for an equipment',
|
|
14
14
|
'equipment_search/switchTag': 'SWITCH',
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var equipment_search_fr = {
|
|
13
|
-
'equipment_search/label': 'Rechercher un
|
|
13
|
+
'equipment_search/label': 'Rechercher un ouvrage',
|
|
14
14
|
'equipment_search/switchTag': 'SWITCH',
|
|
15
15
|
'equipment_search/busbarSectionTag': 'SJB',
|
|
16
16
|
'equipment_search/lineTag': 'LIGNE',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var login_en = {
|
|
13
13
|
'login/login': 'Login',
|
|
14
14
|
'login/connection': 'Connection',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var login_fr = {
|
|
13
13
|
'login/login': 'Se connecter',
|
|
14
14
|
'login/connection': 'Connexion',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var report_viewer_en = {
|
|
13
13
|
'report_viewer/close': 'Close',
|
|
14
14
|
'report_viewer/severity': 'Severity',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var report_viewer_fr = {
|
|
13
13
|
'report_viewer/close': 'Fermer',
|
|
14
14
|
'report_viewer/severity': 'Sévérité',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var table_en = {
|
|
13
13
|
'MuiVirtualizedTable/exportCSV': 'Export to CSV File'
|
|
14
14
|
};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var table_fr = {
|
|
13
13
|
'MuiVirtualizedTable/exportCSV': 'Exporter vers un fichier CSV'
|
|
14
14
|
};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var top_bar_en = {
|
|
13
13
|
'top-bar/settings': 'Settings',
|
|
14
14
|
'top-bar/logout': 'Logout',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var top_bar_fr = {
|
|
13
13
|
'top-bar/settings': 'Paramètres',
|
|
14
14
|
'top-bar/logout': 'Se déconnecter',
|
|
@@ -16,7 +16,7 @@ var top_bar_fr = {
|
|
|
16
16
|
'top-bar/exitFullScreen': 'Quitter mode plein écran',
|
|
17
17
|
'top-bar/about': 'A propos',
|
|
18
18
|
'top-bar/displayMode': "Mode d'affichage",
|
|
19
|
-
'top-bar/equipmentLabel': 'Label des
|
|
19
|
+
'top-bar/equipmentLabel': 'Label des ouvrages',
|
|
20
20
|
'top-bar/id': 'Id',
|
|
21
21
|
'top-bar/name': 'Nom',
|
|
22
22
|
'top-bar/language': 'Langue'
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var treeview_finder_en = {
|
|
13
13
|
'treeview_finder/close': 'Close',
|
|
14
14
|
'treeview_finder/cancel': 'Cancel',
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports["default"] = void 0;
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
8
7
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
9
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
10
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
11
10
|
*/
|
|
11
|
+
|
|
12
12
|
var treeview_finder_fr = {
|
|
13
13
|
'treeview_finder/close': 'Fermer',
|
|
14
14
|
'treeview_finder/cancel': 'Annuler',
|