@gridsuite/commons-ui 0.270.0 → 0.271.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/ui/dialogs/customMuiDialog/CustomMuiDialog.d.ts +10 -3
- package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.js +33 -28
- package/dist/features/index.js +87 -2
- package/dist/features/network-modifications/common/branch/branchCreation.types.d.ts +26 -0
- package/dist/features/network-modifications/common/branch/branchModification.types.d.ts +36 -0
- package/dist/features/network-modifications/common/branch/branchModification.types.js +1 -0
- package/dist/features/network-modifications/{line/characteristics/lineCharacteristicsPane.types.d.ts → common/branch/index.d.ts} +2 -8
- package/dist/features/network-modifications/common/branch/index.js +1 -0
- package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.d.ts +2 -0
- package/dist/features/network-modifications/common/currentLimits/limits.types.d.ts +1 -0
- package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.d.ts +2 -2
- package/dist/features/network-modifications/common/index.d.ts +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +1 -1
- package/dist/features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.d.ts +2 -2
- package/dist/features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.js +2 -2
- package/dist/features/network-modifications/index.d.ts +1 -0
- package/dist/features/network-modifications/index.js +87 -2
- package/dist/features/network-modifications/line/characteristics/index.d.ts +0 -1
- package/dist/features/network-modifications/line/characteristics/index.js +1 -2
- package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.d.ts +4 -19
- package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +0 -14
- package/dist/features/network-modifications/line/creation/lineCreation.types.d.ts +6 -26
- package/dist/features/network-modifications/line/index.js +1 -2
- package/dist/features/network-modifications/line/modification/lineModification.types.d.ts +3 -35
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.d.ts +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.js +168 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/index.d.ts +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/index.js +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.d.ts +41 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.js +51 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.js +123 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.js +89 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.d.ts +14 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.js +118 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.js +47 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/index.js +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.types.d.ts +87 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.js +50 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/index.d.ts +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/index.js +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.d.ts +47 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.js +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.d.ts +248 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.js +325 -0
- package/dist/features/network-modifications/twoWindingsTransformer/index.d.ts +11 -0
- package/dist/features/network-modifications/twoWindingsTransformer/index.js +88 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/index.js +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.js +104 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/index.js +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.type.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.type.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.js +18 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.types.d.ts +39 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.d.ts +265 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.js +100 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.d.ts +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.js +130 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.d.ts +20 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.js +311 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/index.js +53 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.js +198 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.js +201 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/index.js +15 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.d.ts +114 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.js +242 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.js +283 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.js +181 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/index.js +18 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.d.ts +132 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.js +211 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.js +102 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.d.ts +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.js +22 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.js +86 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.js +140 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/index.js +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.types.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.js +19 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.d.ts +14 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.js +79 -0
- package/dist/index.js +98 -6
- package/dist/translations/en/filterExpertEn.d.ts +0 -3
- package/dist/translations/en/filterExpertEn.js +0 -3
- package/dist/translations/en/network-modification-validationEn.d.ts +1 -0
- package/dist/translations/en/network-modification-validationEn.js +2 -1
- package/dist/translations/en/networkModificationsEn.d.ts +70 -9
- package/dist/translations/en/networkModificationsEn.js +71 -10
- package/dist/translations/fr/filterExpertFr.d.ts +0 -3
- package/dist/translations/fr/filterExpertFr.js +0 -3
- package/dist/translations/fr/network-modification-validationFr.d.ts +1 -0
- package/dist/translations/fr/network-modification-validationFr.js +2 -1
- package/dist/translations/fr/networkModificationsFr.d.ts +70 -9
- package/dist/translations/fr/networkModificationsFr.js +71 -10
- package/dist/utils/constants/fieldConstants.d.ts +37 -0
- package/dist/utils/constants/fieldConstants.js +37 -0
- package/dist/utils/constants/index.js +2 -1
- package/dist/utils/constants/translationKeys.d.ts +1 -0
- package/dist/utils/constants/translationKeys.js +2 -0
- package/dist/utils/functions.d.ts +9 -0
- package/dist/utils/functions.js +40 -0
- package/dist/utils/index.js +11 -4
- package/dist/utils/langs.d.ts +1 -0
- package/dist/utils/langs.js +9 -1
- package/dist/utils/types/equipmentType.d.ts +34 -0
- package/dist/utils/types/equipmentType.js +28 -0
- package/dist/utils/types/index.js +4 -1
- package/package.json +1 -1
- /package/dist/features/network-modifications/{line/characteristics/lineCharacteristicsPane.types.js → common/branch/branchCreation.types.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -300,13 +300,13 @@ import { MAX_CHAR_DESCRIPTION } from "./utils/constants/uiConstants.js";
|
|
|
300
300
|
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";
|
|
301
301
|
import { COMMON_APP_NAME, COMMON_CONFIG_PARAMS_NAMES, LAST_SELECTED_DIRECTORY, PARAM_DEVELOPER_MODE, PARAM_LANGUAGE, PARAM_THEME } from "./utils/constants/configConstants.js";
|
|
302
302
|
import { FILTERS, FILTER_ID, FILTER_NAME, ID } from "./utils/constants/filterConstant.js";
|
|
303
|
-
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 "./utils/constants/translationKeys.js";
|
|
303
|
+
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, TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_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 "./utils/constants/translationKeys.js";
|
|
304
304
|
import { GRIDSUITE_DEFAULT_PRECISION, convertInputValue, convertOutputValue, isBlankOrEmpty, kiloUnitToUnit, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, toModificationOperation, unitToKiloUnit, unitToMicroUnit } from "./utils/conversionUtils.js";
|
|
305
305
|
import { catchErrorHandler, extractErrorMessageDescriptor, snackWithFallback } from "./utils/error.js";
|
|
306
306
|
import { isDisabledValidationButton } from "./utils/form-utils.js";
|
|
307
|
-
import { areArrayElementsUnique, arraysContainIdenticalStrings, getRows, hasNonEmptyRows, isEmpty, isObjectEmpty, keyGenerator } from "./utils/functions.js";
|
|
307
|
+
import { addSelectedFieldToRows, areArrayElementsUnique, areNumbersOrdered, arraysContainIdenticalStrings, getRows, hasNonEmptyRows, isEmpty, isObjectEmpty, keyGenerator } from "./utils/functions.js";
|
|
308
308
|
import { getEquipmentTypeShortLabel } from "./utils/labelUtils.js";
|
|
309
|
-
import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, getCsvDelimiter } from "./utils/langs.js";
|
|
309
|
+
import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, getCsvDelimiter, transformIfFrenchNumber } from "./utils/langs.js";
|
|
310
310
|
import { getFileIcon } from "./utils/mapper/getFileIcon.js";
|
|
311
311
|
import { equipmentTypesForPredefinedPropertiesMapper } from "./utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js";
|
|
312
312
|
import { copyToClipboard } from "./utils/navigator-clipboard.js";
|
|
@@ -316,7 +316,7 @@ import { CustomError } from "./utils/types/CustomError.js";
|
|
|
316
316
|
import { ProblemDetailError } from "./utils/types/ProblemDetailError.js";
|
|
317
317
|
import { NetworkTimeoutError } from "./utils/types/NetworkTimeoutError.js";
|
|
318
318
|
import { ElementType } from "./utils/types/elementType.js";
|
|
319
|
-
import { ALL_EQUIPMENTS, BASE_EQUIPMENTS, CONNECTION_DIRECTIONS, ENERGY_SOURCES, EQUIPMENTS_WITH_ONE_NOMINAL_VOLTAGE, EQUIPMENTS_WITH_ONE_SUBSTATION, EQUIPMENTS_WITH_THREE_NOMINAL_VOLTAGES, EQUIPMENTS_WITH_TWO_NOMINAL_VOLTAGES, EQUIPMENTS_WITH_TWO_SUBSTATIONS, EquipmentType, ExtendedEquipmentType, HvdcType, LOAD_TYPES, OperatingStatus, SEARCH_EQUIPMENTS, TYPE_TAG_MAX_SIZE, UNDEFINED_CONNECTION_DIRECTION, UNDEFINED_LOAD_TYPE, VL_TAG_MAX_SIZE, equipmentStyles, getConnectionDirectionLabel, getEnergySourceLabel, getEquipmentsInfosForSearchBar, getLoadTypeLabel } from "./utils/types/equipmentType.js";
|
|
319
|
+
import { ALL_EQUIPMENTS, BASE_EQUIPMENTS, CONNECTION_DIRECTIONS, ENERGY_SOURCES, EQUIPMENTS_WITH_ONE_NOMINAL_VOLTAGE, EQUIPMENTS_WITH_ONE_SUBSTATION, EQUIPMENTS_WITH_THREE_NOMINAL_VOLTAGES, EQUIPMENTS_WITH_TWO_NOMINAL_VOLTAGES, EQUIPMENTS_WITH_TWO_SUBSTATIONS, EquipmentType, ExtendedEquipmentType, HvdcType, LOAD_TYPES, OperatingStatus, PHASE_REGULATION_MODES, RATIO_REGULATION_MODES, REGULATION_SIDES, SEARCH_EQUIPMENTS, TYPE_TAG_MAX_SIZE, UNDEFINED_CONNECTION_DIRECTION, UNDEFINED_LOAD_TYPE, VL_TAG_MAX_SIZE, equipmentStyles, getConnectionDirectionLabel, getEnergySourceLabel, getEquipmentsInfosForSearchBar, getLoadTypeLabel } from "./utils/types/equipmentType.js";
|
|
320
320
|
import { Battery, BoundaryLine, BusBar, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel, isInjection } from "./utils/types/equipmentTypes.js";
|
|
321
321
|
import { AnnouncementSeverity, ArrayAction, ElementStatus, ReferenceType } from "./utils/types/types.js";
|
|
322
322
|
import { MODIFICATION_TYPES, ModificationType } from "./utils/types/modificationType.js";
|
|
@@ -403,7 +403,7 @@ import { ShuntCompensatorCreationForm } from "./features/network-modifications/s
|
|
|
403
403
|
import { shuntCompensatorCreationDtoToForm, shuntCompensatorCreationEmptyFormData, shuntCompensatorCreationFormSchema, shuntCompensatorCreationFormToDto } from "./features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js";
|
|
404
404
|
import { ShuntCompensatorModificationForm } from "./features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js";
|
|
405
405
|
import { shuntCompensatorModificationDtoToForm, shuntCompensatorModificationEmptyFormData, shuntCompensatorModificationFormSchema, shuntCompensatorModificationFormToDto } from "./features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js";
|
|
406
|
-
import {
|
|
406
|
+
import { getLineCharacteristicsEmptyFormData, getLineCharacteristicsFormData, getLineCharacteristicsValidationSchemaProps } from "./features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js";
|
|
407
407
|
import { LineCharacteristicsPane } from "./features/network-modifications/line/characteristics/LineCharacteristicsPane.js";
|
|
408
408
|
import { CATEGORIES_TABS } from "./features/network-modifications/line/catalog/lineCatalog.type.js";
|
|
409
409
|
import { LineSegmentsInfoSchema, SegmentCurrentLimitsSchema, SegmentInfoSchema, SegmentSchema, SegmentTemporaryLimitSchema, convertLimitsToOperationalLimitsGroupFormSchema, convertToLineSegmentInfos, convertToLineSegmentsFormData, emptyLineSegment } from "./features/network-modifications/line/catalog/segment.utils.js";
|
|
@@ -414,6 +414,32 @@ import { LineDialogHeader } from "./features/network-modifications/line/common/L
|
|
|
414
414
|
import { LineForm } from "./features/network-modifications/line/common/LineForm.js";
|
|
415
415
|
import { lineCreationDtoToForm, lineCreationEmptyFormData, lineCreationFormSchema, lineCreationFormToDto } from "./features/network-modifications/line/creation/lineCreation.utils.js";
|
|
416
416
|
import { lineModificationDtoToForm, lineModificationEmptyFormData, lineModificationFormSchema, lineModificationFormToDto } from "./features/network-modifications/line/modification/lineModification.utils.js";
|
|
417
|
+
import { TWT_TAB_FIELDS, TwoWindingsTransformerDialogTab } from "./features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.js";
|
|
418
|
+
import { TwoWindingsTransformerDialogHeader } from "./features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.js";
|
|
419
|
+
import { TwoWindingsTransformerDialogTabs } from "./features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.js";
|
|
420
|
+
import { TwoWindingsTransformerDialogTabsContent } from "./features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.js";
|
|
421
|
+
import { TwoWindingsTransformerForm } from "./features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.js";
|
|
422
|
+
import { getTwtCharacteristicsEmptyFormData, getTwtCharacteristicsFormData, getTwtCharacteristicsValidationSchemaProps } from "./features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.js";
|
|
423
|
+
import { TwoWindingsTransformerCharacteristicsPane } from "./features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.js";
|
|
424
|
+
import { compareStepsWithPreviousValues, computeHighTapPosition, getRegulationTypeLabel, getTapChangerEquipmentSectionTypeValue, getTapSideLabel, toTapChangerStepList } from "./features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.js";
|
|
425
|
+
import { getCreateRuleEmptyFormData, getCreateRuleValidationSchema } from "./features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.js";
|
|
426
|
+
import { CreateRuleDialogSubmitButton } from "./features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.js";
|
|
427
|
+
import { CreateRuleForm } from "./features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.js";
|
|
428
|
+
import { CreateRuleDialog } from "./features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.js";
|
|
429
|
+
import { ImportRuleDialog } from "./features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.js";
|
|
430
|
+
import { getComputedPhaseRegulationType, getComputedPhaseRegulationTypeId, getComputedPhaseTapChangerRegulationMode, getComputedPreviousPhaseRegulationType, getPhaseTapChangerEmptyFormData, getPhaseTapChangerFormData, getPhaseTapChangerValidationSchemaProps, getPhaseTapRegulationSideId } from "./features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.js";
|
|
431
|
+
import { PhaseTapChangerPaneSteps } from "./features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.js";
|
|
432
|
+
import { PhaseTapChangerPane } from "./features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.js";
|
|
433
|
+
import { getComputedPreviousRatioRegulationType, getComputedRegulationMode, getComputedRegulationModeId, getComputedRegulationType, getComputedRegulationTypeId, getComputedTapSide, getComputedTapSideId, getInitialTwtRatioRegulationModeId, getRatioTapChangerEmptyFormData, getRatioTapChangerFormData, getRatioTapChangerValidationSchemaProps } from "./features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.js";
|
|
434
|
+
import { RatioTapChangerPaneSteps } from "./features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.js";
|
|
435
|
+
import { RatioTapChangerPane } from "./features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.js";
|
|
436
|
+
import { RegulatedTerminalSection } from "./features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.js";
|
|
437
|
+
import { TapChangerSteps } from "./features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.js";
|
|
438
|
+
import { PhaseTapChangerRegulationMode } from "./features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.js";
|
|
439
|
+
import { computeRatioTapChangerRegulationMode, getRegulationTypeForEdit, getTapSideForEdit, twoWindingsTransformerCreationDtoToForm, twoWindingsTransformerCreationEmptyFormData, twoWindingsTransformerCreationFormSchema, twoWindingsTransformerCreationFormToDto } from "./features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.js";
|
|
440
|
+
import { twoWindingsTransformerModificationEmptyFormData, twoWindingsTransformerModificationFormSchema } from "./features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.js";
|
|
441
|
+
import { getToBeEstimatedValidationSchemaObject, toBeEstimatedEmptyFormData } from "./features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.js";
|
|
442
|
+
import { ToBeEstimatedForm } from "./features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.js";
|
|
417
443
|
import { StaticVarCompensatorDialogHeader } from "./features/network-modifications/static-var-compensator/common/static-var-compensator-dialog-header.js";
|
|
418
444
|
import { StaticVarCompensatorDialogTabs } from "./features/network-modifications/static-var-compensator/common/static-var-compensator-dialog-tabs.js";
|
|
419
445
|
import { STATIC_VAR_COMPENSATOR_TAB_FIELDS, StaticVarCompensatorDialogTab } from "./features/network-modifications/static-var-compensator/common/static-var-compensator-tab-utils.js";
|
|
@@ -653,6 +679,9 @@ export {
|
|
|
653
679
|
CountryValueEditor,
|
|
654
680
|
CouplingDeviceCreationForm,
|
|
655
681
|
CreateParameterDialog,
|
|
682
|
+
CreateRuleDialog,
|
|
683
|
+
CreateRuleDialogSubmitButton,
|
|
684
|
+
CreateRuleForm,
|
|
656
685
|
CreateVoltageLevelTopologyForm,
|
|
657
686
|
CsvDownloadButton,
|
|
658
687
|
CsvExport,
|
|
@@ -828,6 +857,7 @@ export {
|
|
|
828
857
|
INTL_LINE_FLOW_MODE_OPTIONS,
|
|
829
858
|
INTL_SUBSTATION_LAYOUT_OPTIONS,
|
|
830
859
|
IST_FORM,
|
|
860
|
+
ImportRuleDialog,
|
|
831
861
|
InitialVoltage,
|
|
832
862
|
InputWithPopupConfirmation,
|
|
833
863
|
IntegerInput,
|
|
@@ -1001,6 +1031,7 @@ export {
|
|
|
1001
1031
|
PARAM_SUBSTATION_LAYOUT,
|
|
1002
1032
|
PARAM_THEME,
|
|
1003
1033
|
PERCENTAGE,
|
|
1034
|
+
PHASE_REGULATION_MODES,
|
|
1004
1035
|
PHASE_REGULATION_MODE_OPTIONS,
|
|
1005
1036
|
PHASE_SHIFTER_REGULATION_ON,
|
|
1006
1037
|
POSITION_NEW_SECTION_SIDE,
|
|
@@ -1024,6 +1055,9 @@ export {
|
|
|
1024
1055
|
PccMinParametersInLine,
|
|
1025
1056
|
PercentageAdornment,
|
|
1026
1057
|
PermissionType,
|
|
1058
|
+
PhaseTapChangerPane,
|
|
1059
|
+
PhaseTapChangerPaneSteps,
|
|
1060
|
+
PhaseTapChangerRegulationMode,
|
|
1027
1061
|
PopupConfirmationDialog,
|
|
1028
1062
|
PowerMeasurementsForm,
|
|
1029
1063
|
PowerWithValidityForm,
|
|
@@ -1036,6 +1070,7 @@ export {
|
|
|
1036
1070
|
PropertyValueEditor,
|
|
1037
1071
|
ProviderParam,
|
|
1038
1072
|
QuickSearch,
|
|
1073
|
+
RATIO_REGULATION_MODES,
|
|
1039
1074
|
RATIO_REGULATION_MODE_OPTIONS,
|
|
1040
1075
|
RATIO_TAP_CHANGER_POSITION,
|
|
1041
1076
|
RATIO_TAP_CHANGER_TARGET_V,
|
|
@@ -1047,6 +1082,7 @@ export {
|
|
|
1047
1082
|
RECENT_FILTER,
|
|
1048
1083
|
REFERENCE_FIELD_OR_VALUE_1,
|
|
1049
1084
|
REFERENCE_FIELD_OR_VALUE_2,
|
|
1085
|
+
REGULATION_SIDES,
|
|
1050
1086
|
REGULATION_TYPES,
|
|
1051
1087
|
REGULATION_TYPE_OPTIONS,
|
|
1052
1088
|
REMOVE,
|
|
@@ -1057,6 +1093,8 @@ export {
|
|
|
1057
1093
|
RadioInput,
|
|
1058
1094
|
RangeInput,
|
|
1059
1095
|
RangeType,
|
|
1096
|
+
RatioTapChangerPane,
|
|
1097
|
+
RatioTapChangerPaneSteps,
|
|
1060
1098
|
RawReadOnlyInput,
|
|
1061
1099
|
ReactiveCapabilityCurveRowForm,
|
|
1062
1100
|
ReactiveCapabilityCurveTableForm,
|
|
@@ -1065,6 +1103,7 @@ export {
|
|
|
1065
1103
|
ReadOnlyInput,
|
|
1066
1104
|
ReferenceCellRenderer,
|
|
1067
1105
|
ReferenceType,
|
|
1106
|
+
RegulatedTerminalSection,
|
|
1068
1107
|
RegulatingTerminalForm,
|
|
1069
1108
|
RemoveButton,
|
|
1070
1109
|
RenderTableAndExportCsv,
|
|
@@ -1169,9 +1208,11 @@ export {
|
|
|
1169
1208
|
SwitchKind,
|
|
1170
1209
|
SwitchWithLabel,
|
|
1171
1210
|
SwitchesBetweenSections,
|
|
1211
|
+
TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
1172
1212
|
TEMPORARY_LIMIT_MODIFICATION_TYPE,
|
|
1173
1213
|
TRANSFORMERS_SELECTION_TYPE,
|
|
1174
1214
|
TWT_SPLIT_SHUNT_ADMITTANCE,
|
|
1215
|
+
TWT_TAB_FIELDS,
|
|
1175
1216
|
TYPE_TAG_MAX_SIZE,
|
|
1176
1217
|
TabPanel,
|
|
1177
1218
|
TabValues,
|
|
@@ -1179,15 +1220,23 @@ export {
|
|
|
1179
1220
|
TableTextInput,
|
|
1180
1221
|
TableType,
|
|
1181
1222
|
TagRenderer,
|
|
1223
|
+
TapChangerSteps,
|
|
1182
1224
|
TemporaryLimitsTable,
|
|
1183
1225
|
TextFieldWithAdornment,
|
|
1184
1226
|
TextInput,
|
|
1185
1227
|
TextValueEditor,
|
|
1186
1228
|
ThreeWindingTransfo,
|
|
1229
|
+
ToBeEstimatedForm,
|
|
1187
1230
|
TopBar,
|
|
1188
1231
|
TranslatedValueEditor,
|
|
1189
1232
|
TreeViewFinder,
|
|
1190
1233
|
TwoWindingTransfo,
|
|
1234
|
+
TwoWindingsTransformerCharacteristicsPane,
|
|
1235
|
+
TwoWindingsTransformerDialogHeader,
|
|
1236
|
+
TwoWindingsTransformerDialogTab,
|
|
1237
|
+
TwoWindingsTransformerDialogTabs,
|
|
1238
|
+
TwoWindingsTransformerDialogTabsContent,
|
|
1239
|
+
TwoWindingsTransformerForm,
|
|
1191
1240
|
UNAUTHORIZED_USER_INFO,
|
|
1192
1241
|
UNDEFINED_CONNECTION_DIRECTION,
|
|
1193
1242
|
UNDEFINED_LOAD_TYPE,
|
|
@@ -1239,11 +1288,13 @@ export {
|
|
|
1239
1288
|
addModificationTypeToOpLimitsGroups,
|
|
1240
1289
|
addModificationTypeToTemporaryLimits,
|
|
1241
1290
|
addOperationTypeToSelectedOpLG,
|
|
1291
|
+
addSelectedFieldToRows,
|
|
1242
1292
|
addSelectedGlobalFiltersToTableState,
|
|
1243
1293
|
addToleranceToFilter,
|
|
1244
1294
|
alertThresholdMarks,
|
|
1245
1295
|
areArrayElementsUnique,
|
|
1246
1296
|
areIdsEqual,
|
|
1297
|
+
areNumbersOrdered,
|
|
1247
1298
|
arraysContainIdenticalStrings,
|
|
1248
1299
|
backendFetch,
|
|
1249
1300
|
backendFetchFile,
|
|
@@ -1270,9 +1321,12 @@ export {
|
|
|
1270
1321
|
clearSelectedGlobalFiltersFromTableState,
|
|
1271
1322
|
commonButtonEn,
|
|
1272
1323
|
commonButtonFr,
|
|
1324
|
+
compareStepsWithPreviousValues,
|
|
1273
1325
|
componentsEn,
|
|
1274
1326
|
componentsFr,
|
|
1327
|
+
computeHighTapPosition,
|
|
1275
1328
|
computeQ0,
|
|
1329
|
+
computeRatioTapChangerRegulationMode,
|
|
1276
1330
|
computeSwitchedOnValue,
|
|
1277
1331
|
computeTagMinSize,
|
|
1278
1332
|
computeTolerance,
|
|
@@ -1446,8 +1500,18 @@ export {
|
|
|
1446
1500
|
getCharacteristicsEmptyFormData,
|
|
1447
1501
|
getCharacteristicsFormData,
|
|
1448
1502
|
getCharacteristicsFormValidationSchema,
|
|
1449
|
-
getCharacteristicsValidationSchema,
|
|
1450
1503
|
getComputedLanguage,
|
|
1504
|
+
getComputedPhaseRegulationType,
|
|
1505
|
+
getComputedPhaseRegulationTypeId,
|
|
1506
|
+
getComputedPhaseTapChangerRegulationMode,
|
|
1507
|
+
getComputedPreviousPhaseRegulationType,
|
|
1508
|
+
getComputedPreviousRatioRegulationType,
|
|
1509
|
+
getComputedRegulationMode,
|
|
1510
|
+
getComputedRegulationModeId,
|
|
1511
|
+
getComputedRegulationType,
|
|
1512
|
+
getComputedRegulationTypeId,
|
|
1513
|
+
getComputedTapSide,
|
|
1514
|
+
getComputedTapSideId,
|
|
1451
1515
|
getCon1andCon2WithPositionValidationSchema,
|
|
1452
1516
|
getConcatenatedProperties,
|
|
1453
1517
|
getConnectionDirectionLabel,
|
|
@@ -1468,6 +1532,8 @@ export {
|
|
|
1468
1532
|
getCont1Cont2WithPositionEmptyFormData,
|
|
1469
1533
|
getContainerDefaultSeverityList,
|
|
1470
1534
|
getContingencyListsInfosFormSchema,
|
|
1535
|
+
getCreateRuleEmptyFormData,
|
|
1536
|
+
getCreateRuleValidationSchema,
|
|
1471
1537
|
getCreateSwitchesEmptyFormData,
|
|
1472
1538
|
getCreateSwitchesValidationSchema,
|
|
1473
1539
|
getCsvDelimiter,
|
|
@@ -1486,6 +1552,7 @@ export {
|
|
|
1486
1552
|
getHvdcLccDeletionSchema,
|
|
1487
1553
|
getIdOrSelf,
|
|
1488
1554
|
getIdOrValue,
|
|
1555
|
+
getInitialTwtRatioRegulationModeId,
|
|
1489
1556
|
getInjectionActiveReactivePowerEditDataProperties,
|
|
1490
1557
|
getInjectionActiveReactivePowerEmptyFormData,
|
|
1491
1558
|
getInjectionActiveReactivePowerEmptyFormDataProperties,
|
|
@@ -1516,6 +1583,10 @@ export {
|
|
|
1516
1583
|
getOperators,
|
|
1517
1584
|
getOptionLabel,
|
|
1518
1585
|
getPccMinStudyParameters,
|
|
1586
|
+
getPhaseTapChangerEmptyFormData,
|
|
1587
|
+
getPhaseTapChangerFormData,
|
|
1588
|
+
getPhaseTapChangerValidationSchemaProps,
|
|
1589
|
+
getPhaseTapRegulationSideId,
|
|
1519
1590
|
getPowerWithValidityEditData,
|
|
1520
1591
|
getPowerWithValidityEmptyFormData,
|
|
1521
1592
|
getPowerWithValidityValidationSchema,
|
|
@@ -1526,6 +1597,9 @@ export {
|
|
|
1526
1597
|
getPropertyAvatar,
|
|
1527
1598
|
getPropertyValue,
|
|
1528
1599
|
getRangeInputSchema,
|
|
1600
|
+
getRatioTapChangerEmptyFormData,
|
|
1601
|
+
getRatioTapChangerFormData,
|
|
1602
|
+
getRatioTapChangerValidationSchemaProps,
|
|
1529
1603
|
getReactiveCapabilityCurveValidationSchema,
|
|
1530
1604
|
getReactiveCapabilityCurveValidationSchemaArray,
|
|
1531
1605
|
getReactiveFormData,
|
|
@@ -1542,6 +1616,8 @@ export {
|
|
|
1542
1616
|
getRegulatingTerminalEquipmentData,
|
|
1543
1617
|
getRegulatingTerminalFormData,
|
|
1544
1618
|
getRegulatingTerminalVoltageLevelData,
|
|
1619
|
+
getRegulationTypeForEdit,
|
|
1620
|
+
getRegulationTypeLabel,
|
|
1545
1621
|
getRequestParamFromList,
|
|
1546
1622
|
getRowEmptyFormData,
|
|
1547
1623
|
getRows,
|
|
@@ -1567,6 +1643,13 @@ export {
|
|
|
1567
1643
|
getSystemLanguage,
|
|
1568
1644
|
getTabIndicatorStyle,
|
|
1569
1645
|
getTabStyle,
|
|
1646
|
+
getTapChangerEquipmentSectionTypeValue,
|
|
1647
|
+
getTapSideForEdit,
|
|
1648
|
+
getTapSideLabel,
|
|
1649
|
+
getToBeEstimatedValidationSchemaObject,
|
|
1650
|
+
getTwtCharacteristicsEmptyFormData,
|
|
1651
|
+
getTwtCharacteristicsFormData,
|
|
1652
|
+
getTwtCharacteristicsValidationSchemaProps,
|
|
1570
1653
|
getUser,
|
|
1571
1654
|
getUserToken,
|
|
1572
1655
|
getVoltageInitParameters,
|
|
@@ -1743,6 +1826,7 @@ export {
|
|
|
1743
1826
|
tableFr,
|
|
1744
1827
|
testQuery,
|
|
1745
1828
|
testValueWithinPowerInterval,
|
|
1829
|
+
toBeEstimatedEmptyFormData,
|
|
1746
1830
|
toFloatOrNullValue,
|
|
1747
1831
|
toFormValuesContingencyListsInfos,
|
|
1748
1832
|
toFormValuesLimitReductions,
|
|
@@ -1752,11 +1836,19 @@ export {
|
|
|
1752
1836
|
toNumber,
|
|
1753
1837
|
toReactiveCapabilityCurveChoiceForGeneratorCreation,
|
|
1754
1838
|
toReactiveCapabilityCurveChoiceForGeneratorModification,
|
|
1839
|
+
toTapChangerStepList,
|
|
1755
1840
|
topBarEn,
|
|
1756
1841
|
topBarFr,
|
|
1842
|
+
transformIfFrenchNumber,
|
|
1757
1843
|
translateSwitchKinds,
|
|
1758
1844
|
treeviewFinderEn,
|
|
1759
1845
|
treeviewFinderFr,
|
|
1846
|
+
twoWindingsTransformerCreationDtoToForm,
|
|
1847
|
+
twoWindingsTransformerCreationEmptyFormData,
|
|
1848
|
+
twoWindingsTransformerCreationFormSchema,
|
|
1849
|
+
twoWindingsTransformerCreationFormToDto,
|
|
1850
|
+
twoWindingsTransformerModificationEmptyFormData,
|
|
1851
|
+
twoWindingsTransformerModificationFormSchema,
|
|
1760
1852
|
unitToKiloUnit,
|
|
1761
1853
|
unitToMicroUnit,
|
|
1762
1854
|
unmarkEditingGlobalFilter,
|
|
@@ -75,9 +75,6 @@ export declare const filterExpertEn: {
|
|
|
75
75
|
hasPhaseTapChanger3: string;
|
|
76
76
|
Voltage: string;
|
|
77
77
|
ReactivePower: string;
|
|
78
|
-
VoltageRegulation: string;
|
|
79
|
-
FixedRatio: string;
|
|
80
|
-
CurrentLimiter: string;
|
|
81
78
|
ActivePowerControl: string;
|
|
82
79
|
ratioRegulationMode: string;
|
|
83
80
|
ratioRegulationMode1: string;
|
|
@@ -69,9 +69,6 @@ const filterExpertEn = {
|
|
|
69
69
|
hasPhaseTapChanger3: "Phase tap 3 changer exists",
|
|
70
70
|
Voltage: "Voltage",
|
|
71
71
|
ReactivePower: "Reactive power",
|
|
72
|
-
VoltageRegulation: "Voltage regulation",
|
|
73
|
-
FixedRatio: "Fixed ratio",
|
|
74
|
-
CurrentLimiter: "Current limiter",
|
|
75
72
|
ActivePowerControl: "Active power control",
|
|
76
73
|
ratioRegulationMode: "Ratio tap changer regulation mode",
|
|
77
74
|
ratioRegulationMode1: "Ratio tap 1 changer regulation mode",
|
|
@@ -16,6 +16,7 @@ export declare const networkModificationValidationEn: {
|
|
|
16
16
|
WrongRefOrValueError: string;
|
|
17
17
|
ValueMustBeNumericWhenPercentageError: string;
|
|
18
18
|
ValueMustBeRefWhenPercentageError: string;
|
|
19
|
+
TargetDeadbandMustBeGreaterOrEqualToZero: string;
|
|
19
20
|
TemporaryLimitNameUnicityError: string;
|
|
20
21
|
TemporaryLimitDurationUnicityError: string;
|
|
21
22
|
LimitSetApplicabilityError: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, REACTIVE_LIMITS_MIN_MAX_INVALID, ACTIVE_LIMITS_MIN_MAX_INVALID, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID } from "../../utils/constants/translationKeys.js";
|
|
1
|
+
import { TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, REACTIVE_LIMITS_MIN_MAX_INVALID, ACTIVE_LIMITS_MIN_MAX_INVALID, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID } from "../../utils/constants/translationKeys.js";
|
|
2
2
|
import "../../utils/conversionUtils.js";
|
|
3
3
|
import "../../utils/types/equipmentType.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
@@ -21,6 +21,7 @@ const networkModificationValidationEn = {
|
|
|
21
21
|
[WRONG_REF_OR_VALUE_ERROR]: "Please enter a valid numeric value or a valid field reference. Use # to select a field",
|
|
22
22
|
[VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR]: "When using %, this field must be a valid positive numeric value",
|
|
23
23
|
[VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR]: "When using %, this field must be a valid field reference",
|
|
24
|
+
[TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO]: "Deadband value must be greater than or equal to 0",
|
|
24
25
|
TemporaryLimitNameUnicityError: "Temporary limit names must be unique in the table",
|
|
25
26
|
TemporaryLimitDurationUnicityError: "Temporary limit acceptable durations must be unique in the table",
|
|
26
27
|
LimitSetApplicabilityError: "2 limit sets with the same name must have different application sides.",
|
|
@@ -73,6 +73,17 @@ export declare const networkModificationsEn: {
|
|
|
73
73
|
'network_modifications.CREATE_VOLTAGE_LEVEL_TOPOLOGY': string;
|
|
74
74
|
'network_modifications.CREATE_VOLTAGE_LEVEL_SECTION': string;
|
|
75
75
|
'network_modifications.MOVE_VOLTAGE_LEVEL_FEEDER_BAYS': string;
|
|
76
|
+
SubstationTab: string;
|
|
77
|
+
ConnectivityTab: string;
|
|
78
|
+
CharacteristicsTab: string;
|
|
79
|
+
LimitsTab: string;
|
|
80
|
+
SetpointsAndLimitsTab: string;
|
|
81
|
+
SpecificTab: string;
|
|
82
|
+
StructureTab: string;
|
|
83
|
+
AdditionalInformationTab: string;
|
|
84
|
+
StateEstimationTab: string;
|
|
85
|
+
TwoWindingsTransformerRatioTapChangerTab: string;
|
|
86
|
+
TwoWindingsTransformerPhaseTapChangerTab: string;
|
|
76
87
|
ModificationReadError: string;
|
|
77
88
|
CompositeModification: string;
|
|
78
89
|
CreateSubstation: string;
|
|
@@ -289,6 +300,65 @@ export declare const networkModificationsEn: {
|
|
|
289
300
|
filter: string;
|
|
290
301
|
G: string;
|
|
291
302
|
B: string;
|
|
303
|
+
CreateTwoWindingsTransformer: string;
|
|
304
|
+
TwoWindingsTransformerCreationError: string;
|
|
305
|
+
ConfigureRatioTapChanger: string;
|
|
306
|
+
WithRatioTapChanger: string;
|
|
307
|
+
ConfigurePhaseTapChanger: string;
|
|
308
|
+
WithPhaseTapChanger: string;
|
|
309
|
+
RegulatedSide: string;
|
|
310
|
+
RatioRegulatedSide: string;
|
|
311
|
+
PhaseRegulatedSide: string;
|
|
312
|
+
RegulatedSide1: string;
|
|
313
|
+
RegulatedSide2: string;
|
|
314
|
+
RatedVoltage: string;
|
|
315
|
+
RegulationSection: string;
|
|
316
|
+
OnLoad: string;
|
|
317
|
+
RegulationMode: string;
|
|
318
|
+
TargetVoltage: string;
|
|
319
|
+
TargetVoltageMustBeGreaterThanZero: string;
|
|
320
|
+
Deadband: string;
|
|
321
|
+
TargetDeadbandMustBeGreaterOrEqualToZero: string;
|
|
322
|
+
LowTapPosition: string;
|
|
323
|
+
HighTapPosition: string;
|
|
324
|
+
TapPosition: string;
|
|
325
|
+
TapPositionMustBeBetweenLowAndHighTapPositionValue: string;
|
|
326
|
+
RegulatedTerminal: string;
|
|
327
|
+
TapsSection: string;
|
|
328
|
+
Tap: string;
|
|
329
|
+
DeltaResistance: string;
|
|
330
|
+
DeltaReactance: string;
|
|
331
|
+
DeltaConductance: string;
|
|
332
|
+
DeltaSusceptance: string;
|
|
333
|
+
Ratio: string;
|
|
334
|
+
Alpha: string;
|
|
335
|
+
ImportFileResistance: string;
|
|
336
|
+
ImportFileReactance: string;
|
|
337
|
+
ImportFileConductance: string;
|
|
338
|
+
ImportFileSusceptance: string;
|
|
339
|
+
ImportFileAlpha: string;
|
|
340
|
+
CreateRegulationRule: string;
|
|
341
|
+
LowTapRatio: string;
|
|
342
|
+
HighTapRatio: string;
|
|
343
|
+
ImportRegulationRule: string;
|
|
344
|
+
CreateDephasingRule: string;
|
|
345
|
+
ResetRegulationRule: string;
|
|
346
|
+
LowTapAlpha: string;
|
|
347
|
+
HighTapAlpha: string;
|
|
348
|
+
ImportDephasingRule: string;
|
|
349
|
+
GenerateSkeleton: string;
|
|
350
|
+
RegulatingValueCurrentLimiter: string;
|
|
351
|
+
CurrentLimiterMustBeGreaterThanZero: string;
|
|
352
|
+
RegulatingValueActivePowerControl: string;
|
|
353
|
+
VoltageRegulation: string;
|
|
354
|
+
FixedRatio: string;
|
|
355
|
+
CurrentLimiter: string;
|
|
356
|
+
PhaseActivePowerControl: string;
|
|
357
|
+
RatedNominalPowerMustBeGreaterThanZero: string;
|
|
358
|
+
PhaseShiftValuesError: string;
|
|
359
|
+
GeneratePhaseTapRowsError: string;
|
|
360
|
+
GenerateRatioTapRowsError: string;
|
|
361
|
+
RatioValuesError: string;
|
|
292
362
|
maximumSusceptance: string;
|
|
293
363
|
minSusceptance: string;
|
|
294
364
|
maxQAtVnominal: string;
|
|
@@ -313,15 +383,6 @@ export declare const networkModificationsEn: {
|
|
|
313
383
|
StaticVarCompensatorAdditionalInfosTab: string;
|
|
314
384
|
b0: string;
|
|
315
385
|
fixQAtNominalV: string;
|
|
316
|
-
SubstationTab: string;
|
|
317
|
-
ConnectivityTab: string;
|
|
318
|
-
CharacteristicsTab: string;
|
|
319
|
-
LimitsTab: string;
|
|
320
|
-
SetpointsAndLimitsTab: string;
|
|
321
|
-
SpecificTab: string;
|
|
322
|
-
StructureTab: string;
|
|
323
|
-
AdditionalInformationTab: string;
|
|
324
|
-
StateEstimationTab: string;
|
|
325
386
|
copyLink: string;
|
|
326
387
|
linkCopied: string;
|
|
327
388
|
linkCopyError: string;
|
|
@@ -67,6 +67,18 @@ const networkModificationsEn = {
|
|
|
67
67
|
"network_modifications.CREATE_VOLTAGE_LEVEL_TOPOLOGY": "Creating a busbar in voltage level {computedLabel}",
|
|
68
68
|
"network_modifications.CREATE_VOLTAGE_LEVEL_SECTION": "Adding busbar section to voltage level {computedLabel}",
|
|
69
69
|
"network_modifications.MOVE_VOLTAGE_LEVEL_FEEDER_BAYS": "Moving feeder bays in voltage level {computedLabel}",
|
|
70
|
+
// Tabs
|
|
71
|
+
SubstationTab: "Substation",
|
|
72
|
+
ConnectivityTab: "Connectivity",
|
|
73
|
+
CharacteristicsTab: "Characteristics",
|
|
74
|
+
LimitsTab: "Limits",
|
|
75
|
+
SetpointsAndLimitsTab: "Setpoints & Limits",
|
|
76
|
+
SpecificTab: "Specific",
|
|
77
|
+
StructureTab: "Structure",
|
|
78
|
+
AdditionalInformationTab: "Additional information",
|
|
79
|
+
StateEstimationTab: "State estimation",
|
|
80
|
+
TwoWindingsTransformerRatioTapChangerTab: "Ratio tap changer",
|
|
81
|
+
TwoWindingsTransformerPhaseTapChangerTab: "Phase tap changer",
|
|
70
82
|
ModificationReadError: "An error occurred while fetching the modification",
|
|
71
83
|
CompositeModification: "Composite modification",
|
|
72
84
|
CreateSubstation: "Create substation",
|
|
@@ -283,6 +295,65 @@ const networkModificationsEn = {
|
|
|
283
295
|
filter: "Filter",
|
|
284
296
|
G: "Magnetizing conductance",
|
|
285
297
|
B: "Magnetizing susceptance",
|
|
298
|
+
CreateTwoWindingsTransformer: "Create a 2 windings transformer",
|
|
299
|
+
TwoWindingsTransformerCreationError: "Error while creating a 2 windings transformer",
|
|
300
|
+
ConfigureRatioTapChanger: "Configure ratio tap changer",
|
|
301
|
+
WithRatioTapChanger: "With ratio tap changer",
|
|
302
|
+
ConfigurePhaseTapChanger: "Configure phase tap changer",
|
|
303
|
+
WithPhaseTapChanger: "With phase tap changer",
|
|
304
|
+
RegulatedSide: "Regulated side",
|
|
305
|
+
RatioRegulatedSide: "Ratio regulated side",
|
|
306
|
+
PhaseRegulatedSide: "Phase regulated side",
|
|
307
|
+
RegulatedSide1: "Side 1",
|
|
308
|
+
RegulatedSide2: "Side 2",
|
|
309
|
+
RatedVoltage: "Rated voltage",
|
|
310
|
+
RegulationSection: "Regulation",
|
|
311
|
+
OnLoad: "On-load tap changing",
|
|
312
|
+
RegulationMode: "Regulation mode",
|
|
313
|
+
TargetVoltage: "Voltage setpoint",
|
|
314
|
+
TargetVoltageMustBeGreaterThanZero: "Voltage value must be greater than 0",
|
|
315
|
+
Deadband: "Deadband",
|
|
316
|
+
TargetDeadbandMustBeGreaterOrEqualToZero: "Deadband value must be greater than or equal to 0",
|
|
317
|
+
LowTapPosition: "Low tap position",
|
|
318
|
+
HighTapPosition: "High tap position",
|
|
319
|
+
TapPosition: "Tap position",
|
|
320
|
+
TapPositionMustBeBetweenLowAndHighTapPositionValue: "Tap position must be between Low tap position and High tap position",
|
|
321
|
+
RegulatedTerminal: "Regulated terminal",
|
|
322
|
+
TapsSection: "Taps",
|
|
323
|
+
Tap: "Tap",
|
|
324
|
+
DeltaResistance: "Δ Resistance (%)",
|
|
325
|
+
DeltaReactance: "Δ Reactance (%)",
|
|
326
|
+
DeltaConductance: "Δ Conductance (%)",
|
|
327
|
+
DeltaSusceptance: "Δ Susceptance (%)",
|
|
328
|
+
Ratio: "Ratio",
|
|
329
|
+
Alpha: "Shift angle (°)",
|
|
330
|
+
ImportFileResistance: "Resistance",
|
|
331
|
+
ImportFileReactance: "Reactance",
|
|
332
|
+
ImportFileConductance: "Conductance",
|
|
333
|
+
ImportFileSusceptance: "Susceptance",
|
|
334
|
+
ImportFileAlpha: "ShiftAngle",
|
|
335
|
+
CreateRegulationRule: "Create regulation rule",
|
|
336
|
+
LowTapRatio: "Ratio (low tap position)",
|
|
337
|
+
HighTapRatio: "Ratio (high tap position)",
|
|
338
|
+
ImportRegulationRule: "Import regulation rule",
|
|
339
|
+
CreateDephasingRule: "Create dephasing rule",
|
|
340
|
+
ResetRegulationRule: "Reset regulation rules",
|
|
341
|
+
LowTapAlpha: "Shift angle (low tap position)",
|
|
342
|
+
HighTapAlpha: "Shift angle (high tap position)",
|
|
343
|
+
ImportDephasingRule: "Import dephasing rule",
|
|
344
|
+
GenerateSkeleton: "Generate CSV template",
|
|
345
|
+
RegulatingValueCurrentLimiter: "Current limiter",
|
|
346
|
+
CurrentLimiterMustBeGreaterThanZero: "The current limiter value must be greater than 0",
|
|
347
|
+
RegulatingValueActivePowerControl: "Flow set point",
|
|
348
|
+
VoltageRegulation: "Voltage regulation",
|
|
349
|
+
FixedRatio: "Fixed ratio",
|
|
350
|
+
CurrentLimiter: "Current limiter",
|
|
351
|
+
PhaseActivePowerControl: "Active power control",
|
|
352
|
+
RatedNominalPowerMustBeGreaterThanZero: "The rated nominal power value must be greater than 0",
|
|
353
|
+
PhaseShiftValuesError: "The values of the phase tap shifts must be ordered and without duplicates",
|
|
354
|
+
GeneratePhaseTapRowsError: "Please generate the phase changer steps",
|
|
355
|
+
GenerateRatioTapRowsError: "Please generate the ratio changer steps",
|
|
356
|
+
RatioValuesError: "The values of the ratio tap ratios must be ordered and without duplicates",
|
|
286
357
|
maximumSusceptance: "Susceptance max",
|
|
287
358
|
minSusceptance: "Susceptance min",
|
|
288
359
|
maxQAtVnominal: "Q max at nominal voltage",
|
|
@@ -307,16 +378,6 @@ const networkModificationsEn = {
|
|
|
307
378
|
StaticVarCompensatorAdditionalInfosTab: "Additional information",
|
|
308
379
|
b0: "Fixed part of susceptance",
|
|
309
380
|
fixQAtNominalV: "Q fixed",
|
|
310
|
-
// Tabs
|
|
311
|
-
SubstationTab: "Substation",
|
|
312
|
-
ConnectivityTab: "Connectivity",
|
|
313
|
-
CharacteristicsTab: "Characteristics",
|
|
314
|
-
LimitsTab: "Limits",
|
|
315
|
-
SetpointsAndLimitsTab: "Setpoints & Limits",
|
|
316
|
-
SpecificTab: "Specific",
|
|
317
|
-
StructureTab: "Structure",
|
|
318
|
-
AdditionalInformationTab: "Additional information",
|
|
319
|
-
StateEstimationTab: "State estimation",
|
|
320
381
|
copyLink: "Copy link",
|
|
321
382
|
linkCopied: "Link copied",
|
|
322
383
|
linkCopyError: "Error while attempting to copy link",
|
|
@@ -75,9 +75,6 @@ export declare const filterExpertFr: {
|
|
|
75
75
|
hasPhaseTapChanger3: string;
|
|
76
76
|
Voltage: string;
|
|
77
77
|
ReactivePower: string;
|
|
78
|
-
VoltageRegulation: string;
|
|
79
|
-
FixedRatio: string;
|
|
80
|
-
CurrentLimiter: string;
|
|
81
78
|
ActivePowerControl: string;
|
|
82
79
|
ratioRegulationMode: string;
|
|
83
80
|
ratioRegulationMode1: string;
|
|
@@ -69,9 +69,6 @@ const filterExpertFr = {
|
|
|
69
69
|
hasPhaseTapChanger3: "Déphaseur 3 existe",
|
|
70
70
|
Voltage: "Tension",
|
|
71
71
|
ReactivePower: "Puissance réactive",
|
|
72
|
-
VoltageRegulation: "Réglage tension",
|
|
73
|
-
FixedRatio: "Rapport fixe",
|
|
74
|
-
CurrentLimiter: "Limitation de courant",
|
|
75
72
|
ActivePowerControl: "Suivi de transit",
|
|
76
73
|
ratioRegulationMode: "Mode de réglage du régleur",
|
|
77
74
|
ratioRegulationMode1: "Mode de réglage du régleur 1",
|
|
@@ -16,6 +16,7 @@ export declare const networkModificationValidationFr: {
|
|
|
16
16
|
WrongRefOrValueError: string;
|
|
17
17
|
ValueMustBeNumericWhenPercentageError: string;
|
|
18
18
|
ValueMustBeRefWhenPercentageError: string;
|
|
19
|
+
TargetDeadbandMustBeGreaterOrEqualToZero: string;
|
|
19
20
|
TemporaryLimitNameUnicityError: string;
|
|
20
21
|
TemporaryLimitDurationUnicityError: string;
|
|
21
22
|
LimitSetApplicabilityError: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, REACTIVE_LIMITS_MIN_MAX_INVALID, ACTIVE_LIMITS_MIN_MAX_INVALID, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID } from "../../utils/constants/translationKeys.js";
|
|
1
|
+
import { TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, REACTIVE_LIMITS_MIN_MAX_INVALID, ACTIVE_LIMITS_MIN_MAX_INVALID, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID } from "../../utils/constants/translationKeys.js";
|
|
2
2
|
import "../../utils/conversionUtils.js";
|
|
3
3
|
import "../../utils/types/equipmentType.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
@@ -21,6 +21,7 @@ const networkModificationValidationFr = {
|
|
|
21
21
|
[WRONG_REF_OR_VALUE_ERROR]: "Veuillez saisir une valeur numérique valide ou une référence de champ valide. Utiliser # pour sélectionner un champ",
|
|
22
22
|
[VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR]: "Lors de l'utilisation de %, ce champ doit être une valeur numérique positive valide",
|
|
23
23
|
[VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR]: "Lors de l'utilisation de %, ce champ doit être une référence de champ valide",
|
|
24
|
+
[TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO]: "La valeur de la bande morte doit être supérieure ou égale à 0",
|
|
24
25
|
TemporaryLimitNameUnicityError: "Les noms des limites temporaires doivent être uniques dans la table",
|
|
25
26
|
TemporaryLimitDurationUnicityError: "Les tempos des limites temporaires doivent être uniques dans la table",
|
|
26
27
|
LimitSetApplicabilityError: "2 jeux de limites de même nom doivent s'appliquer sur des côtés différents.",
|