@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,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useState, useMemo, useEffect } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { Grid2 } from "@mui/material";
|
|
4
4
|
import { green, red } from "@mui/material/colors";
|
|
5
5
|
import { Lens } from "@mui/icons-material";
|
|
6
6
|
import { useWatch } from "react-hook-form";
|
|
7
7
|
import { SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_OUTSIDE_CALCULATION_CLUSTER, intlPredefinedParametersOptions, intlInitialVoltageProfileMode, PredefinedParameters, InitialVoltage, SHORT_CIRCUIT_WITH_FEEDER_RESULT } from "./constants.js";
|
|
8
8
|
import { VoltageTable } from "./short-circuit-voltage-table.js";
|
|
9
|
-
import GridItem from "../../../components/composite/grid/grid-item.js";
|
|
10
|
-
import GridSection from "../../../components/composite/grid/grid-section.js";
|
|
9
|
+
import { GridItem } from "../../../components/composite/grid/grid-item.js";
|
|
10
|
+
import { GridSection } from "../../../components/composite/grid/grid-section.js";
|
|
11
11
|
import "react-intl";
|
|
12
12
|
import "../../../components/ui/overflowableText/OverflowableText.js";
|
|
13
13
|
import "../../../utils/conversionUtils.js";
|
|
@@ -122,9 +122,9 @@ const ShortCircuitGeneralTabPanel = forwardRef(
|
|
|
122
122
|
const newPredefinedParameters = event.target.value;
|
|
123
123
|
resetAll(newPredefinedParameters);
|
|
124
124
|
};
|
|
125
|
-
const feederResult = /* @__PURE__ */ jsxs(
|
|
126
|
-
/* @__PURE__ */ jsx(
|
|
127
|
-
/* @__PURE__ */ jsx(
|
|
125
|
+
const feederResult = /* @__PURE__ */ jsxs(Grid2, { container: true, alignItems: "center", spacing: 2, direction: "row", children: [
|
|
126
|
+
/* @__PURE__ */ jsx(Grid2, { size: 10, children: /* @__PURE__ */ jsx(FieldLabel, { label: "descWithFeederResult" }) }),
|
|
127
|
+
/* @__PURE__ */ jsx(Grid2, { size: 2, children: /* @__PURE__ */ jsx(SwitchInput, { name: `${COMMON_PARAMETERS}.${SHORT_CIRCUIT_WITH_FEEDER_RESULT}` }) })
|
|
128
128
|
] });
|
|
129
129
|
const predefinedParameters = /* @__PURE__ */ jsx(
|
|
130
130
|
MuiSelectInput,
|
|
@@ -183,26 +183,26 @@ const ShortCircuitGeneralTabPanel = forwardRef(
|
|
|
183
183
|
isIccMaxFeaturesDefaultConfiguration,
|
|
184
184
|
isIccMinFeaturesDefaultConfiguration
|
|
185
185
|
]);
|
|
186
|
-
return /* @__PURE__ */ jsx(TabPanel, { index: ShortCircuitParametersTabValues.GENERAL, ref, ...othersTabPanelProps, children: /* @__PURE__ */ jsxs(
|
|
187
|
-
/* @__PURE__ */ jsx(
|
|
186
|
+
return /* @__PURE__ */ jsx(TabPanel, { index: ShortCircuitParametersTabValues.GENERAL, ref, ...othersTabPanelProps, children: /* @__PURE__ */ jsxs(Grid2, { container: true, paddingLeft: 2, children: [
|
|
187
|
+
/* @__PURE__ */ jsx(Grid2, { container: true, paddingTop: 2, size: { xl: 6 }, children: /* @__PURE__ */ jsx(GridItem, { size: 10, children: feederResult }) }),
|
|
188
188
|
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitPredefinedParameters", heading: 4 }),
|
|
189
|
-
/* @__PURE__ */ jsxs(
|
|
189
|
+
/* @__PURE__ */ jsxs(Grid2, { size: { xl: 6 }, container: true, spacing: 1, alignItems: "center", children: [
|
|
190
190
|
/* @__PURE__ */ jsx(GridItem, { size: 9, children: predefinedParameters }),
|
|
191
191
|
/* @__PURE__ */ jsx(GridItem, { size: 2, children: statusToShow })
|
|
192
192
|
] }),
|
|
193
193
|
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitCharacteristics", heading: 4 }),
|
|
194
|
-
/* @__PURE__ */ jsxs(
|
|
195
|
-
/* @__PURE__ */ jsxs(
|
|
194
|
+
/* @__PURE__ */ jsxs(Grid2, { container: true, spacing: 5, size: 12, children: [
|
|
195
|
+
/* @__PURE__ */ jsxs(Grid2, { children: [
|
|
196
196
|
/* @__PURE__ */ jsx(GridItem, { children: loads }),
|
|
197
197
|
/* @__PURE__ */ jsx(GridItem, { children: shuntCompensators })
|
|
198
198
|
] }),
|
|
199
|
-
/* @__PURE__ */ jsxs(
|
|
199
|
+
/* @__PURE__ */ jsxs(Grid2, { size: 8, children: [
|
|
200
200
|
/* @__PURE__ */ jsx(GridItem, { children: vsc }),
|
|
201
201
|
/* @__PURE__ */ jsx(GridItem, { children: neutralPosition })
|
|
202
202
|
] })
|
|
203
203
|
] }),
|
|
204
204
|
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitVoltageProfileMode", heading: 4 }),
|
|
205
|
-
/* @__PURE__ */ jsx(
|
|
205
|
+
/* @__PURE__ */ jsx(Grid2, { container: true, children: /* @__PURE__ */ jsx(GridItem, { size: 12, children: initialVoltageProfileModeField }) }),
|
|
206
206
|
/* @__PURE__ */ jsx(VoltageTable, { voltageProfileMode: watchInitialVoltageProfileMode })
|
|
207
207
|
] }) });
|
|
208
208
|
}
|
|
@@ -5,5 +5,5 @@ interface ShortCircuitIccClusterTableRowProps {
|
|
|
5
5
|
index: number;
|
|
6
6
|
onDeleteButton: (index: number) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare function ShortCircuitIccClusterTableRow({ formName, columnsDefinition, index, onDeleteButton, }: Readonly<ShortCircuitIccClusterTableRowProps>): import("react
|
|
8
|
+
export declare function ShortCircuitIccClusterTableRow({ formName, columnsDefinition, index, onDeleteButton, }: Readonly<ShortCircuitIccClusterTableRowProps>): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -4,5 +4,5 @@ interface ShortCircuitIccClusterTableProps {
|
|
|
4
4
|
formName: string;
|
|
5
5
|
createRows: () => unknown;
|
|
6
6
|
}
|
|
7
|
-
export declare function ShortCircuitIccClusterTable({ formName, columnsDefinition, createRows, }: Readonly<ShortCircuitIccClusterTableProps>): import("react
|
|
7
|
+
export declare function ShortCircuitIccClusterTable({ formName, columnsDefinition, createRows, }: Readonly<ShortCircuitIccClusterTableProps>): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -4,5 +4,5 @@ interface ShortCircuitIccMaterialTableRowProps {
|
|
|
4
4
|
columnsDefinition: IccMaterialIColumnsDef[];
|
|
5
5
|
index: number;
|
|
6
6
|
}
|
|
7
|
-
export declare function ShortCircuitIccMaterialTableRow({ formName, columnsDefinition, index, }: Readonly<ShortCircuitIccMaterialTableRowProps>): import("react
|
|
7
|
+
export declare function ShortCircuitIccMaterialTableRow({ formName, columnsDefinition, index, }: Readonly<ShortCircuitIccMaterialTableRowProps>): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -3,5 +3,5 @@ interface ShortCircuitIccMaterialTableProps {
|
|
|
3
3
|
columnsDefinition: IccMaterialIColumnsDef[];
|
|
4
4
|
formName: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function ShortCircuitIccMaterialTable({ formName, columnsDefinition, }: Readonly<ShortCircuitIccMaterialTableProps>): import("react
|
|
6
|
+
export declare function ShortCircuitIccMaterialTable({ formName, columnsDefinition, }: Readonly<ShortCircuitIccMaterialTableProps>): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -2,5 +2,5 @@ import { UseShortCircuitParametersFormReturn } from './use-short-circuit-paramet
|
|
|
2
2
|
type ShortCircuitParametersContentProps = {
|
|
3
3
|
shortCircuitMethods: UseShortCircuitParametersFormReturn;
|
|
4
4
|
};
|
|
5
|
-
declare function ShortCircuitParametersContent({ shortCircuitMethods }: Readonly<ShortCircuitParametersContentProps>): import("react
|
|
5
|
+
declare function ShortCircuitParametersContent({ shortCircuitMethods }: Readonly<ShortCircuitParametersContentProps>): import("react").JSX.Element;
|
|
6
6
|
export default ShortCircuitParametersContent;
|
|
@@ -1,17 +1,17 @@
|
|
|
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, Tabs, Tab, Box } from "@mui/material";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
6
6
|
import { getTabStyle, parametersStyles } from "../parameters-style.js";
|
|
7
7
|
import { ShortCircuitParametersTabValues } from "./short-circuit-parameters-utils.js";
|
|
8
8
|
import { ShortCircuitGeneralTabPanel } from "./short-circuit-general-tab-panel.js";
|
|
9
9
|
import { ShortCircuitStudyAreaTabPanel } from "./short-circuit-study-area-tab-panel.js";
|
|
10
10
|
import { ShortCircuitPowerElectronicsTabPanel } from "./short-circuit-power-electronics-tab-panel.js";
|
|
11
|
-
import { SPECIFIC_PARAMETERS } from "../common/constants.js";
|
|
12
11
|
import "../../../utils/conversionUtils.js";
|
|
13
12
|
import "../../../utils/types/equipmentType.js";
|
|
14
13
|
import "@mui/icons-material";
|
|
14
|
+
import { SPECIFIC_PARAMETERS } from "../common/constants.js";
|
|
15
15
|
import "localized-countries";
|
|
16
16
|
import "localized-countries/data/fr";
|
|
17
17
|
import "localized-countries/data/en";
|
|
@@ -65,7 +65,7 @@ function ShortCircuitParametersContent({ shortCircuitMethods }) {
|
|
|
65
65
|
[watchSpecificParameters]
|
|
66
66
|
);
|
|
67
67
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68
|
-
/* @__PURE__ */ jsx(
|
|
68
|
+
/* @__PURE__ */ jsx(Grid2, { sx: { width: "100%" }, children: /* @__PURE__ */ jsxs(Tabs, { value: selectedTab, onChange: handleTabChange, children: [
|
|
69
69
|
/* @__PURE__ */ jsx(
|
|
70
70
|
Tab,
|
|
71
71
|
{
|
|
@@ -91,7 +91,7 @@ function ShortCircuitParametersContent({ shortCircuitMethods }) {
|
|
|
91
91
|
}
|
|
92
92
|
)
|
|
93
93
|
] }) }),
|
|
94
|
-
/* @__PURE__ */ jsx(Box, { sx: styles.wrapper, children: /* @__PURE__ */ jsx(
|
|
94
|
+
/* @__PURE__ */ jsx(Box, { sx: styles.wrapper, children: /* @__PURE__ */ jsx(Grid2, { container: true, sx: styles.container, children: /* @__PURE__ */ jsxs(Grid2, { sx: styles.maxWidth, children: [
|
|
95
95
|
/* @__PURE__ */ jsx(ShortCircuitGeneralTabPanel, { resetAll, value: selectedTab }),
|
|
96
96
|
isThereSpecificParameters && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
97
97
|
/* @__PURE__ */ jsx(ShortCircuitStudyAreaTabPanel, { value: selectedTab }),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ParametersEditionDialogProps } from '../common';
|
|
2
|
-
export declare function ShortCircuitParametersEditionDialog({ id, open, onClose, titleId, name, description, activeDirectory, userProfile, language, }: Readonly<ParametersEditionDialogProps>): import("react
|
|
2
|
+
export declare function ShortCircuitParametersEditionDialog({ id, open, onClose, titleId, name, description, activeDirectory, userProfile, language, }: Readonly<ParametersEditionDialogProps>): import("react").JSX.Element;
|
|
@@ -5,6 +5,7 @@ import "../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
|
5
5
|
import "../../../utils/conversionUtils.js";
|
|
6
6
|
import { ElementType } from "../../../utils/types/elementType.js";
|
|
7
7
|
import "../../../utils/types/equipmentType.js";
|
|
8
|
+
import { ComputingType } from "../../../utils/types/computing-type.js";
|
|
8
9
|
import "@mui/icons-material";
|
|
9
10
|
import { fetchShortCircuitParameters, updateShortCircuitParameters, getShortCircuitSpecificParametersDescription } from "../../../services/short-circuit-analysis.js";
|
|
10
11
|
import "react";
|
|
@@ -36,12 +37,6 @@ import "react-resizable-panels";
|
|
|
36
37
|
import "react-papaparse";
|
|
37
38
|
import { useShortCircuitParametersForm } from "./use-short-circuit-parameters-form.js";
|
|
38
39
|
import { ShortCircuitParametersForm } from "./short-circuit-parameters-form.js";
|
|
39
|
-
import { ComputingType } from "../common/computing-type.js";
|
|
40
|
-
import "../common/widget/parameter-line-slider.js";
|
|
41
|
-
import "../common/limitreductions/columns-definitions.js";
|
|
42
|
-
import "../common/contingency-table/contingency-table.js";
|
|
43
|
-
import "../common/contingency-table/columns-definitions.js";
|
|
44
|
-
import "@hookform/resolvers/yup";
|
|
45
40
|
function ShortCircuitParametersEditionDialog({
|
|
46
41
|
id,
|
|
47
42
|
open,
|
|
@@ -5,5 +5,5 @@ interface ShortCircuitParametersFormProps {
|
|
|
5
5
|
renderTitleFields?: () => ReactNode;
|
|
6
6
|
renderActions?: () => ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare function ShortCircuitParametersForm({ shortCircuitMethods, renderTitleFields, renderActions, }: Readonly<ShortCircuitParametersFormProps>): import("react
|
|
8
|
+
export declare function ShortCircuitParametersForm({ shortCircuitMethods, renderTitleFields, renderActions, }: Readonly<ShortCircuitParametersFormProps>): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box,
|
|
2
|
+
import { Box, Stack, Grid2, LinearProgress } from "@mui/material";
|
|
3
3
|
import "@mui/icons-material";
|
|
4
4
|
import "react-intl";
|
|
5
5
|
import "../../../components/ui/overflowableText/OverflowableText.js";
|
|
@@ -46,14 +46,11 @@ function ShortCircuitParametersForm({
|
|
|
46
46
|
}) {
|
|
47
47
|
const { formMethods, formSchema, paramsLoaded } = shortCircuitMethods;
|
|
48
48
|
return /* @__PURE__ */ jsx(CustomFormProvider, { validationSchema: formSchema, ...formMethods, removeOptional: true, children: /* @__PURE__ */ jsxs(Box, { sx: styles.shortCircuitParameters, children: [
|
|
49
|
-
/* @__PURE__ */ jsx(
|
|
50
|
-
paramsLoaded ? /* @__PURE__ */ jsx(
|
|
49
|
+
/* @__PURE__ */ jsx(Stack, { children: renderTitleFields?.() }),
|
|
50
|
+
paramsLoaded ? /* @__PURE__ */ jsx(Grid2, { sx: parametersStyles.scrollableGrid, children: /* @__PURE__ */ jsx(ShortCircuitParametersContent, { shortCircuitMethods }) }) : /* @__PURE__ */ jsx(LinearProgress, {}),
|
|
51
51
|
/* @__PURE__ */ jsx(
|
|
52
|
-
|
|
52
|
+
Stack,
|
|
53
53
|
{
|
|
54
|
-
item: true,
|
|
55
|
-
container: true,
|
|
56
|
-
direction: "column",
|
|
57
54
|
sx: {
|
|
58
55
|
position: "absolute",
|
|
59
56
|
bottom: "15px"
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UUID } from 'node:crypto';
|
|
2
|
-
import { UseParametersBackendReturnProps } from '../../../utils';
|
|
3
|
-
import { ComputingType } from '../common';
|
|
2
|
+
import { ComputingType, UseParametersBackendReturnProps } from '../../../utils';
|
|
4
3
|
export declare function ShortCircuitParametersInLine({ studyUuid, setHaveDirtyFields, parametersBackend, }: Readonly<{
|
|
5
4
|
studyUuid: UUID | null;
|
|
6
5
|
setHaveDirtyFields: (isDirty: boolean) => void;
|
|
7
6
|
parametersBackend: UseParametersBackendReturnProps<ComputingType.SHORT_CIRCUIT>;
|
|
8
|
-
}>): import("react
|
|
7
|
+
}>): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useCallback, useEffect } from "react";
|
|
3
|
-
import { Box,
|
|
3
|
+
import { Box, Grid2 } from "@mui/material";
|
|
4
4
|
import { useIntl, FormattedMessage } from "react-intl";
|
|
5
5
|
import "../../../utils/conversionUtils.js";
|
|
6
6
|
import { snackWithFallback } from "../../../utils/error.js";
|
|
@@ -106,7 +106,7 @@ function ShortCircuitParametersInLine({
|
|
|
106
106
|
shortCircuitMethods,
|
|
107
107
|
renderActions: () => {
|
|
108
108
|
return /* @__PURE__ */ jsxs(Box, { children: [
|
|
109
|
-
/* @__PURE__ */ jsxs(
|
|
109
|
+
/* @__PURE__ */ jsxs(Grid2, { container: true, children: [
|
|
110
110
|
/* @__PURE__ */ jsx(
|
|
111
111
|
LabelledButton,
|
|
112
112
|
{
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as yup from "yup";
|
|
2
|
-
import {
|
|
3
|
-
import { COMMON_PARAMETERS, SPECIFIC_PARAMETERS } from "../common/constants.js";
|
|
4
|
-
import "react/jsx-runtime";
|
|
5
|
-
import "@mui/material";
|
|
6
|
-
import "react-intl";
|
|
7
|
-
import "react";
|
|
2
|
+
import { SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS, NODE_CLUSTER, NODE_CLUSTER_FILTER_IDS, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, InitialVoltage, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_FEEDER_RESULT } from "./constants.js";
|
|
8
3
|
import { ID } from "../../../utils/constants/filterConstant.js";
|
|
9
4
|
import { YUP_REQUIRED } from "../../../utils/constants/translationKeys.js";
|
|
10
5
|
import "../../../utils/conversionUtils.js";
|
|
11
6
|
import { snackWithFallback } from "../../../utils/error.js";
|
|
12
7
|
import "../../../utils/types/equipmentType.js";
|
|
8
|
+
import "react/jsx-runtime";
|
|
13
9
|
import "@mui/icons-material";
|
|
10
|
+
import { COMMON_PARAMETERS, SPECIFIC_PARAMETERS } from "../common/constants.js";
|
|
11
|
+
import "@mui/material";
|
|
12
|
+
import "react-intl";
|
|
13
|
+
import "react";
|
|
14
14
|
import "localized-countries";
|
|
15
15
|
import "localized-countries/data/fr";
|
|
16
16
|
import "localized-countries/data/en";
|
|
@@ -41,7 +41,7 @@ import "../common/contingency-table/contingency-table.js";
|
|
|
41
41
|
import "../common/contingency-table/columns-definitions.js";
|
|
42
42
|
import "@hookform/resolvers/yup";
|
|
43
43
|
import "../../../components/composite/filter/HeaderFilterForm.js";
|
|
44
|
-
import {
|
|
44
|
+
import { formatSpecificParameters, getDefaultSpecificParamsValues, getAllSpecificParametersValues, getSpecificParametersFormSchema } from "../common/utils.js";
|
|
45
45
|
var ShortCircuitParametersTabValues = /* @__PURE__ */ ((ShortCircuitParametersTabValues2) => {
|
|
46
46
|
ShortCircuitParametersTabValues2["GENERAL"] = "General";
|
|
47
47
|
ShortCircuitParametersTabValues2["STUDY_AREA"] = "StudyArea";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { Grid2 } from "@mui/material";
|
|
4
4
|
import { FormattedMessage } from "react-intl";
|
|
5
5
|
import { ShortCircuitIccMaterialTable } from "./short-circuit-icc-material-table.js";
|
|
6
|
-
import { SPECIFIC_PARAMETERS } from "../common/constants.js";
|
|
7
|
-
import { TabPanel } from "../common/parameters.js";
|
|
8
6
|
import "../../../utils/conversionUtils.js";
|
|
9
7
|
import "../../../utils/types/equipmentType.js";
|
|
10
8
|
import "@mui/icons-material";
|
|
9
|
+
import { SPECIFIC_PARAMETERS } from "../common/constants.js";
|
|
10
|
+
import { TabPanel } from "../common/parameters.js";
|
|
11
11
|
import "localized-countries";
|
|
12
12
|
import "localized-countries/data/fr";
|
|
13
13
|
import "localized-countries/data/en";
|
|
@@ -40,8 +40,8 @@ import "../common/contingency-table/contingency-table.js";
|
|
|
40
40
|
import "../common/contingency-table/columns-definitions.js";
|
|
41
41
|
import "@hookform/resolvers/yup";
|
|
42
42
|
import "../../../components/composite/filter/HeaderFilterForm.js";
|
|
43
|
-
import GridSection from "../../../components/composite/grid/grid-section.js";
|
|
44
|
-
import GridItem from "../../../components/composite/grid/grid-item.js";
|
|
43
|
+
import { GridSection } from "../../../components/composite/grid/grid-section.js";
|
|
44
|
+
import { GridItem } from "../../../components/composite/grid/grid-item.js";
|
|
45
45
|
import { SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS } from "./constants.js";
|
|
46
46
|
import { ShortCircuitIccClusterTable } from "./short-circuit-icc-cluster-table.js";
|
|
47
47
|
import { COLUMNS_DEFINITIONS_ICC_MATERIALS, COLUMNS_DEFINITIONS_ICC_CLUSTERS } from "./columns-definition.js";
|
|
@@ -65,13 +65,13 @@ function createRows() {
|
|
|
65
65
|
}
|
|
66
66
|
const ShortCircuitPowerElectronicsTabPanel = forwardRef(
|
|
67
67
|
({ ...othersTabPanelProps }, ref) => {
|
|
68
|
-
const modelPowerElectronics = /* @__PURE__ */ jsxs(
|
|
69
|
-
/* @__PURE__ */ jsx(
|
|
70
|
-
/* @__PURE__ */ jsx(
|
|
68
|
+
const modelPowerElectronics = /* @__PURE__ */ jsxs(Grid2, { container: true, alignItems: "center", spacing: 2, direction: "row", children: [
|
|
69
|
+
/* @__PURE__ */ jsx(Grid2, { size: 10, children: /* @__PURE__ */ jsx(FieldLabel, { label: "ShortCircuitModelPowerElectronics" }) }),
|
|
70
|
+
/* @__PURE__ */ jsx(Grid2, { size: 2, children: /* @__PURE__ */ jsx(SwitchInput, { name: `${SPECIFIC_PARAMETERS}.${SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS}` }) })
|
|
71
71
|
] });
|
|
72
72
|
return /* @__PURE__ */ jsxs(TabPanel, { index: ShortCircuitParametersTabValues.POWER_ELECTRONICS, ref, ...othersTabPanelProps, children: [
|
|
73
73
|
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitPowerElectronicsSection", heading: 4 }),
|
|
74
|
-
/* @__PURE__ */ jsx(
|
|
74
|
+
/* @__PURE__ */ jsx(Grid2, { container: true, size: { xl: 6 }, children: /* @__PURE__ */ jsx(GridItem, { size: 10, children: modelPowerElectronics }) }),
|
|
75
75
|
/* @__PURE__ */ jsx(
|
|
76
76
|
ShortCircuitIccMaterialTable,
|
|
77
77
|
{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { Grid2, Box } from "@mui/material";
|
|
4
4
|
import { useFormContext } from "react-hook-form";
|
|
5
|
-
import { SPECIFIC_PARAMETERS } from "../common/constants.js";
|
|
6
|
-
import { TabPanel } from "../common/parameters.js";
|
|
7
|
-
import "react-intl";
|
|
8
5
|
import { ActivePowerAdornment } from "../../../utils/constants/adornments.js";
|
|
9
6
|
import "../../../utils/conversionUtils.js";
|
|
10
7
|
import { ElementType } from "../../../utils/types/elementType.js";
|
|
11
8
|
import { EquipmentType } from "../../../utils/types/equipmentType.js";
|
|
12
9
|
import "@mui/icons-material";
|
|
10
|
+
import { SPECIFIC_PARAMETERS } from "../common/constants.js";
|
|
11
|
+
import { TabPanel } from "../common/parameters.js";
|
|
12
|
+
import "react-intl";
|
|
13
13
|
import "localized-countries";
|
|
14
14
|
import "localized-countries/data/fr";
|
|
15
15
|
import "localized-countries/data/en";
|
|
@@ -44,8 +44,8 @@ import "../common/contingency-table/contingency-table.js";
|
|
|
44
44
|
import "../common/contingency-table/columns-definitions.js";
|
|
45
45
|
import "@hookform/resolvers/yup";
|
|
46
46
|
import "../../../components/composite/filter/HeaderFilterForm.js";
|
|
47
|
-
import GridSection from "../../../components/composite/grid/grid-section.js";
|
|
48
|
-
import GridItem from "../../../components/composite/grid/grid-item.js";
|
|
47
|
+
import { GridSection } from "../../../components/composite/grid/grid-section.js";
|
|
48
|
+
import { GridItem } from "../../../components/composite/grid/grid-item.js";
|
|
49
49
|
import { NODE_CLUSTER_FILTER_IDS, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER, onlyStartedGeneratorsOptions, STARTED_GENERATORS_IN_CALCULATION_CLUSTER_THRESHOLD, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_OUTSIDE_CALCULATION_CLUSTER, STARTED_GENERATORS_OUTSIDE_CALCULATION_CLUSTER_THRESHOLD } from "./constants.js";
|
|
50
50
|
import { ShortCircuitParametersTabValues } from "./short-circuit-parameters-utils.js";
|
|
51
51
|
const equipmentTypes = [EquipmentType.VOLTAGE_LEVEL];
|
|
@@ -111,7 +111,7 @@ const ShortCircuitStudyAreaTabPanel = forwardRef(
|
|
|
111
111
|
);
|
|
112
112
|
return /* @__PURE__ */ jsxs(TabPanel, { index: ShortCircuitParametersTabValues.STUDY_AREA, ref, ...othersTabPanelProps, children: [
|
|
113
113
|
/* @__PURE__ */ jsx(GridSection, { title: "ShortCircuitInClusterFilter", heading: 4 }),
|
|
114
|
-
/* @__PURE__ */ jsx(
|
|
114
|
+
/* @__PURE__ */ jsx(Grid2, { size: "grow", sx: { paddingBottom: 4 }, children: /* @__PURE__ */ jsx(
|
|
115
115
|
DirectoryItemsInput,
|
|
116
116
|
{
|
|
117
117
|
titleId: "FiltersListsSelection",
|
|
@@ -2,4 +2,4 @@ import { InitialVoltage } from './constants';
|
|
|
2
2
|
export interface VoltageTableProps {
|
|
3
3
|
voltageProfileMode: InitialVoltage;
|
|
4
4
|
}
|
|
5
|
-
export declare function VoltageTable({ voltageProfileMode }: Readonly<VoltageTableProps>): import("react
|
|
5
|
+
export declare function VoltageTable({ voltageProfileMode }: Readonly<VoltageTableProps>): import("react").JSX.Element;
|
|
@@ -2,9 +2,8 @@ import { FieldErrors, UseFormReturn } from 'react-hook-form';
|
|
|
2
2
|
import { SyntheticEvent } from 'react';
|
|
3
3
|
import { UUID } from 'node:crypto';
|
|
4
4
|
import { PredefinedParameters } from './constants';
|
|
5
|
-
import { SpecificParameterInfos, UseParametersBackendReturnProps } from '../../../utils';
|
|
5
|
+
import { ComputingType, SpecificParameterInfos, UseParametersBackendReturnProps } from '../../../utils';
|
|
6
6
|
import { ShortCircuitParametersInfos } from './short-circuit-parameters.type';
|
|
7
|
-
import { ComputingType } from '../common';
|
|
8
7
|
import { ShortCircuitParametersTabValues } from './short-circuit-parameters-utils';
|
|
9
8
|
import * as yup from 'yup';
|
|
10
9
|
export interface UseShortCircuitParametersFormReturn {
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
export declare function EquipmentSelectionParameters(): import("react
|
|
7
|
+
export declare function EquipmentSelectionParameters(): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Stack, Alert, Grid2 } from "@mui/material";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
4
|
import "@mui/icons-material";
|
|
5
5
|
import "../../../components/ui/overflowableText/OverflowableText.js";
|
|
@@ -63,9 +63,9 @@ const initialEquipmentsSelectionType = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function EquipmentSelectionParameters() {
|
|
66
|
-
return /* @__PURE__ */ jsxs(
|
|
66
|
+
return /* @__PURE__ */ jsxs(Stack, { children: [
|
|
67
67
|
/* @__PURE__ */ jsx(Alert, { sx: equipmentsSelectionStyles.alert, severity: "info", variant: "outlined", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "VoltageInitParametersEquipmentsSelectionAlert" }) }),
|
|
68
|
-
/* @__PURE__ */ jsx(
|
|
68
|
+
/* @__PURE__ */ jsx(Grid2, { container: true, justifyContent: "flex-end", sx: equipmentsSelectionStyles.choiceContainer, children: /* @__PURE__ */ jsx(Grid2, { size: 5, sx: equipmentsSelectionStyles.choice, children: /* @__PURE__ */ jsx(
|
|
69
69
|
RadioInput,
|
|
70
70
|
{
|
|
71
71
|
name: GENERATORS_SELECTION_TYPE,
|
|
@@ -82,7 +82,7 @@ function EquipmentSelectionParameters() {
|
|
|
82
82
|
hideErrorMessage: true
|
|
83
83
|
}
|
|
84
84
|
),
|
|
85
|
-
/* @__PURE__ */ jsx(
|
|
85
|
+
/* @__PURE__ */ jsx(Grid2, { container: true, justifyContent: "flex-end", sx: equipmentsSelectionStyles.choiceContainer, children: /* @__PURE__ */ jsx(Grid2, { size: 5, sx: equipmentsSelectionStyles.choice, children: /* @__PURE__ */ jsx(
|
|
86
86
|
RadioInput,
|
|
87
87
|
{
|
|
88
88
|
name: TRANSFORMERS_SELECTION_TYPE,
|
|
@@ -99,7 +99,7 @@ function EquipmentSelectionParameters() {
|
|
|
99
99
|
hideErrorMessage: true
|
|
100
100
|
}
|
|
101
101
|
),
|
|
102
|
-
/* @__PURE__ */ jsx(
|
|
102
|
+
/* @__PURE__ */ jsx(Grid2, { container: true, justifyContent: "flex-end", sx: equipmentsSelectionStyles.choiceContainer, children: /* @__PURE__ */ jsx(Grid2, { size: 5, sx: equipmentsSelectionStyles.choice, children: /* @__PURE__ */ jsx(
|
|
103
103
|
RadioInput,
|
|
104
104
|
{
|
|
105
105
|
name: SHUNT_COMPENSATORS_SELECTION_TYPE,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface GeneralParametersProps {
|
|
2
2
|
withApplyModifications: boolean;
|
|
3
3
|
}
|
|
4
|
-
export declare function GeneralParameters({ withApplyModifications }: Readonly<GeneralParametersProps>): import("react
|
|
4
|
+
export declare function GeneralParameters({ withApplyModifications }: Readonly<GeneralParametersProps>): import("react").JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs,
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
3
3
|
import { useCallback } from "react";
|
|
4
4
|
import { FormattedMessage } from "react-intl";
|
|
5
|
-
import {
|
|
5
|
+
import { Grid2, Alert, Box } from "@mui/material";
|
|
6
6
|
import { GENERAL, GENERAL_APPLY_MODIFICATIONS, UPDATE_BUS_VOLTAGE, REACTIVE_SLACKS_THRESHOLD, SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD } from "./constants.js";
|
|
7
|
-
import { LineSeparator } from "../common/line-separator.js";
|
|
8
|
-
import { parametersStyles } from "../parameters-style.js";
|
|
9
7
|
import { ReactivePowerAdornment } from "../../../utils/constants/adornments.js";
|
|
10
8
|
import "../../../utils/conversionUtils.js";
|
|
11
9
|
import "../../../utils/types/equipmentType.js";
|
|
12
10
|
import "@mui/icons-material";
|
|
11
|
+
import { LineSeparator } from "../common/line-separator.js";
|
|
12
|
+
import { parametersStyles } from "../parameters-style.js";
|
|
13
13
|
import "localized-countries";
|
|
14
14
|
import "localized-countries/data/fr";
|
|
15
15
|
import "localized-countries/data/en";
|
|
@@ -65,7 +65,7 @@ function GeneralParameters({ withApplyModifications }) {
|
|
|
65
65
|
},
|
|
66
66
|
[setValue]
|
|
67
67
|
);
|
|
68
|
-
return /* @__PURE__ */ jsxs(
|
|
68
|
+
return /* @__PURE__ */ jsxs(Grid2, { children: [
|
|
69
69
|
withApplyModifications && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
70
70
|
/* @__PURE__ */ jsx(Alert, { sx: parametersStyles.adjustExistingLimitsInfo, severity: "info", variant: "outlined", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "VoltageInitParametersGeneralSaveInfo" }) }),
|
|
71
71
|
/* @__PURE__ */ jsx(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EquipmentsSelectionType } from "./voltage-init.type.js";
|
|
2
|
-
import {
|
|
2
|
+
import { DEFAULT_UPDATE_BUS_VOLTAGE, VARIABLE_SHUNT_COMPENSATORS, SHUNT_COMPENSATORS_SELECTION_TYPE, VARIABLE_TRANSFORMERS, TRANSFORMERS_SELECTION_TYPE, VARIABLE_Q_GENERATORS, GENERATORS_SELECTION_TYPE, VOLTAGE_LIMITS_DEFAULT, HIGH_VOLTAGE_LIMIT, LOW_VOLTAGE_LIMIT, VOLTAGE_LIMITS_MODIFICATION, VoltageInitTabValues, SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD, REACTIVE_SLACKS_THRESHOLD, UPDATE_BUS_VOLTAGE, GENERAL_APPLY_MODIFICATIONS, DEFAULT_SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD, DEFAULT_REACTIVE_SLACKS_THRESHOLD, DEFAULT_GENERAL_APPLY_MODIFICATIONS, PRIORITY } from "./constants.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "@mui/material";
|
|
5
5
|
import "@mui/icons-material";
|
|
6
6
|
import "react-intl";
|
|
7
7
|
import "../../../components/ui/overflowableText/OverflowableText.js";
|
|
8
|
-
import { FILTER_NAME,
|
|
8
|
+
import { FILTER_NAME, ID, FILTER_ID, FILTERS } from "../../../utils/constants/filterConstant.js";
|
|
9
9
|
import "../../../utils/conversionUtils.js";
|
|
10
10
|
import "../../../utils/types/equipmentType.js";
|
|
11
11
|
import "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ParametersEditionDialogProps } from '../common';
|
|
2
|
-
export declare function VoltageInitParametersEditionDialog({ id, open, onClose, titleId, name, description, activeDirectory, language, }: Readonly<ParametersEditionDialogProps>): import("react
|
|
2
|
+
export declare function VoltageInitParametersEditionDialog({ id, open, onClose, titleId, name, description, activeDirectory, language, }: Readonly<ParametersEditionDialogProps>): import("react").JSX.Element;
|
|
@@ -25,5 +25,5 @@ interface VoltageInitParametersFormProps {
|
|
|
25
25
|
renderTitleFields?: () => ReactNode;
|
|
26
26
|
renderActions?: () => ReactNode;
|
|
27
27
|
}
|
|
28
|
-
export declare function VoltageInitParametersForm({ voltageInitMethods, renderTitleFields, renderActions, }: Readonly<VoltageInitParametersFormProps>): import("react
|
|
28
|
+
export declare function VoltageInitParametersForm({ voltageInitMethods, renderTitleFields, renderActions, }: Readonly<VoltageInitParametersFormProps>): import("react").JSX.Element;
|
|
29
29
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box,
|
|
2
|
+
import { Box, Grid2, Stack, LinearProgress, Tabs, Tab } from "@mui/material";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
|
-
import {
|
|
4
|
+
import { getTabStyle, getTabIndicatorStyle } from "../parameters-style.js";
|
|
5
5
|
import "@mui/icons-material";
|
|
6
6
|
import "../../../components/ui/overflowableText/OverflowableText.js";
|
|
7
7
|
import "../../../utils/conversionUtils.js";
|
|
@@ -75,8 +75,8 @@ function VoltageInitParametersForm({
|
|
|
75
75
|
position: "relative"
|
|
76
76
|
},
|
|
77
77
|
children: [
|
|
78
|
-
/* @__PURE__ */ jsxs(
|
|
79
|
-
/* @__PURE__ */ jsx(
|
|
78
|
+
/* @__PURE__ */ jsxs(Grid2, { container: true, sx: renderActions ? styles.gridWithActions : styles.gridWithoutActions, children: [
|
|
79
|
+
/* @__PURE__ */ jsx(Stack, { children: renderTitleFields?.() }),
|
|
80
80
|
paramsLoading ? /* @__PURE__ */ jsx(LinearProgress, {}) : /* @__PURE__ */ jsxs(
|
|
81
81
|
Box,
|
|
82
82
|
{
|
|
@@ -122,7 +122,7 @@ function VoltageInitParametersForm({
|
|
|
122
122
|
]
|
|
123
123
|
}
|
|
124
124
|
),
|
|
125
|
-
/* @__PURE__ */ jsxs(
|
|
125
|
+
/* @__PURE__ */ jsxs(Grid2, { container: true, children: [
|
|
126
126
|
/* @__PURE__ */ jsx(TabPanel, { value: selectedTab, index: VoltageInitTabValues.GENERAL, children: /* @__PURE__ */ jsx(GeneralParameters, { withApplyModifications: renderActions != null }) }),
|
|
127
127
|
/* @__PURE__ */ jsx(TabPanel, { value: selectedTab, index: VoltageInitTabValues.VOLTAGE_LIMITS, children: /* @__PURE__ */ jsx(VoltageLimitsParameters, {}) }),
|
|
128
128
|
/* @__PURE__ */ jsx(TabPanel, { value: selectedTab, index: VoltageInitTabValues.EQUIPMENTS_SELECTION, children: /* @__PURE__ */ jsx(EquipmentSelectionParameters, {}) })
|
|
@@ -132,11 +132,8 @@ function VoltageInitParametersForm({
|
|
|
132
132
|
)
|
|
133
133
|
] }),
|
|
134
134
|
renderActions && /* @__PURE__ */ jsx(
|
|
135
|
-
|
|
135
|
+
Stack,
|
|
136
136
|
{
|
|
137
|
-
item: true,
|
|
138
|
-
container: true,
|
|
139
|
-
direction: "column",
|
|
140
137
|
sx: {
|
|
141
138
|
position: "fixed",
|
|
142
139
|
bottom: "15px"
|
|
@@ -4,4 +4,4 @@ export declare function VoltageInitParametersInLine({ studyUuid, setHaveDirtyFie
|
|
|
4
4
|
studyUuid: UUID | null;
|
|
5
5
|
setHaveDirtyFields: (isDirty: boolean) => void;
|
|
6
6
|
voltageInitParameters: VoltageInitStudyParameters | null;
|
|
7
|
-
}>): import("react
|
|
7
|
+
}>): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useCallback, useEffect } from "react";
|
|
3
|
-
import { Box,
|
|
3
|
+
import { Box, Grid2 } from "@mui/material";
|
|
4
4
|
import { useIntl, FormattedMessage } from "react-intl";
|
|
5
5
|
import "../../../utils/conversionUtils.js";
|
|
6
6
|
import { snackWithFallback } from "../../../utils/error.js";
|
|
@@ -115,7 +115,7 @@ function VoltageInitParametersInLine({
|
|
|
115
115
|
voltageInitMethods,
|
|
116
116
|
renderActions: () => {
|
|
117
117
|
return /* @__PURE__ */ jsxs(Box, { children: [
|
|
118
|
-
/* @__PURE__ */ jsxs(
|
|
118
|
+
/* @__PURE__ */ jsxs(Grid2, { container: true, children: [
|
|
119
119
|
/* @__PURE__ */ jsx(
|
|
120
120
|
LabelledButton,
|
|
121
121
|
{
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
export declare function VoltageLimitsParameters(): import("react
|
|
7
|
+
export declare function VoltageLimitsParameters(): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { Info } from "@mui/icons-material";
|
|
4
|
-
import {
|
|
4
|
+
import { Grid2 } from "@mui/material";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { CustomTooltip } from "../../../components/ui/tooltip/CustomTooltip.js";
|
|
7
7
|
import { LOW_VOLTAGE_LIMIT, HIGH_VOLTAGE_LIMIT, VOLTAGE_LIMITS_MODIFICATION, VOLTAGE_LIMITS_DEFAULT } from "./constants.js";
|
|
@@ -141,7 +141,7 @@ function VoltageLimitsParameters() {
|
|
|
141
141
|
return newRowData;
|
|
142
142
|
}, [VOLTAGE_LIMITS_DEFAULT_COLUMNS_DEFINITIONS]);
|
|
143
143
|
const createVoltageLimitDefaultRows = () => [newDefaultRowData];
|
|
144
|
-
return /* @__PURE__ */ jsxs(
|
|
144
|
+
return /* @__PURE__ */ jsxs(Grid2, { container: true, children: [
|
|
145
145
|
/* @__PURE__ */ jsx(
|
|
146
146
|
ParameterTableField,
|
|
147
147
|
{
|