@gridsuite/commons-ui 0.249.0 → 0.251.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 +23 -18
- package/dist/components/composite/reactQueryBuilder/PropertyValueEditor.js +1 -1
- package/dist/features/index.js +10 -2
- package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.d.ts +3 -3
- package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.js +1 -1
- package/dist/features/network-modifications/common/index.js +1 -2
- package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js +1 -1
- package/dist/features/network-modifications/common/measurements/index.js +1 -2
- package/dist/features/network-modifications/common/measurements/injectionActiveReactivePowerForm.utils.d.ts +0 -8
- package/dist/features/network-modifications/common/measurements/injectionActiveReactivePowerForm.utils.js +0 -8
- package/dist/features/network-modifications/index.js +6 -2
- package/dist/features/network-modifications/line/catalog/segment.utils.d.ts +1 -1
- package/dist/features/network-modifications/line/common/LineDialogTabsContent.js +2 -2
- package/dist/features/network-modifications/line/common/line.types.d.ts +7 -0
- package/dist/features/network-modifications/line/creation/lineCreation.types.d.ts +1 -7
- package/dist/features/network-modifications/line/creation/lineCreation.utils.d.ts +1 -1
- package/dist/features/network-modifications/line/index.d.ts +1 -0
- package/dist/features/network-modifications/line/index.js +6 -1
- package/dist/features/network-modifications/line/modification/index.d.ts +8 -0
- package/dist/features/network-modifications/line/modification/index.js +7 -0
- package/dist/features/network-modifications/line/modification/lineModification.types.d.ts +43 -0
- package/dist/features/network-modifications/line/modification/lineModification.types.js +1 -0
- package/dist/features/network-modifications/line/modification/lineModification.utils.d.ts +154 -0
- package/dist/features/network-modifications/line/modification/lineModification.utils.js +193 -0
- package/dist/features/parameters/common/hook/use-tabs.d.ts +3 -1
- package/dist/features/parameters/common/hook/use-tabs.js +21 -15
- package/dist/features/parameters/index.d.ts +1 -0
- package/dist/features/parameters/index.js +4 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.d.ts +3 -2
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +22 -3
- package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +14 -29
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +1 -0
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +1 -1
- package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.d.ts +3 -1
- package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.js +19 -6
- package/dist/features/parameters/security-analysis/constants.d.ts +3 -3
- package/dist/features/parameters/security-analysis/constants.js +3 -3
- package/dist/features/parameters/security-analysis/security-analysis-parameters-content.d.ts +4 -6
- package/dist/features/parameters/security-analysis/security-analysis-parameters-content.js +26 -30
- package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +2 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +1 -3
- package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +4 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-utils.d.ts +2 -0
- package/dist/features/parameters/security-analysis/security-analysis-parameters-utils.js +54 -0
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.d.ts +8 -1
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +21 -2
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +9 -8
- package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-cell.js +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.d.ts +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +27 -2
- package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.js +15 -24
- package/dist/features/parameters/voltage-init/use-voltage-init-parameters-form.js +19 -18
- package/dist/features/parameters/voltage-init/voltage-init-form-utils.d.ts +2 -0
- package/dist/features/parameters/voltage-init/voltage-init-form-utils.js +14 -1
- package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +1 -0
- package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +27 -38
- package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +1 -1
- package/dist/features/process-configs/security-analysis/update-sa-process-config.js +2 -0
- package/dist/index.js +10 -2
- package/dist/translations/en/networkModificationsEn.d.ts +2 -0
- package/dist/translations/en/networkModificationsEn.js +2 -0
- package/dist/translations/fr/networkModificationsFr.d.ts +2 -0
- package/dist/translations/fr/networkModificationsFr.js +2 -0
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ import { ValueSelector } from "./ValueSelector.js";
|
|
|
16
16
|
import { COMBINATOR_OPTIONS } from "../filter/expert/expertFilterConstants.js";
|
|
17
17
|
import { ErrorInput } from "../../ui/reactHookForm/errorManagement/ErrorInput.js";
|
|
18
18
|
import { FieldErrorAlert } from "../../ui/reactHookForm/errorManagement/FieldErrorAlert.js";
|
|
19
|
-
import { countRules, queryValidator
|
|
19
|
+
import { getOperators, countRules, queryValidator } from "../filter/expert/expertFilterUtils.js";
|
|
20
20
|
import { RemoveButton } from "./RemoveButton.js";
|
|
21
21
|
import { FieldSelector } from "./FieldSelector.js";
|
|
22
22
|
import { OperatorSelector } from "./OperatorSelector.js";
|
|
@@ -38,6 +38,22 @@ const customTranslations = {
|
|
|
38
38
|
value: { title: "" },
|
|
39
39
|
combinators: { title: "" }
|
|
40
40
|
};
|
|
41
|
+
const dnd = { ...ReactDnD, ...ReactDndHtml5Backend };
|
|
42
|
+
const controlElements = {
|
|
43
|
+
addRuleAction: RuleAddButton,
|
|
44
|
+
addGroupAction: GroupAddButton,
|
|
45
|
+
combinatorSelector: CombinatorSelector,
|
|
46
|
+
removeRuleAction: RemoveButton,
|
|
47
|
+
removeGroupAction: RemoveButton,
|
|
48
|
+
valueEditor: ValueEditor,
|
|
49
|
+
operatorSelector: OperatorSelector,
|
|
50
|
+
fieldSelector: FieldSelector,
|
|
51
|
+
valueSourceSelector: ValueSelector
|
|
52
|
+
};
|
|
53
|
+
const accessibleDescriptionGenerator = () => "";
|
|
54
|
+
const controlClassnames = {
|
|
55
|
+
queryBuilder: "queryBuilder-branches"
|
|
56
|
+
};
|
|
41
57
|
function CustomReactQueryBuilder(props) {
|
|
42
58
|
const { name, fields } = props;
|
|
43
59
|
const {
|
|
@@ -49,6 +65,7 @@ function CustomReactQueryBuilder(props) {
|
|
|
49
65
|
} = useFormContext();
|
|
50
66
|
const intl = useIntl();
|
|
51
67
|
const query = watch(name);
|
|
68
|
+
const getOperatorsMemo = useCallback((fieldName) => getOperators(fieldName, intl), [intl]);
|
|
52
69
|
const handleQueryChange = useCallback(
|
|
53
70
|
(newQuery) => {
|
|
54
71
|
const oldQuery = getValues(name);
|
|
@@ -68,7 +85,7 @@ function CustomReactQueryBuilder(props) {
|
|
|
68
85
|
}));
|
|
69
86
|
}, [intl]);
|
|
70
87
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
71
|
-
/* @__PURE__ */ jsx(QueryBuilderMaterial, { children: /* @__PURE__ */ jsx(QueryBuilderDnD, { dnd
|
|
88
|
+
/* @__PURE__ */ jsx(QueryBuilderMaterial, { children: /* @__PURE__ */ jsx(QueryBuilderDnD, { dnd, children: /* @__PURE__ */ jsx(
|
|
72
89
|
QueryBuilder,
|
|
73
90
|
{
|
|
74
91
|
fields,
|
|
@@ -76,24 +93,12 @@ function CustomReactQueryBuilder(props) {
|
|
|
76
93
|
addRuleToNewGroups: true,
|
|
77
94
|
combinators,
|
|
78
95
|
onQueryChange: handleQueryChange,
|
|
79
|
-
getOperators:
|
|
96
|
+
getOperators: getOperatorsMemo,
|
|
80
97
|
validator: queryValidator,
|
|
81
|
-
controlClassnames
|
|
82
|
-
|
|
83
|
-
},
|
|
84
|
-
controlElements: {
|
|
85
|
-
addRuleAction: RuleAddButton,
|
|
86
|
-
addGroupAction: GroupAddButton,
|
|
87
|
-
combinatorSelector: CombinatorSelector,
|
|
88
|
-
removeRuleAction: RemoveButton,
|
|
89
|
-
removeGroupAction: RemoveButton,
|
|
90
|
-
valueEditor: ValueEditor,
|
|
91
|
-
operatorSelector: OperatorSelector,
|
|
92
|
-
fieldSelector: FieldSelector,
|
|
93
|
-
valueSourceSelector: ValueSelector
|
|
94
|
-
},
|
|
98
|
+
controlClassnames,
|
|
99
|
+
controlElements,
|
|
95
100
|
listsAsArrays: true,
|
|
96
|
-
accessibleDescriptionGenerator
|
|
101
|
+
accessibleDescriptionGenerator,
|
|
97
102
|
translations: customTranslations
|
|
98
103
|
}
|
|
99
104
|
) }) }),
|
|
@@ -46,7 +46,7 @@ function PropertyValueEditor(props) {
|
|
|
46
46
|
},
|
|
47
47
|
[valueEditorProps]
|
|
48
48
|
);
|
|
49
|
-
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 1, children: [
|
|
49
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 1, width: "100%", alignItems: "center", children: [
|
|
50
50
|
/* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
51
51
|
Autocomplete,
|
|
52
52
|
{
|
package/dist/features/index.js
CHANGED
|
@@ -69,12 +69,13 @@ import { CONTINGENCIES_LIST_INFOS, CONTINGENCIES_START_TIME, SCENARIO_DURATION }
|
|
|
69
69
|
import { DynamicSecurityAnalysisInline } from "./parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js";
|
|
70
70
|
import { ACCURACY, ACTIVE, CALCULATION_TYPE, LOADS_VARIATIONS, LOAD_FILTERS, LOAD_INCREASE_START_TIME, LOAD_INCREASE_STOP_TIME, LOAD_MODELS_RULE, MARGIN_CALCULATION_START_TIME, START_TIME, STOP_TIME, VARIATION } from "./parameters/dynamic-margin-calculation/constants.js";
|
|
71
71
|
import { DynamicMarginCalculationInline } from "./parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js";
|
|
72
|
+
import { getTabIndicatorStyle, getTabStyle, parametersStyles } from "./parameters/parameters-style.js";
|
|
72
73
|
import { filledTextField, italicFontTextField, standardTextField } from "./network-modifications/common/form.utils.js";
|
|
73
74
|
import { PropertiesForm } from "./network-modifications/common/properties/PropertiesForm.js";
|
|
74
75
|
import { PropertyForm } from "./network-modifications/common/properties/PropertyForm.js";
|
|
75
76
|
import { copyEquipmentPropertiesForCreation, createPropertyModification, creationPropertiesSchema, emptyProperties, fetchPredefinedProperties, getConcatenatedProperties, getFilledPropertiesFromModification, getPropertiesFromModification, getPropertyValue, initializedProperty, mergeModificationAndEquipmentProperties, modificationPropertiesSchema, toModificationProperties } from "./network-modifications/common/properties/propertyUtils.js";
|
|
76
77
|
import { getPowerWithValidityEditData, getPowerWithValidityEmptyFormData, getPowerWithValidityValidationSchema } from "./network-modifications/common/measurements/powerWithValidity.utils.js";
|
|
77
|
-
import {
|
|
78
|
+
import { getInjectionActiveReactivePowerEditDataProperties, getInjectionActiveReactivePowerEmptyFormData, getInjectionActiveReactivePowerEmptyFormDataProperties, getInjectionActiveReactivePowerValidationSchema, getInjectionActiveReactivePowerValidationSchemaProperties } from "./network-modifications/common/measurements/injectionActiveReactivePowerForm.utils.js";
|
|
78
79
|
import { getBranchActiveReactivePowerEditData, getBranchActiveReactivePowerEditDataProperties, getBranchActiveReactivePowerEmptyFormData, getBranchActiveReactivePowerEmptyFormDataProperties, getBranchActiveReactivePowerValidationSchema, getBranchActiveReactivePowerValidationSchemaObject, getBranchActiveReactivePowerValidationSchemaProperties } from "./network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js";
|
|
79
80
|
import { PowerWithValidityForm } from "./network-modifications/common/measurements/PowerWithValidityForm.js";
|
|
80
81
|
import { PowerMeasurementsForm } from "./network-modifications/common/measurements/PowerMeasurementsForm.js";
|
|
@@ -206,6 +207,7 @@ import { LineDialogTabsContent } from "./network-modifications/line/common/LineD
|
|
|
206
207
|
import { LineDialogHeader } from "./network-modifications/line/common/LineDialogHeader.js";
|
|
207
208
|
import { LineForm } from "./network-modifications/line/common/LineForm.js";
|
|
208
209
|
import { lineCreationDtoToForm, lineCreationEmptyFormData, lineCreationFormSchema, lineCreationFormToDto } from "./network-modifications/line/creation/lineCreation.utils.js";
|
|
210
|
+
import { lineModificationDtoToForm, lineModificationEmptyFormData, lineModificationFormSchema, lineModificationFormToDto } from "./network-modifications/line/modification/lineModification.utils.js";
|
|
209
211
|
import { BuildStatusChip } from "./node/build-status-chip.js";
|
|
210
212
|
import { BuildStatus } from "./node/constant.js";
|
|
211
213
|
import { COLUMNS_WITHOUT_BORDER, DEPTH_CELL_WIDTH, DROP_FORBIDDEN_INDICATOR_BOTTOM, DROP_FORBIDDEN_INDICATOR_TOP, DROP_INDICATOR_BOTTOM, DROP_INDICATOR_TOP, MODIFICATION_ROW_HEIGHT, createCellBorderColor, createCellContentWrapperSx, createCellStyle, createEditDescriptionStyle, createHeaderCellStyle, createModificationNameCellStyle, createNameCellLabelBoxSx, createNameCellRootStyle, createRootNetworkChipCellSx, createRowSx, networkModificationTableStyles } from "./network-modification-table/network-modification-table-styles.js";
|
|
@@ -675,7 +677,6 @@ export {
|
|
|
675
677
|
getCreateSwitchesValidationSchema,
|
|
676
678
|
getFilledPropertiesFromModification,
|
|
677
679
|
getHvdcLccDeletionSchema,
|
|
678
|
-
getInjectionActiveReactivePowerEditData,
|
|
679
680
|
getInjectionActiveReactivePowerEditDataProperties,
|
|
680
681
|
getInjectionActiveReactivePowerEmptyFormData,
|
|
681
682
|
getInjectionActiveReactivePowerEmptyFormDataProperties,
|
|
@@ -719,6 +720,8 @@ export {
|
|
|
719
720
|
getShortCircuitEmptyFormData,
|
|
720
721
|
getShortCircuitFormData,
|
|
721
722
|
getShortCircuitFormSchema,
|
|
723
|
+
getTabIndicatorStyle,
|
|
724
|
+
getTabStyle,
|
|
722
725
|
getVoltageRegulationEmptyFormData,
|
|
723
726
|
getVoltageRegulationSchema,
|
|
724
727
|
handlePostSortRows,
|
|
@@ -739,6 +742,10 @@ export {
|
|
|
739
742
|
lineCreationEmptyFormData,
|
|
740
743
|
lineCreationFormSchema,
|
|
741
744
|
lineCreationFormToDto,
|
|
745
|
+
lineModificationDtoToForm,
|
|
746
|
+
lineModificationEmptyFormData,
|
|
747
|
+
lineModificationFormSchema,
|
|
748
|
+
lineModificationFormToDto,
|
|
742
749
|
loadCreationDtoToForm,
|
|
743
750
|
loadCreationEmptyFormData,
|
|
744
751
|
loadCreationFormSchema,
|
|
@@ -761,6 +768,7 @@ export {
|
|
|
761
768
|
networkModificationTableStyles,
|
|
762
769
|
newEquipmentDeletionDto,
|
|
763
770
|
onlyStartedGeneratorsOptions,
|
|
771
|
+
parametersStyles,
|
|
764
772
|
removeUuidsFromTree,
|
|
765
773
|
sanitizeLimitNames,
|
|
766
774
|
sanitizeLimitsGroups,
|
|
@@ -68,7 +68,7 @@ export declare const getLimitsValidationSchemaProps: (isEquipmentModification?:
|
|
|
68
68
|
}[] | undefined;
|
|
69
69
|
selectedOperationalLimitsGroupId1: string | null | undefined;
|
|
70
70
|
selectedOperationalLimitsGroupId2: string | null | undefined;
|
|
71
|
-
enableOLGModification: boolean | undefined
|
|
71
|
+
enableOLGModification: NonNullable<boolean | undefined>;
|
|
72
72
|
}, import('yup').AnyObject, {
|
|
73
73
|
operationalLimitsGroups: undefined;
|
|
74
74
|
selectedOperationalLimitsGroupId1: undefined;
|
|
@@ -105,7 +105,7 @@ declare const limitsValidationSchemaCreation: (id: string, isModification: boole
|
|
|
105
105
|
}[] | undefined;
|
|
106
106
|
selectedOperationalLimitsGroupId1: string | null | undefined;
|
|
107
107
|
selectedOperationalLimitsGroupId2: string | null | undefined;
|
|
108
|
-
enableOLGModification: boolean | undefined
|
|
108
|
+
enableOLGModification: NonNullable<boolean | undefined>;
|
|
109
109
|
}, import('yup').AnyObject, {
|
|
110
110
|
operationalLimitsGroups: undefined;
|
|
111
111
|
selectedOperationalLimitsGroupId1: undefined;
|
|
@@ -142,7 +142,7 @@ export declare const getLimitsValidationSchema: (id?: string, isModification?: b
|
|
|
142
142
|
}[] | undefined;
|
|
143
143
|
selectedOperationalLimitsGroupId1: string | null | undefined;
|
|
144
144
|
selectedOperationalLimitsGroupId2: string | null | undefined;
|
|
145
|
-
enableOLGModification: boolean | undefined
|
|
145
|
+
enableOLGModification: NonNullable<boolean | undefined>;
|
|
146
146
|
}, import('yup').AnyObject, {
|
|
147
147
|
operationalLimitsGroups: undefined;
|
|
148
148
|
selectedOperationalLimitsGroupId1: undefined;
|
|
@@ -114,7 +114,7 @@ const getLimitsValidationSchemaProps = (isEquipmentModification = false) => obje
|
|
|
114
114
|
}) : array(limitsGroupValidationSchema).required(),
|
|
115
115
|
[FieldConstants.SELECTED_OPERATIONAL_LIMITS_GROUP_ID1]: string().nullable(),
|
|
116
116
|
[FieldConstants.SELECTED_OPERATIONAL_LIMITS_GROUP_ID2]: string().nullable(),
|
|
117
|
-
[FieldConstants.ENABLE_OLG_MODIFICATION]: boolean()
|
|
117
|
+
[FieldConstants.ENABLE_OLG_MODIFICATION]: boolean().required()
|
|
118
118
|
});
|
|
119
119
|
const limitsValidationSchemaCreation = (id, isModification) => {
|
|
120
120
|
return { [id]: getLimitsValidationSchemaProps(isModification) };
|
|
@@ -3,7 +3,7 @@ import { PropertiesForm } from "./properties/PropertiesForm.js";
|
|
|
3
3
|
import { PropertyForm } from "./properties/PropertyForm.js";
|
|
4
4
|
import { copyEquipmentPropertiesForCreation, createPropertyModification, creationPropertiesSchema, emptyProperties, fetchPredefinedProperties, getConcatenatedProperties, getFilledPropertiesFromModification, getPropertiesFromModification, getPropertyValue, initializedProperty, mergeModificationAndEquipmentProperties, modificationPropertiesSchema, toModificationProperties } from "./properties/propertyUtils.js";
|
|
5
5
|
import { getPowerWithValidityEditData, getPowerWithValidityEmptyFormData, getPowerWithValidityValidationSchema } from "./measurements/powerWithValidity.utils.js";
|
|
6
|
-
import {
|
|
6
|
+
import { getInjectionActiveReactivePowerEditDataProperties, getInjectionActiveReactivePowerEmptyFormData, getInjectionActiveReactivePowerEmptyFormDataProperties, getInjectionActiveReactivePowerValidationSchema, getInjectionActiveReactivePowerValidationSchemaProperties } from "./measurements/injectionActiveReactivePowerForm.utils.js";
|
|
7
7
|
import { getBranchActiveReactivePowerEditData, getBranchActiveReactivePowerEditDataProperties, getBranchActiveReactivePowerEmptyFormData, getBranchActiveReactivePowerEmptyFormDataProperties, getBranchActiveReactivePowerValidationSchema, getBranchActiveReactivePowerValidationSchemaObject, getBranchActiveReactivePowerValidationSchemaProperties } from "./measurements/branchActiveReactivePowerForm.utils.js";
|
|
8
8
|
import { PowerWithValidityForm } from "./measurements/PowerWithValidityForm.js";
|
|
9
9
|
import { PowerMeasurementsForm } from "./measurements/PowerMeasurementsForm.js";
|
|
@@ -124,7 +124,6 @@ export {
|
|
|
124
124
|
getConnectivityWithoutPositionValidationSchema,
|
|
125
125
|
getCont1Cont2WithPositionEmptyFormData,
|
|
126
126
|
getFilledPropertiesFromModification,
|
|
127
|
-
getInjectionActiveReactivePowerEditData,
|
|
128
127
|
getInjectionActiveReactivePowerEditDataProperties,
|
|
129
128
|
getInjectionActiveReactivePowerEmptyFormData,
|
|
130
129
|
getInjectionActiveReactivePowerEmptyFormDataProperties,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { object } from "yup";
|
|
2
|
-
import { getPowerWithValidityEmptyFormData,
|
|
2
|
+
import { getPowerWithValidityEmptyFormData, getPowerWithValidityValidationSchema, getPowerWithValidityEditData } from "./powerWithValidity.utils.js";
|
|
3
3
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
4
4
|
import "../../../../utils/conversionUtils.js";
|
|
5
5
|
import "../../../../utils/types/equipmentType.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getPowerWithValidityEditData, getPowerWithValidityEmptyFormData, getPowerWithValidityValidationSchema } from "./powerWithValidity.utils.js";
|
|
2
|
-
import {
|
|
2
|
+
import { getInjectionActiveReactivePowerEditDataProperties, getInjectionActiveReactivePowerEmptyFormData, getInjectionActiveReactivePowerEmptyFormDataProperties, getInjectionActiveReactivePowerValidationSchema, getInjectionActiveReactivePowerValidationSchemaProperties } from "./injectionActiveReactivePowerForm.utils.js";
|
|
3
3
|
import { getBranchActiveReactivePowerEditData, getBranchActiveReactivePowerEditDataProperties, getBranchActiveReactivePowerEmptyFormData, getBranchActiveReactivePowerEmptyFormDataProperties, getBranchActiveReactivePowerValidationSchema, getBranchActiveReactivePowerValidationSchemaObject, getBranchActiveReactivePowerValidationSchemaProperties } from "./branchActiveReactivePowerForm.utils.js";
|
|
4
4
|
import { PowerWithValidityForm } from "./PowerWithValidityForm.js";
|
|
5
5
|
import { PowerMeasurementsForm } from "./PowerMeasurementsForm.js";
|
|
@@ -17,7 +17,6 @@ export {
|
|
|
17
17
|
getBranchActiveReactivePowerValidationSchema,
|
|
18
18
|
getBranchActiveReactivePowerValidationSchemaObject,
|
|
19
19
|
getBranchActiveReactivePowerValidationSchemaProperties,
|
|
20
|
-
getInjectionActiveReactivePowerEditData,
|
|
21
20
|
getInjectionActiveReactivePowerEditDataProperties,
|
|
22
21
|
getInjectionActiveReactivePowerEmptyFormData,
|
|
23
22
|
getInjectionActiveReactivePowerEmptyFormDataProperties,
|
|
@@ -48,11 +48,3 @@ export declare function getInjectionActiveReactivePowerEditDataProperties(inject
|
|
|
48
48
|
validity: boolean;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
export declare function getInjectionActiveReactivePowerEditData(id: string, injectionData: any): {
|
|
52
|
-
[id]: {
|
|
53
|
-
[x: string]: {
|
|
54
|
-
value: number;
|
|
55
|
-
validity: boolean;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
};
|
|
@@ -37,15 +37,7 @@ function getInjectionActiveReactivePowerEditDataProperties(injectionData) {
|
|
|
37
37
|
})
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
function getInjectionActiveReactivePowerEditData(id, injectionData) {
|
|
41
|
-
return {
|
|
42
|
-
[id]: {
|
|
43
|
-
...getInjectionActiveReactivePowerEditDataProperties(injectionData)
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
40
|
export {
|
|
48
|
-
getInjectionActiveReactivePowerEditData,
|
|
49
41
|
getInjectionActiveReactivePowerEditDataProperties,
|
|
50
42
|
getInjectionActiveReactivePowerEmptyFormData,
|
|
51
43
|
getInjectionActiveReactivePowerEmptyFormDataProperties,
|
|
@@ -3,7 +3,7 @@ import { PropertiesForm } from "./common/properties/PropertiesForm.js";
|
|
|
3
3
|
import { PropertyForm } from "./common/properties/PropertyForm.js";
|
|
4
4
|
import { copyEquipmentPropertiesForCreation, createPropertyModification, creationPropertiesSchema, emptyProperties, fetchPredefinedProperties, getConcatenatedProperties, getFilledPropertiesFromModification, getPropertiesFromModification, getPropertyValue, initializedProperty, mergeModificationAndEquipmentProperties, modificationPropertiesSchema, toModificationProperties } from "./common/properties/propertyUtils.js";
|
|
5
5
|
import { getPowerWithValidityEditData, getPowerWithValidityEmptyFormData, getPowerWithValidityValidationSchema } from "./common/measurements/powerWithValidity.utils.js";
|
|
6
|
-
import {
|
|
6
|
+
import { getInjectionActiveReactivePowerEditDataProperties, getInjectionActiveReactivePowerEmptyFormData, getInjectionActiveReactivePowerEmptyFormDataProperties, getInjectionActiveReactivePowerValidationSchema, getInjectionActiveReactivePowerValidationSchemaProperties } from "./common/measurements/injectionActiveReactivePowerForm.utils.js";
|
|
7
7
|
import { getBranchActiveReactivePowerEditData, getBranchActiveReactivePowerEditDataProperties, getBranchActiveReactivePowerEmptyFormData, getBranchActiveReactivePowerEmptyFormDataProperties, getBranchActiveReactivePowerValidationSchema, getBranchActiveReactivePowerValidationSchemaObject, getBranchActiveReactivePowerValidationSchemaProperties } from "./common/measurements/branchActiveReactivePowerForm.utils.js";
|
|
8
8
|
import { PowerWithValidityForm } from "./common/measurements/PowerWithValidityForm.js";
|
|
9
9
|
import { PowerMeasurementsForm } from "./common/measurements/PowerMeasurementsForm.js";
|
|
@@ -135,6 +135,7 @@ import { LineDialogTabsContent } from "./line/common/LineDialogTabsContent.js";
|
|
|
135
135
|
import { LineDialogHeader } from "./line/common/LineDialogHeader.js";
|
|
136
136
|
import { LineForm } from "./line/common/LineForm.js";
|
|
137
137
|
import { lineCreationDtoToForm, lineCreationEmptyFormData, lineCreationFormSchema, lineCreationFormToDto } from "./line/creation/lineCreation.utils.js";
|
|
138
|
+
import { lineModificationDtoToForm, lineModificationEmptyFormData, lineModificationFormSchema, lineModificationFormToDto } from "./line/modification/lineModification.utils.js";
|
|
138
139
|
export {
|
|
139
140
|
APPLICABILITY,
|
|
140
141
|
ActivePowerControlForm,
|
|
@@ -310,7 +311,6 @@ export {
|
|
|
310
311
|
getCreateSwitchesValidationSchema,
|
|
311
312
|
getFilledPropertiesFromModification,
|
|
312
313
|
getHvdcLccDeletionSchema,
|
|
313
|
-
getInjectionActiveReactivePowerEditData,
|
|
314
314
|
getInjectionActiveReactivePowerEditDataProperties,
|
|
315
315
|
getInjectionActiveReactivePowerEmptyFormData,
|
|
316
316
|
getInjectionActiveReactivePowerEmptyFormDataProperties,
|
|
@@ -357,6 +357,10 @@ export {
|
|
|
357
357
|
lineCreationEmptyFormData,
|
|
358
358
|
lineCreationFormSchema,
|
|
359
359
|
lineCreationFormToDto,
|
|
360
|
+
lineModificationDtoToForm,
|
|
361
|
+
lineModificationEmptyFormData,
|
|
362
|
+
lineModificationFormSchema,
|
|
363
|
+
lineModificationFormToDto,
|
|
360
364
|
loadCreationDtoToForm,
|
|
361
365
|
loadCreationEmptyFormData,
|
|
362
366
|
loadCreationFormSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InferType } from 'yup';
|
|
2
2
|
import { CurrentLimitsInfo } from './lineCatalog.type';
|
|
3
3
|
import { OperationalLimitsGroupFormSchema } from '../../common/currentLimits/operationalLimitsGroups/operationalLimitsGroups.types';
|
|
4
|
-
import { LineSegmentInfos } from '../
|
|
4
|
+
import { LineSegmentInfos } from '../common/line.types';
|
|
5
5
|
import { FieldConstants } from '../../../../utils';
|
|
6
6
|
export declare const SegmentTemporaryLimitSchema: import('yup').ObjectSchema<{
|
|
7
7
|
limitValue: number;
|
|
@@ -86,8 +86,8 @@ function LineDialogTabsContent({
|
|
|
86
86
|
}
|
|
87
87
|
)
|
|
88
88
|
] }),
|
|
89
|
-
/* @__PURE__ */ jsx(Box, { hidden: tabIndex !== LineDialogTab.CHARACTERISTICS_TAB,
|
|
90
|
-
/* @__PURE__ */ jsx(Box, { hidden: tabIndex !== LineDialogTab.LIMITS_TAB,
|
|
89
|
+
/* @__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, clearableFields }) }),
|
|
91
91
|
isModification && /* @__PURE__ */ jsx(Box, { hidden: tabIndex !== LineDialogTab.STATE_ESTIMATION_TAB, children: /* @__PURE__ */ jsx(BranchActiveReactivePowerMeasurementsForm, { equipmentToModify: lineToModify }) })
|
|
92
92
|
] });
|
|
93
93
|
}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { ConnectablePositionInfos } from '../../common/connectivity/connectivity.type';
|
|
2
2
|
import { CurrentLimitsData } from '../../common/currentLimits/limits.types';
|
|
3
3
|
import { EquipmentWithProperties } from '../../common/properties/propertyUtils';
|
|
4
|
+
export interface LineSegmentInfos {
|
|
5
|
+
segmentTypeId: string;
|
|
6
|
+
segmentDistanceValue: number;
|
|
7
|
+
area: string | null;
|
|
8
|
+
temperature: string;
|
|
9
|
+
shapeFactor: number | null;
|
|
10
|
+
}
|
|
4
11
|
export type BranchInfos = EquipmentWithProperties & {
|
|
5
12
|
name: string;
|
|
6
13
|
voltageLevelId1: string;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { ModificationType } from '../../../../utils';
|
|
2
2
|
import { Property } from '../../common/properties/properties.type';
|
|
3
3
|
import { OperationalLimitsGroupFormSchema } from '../../common/currentLimits/operationalLimitsGroups/operationalLimitsGroups.types';
|
|
4
|
-
|
|
5
|
-
segmentTypeId: string;
|
|
6
|
-
segmentDistanceValue: number;
|
|
7
|
-
area: string | null;
|
|
8
|
-
temperature: string;
|
|
9
|
-
shapeFactor: number | null;
|
|
10
|
-
}
|
|
4
|
+
import { LineSegmentInfos } from '../common/line.types';
|
|
11
5
|
export interface LineCreationDto {
|
|
12
6
|
type: ModificationType;
|
|
13
7
|
uuid?: string | null;
|
|
@@ -39,7 +39,6 @@ export declare const lineCreationFormSchema: (displayConnectivity: boolean) => i
|
|
|
39
39
|
x?: number | null | undefined;
|
|
40
40
|
};
|
|
41
41
|
limits: {
|
|
42
|
-
enableOLGModification?: boolean | undefined;
|
|
43
42
|
operationalLimitsGroups?: {
|
|
44
43
|
AdditionalProperties?: {
|
|
45
44
|
previousValue?: string | null | undefined;
|
|
@@ -67,6 +66,7 @@ export declare const lineCreationFormSchema: (displayConnectivity: boolean) => i
|
|
|
67
66
|
}[] | undefined;
|
|
68
67
|
selectedOperationalLimitsGroupId1?: string | null | undefined;
|
|
69
68
|
selectedOperationalLimitsGroupId2?: string | null | undefined;
|
|
69
|
+
enableOLGModification: NonNullable<boolean | undefined>;
|
|
70
70
|
};
|
|
71
71
|
stateEstimation: {
|
|
72
72
|
[x: string]: {
|
|
@@ -8,6 +8,7 @@ import { LineDialogTabsContent } from "./common/LineDialogTabsContent.js";
|
|
|
8
8
|
import { LineDialogHeader } from "./common/LineDialogHeader.js";
|
|
9
9
|
import { LineForm } from "./common/LineForm.js";
|
|
10
10
|
import { lineCreationDtoToForm, lineCreationEmptyFormData, lineCreationFormSchema, lineCreationFormToDto } from "./creation/lineCreation.utils.js";
|
|
11
|
+
import { lineModificationDtoToForm, lineModificationEmptyFormData, lineModificationFormSchema, lineModificationFormToDto } from "./modification/lineModification.utils.js";
|
|
11
12
|
export {
|
|
12
13
|
CATEGORIES_TABS,
|
|
13
14
|
LINE_TAB_FIELDS,
|
|
@@ -33,5 +34,9 @@ export {
|
|
|
33
34
|
lineCreationDtoToForm,
|
|
34
35
|
lineCreationEmptyFormData,
|
|
35
36
|
lineCreationFormSchema,
|
|
36
|
-
lineCreationFormToDto
|
|
37
|
+
lineCreationFormToDto,
|
|
38
|
+
lineModificationDtoToForm,
|
|
39
|
+
lineModificationEmptyFormData,
|
|
40
|
+
lineModificationFormSchema,
|
|
41
|
+
lineModificationFormToDto
|
|
37
42
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export * from './lineModification.types';
|
|
8
|
+
export * from './lineModification.utils';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { lineModificationDtoToForm, lineModificationEmptyFormData, lineModificationFormSchema, lineModificationFormToDto } from "./lineModification.utils.js";
|
|
2
|
+
export {
|
|
3
|
+
lineModificationDtoToForm,
|
|
4
|
+
lineModificationEmptyFormData,
|
|
5
|
+
lineModificationFormSchema,
|
|
6
|
+
lineModificationFormToDto
|
|
7
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Property } from '../../common/properties/properties.type';
|
|
2
|
+
import { AttributeModification, ModificationType } from '../../../../utils';
|
|
3
|
+
import { OperationalLimitsGroup } from '../../common/currentLimits/operationalLimitsGroups/operationalLimitsGroups.types';
|
|
4
|
+
import { LineSegmentInfos } from '../common/line.types';
|
|
5
|
+
export interface LineModificationDto {
|
|
6
|
+
type: ModificationType;
|
|
7
|
+
equipmentId: string;
|
|
8
|
+
equipmentName: AttributeModification<string> | null;
|
|
9
|
+
properties: Property[] | null;
|
|
10
|
+
r: AttributeModification<number> | null;
|
|
11
|
+
x: AttributeModification<number> | null;
|
|
12
|
+
enableOLGModification: boolean;
|
|
13
|
+
operationalLimitsGroups: OperationalLimitsGroup[];
|
|
14
|
+
operationalLimitsGroupsModificationType: 'MODIFY' | 'REPLACE' | null;
|
|
15
|
+
selectedOperationalLimitsGroupId1: AttributeModification<string> | null;
|
|
16
|
+
selectedOperationalLimitsGroupId2: AttributeModification<string> | null;
|
|
17
|
+
voltageLevelId1: AttributeModification<string> | null;
|
|
18
|
+
voltageLevelId2: AttributeModification<string> | null;
|
|
19
|
+
busOrBusbarSectionId1: AttributeModification<string> | null;
|
|
20
|
+
busOrBusbarSectionId2: AttributeModification<string> | null;
|
|
21
|
+
connectionName1: AttributeModification<string> | null;
|
|
22
|
+
connectionName2: AttributeModification<string> | null;
|
|
23
|
+
connectionDirection1: AttributeModification<string> | null;
|
|
24
|
+
connectionDirection2: AttributeModification<string> | null;
|
|
25
|
+
connectionPosition1: AttributeModification<number> | null;
|
|
26
|
+
connectionPosition2: AttributeModification<number> | null;
|
|
27
|
+
terminal1Connected: AttributeModification<boolean> | null;
|
|
28
|
+
terminal2Connected: AttributeModification<boolean> | null;
|
|
29
|
+
p1MeasurementValue: AttributeModification<number> | null;
|
|
30
|
+
p1MeasurementValidity: AttributeModification<boolean> | null;
|
|
31
|
+
q1MeasurementValue: AttributeModification<number> | null;
|
|
32
|
+
q1MeasurementValidity: AttributeModification<boolean> | null;
|
|
33
|
+
p2MeasurementValue: AttributeModification<number> | null;
|
|
34
|
+
p2MeasurementValidity: AttributeModification<boolean> | null;
|
|
35
|
+
q2MeasurementValue: AttributeModification<number> | null;
|
|
36
|
+
q2MeasurementValidity: AttributeModification<boolean> | null;
|
|
37
|
+
g1: AttributeModification<number> | null;
|
|
38
|
+
b1: AttributeModification<number> | null;
|
|
39
|
+
g2: AttributeModification<number> | null;
|
|
40
|
+
b2: AttributeModification<number> | null;
|
|
41
|
+
lineSegments?: LineSegmentInfos[];
|
|
42
|
+
applySegmentsLimits: boolean;
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { InferType } from 'yup';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { DeepNullable } from '../../../../utils';
|
|
4
|
+
import { LineModificationDto } from './lineModification.types';
|
|
5
|
+
export declare const lineModificationFormSchema: import('yup').ObjectSchema<NonNullable<{
|
|
6
|
+
equipmentID: string;
|
|
7
|
+
equipmentName: string | null | undefined;
|
|
8
|
+
connectivity: {
|
|
9
|
+
connectivity1: {
|
|
10
|
+
terminalConnected?: boolean | null | undefined;
|
|
11
|
+
connectionDirection?: string | null | undefined;
|
|
12
|
+
connectionName?: string | undefined;
|
|
13
|
+
connectionPosition?: number | null | undefined;
|
|
14
|
+
busOrBusbarSection: {
|
|
15
|
+
id?: string | undefined;
|
|
16
|
+
} | null;
|
|
17
|
+
voltageLevel: {
|
|
18
|
+
id?: string | undefined;
|
|
19
|
+
} | null;
|
|
20
|
+
};
|
|
21
|
+
connectivity2: {
|
|
22
|
+
terminalConnected?: boolean | null | undefined;
|
|
23
|
+
connectionDirection?: string | null | undefined;
|
|
24
|
+
connectionName?: string | undefined;
|
|
25
|
+
connectionPosition?: number | null | undefined;
|
|
26
|
+
busOrBusbarSection: {
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
} | null;
|
|
29
|
+
voltageLevel: {
|
|
30
|
+
id?: string | undefined;
|
|
31
|
+
} | null;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
characteristics: {
|
|
35
|
+
b1?: number | null | undefined;
|
|
36
|
+
b2?: number | null | undefined;
|
|
37
|
+
g1?: number | null | undefined;
|
|
38
|
+
g2?: number | null | undefined;
|
|
39
|
+
r?: number | null | undefined;
|
|
40
|
+
x?: number | null | undefined;
|
|
41
|
+
};
|
|
42
|
+
limits: {
|
|
43
|
+
operationalLimitsGroups?: {
|
|
44
|
+
AdditionalProperties?: {
|
|
45
|
+
previousValue?: string | null | undefined;
|
|
46
|
+
added: NonNullable<boolean | undefined>;
|
|
47
|
+
deletionMark: NonNullable<boolean | undefined>;
|
|
48
|
+
name: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}[] | undefined;
|
|
51
|
+
limitsProperties?: {
|
|
52
|
+
name: string;
|
|
53
|
+
value: string;
|
|
54
|
+
}[] | undefined;
|
|
55
|
+
operationalLimitsGroupsIsDuplicate?: boolean | null | undefined;
|
|
56
|
+
applicability: string;
|
|
57
|
+
currentLimits: {
|
|
58
|
+
temporaryLimits?: {
|
|
59
|
+
name?: string | null | undefined;
|
|
60
|
+
value?: number | null | undefined;
|
|
61
|
+
acceptableDuration?: number | null | undefined;
|
|
62
|
+
}[] | undefined;
|
|
63
|
+
permanentLimit: number;
|
|
64
|
+
};
|
|
65
|
+
id: string;
|
|
66
|
+
name: string;
|
|
67
|
+
}[] | undefined;
|
|
68
|
+
selectedOperationalLimitsGroupId1?: string | null | undefined;
|
|
69
|
+
selectedOperationalLimitsGroupId2?: string | null | undefined;
|
|
70
|
+
enableOLGModification: NonNullable<boolean | undefined>;
|
|
71
|
+
};
|
|
72
|
+
stateEstimation: {
|
|
73
|
+
[x: string]: {
|
|
74
|
+
validity?: boolean | null | undefined;
|
|
75
|
+
value?: number | null | undefined;
|
|
76
|
+
};
|
|
77
|
+
[x: number]: {
|
|
78
|
+
validity?: boolean | null | undefined;
|
|
79
|
+
value?: number | null | undefined;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
lineSegments: {
|
|
83
|
+
segmentDistanceValue: number;
|
|
84
|
+
segmentTypeId: string;
|
|
85
|
+
area: string | null;
|
|
86
|
+
temperature: string | null;
|
|
87
|
+
shapeFactor: number | null;
|
|
88
|
+
}[] | undefined;
|
|
89
|
+
applySegmentsLimits: NonNullable<boolean | undefined>;
|
|
90
|
+
} & {
|
|
91
|
+
AdditionalProperties: {
|
|
92
|
+
previousValue?: string | null | undefined;
|
|
93
|
+
value?: string | null | undefined;
|
|
94
|
+
added: NonNullable<boolean | undefined>;
|
|
95
|
+
deletionMark: NonNullable<boolean | undefined>;
|
|
96
|
+
name: string;
|
|
97
|
+
}[] | undefined;
|
|
98
|
+
}>, import('yup').AnyObject, {
|
|
99
|
+
equipmentID: undefined;
|
|
100
|
+
equipmentName: undefined;
|
|
101
|
+
connectivity: {
|
|
102
|
+
connectivity1: {
|
|
103
|
+
voltageLevel: {
|
|
104
|
+
id: undefined;
|
|
105
|
+
};
|
|
106
|
+
busOrBusbarSection: {
|
|
107
|
+
id: undefined;
|
|
108
|
+
};
|
|
109
|
+
connectionDirection: undefined;
|
|
110
|
+
connectionName: undefined;
|
|
111
|
+
connectionPosition: undefined;
|
|
112
|
+
terminalConnected: undefined;
|
|
113
|
+
};
|
|
114
|
+
connectivity2: {
|
|
115
|
+
voltageLevel: {
|
|
116
|
+
id: undefined;
|
|
117
|
+
};
|
|
118
|
+
busOrBusbarSection: {
|
|
119
|
+
id: undefined;
|
|
120
|
+
};
|
|
121
|
+
connectionDirection: undefined;
|
|
122
|
+
connectionName: undefined;
|
|
123
|
+
connectionPosition: undefined;
|
|
124
|
+
terminalConnected: undefined;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
characteristics: {
|
|
128
|
+
r: undefined;
|
|
129
|
+
x: undefined;
|
|
130
|
+
b1: undefined;
|
|
131
|
+
g1: undefined;
|
|
132
|
+
b2: undefined;
|
|
133
|
+
g2: undefined;
|
|
134
|
+
};
|
|
135
|
+
limits: {
|
|
136
|
+
operationalLimitsGroups: undefined;
|
|
137
|
+
selectedOperationalLimitsGroupId1: undefined;
|
|
138
|
+
selectedOperationalLimitsGroupId2: undefined;
|
|
139
|
+
enableOLGModification: undefined;
|
|
140
|
+
};
|
|
141
|
+
stateEstimation: {
|
|
142
|
+
[x: string]: {
|
|
143
|
+
value: undefined;
|
|
144
|
+
validity: undefined;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
lineSegments: "";
|
|
148
|
+
applySegmentsLimits: undefined;
|
|
149
|
+
AdditionalProperties: "";
|
|
150
|
+
}, "">;
|
|
151
|
+
export type LineModificationFormData = InferType<typeof lineModificationFormSchema>;
|
|
152
|
+
export declare const lineModificationEmptyFormData: DeepNullable<LineModificationFormData>;
|
|
153
|
+
export declare const lineModificationDtoToForm: (lineDto: LineModificationDto, includePreviousValues?: boolean) => LineModificationFormData;
|
|
154
|
+
export declare const lineModificationFormToDto: (line: LineModificationFormData, intl: IntlShape) => LineModificationDto;
|