@gridsuite/commons-ui 0.238.0 → 0.240.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/README.md +6 -2
- package/dist/components/composite/agGridTable/BottomTableButtons.d.ts +1 -1
- package/dist/components/composite/agGridTable/CustomAgGridTable.js +7 -1
- package/dist/components/composite/agGridTable/cellEditors/numericEditor.d.ts +9 -3
- package/dist/components/composite/agGridTable/cellEditors/numericEditor.js +24 -5
- package/dist/components/composite/customAGGrid/cell-renderers.d.ts +8 -8
- package/dist/components/composite/customAGGrid/cell-renderers.js +1 -1
- package/dist/components/composite/customAGGrid/context/custom-aggrid-context.d.ts +13 -0
- package/dist/components/composite/customAGGrid/context/custom-aggrid-context.js +23 -0
- package/dist/components/composite/customAGGrid/context/index.d.ts +7 -0
- package/dist/components/composite/customAGGrid/context/index.js +7 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-autocomplete-filter.d.ts +7 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-autocomplete-filter.js +74 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-filter.d.ts +2 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-filter.js +52 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-selector.d.ts +9 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-comparator-selector.js +18 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-filter.d.ts +11 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-filter.js +77 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.d.ts +10 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.js +59 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-filter-icon.d.ts +8 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-filter-icon.js +22 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/index.d.ts +8 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/index.js +6 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-column-filter.d.ts +7 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-column-filter.js +111 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-comparator-filter.d.ts +12 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/hooks/use-custom-aggrid-comparator-filter.js +65 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/index.d.ts +14 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/index.js +21 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/filter-tolerance-utils.d.ts +7 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/filter-tolerance-utils.js +79 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/index.d.ts +7 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-filters/utils/index.js +5 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-header.d.ts +15 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-header.js +96 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-menu.d.ts +11 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-menu.js +20 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-sort.d.ts +8 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-sort.js +21 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-types.d.ts +122 -0
- package/dist/components/composite/customAGGrid/custom-aggrid-types.js +60 -0
- package/dist/components/composite/customAGGrid/display-rounding.d.ts +9 -0
- package/dist/components/composite/customAGGrid/display-rounding.js +33 -0
- package/dist/components/composite/customAGGrid/hooks/index.d.ts +7 -0
- package/dist/components/composite/customAGGrid/hooks/index.js +4 -0
- package/dist/components/composite/customAGGrid/hooks/use-custom-aggrid-sort.d.ts +6 -0
- package/dist/components/composite/customAGGrid/hooks/use-custom-aggrid-sort.js +43 -0
- package/dist/components/composite/customAGGrid/index.d.ts +9 -0
- package/dist/components/composite/customAGGrid/index.js +45 -1
- package/dist/components/composite/customAGGrid/separatorCellRenderer.d.ts +1 -1
- package/dist/components/composite/customAGGrid/utils/custom-aggrid-header-utils.d.ts +166 -0
- package/dist/components/composite/customAGGrid/utils/custom-aggrid-header-utils.js +54 -0
- package/dist/components/composite/customAGGrid/utils/index.d.ts +7 -0
- package/dist/components/composite/customAGGrid/utils/index.js +4 -0
- package/dist/components/composite/dnd-table/deletable-table-row.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table-add-rows-dialog.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table-bottom-left-buttons.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table-bottom-left-buttons.js +4 -4
- package/dist/components/composite/dnd-table/dnd-table-bottom-right-buttons.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table-bottom-right-buttons.js +6 -6
- package/dist/components/composite/dnd-table/dnd-table-row.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table.js +4 -4
- package/dist/components/composite/elementSearch/elementItem/EquipmentItem.d.ts +1 -1
- package/dist/components/composite/elementSearch/elementSearchDialog/ElementSearchDialog.d.ts +1 -1
- package/dist/components/composite/elementSearch/elementSearchInput/ElementSearchInput.d.ts +1 -1
- package/dist/components/composite/elementSearch/tagRenderer/TagRenderer.d.ts +1 -1
- package/dist/components/composite/filter/FilterCreationDialog.d.ts +1 -1
- package/dist/components/composite/filter/FilterCreationDialog.js +1 -1
- package/dist/components/composite/filter/FilterForm.d.ts +1 -1
- package/dist/components/composite/filter/HeaderFilterForm.d.ts +1 -1
- package/dist/components/composite/filter/HeaderFilterForm.js +4 -4
- package/dist/components/composite/filter/expert/ExpertFilterEditionDialog.d.ts +1 -1
- package/dist/components/composite/filter/expert/ExpertFilterForm.d.ts +1 -1
- package/dist/components/composite/filter/expert/expertFilterConstants.js +1 -1
- package/dist/components/composite/filter/expert/expertFilterUtils.js +1 -1
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterEditionDialog.d.ts +1 -1
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.d.ts +2 -2
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +2 -4
- package/dist/components/composite/filter/utils/filterApi.js +1 -1
- package/dist/components/composite/flatParameters/FlatParameters.d.ts +1 -1
- package/dist/components/composite/grid/grid-item.d.ts +4 -3
- package/dist/components/composite/grid/grid-item.js +8 -4
- package/dist/components/composite/grid/grid-section.d.ts +1 -1
- package/dist/components/composite/grid/grid-section.js +3 -3
- package/dist/components/composite/grid/index.js +6 -3
- package/dist/components/composite/index.d.ts +1 -0
- package/dist/components/composite/index.js +71 -3
- package/dist/components/composite/muiTable/OverflowableTableCell.d.ts +1 -1
- package/dist/components/composite/muiTable/OverflowableTableCellWithCheckbox.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/AddButton.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/AutocompleteWithFavorites.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/CombinatorSelector.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/CountryValueEditor.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/CustomReactQueryBuilder.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/ElementValueEditor.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/FieldSelector.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/OperatorSelector.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/PropertyValueEditor.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/PropertyValueEditor.js +5 -5
- package/dist/components/composite/reactQueryBuilder/RemoveButton.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/TextValueEditor.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/TranslatedValueEditor.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/ValueEditor.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/ValueSelector.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js +2 -2
- package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +1 -1
- package/dist/components/composite/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js +5 -5
- package/dist/components/composite/report/QuickSearch.d.ts +14 -0
- package/dist/components/composite/report/QuickSearch.js +118 -0
- package/dist/components/composite/report/index.d.ts +12 -0
- package/dist/components/composite/report/index.js +25 -0
- package/dist/components/composite/report/report-log.mapper.d.ts +2 -0
- package/dist/components/composite/report/report-log.mapper.js +22 -0
- package/dist/components/composite/report/report-severity.d.ts +5 -0
- package/dist/components/composite/report/report-severity.js +89 -0
- package/dist/components/composite/report/report-treeview/hooks/index.d.ts +7 -0
- package/dist/components/composite/report/report-treeview/hooks/index.js +4 -0
- package/dist/components/composite/report/report-treeview/hooks/use-treeview-scroll.d.ts +4 -0
- package/dist/components/composite/report/report-treeview/hooks/use-treeview-scroll.js +19 -0
- package/dist/components/composite/report/report-treeview/index.d.ts +10 -0
- package/dist/components/composite/report/report-treeview/index.js +10 -0
- package/dist/components/composite/report/report-treeview/report-tree.mapper.d.ts +2 -0
- package/dist/components/composite/report/report-treeview/report-tree.mapper.js +16 -0
- package/dist/components/composite/report/report-treeview/treeview-item.d.ts +28 -0
- package/dist/components/composite/report/report-treeview/treeview-item.js +131 -0
- package/dist/components/composite/report/report-treeview/virtualized-treeview.d.ts +11 -0
- package/dist/components/composite/report/report-treeview/virtualized-treeview.js +177 -0
- package/dist/components/composite/report/report-viewer/context/index.d.ts +7 -0
- package/dist/components/composite/report/report-viewer/context/index.js +7 -0
- package/dist/components/composite/report/report-viewer/context/report-viewer-context.d.ts +16 -0
- package/dist/components/composite/report/report-viewer/context/report-viewer-context.js +23 -0
- package/dist/components/composite/report/report-viewer/index.d.ts +9 -0
- package/dist/components/composite/report/report-viewer/index.js +11 -0
- package/dist/components/composite/report/report-viewer/log-table/index.d.ts +7 -0
- package/dist/components/composite/report/report-viewer/log-table/index.js +4 -0
- package/dist/components/composite/report/report-viewer/log-table/log-table.d.ts +12 -0
- package/dist/components/composite/report/report-viewer/log-table/log-table.js +423 -0
- package/dist/components/composite/report/report-viewer/report-viewer.d.ts +8 -0
- package/dist/components/composite/report/report-viewer/report-viewer.js +114 -0
- package/dist/components/composite/report/report.constant.d.ts +8 -0
- package/dist/components/composite/report/report.constant.js +6 -0
- package/dist/components/composite/report/report.styles.d.ts +10 -0
- package/dist/components/composite/report/report.styles.js +12 -0
- package/dist/components/composite/report/report.type.d.ts +66 -0
- package/dist/components/composite/report/report.type.js +8 -0
- package/dist/components/index.js +71 -3
- package/dist/components/ui/addButton/AddButton.d.ts +1 -1
- package/dist/components/ui/checkBoxList/CheckBoxList.d.ts +1 -1
- package/dist/components/ui/checkBoxList/CheckBoxListItem.d.ts +1 -1
- package/dist/components/ui/checkBoxList/CheckBoxListItemContent.d.ts +1 -1
- package/dist/components/ui/checkBoxList/CheckBoxListItems.d.ts +1 -1
- package/dist/components/ui/checkBoxList/DraggableCheckBoxListItem.d.ts +1 -1
- package/dist/components/ui/checkBoxList/DraggableCheckBoxListItemContent.d.ts +1 -1
- package/dist/components/ui/csvDownloader/export-csv-button.d.ts +1 -1
- package/dist/components/ui/csvPicker/csv-picker-confirmation-dialog.d.ts +1 -1
- package/dist/components/ui/csvPicker/csv-picker.d.ts +1 -1
- package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.d.ts +1 -1
- package/dist/components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.d.ts +1 -1
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.d.ts +1 -1
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +9 -9
- package/dist/components/ui/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +1 -1
- package/dist/components/ui/dialogs/modifyElementSelection/ModifyElementSelection.js +3 -3
- package/dist/components/ui/dialogs/multipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -1
- package/dist/components/ui/dialogs/popupConfirmationDialog/PopupConfirmationDialog.d.ts +1 -1
- package/dist/components/ui/directoryItemSelector/DirectoryItemSelector.d.ts +1 -1
- package/dist/components/ui/expandableGroup/ExpandableGroup.d.ts +1 -1
- package/dist/components/ui/icons/ArrowsInputIcon.d.ts +1 -1
- package/dist/components/ui/icons/ArrowsOutputIcon.d.ts +1 -1
- package/dist/components/ui/icons/EditNoteIcon.d.ts +1 -1
- package/dist/components/ui/icons/LeftPanelCloseIcon.d.ts +1 -1
- package/dist/components/ui/icons/LeftPanelOpenIcon.d.ts +1 -1
- package/dist/components/ui/inputs/ActivableChip.d.ts +1 -1
- package/dist/components/ui/inputs/SelectClearable.d.ts +1 -1
- package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-autocomplete.d.ts +1 -1
- package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-autocomplete.js +1 -1
- package/dist/components/ui/inputs/checkbox-autocomplete/checkbox-item.d.ts +1 -1
- package/dist/components/ui/inputs/checkbox-autocomplete/virtualized-list-item.d.ts +1 -1
- package/dist/components/ui/menus/custom-nested-menu.d.ts +2 -2
- package/dist/components/ui/menus/custom-nested-menu.js +1 -1
- package/dist/components/ui/overflowableText/OverflowableText.d.ts +2 -2
- package/dist/components/ui/reactHookForm/CheckboxNullableInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/CountrySelectionInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/DirectoryItemsInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/OverflowableChip.d.ts +1 -1
- package/dist/components/ui/reactHookForm/OverflowableChipWithHelperText.d.ts +1 -1
- package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/booleans/BooleanInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/booleans/CheckboxInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/booleans/RadioInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/booleans/SwitchInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/chip-items-input.d.ts +1 -1
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.d.ts +1 -1
- package/dist/components/ui/reactHookForm/errorManagement/ErrorInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/errorManagement/FieldErrorAlert.d.ts +1 -1
- package/dist/components/ui/reactHookForm/errorManagement/FieldErrorAlert.js +2 -2
- package/dist/components/ui/reactHookForm/errorManagement/MidFormError.d.ts +1 -1
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.d.ts +1 -1
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.js +4 -4
- package/dist/components/ui/reactHookForm/expandableInput/ExpandableInput.js +4 -4
- package/dist/components/ui/reactHookForm/numbers/FloatInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/numbers/IntegerInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/numbers/RangeInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/numbers/RangeInput.js +5 -5
- package/dist/components/ui/reactHookForm/numbers/SliderInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/provider/CustomFormProvider.d.ts +1 -1
- package/dist/components/ui/reactHookForm/readOnly/ButtonReadOnlyInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/readOnly/ReadOnlyInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/selectInputs/CountriesInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/selectInputs/EnumInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +1 -1
- package/dist/components/ui/reactHookForm/selectInputs/MuiSelectInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/selectInputs/SelectInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/selectInputs/SelectWithConfirmationInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/tableInputs/table-numerical-input.d.ts +1 -1
- package/dist/components/ui/reactHookForm/tableInputs/table-text-input.d.ts +1 -1
- package/dist/components/ui/reactHookForm/text/DescriptionField.d.ts +1 -1
- package/dist/components/ui/reactHookForm/text/DescriptionInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/text/ExpandingTextField.d.ts +1 -1
- package/dist/components/ui/reactHookForm/text/TextInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/text/UniqueNameInput.d.ts +1 -1
- package/dist/components/ui/reactHookForm/utils/CancelButton.d.ts +1 -1
- package/dist/components/ui/reactHookForm/utils/FieldLabel.d.ts +1 -1
- package/dist/components/ui/reactHookForm/utils/HelperPreviousValue.d.ts +1 -1
- package/dist/components/ui/reactHookForm/utils/SubmitButton.d.ts +1 -1
- package/dist/components/ui/reactHookForm/utils/TextFieldWithAdornment.d.ts +1 -1
- package/dist/components/ui/reactHookForm/utils/functions.d.ts +2 -2
- package/dist/components/ui/reactHookForm/utils/functions.js +2 -2
- package/dist/components/ui/resizablePanels/ResizeHandle.d.ts +1 -1
- package/dist/components/ui/snackbarProvider/SnackbarProvider.d.ts +1 -1
- package/dist/components/ui/tablepagination/custom-table-pagination.d.ts +1 -1
- package/dist/components/ui/tooltip/CustomTooltip.d.ts +1 -1
- package/dist/components/ui/treeViewFinder/TreeViewFinder.d.ts +2 -2
- package/dist/features/announcement/AnnouncementBanner.d.ts +1 -1
- package/dist/features/announcement/AnnouncementNotification.d.ts +1 -1
- package/dist/features/authentication/AuthenticationRouter.d.ts +1 -1
- package/dist/features/authentication/AuthenticationRouter.js +2 -2
- package/dist/features/authentication/AuthenticationRouterErrorDisplay.d.ts +1 -1
- package/dist/features/authentication/AuthenticationRouterErrorDisplay.js +3 -3
- package/dist/features/authentication/Login.d.ts +1 -1
- package/dist/features/authentication/Logout.d.ts +1 -1
- package/dist/features/authentication/SignInCallbackHandler.d.ts +1 -1
- package/dist/features/authentication/SilentRenewCallbackHandler.d.ts +1 -1
- package/dist/features/authentication/alert/ErrorInLogoutAlert.d.ts +1 -1
- package/dist/features/authentication/alert/ErrorInUserValidationAlert.d.ts +1 -1
- package/dist/features/authentication/alert/UnauthorizedAccessAlert.d.ts +1 -1
- package/dist/features/authentication/utils/authService.js +1 -1
- package/dist/features/cardErrorBoundary/CardErrorBoundary.d.ts +1 -1
- package/dist/features/index.js +1 -2
- package/dist/features/network-modification-table/network-modification-table-styles.js +1 -1
- package/dist/features/network-modification-table/network-modifications-table.d.ts +2 -2
- package/dist/features/network-modification-table/renderers/cell-renderers.d.ts +9 -9
- package/dist/features/network-modification-table/renderers/cell-renderers.js +1 -1
- package/dist/features/network-modification-table/renderers/depth-box.d.ts +1 -1
- package/dist/features/network-modification-table/renderers/description-cell.d.ts +1 -1
- package/dist/features/network-modification-table/renderers/drag-handle-cell.d.ts +1 -1
- package/dist/features/network-modification-table/renderers/name-cell.d.ts +2 -1
- package/dist/features/network-modification-table/renderers/name-cell.js +7 -1
- package/dist/features/network-modification-table/renderers/network-modification-node-editor-name-header.d.ts +1 -1
- package/dist/features/network-modification-table/renderers/root-network-chip-cell.d.ts +1 -1
- package/dist/features/network-modification-table/renderers/select-cell.d.ts +2 -1
- package/dist/features/network-modification-table/renderers/select-header-cell.d.ts +2 -1
- package/dist/features/network-modification-table/renderers/switch-cell.d.ts +2 -1
- package/dist/features/network-modification-table/row/drag-row-clone.d.ts +2 -1
- package/dist/features/network-modification-table/row/modification-row.d.ts +2 -1
- package/dist/features/network-modification-table/row/modification-row.js +1 -1
- package/dist/features/network-modifications/battery/creation/BatteryCreationForm.d.ts +1 -1
- package/dist/features/network-modifications/battery/creation/BatteryCreationForm.js +13 -7
- package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +6 -0
- package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.d.ts +1 -1
- package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +10 -4
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabs.d.ts +2 -7
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabs.js +1 -1
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.d.ts +1 -1
- package/dist/features/network-modifications/battery/modification/BatteryDialogTabsContent.js +14 -8
- package/dist/features/network-modifications/battery/modification/BatteryModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/battery/modification/BatteryModificationForm.js +5 -5
- package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +7 -1
- package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.d.ts +1 -1
- package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.js +1 -1
- package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.d.ts +1 -1
- package/dist/features/network-modifications/by-filter/assignment/modification-by-assignment-form.js +4 -4
- package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.d.ts +1 -1
- package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +4 -4
- package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.d.ts +1 -1
- package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.js +1 -1
- package/dist/features/network-modifications/common/connectivity/BranchConnectivityForm.d.ts +1 -1
- package/dist/features/network-modifications/common/connectivity/BranchConnectivityForm.js +1 -1
- package/dist/features/network-modifications/common/connectivity/ConnectivityForm.d.ts +1 -1
- package/dist/features/network-modifications/common/connectivity/ConnectivityForm.js +7 -7
- package/dist/features/network-modifications/common/connectivity/PositionForm.d.ts +1 -1
- package/dist/features/network-modifications/common/connectivity/PositionForm.js +4 -4
- package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.d.ts +1 -1
- package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +4 -4
- package/dist/features/network-modifications/common/measurements/BranchActiveReactivePowerMeasurementsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/measurements/BranchActiveReactivePowerMeasurementsForm.js +1 -1
- package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +8 -2
- package/dist/features/network-modifications/common/measurements/PowerMeasurementsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/measurements/PowerMeasurementsForm.js +4 -4
- package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.d.ts +1 -1
- package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.js +4 -4
- package/dist/features/network-modifications/common/measurements/branchActiveReactivePowerForm.utils.js +1 -1
- package/dist/features/network-modifications/common/properties/PropertiesForm.d.ts +1 -1
- package/dist/features/network-modifications/common/properties/PropertiesForm.js +1 -1
- package/dist/features/network-modifications/common/properties/PropertyForm.d.ts +1 -1
- package/dist/features/network-modifications/common/properties/PropertyForm.js +5 -5
- package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +3 -3
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.d.ts +1 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.d.ts +1 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +7 -7
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +1 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveLimits.utils.js +1 -1
- package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.d.ts +1 -1
- package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js +2 -2
- package/dist/features/network-modifications/common/setpoints/SetPointsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/setpoints/SetPointsForm.js +5 -5
- package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.d.ts +1 -1
- package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.js +3 -3
- package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.d.ts +1 -1
- package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +5 -5
- package/dist/features/network-modifications/common/voltageRegulation/voltageRegulation.utils.js +1 -1
- package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.d.ts +1 -1
- package/dist/features/network-modifications/equipmentDeletion/EquipmentDeletionForm.js +12 -6
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.d.ts +1 -1
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.js +5 -5
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.d.ts +1 -1
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +5 -5
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/hvdcLccDeletion.utils.js +1 -1
- package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.d.ts +1 -1
- package/dist/features/network-modifications/generator/creation/GeneratorCreationForm.js +15 -9
- package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +7 -1
- package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.d.ts +1 -1
- package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +11 -5
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabs.d.ts +2 -7
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabs.js +1 -1
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.d.ts +1 -1
- package/dist/features/network-modifications/generator/modification/GeneratorDialogTabsContent.js +15 -9
- package/dist/features/network-modifications/generator/modification/GeneratorModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/generator/modification/GeneratorModificationForm.js +5 -5
- package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +7 -1
- package/dist/features/network-modifications/load/common/LoadDialogHeader.d.ts +1 -1
- package/dist/features/network-modifications/load/common/LoadDialogHeader.js +11 -5
- package/dist/features/network-modifications/load/common/LoadDialogTabs.d.ts +2 -7
- package/dist/features/network-modifications/load/common/LoadDialogTabs.js +1 -1
- package/dist/features/network-modifications/load/common/LoadDialogTabsContent.d.ts +1 -1
- package/dist/features/network-modifications/load/common/LoadDialogTabsContent.js +1 -1
- package/dist/features/network-modifications/load/common/LoadForm.d.ts +1 -1
- package/dist/features/network-modifications/load/common/LoadForm.js +5 -5
- package/dist/features/network-modifications/load/modification/loadModification.utils.js +6 -0
- package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.d.ts +1 -1
- package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +12 -12
- package/dist/features/network-modifications/shunt-compensator/common/characteristicsForm.utils.d.ts +8 -8
- package/dist/features/network-modifications/shunt-compensator/common/characteristicsForm.utils.js +1 -1
- package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.d.ts +1 -1
- package/dist/features/network-modifications/shunt-compensator/creation/ShuntCompensatorCreationForm.js +17 -11
- package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.d.ts +12 -12
- package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +6 -0
- package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +9 -3
- package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.d.ts +12 -12
- package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +6 -0
- package/dist/features/network-modifications/substation/creation/SubstationCreationForm.d.ts +1 -1
- package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +13 -7
- package/dist/features/network-modifications/substation/creation/substationCreation.utils.js +1 -1
- package/dist/features/network-modifications/substation/modification/SubstationModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/substation/modification/SubstationModificationForm.js +13 -7
- package/dist/features/network-modifications/substation/modification/substationModification.utils.js +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/VoltageLevelCreationForm.js +14 -8
- package/dist/features/network-modifications/voltageLevel/creation/index.js +6 -0
- package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/characteristicsTab/CharacteristicsTab.js +9 -9
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/StructureTab.js +5 -5
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusCreation.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusCreation.js +3 -3
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/switchesBetweenSections/SwitchesBetweenSections.js +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationCreationSection.js +13 -7
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/substationTab/SubstationTab.js +5 -5
- package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +9 -3
- package/dist/features/network-modifications/voltageLevel/index.js +6 -0
- package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +10 -4
- package/dist/features/network-modifications/voltageLevel/modification/voltageLevelModification.utils.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/modification/voltageLevelModification.utils.js +3 -3
- package/dist/features/node/build-status-chip.d.ts +1 -1
- package/dist/features/notifications/NotificationsProvider.d.ts +1 -1
- package/dist/features/parameters/common/ProviderParam.d.ts +1 -1
- package/dist/features/parameters/common/ProviderParam.js +5 -5
- package/dist/features/parameters/common/computing-type.d.ts +1 -19
- package/dist/features/parameters/common/computing-type.js +16 -26
- package/dist/features/parameters/common/contingency-table/contingency-table.js +4 -4
- package/dist/features/parameters/common/index.js +1 -2
- package/dist/features/parameters/common/limitreductions/columns-definitions.d.ts +2 -2
- package/dist/features/parameters/common/limitreductions/limit-reduction-table-cell.d.ts +1 -1
- package/dist/features/parameters/common/limitreductions/limit-reduction-table-row.d.ts +1 -1
- package/dist/features/parameters/common/limitreductions/limit-reductions-label-column.d.ts +1 -1
- package/dist/features/parameters/common/limitreductions/limit-reductions-table-form.d.ts +1 -1
- package/dist/features/parameters/common/limitreductions/limit-reductions-tooltip-column.d.ts +1 -1
- package/dist/features/parameters/common/line-separator.d.ts +1 -1
- package/dist/features/parameters/common/line-separator.js +2 -2
- package/dist/features/parameters/common/name-element-editor/name-element-editor-form.d.ts +1 -1
- package/dist/features/parameters/common/name-element-editor/name-element-editor-form.js +4 -4
- package/dist/features/parameters/common/parameter-field.d.ts +1 -1
- package/dist/features/parameters/common/parameter-field.js +4 -4
- package/dist/features/parameters/common/parameter-table-field/parameter-table-field.d.ts +1 -1
- package/dist/features/parameters/common/parameter-table-field/parameter-table-field.js +3 -3
- package/dist/features/parameters/common/parameters-creation-dialog.d.ts +1 -1
- package/dist/features/parameters/common/parameters.d.ts +3 -3
- package/dist/features/parameters/common/parameters.js +3 -3
- package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-cell.d.ts +1 -1
- package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-row.d.ts +1 -1
- package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-float.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-float.js +4 -4
- package/dist/features/parameters/common/widget/parameter-group.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-group.js +2 -2
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +4 -4
- package/dist/features/parameters/common/widget/parameter-line-slider.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-line-slider.js +4 -4
- package/dist/features/parameters/common/widget/parameter-switch.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-switch.js +2 -2
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.d.ts +1 -1
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +6 -6
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.d.ts +2 -2
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +3 -3
- package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +2 -2
- package/dist/features/parameters/dynamic-margin-calculation/time-delay-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-margin-calculation/time-delay-parameters.js +2 -2
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +4 -4
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.d.ts +2 -2
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +3 -3
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.d.ts +1 -1
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +8 -9
- package/dist/features/parameters/dynamic-security-analysis/scenario-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-security-analysis/scenario-parameters.js +2 -2
- package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-select.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/curve/common/checkbox-treeview.d.ts +2 -2
- package/dist/features/parameters/dynamic-simulation/curve/common/grid-buttons.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/curve/common/grid-buttons.js +4 -4
- package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.js +13 -8
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-preview.js +13 -7
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.js +10 -10
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector.js +26 -50
- package/dist/features/parameters/dynamic-simulation/curve/dialog/equipment-filter.js +22 -20
- package/dist/features/parameters/dynamic-simulation/curve/dialog/model-filter.js +11 -10
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.d.ts +2 -3
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +3 -3
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +8 -9
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +2 -2
- package/dist/features/parameters/dynamic-simulation/network/network-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/network/network-parameters.js +2 -2
- package/dist/features/parameters/dynamic-simulation/solver/common-solver/common-solver-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/solver/ida-solver/ida-solver-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/solver/sim-solver/simplified-solver-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/solver/solver-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/solver/solver-parameters.js +2 -2
- package/dist/features/parameters/dynamic-simulation/time-delay/time-delay-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/time-delay/time-delay-parameters.js +2 -2
- package/dist/features/parameters/index.js +1 -2
- package/dist/features/parameters/loadflow/load-flow-general-parameters.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-content.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-content.js +6 -6
- package/dist/features/parameters/loadflow/load-flow-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +6 -11
- package/dist/features/parameters/loadflow/load-flow-parameters-form.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-form.js +2 -2
- package/dist/features/parameters/loadflow/load-flow-parameters-header.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-header.js +5 -5
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.d.ts +2 -3
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +2 -3
- package/dist/features/parameters/loadflow/load-flow-parameters-provider.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +6 -6
- package/dist/features/parameters/loadflow/use-load-flow-parameters-form.d.ts +1 -2
- package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +4 -4
- package/dist/features/parameters/network-visualizations/map-parameters.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/map-parameters.js +10 -10
- package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/network-area-diagram-parameters.js +4 -4
- package/dist/features/parameters/network-visualizations/network-visualizations-form.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/network-visualizations-form.js +5 -8
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +2 -2
- package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/single-line-diagram-parameters.js +10 -10
- package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/pcc-min/pcc-min-parameters-form.d.ts +1 -1
- package/dist/features/parameters/pcc-min/pcc-min-parameters-form.js +5 -8
- package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.d.ts +1 -1
- package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +2 -2
- package/dist/features/parameters/security-analysis/columns-definitions.js +6 -6
- package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +10 -15
- package/dist/features/parameters/security-analysis/security-analysis-parameters-form.d.ts +1 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +7 -7
- package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.d.ts +2 -3
- package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +2 -3
- package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.d.ts +1 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.js +4 -4
- package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.d.ts +1 -1
- package/dist/features/parameters/security-analysis/security-analysis-violations-hiding.js +8 -11
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.d.ts +2 -2
- package/dist/features/parameters/sensi/columns-definitions.d.ts +6 -6
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +5 -10
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-factor-count.d.ts +1 -1
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.d.ts +1 -1
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +8 -8
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.d.ts +2 -3
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +2 -2
- package/dist/features/parameters/sensi/sensitivity-parameters-fields.d.ts +1 -1
- package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +7 -8
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.d.ts +1 -1
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +3 -3
- package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.d.ts +1 -2
- package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +13 -13
- package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-cell.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table-row.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-icc-cluster-table.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-cell.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-icc-material-table-row.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-icc-material-table.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-content.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +4 -4
- package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +1 -6
- package/dist/features/parameters/short-circuit/short-circuit-parameters-form.d.ts +1 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-form.js +4 -7
- package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.d.ts +2 -3
- package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +2 -2
- package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +7 -7
- package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +9 -9
- package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +7 -7
- package/dist/features/parameters/short-circuit/short-circuit-voltage-table.d.ts +1 -1
- package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.d.ts +1 -2
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.d.ts +1 -1
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +5 -5
- package/dist/features/parameters/voltage-init/general-parameters.d.ts +1 -1
- package/dist/features/parameters/voltage-init/general-parameters.js +5 -5
- package/dist/features/parameters/voltage-init/voltage-init-form-utils.js +2 -2
- package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/voltage-init/voltage-init-parameters-form.d.ts +1 -1
- package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +6 -9
- package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.d.ts +1 -1
- package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +2 -2
- package/dist/features/parameters/voltage-init/voltage-limits-parameters.d.ts +1 -1
- package/dist/features/parameters/voltage-init/voltage-limits-parameters.js +2 -2
- package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.d.ts +1 -1
- package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.js +6 -0
- package/dist/features/process-configs/security-analysis/update-sa-process-config.d.ts +1 -1
- package/dist/features/process-configs/security-analysis/update-sa-process-config.js +2 -0
- package/dist/features/process-configs/update-process-config-modifications.d.ts +1 -1
- package/dist/features/process-configs/update-process-config-modifications.js +6 -0
- package/dist/features/results/securityanalysis/security-analysis-result-nmk.d.ts +1 -1
- package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +6 -0
- package/dist/features/results/securityanalysis/security-analysis-table.d.ts +1 -1
- package/dist/features/results/securityanalysis/security-analysis-table.js +6 -0
- package/dist/features/topBar/AboutDialog.d.ts +1 -1
- package/dist/features/topBar/AboutDialog.js +4 -7
- package/dist/features/topBar/DevModeBanner.d.ts +1 -1
- package/dist/features/topBar/GridLogo.d.ts +2 -2
- package/dist/features/topBar/GridLogo.js +1 -1
- package/dist/features/topBar/TopBar.d.ts +1 -1
- package/dist/features/topBar/UserInformationDialog.d.ts +1 -1
- package/dist/features/topBar/UserInformationDialog.js +39 -14
- package/dist/features/topBar/UserSettingsDialog.d.ts +1 -1
- package/dist/hooks/use-parameters-backend.d.ts +1 -1
- package/dist/hooks/use-stable-computed-array.d.ts +2 -0
- package/dist/hooks/use-stable-computed-array.js +16 -0
- package/dist/hooks/useModificationLabelComputer.d.ts +4 -4
- package/dist/index.js +80 -7
- package/dist/services/networkModification.js +1 -1
- package/dist/services/security-analysis.js +1 -1
- package/dist/services/sensitivity-analysis.js +1 -1
- package/dist/translations/en/topBarEn.d.ts +12 -0
- package/dist/translations/en/topBarEn.js +13 -1
- package/dist/translations/fr/topBarFr.d.ts +12 -0
- package/dist/translations/fr/topBarFr.js +13 -1
- package/dist/utils/constants/adornments.js +1 -1
- package/dist/utils/index.js +4 -1
- package/dist/utils/mapper/getFileIcon.d.ts +1 -1
- package/dist/utils/rounding.d.ts +20 -0
- package/dist/utils/rounding.js +26 -0
- package/dist/utils/store-sort-filter-fields.d.ts +38 -0
- package/dist/utils/store-sort-filter-fields.js +66 -0
- package/dist/utils/styles.d.ts +1 -1
- package/dist/utils/ts-utils.d.ts +1 -0
- package/dist/utils/ts-utils.js +7 -0
- package/dist/utils/types/computing-type.d.ts +19 -0
- package/dist/utils/types/computing-type.js +17 -0
- package/dist/utils/types/index.d.ts +1 -0
- package/dist/utils/types/index.js +2 -0
- package/dist/utils/types/parameters.type.d.ts +1 -1
- package/dist/utils/types/types.d.ts +11 -0
- package/package.json +4 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Grid2 } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
@@ -54,8 +54,8 @@ function ConnectivityForm({
|
|
|
54
54
|
return previousValues.terminalConnected ? intl.formatMessage({ id: "connected" }) : intl.formatMessage({ id: "disconnected" });
|
|
55
55
|
}, [intl, previousValues, isEquipmentModification]);
|
|
56
56
|
const previousConnectionDirectionLabel = isEquipmentModification ? getConnectionDirectionLabel(previousValues?.connectablePosition?.connectionDirection) ?? null : null;
|
|
57
|
-
return /* @__PURE__ */ jsxs(
|
|
58
|
-
/* @__PURE__ */ jsx(
|
|
57
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
|
|
58
|
+
/* @__PURE__ */ jsx(Grid2, { size: 8, children: /* @__PURE__ */ jsx(
|
|
59
59
|
VoltageLevelConnectivityForm,
|
|
60
60
|
{
|
|
61
61
|
id,
|
|
@@ -67,7 +67,7 @@ function ConnectivityForm({
|
|
|
67
67
|
fetchBusesOrBusbarSections
|
|
68
68
|
}
|
|
69
69
|
) }),
|
|
70
|
-
/* @__PURE__ */ jsx(
|
|
70
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, children: isEquipmentModification ? /* @__PURE__ */ jsx(
|
|
71
71
|
CheckboxNullableInput,
|
|
72
72
|
{
|
|
73
73
|
name: `${id}.${FieldConstants.CONNECTED}`,
|
|
@@ -75,7 +75,7 @@ function ConnectivityForm({
|
|
|
75
75
|
previousValue: previousConnectedField ?? void 0
|
|
76
76
|
}
|
|
77
77
|
) : /* @__PURE__ */ jsx(SwitchInput, { name: `${id}.${FieldConstants.CONNECTED}`, label: "connected" }) }),
|
|
78
|
-
/* @__PURE__ */ jsx(
|
|
78
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
79
79
|
TextInput,
|
|
80
80
|
{
|
|
81
81
|
name: `${id}.${FieldConstants.CONNECTION_NAME}`,
|
|
@@ -83,7 +83,7 @@ function ConnectivityForm({
|
|
|
83
83
|
previousValue: isEquipmentModification ? previousValues?.connectablePosition?.connectionName ?? void 0 : void 0
|
|
84
84
|
}
|
|
85
85
|
) }),
|
|
86
|
-
/* @__PURE__ */ jsx(
|
|
86
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
87
87
|
SelectInput,
|
|
88
88
|
{
|
|
89
89
|
name: `${id}.${FieldConstants.CONNECTION_DIRECTION}`,
|
|
@@ -96,7 +96,7 @@ function ConnectivityForm({
|
|
|
96
96
|
size: "small"
|
|
97
97
|
}
|
|
98
98
|
) }),
|
|
99
|
-
/* @__PURE__ */ jsx(
|
|
99
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
100
100
|
PositionForm,
|
|
101
101
|
{
|
|
102
102
|
id,
|
|
@@ -7,5 +7,5 @@ interface PositionFormProps extends Pick<ConnectivityNetworkProps, 'PositionDiag
|
|
|
7
7
|
voltageLevelId?: string;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
export declare function PositionForm({ id, isEquipmentModification, previousValues, PositionDiagramPane, }: Readonly<PositionFormProps>): import("react
|
|
10
|
+
export declare function PositionForm({ id, isEquipmentModification, previousValues, PositionDiagramPane, }: Readonly<PositionFormProps>): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Grid2, IconButton } from "@mui/material";
|
|
3
3
|
import { ExploreOutlined, ExploreOffOutlined } from "@mui/icons-material";
|
|
4
4
|
import { useState, useCallback, useMemo } from "react";
|
|
5
5
|
import { useWatch } from "react-hook-form";
|
|
@@ -64,8 +64,8 @@ function PositionForm({
|
|
|
64
64
|
}
|
|
65
65
|
return "NoVoltageLevelPositionMessage";
|
|
66
66
|
}, [isNodeBuilt, voltageLevelForPositionIcon]);
|
|
67
|
-
return /* @__PURE__ */ jsxs(
|
|
68
|
-
/* @__PURE__ */ jsx(
|
|
67
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
|
|
68
|
+
/* @__PURE__ */ jsx(Grid2, { size: "grow", children: /* @__PURE__ */ jsx(
|
|
69
69
|
IntegerInput,
|
|
70
70
|
{
|
|
71
71
|
name: `${id}.${FieldConstants.CONNECTION_POSITION}`,
|
|
@@ -75,7 +75,7 @@ function PositionForm({
|
|
|
75
75
|
}
|
|
76
76
|
) }),
|
|
77
77
|
PositionDiagramPane && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
78
|
-
/* @__PURE__ */ jsx(
|
|
78
|
+
/* @__PURE__ */ jsx(Grid2, { size: 1, children: /* @__PURE__ */ jsx(
|
|
79
79
|
IconButton,
|
|
80
80
|
{
|
|
81
81
|
...isNodeBuilt && voltageLevelForPositionIcon && { onClick: handleClickOpenDiagramPane },
|
package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.d.ts
CHANGED
|
@@ -10,4 +10,4 @@ export interface VoltageLevelConnectivityFormProps extends ConnectivityNetworkPr
|
|
|
10
10
|
isEquipmentModification?: boolean;
|
|
11
11
|
previousValues?: VoltageLevelConnectivityFormPreviousValuesProps;
|
|
12
12
|
}
|
|
13
|
-
export declare function VoltageLevelConnectivityForm({ id, voltageLevelSelectLabel, onVoltageLevelChangeCallback, isEquipmentModification, previousValues, voltageLevelOptions, fetchBusesOrBusbarSections, }: Readonly<VoltageLevelConnectivityFormProps>): import("react
|
|
13
|
+
export declare function VoltageLevelConnectivityForm({ id, voltageLevelSelectLabel, onVoltageLevelChangeCallback, isEquipmentModification, previousValues, voltageLevelOptions, fetchBusesOrBusbarSections, }: Readonly<VoltageLevelConnectivityFormProps>): import("react").JSX.Element;
|
package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Grid2 } from "@mui/material";
|
|
3
3
|
import { useState, useRef, useCallback, useMemo, useEffect } from "react";
|
|
4
4
|
import { useWatch } from "react-hook-form";
|
|
5
5
|
import "@mui/icons-material";
|
|
@@ -107,8 +107,8 @@ function VoltageLevelConnectivityForm({
|
|
|
107
107
|
setBusOrBusbarSectionOptions([]);
|
|
108
108
|
}
|
|
109
109
|
}, [fetchBusesOrBusbarSections, voltageLevelOptions, watchVoltageLevelId]);
|
|
110
|
-
return /* @__PURE__ */ jsxs(
|
|
111
|
-
/* @__PURE__ */ jsx(
|
|
110
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
|
|
111
|
+
/* @__PURE__ */ jsx(Grid2, { size: "grow", children: /* @__PURE__ */ jsx(
|
|
112
112
|
AutocompleteInput,
|
|
113
113
|
{
|
|
114
114
|
isOptionEqualToValue: areIdsEqual,
|
|
@@ -131,7 +131,7 @@ function VoltageLevelConnectivityForm({
|
|
|
131
131
|
size: "small"
|
|
132
132
|
}
|
|
133
133
|
) }),
|
|
134
|
-
/* @__PURE__ */ jsx(
|
|
134
|
+
/* @__PURE__ */ jsx(Grid2, { size: "grow", children: /* @__PURE__ */ jsx(
|
|
135
135
|
AutocompleteInput,
|
|
136
136
|
{
|
|
137
137
|
allowNewValue: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BranchActiveReactivePowerMeasurementsFormProps } from './measurement.type';
|
|
2
|
-
export declare function BranchActiveReactivePowerMeasurementsForm({ equipmentToModify, }: Readonly<BranchActiveReactivePowerMeasurementsFormProps>): import("react
|
|
2
|
+
export declare function BranchActiveReactivePowerMeasurementsForm({ equipmentToModify, }: Readonly<BranchActiveReactivePowerMeasurementsFormProps>): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { PowerMeasurementsForm } from "./PowerMeasurementsForm.js";
|
|
3
|
-
import GridSection from "../../../../components/composite/grid/grid-section.js";
|
|
3
|
+
import { GridSection } from "../../../../components/composite/grid/grid-section.js";
|
|
4
4
|
function BranchActiveReactivePowerMeasurementsForm({
|
|
5
5
|
equipmentToModify
|
|
6
6
|
}) {
|
|
@@ -6,5 +6,5 @@ export interface BusbarSectionVMeasurementInfo {
|
|
|
6
6
|
interface BusbarSectionVoltageMeasurementsFormProps {
|
|
7
7
|
busbarSections: BusbarSectionVMeasurementInfo[];
|
|
8
8
|
}
|
|
9
|
-
export declare function BusbarSectionVoltageMeasurementsForm({ busbarSections, }: Readonly<BusbarSectionVoltageMeasurementsFormProps>): import("react
|
|
9
|
+
export declare function BusbarSectionVoltageMeasurementsForm({ busbarSections, }: Readonly<BusbarSectionVoltageMeasurementsFormProps>): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFieldArray } from "react-hook-form";
|
|
3
|
-
import { Grid2 } from "@mui/material";
|
|
3
|
+
import { Stack, Grid2 } from "@mui/material";
|
|
4
4
|
import { useIntl, FormattedMessage } from "react-intl";
|
|
5
5
|
import { VoltageAdornment } from "../../../../utils/constants/adornments.js";
|
|
6
6
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
@@ -54,6 +54,12 @@ import "../../../../components/composite/agGridTable/BottomTableButtons.js";
|
|
|
54
54
|
import "../../../../components/composite/agGridTable/CustomAgGridTable.js";
|
|
55
55
|
import "ag-grid-community";
|
|
56
56
|
import "../../../../components/composite/customAGGrid/customAggrid.js";
|
|
57
|
+
import "../../../../components/composite/customAGGrid/context/custom-aggrid-context.js";
|
|
58
|
+
import "mathjs";
|
|
59
|
+
import "../../../../components/composite/report/report-viewer/log-table/log-table.js";
|
|
60
|
+
import "react-window";
|
|
61
|
+
import "../../../../components/composite/report/report-treeview/treeview-item.js";
|
|
62
|
+
import "../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
|
|
57
63
|
const BUSBAR_SECTION_V_MEASUREMENTS = "busbarSectionVMeasurements";
|
|
58
64
|
function BusbarSectionVoltageMeasurementsForm({
|
|
59
65
|
busbarSections
|
|
@@ -63,7 +69,7 @@ function BusbarSectionVoltageMeasurementsForm({
|
|
|
63
69
|
});
|
|
64
70
|
const intl = useIntl();
|
|
65
71
|
const sortedFields = fields.map((field, i) => ({ ...field, originalIndex: i })).sort((a, b) => a.busbarSectionId.localeCompare(b.busbarSectionId));
|
|
66
|
-
return /* @__PURE__ */ jsxs(
|
|
72
|
+
return /* @__PURE__ */ jsxs(Stack, { spacing: 1, children: [
|
|
67
73
|
fields.length === 0 && /* @__PURE__ */ jsx(Grid2, { children: /* @__PURE__ */ jsx(FormattedMessage, { id: "NoBusbarSectionFound" }) }),
|
|
68
74
|
sortedFields.map((field) => {
|
|
69
75
|
const { busbarSectionId: bbsId, originalIndex } = field;
|
|
@@ -6,5 +6,5 @@ interface PowerMeasurementsFormProps {
|
|
|
6
6
|
idPrefix?: string;
|
|
7
7
|
reactivePowerOnly?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function PowerMeasurementsForm({ side, activePowerMeasurement, reactivePowerMeasurement, idPrefix, reactivePowerOnly, }: Readonly<PowerMeasurementsFormProps>): import("react
|
|
9
|
+
export declare function PowerMeasurementsForm({ side, activePowerMeasurement, reactivePowerMeasurement, idPrefix, reactivePowerOnly, }: Readonly<PowerMeasurementsFormProps>): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Stack, Grid2 } from "@mui/material";
|
|
3
3
|
import { PowerWithValidityForm } from "./PowerWithValidityForm.js";
|
|
4
4
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
5
5
|
import "../../../../utils/conversionUtils.js";
|
|
@@ -31,8 +31,8 @@ function PowerMeasurementsForm({
|
|
|
31
31
|
activePowerId = `${idPrefix}.${activePowerId}`;
|
|
32
32
|
reactivePowerId = `${idPrefix}.${reactivePowerId}`;
|
|
33
33
|
}
|
|
34
|
-
return /* @__PURE__ */ jsxs(
|
|
35
|
-
!reactivePowerOnly && /* @__PURE__ */ jsx(
|
|
34
|
+
return /* @__PURE__ */ jsxs(Stack, { spacing: 2, children: [
|
|
35
|
+
!reactivePowerOnly && /* @__PURE__ */ jsx(Grid2, { children: /* @__PURE__ */ jsx(
|
|
36
36
|
PowerWithValidityForm,
|
|
37
37
|
{
|
|
38
38
|
id: activePowerId,
|
|
@@ -40,7 +40,7 @@ function PowerMeasurementsForm({
|
|
|
40
40
|
measurement: activePowerMeasurement
|
|
41
41
|
}
|
|
42
42
|
) }),
|
|
43
|
-
/* @__PURE__ */ jsx(
|
|
43
|
+
/* @__PURE__ */ jsx(Grid2, { children: /* @__PURE__ */ jsx(
|
|
44
44
|
PowerWithValidityForm,
|
|
45
45
|
{
|
|
46
46
|
id: reactivePowerId,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MeasurementProps } from './measurement.type';
|
|
2
|
-
export declare function PowerWithValidityForm({ id, field, measurement }: Readonly<MeasurementProps>): import("react
|
|
2
|
+
export declare function PowerWithValidityForm({ id, field, measurement }: Readonly<MeasurementProps>): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
|
-
import {
|
|
4
|
+
import { Grid2 } from "@mui/material";
|
|
5
5
|
import { CheckboxNullableInput } from "../../../../components/ui/reactHookForm/CheckboxNullableInput.js";
|
|
6
6
|
import "@mui/icons-material";
|
|
7
7
|
import "../../../../components/ui/overflowableText/OverflowableText.js";
|
|
@@ -42,8 +42,8 @@ function PowerWithValidityForm({ id, field, measurement }) {
|
|
|
42
42
|
}
|
|
43
43
|
return measurement.validity ? intl.formatMessage({ id: "ValidMeasurement" }) : intl.formatMessage({ id: "InvalidMeasurement" });
|
|
44
44
|
}, [intl, measurement?.validity]);
|
|
45
|
-
return /* @__PURE__ */ jsxs(
|
|
46
|
-
/* @__PURE__ */ jsx(
|
|
45
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
|
|
46
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
47
47
|
FloatInput,
|
|
48
48
|
{
|
|
49
49
|
name: `${id}.${FieldConstants.VALUE}`,
|
|
@@ -53,7 +53,7 @@ function PowerWithValidityForm({ id, field, measurement }) {
|
|
|
53
53
|
clearable: true
|
|
54
54
|
}
|
|
55
55
|
) }),
|
|
56
|
-
/* @__PURE__ */ jsx(
|
|
56
|
+
/* @__PURE__ */ jsx(Grid2, { children: /* @__PURE__ */ jsx(
|
|
57
57
|
CheckboxNullableInput,
|
|
58
58
|
{
|
|
59
59
|
name: `${id}.${FieldConstants.VALIDITY}`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { object } from "yup";
|
|
2
|
-
import {
|
|
2
|
+
import { getPowerWithValidityEditData, getPowerWithValidityEmptyFormData, getPowerWithValidityValidationSchema } from "./powerWithValidity.utils.js";
|
|
3
3
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
4
4
|
import "../../../../utils/conversionUtils.js";
|
|
5
5
|
import "../../../../utils/types/equipmentType.js";
|
|
@@ -3,5 +3,5 @@ type PropertiesFormProps = {
|
|
|
3
3
|
networkElementType?: string;
|
|
4
4
|
isModification?: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare function PropertiesForm({ id, networkElementType, isModification }: Readonly<PropertiesFormProps>): import("react
|
|
6
|
+
export declare function PropertiesForm({ id, networkElementType, isModification }: Readonly<PropertiesFormProps>): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -3,7 +3,7 @@ import { useState, useEffect, useCallback } from "react";
|
|
|
3
3
|
import { useWatch, useFormContext } from "react-hook-form";
|
|
4
4
|
import { fetchPredefinedProperties, initializedProperty } from "./propertyUtils.js";
|
|
5
5
|
import { PropertyForm } from "./PropertyForm.js";
|
|
6
|
-
import GridSection from "../../../../components/composite/grid/grid-section.js";
|
|
6
|
+
import { GridSection } from "../../../../components/composite/grid/grid-section.js";
|
|
7
7
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
8
8
|
import "../../../../utils/conversionUtils.js";
|
|
9
9
|
import "../../../../utils/types/equipmentType.js";
|
|
@@ -4,5 +4,5 @@ type PropertyFormProps = {
|
|
|
4
4
|
index: string;
|
|
5
5
|
predefinedProperties: PredefinedProperties;
|
|
6
6
|
};
|
|
7
|
-
export declare function PropertyForm({ name, index, predefinedProperties }: PropertyFormProps): import("react
|
|
7
|
+
export declare function PropertyForm({ name, index, predefinedProperties }: PropertyFormProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useWatch } from "react-hook-form";
|
|
4
|
-
import {
|
|
4
|
+
import { Grid2 } from "@mui/material";
|
|
5
5
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
6
6
|
import "../../../../utils/conversionUtils.js";
|
|
7
7
|
import "../../../../utils/types/equipmentType.js";
|
|
@@ -53,14 +53,14 @@ function PropertyForm({ name, index, predefinedProperties }) {
|
|
|
53
53
|
return values.sort((a, b) => a.localeCompare(b));
|
|
54
54
|
}, [watchPropertyName, predefinedProperties]);
|
|
55
55
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
56
|
-
watchPropertyDeletionMark || watchPropertyAdded === false && watchPropertyPreviousValue ? /* @__PURE__ */ jsx(
|
|
56
|
+
watchPropertyDeletionMark || watchPropertyAdded === false && watchPropertyPreviousValue ? /* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
57
57
|
TextInput,
|
|
58
58
|
{
|
|
59
59
|
name: `${name}.${index}.${FieldConstants.NAME}`,
|
|
60
60
|
label: "PropertyName",
|
|
61
61
|
formProps: { disabled: true, ...italicFontTextField }
|
|
62
62
|
}
|
|
63
|
-
) }) : /* @__PURE__ */ jsx(
|
|
63
|
+
) }) : /* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
64
64
|
AutocompleteInput,
|
|
65
65
|
{
|
|
66
66
|
name: `${name}.${index}.${FieldConstants.NAME}`,
|
|
@@ -70,7 +70,7 @@ function PropertyForm({ name, index, predefinedProperties }) {
|
|
|
70
70
|
allowNewValue: true
|
|
71
71
|
}
|
|
72
72
|
) }),
|
|
73
|
-
watchPropertyDeletionMark ? /* @__PURE__ */ jsx(
|
|
73
|
+
watchPropertyDeletionMark ? /* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
74
74
|
TextInput,
|
|
75
75
|
{
|
|
76
76
|
name: `${name}.${index}.${FieldConstants.VALUE}`,
|
|
@@ -78,7 +78,7 @@ function PropertyForm({ name, index, predefinedProperties }) {
|
|
|
78
78
|
previousValue: watchPropertyPreviousValue,
|
|
79
79
|
formProps: { disabled: true, ...italicFontTextField }
|
|
80
80
|
}
|
|
81
|
-
) }) : /* @__PURE__ */ jsx(
|
|
81
|
+
) }) : /* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
82
82
|
AutocompleteInput,
|
|
83
83
|
{
|
|
84
84
|
name: `${name}.${index}.${FieldConstants.VALUE}`,
|
|
@@ -5,4 +5,4 @@ export interface ReactiveLimitsFormProps {
|
|
|
5
5
|
previousMinMaxReactiveLimits?: MinMaxReactiveLimitsFormInfos | null;
|
|
6
6
|
updatePreviousReactiveCapabilityCurveTable?: (action: string, index: number) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare function ReactiveLimitsForm({ id, previousReactiveCapabilityCurvePoints, previousMinMaxReactiveLimits, updatePreviousReactiveCapabilityCurveTable, }: Readonly<ReactiveLimitsFormProps>): import("react
|
|
8
|
+
export declare function ReactiveLimitsForm({ id, previousReactiveCapabilityCurvePoints, previousMinMaxReactiveLimits, updatePreviousReactiveCapabilityCurveTable, }: Readonly<ReactiveLimitsFormProps>): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useWatch } from "react-hook-form";
|
|
3
|
-
import {
|
|
3
|
+
import { Grid2 } from "@mui/material";
|
|
4
4
|
import { ReactiveCapabilityCurveTableForm } from "./reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js";
|
|
5
5
|
import { ReactivePowerAdornment } from "../../../../utils/constants/adornments.js";
|
|
6
6
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
@@ -34,7 +34,7 @@ import "../../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
|
34
34
|
import "mui-nested-menu";
|
|
35
35
|
import "react-resizable-panels";
|
|
36
36
|
import "react-papaparse";
|
|
37
|
-
import GridItem from "../../../../components/composite/grid/grid-item.js";
|
|
37
|
+
import { GridItem } from "../../../../components/composite/grid/grid-item.js";
|
|
38
38
|
import { REACTIVE_LIMIT_TYPES } from "./reactiveLimits.utils.js";
|
|
39
39
|
const headerIds = ["ActivePowerText", "MinimumReactivePower", "MaximumReactivePower"];
|
|
40
40
|
function ReactiveLimitsForm({
|
|
@@ -85,7 +85,7 @@ function ReactiveLimitsForm({
|
|
|
85
85
|
disabled: !isReactiveCapabilityCurveOn
|
|
86
86
|
}
|
|
87
87
|
);
|
|
88
|
-
return /* @__PURE__ */ jsxs(
|
|
88
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
|
|
89
89
|
/* @__PURE__ */ jsx(GridItem, { size: 12, children: reactiveCapabilityCurveChoiceRadioField }),
|
|
90
90
|
!isReactiveCapabilityCurveOn && /* @__PURE__ */ jsx(GridItem, { size: 4, children: minimumReactivePowerField }),
|
|
91
91
|
!isReactiveCapabilityCurveOn && /* @__PURE__ */ jsx(GridItem, { size: 4, children: maximumReactivePowerField }),
|
|
@@ -9,4 +9,4 @@ export interface ReactiveCapabilityCurveRowFormProps {
|
|
|
9
9
|
index: number;
|
|
10
10
|
labelSuffix: string | number;
|
|
11
11
|
}
|
|
12
|
-
export declare function ReactiveCapabilityCurveRowForm({ id, index, labelSuffix, }: Readonly<ReactiveCapabilityCurveRowFormProps>): import("react
|
|
12
|
+
export declare function ReactiveCapabilityCurveRowForm({ id, index, labelSuffix, }: Readonly<ReactiveCapabilityCurveRowFormProps>): import("react").JSX.Element;
|
|
@@ -32,7 +32,7 @@ import "../../../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
|
32
32
|
import "mui-nested-menu";
|
|
33
33
|
import "react-resizable-panels";
|
|
34
34
|
import "react-papaparse";
|
|
35
|
-
import GridItem from "../../../../../components/composite/grid/grid-item.js";
|
|
35
|
+
import { GridItem } from "../../../../../components/composite/grid/grid-item.js";
|
|
36
36
|
function ReactiveCapabilityCurveRowForm({
|
|
37
37
|
id,
|
|
38
38
|
index,
|
|
@@ -6,5 +6,5 @@ interface ReactiveCapabilityCurveTableFormProps {
|
|
|
6
6
|
updatePreviousReactiveCapabilityCurveTable?: (action: string, index: number) => void;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function ReactiveCapabilityCurveTableForm({ id, tableHeadersIds, previousValues, updatePreviousReactiveCapabilityCurveTable, disabled, }: Readonly<ReactiveCapabilityCurveTableFormProps>): import("react
|
|
9
|
+
export declare function ReactiveCapabilityCurveTableForm({ id, tableHeadersIds, previousValues, updatePreviousReactiveCapabilityCurveTable, disabled, }: Readonly<ReactiveCapabilityCurveTableFormProps>): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFieldArray } from "react-hook-form";
|
|
3
3
|
import { useCallback, useEffect } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { Grid2, IconButton } from "@mui/material";
|
|
5
5
|
import { Delete, ControlPoint } from "@mui/icons-material";
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
7
|
import { INSERT, REMOVE } from "./reactiveCapability.utils.js";
|
|
@@ -72,9 +72,9 @@ function ReactiveCapabilityCurveTableForm({
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
}, [insertRow, rows]);
|
|
75
|
-
return /* @__PURE__ */ jsxs(
|
|
76
|
-
/* @__PURE__ */ jsx(
|
|
77
|
-
tableHeadersIds.map((header) => /* @__PURE__ */ jsx(
|
|
75
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
|
|
76
|
+
/* @__PURE__ */ jsx(Grid2, { container: true, children: /* @__PURE__ */ jsx(ErrorInput, { name: id, InputField: MidFormError }) }),
|
|
77
|
+
tableHeadersIds.map((header) => /* @__PURE__ */ jsx(Grid2, { size: 3, children: /* @__PURE__ */ jsx(FormattedMessage, { id: header }) }, header)),
|
|
78
78
|
rows.map((value, index, displayedValues) => {
|
|
79
79
|
let labelSuffix;
|
|
80
80
|
if (index === 0) {
|
|
@@ -84,9 +84,9 @@ function ReactiveCapabilityCurveTableForm({
|
|
|
84
84
|
} else {
|
|
85
85
|
labelSuffix = index - 1;
|
|
86
86
|
}
|
|
87
|
-
return /* @__PURE__ */ jsxs(
|
|
87
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 3, children: [
|
|
88
88
|
/* @__PURE__ */ jsx(ReactiveCapabilityCurveRowForm, { id, index, labelSuffix }),
|
|
89
|
-
/* @__PURE__ */ jsx(
|
|
89
|
+
/* @__PURE__ */ jsx(Grid2, { size: 1, children: /* @__PURE__ */ jsx(
|
|
90
90
|
IconButton,
|
|
91
91
|
{
|
|
92
92
|
onClick: () => handleRemoveRow(index),
|
|
@@ -95,7 +95,7 @@ function ReactiveCapabilityCurveTableForm({
|
|
|
95
95
|
},
|
|
96
96
|
value.id
|
|
97
97
|
) }),
|
|
98
|
-
index === displayedValues.length - 1 && /* @__PURE__ */ jsx(
|
|
98
|
+
index === displayedValues.length - 1 && /* @__PURE__ */ jsx(Grid2, { size: 1, children: /* @__PURE__ */ jsx(
|
|
99
99
|
IconButton,
|
|
100
100
|
{
|
|
101
101
|
onClick: () => handleInsertRow(),
|
|
@@ -4,7 +4,7 @@ import "../../../../../utils/conversionUtils.js";
|
|
|
4
4
|
import "../../../../../utils/types/equipmentType.js";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import "@mui/icons-material";
|
|
7
|
-
import {
|
|
7
|
+
import { validateValueIsANumber, toNumber } from "../../../../../utils/validation-functions.js";
|
|
8
8
|
const INSERT = "INSERT";
|
|
9
9
|
const REMOVE = "REMOVE";
|
|
10
10
|
const getCreationRowSchema = () => object().shape({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { object, number, string } from "yup";
|
|
2
|
-
import {
|
|
2
|
+
import { getReactiveCapabilityCurveValidationSchemaArray, getRowEmptyFormData } from "./reactiveCapabilityCurve/reactiveCapability.utils.js";
|
|
3
3
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
4
4
|
import "../../../../utils/conversionUtils.js";
|
|
5
5
|
import "../../../../utils/types/equipmentType.js";
|
package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export interface RegulatingTerminalFormProps {
|
|
|
13
13
|
type: EquipmentType;
|
|
14
14
|
})[]>;
|
|
15
15
|
}
|
|
16
|
-
export declare function RegulatingTerminalForm({ id, direction, disabled, voltageLevelOptions, equipmentSectionTypeDefaultValue, regulatingTerminalVlId, equipmentSectionType, fetchVoltageLevelEquipments, }: Readonly<RegulatingTerminalFormProps>): import("react
|
|
16
|
+
export declare function RegulatingTerminalForm({ id, direction, disabled, voltageLevelOptions, equipmentSectionTypeDefaultValue, regulatingTerminalVlId, equipmentSectionType, fetchVoltageLevelEquipments, }: Readonly<RegulatingTerminalFormProps>): import("react").JSX.Element;
|
package/dist/features/network-modifications/common/regulatingTerminal/RegulatingTerminalForm.js
CHANGED
|
@@ -78,7 +78,7 @@ function RegulatingTerminalForm({
|
|
|
78
78
|
setValue(`${id}.${FieldConstants.EQUIPMENT}`, null);
|
|
79
79
|
}, [id, setValue]);
|
|
80
80
|
return /* @__PURE__ */ jsxs(Grid2, { container: true, direction: direction ?? "row", spacing: 1, children: [
|
|
81
|
-
/* @__PURE__ */ jsx(Grid2, { size: itemSize,
|
|
81
|
+
/* @__PURE__ */ jsx(Grid2, { size: itemSize, children: /* @__PURE__ */ jsx(
|
|
82
82
|
AutocompleteInput,
|
|
83
83
|
{
|
|
84
84
|
name: `${id}.${FieldConstants.VOLTAGE_LEVEL}`,
|
|
@@ -110,7 +110,7 @@ function RegulatingTerminalForm({
|
|
|
110
110
|
allowNewValue: true
|
|
111
111
|
}
|
|
112
112
|
) }),
|
|
113
|
-
/* @__PURE__ */ jsx(Grid2, { size: itemSize,
|
|
113
|
+
/* @__PURE__ */ jsx(Grid2, { size: itemSize, children: /* @__PURE__ */ jsx(
|
|
114
114
|
AutocompleteInput,
|
|
115
115
|
{
|
|
116
116
|
name: `${id}.${FieldConstants.EQUIPMENT}`,
|
|
@@ -11,5 +11,5 @@ interface SetPointsFormProps {
|
|
|
11
11
|
};
|
|
12
12
|
isModification?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare function SetPointsForm({ previousValues, isModification }: Readonly<SetPointsFormProps>): import("react
|
|
14
|
+
export declare function SetPointsForm({ previousValues, isModification }: Readonly<SetPointsFormProps>): import("react").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import GridSection from "../../../../components/composite/grid/grid-section.js";
|
|
2
|
+
import { Grid2 } from "@mui/material";
|
|
3
|
+
import { GridSection } from "../../../../components/composite/grid/grid-section.js";
|
|
4
4
|
import { ActivePowerAdornment, ReactivePowerAdornment } from "../../../../utils/constants/adornments.js";
|
|
5
5
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
6
6
|
import "../../../../utils/conversionUtils.js";
|
|
@@ -36,8 +36,8 @@ import "react-papaparse";
|
|
|
36
36
|
function SetPointsForm({ previousValues, isModification = false }) {
|
|
37
37
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38
38
|
/* @__PURE__ */ jsx(GridSection, { title: "Setpoints" }),
|
|
39
|
-
/* @__PURE__ */ jsxs(
|
|
40
|
-
/* @__PURE__ */ jsx(
|
|
39
|
+
/* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
|
|
40
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
41
41
|
FloatInput,
|
|
42
42
|
{
|
|
43
43
|
name: FieldConstants.ACTIVE_POWER_SET_POINT,
|
|
@@ -47,7 +47,7 @@ function SetPointsForm({ previousValues, isModification = false }) {
|
|
|
47
47
|
clearable: isModification
|
|
48
48
|
}
|
|
49
49
|
) }),
|
|
50
|
-
/* @__PURE__ */ jsx(
|
|
50
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, children: /* @__PURE__ */ jsx(
|
|
51
51
|
FloatInput,
|
|
52
52
|
{
|
|
53
53
|
name: FieldConstants.REACTIVE_POWER_SET_POINT,
|
|
@@ -2,4 +2,4 @@ import { ShortCircuitInfos } from './shortCircuitForm.type';
|
|
|
2
2
|
export interface ShortCircuitFormProps {
|
|
3
3
|
previousValues?: ShortCircuitInfos;
|
|
4
4
|
}
|
|
5
|
-
export declare function ShortCircuitForm({ previousValues }: Readonly<ShortCircuitFormProps>): import("react
|
|
5
|
+
export declare function ShortCircuitForm({ previousValues }: Readonly<ShortCircuitFormProps>): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Grid2 } from "@mui/material";
|
|
3
3
|
import "@mui/icons-material";
|
|
4
4
|
import "react-intl";
|
|
5
5
|
import "../../../../components/ui/overflowableText/OverflowableText.js";
|
|
@@ -32,7 +32,7 @@ import "../../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
|
32
32
|
import "mui-nested-menu";
|
|
33
33
|
import "react-resizable-panels";
|
|
34
34
|
import "react-papaparse";
|
|
35
|
-
import GridItem from "../../../../components/composite/grid/grid-item.js";
|
|
35
|
+
import { GridItem } from "../../../../components/composite/grid/grid-item.js";
|
|
36
36
|
function ShortCircuitForm({ previousValues }) {
|
|
37
37
|
const transientReactanceField = /* @__PURE__ */ jsx(
|
|
38
38
|
FloatInput,
|
|
@@ -54,7 +54,7 @@ function ShortCircuitForm({ previousValues }) {
|
|
|
54
54
|
clearable: true
|
|
55
55
|
}
|
|
56
56
|
);
|
|
57
|
-
return /* @__PURE__ */ jsxs(
|
|
57
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 2, children: [
|
|
58
58
|
/* @__PURE__ */ jsx(GridItem, { size: 4, children: transientReactanceField }),
|
|
59
59
|
/* @__PURE__ */ jsx(GridItem, { size: 4, children: transformerReactanceField })
|
|
60
60
|
] });
|
package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ export interface VoltageRegulationFormProps {
|
|
|
14
14
|
previousValues?: VoltageRegulationFormPreviousValues;
|
|
15
15
|
isEquipmentModification?: boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare function VoltageRegulationForm({ voltageLevelOptions, fetchVoltageLevelEquipments, previousValues, isEquipmentModification, }: Readonly<VoltageRegulationFormProps>): import("react
|
|
17
|
+
export declare function VoltageRegulationForm({ voltageLevelOptions, fetchVoltageLevelEquipments, previousValues, isEquipmentModification, }: Readonly<VoltageRegulationFormProps>): import("react").JSX.Element;
|
package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Box,
|
|
2
|
+
import { Box, Grid2 } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { useWatch } from "react-hook-form";
|
|
5
5
|
import { useIntl, FormattedMessage } from "react-intl";
|
|
@@ -33,7 +33,7 @@ import "../../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
|
33
33
|
import "mui-nested-menu";
|
|
34
34
|
import "react-resizable-panels";
|
|
35
35
|
import "react-papaparse";
|
|
36
|
-
import GridItem from "../../../../components/composite/grid/grid-item.js";
|
|
36
|
+
import { GridItem } from "../../../../components/composite/grid/grid-item.js";
|
|
37
37
|
import { RegulatingTerminalForm } from "../regulatingTerminal/RegulatingTerminalForm.js";
|
|
38
38
|
import { REGULATION_TYPES } from "./voltageRegulation.utils.js";
|
|
39
39
|
function VoltageRegulationForm({
|
|
@@ -83,10 +83,10 @@ function VoltageRegulationForm({
|
|
|
83
83
|
}
|
|
84
84
|
) }),
|
|
85
85
|
/* @__PURE__ */ jsx(Box, { sx: { width: "100%" } }),
|
|
86
|
-
/* @__PURE__ */ jsx(
|
|
86
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, justifySelf: "end" }),
|
|
87
87
|
/* @__PURE__ */ jsx(Box, { sx: { width: "100%" } }),
|
|
88
88
|
isDistantRegulation && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
89
|
-
/* @__PURE__ */ jsx(
|
|
89
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, justifySelf: "end", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "RegulatingTerminalGenerator" }) }),
|
|
90
90
|
/* @__PURE__ */ jsx(GridItem, { size: 8, children: /* @__PURE__ */ jsx(
|
|
91
91
|
RegulatingTerminalForm,
|
|
92
92
|
{
|
|
@@ -98,7 +98,7 @@ function VoltageRegulationForm({
|
|
|
98
98
|
equipmentSectionType: previousEquipmentSectionType
|
|
99
99
|
}
|
|
100
100
|
) }),
|
|
101
|
-
/* @__PURE__ */ jsx(
|
|
101
|
+
/* @__PURE__ */ jsx(Grid2, { size: 4, justifySelf: "end" }),
|
|
102
102
|
/* @__PURE__ */ jsx(GridItem, { size: 4, children: /* @__PURE__ */ jsx(
|
|
103
103
|
FloatInput,
|
|
104
104
|
{
|
package/dist/features/network-modifications/common/voltageRegulation/voltageRegulation.utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { object,
|
|
1
|
+
import { object, string, number, bool } from "yup";
|
|
2
2
|
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
3
3
|
import "../../../../utils/conversionUtils.js";
|
|
4
4
|
import "../../../../utils/types/equipmentType.js";
|
|
@@ -6,4 +6,4 @@ export interface EquipmentDeletionFormProps {
|
|
|
6
6
|
fetchEquipmentIds?: (eqptType: EquipmentType) => Promise<string[]>;
|
|
7
7
|
fetchHvdcWithShuntCompensators?: (hvdcLineId: UUID) => Promise<LccDeletionDto>;
|
|
8
8
|
}
|
|
9
|
-
export declare function EquipmentDeletionForm({ editData, fetchEquipmentIds, fetchHvdcWithShuntCompensators, }: Readonly<EquipmentDeletionFormProps>): import("react
|
|
9
|
+
export declare function EquipmentDeletionForm({ editData, fetchEquipmentIds, fetchHvdcWithShuntCompensators, }: Readonly<EquipmentDeletionFormProps>): import("react").JSX.Element;
|