@gridsuite/commons-ui 0.280.0 → 0.281.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/elementSaveDialog/ElementSaveDialog.d.ts +6 -1
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +29 -5
- package/dist/components/ui/reactHookForm/booleans/RadioInput.d.ts +1 -0
- package/dist/components/ui/reactHookForm/booleans/RadioInput.js +2 -1
- package/dist/features/index.js +80 -3
- package/dist/features/network-modifications/index.d.ts +1 -0
- package/dist/features/network-modifications/index.js +78 -3
- package/dist/features/network-modifications/tabular/TabularForm.d.ts +22 -0
- package/dist/features/network-modifications/tabular/TabularForm.js +536 -0
- package/dist/features/network-modifications/tabular/index.d.ts +7 -0
- package/dist/features/network-modifications/tabular/index.js +65 -0
- package/dist/features/network-modifications/tabular/properties/DefineTabularPropertiesDialog.d.ts +12 -0
- package/dist/features/network-modifications/tabular/properties/DefineTabularPropertiesDialog.js +123 -0
- package/dist/features/network-modifications/tabular/properties/TabularPropertiesForm.d.ts +1 -0
- package/dist/features/network-modifications/tabular/properties/TabularPropertiesForm.js +87 -0
- package/dist/features/network-modifications/tabular/properties/TabularPropertyForm.d.ts +5 -0
- package/dist/features/network-modifications/tabular/properties/TabularPropertyForm.js +91 -0
- package/dist/features/network-modifications/tabular/properties/index.d.ts +4 -0
- package/dist/features/network-modifications/tabular/properties/index.js +13 -0
- package/dist/features/network-modifications/tabular/properties/tabularProperty.utils.d.ts +26 -0
- package/dist/features/network-modifications/tabular/properties/tabularProperty.utils.js +50 -0
- package/dist/features/network-modifications/tabular/tabular.constants.d.ts +59 -0
- package/dist/features/network-modifications/tabular/tabular.constants.js +75 -0
- package/dist/features/network-modifications/tabular/tabular.types.d.ts +41 -0
- package/dist/features/network-modifications/tabular/tabular.types.js +8 -0
- package/dist/features/network-modifications/tabular/tabular.utils.d.ts +68 -0
- package/dist/features/network-modifications/tabular/tabular.utils.js +301 -0
- package/dist/features/network-modifications/tabular/tabularCreation.utils.d.ts +25 -0
- package/dist/features/network-modifications/tabular/tabularCreation.utils.js +276 -0
- package/dist/features/network-modifications/tabular/tabularModification.utils.d.ts +43 -0
- package/dist/features/network-modifications/tabular/tabularModification.utils.js +406 -0
- package/dist/features/network-modifications/voltageLevel/index.d.ts +2 -1
- package/dist/features/network-modifications/voltageLevel/index.js +15 -3
- package/dist/features/network-modifications/voltageLevel/topology/{CreateVoltageLevelTopologyForm.d.ts → creation/CreateVoltageLevelTopologyForm.d.ts} +1 -1
- package/dist/features/network-modifications/voltageLevel/topology/{CreateVoltageLevelTopologyForm.js → creation/CreateVoltageLevelTopologyForm.js} +38 -38
- package/dist/features/network-modifications/voltageLevel/topology/{voltageLevelTopologyCreation.types.d.ts → creation/voltageLevelTopologyCreation.types.d.ts} +1 -1
- package/dist/features/network-modifications/voltageLevel/topology/{voltageLevelTopologyCreation.utils.d.ts → creation/voltageLevelTopologyCreation.utils.d.ts} +1 -1
- package/dist/features/network-modifications/voltageLevel/topology/{voltageLevelTopologyCreation.utils.js → creation/voltageLevelTopologyCreation.utils.js} +5 -5
- package/dist/features/network-modifications/voltageLevel/topology/modification/ConnectionCellRender.d.ts +6 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/ConnectionCellRender.js +80 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.d.ts +10 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.js +284 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/constants.d.ts +10 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/constants.js +10 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/index.d.ts +10 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/index.js +14 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.types.d.ts +28 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.types.js +1 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.utils.d.ts +29 -0
- package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.utils.js +124 -0
- package/dist/features/parameters/common/index.d.ts +1 -0
- package/dist/features/parameters/common/index.js +2 -0
- package/dist/features/parameters/common/parameter-field.d.ts +2 -2
- package/dist/features/parameters/common/parameter-field.js +1 -1
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +1 -1
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +6 -6
- package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +1 -1
- package/dist/features/parameters/dynamic-margin-calculation/time-delay-parameters.js +1 -1
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +1 -1
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +6 -6
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +1 -1
- package/dist/features/parameters/dynamic-security-analysis/scenario-parameters.js +1 -1
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +6 -6
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +1 -1
- package/dist/features/parameters/dynamic-simulation/network/network-parameters.js +1 -1
- package/dist/features/parameters/dynamic-simulation/solver/common-solver/common-solver-parameters.js +1 -1
- package/dist/features/parameters/dynamic-simulation/solver/ida-solver/ida-solver-parameters.js +1 -1
- package/dist/features/parameters/dynamic-simulation/solver/sim-solver/simplified-solver-parameters.js +1 -1
- package/dist/features/parameters/dynamic-simulation/solver/solver-parameters.js +1 -1
- package/dist/features/parameters/dynamic-simulation/time-delay/time-delay-parameters.js +1 -1
- package/dist/features/parameters/index.js +2 -0
- package/dist/features/parameters/loadflow/load-flow-advanced-parameters.js +1 -1
- package/dist/features/parameters/loadflow/load-flow-general-parameters.js +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +5 -5
- package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.js +1 -1
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +5 -5
- package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +5 -5
- package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +6 -6
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +6 -6
- package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +5 -5
- package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +5 -5
- package/dist/features/side-bar/AppSideBarHeader.js +20 -5
- package/dist/features/side-bar/EnvironmentChip.d.ts +13 -0
- package/dist/features/side-bar/EnvironmentChip.js +49 -0
- package/dist/index.js +84 -5
- package/dist/services/appsMetadata.d.ts +2 -0
- package/dist/services/directory.d.ts +1 -1
- package/dist/services/directory.js +6 -2
- package/dist/services/index.js +2 -1
- package/dist/services/userAdmin.d.ts +2 -1
- package/dist/services/userAdmin.js +9 -1
- package/dist/translations/en/businessErrorsEn.d.ts +1 -0
- package/dist/translations/en/businessErrorsEn.js +1 -0
- package/dist/translations/en/networkModificationsEn.d.ts +85 -0
- package/dist/translations/en/networkModificationsEn.js +91 -1
- package/dist/translations/fr/businessErrorsFr.d.ts +1 -0
- package/dist/translations/fr/businessErrorsFr.js +1 -0
- package/dist/translations/fr/networkModificationsFr.d.ts +85 -0
- package/dist/translations/fr/networkModificationsFr.js +91 -1
- package/dist/utils/constants/index.js +2 -1
- package/dist/utils/constants/notificationsProvider.d.ts +1 -0
- package/dist/utils/constants/notificationsProvider.js +1 -0
- package/dist/utils/constants/translationKeys.d.ts +1 -0
- package/dist/utils/constants/translationKeys.js +2 -0
- package/dist/utils/index.js +2 -1
- package/dist/utils/types/types.d.ts +4 -0
- package/package.json +1 -1
- /package/dist/features/network-modifications/voltageLevel/topology/{index.d.ts → creation/index.d.ts} +0 -0
- /package/dist/features/network-modifications/voltageLevel/topology/{index.js → creation/index.js} +0 -0
- /package/dist/features/network-modifications/voltageLevel/topology/{voltageLevelTopologyCreation.types.js → creation/voltageLevelTopologyCreation.types.js} +0 -0
|
@@ -2,6 +2,7 @@ import { UUID } from 'node:crypto';
|
|
|
2
2
|
import { ElementAttributes, ElementType, FieldConstants } from '../../../../utils';
|
|
3
3
|
declare enum OperationType {
|
|
4
4
|
CREATE = "CREATE",
|
|
5
|
+
CREATE_SHARED = "CREATE_SHARED",
|
|
5
6
|
UPDATE = "UPDATE"
|
|
6
7
|
}
|
|
7
8
|
export interface IElementCommonFields {
|
|
@@ -24,6 +25,10 @@ export type ElementSaveDialogProps = {
|
|
|
24
25
|
titleId: string;
|
|
25
26
|
onSave: (data: IElementCreationDialog) => void;
|
|
26
27
|
OnUpdate?: (data: IElementUpdateDialog) => void;
|
|
28
|
+
/** when provided, an extra operation is offered to save the element as a shared one */
|
|
29
|
+
onSaveShared?: (data: IElementCreationDialog) => void;
|
|
30
|
+
createSharedLabelId?: string;
|
|
31
|
+
createSharedDisabled?: boolean;
|
|
27
32
|
prefixIdForGeneratedName?: string;
|
|
28
33
|
defaultName?: string | null;
|
|
29
34
|
initialOperation?: OperationType;
|
|
@@ -53,5 +58,5 @@ export type ElementSaveDialogProps = {
|
|
|
53
58
|
/** or directly a given directory */
|
|
54
59
|
initDirectory?: ElementAttributes;
|
|
55
60
|
});
|
|
56
|
-
export declare function ElementSaveDialog({ open, onSave, OnUpdate, onClose, type, titleId, prefixIdForGeneratedName, defaultName, studyUuid, initDirectory, initialOperation, selectorTitleId, createLabelId, updateLabelId, createOnlyMode, }: Readonly<ElementSaveDialogProps>): import("react").JSX.Element;
|
|
61
|
+
export declare function ElementSaveDialog({ open, onSave, OnUpdate, onSaveShared, createSharedLabelId, createSharedDisabled, onClose, type, titleId, prefixIdForGeneratedName, defaultName, studyUuid, initDirectory, initialOperation, selectorTitleId, createLabelId, updateLabelId, createOnlyMode, }: Readonly<ElementSaveDialogProps>): import("react").JSX.Element;
|
|
57
62
|
export {};
|
|
@@ -35,6 +35,7 @@ import { CustomMuiDialog } from "../customMuiDialog/CustomMuiDialog.js";
|
|
|
35
35
|
import { initializeDirectory } from "./utils.js";
|
|
36
36
|
var OperationType = /* @__PURE__ */ ((OperationType2) => {
|
|
37
37
|
OperationType2["CREATE"] = "CREATE";
|
|
38
|
+
OperationType2["CREATE_SHARED"] = "CREATE_SHARED";
|
|
38
39
|
OperationType2["UPDATE"] = "UPDATE";
|
|
39
40
|
return OperationType2;
|
|
40
41
|
})(OperationType || {});
|
|
@@ -53,6 +54,9 @@ function ElementSaveDialog({
|
|
|
53
54
|
open,
|
|
54
55
|
onSave,
|
|
55
56
|
OnUpdate,
|
|
57
|
+
onSaveShared,
|
|
58
|
+
createSharedLabelId,
|
|
59
|
+
createSharedDisabled = false,
|
|
56
60
|
onClose,
|
|
57
61
|
type,
|
|
58
62
|
titleId,
|
|
@@ -86,7 +90,7 @@ function ElementSaveDialog({
|
|
|
86
90
|
formState: { errors }
|
|
87
91
|
} = formMethods;
|
|
88
92
|
const operationType = createOnlyMode ? "CREATE" : watch(FieldConstants.OPERATION_TYPE);
|
|
89
|
-
const isCreateMode = operationType
|
|
93
|
+
const isCreateMode = operationType !== "UPDATE";
|
|
90
94
|
const disableSave = Object.keys(errors).length > 0 || isCreateMode && !destinationFolder || !isCreateMode && !selectedItem;
|
|
91
95
|
const setDestinationFolderWithPath = useCallback(
|
|
92
96
|
(elementUuid, elementName, path) => {
|
|
@@ -132,6 +136,15 @@ function ElementSaveDialog({
|
|
|
132
136
|
}
|
|
133
137
|
initializeDestinationFolder();
|
|
134
138
|
}, [open, isCreateMode, initializeDestinationFolder]);
|
|
139
|
+
useEffect(() => {
|
|
140
|
+
if (createSharedDisabled && operationType === "CREATE_SHARED") {
|
|
141
|
+
setValue(
|
|
142
|
+
FieldConstants.OPERATION_TYPE,
|
|
143
|
+
"CREATE"
|
|
144
|
+
/* CREATE */
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
}, [createSharedDisabled, operationType, setValue]);
|
|
135
148
|
const handleChangeFolder = useCallback(() => {
|
|
136
149
|
setDirectorySelectorOpen(true);
|
|
137
150
|
}, []);
|
|
@@ -164,14 +177,18 @@ function ElementSaveDialog({
|
|
|
164
177
|
);
|
|
165
178
|
const onSubmit = useCallback(
|
|
166
179
|
(values) => {
|
|
167
|
-
if (isCreateMode && destinationFolder
|
|
180
|
+
if (isCreateMode && destinationFolder) {
|
|
168
181
|
const creationData = {
|
|
169
182
|
[FieldConstants.NAME]: values.name,
|
|
170
183
|
[FieldConstants.DESCRIPTION]: values.description ?? "",
|
|
171
184
|
[FieldConstants.FOLDER_NAME]: destinationFolder.name ?? "",
|
|
172
185
|
[FieldConstants.FOLDER_ID]: destinationFolder.id
|
|
173
186
|
};
|
|
174
|
-
|
|
187
|
+
if (values.type === "CREATE_SHARED" && onSaveShared) {
|
|
188
|
+
onSaveShared(creationData);
|
|
189
|
+
} else if (onSave) {
|
|
190
|
+
onSave(creationData);
|
|
191
|
+
}
|
|
175
192
|
} else if (!isCreateMode && selectedItem && OnUpdate) {
|
|
176
193
|
const updateData = {
|
|
177
194
|
[FieldConstants.ID]: selectedItem.id,
|
|
@@ -183,7 +200,7 @@ function ElementSaveDialog({
|
|
|
183
200
|
OnUpdate(updateData);
|
|
184
201
|
}
|
|
185
202
|
},
|
|
186
|
-
[isCreateMode, onSave, OnUpdate, destinationFolder, selectedItem]
|
|
203
|
+
[isCreateMode, onSave, onSaveShared, OnUpdate, destinationFolder, selectedItem]
|
|
187
204
|
);
|
|
188
205
|
const renderChooser = () => {
|
|
189
206
|
if (isCreateMode) {
|
|
@@ -214,12 +231,19 @@ function ElementSaveDialog({
|
|
|
214
231
|
name: FieldConstants.OPERATION_TYPE,
|
|
215
232
|
options: [
|
|
216
233
|
{ id: "CREATE", label: createLabelId ?? "createLabelId" },
|
|
234
|
+
...onSaveShared ? [
|
|
235
|
+
{
|
|
236
|
+
id: "CREATE_SHARED",
|
|
237
|
+
label: createSharedLabelId ?? "createSharedLabelId",
|
|
238
|
+
disabled: createSharedDisabled
|
|
239
|
+
}
|
|
240
|
+
] : [],
|
|
217
241
|
{ id: "UPDATE", label: updateLabelId ?? "updateLabelId" }
|
|
218
242
|
],
|
|
219
243
|
formProps: {
|
|
220
244
|
sx: {
|
|
221
245
|
"& .MuiFormControlLabel-root": {
|
|
222
|
-
marginRight: 15
|
|
246
|
+
marginRight: onSaveShared ? 4 : 15
|
|
223
247
|
}
|
|
224
248
|
}
|
|
225
249
|
}
|
|
@@ -14,7 +14,8 @@ function RadioInput({ name, label, id, options, formProps }) {
|
|
|
14
14
|
{
|
|
15
15
|
control: /* @__PURE__ */ jsx(Radio, {}),
|
|
16
16
|
value: option.id,
|
|
17
|
-
label: /* @__PURE__ */ jsx(FieldLabel, { label: option.label })
|
|
17
|
+
label: /* @__PURE__ */ jsx(FieldLabel, { label: option.label }),
|
|
18
|
+
disabled: option.disabled
|
|
18
19
|
},
|
|
19
20
|
option.id
|
|
20
21
|
)) })
|
package/dist/features/index.js
CHANGED
|
@@ -26,6 +26,7 @@ import { ParameterLayoutProvider, useParameterLayoutContext } from "./parameters
|
|
|
26
26
|
import { formatComputingTypeLabel, isValidComputingType } from "./parameters/common/computing-type.js";
|
|
27
27
|
import { ADVANCED_PARAMETERS, COMMON_PARAMETERS, CONTINGENCIES, CONTINGENCY_LISTS, CONTINGENCY_LISTS_INFOS, PROVIDER, SPECIFIC_PARAMETERS, VERSION_PARAMETER, VOLTAGE_LEVEL } from "./parameters/common/constants.js";
|
|
28
28
|
import { LineSeparator } from "./parameters/common/line-separator.js";
|
|
29
|
+
import { ParameterField } from "./parameters/common/parameter-field.js";
|
|
29
30
|
import { LabelledButton, SwitchWithLabel, TabPanel } from "./parameters/common/parameters.js";
|
|
30
31
|
import { CreateParameterDialog } from "./parameters/common/parameters-creation-dialog.js";
|
|
31
32
|
import { ProviderParam } from "./parameters/common/provider-param.js";
|
|
@@ -167,8 +168,11 @@ import { SWITCH_TYPE, buildNewBusbarSections, getCreateSwitchesEmptyFormData, ge
|
|
|
167
168
|
import { SwitchKind } from "./network-modifications/voltageLevel/creation/voltageLevelCreation.types.js";
|
|
168
169
|
import { VoltageLevelModificationForm } from "./network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js";
|
|
169
170
|
import { voltageLevelModificationDtoToForm, voltageLevelModificationEmptyFormData, voltageLevelModificationFormSchema, voltageLevelModificationFormToDto, voltageLevelModificationWithMeasurementsDtoToForm, voltageLevelModificationWithMeasurementsFormSchema, voltageLevelModificationWithMeasurementsFormToDto } from "./network-modifications/voltageLevel/modification/voltageLevelModification.utils.js";
|
|
170
|
-
import { createVoltageLevelTopologyDtoToForm, createVoltageLevelTopologyEmptyFormData, createVoltageLevelTopologyFormSchema, createVoltageLevelTopologyFormToDto } from "./network-modifications/voltageLevel/topology/voltageLevelTopologyCreation.utils.js";
|
|
171
|
-
import { CreateVoltageLevelTopologyForm } from "./network-modifications/voltageLevel/topology/CreateVoltageLevelTopologyForm.js";
|
|
171
|
+
import { createVoltageLevelTopologyDtoToForm, createVoltageLevelTopologyEmptyFormData, createVoltageLevelTopologyFormSchema, createVoltageLevelTopologyFormToDto } from "./network-modifications/voltageLevel/topology/creation/voltageLevelTopologyCreation.utils.js";
|
|
172
|
+
import { CreateVoltageLevelTopologyForm } from "./network-modifications/voltageLevel/topology/creation/CreateVoltageLevelTopologyForm.js";
|
|
173
|
+
import { voltageLevelTopologyModificationDtoToForm, voltageLevelTopologyModificationEmptyFormData, voltageLevelTopologyModificationFormSchema, voltageLevelTopologyModificationFormToDto } from "./network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.utils.js";
|
|
174
|
+
import { VoltageLevelTopologyModificationForm } from "./network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.js";
|
|
175
|
+
import { CURRENT_CONNECTION_STATUS, PREV_CONNECTION_STATUS, SWITCH_ID, TOPOLOGY_MODIFICATION_TABLE } from "./network-modifications/voltageLevel/topology/modification/constants.js";
|
|
172
176
|
import { VoltageLevelSectionCreationForm } from "./network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.js";
|
|
173
177
|
import { POSITION_NEW_SECTION_SIDE, voltageLevelSectionCreationDtoToForm, voltageLevelSectionCreationEmptyFormData, voltageLevelSectionCreationFormSchema, voltageLevelSectionCreationFormToDto } from "./network-modifications/voltageLevel/section/voltageLevelSectionCreation.utils.js";
|
|
174
178
|
import { FeederBayPositionCellRenderer } from "./network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js";
|
|
@@ -260,6 +264,16 @@ import { getReactiveFormData, getReactiveFormEmptyFormData, getReactiveFormValid
|
|
|
260
264
|
import { computeQ0, getStandbyAutomatonEmptyFormData, getStandbyAutomatonFormData, getStandbyAutomatonFormValidationSchema } from "./network-modifications/static-var-compensator/common/standby-automaton-form-utils.js";
|
|
261
265
|
import { StaticVarCompensatorCreationForm } from "./network-modifications/static-var-compensator/creation/static-var-compensator-creation-form.js";
|
|
262
266
|
import { staticVarCompensatorCreationEmptyFormData, staticVarCompensatorCreationFormSchema, staticVarCompensatorCreationFormToDto, staticVarCompensatorDtoToForm } from "./network-modifications/static-var-compensator/creation/static-var-compensator-creation-utils.js";
|
|
267
|
+
import { DefineTabularPropertiesDialog } from "./network-modifications/tabular/properties/DefineTabularPropertiesDialog.js";
|
|
268
|
+
import { TabularPropertiesForm } from "./network-modifications/tabular/properties/TabularPropertiesForm.js";
|
|
269
|
+
import { TabularPropertyForm } from "./network-modifications/tabular/properties/TabularPropertyForm.js";
|
|
270
|
+
import { buildPredefinedTabularProperties, emptyTabularProperties, initializedTabularProperty, tabularPropertiesSchema } from "./network-modifications/tabular/properties/tabularProperty.utils.js";
|
|
271
|
+
import { LOAD_TYPES_FOR_LOAD_TABULAR_CREATION_MODIFICATION, PROPERTY_CSV_COLUMN_PREFIX, REGULATING_TERMINAL_TYPES, TABULAR_BOOLEAN, TABULAR_ENUM, TABULAR_NUMBER, TabularFieldConstants } from "./network-modifications/tabular/tabular.constants.js";
|
|
272
|
+
import { TabularModificationType } from "./network-modifications/tabular/tabular.types.js";
|
|
273
|
+
import { addPropertiesFromBack, convertReactiveCapabilityCurvePointsFromBackToFront, convertReactiveCapabilityCurvePointsFromFrontToBack, formatModification, generateCommentLines, getEmptyTabularFormData, getSelectedTabularPropertyNames, isFieldTypeOk, sanitizeRowValue, setFieldTypeError, tabularFormSchema, transformProperties } from "./network-modifications/tabular/tabular.utils.js";
|
|
274
|
+
import { TABULAR_CREATION_FIELDS, TABULAR_CREATION_TYPES, convertCreationFieldFromBackToFront, convertCreationFieldFromFrontToBack, convertCreations, getEquipmentTypeFromCreationType, tabularCreationDtoToForm, tabularCreationFormToDto, transformCreationsTable, transformRowToBackEndCreation } from "./network-modifications/tabular/tabularCreation.utils.js";
|
|
275
|
+
import { MODIFICATION_TRANSFORMATION_STRATEGIES, TABULAR_MODIFICATION_FIELDS, TABULAR_MODIFICATION_TYPES, TWT_TAP_CHANGER_FIELDS, convertGeneratorOrBatteryModificationFromBackToFront, convertGeneratorOrBatteryModificationFromFrontToBack, convertInputValues, convertOutputValues, convertTWTTapChangerModificationFromFrontToBack, getEquipmentTypeFromModificationType, getTabularFieldType, tabularModificationDtoToForm, tabularModificationFormToDto, transformModificationsTable, transformRowToBackEndModification } from "./network-modifications/tabular/tabularModification.utils.js";
|
|
276
|
+
import { TabularForm } from "./network-modifications/tabular/TabularForm.js";
|
|
263
277
|
import { BuildStatusChip } from "./node/build-status-chip.js";
|
|
264
278
|
import { BuildStatus } from "./node/constant.js";
|
|
265
279
|
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";
|
|
@@ -363,6 +377,7 @@ export {
|
|
|
363
377
|
CONTINGENCY_LISTS,
|
|
364
378
|
CONTINGENCY_LISTS_INFOS,
|
|
365
379
|
COUNTRIES_TO_BALANCE,
|
|
380
|
+
CURRENT_CONNECTION_STATUS,
|
|
366
381
|
CUSTOM_REAL_TIME_STATE_ESTIMATION,
|
|
367
382
|
CardErrorBoundary,
|
|
368
383
|
CharacteristicsForm,
|
|
@@ -392,6 +407,7 @@ export {
|
|
|
392
407
|
DROP_FORBIDDEN_INDICATOR_TOP,
|
|
393
408
|
DROP_INDICATOR_BOTTOM,
|
|
394
409
|
DROP_INDICATOR_TOP,
|
|
410
|
+
DefineTabularPropertiesDialog,
|
|
395
411
|
DepthBox,
|
|
396
412
|
DescriptionCell,
|
|
397
413
|
DescriptionCellRenderer,
|
|
@@ -456,6 +472,7 @@ export {
|
|
|
456
472
|
LOAD_INCREASE_STOP_TIME,
|
|
457
473
|
LOAD_MODELS_RULE,
|
|
458
474
|
LOAD_TAB_FIELDS,
|
|
475
|
+
LOAD_TYPES_FOR_LOAD_TABULAR_CREATION_MODIFICATION,
|
|
459
476
|
LOW_VOLTAGE_ABSOLUTE_THRESHOLD,
|
|
460
477
|
LOW_VOLTAGE_LIMIT,
|
|
461
478
|
LOW_VOLTAGE_PROPORTIONAL_THRESHOLD,
|
|
@@ -504,6 +521,7 @@ export {
|
|
|
504
521
|
MAX_VALUE_ALLOWED_FOR_LIMIT_REDUCTION,
|
|
505
522
|
MIN_VALUE_ALLOWED_FOR_LIMIT_REDUCTION,
|
|
506
523
|
MODIFICATION_ROW_HEIGHT,
|
|
524
|
+
MODIFICATION_TRANSFORMATION_STRATEGIES,
|
|
507
525
|
MONITORED_BRANCHES_EQUIPMENT_TYPES,
|
|
508
526
|
MONITORED_VOLTAGE_LEVELS_EQUIPMENT_TYPES,
|
|
509
527
|
ModificationByAssignmentForm,
|
|
@@ -546,9 +564,12 @@ export {
|
|
|
546
564
|
PARAM_SUBSTATION_LAYOUT,
|
|
547
565
|
PHASE_SHIFTER_REGULATION_ON,
|
|
548
566
|
POSITION_NEW_SECTION_SIDE,
|
|
567
|
+
PREV_CONNECTION_STATUS,
|
|
549
568
|
PRIORITY,
|
|
569
|
+
PROPERTY_CSV_COLUMN_PREFIX,
|
|
550
570
|
PROVIDER,
|
|
551
571
|
PSTS_EQUIPMENT_TYPES,
|
|
572
|
+
ParameterField,
|
|
552
573
|
ParameterFloat,
|
|
553
574
|
ParameterGroup,
|
|
554
575
|
ParameterLayout,
|
|
@@ -577,6 +598,7 @@ export {
|
|
|
577
598
|
RECENT_FILTER,
|
|
578
599
|
REFERENCE_FIELD_OR_VALUE_1,
|
|
579
600
|
REFERENCE_FIELD_OR_VALUE_2,
|
|
601
|
+
REGULATING_TERMINAL_TYPES,
|
|
580
602
|
REGULATION_TYPES,
|
|
581
603
|
REMOVE,
|
|
582
604
|
RESULTS_LOADING_DELAY,
|
|
@@ -623,6 +645,7 @@ export {
|
|
|
623
645
|
STATIC_VAR_COMPENSATOR_TAB_FIELDS,
|
|
624
646
|
STOP_TIME,
|
|
625
647
|
SUBSTATION_LAYOUT,
|
|
648
|
+
SWITCH_ID,
|
|
626
649
|
SWITCH_TYPE,
|
|
627
650
|
SecurityAnalysisParametersDialog,
|
|
628
651
|
SecurityAnalysisParametersInline,
|
|
@@ -665,12 +688,26 @@ export {
|
|
|
665
688
|
SwitchKind,
|
|
666
689
|
SwitchWithLabel,
|
|
667
690
|
SwitchesBetweenSections,
|
|
691
|
+
TABULAR_BOOLEAN,
|
|
692
|
+
TABULAR_CREATION_FIELDS,
|
|
693
|
+
TABULAR_CREATION_TYPES,
|
|
694
|
+
TABULAR_ENUM,
|
|
695
|
+
TABULAR_MODIFICATION_FIELDS,
|
|
696
|
+
TABULAR_MODIFICATION_TYPES,
|
|
697
|
+
TABULAR_NUMBER,
|
|
668
698
|
TEMPORARY_LIMIT_MODIFICATION_TYPE,
|
|
699
|
+
TOPOLOGY_MODIFICATION_TABLE,
|
|
669
700
|
TRANSFORMERS_SELECTION_TYPE,
|
|
670
701
|
TWT_SPLIT_SHUNT_ADMITTANCE,
|
|
671
702
|
TWT_TAB_FIELDS,
|
|
703
|
+
TWT_TAP_CHANGER_FIELDS,
|
|
672
704
|
TabPanel,
|
|
673
705
|
TabValues,
|
|
706
|
+
TabularFieldConstants,
|
|
707
|
+
TabularForm,
|
|
708
|
+
TabularModificationType,
|
|
709
|
+
TabularPropertiesForm,
|
|
710
|
+
TabularPropertyForm,
|
|
674
711
|
TapChangerSteps,
|
|
675
712
|
TemporaryLimitsTable,
|
|
676
713
|
ToBeEstimatedForm,
|
|
@@ -705,12 +742,14 @@ export {
|
|
|
705
742
|
VoltageLevelCreationForm,
|
|
706
743
|
VoltageLevelModificationForm,
|
|
707
744
|
VoltageLevelSectionCreationForm,
|
|
745
|
+
VoltageLevelTopologyModificationForm,
|
|
708
746
|
VoltageRegulationForm,
|
|
709
747
|
WRITE_SLACK_BUS,
|
|
710
748
|
addGlobalFilterId,
|
|
711
749
|
addModificationTypeToOpLimitsGroups,
|
|
712
750
|
addModificationTypeToTemporaryLimits,
|
|
713
751
|
addOperationTypeToSelectedOpLG,
|
|
752
|
+
addPropertiesFromBack,
|
|
714
753
|
addSelectedGlobalFiltersToTableState,
|
|
715
754
|
alertThresholdMarks,
|
|
716
755
|
batteryCreationDtoToForm,
|
|
@@ -722,6 +761,7 @@ export {
|
|
|
722
761
|
batteryModificationFormSchema,
|
|
723
762
|
batteryModificationFormToDto,
|
|
724
763
|
buildNewBusbarSections,
|
|
764
|
+
buildPredefinedTabularProperties,
|
|
725
765
|
buildValidGlobalFilters,
|
|
726
766
|
byFilterDeletionDtoToForm,
|
|
727
767
|
byFilterDeletionFormSchema,
|
|
@@ -735,8 +775,18 @@ export {
|
|
|
735
775
|
computeSwitchedOnValue,
|
|
736
776
|
computeTagMinSize,
|
|
737
777
|
containsReferenceModification,
|
|
778
|
+
convertCreationFieldFromBackToFront,
|
|
779
|
+
convertCreationFieldFromFrontToBack,
|
|
780
|
+
convertCreations,
|
|
738
781
|
convertFilterValues,
|
|
782
|
+
convertGeneratorOrBatteryModificationFromBackToFront,
|
|
783
|
+
convertGeneratorOrBatteryModificationFromFrontToBack,
|
|
784
|
+
convertInputValues,
|
|
739
785
|
convertLimitsToOperationalLimitsGroupFormSchema,
|
|
786
|
+
convertOutputValues,
|
|
787
|
+
convertReactiveCapabilityCurvePointsFromBackToFront,
|
|
788
|
+
convertReactiveCapabilityCurvePointsFromFrontToBack,
|
|
789
|
+
convertTWTTapChangerModificationFromFrontToBack,
|
|
740
790
|
convertToLineSegmentInfos,
|
|
741
791
|
convertToLineSegmentsFormData,
|
|
742
792
|
convertToOperationalLimitsGroupFormSchema,
|
|
@@ -771,6 +821,7 @@ export {
|
|
|
771
821
|
emptyMoveVoltageLevelFeederBaysFormData,
|
|
772
822
|
emptyProcessConfigModificationsFormData,
|
|
773
823
|
emptyProperties,
|
|
824
|
+
emptyTabularProperties,
|
|
774
825
|
equipmentDeletionDtoToForm,
|
|
775
826
|
equipmentDeletionEmptyFormData,
|
|
776
827
|
equipmentDeletionFormSchema,
|
|
@@ -785,9 +836,11 @@ export {
|
|
|
785
836
|
flattenNmKResultsContingencies,
|
|
786
837
|
formatComputingTypeLabel,
|
|
787
838
|
formatMapInfosToTemporaryLimitsFormSchema,
|
|
839
|
+
formatModification,
|
|
788
840
|
formatOpLimitGroupsToFormInfos,
|
|
789
841
|
formatTemporaryLimitsModificationToFormSchema,
|
|
790
842
|
formatToComposedModification,
|
|
843
|
+
generateCommentLines,
|
|
791
844
|
generateEmptyOperationalLimitsGroup,
|
|
792
845
|
generateUniqueId,
|
|
793
846
|
generatorCreationDtoToForm,
|
|
@@ -849,6 +902,9 @@ export {
|
|
|
849
902
|
getCreateRuleValidationSchema,
|
|
850
903
|
getCreateSwitchesEmptyFormData,
|
|
851
904
|
getCreateSwitchesValidationSchema,
|
|
905
|
+
getEmptyTabularFormData,
|
|
906
|
+
getEquipmentTypeFromCreationType,
|
|
907
|
+
getEquipmentTypeFromModificationType,
|
|
852
908
|
getFilledPropertiesFromModification,
|
|
853
909
|
getFormulaInitialValue,
|
|
854
910
|
getFormulaSchema,
|
|
@@ -908,6 +964,7 @@ export {
|
|
|
908
964
|
getRegulationTypeForEdit,
|
|
909
965
|
getRegulationTypeLabel,
|
|
910
966
|
getRowEmptyFormData,
|
|
967
|
+
getSelectedTabularPropertyNames,
|
|
911
968
|
getSetPointsEmptyFormData,
|
|
912
969
|
getSetPointsSchema,
|
|
913
970
|
getShortCircuitEmptyFormData,
|
|
@@ -918,6 +975,7 @@ export {
|
|
|
918
975
|
getStandbyAutomatonFormValidationSchema,
|
|
919
976
|
getTabIndicatorStyle,
|
|
920
977
|
getTabStyle,
|
|
978
|
+
getTabularFieldType,
|
|
921
979
|
getTapChangerEquipmentSectionTypeValue,
|
|
922
980
|
getTapSideForEdit,
|
|
923
981
|
getTapSideLabel,
|
|
@@ -933,12 +991,14 @@ export {
|
|
|
933
991
|
initializeAuthenticationDev,
|
|
934
992
|
initializeAuthenticationProd,
|
|
935
993
|
initializedProperty,
|
|
994
|
+
initializedTabularProperty,
|
|
936
995
|
intlInitialVoltageProfileMode,
|
|
937
996
|
intlPredefinedParametersOptions,
|
|
938
997
|
isCompositeModification,
|
|
939
998
|
isCriteriaFilter,
|
|
940
999
|
isCriteriaFilterType,
|
|
941
1000
|
isEditingGlobalFilter,
|
|
1001
|
+
isFieldTypeOk,
|
|
942
1002
|
isProcessType,
|
|
943
1003
|
isReferenceModification,
|
|
944
1004
|
isValidComputingType,
|
|
@@ -992,7 +1052,9 @@ export {
|
|
|
992
1052
|
sanitizeLimitNames,
|
|
993
1053
|
sanitizeLimitsGroups,
|
|
994
1054
|
sanitizePercentageValue,
|
|
1055
|
+
sanitizeRowValue,
|
|
995
1056
|
setCurrentReactiveCapabilityCurveTable,
|
|
1057
|
+
setFieldTypeError,
|
|
996
1058
|
setSelectedReactiveLimits,
|
|
997
1059
|
shuntCompensatorCreationDtoToForm,
|
|
998
1060
|
shuntCompensatorCreationEmptyFormData,
|
|
@@ -1016,6 +1078,12 @@ export {
|
|
|
1016
1078
|
substationModificationFormSchema,
|
|
1017
1079
|
substationModificationFormToDto,
|
|
1018
1080
|
syncGlobalFilters,
|
|
1081
|
+
tabularCreationDtoToForm,
|
|
1082
|
+
tabularCreationFormToDto,
|
|
1083
|
+
tabularFormSchema,
|
|
1084
|
+
tabularModificationDtoToForm,
|
|
1085
|
+
tabularModificationFormToDto,
|
|
1086
|
+
tabularPropertiesSchema,
|
|
1019
1087
|
testValueWithinPowerInterval,
|
|
1020
1088
|
textFilterParams,
|
|
1021
1089
|
toBeEstimatedEmptyFormData,
|
|
@@ -1025,6 +1093,11 @@ export {
|
|
|
1025
1093
|
toReactiveCapabilityCurveChoiceForGeneratorCreation,
|
|
1026
1094
|
toReactiveCapabilityCurveChoiceForGeneratorModification,
|
|
1027
1095
|
toTapChangerStepList,
|
|
1096
|
+
transformCreationsTable,
|
|
1097
|
+
transformModificationsTable,
|
|
1098
|
+
transformProperties,
|
|
1099
|
+
transformRowToBackEndCreation,
|
|
1100
|
+
transformRowToBackEndModification,
|
|
1028
1101
|
translateSwitchKinds,
|
|
1029
1102
|
twoWindingsTransformerCreationDtoToForm,
|
|
1030
1103
|
twoWindingsTransformerCreationEmptyFormData,
|
|
@@ -1061,5 +1134,9 @@ export {
|
|
|
1061
1134
|
voltageLevelSectionCreationDtoToForm,
|
|
1062
1135
|
voltageLevelSectionCreationEmptyFormData,
|
|
1063
1136
|
voltageLevelSectionCreationFormSchema,
|
|
1064
|
-
voltageLevelSectionCreationFormToDto
|
|
1137
|
+
voltageLevelSectionCreationFormToDto,
|
|
1138
|
+
voltageLevelTopologyModificationDtoToForm,
|
|
1139
|
+
voltageLevelTopologyModificationEmptyFormData,
|
|
1140
|
+
voltageLevelTopologyModificationFormSchema,
|
|
1141
|
+
voltageLevelTopologyModificationFormToDto
|
|
1065
1142
|
};
|
|
@@ -92,8 +92,11 @@ import { SWITCH_TYPE, buildNewBusbarSections, getCreateSwitchesEmptyFormData, ge
|
|
|
92
92
|
import { SwitchKind } from "./voltageLevel/creation/voltageLevelCreation.types.js";
|
|
93
93
|
import { VoltageLevelModificationForm } from "./voltageLevel/modification/VoltageLevelModificationForm.js";
|
|
94
94
|
import { voltageLevelModificationDtoToForm, voltageLevelModificationEmptyFormData, voltageLevelModificationFormSchema, voltageLevelModificationFormToDto, voltageLevelModificationWithMeasurementsDtoToForm, voltageLevelModificationWithMeasurementsFormSchema, voltageLevelModificationWithMeasurementsFormToDto } from "./voltageLevel/modification/voltageLevelModification.utils.js";
|
|
95
|
-
import { createVoltageLevelTopologyDtoToForm, createVoltageLevelTopologyEmptyFormData, createVoltageLevelTopologyFormSchema, createVoltageLevelTopologyFormToDto } from "./voltageLevel/topology/voltageLevelTopologyCreation.utils.js";
|
|
96
|
-
import { CreateVoltageLevelTopologyForm } from "./voltageLevel/topology/CreateVoltageLevelTopologyForm.js";
|
|
95
|
+
import { createVoltageLevelTopologyDtoToForm, createVoltageLevelTopologyEmptyFormData, createVoltageLevelTopologyFormSchema, createVoltageLevelTopologyFormToDto } from "./voltageLevel/topology/creation/voltageLevelTopologyCreation.utils.js";
|
|
96
|
+
import { CreateVoltageLevelTopologyForm } from "./voltageLevel/topology/creation/CreateVoltageLevelTopologyForm.js";
|
|
97
|
+
import { voltageLevelTopologyModificationDtoToForm, voltageLevelTopologyModificationEmptyFormData, voltageLevelTopologyModificationFormSchema, voltageLevelTopologyModificationFormToDto } from "./voltageLevel/topology/modification/voltageLevelTopologyModification.utils.js";
|
|
98
|
+
import { VoltageLevelTopologyModificationForm } from "./voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.js";
|
|
99
|
+
import { CURRENT_CONNECTION_STATUS, PREV_CONNECTION_STATUS, SWITCH_ID, TOPOLOGY_MODIFICATION_TABLE } from "./voltageLevel/topology/modification/constants.js";
|
|
97
100
|
import { VoltageLevelSectionCreationForm } from "./voltageLevel/section/VoltageLevelSectionCreationForm.js";
|
|
98
101
|
import { POSITION_NEW_SECTION_SIDE, voltageLevelSectionCreationDtoToForm, voltageLevelSectionCreationEmptyFormData, voltageLevelSectionCreationFormSchema, voltageLevelSectionCreationFormToDto } from "./voltageLevel/section/voltageLevelSectionCreation.utils.js";
|
|
99
102
|
import { FeederBayPositionCellRenderer } from "./voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js";
|
|
@@ -185,6 +188,16 @@ import { getReactiveFormData, getReactiveFormEmptyFormData, getReactiveFormValid
|
|
|
185
188
|
import { computeQ0, getStandbyAutomatonEmptyFormData, getStandbyAutomatonFormData, getStandbyAutomatonFormValidationSchema } from "./static-var-compensator/common/standby-automaton-form-utils.js";
|
|
186
189
|
import { StaticVarCompensatorCreationForm } from "./static-var-compensator/creation/static-var-compensator-creation-form.js";
|
|
187
190
|
import { staticVarCompensatorCreationEmptyFormData, staticVarCompensatorCreationFormSchema, staticVarCompensatorCreationFormToDto, staticVarCompensatorDtoToForm } from "./static-var-compensator/creation/static-var-compensator-creation-utils.js";
|
|
191
|
+
import { DefineTabularPropertiesDialog } from "./tabular/properties/DefineTabularPropertiesDialog.js";
|
|
192
|
+
import { TabularPropertiesForm } from "./tabular/properties/TabularPropertiesForm.js";
|
|
193
|
+
import { TabularPropertyForm } from "./tabular/properties/TabularPropertyForm.js";
|
|
194
|
+
import { buildPredefinedTabularProperties, emptyTabularProperties, initializedTabularProperty, tabularPropertiesSchema } from "./tabular/properties/tabularProperty.utils.js";
|
|
195
|
+
import { LOAD_TYPES_FOR_LOAD_TABULAR_CREATION_MODIFICATION, PROPERTY_CSV_COLUMN_PREFIX, REGULATING_TERMINAL_TYPES, TABULAR_BOOLEAN, TABULAR_ENUM, TABULAR_NUMBER, TabularFieldConstants } from "./tabular/tabular.constants.js";
|
|
196
|
+
import { TabularModificationType } from "./tabular/tabular.types.js";
|
|
197
|
+
import { addPropertiesFromBack, convertReactiveCapabilityCurvePointsFromBackToFront, convertReactiveCapabilityCurvePointsFromFrontToBack, formatModification, generateCommentLines, getEmptyTabularFormData, getSelectedTabularPropertyNames, isFieldTypeOk, sanitizeRowValue, setFieldTypeError, tabularFormSchema, transformProperties } from "./tabular/tabular.utils.js";
|
|
198
|
+
import { TABULAR_CREATION_FIELDS, TABULAR_CREATION_TYPES, convertCreationFieldFromBackToFront, convertCreationFieldFromFrontToBack, convertCreations, getEquipmentTypeFromCreationType, tabularCreationDtoToForm, tabularCreationFormToDto, transformCreationsTable, transformRowToBackEndCreation } from "./tabular/tabularCreation.utils.js";
|
|
199
|
+
import { MODIFICATION_TRANSFORMATION_STRATEGIES, TABULAR_MODIFICATION_FIELDS, TABULAR_MODIFICATION_TYPES, TWT_TAP_CHANGER_FIELDS, convertGeneratorOrBatteryModificationFromBackToFront, convertGeneratorOrBatteryModificationFromFrontToBack, convertInputValues, convertOutputValues, convertTWTTapChangerModificationFromFrontToBack, getEquipmentTypeFromModificationType, getTabularFieldType, tabularModificationDtoToForm, tabularModificationFormToDto, transformModificationsTable, transformRowToBackEndModification } from "./tabular/tabularModification.utils.js";
|
|
200
|
+
import { TabularForm } from "./tabular/TabularForm.js";
|
|
188
201
|
export {
|
|
189
202
|
APPLICABILITY,
|
|
190
203
|
ActivePowerControlForm,
|
|
@@ -202,6 +215,7 @@ export {
|
|
|
202
215
|
ByFilterDeletionForm,
|
|
203
216
|
CATEGORIES_TABS,
|
|
204
217
|
CHARACTERISTICS_CHOICES,
|
|
218
|
+
CURRENT_CONNECTION_STATUS,
|
|
205
219
|
CharacteristicsForm,
|
|
206
220
|
ConnectivityForm,
|
|
207
221
|
CouplingDeviceCreationForm,
|
|
@@ -209,6 +223,7 @@ export {
|
|
|
209
223
|
CreateRuleDialogSubmitButton,
|
|
210
224
|
CreateRuleForm,
|
|
211
225
|
CreateVoltageLevelTopologyForm,
|
|
226
|
+
DefineTabularPropertiesDialog,
|
|
212
227
|
EQUIPMENTS_FIELDS,
|
|
213
228
|
EQUIPMENT_TYPE_ORDER,
|
|
214
229
|
EquipmentDeletionForm,
|
|
@@ -228,6 +243,7 @@ export {
|
|
|
228
243
|
ImportRuleDialog,
|
|
229
244
|
LINE_TAB_FIELDS,
|
|
230
245
|
LOAD_TAB_FIELDS,
|
|
246
|
+
LOAD_TYPES_FOR_LOAD_TABULAR_CREATION_MODIFICATION,
|
|
231
247
|
LimitsChart,
|
|
232
248
|
LimitsEditor,
|
|
233
249
|
LimitsGroupsContextualMenu,
|
|
@@ -248,6 +264,7 @@ export {
|
|
|
248
264
|
LoadDialogTabsContent,
|
|
249
265
|
LoadForm,
|
|
250
266
|
MAX_SECTIONS_COUNT,
|
|
267
|
+
MODIFICATION_TRANSFORMATION_STRATEGIES,
|
|
251
268
|
ModificationByAssignmentForm,
|
|
252
269
|
ModificationByFormulaForm,
|
|
253
270
|
MoveVoltageLevelFeederBaysForm,
|
|
@@ -256,6 +273,8 @@ export {
|
|
|
256
273
|
OperationalLimitsGroupTabLabel,
|
|
257
274
|
OperationalLimitsGroups,
|
|
258
275
|
POSITION_NEW_SECTION_SIDE,
|
|
276
|
+
PREV_CONNECTION_STATUS,
|
|
277
|
+
PROPERTY_CSV_COLUMN_PREFIX,
|
|
259
278
|
PhaseTapChangerPane,
|
|
260
279
|
PhaseTapChangerPaneSteps,
|
|
261
280
|
PhaseTapChangerRegulationMode,
|
|
@@ -266,6 +285,7 @@ export {
|
|
|
266
285
|
REACTIVE_LIMIT_TYPES,
|
|
267
286
|
REFERENCE_FIELD_OR_VALUE_1,
|
|
268
287
|
REFERENCE_FIELD_OR_VALUE_2,
|
|
288
|
+
REGULATING_TERMINAL_TYPES,
|
|
269
289
|
REGULATION_TYPES,
|
|
270
290
|
REMOVE,
|
|
271
291
|
RatioTapChangerPane,
|
|
@@ -277,6 +297,7 @@ export {
|
|
|
277
297
|
RegulatingTerminalForm,
|
|
278
298
|
SHUNT_COMPENSATOR_TYPES,
|
|
279
299
|
STATIC_VAR_COMPENSATOR_TAB_FIELDS,
|
|
300
|
+
SWITCH_ID,
|
|
280
301
|
SWITCH_TYPE,
|
|
281
302
|
SegmentCurrentLimitsSchema,
|
|
282
303
|
SegmentInfoSchema,
|
|
@@ -295,8 +316,22 @@ export {
|
|
|
295
316
|
SubstationModificationForm,
|
|
296
317
|
SwitchKind,
|
|
297
318
|
SwitchesBetweenSections,
|
|
319
|
+
TABULAR_BOOLEAN,
|
|
320
|
+
TABULAR_CREATION_FIELDS,
|
|
321
|
+
TABULAR_CREATION_TYPES,
|
|
322
|
+
TABULAR_ENUM,
|
|
323
|
+
TABULAR_MODIFICATION_FIELDS,
|
|
324
|
+
TABULAR_MODIFICATION_TYPES,
|
|
325
|
+
TABULAR_NUMBER,
|
|
298
326
|
TEMPORARY_LIMIT_MODIFICATION_TYPE,
|
|
327
|
+
TOPOLOGY_MODIFICATION_TABLE,
|
|
299
328
|
TWT_TAB_FIELDS,
|
|
329
|
+
TWT_TAP_CHANGER_FIELDS,
|
|
330
|
+
TabularFieldConstants,
|
|
331
|
+
TabularForm,
|
|
332
|
+
TabularModificationType,
|
|
333
|
+
TabularPropertiesForm,
|
|
334
|
+
TabularPropertyForm,
|
|
300
335
|
TapChangerSteps,
|
|
301
336
|
TemporaryLimitsTable,
|
|
302
337
|
ToBeEstimatedForm,
|
|
@@ -311,10 +346,12 @@ export {
|
|
|
311
346
|
VoltageLevelCreationForm,
|
|
312
347
|
VoltageLevelModificationForm,
|
|
313
348
|
VoltageLevelSectionCreationForm,
|
|
349
|
+
VoltageLevelTopologyModificationForm,
|
|
314
350
|
VoltageRegulationForm,
|
|
315
351
|
addModificationTypeToOpLimitsGroups,
|
|
316
352
|
addModificationTypeToTemporaryLimits,
|
|
317
353
|
addOperationTypeToSelectedOpLG,
|
|
354
|
+
addPropertiesFromBack,
|
|
318
355
|
batteryCreationDtoToForm,
|
|
319
356
|
batteryCreationEmptyFormData,
|
|
320
357
|
batteryCreationFormSchema,
|
|
@@ -324,6 +361,7 @@ export {
|
|
|
324
361
|
batteryModificationFormSchema,
|
|
325
362
|
batteryModificationFormToDto,
|
|
326
363
|
buildNewBusbarSections,
|
|
364
|
+
buildPredefinedTabularProperties,
|
|
327
365
|
byFilterDeletionDtoToForm,
|
|
328
366
|
byFilterDeletionFormSchema,
|
|
329
367
|
byFilterDeletionFormToDto,
|
|
@@ -333,7 +371,17 @@ export {
|
|
|
333
371
|
computeRatioTapChangerRegulating,
|
|
334
372
|
computeRatioTapChangerRegulationMode,
|
|
335
373
|
computeSwitchedOnValue,
|
|
374
|
+
convertCreationFieldFromBackToFront,
|
|
375
|
+
convertCreationFieldFromFrontToBack,
|
|
376
|
+
convertCreations,
|
|
377
|
+
convertGeneratorOrBatteryModificationFromBackToFront,
|
|
378
|
+
convertGeneratorOrBatteryModificationFromFrontToBack,
|
|
379
|
+
convertInputValues,
|
|
336
380
|
convertLimitsToOperationalLimitsGroupFormSchema,
|
|
381
|
+
convertOutputValues,
|
|
382
|
+
convertReactiveCapabilityCurvePointsFromBackToFront,
|
|
383
|
+
convertReactiveCapabilityCurvePointsFromFrontToBack,
|
|
384
|
+
convertTWTTapChangerModificationFromFrontToBack,
|
|
337
385
|
convertToLineSegmentInfos,
|
|
338
386
|
convertToLineSegmentsFormData,
|
|
339
387
|
convertToOperationalLimitsGroupFormSchema,
|
|
@@ -355,6 +403,7 @@ export {
|
|
|
355
403
|
emptyModificationFormData,
|
|
356
404
|
emptyMoveVoltageLevelFeederBaysFormData,
|
|
357
405
|
emptyProperties,
|
|
406
|
+
emptyTabularProperties,
|
|
358
407
|
equipmentDeletionDtoToForm,
|
|
359
408
|
equipmentDeletionEmptyFormData,
|
|
360
409
|
equipmentDeletionFormSchema,
|
|
@@ -362,8 +411,10 @@ export {
|
|
|
362
411
|
fetchPredefinedProperties,
|
|
363
412
|
filledTextField,
|
|
364
413
|
formatMapInfosToTemporaryLimitsFormSchema,
|
|
414
|
+
formatModification,
|
|
365
415
|
formatOpLimitGroupsToFormInfos,
|
|
366
416
|
formatTemporaryLimitsModificationToFormSchema,
|
|
417
|
+
generateCommentLines,
|
|
367
418
|
generateEmptyOperationalLimitsGroup,
|
|
368
419
|
generateUniqueId,
|
|
369
420
|
generatorCreationDtoToForm,
|
|
@@ -424,6 +475,9 @@ export {
|
|
|
424
475
|
getCreateRuleValidationSchema,
|
|
425
476
|
getCreateSwitchesEmptyFormData,
|
|
426
477
|
getCreateSwitchesValidationSchema,
|
|
478
|
+
getEmptyTabularFormData,
|
|
479
|
+
getEquipmentTypeFromCreationType,
|
|
480
|
+
getEquipmentTypeFromModificationType,
|
|
427
481
|
getFilledPropertiesFromModification,
|
|
428
482
|
getFormulaInitialValue,
|
|
429
483
|
getFormulaSchema,
|
|
@@ -476,6 +530,7 @@ export {
|
|
|
476
530
|
getRegulationTypeForEdit,
|
|
477
531
|
getRegulationTypeLabel,
|
|
478
532
|
getRowEmptyFormData,
|
|
533
|
+
getSelectedTabularPropertyNames,
|
|
479
534
|
getSetPointsEmptyFormData,
|
|
480
535
|
getSetPointsSchema,
|
|
481
536
|
getShortCircuitEmptyFormData,
|
|
@@ -484,6 +539,7 @@ export {
|
|
|
484
539
|
getStandbyAutomatonEmptyFormData,
|
|
485
540
|
getStandbyAutomatonFormData,
|
|
486
541
|
getStandbyAutomatonFormValidationSchema,
|
|
542
|
+
getTabularFieldType,
|
|
487
543
|
getTapChangerEquipmentSectionTypeValue,
|
|
488
544
|
getTapSideForEdit,
|
|
489
545
|
getTapSideLabel,
|
|
@@ -494,6 +550,8 @@ export {
|
|
|
494
550
|
getVoltageRegulationEmptyFormData,
|
|
495
551
|
getVoltageRegulationSchema,
|
|
496
552
|
initializedProperty,
|
|
553
|
+
initializedTabularProperty,
|
|
554
|
+
isFieldTypeOk,
|
|
497
555
|
italicFontTextField,
|
|
498
556
|
lineCreationDtoToForm,
|
|
499
557
|
lineCreationEmptyFormData,
|
|
@@ -526,7 +584,9 @@ export {
|
|
|
526
584
|
newEquipmentDeletionDto,
|
|
527
585
|
sanitizeLimitNames,
|
|
528
586
|
sanitizeLimitsGroups,
|
|
587
|
+
sanitizeRowValue,
|
|
529
588
|
setCurrentReactiveCapabilityCurveTable,
|
|
589
|
+
setFieldTypeError,
|
|
530
590
|
setSelectedReactiveLimits,
|
|
531
591
|
shuntCompensatorCreationDtoToForm,
|
|
532
592
|
shuntCompensatorCreationEmptyFormData,
|
|
@@ -549,12 +609,23 @@ export {
|
|
|
549
609
|
substationModificationEmptyFormData,
|
|
550
610
|
substationModificationFormSchema,
|
|
551
611
|
substationModificationFormToDto,
|
|
612
|
+
tabularCreationDtoToForm,
|
|
613
|
+
tabularCreationFormToDto,
|
|
614
|
+
tabularFormSchema,
|
|
615
|
+
tabularModificationDtoToForm,
|
|
616
|
+
tabularModificationFormToDto,
|
|
617
|
+
tabularPropertiesSchema,
|
|
552
618
|
testValueWithinPowerInterval,
|
|
553
619
|
toBeEstimatedEmptyFormData,
|
|
554
620
|
toModificationProperties,
|
|
555
621
|
toReactiveCapabilityCurveChoiceForGeneratorCreation,
|
|
556
622
|
toReactiveCapabilityCurveChoiceForGeneratorModification,
|
|
557
623
|
toTapChangerStepList,
|
|
624
|
+
transformCreationsTable,
|
|
625
|
+
transformModificationsTable,
|
|
626
|
+
transformProperties,
|
|
627
|
+
transformRowToBackEndCreation,
|
|
628
|
+
transformRowToBackEndModification,
|
|
558
629
|
translateSwitchKinds,
|
|
559
630
|
twoWindingsTransformerCreationDtoToForm,
|
|
560
631
|
twoWindingsTransformerCreationEmptyFormData,
|
|
@@ -580,5 +651,9 @@ export {
|
|
|
580
651
|
voltageLevelSectionCreationDtoToForm,
|
|
581
652
|
voltageLevelSectionCreationEmptyFormData,
|
|
582
653
|
voltageLevelSectionCreationFormSchema,
|
|
583
|
-
voltageLevelSectionCreationFormToDto
|
|
654
|
+
voltageLevelSectionCreationFormToDto,
|
|
655
|
+
voltageLevelTopologyModificationDtoToForm,
|
|
656
|
+
voltageLevelTopologyModificationEmptyFormData,
|
|
657
|
+
voltageLevelTopologyModificationFormSchema,
|
|
658
|
+
voltageLevelTopologyModificationFormToDto
|
|
584
659
|
};
|