@gridsuite/commons-ui 0.279.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/composite/customAGGrid/separatorCellRenderer.d.ts +7 -2
- package/dist/components/composite/customAGGrid/separatorCellRenderer.js +2 -2
- 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 +93 -3
- package/dist/features/network-modifications/index.d.ts +1 -0
- package/dist/features/network-modifications/index.js +91 -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/common/HeaderWithTooltip.d.ts +8 -0
- package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.js +119 -0
- package/dist/features/network-modifications/voltageLevel/common/index.d.ts +1 -0
- package/dist/features/network-modifications/voltageLevel/common/index.js +4 -0
- package/dist/features/network-modifications/voltageLevel/index.d.ts +4 -1
- package/dist/features/network-modifications/voltageLevel/index.js +28 -3
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.d.ts +8 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js +387 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.d.ts +6 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.js +64 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.d.ts +6 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js +102 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/index.d.ts +2 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/index.js +6 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/index.d.ts +4 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/index.js +13 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.type.d.ts +36 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.d.ts +37 -0
- package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.js +86 -0
- 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/creation/voltageLevelTopologyCreation.types.js +1 -0
- 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 +97 -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 +97 -0
- package/dist/translations/en/networkModificationsEn.js +103 -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 +97 -0
- package/dist/translations/fr/networkModificationsFr.js +103 -1
- package/dist/utils/constants/fieldConstants.d.ts +7 -1
- package/dist/utils/constants/fieldConstants.js +6 -0
- 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/voltageLevelTopologyCreation.types.js → moveFeederBays/moveVoltageLevelFeederBays.type.js} +0 -0
- /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
|
@@ -92,10 +92,18 @@ 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";
|
|
102
|
+
import { FeederBayPositionCellRenderer } from "./voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js";
|
|
103
|
+
import { FeederBayDirectionCellRenderer } from "./voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.js";
|
|
104
|
+
import { emptyMoveVoltageLevelFeederBaysFormData, moveVoltageLevelFeederBaysDtoToForm, moveVoltageLevelFeederBaysFormSchema, moveVoltageLevelFeederBaysFormToDto } from "./voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.js";
|
|
105
|
+
import { MoveVoltageLevelFeederBaysForm } from "./voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js";
|
|
106
|
+
import { HeaderWithTooltip } from "./voltageLevel/common/HeaderWithTooltip.js";
|
|
99
107
|
import { LOAD_TAB_FIELDS, LoadDialogTab } from "./load/common/load.utils.js";
|
|
100
108
|
import { LoadDialogTabs } from "./load/common/LoadDialogTabs.js";
|
|
101
109
|
import { LoadDialogTabsContent } from "./load/common/LoadDialogTabsContent.js";
|
|
@@ -180,6 +188,16 @@ import { getReactiveFormData, getReactiveFormEmptyFormData, getReactiveFormValid
|
|
|
180
188
|
import { computeQ0, getStandbyAutomatonEmptyFormData, getStandbyAutomatonFormData, getStandbyAutomatonFormValidationSchema } from "./static-var-compensator/common/standby-automaton-form-utils.js";
|
|
181
189
|
import { StaticVarCompensatorCreationForm } from "./static-var-compensator/creation/static-var-compensator-creation-form.js";
|
|
182
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";
|
|
183
201
|
export {
|
|
184
202
|
APPLICABILITY,
|
|
185
203
|
ActivePowerControlForm,
|
|
@@ -197,6 +215,7 @@ export {
|
|
|
197
215
|
ByFilterDeletionForm,
|
|
198
216
|
CATEGORIES_TABS,
|
|
199
217
|
CHARACTERISTICS_CHOICES,
|
|
218
|
+
CURRENT_CONNECTION_STATUS,
|
|
200
219
|
CharacteristicsForm,
|
|
201
220
|
ConnectivityForm,
|
|
202
221
|
CouplingDeviceCreationForm,
|
|
@@ -204,10 +223,13 @@ export {
|
|
|
204
223
|
CreateRuleDialogSubmitButton,
|
|
205
224
|
CreateRuleForm,
|
|
206
225
|
CreateVoltageLevelTopologyForm,
|
|
226
|
+
DefineTabularPropertiesDialog,
|
|
207
227
|
EQUIPMENTS_FIELDS,
|
|
208
228
|
EQUIPMENT_TYPE_ORDER,
|
|
209
229
|
EquipmentDeletionForm,
|
|
210
230
|
FORMULAS,
|
|
231
|
+
FeederBayDirectionCellRenderer,
|
|
232
|
+
FeederBayPositionCellRenderer,
|
|
211
233
|
GENERATOR_TAB_FIELDS,
|
|
212
234
|
GeneratorCreationForm,
|
|
213
235
|
GeneratorDialogHeader,
|
|
@@ -215,11 +237,13 @@ export {
|
|
|
215
237
|
GeneratorDialogTabs,
|
|
216
238
|
GeneratorDialogTabsContent,
|
|
217
239
|
GeneratorModificationForm,
|
|
240
|
+
HeaderWithTooltip,
|
|
218
241
|
HvdcLccDeletionSpecificForm,
|
|
219
242
|
INSERT,
|
|
220
243
|
ImportRuleDialog,
|
|
221
244
|
LINE_TAB_FIELDS,
|
|
222
245
|
LOAD_TAB_FIELDS,
|
|
246
|
+
LOAD_TYPES_FOR_LOAD_TABULAR_CREATION_MODIFICATION,
|
|
223
247
|
LimitsChart,
|
|
224
248
|
LimitsEditor,
|
|
225
249
|
LimitsGroupsContextualMenu,
|
|
@@ -240,13 +264,17 @@ export {
|
|
|
240
264
|
LoadDialogTabsContent,
|
|
241
265
|
LoadForm,
|
|
242
266
|
MAX_SECTIONS_COUNT,
|
|
267
|
+
MODIFICATION_TRANSFORMATION_STRATEGIES,
|
|
243
268
|
ModificationByAssignmentForm,
|
|
244
269
|
ModificationByFormulaForm,
|
|
270
|
+
MoveVoltageLevelFeederBaysForm,
|
|
245
271
|
OPERATIONAL_LIMITS_GROUPS_MODIFICATION_TYPE,
|
|
246
272
|
OPERATOR,
|
|
247
273
|
OperationalLimitsGroupTabLabel,
|
|
248
274
|
OperationalLimitsGroups,
|
|
249
275
|
POSITION_NEW_SECTION_SIDE,
|
|
276
|
+
PREV_CONNECTION_STATUS,
|
|
277
|
+
PROPERTY_CSV_COLUMN_PREFIX,
|
|
250
278
|
PhaseTapChangerPane,
|
|
251
279
|
PhaseTapChangerPaneSteps,
|
|
252
280
|
PhaseTapChangerRegulationMode,
|
|
@@ -257,6 +285,7 @@ export {
|
|
|
257
285
|
REACTIVE_LIMIT_TYPES,
|
|
258
286
|
REFERENCE_FIELD_OR_VALUE_1,
|
|
259
287
|
REFERENCE_FIELD_OR_VALUE_2,
|
|
288
|
+
REGULATING_TERMINAL_TYPES,
|
|
260
289
|
REGULATION_TYPES,
|
|
261
290
|
REMOVE,
|
|
262
291
|
RatioTapChangerPane,
|
|
@@ -268,6 +297,7 @@ export {
|
|
|
268
297
|
RegulatingTerminalForm,
|
|
269
298
|
SHUNT_COMPENSATOR_TYPES,
|
|
270
299
|
STATIC_VAR_COMPENSATOR_TAB_FIELDS,
|
|
300
|
+
SWITCH_ID,
|
|
271
301
|
SWITCH_TYPE,
|
|
272
302
|
SegmentCurrentLimitsSchema,
|
|
273
303
|
SegmentInfoSchema,
|
|
@@ -286,8 +316,22 @@ export {
|
|
|
286
316
|
SubstationModificationForm,
|
|
287
317
|
SwitchKind,
|
|
288
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,
|
|
289
326
|
TEMPORARY_LIMIT_MODIFICATION_TYPE,
|
|
327
|
+
TOPOLOGY_MODIFICATION_TABLE,
|
|
290
328
|
TWT_TAB_FIELDS,
|
|
329
|
+
TWT_TAP_CHANGER_FIELDS,
|
|
330
|
+
TabularFieldConstants,
|
|
331
|
+
TabularForm,
|
|
332
|
+
TabularModificationType,
|
|
333
|
+
TabularPropertiesForm,
|
|
334
|
+
TabularPropertyForm,
|
|
291
335
|
TapChangerSteps,
|
|
292
336
|
TemporaryLimitsTable,
|
|
293
337
|
ToBeEstimatedForm,
|
|
@@ -302,10 +346,12 @@ export {
|
|
|
302
346
|
VoltageLevelCreationForm,
|
|
303
347
|
VoltageLevelModificationForm,
|
|
304
348
|
VoltageLevelSectionCreationForm,
|
|
349
|
+
VoltageLevelTopologyModificationForm,
|
|
305
350
|
VoltageRegulationForm,
|
|
306
351
|
addModificationTypeToOpLimitsGroups,
|
|
307
352
|
addModificationTypeToTemporaryLimits,
|
|
308
353
|
addOperationTypeToSelectedOpLG,
|
|
354
|
+
addPropertiesFromBack,
|
|
309
355
|
batteryCreationDtoToForm,
|
|
310
356
|
batteryCreationEmptyFormData,
|
|
311
357
|
batteryCreationFormSchema,
|
|
@@ -315,6 +361,7 @@ export {
|
|
|
315
361
|
batteryModificationFormSchema,
|
|
316
362
|
batteryModificationFormToDto,
|
|
317
363
|
buildNewBusbarSections,
|
|
364
|
+
buildPredefinedTabularProperties,
|
|
318
365
|
byFilterDeletionDtoToForm,
|
|
319
366
|
byFilterDeletionFormSchema,
|
|
320
367
|
byFilterDeletionFormToDto,
|
|
@@ -324,7 +371,17 @@ export {
|
|
|
324
371
|
computeRatioTapChangerRegulating,
|
|
325
372
|
computeRatioTapChangerRegulationMode,
|
|
326
373
|
computeSwitchedOnValue,
|
|
374
|
+
convertCreationFieldFromBackToFront,
|
|
375
|
+
convertCreationFieldFromFrontToBack,
|
|
376
|
+
convertCreations,
|
|
377
|
+
convertGeneratorOrBatteryModificationFromBackToFront,
|
|
378
|
+
convertGeneratorOrBatteryModificationFromFrontToBack,
|
|
379
|
+
convertInputValues,
|
|
327
380
|
convertLimitsToOperationalLimitsGroupFormSchema,
|
|
381
|
+
convertOutputValues,
|
|
382
|
+
convertReactiveCapabilityCurvePointsFromBackToFront,
|
|
383
|
+
convertReactiveCapabilityCurvePointsFromFrontToBack,
|
|
384
|
+
convertTWTTapChangerModificationFromFrontToBack,
|
|
328
385
|
convertToLineSegmentInfos,
|
|
329
386
|
convertToLineSegmentsFormData,
|
|
330
387
|
convertToOperationalLimitsGroupFormSchema,
|
|
@@ -344,7 +401,9 @@ export {
|
|
|
344
401
|
emptyLineSegment,
|
|
345
402
|
emptyModificationByAssignmentFormData,
|
|
346
403
|
emptyModificationFormData,
|
|
404
|
+
emptyMoveVoltageLevelFeederBaysFormData,
|
|
347
405
|
emptyProperties,
|
|
406
|
+
emptyTabularProperties,
|
|
348
407
|
equipmentDeletionDtoToForm,
|
|
349
408
|
equipmentDeletionEmptyFormData,
|
|
350
409
|
equipmentDeletionFormSchema,
|
|
@@ -352,8 +411,10 @@ export {
|
|
|
352
411
|
fetchPredefinedProperties,
|
|
353
412
|
filledTextField,
|
|
354
413
|
formatMapInfosToTemporaryLimitsFormSchema,
|
|
414
|
+
formatModification,
|
|
355
415
|
formatOpLimitGroupsToFormInfos,
|
|
356
416
|
formatTemporaryLimitsModificationToFormSchema,
|
|
417
|
+
generateCommentLines,
|
|
357
418
|
generateEmptyOperationalLimitsGroup,
|
|
358
419
|
generateUniqueId,
|
|
359
420
|
generatorCreationDtoToForm,
|
|
@@ -414,6 +475,9 @@ export {
|
|
|
414
475
|
getCreateRuleValidationSchema,
|
|
415
476
|
getCreateSwitchesEmptyFormData,
|
|
416
477
|
getCreateSwitchesValidationSchema,
|
|
478
|
+
getEmptyTabularFormData,
|
|
479
|
+
getEquipmentTypeFromCreationType,
|
|
480
|
+
getEquipmentTypeFromModificationType,
|
|
417
481
|
getFilledPropertiesFromModification,
|
|
418
482
|
getFormulaInitialValue,
|
|
419
483
|
getFormulaSchema,
|
|
@@ -466,6 +530,7 @@ export {
|
|
|
466
530
|
getRegulationTypeForEdit,
|
|
467
531
|
getRegulationTypeLabel,
|
|
468
532
|
getRowEmptyFormData,
|
|
533
|
+
getSelectedTabularPropertyNames,
|
|
469
534
|
getSetPointsEmptyFormData,
|
|
470
535
|
getSetPointsSchema,
|
|
471
536
|
getShortCircuitEmptyFormData,
|
|
@@ -474,6 +539,7 @@ export {
|
|
|
474
539
|
getStandbyAutomatonEmptyFormData,
|
|
475
540
|
getStandbyAutomatonFormData,
|
|
476
541
|
getStandbyAutomatonFormValidationSchema,
|
|
542
|
+
getTabularFieldType,
|
|
477
543
|
getTapChangerEquipmentSectionTypeValue,
|
|
478
544
|
getTapSideForEdit,
|
|
479
545
|
getTapSideLabel,
|
|
@@ -484,6 +550,8 @@ export {
|
|
|
484
550
|
getVoltageRegulationEmptyFormData,
|
|
485
551
|
getVoltageRegulationSchema,
|
|
486
552
|
initializedProperty,
|
|
553
|
+
initializedTabularProperty,
|
|
554
|
+
isFieldTypeOk,
|
|
487
555
|
italicFontTextField,
|
|
488
556
|
lineCreationDtoToForm,
|
|
489
557
|
lineCreationEmptyFormData,
|
|
@@ -510,10 +578,15 @@ export {
|
|
|
510
578
|
modificationByFormulaFormSchema,
|
|
511
579
|
modificationByFormulaFormToDto,
|
|
512
580
|
modificationPropertiesSchema,
|
|
581
|
+
moveVoltageLevelFeederBaysDtoToForm,
|
|
582
|
+
moveVoltageLevelFeederBaysFormSchema,
|
|
583
|
+
moveVoltageLevelFeederBaysFormToDto,
|
|
513
584
|
newEquipmentDeletionDto,
|
|
514
585
|
sanitizeLimitNames,
|
|
515
586
|
sanitizeLimitsGroups,
|
|
587
|
+
sanitizeRowValue,
|
|
516
588
|
setCurrentReactiveCapabilityCurveTable,
|
|
589
|
+
setFieldTypeError,
|
|
517
590
|
setSelectedReactiveLimits,
|
|
518
591
|
shuntCompensatorCreationDtoToForm,
|
|
519
592
|
shuntCompensatorCreationEmptyFormData,
|
|
@@ -536,12 +609,23 @@ export {
|
|
|
536
609
|
substationModificationEmptyFormData,
|
|
537
610
|
substationModificationFormSchema,
|
|
538
611
|
substationModificationFormToDto,
|
|
612
|
+
tabularCreationDtoToForm,
|
|
613
|
+
tabularCreationFormToDto,
|
|
614
|
+
tabularFormSchema,
|
|
615
|
+
tabularModificationDtoToForm,
|
|
616
|
+
tabularModificationFormToDto,
|
|
617
|
+
tabularPropertiesSchema,
|
|
539
618
|
testValueWithinPowerInterval,
|
|
540
619
|
toBeEstimatedEmptyFormData,
|
|
541
620
|
toModificationProperties,
|
|
542
621
|
toReactiveCapabilityCurveChoiceForGeneratorCreation,
|
|
543
622
|
toReactiveCapabilityCurveChoiceForGeneratorModification,
|
|
544
623
|
toTapChangerStepList,
|
|
624
|
+
transformCreationsTable,
|
|
625
|
+
transformModificationsTable,
|
|
626
|
+
transformProperties,
|
|
627
|
+
transformRowToBackEndCreation,
|
|
628
|
+
transformRowToBackEndModification,
|
|
545
629
|
translateSwitchKinds,
|
|
546
630
|
twoWindingsTransformerCreationDtoToForm,
|
|
547
631
|
twoWindingsTransformerCreationEmptyFormData,
|
|
@@ -567,5 +651,9 @@ export {
|
|
|
567
651
|
voltageLevelSectionCreationDtoToForm,
|
|
568
652
|
voltageLevelSectionCreationEmptyFormData,
|
|
569
653
|
voltageLevelSectionCreationFormSchema,
|
|
570
|
-
voltageLevelSectionCreationFormToDto
|
|
654
|
+
voltageLevelSectionCreationFormToDto,
|
|
655
|
+
voltageLevelTopologyModificationDtoToForm,
|
|
656
|
+
voltageLevelTopologyModificationEmptyFormData,
|
|
657
|
+
voltageLevelTopologyModificationFormSchema,
|
|
658
|
+
voltageLevelTopologyModificationFormToDto
|
|
571
659
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { EquipmentType } from '../../../utils';
|
|
3
|
+
import { PredefinedEquipmentProperties, TabularModificationType } from './tabular.types';
|
|
4
|
+
/** Context handed over to the host application when it renders its own actions in the form. */
|
|
5
|
+
export interface TabularFormActionsContext {
|
|
6
|
+
dialogMode: TabularModificationType;
|
|
7
|
+
equipmentType: EquipmentType;
|
|
8
|
+
csvColumns: string[];
|
|
9
|
+
commentLines: string[][];
|
|
10
|
+
predefinedEquipmentProperties: PredefinedEquipmentProperties;
|
|
11
|
+
}
|
|
12
|
+
export interface TabularFormProps {
|
|
13
|
+
dialogMode: TabularModificationType;
|
|
14
|
+
dataFetching?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Application specific actions rendered next to the CSV template buttons.
|
|
17
|
+
*/
|
|
18
|
+
renderActions?: (context: TabularFormActionsContext) => ReactNode;
|
|
19
|
+
/** Display the name of the CSV file the table was imported from. */
|
|
20
|
+
showCsvFileName?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare function TabularForm({ dialogMode, dataFetching, renderActions, showCsvFileName, }: Readonly<TabularFormProps>): import("react").JSX.Element;
|