@gridsuite/commons-ui 0.256.0 → 0.258.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/composite/filter/FilterCreationDialog.js +6 -2
- package/dist/components/composite/filter/FilterForm.js +10 -0
- package/dist/components/composite/filter/HeaderFilterForm.d.ts +0 -10
- package/dist/components/composite/filter/HeaderFilterForm.js +7 -16
- package/dist/components/composite/filter/expert/ExpertFilterForm.js +3 -3
- package/dist/components/index.js +8 -0
- package/dist/components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js +2 -1
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +2 -1
- package/dist/components/ui/dialogs/index.d.ts +1 -0
- package/dist/components/ui/dialogs/index.js +8 -0
- package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/index.d.ts +2 -1
- package/dist/components/ui/dialogs/name-element-editor/index.js +10 -0
- package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/name-element-editor-form.js +5 -5
- package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/name-element-editor-utils.d.ts +13 -3
- package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/name-element-editor-utils.js +27 -22
- package/dist/components/ui/dialogs/name-element-editor/named-element-edition-dialog.d.ts +17 -0
- package/dist/components/ui/dialogs/name-element-editor/named-element-edition-dialog.js +49 -0
- package/dist/components/ui/index.js +8 -0
- package/dist/features/global-filter/context/global-filter-context-provider.d.ts +2 -0
- package/dist/features/global-filter/context/global-filter-context-provider.js +41 -0
- package/dist/features/global-filter/context/global-filter-context.d.ts +3 -0
- package/dist/features/global-filter/context/global-filter-context.js +13 -0
- package/dist/features/global-filter/context/global-filter-context.type.d.ts +14 -0
- package/dist/features/global-filter/context/global-filter-context.type.js +1 -0
- package/dist/features/global-filter/context/index.d.ts +8 -0
- package/dist/features/global-filter/context/index.js +4 -0
- package/dist/features/global-filter/global-filter.style.d.ts +162 -0
- package/dist/features/global-filter/global-filter.style.js +190 -0
- package/dist/features/global-filter/index.d.ts +10 -0
- package/dist/features/global-filter/index.js +31 -0
- package/dist/features/global-filter/types/global-filter.type.d.ts +51 -0
- package/dist/features/global-filter/types/global-filter.type.js +19 -0
- package/dist/features/global-filter/types/index.d.ts +8 -0
- package/dist/features/global-filter/types/index.js +8 -0
- package/dist/features/global-filter/types/limit-violation.type.d.ts +11 -0
- package/dist/features/global-filter/types/limit-violation.type.js +9 -0
- package/dist/features/global-filter/ui/global-filter-dropdown-panel.d.ts +10 -0
- package/dist/features/global-filter/ui/global-filter-dropdown-panel.js +251 -0
- package/dist/features/global-filter/ui/global-filter-panel.d.ts +9 -0
- package/dist/features/global-filter/ui/global-filter-panel.js +391 -0
- package/dist/features/global-filter/ui/label-with-info-tooltip.d.ts +12 -0
- package/dist/features/global-filter/ui/label-with-info-tooltip.js +24 -0
- package/dist/features/global-filter/ui/selected-global-filters.d.ts +4 -0
- package/dist/features/global-filter/ui/selected-global-filters.js +114 -0
- package/dist/features/global-filter/utils/build-valid-global-filters.d.ts +8 -0
- package/dist/features/global-filter/utils/build-valid-global-filters.js +51 -0
- package/dist/features/global-filter/utils/editing-global-filter-sync.d.ts +9 -0
- package/dist/features/global-filter/utils/editing-global-filter-sync.js +15 -0
- package/dist/features/global-filter/utils/global-filter-state.utils.d.ts +14 -0
- package/dist/features/global-filter/utils/global-filter-state.utils.js +71 -0
- package/dist/features/global-filter/utils/global-filter-sync.utils.d.ts +9 -0
- package/dist/features/global-filter/utils/global-filter-sync.utils.js +26 -0
- package/dist/features/global-filter/utils/global-filter-utils.d.ts +7 -0
- package/dist/features/global-filter/utils/global-filter-utils.js +44 -0
- package/dist/features/global-filter/utils/index.d.ts +11 -0
- package/dist/features/global-filter/utils/index.js +21 -0
- package/dist/features/index.d.ts +1 -0
- package/dist/features/index.js +42 -8
- package/dist/features/network-modification-table/renderers/description-cell.js +4 -0
- package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +3 -2
- package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +2 -1
- package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.js +2 -1
- package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-utils.js +2 -2
- package/dist/features/network-modifications/by-filter/formula/formula/formula-utils.js +5 -5
- package/dist/features/network-modifications/common/activePowerControl/activePowerControlForm.utils.js +2 -1
- package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.js +2 -1
- package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.js +2 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +2 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveLimits.utils.js +3 -2
- package/dist/features/network-modifications/common/voltageRegulation/voltageRegulation.utils.js +3 -2
- package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +4 -3
- package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +5 -4
- package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +7 -6
- package/dist/features/network-modifications/shunt-compensator/common/characteristicsForm.utils.js +7 -6
- package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +10 -9
- package/dist/features/network-modifications/voltageLevel/modification/voltageLevelModification.utils.js +6 -5
- package/dist/features/parameters/common/hook/use-parameters-form.js +1 -2
- package/dist/features/parameters/common/limitreductions/columns-definitions.js +3 -2
- package/dist/features/parameters/common/parameters-creation-dialog.js +9 -0
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +0 -1
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +0 -1
- package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +2 -2
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +0 -1
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +0 -1
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +0 -1
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +0 -1
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +0 -1
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-advanced-parameters.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-general-parameters.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-content.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +4 -8
- package/dist/features/parameters/loadflow/load-flow-parameters-header.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.js +0 -1
- package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +1 -2
- package/dist/features/parameters/network-visualizations/network-visualizations-form.js +0 -1
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +3 -7
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +0 -1
- package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -2
- package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.js +1 -5
- package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +0 -1
- package/dist/features/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -2
- package/dist/features/parameters/security-analysis/columns-definitions.js +5 -5
- package/dist/features/parameters/security-analysis/security-analysis-parameters-content.js +0 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +2 -6
- package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +0 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +0 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-utils.js +0 -1
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -2
- package/dist/features/parameters/sensi/columns-definitions.js +0 -1
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +1 -5
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +0 -1
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +0 -1
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +0 -1
- package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -2
- package/dist/features/parameters/sensi/utils.js +1 -2
- package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +1 -5
- package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +0 -1
- package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.js +1 -2
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +0 -1
- package/dist/features/parameters/voltage-init/general-parameters.js +0 -1
- package/dist/features/parameters/voltage-init/use-voltage-init-parameters-form.js +4 -5
- package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +1 -5
- package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +0 -1
- package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +0 -1
- package/dist/features/process-configs/common/index.d.ts +9 -0
- package/dist/features/process-configs/common/index.js +11 -0
- package/dist/features/process-configs/common/process-config-modifications-edition.d.ts +3 -0
- package/dist/features/process-configs/common/process-config-modifications-edition.js +129 -0
- package/dist/features/process-configs/common/process-config-modifications-edition.utils.d.ts +53 -0
- package/dist/features/process-configs/common/process-config-modifications-edition.utils.js +50 -0
- package/dist/features/process-configs/common/process-config.type.d.ts +14 -0
- package/dist/features/process-configs/index.d.ts +6 -3
- package/dist/features/process-configs/index.js +13 -8
- package/dist/features/process-configs/lf-process-config-edition-dialog.d.ts +3 -0
- package/dist/features/process-configs/lf-process-config-edition-dialog.js +136 -0
- package/dist/features/process-configs/loadflow/index.d.ts +9 -0
- package/dist/features/process-configs/loadflow/index.js +9 -0
- package/dist/features/process-configs/loadflow/lf-process-config-edition.d.ts +1 -0
- package/dist/features/process-configs/loadflow/lf-process-config-edition.js +91 -0
- package/dist/features/process-configs/loadflow/lf-process-config-edition.utils.d.ts +39 -0
- package/dist/features/process-configs/{security-analysis/update-sa-process-config-dialog.js → loadflow/lf-process-config-edition.utils.js} +53 -81
- package/dist/features/process-configs/loadflow/lf-process-config.type.d.ts +6 -0
- package/dist/features/process-configs/loadflow/lf-process-config.type.js +1 -0
- package/dist/features/process-configs/process-config-edition.utils.d.ts +13 -0
- package/dist/features/process-configs/process-config-edition.utils.js +1 -0
- package/dist/features/process-configs/process-config.type.d.ts +14 -0
- package/dist/features/process-configs/process-config.type.js +1 -0
- package/dist/features/process-configs/process-config.utils.d.ts +2 -0
- package/dist/features/process-configs/{update-process-config-modifications.js → process-config.utils.js} +11 -74
- package/dist/features/process-configs/sa-process-config-edition-dialog.d.ts +3 -0
- package/dist/features/process-configs/sa-process-config-edition-dialog.js +136 -0
- package/dist/features/process-configs/security-analysis/index.d.ts +4 -3
- package/dist/features/process-configs/security-analysis/index.js +7 -8
- package/dist/features/process-configs/security-analysis/sa-process-config-edition.d.ts +1 -0
- package/dist/features/process-configs/security-analysis/{update-sa-process-config.js → sa-process-config-edition.js} +5 -13
- package/dist/features/process-configs/security-analysis/sa-process-config-edition.utils.d.ts +45 -0
- package/dist/features/process-configs/security-analysis/sa-process-config-edition.utils.js +119 -0
- package/dist/features/process-configs/security-analysis/sa-process-config.type.d.ts +7 -0
- package/dist/features/process-configs/security-analysis/sa-process-config.type.js +1 -0
- package/dist/hooks/use-unique-name-validation.js +3 -2
- package/dist/index.js +77 -9
- package/dist/translations/en/descriptionEn.d.ts +0 -6
- package/dist/translations/en/descriptionEn.js +6 -1
- package/dist/translations/en/filterEn.d.ts +0 -2
- package/dist/translations/en/filterEn.js +0 -2
- package/dist/translations/en/generic-validationEn.d.ts +23 -0
- package/dist/translations/en/generic-validationEn.js +25 -0
- package/dist/translations/en/index.d.ts +2 -0
- package/dist/translations/en/index.js +4 -0
- package/dist/translations/en/network-modification-validationEn.d.ts +23 -0
- package/dist/translations/en/network-modification-validationEn.js +31 -0
- package/dist/translations/en/networkModificationsEn.d.ts +6 -33
- package/dist/translations/en/networkModificationsEn.js +0 -38
- package/dist/translations/en/parameters.d.ts +0 -2
- package/dist/translations/en/parameters.js +0 -2
- package/dist/translations/en/processConfigEn.d.ts +3 -0
- package/dist/translations/en/processConfigEn.js +5 -2
- package/dist/translations/en/use-unique-name-validation-en.d.ts +0 -2
- package/dist/translations/en/use-unique-name-validation-en.js +1 -3
- package/dist/translations/fr/descriptionFr.d.ts +0 -6
- package/dist/translations/fr/descriptionFr.js +6 -1
- package/dist/translations/fr/filterFr.d.ts +0 -2
- package/dist/translations/fr/filterFr.js +0 -2
- package/dist/translations/fr/generic-validationFr.d.ts +17 -0
- package/dist/translations/fr/generic-validationFr.js +25 -0
- package/dist/translations/fr/index.d.ts +2 -0
- package/dist/translations/fr/index.js +4 -0
- package/dist/translations/fr/network-modification-validationFr.d.ts +23 -0
- package/dist/translations/fr/network-modification-validationFr.js +31 -0
- package/dist/translations/fr/networkModificationsFr.d.ts +6 -33
- package/dist/translations/fr/networkModificationsFr.js +0 -38
- package/dist/translations/fr/parameters.d.ts +0 -2
- package/dist/translations/fr/parameters.js +0 -2
- package/dist/translations/fr/processConfigFr.d.ts +3 -0
- package/dist/translations/fr/processConfigFr.js +5 -2
- package/dist/translations/fr/use-unique-name-validation-fr.d.ts +0 -2
- package/dist/translations/fr/use-unique-name-validation-fr.js +1 -3
- package/dist/utils/constants/index.js +19 -1
- package/dist/utils/constants/translationKeys.d.ts +18 -0
- package/dist/utils/constants/translationKeys.js +36 -0
- package/dist/utils/index.js +19 -1
- package/package.json +1 -1
- package/dist/features/parameters/common/name-element-editor/index.js +0 -7
- package/dist/features/process-configs/process-configs.type.d.ts +0 -33
- package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.d.ts +0 -14
- package/dist/features/process-configs/security-analysis/update-sa-process-config.d.ts +0 -7
- package/dist/features/process-configs/security-analysis/update-sa-process-configs-utils.d.ts +0 -68
- package/dist/features/process-configs/security-analysis/update-sa-process-configs-utils.js +0 -88
- package/dist/features/process-configs/update-process-config-modifications.d.ts +0 -3
- /package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/name-element-editor-form.d.ts +0 -0
- /package/dist/features/process-configs/{process-configs.type.js → common/process-config.type.js} +0 -0
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, 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
|
+
*/
|
|
1
7
|
export declare const networkModificationsFr: {
|
|
2
8
|
'network_modifications.modificationsCount': string;
|
|
3
9
|
'network_modifications.EQUIPMENT_DELETION': string;
|
|
@@ -114,22 +120,6 @@ export declare const networkModificationsFr: {
|
|
|
114
120
|
BREAKER: string;
|
|
115
121
|
DISCONNECTOR: string;
|
|
116
122
|
Disconnector: string;
|
|
117
|
-
BusBarCountMustBeGreaterThanOrEqualToOne: string;
|
|
118
|
-
SectionCountMustBeGreaterThanOrEqualToOne: string;
|
|
119
|
-
SectionCountMustBeLessThanOrEqualToTwenty: string;
|
|
120
|
-
mustBeGreaterOrEqualToZero: string;
|
|
121
|
-
CreateCouplingDeviceIdenticalBusBar: string;
|
|
122
|
-
CreateSubstationInVoltageLevelIdenticalId: string;
|
|
123
|
-
voltageLevelNominalVoltageMaxValueError: string;
|
|
124
|
-
ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero: string;
|
|
125
|
-
ShortCircuitCurrentLimitMinMaxError: string;
|
|
126
|
-
DuplicatedPropsError: string;
|
|
127
|
-
YupRequired: string;
|
|
128
|
-
YupNotNull: string;
|
|
129
|
-
YupDefault: string;
|
|
130
|
-
YupPositive: string;
|
|
131
|
-
YupNotTypeNumber: string;
|
|
132
|
-
YupNotTypeDefault: string;
|
|
133
123
|
CreateLoad: string;
|
|
134
124
|
loadType: string;
|
|
135
125
|
CreateShuntCompensator: string;
|
|
@@ -143,9 +133,6 @@ export declare const networkModificationsFr: {
|
|
|
143
133
|
SusceptanceLabel: string;
|
|
144
134
|
SwitchedOnMaxQAtNominalV: string;
|
|
145
135
|
SwitchedOnMaxSusceptance: string;
|
|
146
|
-
ShuntCompensatorErrorQAtNominalVoltageLessThanZero: string;
|
|
147
|
-
MaximumSectionCountMustBeGreaterOrEqualToOne: string;
|
|
148
|
-
SectionCountMustBeBetweenZeroAndMaximumSectionCount: string;
|
|
149
136
|
VOLTAGE_LEVEL: string;
|
|
150
137
|
BusBarBus: string;
|
|
151
138
|
ConnectionName: string;
|
|
@@ -224,7 +211,6 @@ export declare const networkModificationsFr: {
|
|
|
224
211
|
operationalLimitsGroup2WithProperties: string;
|
|
225
212
|
Value: string;
|
|
226
213
|
EmptyField: string;
|
|
227
|
-
NumericValueOrEmptyField: string;
|
|
228
214
|
ValueOrEmptyField: string;
|
|
229
215
|
addNewAssignment: string;
|
|
230
216
|
changeTypeConfirmation: string;
|
|
@@ -236,21 +222,17 @@ export declare const networkModificationsFr: {
|
|
|
236
222
|
Connectivity: string;
|
|
237
223
|
ActiveLimits: string;
|
|
238
224
|
ReactiveLimits: string;
|
|
239
|
-
NormalizedPercentage: string;
|
|
240
225
|
On: string;
|
|
241
226
|
Off: string;
|
|
242
227
|
FrequencyRegulation: string;
|
|
243
228
|
Droop: string;
|
|
244
229
|
Limits: string;
|
|
245
|
-
MinActivePowerMustBeLessOrEqualToMaxActivePower: string;
|
|
246
230
|
activePowerControlTooltip: string;
|
|
247
231
|
NoModification: string;
|
|
248
232
|
ReactiveLimitsKindMinMax: string;
|
|
249
233
|
ReactiveLimitsKindCurve: string;
|
|
250
234
|
MinimumReactivePower: string;
|
|
251
235
|
MaximumReactivePower: string;
|
|
252
|
-
ActiveLimitsMinMaxInvalid: string;
|
|
253
|
-
ReactiveLimitsMinMaxInvalid: string;
|
|
254
236
|
MinReactivePowerRequired: string;
|
|
255
237
|
MaxReactivePowerRequired: string;
|
|
256
238
|
ReactiveCapabilityCurveCreationErrorMissingPoints: string;
|
|
@@ -298,21 +280,12 @@ export declare const networkModificationsFr: {
|
|
|
298
280
|
disableOLGedition: string;
|
|
299
281
|
Edit: string;
|
|
300
282
|
View: string;
|
|
301
|
-
TemporaryLimitNameUnicityError: string;
|
|
302
|
-
TemporaryLimitDurationUnicityError: string;
|
|
303
|
-
LimitSetApplicabilityError: string;
|
|
304
|
-
permanentCurrentLimitMustBeGreaterThanZero: string;
|
|
305
|
-
UniqueName: string;
|
|
306
|
-
FieldNotEmpty: string;
|
|
307
283
|
TemporaryCurrentLimitsText: string;
|
|
308
284
|
SelectedOperationalLimitGroup: string;
|
|
309
285
|
ReferenceFieldOrValue: string;
|
|
310
286
|
Operator: string;
|
|
311
287
|
UseDashToSelectField: string;
|
|
312
288
|
filter: string;
|
|
313
|
-
ValueMustBeNumericWhenPercentageError: string;
|
|
314
|
-
ValueMustBeRefWhenPercentageError: string;
|
|
315
|
-
WrongRefOrValueError: string;
|
|
316
289
|
G: string;
|
|
317
290
|
B: string;
|
|
318
291
|
SubstationTab: string;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import { YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_DEFAULT, YUP_NOT_NULL, YUP_REQUIRED, DUPLICATED_PROPS_ERROR } from "../../utils/constants/translationKeys.js";
|
|
2
|
-
import "../../utils/conversionUtils.js";
|
|
3
|
-
import "../../utils/types/equipmentType.js";
|
|
4
|
-
import "react/jsx-runtime";
|
|
5
|
-
import "@mui/icons-material";
|
|
6
1
|
const networkModificationsFr = {
|
|
7
2
|
"network_modifications.modificationsCount": "{hide, select, false {{count, plural, =0 {aucune modification} =1 {# modification} other {# modifications}}} other {...}}",
|
|
8
3
|
"network_modifications.EQUIPMENT_DELETION": "Suppression de {computedLabel}",
|
|
@@ -119,22 +114,6 @@ const networkModificationsFr = {
|
|
|
119
114
|
BREAKER: "Disjoncteur",
|
|
120
115
|
DISCONNECTOR: "Sectionneur",
|
|
121
116
|
Disconnector: "Sectionneur",
|
|
122
|
-
BusBarCountMustBeGreaterThanOrEqualToOne: "Un nombre de barres doit être supérieur ou égal à 1",
|
|
123
|
-
SectionCountMustBeGreaterThanOrEqualToOne: "Un nombre de sections doit être supérieur ou égal à 1",
|
|
124
|
-
SectionCountMustBeLessThanOrEqualToTwenty: "Un nombre de sections doit être inférieur ou égal à 20",
|
|
125
|
-
mustBeGreaterOrEqualToZero: "Cette valeur doit être supérieure ou égale à 0",
|
|
126
|
-
CreateCouplingDeviceIdenticalBusBar: "Les SJB / Nœuds 1 et 2 doivent être différents",
|
|
127
|
-
CreateSubstationInVoltageLevelIdenticalId: "L'ID du poste doit être différent de celui du site",
|
|
128
|
-
voltageLevelNominalVoltageMaxValueError: "La limite de tension basse doit être inférieure à celle de tension haute",
|
|
129
|
-
ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero: "Une limite d'ICC doit être supérieure ou égale à 0",
|
|
130
|
-
ShortCircuitCurrentLimitMinMaxError: "La limite ICC min doit être inférieure ou égale à la limite ICC max",
|
|
131
|
-
[DUPLICATED_PROPS_ERROR]: "Propriétés dupliquées : chaque propriété doit être unique",
|
|
132
|
-
[YUP_REQUIRED]: "Obligatoire",
|
|
133
|
-
[YUP_NOT_NULL]: "Ne peut pas être vide",
|
|
134
|
-
[YUP_DEFAULT]: "Ce champ est invalide",
|
|
135
|
-
[YUP_POSITIVE]: "Doit être un nombre positif",
|
|
136
|
-
[YUP_NOT_TYPE_NUMBER]: "Ce champ n'accepte que des valeurs numériques",
|
|
137
|
-
[YUP_NOT_TYPE_DEFAULT]: "La valeur du champ n'est pas au bon format",
|
|
138
117
|
CreateLoad: "Créer une consommation",
|
|
139
118
|
loadType: "Type",
|
|
140
119
|
CreateShuntCompensator: "Créer un moyen de compensation statique (Linéaire)",
|
|
@@ -148,9 +127,6 @@ const networkModificationsFr = {
|
|
|
148
127
|
SusceptanceLabel: "Susceptance (S)",
|
|
149
128
|
SwitchedOnMaxQAtNominalV: "Q enclenchée à tension nominale",
|
|
150
129
|
SwitchedOnMaxSusceptance: "Susceptance enclenchée",
|
|
151
|
-
ShuntCompensatorErrorQAtNominalVoltageLessThanZero: "La valeur de Q à Unom doit être supérieure ou égale à 0",
|
|
152
|
-
MaximumSectionCountMustBeGreaterOrEqualToOne: "Le nombre de gradins doit être supérieur ou égal à 1",
|
|
153
|
-
SectionCountMustBeBetweenZeroAndMaximumSectionCount: "La valeur de la prise courante doit être comprise entre 0 et le nombre de gradins",
|
|
154
130
|
VOLTAGE_LEVEL: "Poste",
|
|
155
131
|
BusBarBus: "SJB / nœud",
|
|
156
132
|
ConnectionName: "Nom départ",
|
|
@@ -229,7 +205,6 @@ const networkModificationsFr = {
|
|
|
229
205
|
operationalLimitsGroup2WithProperties: "Jeu de limites actif côté 2 ayant la propriété",
|
|
230
206
|
Value: "Valeur",
|
|
231
207
|
EmptyField: "Vider le champ",
|
|
232
|
-
NumericValueOrEmptyField: "Valeur numérique ou Vider le champ",
|
|
233
208
|
ValueOrEmptyField: "Valeur ou Vider le champ",
|
|
234
209
|
addNewAssignment: "Modifier un autre champ",
|
|
235
210
|
changeTypeConfirmation: "Le type va être modifié. Toutes les valeurs des champs seront effacées.",
|
|
@@ -241,21 +216,17 @@ const networkModificationsFr = {
|
|
|
241
216
|
Connectivity: "Connectivité",
|
|
242
217
|
ActiveLimits: "Limites en actif",
|
|
243
218
|
ReactiveLimits: "Limites en réactif",
|
|
244
|
-
NormalizedPercentage: "Ce pourcentage doit être compris entre 0 et 100",
|
|
245
219
|
On: "Activé",
|
|
246
220
|
Off: "Désactivé",
|
|
247
221
|
FrequencyRegulation: "Compensation",
|
|
248
222
|
Droop: "Statisme",
|
|
249
223
|
Limits: "Limites",
|
|
250
|
-
MinActivePowerMustBeLessOrEqualToMaxActivePower: "La valeur de la puissance active min doit être inférieure ou égale à la valeur de la puissance active max",
|
|
251
224
|
activePowerControlTooltip: "Clé de distribution de la puissance au nœud bilan : maxP/Statisme, statisme par défaut = 4 (valable pour le mode compensation proportionnel à la puissance maximale des groupes)",
|
|
252
225
|
NoModification: "Pas de modification",
|
|
253
226
|
ReactiveLimitsKindMinMax: "Par plage",
|
|
254
227
|
ReactiveLimitsKindCurve: "Par diagramme",
|
|
255
228
|
MinimumReactivePower: "Puissance réactive minimale",
|
|
256
229
|
MaximumReactivePower: "Puissance réactive maximale",
|
|
257
|
-
ActiveLimitsMinMaxInvalid: "La puissance active maximale doit être supérieure à la puissance active minimale",
|
|
258
|
-
ReactiveLimitsMinMaxInvalid: "La puissance réactive maximale doit être supérieure à la puissance réactive minimale",
|
|
259
230
|
MinReactivePowerRequired: "La puissance réactive minimale est requise si la maximale est définie",
|
|
260
231
|
MaxReactivePowerRequired: "La puissance réactive maximale est requise si la minimale est définie",
|
|
261
232
|
ReactiveCapabilityCurveCreationErrorMissingPoints: "Le tableau des limites de réactifs par diagramme doit comporter au moins quatre points.",
|
|
@@ -303,21 +274,12 @@ const networkModificationsFr = {
|
|
|
303
274
|
disableOLGedition: "Les données saisies pour les jeux de limites ne seront pas conservées. Voulez-vous continuer ?",
|
|
304
275
|
Edit: "Édition",
|
|
305
276
|
View: "Visualisation",
|
|
306
|
-
TemporaryLimitNameUnicityError: "Les noms des limites temporaires doivent être uniques dans la table",
|
|
307
|
-
TemporaryLimitDurationUnicityError: "Les tempos des limites temporaires doivent être uniques dans la table",
|
|
308
|
-
LimitSetApplicabilityError: "2 jeux de limites de même nom doivent s'appliquer sur des côtés différents.",
|
|
309
|
-
permanentCurrentLimitMustBeGreaterThanZero: "La valeur IST doit être supérieure à 0",
|
|
310
|
-
UniqueName: "Le nom doit être unique",
|
|
311
|
-
FieldNotEmpty: "le champs ne doit pas être vide",
|
|
312
277
|
TemporaryCurrentLimitsText: "Limites d'intensité temporaires",
|
|
313
278
|
SelectedOperationalLimitGroup: "Jeu de limites actif",
|
|
314
279
|
ReferenceFieldOrValue: "Champ de référence ou valeur",
|
|
315
280
|
Operator: "Opérateur",
|
|
316
281
|
UseDashToSelectField: "Utiliser # pour sélectionner un champ",
|
|
317
282
|
filter: "Filtre",
|
|
318
|
-
ValueMustBeNumericWhenPercentageError: "Lors de l'utilisation de %, ce champ doit être une valeur numérique positive valide",
|
|
319
|
-
ValueMustBeRefWhenPercentageError: "Lors de l'utilisation de %, ce champ doit être une référence de champ valide",
|
|
320
|
-
WrongRefOrValueError: "Veuillez saisir une valeur numérique valide ou une référence de champ valide. Utiliser # pour sélectionner un champ",
|
|
321
283
|
G: "Conductance magnétisante",
|
|
322
284
|
B: "Susceptance magnétisante",
|
|
323
285
|
// Tabs
|
|
@@ -24,7 +24,6 @@ export declare const parametersFr: {
|
|
|
24
24
|
showSelectParameterDialog: string;
|
|
25
25
|
createParameterLabel: string;
|
|
26
26
|
updateParameterLabel: string;
|
|
27
|
-
nameAlreadyUsed: string;
|
|
28
27
|
tagAlreadyUsed: string;
|
|
29
28
|
studyDirectoryFetchingError: string;
|
|
30
29
|
AddDescription: string;
|
|
@@ -51,7 +50,6 @@ export declare const parametersFr: {
|
|
|
51
50
|
descLfCountriesToBalance: string;
|
|
52
51
|
inputLabelLfCountriesToBalance: string;
|
|
53
52
|
editParameters: string;
|
|
54
|
-
RealPercentage: string;
|
|
55
53
|
General: string;
|
|
56
54
|
LimitReductions: string;
|
|
57
55
|
StudyArea: string;
|
|
@@ -18,7 +18,6 @@ const parametersFr = {
|
|
|
18
18
|
showSelectParameterDialog: "Choisir paramètres",
|
|
19
19
|
createParameterLabel: "Créer des nouveaux paramètres",
|
|
20
20
|
updateParameterLabel: "Remplacer des paramètres existants",
|
|
21
|
-
nameAlreadyUsed: "Ce nom est déjà utilisé",
|
|
22
21
|
tagAlreadyUsed: "Cette balise est déjà utilisée",
|
|
23
22
|
studyDirectoryFetchingError: "Une erreur est survenue lors de la lecture du dossier de l'étude",
|
|
24
23
|
AddDescription: "Ajouter une description (optionnel)",
|
|
@@ -45,7 +44,6 @@ const parametersFr = {
|
|
|
45
44
|
descLfCountriesToBalance: "Pays réglant",
|
|
46
45
|
inputLabelLfCountriesToBalance: "Pays participant à la compensation",
|
|
47
46
|
editParameters: "Éditer les paramètres",
|
|
48
|
-
RealPercentage: "Cette valeur doit être comprise entre 0 et 1",
|
|
49
47
|
General: "Général",
|
|
50
48
|
LimitReductions: "Abattements",
|
|
51
49
|
StudyArea: "Zone d'étude",
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
7
|
export declare const processConfigFr: {
|
|
8
|
+
'process_config/editLFProcessConfigTitle': string;
|
|
8
9
|
'process_config/editSAProcessConfigTitle': string;
|
|
9
10
|
'process_config/modifications': string;
|
|
10
11
|
'process_config/providersParameters': string;
|
|
11
12
|
'process_config/loadflow': string;
|
|
12
13
|
'process_config/securityAnalysis': string;
|
|
14
|
+
'processConfig/fetchProcessConfigError': string;
|
|
15
|
+
'processConfig/updateProcessConfigError': string;
|
|
13
16
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
const processConfigFr = {
|
|
2
|
-
"process_config/
|
|
2
|
+
"process_config/editLFProcessConfigTitle": "Éditer une configuration de chaîne de calcul de répartition",
|
|
3
|
+
"process_config/editSAProcessConfigTitle": "Éditer une configuration d'analyse de sécurité sous aléas",
|
|
3
4
|
"process_config/modifications": "Modifications",
|
|
4
5
|
"process_config/providersParameters": "Paramètres des simulateurs",
|
|
5
6
|
"process_config/loadflow": "Calcul de répartition",
|
|
6
|
-
"process_config/securityAnalysis": "Analyse de sécurité"
|
|
7
|
+
"process_config/securityAnalysis": "Analyse de sécurité",
|
|
8
|
+
"processConfig/fetchProcessConfigError": "Une erreur est survenue lors de la récupération de la configuration de chaîne",
|
|
9
|
+
"processConfig/updateProcessConfigError": "Une erreur est survenue lors de la mise à jour de la configuration de chaîne"
|
|
7
10
|
};
|
|
8
11
|
export {
|
|
9
12
|
processConfigFr
|
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
7
|
export declare const useUniqueNameValidationFr: {
|
|
8
|
-
'use-unique-name-validation/nameAlreadyUsed': string;
|
|
9
8
|
'use-unique-name-validation/nameValidityCheckErrorMsg': string;
|
|
10
9
|
'use-unique-name-validation/cantSubmitWhileValidating': string;
|
|
11
|
-
'use-unique-name-validation/nameEmpty': string;
|
|
12
10
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
const useUniqueNameValidationFr = {
|
|
2
|
-
"use-unique-name-validation/nameAlreadyUsed": "Ce nom est déjà utilisé",
|
|
3
2
|
"use-unique-name-validation/nameValidityCheckErrorMsg": "Erreur lors de la vérification de la validité du nom",
|
|
4
|
-
"use-unique-name-validation/cantSubmitWhileValidating": "Impossible de soumettre le formulaire durant la validation d'un champ"
|
|
5
|
-
"use-unique-name-validation/nameEmpty": "Le nom est vide"
|
|
3
|
+
"use-unique-name-validation/cantSubmitWhileValidating": "Impossible de soumettre le formulaire durant la validation d'un champ"
|
|
6
4
|
};
|
|
7
5
|
export {
|
|
8
6
|
useUniqueNameValidationFr
|
|
@@ -5,14 +5,17 @@ import { MAX_CHAR_DESCRIPTION } from "./uiConstants.js";
|
|
|
5
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";
|
|
6
6
|
import { COMMON_APP_NAME, COMMON_CONFIG_PARAMS_NAMES, LAST_SELECTED_DIRECTORY, PARAM_DEVELOPER_MODE, PARAM_LANGUAGE, PARAM_THEME } from "./configConstants.js";
|
|
7
7
|
import { FILTERS, FILTER_ID, FILTER_NAME, ID } from "./filterConstant.js";
|
|
8
|
-
import { DUPLICATED_PROPS_ERROR, YUP_DEFAULT, YUP_NOT_NULL, YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_REQUIRED } from "./translationKeys.js";
|
|
8
|
+
import { ACTIVE_LIMITS_MIN_MAX_INVALID, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID, DESCRIPTION_LIMIT_ERROR, DUPLICATED_PROPS_ERROR, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, MUST_BE_GREATER_OR_EQUAL_TO_ZERO, NAME_ALREADY_USED, NAME_EMPTY, NORMALIZED_PERCENTAGE, NUMERIC_VALUE_OR_EMPTY_FIELD, REACTIVE_LIMITS_MIN_MAX_INVALID, REAL_PERCENTAGE, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, YUP_DEFAULT, YUP_NOT_NULL, YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_REQUIRED } from "./translationKeys.js";
|
|
9
9
|
export {
|
|
10
|
+
ACTIVE_LIMITS_MIN_MAX_INVALID,
|
|
10
11
|
AMPERE,
|
|
11
12
|
ActivePowerAdornment,
|
|
12
13
|
AmpereAdornment,
|
|
13
14
|
COMMON_APP_NAME,
|
|
14
15
|
COMMON_CONFIG_PARAMS_NAMES,
|
|
16
|
+
CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID,
|
|
15
17
|
DEGREE,
|
|
18
|
+
DESCRIPTION_LIMIT_ERROR,
|
|
16
19
|
DUPLICATED_PROPS_ERROR,
|
|
17
20
|
FILTERS,
|
|
18
21
|
FILTER_ID,
|
|
@@ -26,13 +29,20 @@ export {
|
|
|
26
29
|
KiloAmpereAdornment,
|
|
27
30
|
KilometerAdornment,
|
|
28
31
|
LAST_SELECTED_DIRECTORY,
|
|
32
|
+
MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE,
|
|
29
33
|
MAX_CHAR_DESCRIPTION,
|
|
30
34
|
MEGA_VAR,
|
|
31
35
|
MEGA_VOLT_AMPERE,
|
|
32
36
|
MEGA_WATT,
|
|
33
37
|
MICRO_SIEMENS,
|
|
38
|
+
MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER,
|
|
39
|
+
MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
34
40
|
MVAPowerAdornment,
|
|
35
41
|
MicroSusceptanceAdornment,
|
|
42
|
+
NAME_ALREADY_USED,
|
|
43
|
+
NAME_EMPTY,
|
|
44
|
+
NORMALIZED_PERCENTAGE,
|
|
45
|
+
NUMERIC_VALUE_OR_EMPTY_FIELD,
|
|
36
46
|
OHM,
|
|
37
47
|
OhmAdornment,
|
|
38
48
|
PARAM_DEVELOPER_MODE,
|
|
@@ -40,10 +50,18 @@ export {
|
|
|
40
50
|
PARAM_THEME,
|
|
41
51
|
PERCENTAGE,
|
|
42
52
|
PercentageAdornment,
|
|
53
|
+
REACTIVE_LIMITS_MIN_MAX_INVALID,
|
|
54
|
+
REAL_PERCENTAGE,
|
|
43
55
|
ReactivePowerAdornment,
|
|
56
|
+
SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT,
|
|
57
|
+
SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
58
|
+
SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO,
|
|
44
59
|
SIEMENS,
|
|
45
60
|
SusceptanceAdornment,
|
|
61
|
+
VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR,
|
|
62
|
+
VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR,
|
|
46
63
|
VoltageAdornment,
|
|
64
|
+
WRONG_REF_OR_VALUE_ERROR,
|
|
47
65
|
YUP_DEFAULT,
|
|
48
66
|
YUP_NOT_NULL,
|
|
49
67
|
YUP_NOT_TYPE_DEFAULT,
|
|
@@ -5,3 +5,21 @@ export declare const YUP_POSITIVE = "YupPositive";
|
|
|
5
5
|
export declare const YUP_NOT_TYPE_NUMBER = "YupNotTypeNumber";
|
|
6
6
|
export declare const YUP_NOT_TYPE_DEFAULT = "YupNotTypeDefault";
|
|
7
7
|
export declare const DUPLICATED_PROPS_ERROR = "DuplicatedPropsError";
|
|
8
|
+
export declare const REAL_PERCENTAGE = "RealPercentage";
|
|
9
|
+
export declare const MUST_BE_GREATER_OR_EQUAL_TO_ZERO = "mustBeGreaterOrEqualToZero";
|
|
10
|
+
export declare const NORMALIZED_PERCENTAGE = "NormalizedPercentage";
|
|
11
|
+
export declare const DESCRIPTION_LIMIT_ERROR = "descriptionLimitError";
|
|
12
|
+
export declare const SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO = "ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero";
|
|
13
|
+
export declare const NAME_EMPTY = "nameEmpty";
|
|
14
|
+
export declare const ACTIVE_LIMITS_MIN_MAX_INVALID = "ActiveLimitsMinMaxInvalid";
|
|
15
|
+
export declare const REACTIVE_LIMITS_MIN_MAX_INVALID = "ReactiveLimitsMinMaxInvalid";
|
|
16
|
+
export declare const SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO = "ShuntCompensatorErrorQAtNominalVoltageLessThanZero";
|
|
17
|
+
export declare const MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE = "MaximumSectionCountMustBeGreaterOrEqualToOne";
|
|
18
|
+
export declare const SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT = "SectionCountMustBeBetweenZeroAndMaximumSectionCount";
|
|
19
|
+
export declare const CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID = "CreateSubstationInVoltageLevelIdenticalId";
|
|
20
|
+
export declare const MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER = "MinActivePowerMustBeLessOrEqualToMaxActivePower";
|
|
21
|
+
export declare const NAME_ALREADY_USED = "nameAlreadyUsed";
|
|
22
|
+
export declare const NUMERIC_VALUE_OR_EMPTY_FIELD = "NumericValueOrEmptyField";
|
|
23
|
+
export declare const WRONG_REF_OR_VALUE_ERROR = "WrongRefOrValueError";
|
|
24
|
+
export declare const VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR = "ValueMustBeNumericWhenPercentageError";
|
|
25
|
+
export declare const VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR = "ValueMustBeRefWhenPercentageError";
|
|
@@ -5,8 +5,44 @@ const YUP_POSITIVE = "YupPositive";
|
|
|
5
5
|
const YUP_NOT_TYPE_NUMBER = "YupNotTypeNumber";
|
|
6
6
|
const YUP_NOT_TYPE_DEFAULT = "YupNotTypeDefault";
|
|
7
7
|
const DUPLICATED_PROPS_ERROR = "DuplicatedPropsError";
|
|
8
|
+
const REAL_PERCENTAGE = "RealPercentage";
|
|
9
|
+
const MUST_BE_GREATER_OR_EQUAL_TO_ZERO = "mustBeGreaterOrEqualToZero";
|
|
10
|
+
const NORMALIZED_PERCENTAGE = "NormalizedPercentage";
|
|
11
|
+
const DESCRIPTION_LIMIT_ERROR = "descriptionLimitError";
|
|
12
|
+
const SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO = "ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero";
|
|
13
|
+
const NAME_EMPTY = "nameEmpty";
|
|
14
|
+
const ACTIVE_LIMITS_MIN_MAX_INVALID = "ActiveLimitsMinMaxInvalid";
|
|
15
|
+
const REACTIVE_LIMITS_MIN_MAX_INVALID = "ReactiveLimitsMinMaxInvalid";
|
|
16
|
+
const SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO = "ShuntCompensatorErrorQAtNominalVoltageLessThanZero";
|
|
17
|
+
const MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE = "MaximumSectionCountMustBeGreaterOrEqualToOne";
|
|
18
|
+
const SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT = "SectionCountMustBeBetweenZeroAndMaximumSectionCount";
|
|
19
|
+
const CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID = "CreateSubstationInVoltageLevelIdenticalId";
|
|
20
|
+
const MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER = "MinActivePowerMustBeLessOrEqualToMaxActivePower";
|
|
21
|
+
const NAME_ALREADY_USED = "nameAlreadyUsed";
|
|
22
|
+
const NUMERIC_VALUE_OR_EMPTY_FIELD = "NumericValueOrEmptyField";
|
|
23
|
+
const WRONG_REF_OR_VALUE_ERROR = "WrongRefOrValueError";
|
|
24
|
+
const VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR = "ValueMustBeNumericWhenPercentageError";
|
|
25
|
+
const VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR = "ValueMustBeRefWhenPercentageError";
|
|
8
26
|
export {
|
|
27
|
+
ACTIVE_LIMITS_MIN_MAX_INVALID,
|
|
28
|
+
CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID,
|
|
29
|
+
DESCRIPTION_LIMIT_ERROR,
|
|
9
30
|
DUPLICATED_PROPS_ERROR,
|
|
31
|
+
MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE,
|
|
32
|
+
MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER,
|
|
33
|
+
MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
34
|
+
NAME_ALREADY_USED,
|
|
35
|
+
NAME_EMPTY,
|
|
36
|
+
NORMALIZED_PERCENTAGE,
|
|
37
|
+
NUMERIC_VALUE_OR_EMPTY_FIELD,
|
|
38
|
+
REACTIVE_LIMITS_MIN_MAX_INVALID,
|
|
39
|
+
REAL_PERCENTAGE,
|
|
40
|
+
SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT,
|
|
41
|
+
SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
42
|
+
SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO,
|
|
43
|
+
VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR,
|
|
44
|
+
VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR,
|
|
45
|
+
WRONG_REF_OR_VALUE_ERROR,
|
|
10
46
|
YUP_DEFAULT,
|
|
11
47
|
YUP_NOT_NULL,
|
|
12
48
|
YUP_NOT_TYPE_DEFAULT,
|
package/dist/utils/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { MAX_CHAR_DESCRIPTION } from "./constants/uiConstants.js";
|
|
|
6
6
|
import { AMPERE, DEGREE, KILO_AMPERE, KILO_METER, KILO_VOLT, MEGA_VAR, MEGA_VOLT_AMPERE, MEGA_WATT, MICRO_SIEMENS, OHM, PERCENTAGE, SIEMENS } from "./constants/unitsConstants.js";
|
|
7
7
|
import { COMMON_APP_NAME, COMMON_CONFIG_PARAMS_NAMES, LAST_SELECTED_DIRECTORY, PARAM_DEVELOPER_MODE, PARAM_LANGUAGE, PARAM_THEME } from "./constants/configConstants.js";
|
|
8
8
|
import { FILTERS, FILTER_ID, FILTER_NAME, ID } from "./constants/filterConstant.js";
|
|
9
|
-
import { DUPLICATED_PROPS_ERROR, YUP_DEFAULT, YUP_NOT_NULL, YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_REQUIRED } from "./constants/translationKeys.js";
|
|
9
|
+
import { ACTIVE_LIMITS_MIN_MAX_INVALID, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID, DESCRIPTION_LIMIT_ERROR, DUPLICATED_PROPS_ERROR, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, MUST_BE_GREATER_OR_EQUAL_TO_ZERO, NAME_ALREADY_USED, NAME_EMPTY, NORMALIZED_PERCENTAGE, NUMERIC_VALUE_OR_EMPTY_FIELD, REACTIVE_LIMITS_MIN_MAX_INVALID, REAL_PERCENTAGE, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, YUP_DEFAULT, YUP_NOT_NULL, YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_REQUIRED } from "./constants/translationKeys.js";
|
|
10
10
|
import { GRIDSUITE_DEFAULT_PRECISION, convertInputValue, convertOutputValue, isBlankOrEmpty, kiloUnitToUnit, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, toModificationOperation, unitToKiloUnit, unitToMicroUnit } from "./conversionUtils.js";
|
|
11
11
|
import { catchErrorHandler, extractErrorMessageDescriptor, snackWithFallback } from "./error.js";
|
|
12
12
|
import { isDisabledValidationButton } from "./form-utils.js";
|
|
@@ -39,6 +39,7 @@ import { areIdsEqual, getIdOrSelf, getIdOrValue, getLabelOrValue, getObjectId, i
|
|
|
39
39
|
import { toNumber, validateValueIsANumber } from "./validation-functions.js";
|
|
40
40
|
import { NO_ITEM_SELECTION_FOR_COPY } from "./directory-utils.js";
|
|
41
41
|
export {
|
|
42
|
+
ACTIVE_LIMITS_MIN_MAX_INVALID,
|
|
42
43
|
ALL_EQUIPMENTS,
|
|
43
44
|
AMPERE,
|
|
44
45
|
ActivePowerAdornment,
|
|
@@ -52,11 +53,13 @@ export {
|
|
|
52
53
|
COMMON_APP_NAME,
|
|
53
54
|
COMMON_CONFIG_PARAMS_NAMES,
|
|
54
55
|
CONNECTION_DIRECTIONS,
|
|
56
|
+
CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID,
|
|
55
57
|
CalculationType,
|
|
56
58
|
ComputingType,
|
|
57
59
|
CustomError,
|
|
58
60
|
DARK_THEME,
|
|
59
61
|
DEGREE,
|
|
62
|
+
DESCRIPTION_LIMIT_ERROR,
|
|
60
63
|
DUPLICATED_PROPS_ERROR,
|
|
61
64
|
DistributionType,
|
|
62
65
|
ENERGY_SOURCES,
|
|
@@ -95,16 +98,23 @@ export {
|
|
|
95
98
|
Line,
|
|
96
99
|
Load,
|
|
97
100
|
LoadModelsRule,
|
|
101
|
+
MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE,
|
|
98
102
|
MAX_CHAR_DESCRIPTION,
|
|
99
103
|
MEGA_VAR,
|
|
100
104
|
MEGA_VOLT_AMPERE,
|
|
101
105
|
MEGA_WATT,
|
|
102
106
|
MICRO_SIEMENS,
|
|
107
|
+
MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER,
|
|
103
108
|
MODIFICATION_TYPES,
|
|
109
|
+
MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
104
110
|
MVAPowerAdornment,
|
|
105
111
|
MicroSusceptanceAdornment,
|
|
106
112
|
ModificationType,
|
|
113
|
+
NAME_ALREADY_USED,
|
|
114
|
+
NAME_EMPTY,
|
|
115
|
+
NORMALIZED_PERCENTAGE,
|
|
107
116
|
NO_ITEM_SELECTION_FOR_COPY,
|
|
117
|
+
NUMERIC_VALUE_OR_EMPTY_FIELD,
|
|
108
118
|
NetworkTimeoutError,
|
|
109
119
|
NotificationsUrlKeys,
|
|
110
120
|
OHM,
|
|
@@ -122,8 +132,13 @@ export {
|
|
|
122
132
|
ParameterType,
|
|
123
133
|
PercentageAdornment,
|
|
124
134
|
ProblemDetailError,
|
|
135
|
+
REACTIVE_LIMITS_MIN_MAX_INVALID,
|
|
136
|
+
REAL_PERCENTAGE,
|
|
125
137
|
ReactivePowerAdornment,
|
|
126
138
|
SEARCH_EQUIPMENTS,
|
|
139
|
+
SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT,
|
|
140
|
+
SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
141
|
+
SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO,
|
|
127
142
|
SIEMENS,
|
|
128
143
|
SVC,
|
|
129
144
|
SensitivityType,
|
|
@@ -136,10 +151,13 @@ export {
|
|
|
136
151
|
TwoWindingTransfo,
|
|
137
152
|
UNDEFINED_CONNECTION_DIRECTION,
|
|
138
153
|
UNDEFINED_LOAD_TYPE,
|
|
154
|
+
VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR,
|
|
155
|
+
VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR,
|
|
139
156
|
VL_TAG_MAX_SIZE,
|
|
140
157
|
VSC,
|
|
141
158
|
VoltageAdornment,
|
|
142
159
|
VoltageLevel,
|
|
160
|
+
WRONG_REF_OR_VALUE_ERROR,
|
|
143
161
|
YUP_DEFAULT,
|
|
144
162
|
YUP_NOT_NULL,
|
|
145
163
|
YUP_NOT_TYPE_DEFAULT,
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { NameElementEditorForm } from "./name-element-editor-form.js";
|
|
2
|
-
import { getNameElementEditorEmptyFormData, getNameElementEditorSchema } from "./name-element-editor-utils.js";
|
|
3
|
-
export {
|
|
4
|
-
NameElementEditorForm,
|
|
5
|
-
getNameElementEditorEmptyFormData,
|
|
6
|
-
getNameElementEditorSchema
|
|
7
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { UUID } from 'node:crypto';
|
|
2
|
-
import { IdName } from '../../utils';
|
|
3
|
-
export declare enum ProcessType {
|
|
4
|
-
SECURITY_ANALYSIS = "SECURITY_ANALYSIS",
|
|
5
|
-
LOADFLOW = "LOADFLOW"
|
|
6
|
-
}
|
|
7
|
-
export interface ModificationInfo {
|
|
8
|
-
modificationUuid: UUID;
|
|
9
|
-
description: string | null;
|
|
10
|
-
active: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface ProcessConfigBaseBackend {
|
|
13
|
-
processType: ProcessType;
|
|
14
|
-
modifications: ModificationInfo[];
|
|
15
|
-
}
|
|
16
|
-
export interface SecurityAnalysisProcessConfigBackend extends ProcessConfigBaseBackend {
|
|
17
|
-
processType: ProcessType.SECURITY_ANALYSIS;
|
|
18
|
-
securityAnalysisParametersUuid: UUID;
|
|
19
|
-
loadflowParametersUuid: UUID;
|
|
20
|
-
}
|
|
21
|
-
export type ProcessConfigBackend = SecurityAnalysisProcessConfigBackend;
|
|
22
|
-
export type PersistedProcessConfigBackend = {
|
|
23
|
-
id: UUID;
|
|
24
|
-
processConfig: ProcessConfigBackend;
|
|
25
|
-
};
|
|
26
|
-
export type SecurityAnalysisProcessConfig = Omit<SecurityAnalysisProcessConfigBackend, 'securityAnalysisParametersUuid' | 'loadflowParametersUuid' | 'modifications'> & {
|
|
27
|
-
modifications: (IdName & {
|
|
28
|
-
active: boolean;
|
|
29
|
-
description?: string;
|
|
30
|
-
})[];
|
|
31
|
-
loadflowParameters: IdName;
|
|
32
|
-
securityAnalysisParameters: IdName;
|
|
33
|
-
};
|
package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { UUID } from 'node:crypto';
|
|
2
|
-
import { PersistedProcessConfigBackend, SecurityAnalysisProcessConfigBackend } from '../process-configs.type';
|
|
3
|
-
interface UpdateSAProcessConfigDialogProps {
|
|
4
|
-
open: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
processConfigId: UUID;
|
|
7
|
-
name: string;
|
|
8
|
-
description: string | null;
|
|
9
|
-
directory: UUID;
|
|
10
|
-
fetchSAProcessConfig: (processConfigUuid: UUID) => Promise<PersistedProcessConfigBackend>;
|
|
11
|
-
updateSAProcessConfig: (processConfigUuid: UUID, name: string, description: string, processConfig: SecurityAnalysisProcessConfigBackend) => Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export declare function UpdateSAProcessConfigDialog({ onClose, open, processConfigId, description, name, directory, fetchSAProcessConfig, updateSAProcessConfig, }: Readonly<UpdateSAProcessConfigDialogProps>): import("react").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { UUID } from 'node:crypto';
|
|
2
|
-
interface UpdateSaProcessConfigProps {
|
|
3
|
-
directory: UUID;
|
|
4
|
-
processConfigName: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function UpdateSaProcessConfig({ directory, processConfigName }: Readonly<UpdateSaProcessConfigProps>): import("react").JSX.Element;
|
|
7
|
-
export {};
|
package/dist/features/process-configs/security-analysis/update-sa-process-configs-utils.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { PersistedProcessConfigBackend, ProcessType, SecurityAnalysisProcessConfig, SecurityAnalysisProcessConfigBackend } from '../process-configs.type';
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2026, RTE (http://www.rte-france.com)
|
|
4
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
5
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
6
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
7
|
-
*/
|
|
8
|
-
import * as yup from 'yup';
|
|
9
|
-
export declare function getSAProcessConfigFormDataFromFetchedElement(processConfig: SecurityAnalysisProcessConfig, name: string, description: string | null): {
|
|
10
|
-
name: string;
|
|
11
|
-
description: string | undefined;
|
|
12
|
-
modifications: {
|
|
13
|
-
modification: {
|
|
14
|
-
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
15
|
-
name: string | undefined;
|
|
16
|
-
}[];
|
|
17
|
-
description: string;
|
|
18
|
-
active: boolean;
|
|
19
|
-
}[];
|
|
20
|
-
securityAnalysisParameters: import('../../..').IdName[];
|
|
21
|
-
loadflowParameters: import('../../..').IdName[];
|
|
22
|
-
};
|
|
23
|
-
export declare function getSAProcessConfigBackendFromFormData(formData: UpdateSAProcessConfigFormData): SecurityAnalysisProcessConfigBackend;
|
|
24
|
-
export declare const updateSAProcessConfigFormSchema: yup.ObjectSchema<{
|
|
25
|
-
name: string;
|
|
26
|
-
description: string | undefined;
|
|
27
|
-
modifications: {
|
|
28
|
-
description?: string | null | undefined;
|
|
29
|
-
active: NonNullable<boolean | undefined>;
|
|
30
|
-
modification: {
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
|
-
}[];
|
|
34
|
-
}[];
|
|
35
|
-
loadflowParameters: {
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
}[];
|
|
39
|
-
securityAnalysisParameters: {
|
|
40
|
-
id: string;
|
|
41
|
-
name: string;
|
|
42
|
-
}[];
|
|
43
|
-
}, yup.AnyObject, {
|
|
44
|
-
name: undefined;
|
|
45
|
-
description: undefined;
|
|
46
|
-
modifications: "";
|
|
47
|
-
loadflowParameters: "";
|
|
48
|
-
securityAnalysisParameters: "";
|
|
49
|
-
}, "">;
|
|
50
|
-
export type UpdateSAProcessConfigFormData = yup.InferType<typeof updateSAProcessConfigFormSchema>;
|
|
51
|
-
export declare function toSAProcessConfig(persistedProcessConfig: PersistedProcessConfigBackend): Promise<{
|
|
52
|
-
processType: ProcessType.SECURITY_ANALYSIS;
|
|
53
|
-
modifications: {
|
|
54
|
-
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
55
|
-
name: string;
|
|
56
|
-
active: boolean;
|
|
57
|
-
description: string | undefined;
|
|
58
|
-
}[];
|
|
59
|
-
securityAnalysisParameters: {
|
|
60
|
-
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
61
|
-
name: string;
|
|
62
|
-
};
|
|
63
|
-
loadflowParameters: {
|
|
64
|
-
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
65
|
-
name: string;
|
|
66
|
-
};
|
|
67
|
-
}>;
|
|
68
|
-
export declare function isProcessType(type: string): type is ProcessType;
|