@gridsuite/commons-ui 0.254.0 → 0.256.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/reactQueryBuilder/CustomReactQueryBuilder.js +7 -4
- package/dist/features/index.js +16 -0
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.d.ts +5 -1
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +50 -10
- package/dist/features/network-modifications/battery/modification/BatteryModificationForm.d.ts +5 -1
- package/dist/features/network-modifications/battery/modification/BatteryModificationForm.js +4 -2
- package/dist/features/network-modifications/battery/modification/batteryModification.types.d.ts +6 -0
- package/dist/features/network-modifications/battery/modification/batteryModification.utils.d.ts +32 -0
- package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +21 -1
- package/dist/features/network-modifications/by-filter/formula/formula/formula-constants.d.ts +10 -0
- package/dist/features/network-modifications/by-filter/formula/formula/formula-constants.js +10 -0
- package/dist/features/network-modifications/by-filter/formula/formula/formula-form.d.ts +12 -0
- package/dist/features/network-modifications/by-filter/formula/formula/formula-form.js +139 -0
- package/dist/features/network-modifications/by-filter/formula/formula/formula-utils.d.ts +40 -0
- package/dist/features/network-modifications/by-filter/formula/formula/formula-utils.js +164 -0
- package/dist/features/network-modifications/by-filter/formula/formula/formula.type.d.ts +27 -0
- package/dist/features/network-modifications/by-filter/formula/formula/formula.type.js +1 -0
- package/dist/features/network-modifications/by-filter/formula/formula/reference-autocomplete-input.d.ts +15 -0
- package/dist/features/network-modifications/by-filter/formula/formula/reference-autocomplete-input.js +123 -0
- package/dist/features/network-modifications/by-filter/formula/index.d.ts +11 -0
- package/dist/features/network-modifications/by-filter/formula/index.js +18 -0
- package/dist/features/network-modifications/by-filter/formula/modification-by-formula-form.d.ts +1 -0
- package/dist/features/network-modifications/by-filter/formula/modification-by-formula-form.js +110 -0
- package/dist/features/network-modifications/by-filter/formula/modificationByFormula.utils.d.ts +32 -0
- package/dist/features/network-modifications/by-filter/formula/modificationByFormula.utils.js +126 -0
- package/dist/features/network-modifications/by-filter/index.d.ts +1 -0
- package/dist/features/network-modifications/by-filter/index.js +17 -1
- package/dist/features/network-modifications/common/currentLimits/LimitsPane.d.ts +2 -2
- package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +2 -2
- package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +1 -1
- package/dist/features/network-modifications/index.js +16 -0
- package/dist/features/network-modifications/line/common/LineDialogTabsContent.d.ts +1 -1
- package/dist/features/network-modifications/line/common/LineDialogTabsContent.js +1 -2
- package/dist/features/network-modifications/line/common/LineForm.d.ts +1 -1
- package/dist/features/network-modifications/line/common/LineForm.js +2 -4
- package/dist/features/network-modifications/line/common/line.utils.d.ts +0 -1
- package/dist/index.js +16 -0
- package/dist/translations/en/networkModificationsEn.d.ts +13 -0
- package/dist/translations/en/networkModificationsEn.js +13 -0
- package/dist/translations/fr/networkModificationsFr.d.ts +13 -0
- package/dist/translations/fr/networkModificationsFr.js +13 -0
- package/dist/utils/constants/fieldConstants.d.ts +1 -0
- package/dist/utils/constants/fieldConstants.js +1 -0
- package/package.json +1 -1
|
@@ -3,17 +3,33 @@ import { EQUIPMENT_TYPE_ORDER, byFilterDeletionDtoToForm, byFilterDeletionFormSc
|
|
|
3
3
|
import { ModificationByAssignmentForm } from "./assignment/modification-by-assignment-form.js";
|
|
4
4
|
import { emptyModificationByAssignmentFormData, modificationByAssignmentDtoToForm, modificationByAssignmentFormSchema, modificationByAssignmentFormToDto } from "./assignment/modificationByAssignment.utils.js";
|
|
5
5
|
import { DataType } from "./assignment/assignment/assignment.type.js";
|
|
6
|
+
import { ModificationByFormulaForm } from "./formula/modification-by-formula-form.js";
|
|
7
|
+
import { EQUIPMENTS_FIELDS, getFormulaInitialValue, getFormulaSchema } from "./formula/formula/formula-utils.js";
|
|
8
|
+
import { emptyModificationFormData, modificationByFormulaDtoToForm, modificationByFormulaFormSchema, modificationByFormulaFormToDto } from "./formula/modificationByFormula.utils.js";
|
|
9
|
+
import { FORMULAS, OPERATOR, REFERENCE_FIELD_OR_VALUE_1, REFERENCE_FIELD_OR_VALUE_2 } from "./formula/formula/formula-constants.js";
|
|
6
10
|
export {
|
|
7
11
|
DataType as AssignmentDataType,
|
|
8
12
|
ByFilterDeletionForm,
|
|
13
|
+
EQUIPMENTS_FIELDS,
|
|
9
14
|
EQUIPMENT_TYPE_ORDER,
|
|
15
|
+
FORMULAS,
|
|
10
16
|
ModificationByAssignmentForm,
|
|
17
|
+
ModificationByFormulaForm,
|
|
18
|
+
OPERATOR,
|
|
19
|
+
REFERENCE_FIELD_OR_VALUE_1,
|
|
20
|
+
REFERENCE_FIELD_OR_VALUE_2,
|
|
11
21
|
byFilterDeletionDtoToForm,
|
|
12
22
|
byFilterDeletionFormSchema,
|
|
13
23
|
byFilterDeletionFormToDto,
|
|
14
24
|
emptyFormData,
|
|
15
25
|
emptyModificationByAssignmentFormData,
|
|
26
|
+
emptyModificationFormData,
|
|
27
|
+
getFormulaInitialValue,
|
|
28
|
+
getFormulaSchema,
|
|
16
29
|
modificationByAssignmentDtoToForm,
|
|
17
30
|
modificationByAssignmentFormSchema,
|
|
18
|
-
modificationByAssignmentFormToDto
|
|
31
|
+
modificationByAssignmentFormToDto,
|
|
32
|
+
modificationByFormulaDtoToForm,
|
|
33
|
+
modificationByFormulaFormSchema,
|
|
34
|
+
modificationByFormulaFormToDto
|
|
19
35
|
};
|
|
@@ -2,6 +2,6 @@ import { BranchInfos } from '../../line/common/line.types';
|
|
|
2
2
|
export interface LimitsPaneProps {
|
|
3
3
|
id?: string;
|
|
4
4
|
equipmentToModify?: BranchInfos | null;
|
|
5
|
-
|
|
5
|
+
isModification?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function LimitsPane({ id, equipmentToModify,
|
|
7
|
+
export declare function LimitsPane({ id, equipmentToModify, isModification, }: Readonly<LimitsPaneProps>): import("react").JSX.Element;
|
|
@@ -76,7 +76,7 @@ const limitsStyles = {
|
|
|
76
76
|
function LimitsPane({
|
|
77
77
|
id = FieldConstants.LIMITS,
|
|
78
78
|
equipmentToModify,
|
|
79
|
-
|
|
79
|
+
isModification
|
|
80
80
|
}) {
|
|
81
81
|
const [indexSelectedLimitSet, setIndexSelectedLimitSet] = useState(null);
|
|
82
82
|
const { getValues, reset } = useFormContext();
|
|
@@ -225,7 +225,7 @@ function LimitsPane({
|
|
|
225
225
|
LimitsEditor,
|
|
226
226
|
{
|
|
227
227
|
name: `${id}.${FieldConstants.OPERATIONAL_LIMITS_GROUPS}[${index}]`,
|
|
228
|
-
clearableFields,
|
|
228
|
+
clearableFields: isModification,
|
|
229
229
|
permanentCurrentLimitPreviousValue: getCurrentLimits(equipmentToModify, operationalLimitsGroup.id)?.permanentLimit ?? getCurrentLimitsIgnoreApplicability(
|
|
230
230
|
equipmentToModify,
|
|
231
231
|
operationalLimitsGroup.name
|
package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js
CHANGED
|
@@ -84,7 +84,7 @@ function VoltageRegulationForm({
|
|
|
84
84
|
}
|
|
85
85
|
) }),
|
|
86
86
|
isDistantRegulation && /* @__PURE__ */ jsxs(Grid2, { container: true, size: 12, spacing: 2, children: [
|
|
87
|
-
/* @__PURE__ */ jsx(
|
|
87
|
+
/* @__PURE__ */ jsx(GridItem, { size: 4, sx: { alignSelf: "center", justifyContent: "end" }, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "RegulatingTerminalGenerator" }) }),
|
|
88
88
|
/* @__PURE__ */ jsx(GridItem, { size: 8, children: /* @__PURE__ */ jsx(
|
|
89
89
|
RegulatingTerminalForm,
|
|
90
90
|
{
|
|
@@ -102,6 +102,10 @@ import { EQUIPMENT_TYPE_ORDER, byFilterDeletionDtoToForm, byFilterDeletionFormSc
|
|
|
102
102
|
import { ModificationByAssignmentForm } from "./by-filter/assignment/modification-by-assignment-form.js";
|
|
103
103
|
import { emptyModificationByAssignmentFormData, modificationByAssignmentDtoToForm, modificationByAssignmentFormSchema, modificationByAssignmentFormToDto } from "./by-filter/assignment/modificationByAssignment.utils.js";
|
|
104
104
|
import { DataType } from "./by-filter/assignment/assignment/assignment.type.js";
|
|
105
|
+
import { ModificationByFormulaForm } from "./by-filter/formula/modification-by-formula-form.js";
|
|
106
|
+
import { EQUIPMENTS_FIELDS, getFormulaInitialValue, getFormulaSchema } from "./by-filter/formula/formula/formula-utils.js";
|
|
107
|
+
import { emptyModificationFormData, modificationByFormulaDtoToForm, modificationByFormulaFormSchema, modificationByFormulaFormToDto } from "./by-filter/formula/modificationByFormula.utils.js";
|
|
108
|
+
import { FORMULAS, OPERATOR, REFERENCE_FIELD_OR_VALUE_1, REFERENCE_FIELD_OR_VALUE_2 } from "./by-filter/formula/formula/formula-constants.js";
|
|
105
109
|
import { generatorCreationDtoToForm, generatorCreationEmptyFormData, generatorCreationFormSchema, generatorCreationFormToDto } from "./generator/creation/generatorCreation.utils.js";
|
|
106
110
|
import { GeneratorCreationForm } from "./generator/creation/GeneratorCreationForm.js";
|
|
107
111
|
import { generatorModificationDtoToForm, generatorModificationEmptyFormData, generatorModificationFormSchema, generatorModificationFormToDto } from "./generator/modification/generatorModification.utils.js";
|
|
@@ -155,8 +159,10 @@ export {
|
|
|
155
159
|
CHARACTERISTICS_CHOICES,
|
|
156
160
|
CharacteristicsForm,
|
|
157
161
|
ConnectivityForm,
|
|
162
|
+
EQUIPMENTS_FIELDS,
|
|
158
163
|
EQUIPMENT_TYPE_ORDER,
|
|
159
164
|
EquipmentDeletionForm,
|
|
165
|
+
FORMULAS,
|
|
160
166
|
GENERATOR_TAB_FIELDS,
|
|
161
167
|
GeneratorCreationForm,
|
|
162
168
|
GeneratorDialogHeader,
|
|
@@ -189,7 +195,9 @@ export {
|
|
|
189
195
|
LoadForm,
|
|
190
196
|
MAX_SECTIONS_COUNT,
|
|
191
197
|
ModificationByAssignmentForm,
|
|
198
|
+
ModificationByFormulaForm,
|
|
192
199
|
OPERATIONAL_LIMITS_GROUPS_MODIFICATION_TYPE,
|
|
200
|
+
OPERATOR,
|
|
193
201
|
OperationalLimitsGroupTabLabel,
|
|
194
202
|
OperationalLimitsGroups,
|
|
195
203
|
PowerMeasurementsForm,
|
|
@@ -197,6 +205,8 @@ export {
|
|
|
197
205
|
PropertiesForm,
|
|
198
206
|
PropertyForm,
|
|
199
207
|
REACTIVE_LIMIT_TYPES,
|
|
208
|
+
REFERENCE_FIELD_OR_VALUE_1,
|
|
209
|
+
REFERENCE_FIELD_OR_VALUE_2,
|
|
200
210
|
REGULATION_TYPES,
|
|
201
211
|
REMOVE,
|
|
202
212
|
ReactiveCapabilityCurveRowForm,
|
|
@@ -251,6 +261,7 @@ export {
|
|
|
251
261
|
emptyFormData,
|
|
252
262
|
emptyLineSegment,
|
|
253
263
|
emptyModificationByAssignmentFormData,
|
|
264
|
+
emptyModificationFormData,
|
|
254
265
|
emptyProperties,
|
|
255
266
|
equipmentDeletionDtoToForm,
|
|
256
267
|
equipmentDeletionEmptyFormData,
|
|
@@ -310,6 +321,8 @@ export {
|
|
|
310
321
|
getCreateSwitchesEmptyFormData,
|
|
311
322
|
getCreateSwitchesValidationSchema,
|
|
312
323
|
getFilledPropertiesFromModification,
|
|
324
|
+
getFormulaInitialValue,
|
|
325
|
+
getFormulaSchema,
|
|
313
326
|
getHvdcLccDeletionSchema,
|
|
314
327
|
getInjectionActiveReactivePowerEditDataProperties,
|
|
315
328
|
getInjectionActiveReactivePowerEmptyFormData,
|
|
@@ -374,6 +387,9 @@ export {
|
|
|
374
387
|
modificationByAssignmentDtoToForm,
|
|
375
388
|
modificationByAssignmentFormSchema,
|
|
376
389
|
modificationByAssignmentFormToDto,
|
|
390
|
+
modificationByFormulaDtoToForm,
|
|
391
|
+
modificationByFormulaFormSchema,
|
|
392
|
+
modificationByFormulaFormToDto,
|
|
377
393
|
modificationPropertiesSchema,
|
|
378
394
|
newEquipmentDeletionDto,
|
|
379
395
|
sanitizeLimitNames,
|
|
@@ -5,4 +5,4 @@ export interface LineDialogTabsContentProps extends ConnectivityNetworkProps, Li
|
|
|
5
5
|
lineToModify?: BranchInfos | null;
|
|
6
6
|
tabIndex: number;
|
|
7
7
|
}
|
|
8
|
-
export declare function LineDialogTabsContent({ lineToModify, isModification, withConnectivity,
|
|
8
|
+
export declare function LineDialogTabsContent({ lineToModify, isModification, withConnectivity, tabIndex, voltageLevelOptions, PositionDiagramPane, fetchBusesOrBusbarSections, }: Readonly<LineDialogTabsContentProps>): import("react").JSX.Element;
|
|
@@ -66,7 +66,6 @@ function LineDialogTabsContent({
|
|
|
66
66
|
lineToModify,
|
|
67
67
|
isModification = false,
|
|
68
68
|
withConnectivity = true,
|
|
69
|
-
clearableFields = false,
|
|
70
69
|
tabIndex,
|
|
71
70
|
voltageLevelOptions = [],
|
|
72
71
|
PositionDiagramPane,
|
|
@@ -87,7 +86,7 @@ function LineDialogTabsContent({
|
|
|
87
86
|
)
|
|
88
87
|
] }),
|
|
89
88
|
/* @__PURE__ */ jsx(Box, { hidden: tabIndex !== LineDialogTab.CHARACTERISTICS_TAB, children: /* @__PURE__ */ jsx(LineCharacteristicsPane, { lineToModify, isModification }) }),
|
|
90
|
-
/* @__PURE__ */ jsx(Box, { hidden: tabIndex !== LineDialogTab.LIMITS_TAB, children: /* @__PURE__ */ jsx(LimitsPane, { equipmentToModify: lineToModify,
|
|
89
|
+
/* @__PURE__ */ jsx(Box, { hidden: tabIndex !== LineDialogTab.LIMITS_TAB, children: /* @__PURE__ */ jsx(LimitsPane, { equipmentToModify: lineToModify, isModification }) }),
|
|
91
90
|
isModification && /* @__PURE__ */ jsx(Box, { hidden: tabIndex !== LineDialogTab.STATE_ESTIMATION_TAB, children: /* @__PURE__ */ jsx(BranchActiveReactivePowerMeasurementsForm, { equipmentToModify: lineToModify }) })
|
|
92
91
|
] });
|
|
93
92
|
}
|
|
@@ -2,5 +2,5 @@ import { LineDialogHeaderProps } from './LineDialogHeader';
|
|
|
2
2
|
import { LineDialogTabsContentProps } from './LineDialogTabsContent';
|
|
3
3
|
interface LineFormProps extends LineDialogHeaderProps, Omit<LineDialogTabsContentProps, 'tabIndex' | 'isModification' | 'lineToModify'> {
|
|
4
4
|
}
|
|
5
|
-
export declare function LineForm({ lineToModify, voltageLevelOptions, fetchBusesOrBusbarSections, PositionDiagramPane, isModification, withConnectivity,
|
|
5
|
+
export declare function LineForm({ lineToModify, voltageLevelOptions, fetchBusesOrBusbarSections, PositionDiagramPane, isModification, withConnectivity, }: Readonly<LineFormProps>): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -11,8 +11,7 @@ function LineForm({
|
|
|
11
11
|
fetchBusesOrBusbarSections,
|
|
12
12
|
PositionDiagramPane,
|
|
13
13
|
isModification = false,
|
|
14
|
-
withConnectivity = true
|
|
15
|
-
clearableFields = false
|
|
14
|
+
withConnectivity = true
|
|
16
15
|
}) {
|
|
17
16
|
const { tabIndex, setTabIndex, tabIndexesWithError } = useTabsWithError(
|
|
18
17
|
LINE_TAB_FIELDS,
|
|
@@ -39,8 +38,7 @@ function LineForm({
|
|
|
39
38
|
fetchBusesOrBusbarSections,
|
|
40
39
|
PositionDiagramPane,
|
|
41
40
|
isModification,
|
|
42
|
-
withConnectivity
|
|
43
|
-
clearableFields
|
|
41
|
+
withConnectivity
|
|
44
42
|
}
|
|
45
43
|
) })
|
|
46
44
|
] });
|
package/dist/index.js
CHANGED
|
@@ -366,6 +366,10 @@ import { EQUIPMENT_TYPE_ORDER, byFilterDeletionDtoToForm, byFilterDeletionFormSc
|
|
|
366
366
|
import { ModificationByAssignmentForm } from "./features/network-modifications/by-filter/assignment/modification-by-assignment-form.js";
|
|
367
367
|
import { emptyModificationByAssignmentFormData, modificationByAssignmentDtoToForm, modificationByAssignmentFormSchema, modificationByAssignmentFormToDto } from "./features/network-modifications/by-filter/assignment/modificationByAssignment.utils.js";
|
|
368
368
|
import { DataType as DataType2 } from "./features/network-modifications/by-filter/assignment/assignment/assignment.type.js";
|
|
369
|
+
import { ModificationByFormulaForm } from "./features/network-modifications/by-filter/formula/modification-by-formula-form.js";
|
|
370
|
+
import { EQUIPMENTS_FIELDS, getFormulaInitialValue, getFormulaSchema } from "./features/network-modifications/by-filter/formula/formula/formula-utils.js";
|
|
371
|
+
import { emptyModificationFormData, modificationByFormulaDtoToForm, modificationByFormulaFormSchema, modificationByFormulaFormToDto } from "./features/network-modifications/by-filter/formula/modificationByFormula.utils.js";
|
|
372
|
+
import { FORMULAS, OPERATOR, REFERENCE_FIELD_OR_VALUE_1, REFERENCE_FIELD_OR_VALUE_2 } from "./features/network-modifications/by-filter/formula/formula/formula-constants.js";
|
|
369
373
|
import { generatorCreationDtoToForm, generatorCreationEmptyFormData, generatorCreationFormSchema, generatorCreationFormToDto } from "./features/network-modifications/generator/creation/generatorCreation.utils.js";
|
|
370
374
|
import { GeneratorCreationForm } from "./features/network-modifications/generator/creation/GeneratorCreationForm.js";
|
|
371
375
|
import { generatorModificationDtoToForm, generatorModificationEmptyFormData, generatorModificationFormSchema, generatorModificationFormToDto } from "./features/network-modifications/generator/modification/generatorModification.utils.js";
|
|
@@ -684,6 +688,7 @@ export {
|
|
|
684
688
|
DynamicSimulationInline,
|
|
685
689
|
ENERGY_SOURCES,
|
|
686
690
|
ENERGY_SOURCE_OPTIONS,
|
|
691
|
+
EQUIPMENTS_FIELDS,
|
|
687
692
|
EQUIPMENTS_IN_VOLTAGE_REGULATION_TYPES,
|
|
688
693
|
EQUIPMENTS_WITH_ONE_NOMINAL_VOLTAGE,
|
|
689
694
|
EQUIPMENTS_WITH_ONE_SUBSTATION,
|
|
@@ -725,6 +730,7 @@ export {
|
|
|
725
730
|
FILTER_ID,
|
|
726
731
|
FILTER_NAME,
|
|
727
732
|
FLOW_PROPORTIONAL_THRESHOLD,
|
|
733
|
+
FORMULAS,
|
|
728
734
|
FetchStatus,
|
|
729
735
|
FieldConstants,
|
|
730
736
|
FieldErrorAlert,
|
|
@@ -866,6 +872,7 @@ export {
|
|
|
866
872
|
MicroSusceptanceAdornment,
|
|
867
873
|
MidFormError,
|
|
868
874
|
ModificationByAssignmentForm,
|
|
875
|
+
ModificationByFormulaForm,
|
|
869
876
|
ModificationContainerType,
|
|
870
877
|
ModificationRow,
|
|
871
878
|
ModificationType,
|
|
@@ -899,6 +906,7 @@ export {
|
|
|
899
906
|
NumericEditor,
|
|
900
907
|
OHM,
|
|
901
908
|
OPERATIONAL_LIMITS_GROUPS_MODIFICATION_TYPE,
|
|
909
|
+
OPERATOR,
|
|
902
910
|
OPERATOR_OPTIONS,
|
|
903
911
|
OhmAdornment,
|
|
904
912
|
OperatingStatus,
|
|
@@ -969,6 +977,8 @@ export {
|
|
|
969
977
|
REACTIVE_LIMIT_TYPES,
|
|
970
978
|
REACTIVE_SLACKS_THRESHOLD,
|
|
971
979
|
READ_SLACK_BUS,
|
|
980
|
+
REFERENCE_FIELD_OR_VALUE_1,
|
|
981
|
+
REFERENCE_FIELD_OR_VALUE_2,
|
|
972
982
|
REGULATION_TYPES,
|
|
973
983
|
REGULATION_TYPE_OPTIONS,
|
|
974
984
|
REMOVE,
|
|
@@ -1216,6 +1226,7 @@ export {
|
|
|
1216
1226
|
emptyFormData,
|
|
1217
1227
|
emptyLineSegment,
|
|
1218
1228
|
emptyModificationByAssignmentFormData,
|
|
1229
|
+
emptyModificationFormData,
|
|
1219
1230
|
emptyProperties,
|
|
1220
1231
|
enrichPccMinParameters,
|
|
1221
1232
|
enrichSecurityAnalysisParameters,
|
|
@@ -1367,6 +1378,8 @@ export {
|
|
|
1367
1378
|
getExplicitNamingFilterEmptyFormData,
|
|
1368
1379
|
getFileIcon,
|
|
1369
1380
|
getFilledPropertiesFromModification,
|
|
1381
|
+
getFormulaInitialValue,
|
|
1382
|
+
getFormulaSchema,
|
|
1370
1383
|
getHvdcLccDeletionSchema,
|
|
1371
1384
|
getIdOrSelf,
|
|
1372
1385
|
getIdOrValue,
|
|
@@ -1520,6 +1533,9 @@ export {
|
|
|
1520
1533
|
modificationByAssignmentDtoToForm,
|
|
1521
1534
|
modificationByAssignmentFormSchema,
|
|
1522
1535
|
modificationByAssignmentFormToDto,
|
|
1536
|
+
modificationByFormulaDtoToForm,
|
|
1537
|
+
modificationByFormulaFormSchema,
|
|
1538
|
+
modificationByFormulaFormToDto,
|
|
1523
1539
|
modificationPropertiesSchema,
|
|
1524
1540
|
moveModification,
|
|
1525
1541
|
moveSubModificationInTree,
|
|
@@ -72,6 +72,8 @@ export declare const networkModificationsEn: {
|
|
|
72
72
|
CreateSubstation: string;
|
|
73
73
|
DeleteEquipmentByFilter: string;
|
|
74
74
|
ModifyByAssignment: string;
|
|
75
|
+
addNewFormula: string;
|
|
76
|
+
ModifyByFormula: string;
|
|
75
77
|
SubstationCreationError: string;
|
|
76
78
|
ModifySubstation: string;
|
|
77
79
|
SubstationModificationError: string;
|
|
@@ -208,10 +210,12 @@ export declare const networkModificationsEn: {
|
|
|
208
210
|
RatedU2: string;
|
|
209
211
|
RatioTargetV: string;
|
|
210
212
|
RatioLowTapPosition: string;
|
|
213
|
+
RatioHighTapPosition: string;
|
|
211
214
|
RatioTapPosition: string;
|
|
212
215
|
RatioDeadBand: string;
|
|
213
216
|
PhaseRegulatingValue: string;
|
|
214
217
|
PhaseLowTapPosition: string;
|
|
218
|
+
PhaseHighTapPosition: string;
|
|
215
219
|
PhaseTapPosition: string;
|
|
216
220
|
PhaseDeadBand: string;
|
|
217
221
|
selectedOperationalLimitsGroup1: string;
|
|
@@ -302,6 +306,15 @@ export declare const networkModificationsEn: {
|
|
|
302
306
|
FieldNotEmpty: string;
|
|
303
307
|
TemporaryCurrentLimitsText: string;
|
|
304
308
|
SelectedOperationalLimitGroup: string;
|
|
309
|
+
ReferenceFieldOrValue: string;
|
|
310
|
+
Operator: string;
|
|
311
|
+
UseDashToSelectField: string;
|
|
312
|
+
filter: string;
|
|
313
|
+
ValueMustBeNumericWhenPercentageError: string;
|
|
314
|
+
ValueMustBeRefWhenPercentageError: string;
|
|
315
|
+
WrongRefOrValueError: string;
|
|
316
|
+
G: string;
|
|
317
|
+
B: string;
|
|
305
318
|
SubstationTab: string;
|
|
306
319
|
ConnectivityTab: string;
|
|
307
320
|
CharacteristicsTab: string;
|
|
@@ -77,6 +77,8 @@ const networkModificationsEn = {
|
|
|
77
77
|
CreateSubstation: "Create substation",
|
|
78
78
|
DeleteEquipmentByFilter: "Delete equipment by filter",
|
|
79
79
|
ModifyByAssignment: "Modify by filter",
|
|
80
|
+
addNewFormula: "Add new formula",
|
|
81
|
+
ModifyByFormula: "Modify by formula",
|
|
80
82
|
SubstationCreationError: "Error while creating substation",
|
|
81
83
|
ModifySubstation: "Modify substation",
|
|
82
84
|
SubstationModificationError: "Error while modifying substation",
|
|
@@ -213,10 +215,12 @@ const networkModificationsEn = {
|
|
|
213
215
|
RatedU2: "Rated voltage 2",
|
|
214
216
|
RatioTargetV: "Ratio voltage set point",
|
|
215
217
|
RatioLowTapPosition: "Ratio low tap position",
|
|
218
|
+
RatioHighTapPosition: "Ratio high tap position",
|
|
216
219
|
RatioTapPosition: "Ratio tap position",
|
|
217
220
|
RatioDeadBand: "Ratio deadband",
|
|
218
221
|
PhaseRegulatingValue: "Phase regulating value",
|
|
219
222
|
PhaseLowTapPosition: "Phase low tap position",
|
|
223
|
+
PhaseHighTapPosition: "Phase high tap position",
|
|
220
224
|
PhaseTapPosition: "Phase tap position",
|
|
221
225
|
PhaseDeadBand: "Phase deadband",
|
|
222
226
|
selectedOperationalLimitsGroup1: "Active limit set on side 1",
|
|
@@ -307,6 +311,15 @@ const networkModificationsEn = {
|
|
|
307
311
|
FieldNotEmpty: "Field should not be empty",
|
|
308
312
|
TemporaryCurrentLimitsText: "Temporary current limits",
|
|
309
313
|
SelectedOperationalLimitGroup: "Active limit set",
|
|
314
|
+
ReferenceFieldOrValue: "Reference field or value",
|
|
315
|
+
Operator: "Operator",
|
|
316
|
+
UseDashToSelectField: "Use # to select a field",
|
|
317
|
+
filter: "Filter",
|
|
318
|
+
ValueMustBeNumericWhenPercentageError: "When using %, this field must be a valid positive numeric value",
|
|
319
|
+
ValueMustBeRefWhenPercentageError: "When using %, this field must be a valid field reference",
|
|
320
|
+
WrongRefOrValueError: "Please enter a valid numeric value or a valid field reference. Use # to select a field",
|
|
321
|
+
G: "Magnetizing conductance",
|
|
322
|
+
B: "Magnetizing susceptance",
|
|
310
323
|
// Tabs
|
|
311
324
|
SubstationTab: "Substation",
|
|
312
325
|
ConnectivityTab: "Connectivity",
|
|
@@ -72,6 +72,8 @@ export declare const networkModificationsFr: {
|
|
|
72
72
|
CreateSubstation: string;
|
|
73
73
|
DeleteEquipmentByFilter: string;
|
|
74
74
|
ModifyByAssignment: string;
|
|
75
|
+
addNewFormula: string;
|
|
76
|
+
ModifyByFormula: string;
|
|
75
77
|
SubstationCreationError: string;
|
|
76
78
|
ModifySubstation: string;
|
|
77
79
|
SubstationModificationError: string;
|
|
@@ -208,10 +210,12 @@ export declare const networkModificationsFr: {
|
|
|
208
210
|
RatedU2: string;
|
|
209
211
|
RatioTargetV: string;
|
|
210
212
|
RatioLowTapPosition: string;
|
|
213
|
+
RatioHighTapPosition: string;
|
|
211
214
|
RatioTapPosition: string;
|
|
212
215
|
RatioDeadBand: string;
|
|
213
216
|
PhaseRegulatingValue: string;
|
|
214
217
|
PhaseLowTapPosition: string;
|
|
218
|
+
PhaseHighTapPosition: string;
|
|
215
219
|
PhaseTapPosition: string;
|
|
216
220
|
PhaseDeadBand: string;
|
|
217
221
|
selectedOperationalLimitsGroup1: string;
|
|
@@ -302,6 +306,15 @@ export declare const networkModificationsFr: {
|
|
|
302
306
|
FieldNotEmpty: string;
|
|
303
307
|
TemporaryCurrentLimitsText: string;
|
|
304
308
|
SelectedOperationalLimitGroup: string;
|
|
309
|
+
ReferenceFieldOrValue: string;
|
|
310
|
+
Operator: string;
|
|
311
|
+
UseDashToSelectField: string;
|
|
312
|
+
filter: string;
|
|
313
|
+
ValueMustBeNumericWhenPercentageError: string;
|
|
314
|
+
ValueMustBeRefWhenPercentageError: string;
|
|
315
|
+
WrongRefOrValueError: string;
|
|
316
|
+
G: string;
|
|
317
|
+
B: string;
|
|
305
318
|
SubstationTab: string;
|
|
306
319
|
ConnectivityTab: string;
|
|
307
320
|
CharacteristicsTab: string;
|
|
@@ -77,6 +77,8 @@ const networkModificationsFr = {
|
|
|
77
77
|
CreateSubstation: "Créer un site",
|
|
78
78
|
DeleteEquipmentByFilter: "Supprimer des ouvrages par filtre",
|
|
79
79
|
ModifyByAssignment: "Modification par filtre",
|
|
80
|
+
addNewFormula: "Ajouter une nouvelle formule",
|
|
81
|
+
ModifyByFormula: "Modification par formule",
|
|
80
82
|
SubstationCreationError: "Erreur lors de la création d'un site'",
|
|
81
83
|
ModifySubstation: "Modifier un site",
|
|
82
84
|
SubstationModificationError: "Erreur lors de la modification d'un site",
|
|
@@ -213,10 +215,12 @@ const networkModificationsFr = {
|
|
|
213
215
|
RatedU2: "Tension d'enroulement 2",
|
|
214
216
|
RatioTargetV: "Tension de consigne du régleur",
|
|
215
217
|
RatioLowTapPosition: "Prise min régleur",
|
|
218
|
+
RatioHighTapPosition: "Prise max régleur",
|
|
216
219
|
RatioTapPosition: "Prise courante du régleur",
|
|
217
220
|
RatioDeadBand: "Bande morte du régleur",
|
|
218
221
|
PhaseRegulatingValue: "Valeur de réglage de déphaseur",
|
|
219
222
|
PhaseLowTapPosition: "Prise min déphaseur",
|
|
223
|
+
PhaseHighTapPosition: "Prise max déphaseur",
|
|
220
224
|
PhaseTapPosition: "Prise courante du déphaseur",
|
|
221
225
|
PhaseDeadBand: "Bande morte du déphaseur",
|
|
222
226
|
selectedOperationalLimitsGroup1: "Jeu de limites actif côté 1",
|
|
@@ -307,6 +311,15 @@ const networkModificationsFr = {
|
|
|
307
311
|
FieldNotEmpty: "le champs ne doit pas être vide",
|
|
308
312
|
TemporaryCurrentLimitsText: "Limites d'intensité temporaires",
|
|
309
313
|
SelectedOperationalLimitGroup: "Jeu de limites actif",
|
|
314
|
+
ReferenceFieldOrValue: "Champ de référence ou valeur",
|
|
315
|
+
Operator: "Opérateur",
|
|
316
|
+
UseDashToSelectField: "Utiliser # pour sélectionner un champ",
|
|
317
|
+
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
|
+
G: "Conductance magnétisante",
|
|
322
|
+
B: "Susceptance magnétisante",
|
|
310
323
|
// Tabs
|
|
311
324
|
SubstationTab: "Site",
|
|
312
325
|
ConnectivityTab: "Connectivité",
|
|
@@ -152,6 +152,7 @@ export declare enum FieldConstants {
|
|
|
152
152
|
SEGMENT_REACTANCE = "segmentReactance",
|
|
153
153
|
SEGMENT_SUSCEPTANCE = "segmentSusceptance",
|
|
154
154
|
SEGMENT_CURRENT_LIMITS = "segmentCurrentLimits",
|
|
155
|
+
SPECIFIC_METADATA = "specificMetadata",
|
|
155
156
|
TOTAL_RESISTANCE = "totalResistance",
|
|
156
157
|
TOTAL_REACTANCE = "totalReactance",
|
|
157
158
|
TOTAL_SUSCEPTANCE = "totalSusceptance",
|
|
@@ -146,6 +146,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
146
146
|
FieldConstants2["SEGMENT_REACTANCE"] = "segmentReactance";
|
|
147
147
|
FieldConstants2["SEGMENT_SUSCEPTANCE"] = "segmentSusceptance";
|
|
148
148
|
FieldConstants2["SEGMENT_CURRENT_LIMITS"] = "segmentCurrentLimits";
|
|
149
|
+
FieldConstants2["SPECIFIC_METADATA"] = "specificMetadata";
|
|
149
150
|
FieldConstants2["TOTAL_RESISTANCE"] = "totalResistance";
|
|
150
151
|
FieldConstants2["TOTAL_REACTANCE"] = "totalReactance";
|
|
151
152
|
FieldConstants2["TOTAL_SUSCEPTANCE"] = "totalSusceptance";
|