@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.
Files changed (132) hide show
  1. package/dist/components/composite/customAGGrid/separatorCellRenderer.d.ts +7 -2
  2. package/dist/components/composite/customAGGrid/separatorCellRenderer.js +2 -2
  3. package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.d.ts +6 -1
  4. package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +29 -5
  5. package/dist/components/ui/reactHookForm/booleans/RadioInput.d.ts +1 -0
  6. package/dist/components/ui/reactHookForm/booleans/RadioInput.js +2 -1
  7. package/dist/features/index.js +93 -3
  8. package/dist/features/network-modifications/index.d.ts +1 -0
  9. package/dist/features/network-modifications/index.js +91 -3
  10. package/dist/features/network-modifications/tabular/TabularForm.d.ts +22 -0
  11. package/dist/features/network-modifications/tabular/TabularForm.js +536 -0
  12. package/dist/features/network-modifications/tabular/index.d.ts +7 -0
  13. package/dist/features/network-modifications/tabular/index.js +65 -0
  14. package/dist/features/network-modifications/tabular/properties/DefineTabularPropertiesDialog.d.ts +12 -0
  15. package/dist/features/network-modifications/tabular/properties/DefineTabularPropertiesDialog.js +123 -0
  16. package/dist/features/network-modifications/tabular/properties/TabularPropertiesForm.d.ts +1 -0
  17. package/dist/features/network-modifications/tabular/properties/TabularPropertiesForm.js +87 -0
  18. package/dist/features/network-modifications/tabular/properties/TabularPropertyForm.d.ts +5 -0
  19. package/dist/features/network-modifications/tabular/properties/TabularPropertyForm.js +91 -0
  20. package/dist/features/network-modifications/tabular/properties/index.d.ts +4 -0
  21. package/dist/features/network-modifications/tabular/properties/index.js +13 -0
  22. package/dist/features/network-modifications/tabular/properties/tabularProperty.utils.d.ts +26 -0
  23. package/dist/features/network-modifications/tabular/properties/tabularProperty.utils.js +50 -0
  24. package/dist/features/network-modifications/tabular/tabular.constants.d.ts +59 -0
  25. package/dist/features/network-modifications/tabular/tabular.constants.js +75 -0
  26. package/dist/features/network-modifications/tabular/tabular.types.d.ts +41 -0
  27. package/dist/features/network-modifications/tabular/tabular.types.js +8 -0
  28. package/dist/features/network-modifications/tabular/tabular.utils.d.ts +68 -0
  29. package/dist/features/network-modifications/tabular/tabular.utils.js +301 -0
  30. package/dist/features/network-modifications/tabular/tabularCreation.utils.d.ts +25 -0
  31. package/dist/features/network-modifications/tabular/tabularCreation.utils.js +276 -0
  32. package/dist/features/network-modifications/tabular/tabularModification.utils.d.ts +43 -0
  33. package/dist/features/network-modifications/tabular/tabularModification.utils.js +406 -0
  34. package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.d.ts +8 -0
  35. package/dist/features/network-modifications/voltageLevel/common/HeaderWithTooltip.js +119 -0
  36. package/dist/features/network-modifications/voltageLevel/common/index.d.ts +1 -0
  37. package/dist/features/network-modifications/voltageLevel/common/index.js +4 -0
  38. package/dist/features/network-modifications/voltageLevel/index.d.ts +4 -1
  39. package/dist/features/network-modifications/voltageLevel/index.js +28 -3
  40. package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.d.ts +8 -0
  41. package/dist/features/network-modifications/voltageLevel/moveFeederBays/MoveVoltageLevelFeederBaysForm.js +387 -0
  42. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.d.ts +6 -0
  43. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayDirectionCellRender.js +64 -0
  44. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.d.ts +6 -0
  45. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/FeederBayPositionCellRender.js +102 -0
  46. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/index.d.ts +2 -0
  47. package/dist/features/network-modifications/voltageLevel/moveFeederBays/feederBay/index.js +6 -0
  48. package/dist/features/network-modifications/voltageLevel/moveFeederBays/index.d.ts +4 -0
  49. package/dist/features/network-modifications/voltageLevel/moveFeederBays/index.js +13 -0
  50. package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.type.d.ts +36 -0
  51. package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.d.ts +37 -0
  52. package/dist/features/network-modifications/voltageLevel/moveFeederBays/moveVoltageLevelFeederBays.utils.js +86 -0
  53. package/dist/features/network-modifications/voltageLevel/topology/{CreateVoltageLevelTopologyForm.d.ts → creation/CreateVoltageLevelTopologyForm.d.ts} +1 -1
  54. package/dist/features/network-modifications/voltageLevel/topology/{CreateVoltageLevelTopologyForm.js → creation/CreateVoltageLevelTopologyForm.js} +38 -38
  55. package/dist/features/network-modifications/voltageLevel/topology/{voltageLevelTopologyCreation.types.d.ts → creation/voltageLevelTopologyCreation.types.d.ts} +1 -1
  56. package/dist/features/network-modifications/voltageLevel/topology/creation/voltageLevelTopologyCreation.types.js +1 -0
  57. package/dist/features/network-modifications/voltageLevel/topology/{voltageLevelTopologyCreation.utils.d.ts → creation/voltageLevelTopologyCreation.utils.d.ts} +1 -1
  58. package/dist/features/network-modifications/voltageLevel/topology/{voltageLevelTopologyCreation.utils.js → creation/voltageLevelTopologyCreation.utils.js} +5 -5
  59. package/dist/features/network-modifications/voltageLevel/topology/modification/ConnectionCellRender.d.ts +6 -0
  60. package/dist/features/network-modifications/voltageLevel/topology/modification/ConnectionCellRender.js +80 -0
  61. package/dist/features/network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.d.ts +10 -0
  62. package/dist/features/network-modifications/voltageLevel/topology/modification/VoltageLevelTopologyModificationForm.js +284 -0
  63. package/dist/features/network-modifications/voltageLevel/topology/modification/constants.d.ts +10 -0
  64. package/dist/features/network-modifications/voltageLevel/topology/modification/constants.js +10 -0
  65. package/dist/features/network-modifications/voltageLevel/topology/modification/index.d.ts +10 -0
  66. package/dist/features/network-modifications/voltageLevel/topology/modification/index.js +14 -0
  67. package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.types.d.ts +28 -0
  68. package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.types.js +1 -0
  69. package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.utils.d.ts +29 -0
  70. package/dist/features/network-modifications/voltageLevel/topology/modification/voltageLevelTopologyModification.utils.js +124 -0
  71. package/dist/features/parameters/common/index.d.ts +1 -0
  72. package/dist/features/parameters/common/index.js +2 -0
  73. package/dist/features/parameters/common/parameter-field.d.ts +2 -2
  74. package/dist/features/parameters/common/parameter-field.js +1 -1
  75. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +1 -1
  76. package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +6 -6
  77. package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +1 -1
  78. package/dist/features/parameters/dynamic-margin-calculation/time-delay-parameters.js +1 -1
  79. package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +1 -1
  80. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +6 -6
  81. package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +1 -1
  82. package/dist/features/parameters/dynamic-security-analysis/scenario-parameters.js +1 -1
  83. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +6 -6
  84. package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +1 -1
  85. package/dist/features/parameters/dynamic-simulation/network/network-parameters.js +1 -1
  86. package/dist/features/parameters/dynamic-simulation/solver/common-solver/common-solver-parameters.js +1 -1
  87. package/dist/features/parameters/dynamic-simulation/solver/ida-solver/ida-solver-parameters.js +1 -1
  88. package/dist/features/parameters/dynamic-simulation/solver/sim-solver/simplified-solver-parameters.js +1 -1
  89. package/dist/features/parameters/dynamic-simulation/solver/solver-parameters.js +1 -1
  90. package/dist/features/parameters/dynamic-simulation/time-delay/time-delay-parameters.js +1 -1
  91. package/dist/features/parameters/index.js +2 -0
  92. package/dist/features/parameters/loadflow/load-flow-advanced-parameters.js +1 -1
  93. package/dist/features/parameters/loadflow/load-flow-general-parameters.js +1 -1
  94. package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +5 -5
  95. package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.js +1 -1
  96. package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +5 -5
  97. package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +5 -5
  98. package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +6 -6
  99. package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +6 -6
  100. package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +5 -5
  101. package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +5 -5
  102. package/dist/features/side-bar/AppSideBarHeader.js +20 -5
  103. package/dist/features/side-bar/EnvironmentChip.d.ts +13 -0
  104. package/dist/features/side-bar/EnvironmentChip.js +49 -0
  105. package/dist/index.js +97 -5
  106. package/dist/services/appsMetadata.d.ts +2 -0
  107. package/dist/services/directory.d.ts +1 -1
  108. package/dist/services/directory.js +6 -2
  109. package/dist/services/index.js +2 -1
  110. package/dist/services/userAdmin.d.ts +2 -1
  111. package/dist/services/userAdmin.js +9 -1
  112. package/dist/translations/en/businessErrorsEn.d.ts +1 -0
  113. package/dist/translations/en/businessErrorsEn.js +1 -0
  114. package/dist/translations/en/networkModificationsEn.d.ts +97 -0
  115. package/dist/translations/en/networkModificationsEn.js +103 -1
  116. package/dist/translations/fr/businessErrorsFr.d.ts +1 -0
  117. package/dist/translations/fr/businessErrorsFr.js +1 -0
  118. package/dist/translations/fr/networkModificationsFr.d.ts +97 -0
  119. package/dist/translations/fr/networkModificationsFr.js +103 -1
  120. package/dist/utils/constants/fieldConstants.d.ts +7 -1
  121. package/dist/utils/constants/fieldConstants.js +6 -0
  122. package/dist/utils/constants/index.js +2 -1
  123. package/dist/utils/constants/notificationsProvider.d.ts +1 -0
  124. package/dist/utils/constants/notificationsProvider.js +1 -0
  125. package/dist/utils/constants/translationKeys.d.ts +1 -0
  126. package/dist/utils/constants/translationKeys.js +2 -0
  127. package/dist/utils/index.js +2 -1
  128. package/dist/utils/types/types.d.ts +4 -0
  129. package/package.json +1 -1
  130. /package/dist/features/network-modifications/voltageLevel/{topology/voltageLevelTopologyCreation.types.js → moveFeederBays/moveVoltageLevelFeederBays.type.js} +0 -0
  131. /package/dist/features/network-modifications/voltageLevel/topology/{index.d.ts → creation/index.d.ts} +0 -0
  132. /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;