@gridsuite/commons-ui 0.77.1 → 0.78.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/components/filter/expert/ExpertFilterForm.js +5 -4
- package/dist/components/filter/expert/expertFilterConstants.d.ts +68 -0
- package/dist/components/filter/expert/expertFilterConstants.js +69 -0
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -13
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +2 -0
- package/dist/{components/muiVirtualizedTable/index.d.ts → hooks/useFormatLabelWithUnit.d.ts} +5 -3
- package/dist/hooks/useFormatLabelWithUnit.js +18 -0
- package/dist/index.js +15 -13
- package/dist/translations/en/filterExpertEn.js +70 -70
- package/dist/translations/fr/filterExpertFr.js +68 -68
- package/dist/utils/constants/index.d.ts +1 -0
- package/dist/utils/constants/index.js +14 -1
- package/dist/utils/constants/unitsConstants.d.ts +18 -0
- package/dist/utils/constants/unitsConstants.js +26 -0
- package/dist/utils/index.js +13 -0
- package/package.json +1 -3
- package/dist/components/muiVirtualizedTable/ColumnHeader.d.ts +0 -26
- package/dist/components/muiVirtualizedTable/ColumnHeader.js +0 -108
- package/dist/components/muiVirtualizedTable/KeyedColumnsRowIndexer.d.ts +0 -130
- package/dist/components/muiVirtualizedTable/KeyedColumnsRowIndexer.js +0 -521
- package/dist/components/muiVirtualizedTable/MuiVirtualizedTable.d.ts +0 -97
- package/dist/components/muiVirtualizedTable/MuiVirtualizedTable.js +0 -692
- package/dist/components/muiVirtualizedTable/index.js +0 -15
package/dist/index.js
CHANGED
|
@@ -91,8 +91,6 @@ import { GroupValueEditor } from "./components/inputs/reactQueryBuilder/composit
|
|
|
91
91
|
import { RuleValueEditor } from "./components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js";
|
|
92
92
|
import { useConvertValue } from "./components/inputs/reactQueryBuilder/hooks/useConvertValue.js";
|
|
93
93
|
import { useValid } from "./components/inputs/reactQueryBuilder/hooks/useValid.js";
|
|
94
|
-
import { ChangeWays, KeyedColumnsRowIndexer, collectibleHelper, forTesting, getHelper, noOpHelper } from "./components/muiVirtualizedTable/KeyedColumnsRowIndexer.js";
|
|
95
|
-
import { DEFAULT_CELL_PADDING, DEFAULT_HEADER_HEIGHT, DEFAULT_ROW_HEIGHT, MuiVirtualizedTable, generateMuiVirtualizedTableClass } from "./components/muiVirtualizedTable/MuiVirtualizedTable.js";
|
|
96
94
|
import { MultipleSelectionDialog } from "./components/multipleSelectionDialog/MultipleSelectionDialog.js";
|
|
97
95
|
import { OverflowableText } from "./components/overflowableText/OverflowableText.js";
|
|
98
96
|
import { SnackbarProvider } from "./components/snackbarProvider/SnackbarProvider.js";
|
|
@@ -114,6 +112,7 @@ import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from ".
|
|
|
114
112
|
import { usePredefinedProperties } from "./hooks/usePredefinedProperties.js";
|
|
115
113
|
import { usePrevious } from "./hooks/usePrevious.js";
|
|
116
114
|
import { useSnackMessage } from "./hooks/useSnackMessage.js";
|
|
115
|
+
import { useFormatLabelWithUnit } from "./hooks/useFormatLabelWithUnit.js";
|
|
117
116
|
import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, resetAuthenticationRouterError, setLoggedUser, setLogoutError, setShowAuthenticationRouterLogin, setSignInCallbackError, setUnauthorizedUserInfo, setUserValidationError } from "./redux/actions/authActions.js";
|
|
118
117
|
import { getUserToken, setCommonStore } from "./redux/commonStore.js";
|
|
119
118
|
import { backendFetch, backendFetchJson, catchErrorHandler, getRequestParamFromList } from "./services/utils.js";
|
|
@@ -126,6 +125,7 @@ import { DARK_THEME, LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, LIGHT_THEME } from
|
|
|
126
125
|
import { FetchStatus } from "./utils/constants/fetchStatus.js";
|
|
127
126
|
import { FieldConstants } from "./utils/constants/fieldConstants.js";
|
|
128
127
|
import { MAX_CHAR_DESCRIPTION } from "./utils/constants/uiConstants.js";
|
|
128
|
+
import { AMPERE, DEGREE, KILO_AMPERE, KILO_METER, KILO_VOLT, MEGA_VAR, MEGA_VOLT_AMPERE, MEGA_WATT, MICRO_SIEMENS, OHM, PERCENTAGE, SIEMENS } from "./utils/constants/unitsConstants.js";
|
|
129
129
|
import { GRIDSUITE_DEFAULT_PRECISION, convertInputValue, convertOutputValue, isBlankOrEmpty, kiloUnitToUnit, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, unitToKiloUnit, unitToMicroUnit } from "./utils/conversionUtils.js";
|
|
130
130
|
import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./utils/functions.js";
|
|
131
131
|
import { getFileIcon } from "./utils/mapper/getFileIcon.js";
|
|
@@ -181,6 +181,7 @@ import { exportParamsFr } from "./translations/fr/external/exportParamsFr.js";
|
|
|
181
181
|
import { importParamsFr } from "./translations/fr/external/importParamsFr.js";
|
|
182
182
|
import * as yup from "yup";
|
|
183
183
|
export {
|
|
184
|
+
AMPERE,
|
|
184
185
|
AboutDialog,
|
|
185
186
|
AddButton,
|
|
186
187
|
AuthenticationRouter,
|
|
@@ -197,7 +198,6 @@ export {
|
|
|
197
198
|
CUSTOM_AGGRID_THEME,
|
|
198
199
|
CancelButton,
|
|
199
200
|
CardErrorBoundary,
|
|
200
|
-
ChangeWays,
|
|
201
201
|
CheckBoxList,
|
|
202
202
|
CheckboxInput,
|
|
203
203
|
CombinatorSelector,
|
|
@@ -213,10 +213,8 @@ export {
|
|
|
213
213
|
CustomMuiDialog,
|
|
214
214
|
CustomReactQueryBuilder,
|
|
215
215
|
DARK_THEME,
|
|
216
|
-
DEFAULT_CELL_PADDING,
|
|
217
|
-
DEFAULT_HEADER_HEIGHT,
|
|
218
216
|
DEFAULT_RANGE_VALUE,
|
|
219
|
-
|
|
217
|
+
DEGREE,
|
|
220
218
|
DISTRIBUTION_KEY,
|
|
221
219
|
DanglingLine,
|
|
222
220
|
DataType,
|
|
@@ -263,7 +261,9 @@ export {
|
|
|
263
261
|
Hvdc,
|
|
264
262
|
InputWithPopupConfirmation,
|
|
265
263
|
IntegerInput,
|
|
266
|
-
|
|
264
|
+
KILO_AMPERE,
|
|
265
|
+
KILO_METER,
|
|
266
|
+
KILO_VOLT,
|
|
267
267
|
LANG_ENGLISH,
|
|
268
268
|
LANG_FRENCH,
|
|
269
269
|
LANG_SYSTEM,
|
|
@@ -277,12 +277,15 @@ export {
|
|
|
277
277
|
LogoText,
|
|
278
278
|
Logout,
|
|
279
279
|
MAX_CHAR_DESCRIPTION,
|
|
280
|
+
MEGA_VAR,
|
|
281
|
+
MEGA_VOLT_AMPERE,
|
|
282
|
+
MEGA_WATT,
|
|
283
|
+
MICRO_SIEMENS,
|
|
280
284
|
MODIFICATION_TYPES,
|
|
281
285
|
MidFormError,
|
|
282
286
|
ModificationType,
|
|
283
287
|
ModifyElementSelection,
|
|
284
288
|
MuiSelectInput,
|
|
285
|
-
MuiVirtualizedTable,
|
|
286
289
|
MultipleAutocompleteInput,
|
|
287
290
|
MultipleSelectionDialog,
|
|
288
291
|
NAME,
|
|
@@ -290,10 +293,12 @@ export {
|
|
|
290
293
|
NotificationsContext,
|
|
291
294
|
NotificationsProvider,
|
|
292
295
|
NumericEditor,
|
|
296
|
+
OHM,
|
|
293
297
|
OPERATOR_OPTIONS,
|
|
294
298
|
OperatingStatus,
|
|
295
299
|
OperatorType,
|
|
296
300
|
OverflowableText,
|
|
301
|
+
PERCENTAGE,
|
|
297
302
|
PHASE_REGULATION_MODE_OPTIONS,
|
|
298
303
|
PopupConfirmationDialog,
|
|
299
304
|
PropertyValueEditor,
|
|
@@ -310,6 +315,7 @@ export {
|
|
|
310
315
|
RuleValueEditor,
|
|
311
316
|
SHOW_AUTH_INFO_LOGIN,
|
|
312
317
|
SHUNT_COMPENSATOR_TYPE_OPTIONS,
|
|
318
|
+
SIEMENS,
|
|
313
319
|
SIGNIN_CALLBACK_ERROR,
|
|
314
320
|
SVAR_REGULATION_MODE_OPTIONS,
|
|
315
321
|
SVC,
|
|
@@ -350,7 +356,6 @@ export {
|
|
|
350
356
|
cardErrorBoundaryEn,
|
|
351
357
|
cardErrorBoundaryFr,
|
|
352
358
|
catchErrorHandler,
|
|
353
|
-
collectibleHelper,
|
|
354
359
|
commonButtonEn,
|
|
355
360
|
commonButtonFr,
|
|
356
361
|
convertInputValue,
|
|
@@ -395,10 +400,8 @@ export {
|
|
|
395
400
|
filterFr,
|
|
396
401
|
flatParametersEn,
|
|
397
402
|
flatParametersFr,
|
|
398
|
-
forTesting,
|
|
399
403
|
genHelperError,
|
|
400
404
|
genHelperPreviousValue,
|
|
401
|
-
generateMuiVirtualizedTableClass,
|
|
402
405
|
generateTreeViewFinderClass,
|
|
403
406
|
getComputedLanguage,
|
|
404
407
|
getCriteriaBasedFormData,
|
|
@@ -407,7 +410,6 @@ export {
|
|
|
407
410
|
getExpertFilterEmptyFormData,
|
|
408
411
|
getExplicitNamingFilterEmptyFormData,
|
|
409
412
|
getFileIcon,
|
|
410
|
-
getHelper,
|
|
411
413
|
getNumberOfSiblings,
|
|
412
414
|
getOperators,
|
|
413
415
|
getPreLoginPath,
|
|
@@ -445,7 +447,6 @@ export {
|
|
|
445
447
|
multipleSelectionDialogFr,
|
|
446
448
|
networkModificationsEn,
|
|
447
449
|
networkModificationsFr,
|
|
448
|
-
noOpHelper,
|
|
449
450
|
queryValidator,
|
|
450
451
|
recursiveRemove,
|
|
451
452
|
reportViewerEn,
|
|
@@ -483,6 +484,7 @@ export {
|
|
|
483
484
|
useCustomFormContext,
|
|
484
485
|
useDebounce,
|
|
485
486
|
useElementSearch,
|
|
487
|
+
useFormatLabelWithUnit,
|
|
486
488
|
useIntlRef,
|
|
487
489
|
useListenerManager,
|
|
488
490
|
useLocalizedCountries,
|
|
@@ -4,51 +4,51 @@ const filterExpertEn = {
|
|
|
4
4
|
energySource: "Energy source",
|
|
5
5
|
country: "Country",
|
|
6
6
|
voltageRegulatorOn: "Voltage regulation",
|
|
7
|
-
PlannedActivePowerSetPoint: "Planning active power set point
|
|
8
|
-
minP: "Minimum active power
|
|
9
|
-
maxP: "Maximum active power
|
|
10
|
-
targetP: "Active power target
|
|
11
|
-
targetV: "Voltage target
|
|
12
|
-
targetQ: "Reactive power target
|
|
7
|
+
PlannedActivePowerSetPoint: "Planning active power set point",
|
|
8
|
+
minP: "Minimum active power",
|
|
9
|
+
maxP: "Maximum active power",
|
|
10
|
+
targetP: "Active power target",
|
|
11
|
+
targetV: "Voltage target",
|
|
12
|
+
targetQ: "Reactive power target",
|
|
13
13
|
connected: "Connected",
|
|
14
14
|
maximumSectionCount: "Maximum number of sections",
|
|
15
15
|
sectionCount: "Current number of sections",
|
|
16
16
|
shuntCompensatorType: "Type",
|
|
17
17
|
Capacitor: "Capacitor",
|
|
18
18
|
Reactor: "Reactor",
|
|
19
|
-
maxQAtNominalV: "Available Qmax at nominal voltage
|
|
20
|
-
SwitchedOnMaxQAtNominalV: "Switch-on Q at nominal voltage
|
|
21
|
-
maxSusceptance: "Maximum available susceptance
|
|
22
|
-
SwitchedOnMaxSusceptance: "Switch-on susceptance
|
|
23
|
-
ratedS: "Rated nominal power
|
|
24
|
-
ratedS1: "Rated nominal power side 1
|
|
25
|
-
ratedS2: "Rated nominal power side 2
|
|
26
|
-
ratedS3: "Rated nominal power side 3
|
|
19
|
+
maxQAtNominalV: "Available Qmax at nominal voltage",
|
|
20
|
+
SwitchedOnMaxQAtNominalV: "Switch-on Q at nominal voltage",
|
|
21
|
+
maxSusceptance: "Maximum available susceptance",
|
|
22
|
+
SwitchedOnMaxSusceptance: "Switch-on susceptance",
|
|
23
|
+
ratedS: "Rated nominal power",
|
|
24
|
+
ratedS1: "Rated nominal power side 1",
|
|
25
|
+
ratedS2: "Rated nominal power side 2",
|
|
26
|
+
ratedS3: "Rated nominal power side 3",
|
|
27
27
|
marginalCost: "Cost",
|
|
28
28
|
plannedOutageRate: "Planning outage rate",
|
|
29
29
|
forcedOutageRate: "Forced outage rate",
|
|
30
30
|
vlId: "Voltage level ID",
|
|
31
|
-
p0: "Constant P
|
|
32
|
-
q0: "Constant Q
|
|
31
|
+
p0: "Constant P",
|
|
32
|
+
q0: "Constant Q",
|
|
33
33
|
loadTapChangingCapabilities: "Ratio tap changer on-load",
|
|
34
34
|
loadTapChangingCapabilities1: "Ratio tap changer 1 on-load",
|
|
35
35
|
loadTapChangingCapabilities2: "Ratio tap changer 2 on-load",
|
|
36
36
|
loadTapChangingCapabilities3: "Ratio tap changer 3 on-load",
|
|
37
|
-
ratioTargetV: "Ratio tap changer voltage set point
|
|
38
|
-
ratioTargetV1: "Ratio tap changer 1 voltage set point
|
|
39
|
-
ratioTargetV2: "Ratio tap changer 2 voltage set point
|
|
40
|
-
ratioTargetV3: "Ratio tap changer 3 voltage set point
|
|
41
|
-
magnetizingConductance: "Magnetizing conductance
|
|
42
|
-
magnetizingConductance1: "Magnetizing conductance side 1
|
|
43
|
-
magnetizingConductance2: "Magnetizing conductance side 2
|
|
44
|
-
magnetizingConductance3: "Magnetizing conductance side 3
|
|
45
|
-
magnetizingSusceptance: "Magnetizing susceptance
|
|
46
|
-
magnetizingSusceptance1: "Magnetizing susceptance side 1
|
|
47
|
-
magnetizingSusceptance2: "Magnetizing susceptance side 2
|
|
48
|
-
magnetizingSusceptance3: "Magnetizing susceptance side 3
|
|
49
|
-
vlNominalVoltage: "Voltage level nominal voltage
|
|
50
|
-
lowVoltageLimit: "Low voltage limit
|
|
51
|
-
highVoltageLimit: "High voltage limit
|
|
37
|
+
ratioTargetV: "Ratio tap changer voltage set point",
|
|
38
|
+
ratioTargetV1: "Ratio tap changer 1 voltage set point",
|
|
39
|
+
ratioTargetV2: "Ratio tap changer 2 voltage set point",
|
|
40
|
+
ratioTargetV3: "Ratio tap changer 3 voltage set point",
|
|
41
|
+
magnetizingConductance: "Magnetizing conductance",
|
|
42
|
+
magnetizingConductance1: "Magnetizing conductance side 1",
|
|
43
|
+
magnetizingConductance2: "Magnetizing conductance side 2",
|
|
44
|
+
magnetizingConductance3: "Magnetizing conductance side 3",
|
|
45
|
+
magnetizingSusceptance: "Magnetizing susceptance",
|
|
46
|
+
magnetizingSusceptance1: "Magnetizing susceptance side 1",
|
|
47
|
+
magnetizingSusceptance2: "Magnetizing susceptance side 2",
|
|
48
|
+
magnetizingSusceptance3: "Magnetizing susceptance side 3",
|
|
49
|
+
vlNominalVoltage: "Voltage level nominal voltage",
|
|
50
|
+
lowVoltageLimit: "Low voltage limit",
|
|
51
|
+
highVoltageLimit: "High voltage limit",
|
|
52
52
|
selectFilterDialogTitle: "Choose a filter",
|
|
53
53
|
filter: "Filter",
|
|
54
54
|
loadType: "Type",
|
|
@@ -88,20 +88,20 @@ const filterExpertEn = {
|
|
|
88
88
|
substationProperty2: "Substation property 2",
|
|
89
89
|
substationProperty1Twt: "Substation property 1",
|
|
90
90
|
substationProperty2Twt: "Substation property 2",
|
|
91
|
-
ratedVoltage1KV: "Rated Voltage 1
|
|
92
|
-
ratedVoltage2KV: "Rated Voltage 2
|
|
93
|
-
ratedVoltage0KVTwt: "Rated Voltage 0
|
|
94
|
-
ratedVoltage1KVTwt: "Rated Voltage 1
|
|
95
|
-
ratedVoltage2KVTwt: "Rated Voltage 2
|
|
96
|
-
ratedVoltage3KVTwt: "Rated Voltage 3
|
|
91
|
+
ratedVoltage1KV: "Rated Voltage 1",
|
|
92
|
+
ratedVoltage2KV: "Rated Voltage 2",
|
|
93
|
+
ratedVoltage0KVTwt: "Rated Voltage 0",
|
|
94
|
+
ratedVoltage1KVTwt: "Rated Voltage 1",
|
|
95
|
+
ratedVoltage2KVTwt: "Rated Voltage 2",
|
|
96
|
+
ratedVoltage3KVTwt: "Rated Voltage 3",
|
|
97
97
|
nominalVoltage1: "Nominal Voltage 1",
|
|
98
98
|
nominalVoltage2: "Nominal Voltage 2",
|
|
99
99
|
nominalVoltage3: "Nominal Voltage 3",
|
|
100
|
-
nominalVoltage1KV: "Nominal Voltage 1
|
|
101
|
-
nominalVoltage2KV: "Nominal Voltage 2
|
|
102
|
-
nominalVoltage1KVTwt: "Nominal Voltage 1
|
|
103
|
-
nominalVoltage2KVTwt: "Nominal Voltage 2
|
|
104
|
-
nominalVoltage3KVTwt: "Nominal Voltage 3
|
|
100
|
+
nominalVoltage1KV: "Nominal Voltage 1",
|
|
101
|
+
nominalVoltage2KV: "Nominal Voltage 2",
|
|
102
|
+
nominalVoltage1KVTwt: "Nominal Voltage 1",
|
|
103
|
+
nominalVoltage2KVTwt: "Nominal Voltage 2",
|
|
104
|
+
nominalVoltage3KVTwt: "Nominal Voltage 3",
|
|
105
105
|
voltageLevelId1: "Voltage level ID 1",
|
|
106
106
|
voltageLevelId2: "Voltage level ID 2",
|
|
107
107
|
voltageLevelId1Twt: "Voltage level ID 1",
|
|
@@ -118,18 +118,18 @@ const filterExpertEn = {
|
|
|
118
118
|
voltageLevelProperty1Twt: "Voltage level property 1",
|
|
119
119
|
voltageLevelProperty2Twt: "Voltage level property 2",
|
|
120
120
|
voltageLevelProperty3Twt: "Voltage level property 3",
|
|
121
|
-
"maxQAtNominalV.svar": "Q max at nominal voltage
|
|
122
|
-
"minQAtNominalV.svar": "Q min at nominal voltage
|
|
123
|
-
"fixQAtNominalV.svar": "Fixed part of Q at nominal voltage
|
|
124
|
-
"maxSusceptance.svar": "Susceptance max
|
|
125
|
-
"minSusceptance.svar": "Susceptance min
|
|
121
|
+
"maxQAtNominalV.svar": "Q max at nominal voltage",
|
|
122
|
+
"minQAtNominalV.svar": "Q min at nominal voltage",
|
|
123
|
+
"fixQAtNominalV.svar": "Fixed part of Q at nominal voltage",
|
|
124
|
+
"maxSusceptance.svar": "Susceptance max",
|
|
125
|
+
"minSusceptance.svar": "Susceptance min",
|
|
126
126
|
regulationMode: "Regulation mode",
|
|
127
127
|
"regulationMode.off": "Off",
|
|
128
128
|
"regulationMode.voltage": "Voltage regulation",
|
|
129
129
|
"regulationMode.reactivePower": "Reactive power regulation",
|
|
130
130
|
voltageSetPoint: "Voltage set point",
|
|
131
|
-
activePowerSetPoint: "Active power set point
|
|
132
|
-
reactivePowerSetPoint: "Reactive power set point
|
|
131
|
+
activePowerSetPoint: "Active power set point",
|
|
132
|
+
reactivePowerSetPoint: "Reactive power set point",
|
|
133
133
|
remoteRegulatedTerminal: "Remote regulated terminal",
|
|
134
134
|
regulatingTerminalVLId: "Voltage Level ID",
|
|
135
135
|
regulatingTerminalConnectableId: "Equipment ID",
|
|
@@ -137,36 +137,36 @@ const filterExpertEn = {
|
|
|
137
137
|
"regulationType.distant": "Remote regulation",
|
|
138
138
|
"regulationType.local": "Local regulation",
|
|
139
139
|
automate: "Automaton",
|
|
140
|
-
lowVoltageSetPoint: "Low voltage set point
|
|
140
|
+
lowVoltageSetPoint: "Low voltage set point",
|
|
141
141
|
highVoltageSetPoint: "High voltage set point",
|
|
142
142
|
lowVoltageThreshold: "Low voltage threshold",
|
|
143
143
|
highVoltageThreshold: "High voltage threshold",
|
|
144
|
-
susceptanceFix: "Fixed part of susceptance
|
|
144
|
+
susceptanceFix: "Fixed part of susceptance",
|
|
145
145
|
paired: "Paired",
|
|
146
146
|
converterStationId1: "Converter station 1 ID",
|
|
147
147
|
converterStationId2: "Converter station 2 ID",
|
|
148
148
|
convertersMode: "Converters mode",
|
|
149
149
|
side1RectifierSide2Inverter: "Flow (Side1->Side2)",
|
|
150
150
|
side1InverterSide2Rectifier: "Flow (Side2->Side1)",
|
|
151
|
-
dcNominalVoltage: "DC nominal voltage
|
|
152
|
-
converterStationNominalVoltage1: "Converter station 1 nominal voltage
|
|
153
|
-
converterStationNominalVoltage2: "Converter station 2 nominal voltage
|
|
151
|
+
dcNominalVoltage: "DC nominal voltage",
|
|
152
|
+
converterStationNominalVoltage1: "Converter station 1 nominal voltage",
|
|
153
|
+
converterStationNominalVoltage2: "Converter station 2 nominal voltage",
|
|
154
154
|
country1: "Country 1",
|
|
155
155
|
country2: "Country 2",
|
|
156
|
-
seriesResistance: "Series resistance
|
|
157
|
-
seriesResistance1: "Series resistance 1
|
|
158
|
-
seriesResistance2: "Series resistance 2
|
|
159
|
-
seriesResistance3: "Series resistance 3
|
|
160
|
-
seriesReactance: "Series reactance
|
|
161
|
-
seriesReactance1: "Series reactance 1
|
|
162
|
-
seriesReactance2: "Series reactance 2
|
|
163
|
-
seriesReactance3: "Series reactance 3
|
|
164
|
-
shuntConductance: "Shunt conductance
|
|
165
|
-
shuntSusceptance: "Shunt susceptance
|
|
166
|
-
shuntConductance1: "Shunt conductance 1
|
|
167
|
-
shuntSusceptance1: "Shunt susceptance 1
|
|
168
|
-
shuntConductance2: "Shunt conductance 2
|
|
169
|
-
shuntSusceptance2: "Shunt susceptance 2
|
|
156
|
+
seriesResistance: "Series resistance",
|
|
157
|
+
seriesResistance1: "Series resistance 1",
|
|
158
|
+
seriesResistance2: "Series resistance 2",
|
|
159
|
+
seriesResistance3: "Series resistance 3",
|
|
160
|
+
seriesReactance: "Series reactance",
|
|
161
|
+
seriesReactance1: "Series reactance 1",
|
|
162
|
+
seriesReactance2: "Series reactance 2",
|
|
163
|
+
seriesReactance3: "Series reactance 3",
|
|
164
|
+
shuntConductance: "Shunt conductance",
|
|
165
|
+
shuntSusceptance: "Shunt susceptance",
|
|
166
|
+
shuntConductance1: "Shunt conductance 1",
|
|
167
|
+
shuntSusceptance1: "Shunt susceptance 1",
|
|
168
|
+
shuntConductance2: "Shunt conductance 2",
|
|
169
|
+
shuntSusceptance2: "Shunt susceptance 2",
|
|
170
170
|
pairingKey: "Xnode",
|
|
171
171
|
tieLineId: "Tie line ID",
|
|
172
172
|
cannotRetrieveFilter: "Could not retrieve filter: ",
|
|
@@ -179,8 +179,8 @@ const filterExpertEn = {
|
|
|
179
179
|
YupNotTypeNumber: "This field only accepts numeric values",
|
|
180
180
|
YupNotTypeDefault: "Field value format is incorrect",
|
|
181
181
|
changeOperatorMessage: "The operator will be changed and will be applied to all the rules already created in the group.",
|
|
182
|
-
lowShortCircuitCurrentLimit: "Low short-circuit current limit
|
|
183
|
-
highShortCircuitCurrentLimit: "High short-circuit current limit
|
|
182
|
+
lowShortCircuitCurrentLimit: "Low short-circuit current limit",
|
|
183
|
+
highShortCircuitCurrentLimit: "High short-circuit current limit"
|
|
184
184
|
};
|
|
185
185
|
export {
|
|
186
186
|
filterExpertEn
|
|
@@ -4,51 +4,51 @@ const filterExpertFr = {
|
|
|
4
4
|
energySource: "Source d'énergie",
|
|
5
5
|
country: "Pays",
|
|
6
6
|
voltageRegulatorOn: "Réglage de tension",
|
|
7
|
-
PlannedActivePowerSetPoint: "Puissance imposée
|
|
8
|
-
minP: "Puissance active min
|
|
9
|
-
maxP: "Puissance active max
|
|
10
|
-
targetP: "Consigne puissance active
|
|
11
|
-
targetV: "Consigne tension
|
|
12
|
-
targetQ: "Consigne puissance réactive
|
|
7
|
+
PlannedActivePowerSetPoint: "Puissance imposée",
|
|
8
|
+
minP: "Puissance active min",
|
|
9
|
+
maxP: "Puissance active max",
|
|
10
|
+
targetP: "Consigne puissance active",
|
|
11
|
+
targetV: "Consigne tension",
|
|
12
|
+
targetQ: "Consigne puissance réactive",
|
|
13
13
|
connected: "Connecté",
|
|
14
14
|
maximumSectionCount: "Nombre de gradins",
|
|
15
15
|
sectionCount: "Gradin courant",
|
|
16
16
|
shuntCompensatorType: "Type",
|
|
17
17
|
Capacitor: "Condensateur",
|
|
18
18
|
Reactor: "Réactance",
|
|
19
|
-
maxQAtNominalV: "Q installée à tension nominale
|
|
20
|
-
SwitchedOnMaxQAtNominalV: "Q enclenchée à tension nominale
|
|
21
|
-
maxSusceptance: "Susceptance installée
|
|
22
|
-
SwitchedOnMaxSusceptance: "Susceptance enclenchée
|
|
23
|
-
ratedS: "Puissance nominale
|
|
24
|
-
ratedS1: "Puissance nominale côté 1
|
|
25
|
-
ratedS2: "Puissance nominale côté 2
|
|
26
|
-
ratedS3: "Puissance nominale côté 3
|
|
19
|
+
maxQAtNominalV: "Q installée à tension nominale",
|
|
20
|
+
SwitchedOnMaxQAtNominalV: "Q enclenchée à tension nominale",
|
|
21
|
+
maxSusceptance: "Susceptance installée",
|
|
22
|
+
SwitchedOnMaxSusceptance: "Susceptance enclenchée",
|
|
23
|
+
ratedS: "Puissance nominale",
|
|
24
|
+
ratedS1: "Puissance nominale côté 1",
|
|
25
|
+
ratedS2: "Puissance nominale côté 2",
|
|
26
|
+
ratedS3: "Puissance nominale côté 3",
|
|
27
27
|
marginalCost: "Coût",
|
|
28
28
|
plannedOutageRate: "Indisponibilité programmée",
|
|
29
29
|
forcedOutageRate: "Indisponibilité fortuite",
|
|
30
30
|
vlId: "ID de poste",
|
|
31
|
-
p0: "P constant
|
|
32
|
-
q0: "Q constant
|
|
31
|
+
p0: "P constant",
|
|
32
|
+
q0: "Q constant",
|
|
33
33
|
loadTapChangingCapabilities: "Régleur en charge",
|
|
34
34
|
loadTapChangingCapabilities1: "Régleur 1 en charge",
|
|
35
35
|
loadTapChangingCapabilities2: "Régleur 2 en charge",
|
|
36
36
|
loadTapChangingCapabilities3: "Régleur 3 en charge",
|
|
37
|
-
ratioTargetV: "Tension de consigne du régleur
|
|
38
|
-
ratioTargetV1: "Tension de consigne du régleur 1
|
|
39
|
-
ratioTargetV2: "Tension de consigne du régleur 2
|
|
40
|
-
ratioTargetV3: "Tension de consigne du régleur 3
|
|
41
|
-
magnetizingConductance: "Conductance magnétisante
|
|
42
|
-
magnetizingConductance1: "Conductance magnétisante côté 1
|
|
43
|
-
magnetizingConductance2: "Conductance magnétisante côté 2
|
|
44
|
-
magnetizingConductance3: "Conductance magnétisante côté 3
|
|
45
|
-
magnetizingSusceptance: "Susceptance magnétisante
|
|
46
|
-
magnetizingSusceptance1: "Susceptance magnétisante côté 1
|
|
47
|
-
magnetizingSusceptance2: "Susceptance magnétisante côté 2
|
|
48
|
-
magnetizingSusceptance3: "Susceptance magnétisante côté 3
|
|
49
|
-
vlNominalVoltage: "Tension nominale poste
|
|
50
|
-
lowVoltageLimit: "Limite tension basse
|
|
51
|
-
highVoltageLimit: "Limite tension haute
|
|
37
|
+
ratioTargetV: "Tension de consigne du régleur",
|
|
38
|
+
ratioTargetV1: "Tension de consigne du régleur 1",
|
|
39
|
+
ratioTargetV2: "Tension de consigne du régleur 2",
|
|
40
|
+
ratioTargetV3: "Tension de consigne du régleur 3",
|
|
41
|
+
magnetizingConductance: "Conductance magnétisante",
|
|
42
|
+
magnetizingConductance1: "Conductance magnétisante côté 1",
|
|
43
|
+
magnetizingConductance2: "Conductance magnétisante côté 2",
|
|
44
|
+
magnetizingConductance3: "Conductance magnétisante côté 3",
|
|
45
|
+
magnetizingSusceptance: "Susceptance magnétisante",
|
|
46
|
+
magnetizingSusceptance1: "Susceptance magnétisante côté 1",
|
|
47
|
+
magnetizingSusceptance2: "Susceptance magnétisante côté 2",
|
|
48
|
+
magnetizingSusceptance3: "Susceptance magnétisante côté 3",
|
|
49
|
+
vlNominalVoltage: "Tension nominale poste",
|
|
50
|
+
lowVoltageLimit: "Limite tension basse",
|
|
51
|
+
highVoltageLimit: "Limite tension haute",
|
|
52
52
|
selectFilterDialogTitle: "Choisir un filtre",
|
|
53
53
|
filter: "Filtre",
|
|
54
54
|
loadType: "Type",
|
|
@@ -88,12 +88,12 @@ const filterExpertFr = {
|
|
|
88
88
|
substationProperty2: "Propriété site 2",
|
|
89
89
|
substationProperty1Twt: "Propriété site 1",
|
|
90
90
|
substationProperty2Twt: "Propriété site 2",
|
|
91
|
-
ratedVoltage1KV: "Tension d'enroulement 1
|
|
92
|
-
ratedVoltage2KV: "Tension d'enroulement 2
|
|
93
|
-
ratedVoltage0KVTwt: "Tension d'enroulement 0
|
|
94
|
-
ratedVoltage1KVTwt: "Tension d'enroulement 1
|
|
95
|
-
ratedVoltage2KVTwt: "Tension d'enroulement 2
|
|
96
|
-
ratedVoltage3KVTwt: "Tension d'enroulement 3
|
|
91
|
+
ratedVoltage1KV: "Tension d'enroulement 1",
|
|
92
|
+
ratedVoltage2KV: "Tension d'enroulement 2",
|
|
93
|
+
ratedVoltage0KVTwt: "Tension d'enroulement 0",
|
|
94
|
+
ratedVoltage1KVTwt: "Tension d'enroulement 1",
|
|
95
|
+
ratedVoltage2KVTwt: "Tension d'enroulement 2",
|
|
96
|
+
ratedVoltage3KVTwt: "Tension d'enroulement 3",
|
|
97
97
|
nominalVoltage1: "Tension nominale 1",
|
|
98
98
|
nominalVoltage2: "Tension nominale 2",
|
|
99
99
|
nominalVoltage3: "Tension nominale 3",
|
|
@@ -107,29 +107,29 @@ const filterExpertFr = {
|
|
|
107
107
|
terminal1ConnectedTwt: "Connecté 1",
|
|
108
108
|
terminal2ConnectedTwt: "Connecté 2",
|
|
109
109
|
terminal3ConnectedTwt: "Connecté 3",
|
|
110
|
-
nominalVoltage1KV: "Tension nominale 1
|
|
111
|
-
nominalVoltage2KV: "Tension nominale 2
|
|
112
|
-
nominalVoltage1KVTwt: "Tension nominale 1
|
|
113
|
-
nominalVoltage2KVTwt: "Tension nominale 2
|
|
114
|
-
nominalVoltage3KVTwt: "Tension nominale 3
|
|
110
|
+
nominalVoltage1KV: "Tension nominale 1",
|
|
111
|
+
nominalVoltage2KV: "Tension nominale 2",
|
|
112
|
+
nominalVoltage1KVTwt: "Tension nominale 1",
|
|
113
|
+
nominalVoltage2KVTwt: "Tension nominale 2",
|
|
114
|
+
nominalVoltage3KVTwt: "Tension nominale 3",
|
|
115
115
|
voltageLevelProperty: "Propriété poste",
|
|
116
116
|
voltageLevelProperty1: "Propriété poste 1",
|
|
117
117
|
voltageLevelProperty2: "Propriété poste 2",
|
|
118
118
|
voltageLevelProperty1Twt: "Propriété poste 1",
|
|
119
119
|
voltageLevelProperty2Twt: "Propriété poste 2",
|
|
120
120
|
voltageLevelProperty3Twt: "Propriété poste 3",
|
|
121
|
-
"maxQAtNominalV.svar": "Q max à tension nominale
|
|
122
|
-
"minQAtNominalV.svar": "Q min à tension nominale
|
|
123
|
-
"fixQAtNominalV.svar": "Q fixe à tension nominale
|
|
124
|
-
"maxSusceptance.svar": "Susceptance max
|
|
125
|
-
"minSusceptance.svar": "Susceptance min
|
|
121
|
+
"maxQAtNominalV.svar": "Q max à tension nominale",
|
|
122
|
+
"minQAtNominalV.svar": "Q min à tension nominale",
|
|
123
|
+
"fixQAtNominalV.svar": "Q fixe à tension nominale",
|
|
124
|
+
"maxSusceptance.svar": "Susceptance max",
|
|
125
|
+
"minSusceptance.svar": "Susceptance min",
|
|
126
126
|
regulationMode: "Mode de réglage",
|
|
127
127
|
"regulationMode.off": "Arrêt",
|
|
128
128
|
"regulationMode.voltage": "Réglage de tension",
|
|
129
129
|
"regulationMode.reactivePower": "Réglage du réactif",
|
|
130
130
|
voltageSetPoint: "Tension",
|
|
131
|
-
activePowerSetPoint: "Consigne de puissance active
|
|
132
|
-
reactivePowerSetPoint: "Consigne de puissance réactive
|
|
131
|
+
activePowerSetPoint: "Consigne de puissance active",
|
|
132
|
+
reactivePowerSetPoint: "Consigne de puissance réactive",
|
|
133
133
|
remoteRegulatedTerminal: "Terminal distant réglé",
|
|
134
134
|
regulatingTerminalVLId: "ID de poste",
|
|
135
135
|
regulatingTerminalConnectableId: "ID d'ouvrage",
|
|
@@ -148,25 +148,25 @@ const filterExpertFr = {
|
|
|
148
148
|
convertersMode: "Mode de conversion",
|
|
149
149
|
side1RectifierSide2Inverter: "Flux (1->2)",
|
|
150
150
|
side1InverterSide2Rectifier: "Flux (2->1)",
|
|
151
|
-
dcNominalVoltage: "Tension nominale DC
|
|
152
|
-
converterStationNominalVoltage1: "Tension nominale de la station de conversion 1
|
|
153
|
-
converterStationNominalVoltage2: "Tension nominale de la station de conversion 2
|
|
151
|
+
dcNominalVoltage: "Tension nominale DC",
|
|
152
|
+
converterStationNominalVoltage1: "Tension nominale de la station de conversion 1",
|
|
153
|
+
converterStationNominalVoltage2: "Tension nominale de la station de conversion 2",
|
|
154
154
|
country1: "Pays 1",
|
|
155
155
|
country2: "Pays 2",
|
|
156
|
-
seriesResistance: "Résistance série
|
|
157
|
-
seriesResistance1: "Résistance série 1
|
|
158
|
-
seriesResistance2: "Résistance série 2
|
|
159
|
-
seriesResistance3: "Résistance série 3
|
|
160
|
-
seriesReactance: "Réactance série
|
|
161
|
-
seriesReactance1: "Réactance série 1
|
|
162
|
-
seriesReactance2: "Réactance série 2
|
|
163
|
-
seriesReactance3: "Réactance série 3
|
|
164
|
-
shuntConductance: "Conductance parallèle
|
|
165
|
-
shuntSusceptance: "Susceptance parallèle
|
|
166
|
-
shuntConductance1: "Conductance parallèle 1
|
|
167
|
-
shuntSusceptance1: "Susceptance parallèle 1
|
|
168
|
-
shuntConductance2: "Conductance parallèle 2
|
|
169
|
-
shuntSusceptance2: "Susceptance parallèle 2
|
|
156
|
+
seriesResistance: "Résistance série",
|
|
157
|
+
seriesResistance1: "Résistance série 1",
|
|
158
|
+
seriesResistance2: "Résistance série 2",
|
|
159
|
+
seriesResistance3: "Résistance série 3",
|
|
160
|
+
seriesReactance: "Réactance série",
|
|
161
|
+
seriesReactance1: "Réactance série 1",
|
|
162
|
+
seriesReactance2: "Réactance série 2",
|
|
163
|
+
seriesReactance3: "Réactance série 3",
|
|
164
|
+
shuntConductance: "Conductance parallèle",
|
|
165
|
+
shuntSusceptance: "Susceptance parallèle",
|
|
166
|
+
shuntConductance1: "Conductance parallèle 1",
|
|
167
|
+
shuntSusceptance1: "Susceptance parallèle 1",
|
|
168
|
+
shuntConductance2: "Conductance parallèle 2",
|
|
169
|
+
shuntSusceptance2: "Susceptance parallèle 2",
|
|
170
170
|
pairingKey: "Xnode",
|
|
171
171
|
tieLineId: "ID de l'interconnexion",
|
|
172
172
|
cannotRetrieveFilter: "Erreur d'accès au filtre : ",
|
|
@@ -179,8 +179,8 @@ const filterExpertFr = {
|
|
|
179
179
|
YupNotTypeNumber: "Ce champ n'accepte que des valeurs numériques",
|
|
180
180
|
YupNotTypeDefault: "La valeur du champ n'est pas au bon format",
|
|
181
181
|
changeOperatorMessage: "L'opérateur sera modifié et s'appliquera sur toutes les règles déjà créées dans le groupe.",
|
|
182
|
-
lowShortCircuitCurrentLimit: "Limite ICC min
|
|
183
|
-
highShortCircuitCurrentLimit: "Limite ICC max
|
|
182
|
+
lowShortCircuitCurrentLimit: "Limite ICC min",
|
|
183
|
+
highShortCircuitCurrentLimit: "Limite ICC max"
|
|
184
184
|
};
|
|
185
185
|
export {
|
|
186
186
|
filterExpertFr
|
|
@@ -2,13 +2,26 @@ import { DARK_THEME, LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, LIGHT_THEME } from
|
|
|
2
2
|
import { FetchStatus } from "./fetchStatus.js";
|
|
3
3
|
import { FieldConstants } from "./fieldConstants.js";
|
|
4
4
|
import { MAX_CHAR_DESCRIPTION } from "./uiConstants.js";
|
|
5
|
+
import { AMPERE, DEGREE, KILO_AMPERE, KILO_METER, KILO_VOLT, MEGA_VAR, MEGA_VOLT_AMPERE, MEGA_WATT, MICRO_SIEMENS, OHM, PERCENTAGE, SIEMENS } from "./unitsConstants.js";
|
|
5
6
|
export {
|
|
7
|
+
AMPERE,
|
|
6
8
|
DARK_THEME,
|
|
9
|
+
DEGREE,
|
|
7
10
|
FetchStatus,
|
|
8
11
|
FieldConstants,
|
|
12
|
+
KILO_AMPERE,
|
|
13
|
+
KILO_METER,
|
|
14
|
+
KILO_VOLT,
|
|
9
15
|
LANG_ENGLISH,
|
|
10
16
|
LANG_FRENCH,
|
|
11
17
|
LANG_SYSTEM,
|
|
12
18
|
LIGHT_THEME,
|
|
13
|
-
MAX_CHAR_DESCRIPTION
|
|
19
|
+
MAX_CHAR_DESCRIPTION,
|
|
20
|
+
MEGA_VAR,
|
|
21
|
+
MEGA_VOLT_AMPERE,
|
|
22
|
+
MEGA_WATT,
|
|
23
|
+
MICRO_SIEMENS,
|
|
24
|
+
OHM,
|
|
25
|
+
PERCENTAGE,
|
|
26
|
+
SIEMENS
|
|
14
27
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 declare const MICRO_SIEMENS = "\u00B5S";
|
|
8
|
+
export declare const SIEMENS = "S";
|
|
9
|
+
export declare const AMPERE = "A";
|
|
10
|
+
export declare const KILO_AMPERE = "kA";
|
|
11
|
+
export declare const MEGA_VAR = "MVar";
|
|
12
|
+
export declare const MEGA_VOLT_AMPERE = "MVA";
|
|
13
|
+
export declare const OHM = "\u03A9";
|
|
14
|
+
export declare const MEGA_WATT = "MW";
|
|
15
|
+
export declare const KILO_VOLT = "kV";
|
|
16
|
+
export declare const KILO_METER = "km";
|
|
17
|
+
export declare const PERCENTAGE = "%";
|
|
18
|
+
export declare const DEGREE = "\u00B0";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const MICRO_SIEMENS = "µS";
|
|
2
|
+
const SIEMENS = "S";
|
|
3
|
+
const AMPERE = "A";
|
|
4
|
+
const KILO_AMPERE = "kA";
|
|
5
|
+
const MEGA_VAR = "MVar";
|
|
6
|
+
const MEGA_VOLT_AMPERE = "MVA";
|
|
7
|
+
const OHM = "Ω";
|
|
8
|
+
const MEGA_WATT = "MW";
|
|
9
|
+
const KILO_VOLT = "kV";
|
|
10
|
+
const KILO_METER = "km";
|
|
11
|
+
const PERCENTAGE = "%";
|
|
12
|
+
const DEGREE = "°";
|
|
13
|
+
export {
|
|
14
|
+
AMPERE,
|
|
15
|
+
DEGREE,
|
|
16
|
+
KILO_AMPERE,
|
|
17
|
+
KILO_METER,
|
|
18
|
+
KILO_VOLT,
|
|
19
|
+
MEGA_VAR,
|
|
20
|
+
MEGA_VOLT_AMPERE,
|
|
21
|
+
MEGA_WATT,
|
|
22
|
+
MICRO_SIEMENS,
|
|
23
|
+
OHM,
|
|
24
|
+
PERCENTAGE,
|
|
25
|
+
SIEMENS
|
|
26
|
+
};
|