@gridsuite/commons-ui 0.237.0 → 0.239.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/composite/agGridTable/BottomTableButtons.d.ts +1 -1
- package/dist/components/composite/agGridTable/CustomAgGridTable.js +7 -1
- package/dist/components/composite/agGridTable/cellEditors/numericEditor.d.ts +1 -1
- 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-add-rows-dialog.js +1 -0
- package/dist/components/composite/dnd-table/dnd-table-bottom-left-buttons.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table-bottom-right-buttons.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table-row.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table-row.js +2 -1
- package/dist/components/composite/dnd-table/dnd-table.d.ts +1 -1
- package/dist/components/composite/dnd-table/dnd-table.js +1 -0
- 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 +1 -0
- 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/ExpertFilterForm.js +1 -0
- 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 +1 -1
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +1 -0
- 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 +1 -1
- package/dist/components/composite/grid/grid-section.d.ts +1 -1
- package/dist/components/composite/index.d.ts +1 -0
- package/dist/components/composite/index.js +67 -0
- 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/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/RuleValueEditor.d.ts +1 -1
- 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 +76 -1
- 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-confirmation-dialog.js +1 -0
- 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 +1 -0
- package/dist/components/ui/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +1 -1
- 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/index.js +9 -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/constants.d.ts +3 -0
- package/dist/components/ui/reactHookForm/constants.js +6 -0
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.d.ts +5 -0
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-input.js +66 -0
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-utils.d.ts +16 -0
- package/dist/components/ui/reactHookForm/directory-item-input/directory-item-utils.js +27 -0
- package/dist/components/ui/reactHookForm/directory-item-input/index.d.ts +8 -0
- package/dist/components/ui/reactHookForm/directory-item-input/index.js +7 -0
- 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/MidFormError.d.ts +1 -1
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.d.ts +1 -1
- package/dist/components/ui/reactHookForm/index.d.ts +1 -0
- package/dist/components/ui/reactHookForm/index.js +9 -1
- 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/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/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/AuthenticationRouterErrorDisplay.d.ts +1 -1
- 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 +2 -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 +8 -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 +7 -0
- package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +7 -0
- package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.d.ts +1 -1
- package/dist/features/network-modifications/battery/modification/BatteryDialogHeader.js +7 -0
- 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 +7 -0
- package/dist/features/network-modifications/battery/modification/BatteryModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +8 -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 +2 -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 +1 -0
- package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.d.ts +1 -1
- package/dist/features/network-modifications/by-filter/deletion/ByFilterDeletionForm.js +2 -1
- package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.d.ts +1 -1
- package/dist/features/network-modifications/common/activePowerControl/ActivePowerControlForm.js +1 -0
- package/dist/features/network-modifications/common/connectivity/BranchConnectivityForm.d.ts +1 -1
- package/dist/features/network-modifications/common/connectivity/ConnectivityForm.d.ts +1 -1
- package/dist/features/network-modifications/common/connectivity/ConnectivityForm.js +1 -0
- package/dist/features/network-modifications/common/connectivity/PositionForm.d.ts +1 -1
- package/dist/features/network-modifications/common/connectivity/PositionForm.js +1 -0
- package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.d.ts +1 -1
- package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +1 -0
- package/dist/features/network-modifications/common/measurements/BranchActiveReactivePowerMeasurementsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/measurements/BusbarSectionVoltageMeasurementsForm.js +7 -0
- package/dist/features/network-modifications/common/measurements/PowerMeasurementsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.d.ts +1 -1
- package/dist/features/network-modifications/common/measurements/PowerWithValidityForm.js +1 -0
- 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 -0
- package/dist/features/network-modifications/common/properties/PropertyForm.d.ts +1 -1
- package/dist/features/network-modifications/common/properties/PropertyForm.js +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/reactiveLimits/ReactiveLimitsForm.js +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.d.ts +1 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveRowForm.js +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.d.ts +1 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/ReactiveCapabilityCurveTableForm.js +1 -0
- 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 +1 -0
- package/dist/features/network-modifications/common/setpoints/SetPointsForm.d.ts +1 -1
- package/dist/features/network-modifications/common/setpoints/SetPointsForm.js +1 -0
- package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.d.ts +1 -1
- package/dist/features/network-modifications/common/shortCircuit/ShortCircuitForm.js +1 -0
- package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.d.ts +1 -1
- package/dist/features/network-modifications/common/voltageRegulation/VoltageRegulationForm.js +1 -0
- 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 +7 -0
- package/dist/features/network-modifications/equipmentDeletion/equipmentDeletion.utils.js +1 -0
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/HvdcLccDeletionSpecificForm.d.ts +1 -1
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.d.ts +1 -1
- package/dist/features/network-modifications/equipmentDeletion/hvdcLccDeletion/ShuntCompensatorSelectionForm.js +1 -0
- 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 +7 -0
- package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +8 -1
- package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.d.ts +1 -1
- package/dist/features/network-modifications/generator/modification/GeneratorDialogHeader.js +7 -0
- 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 +7 -0
- package/dist/features/network-modifications/generator/modification/GeneratorModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +8 -1
- package/dist/features/network-modifications/index.js +1 -0
- package/dist/features/network-modifications/load/common/LoadDialogHeader.d.ts +1 -1
- package/dist/features/network-modifications/load/common/LoadDialogHeader.js +7 -0
- 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/LoadForm.d.ts +1 -1
- package/dist/features/network-modifications/load/creation/loadCreation.utils.js +1 -0
- package/dist/features/network-modifications/load/modification/loadModification.utils.js +7 -0
- package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.d.ts +1 -1
- package/dist/features/network-modifications/shunt-compensator/common/CharacteristicsForm.js +1 -0
- 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 +7 -0
- package/dist/features/network-modifications/shunt-compensator/creation/shuntCompensatorCreation.utils.js +7 -0
- package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/shunt-compensator/modification/ShuntCompensatorModificationForm.js +7 -0
- package/dist/features/network-modifications/shunt-compensator/modification/shuntCompensatorModification.utils.js +7 -0
- package/dist/features/network-modifications/substation/creation/SubstationCreationForm.d.ts +1 -1
- package/dist/features/network-modifications/substation/creation/SubstationCreationForm.js +7 -0
- 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 +7 -0
- 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 +8 -1
- package/dist/features/network-modifications/voltageLevel/creation/index.js +7 -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 +1 -0
- 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 +1 -0
- 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/CouplingOmnibusForm.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/creation/tabs/structureTab/couplingOmnibus/CouplingOmnibusForm.js +1 -0
- 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 -0
- 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 +7 -0
- 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 +1 -0
- package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +10 -3
- package/dist/features/network-modifications/voltageLevel/index.js +7 -0
- package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.d.ts +1 -1
- package/dist/features/network-modifications/voltageLevel/modification/VoltageLevelModificationForm.js +8 -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 +1 -0
- 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/columns-definitions.js +1 -0
- 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-cell.js +1 -0
- 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-table-form.js +1 -0
- 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/name-element-editor/name-element-editor-form.d.ts +1 -1
- package/dist/features/parameters/common/name-element-editor/name-element-editor-utils.js +1 -0
- package/dist/features/parameters/common/parameter-field.d.ts +1 -1
- package/dist/features/parameters/common/parameter-field.js +1 -0
- 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 +1 -0
- 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/voltage-level-table/custom-voltage-level-table-cell.d.ts +1 -1
- package/dist/features/parameters/common/voltage-level-table/custom-voltage-level-table-cell.js +1 -0
- 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 +1 -0
- package/dist/features/parameters/common/widget/parameter-group.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.d.ts +2 -2
- package/dist/features/parameters/common/widget/parameter-line-directory-items-input.js +2 -1
- package/dist/features/parameters/common/widget/parameter-line-slider.d.ts +1 -1
- package/dist/features/parameters/common/widget/parameter-line-slider.js +1 -0
- package/dist/features/parameters/common/widget/parameter-switch.d.ts +1 -1
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/features/parameters/dynamic-margin-calculation/time-delay-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-margin-calculation/use-dynamic-margin-calculation-parameters-form.js +1 -0
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +3 -2
- 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 +1 -0
- 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 +3 -2
- package/dist/features/parameters/dynamic-security-analysis/scenario-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-security-analysis/use-dynamic-security-analysis-parameters-form.js +1 -0
- 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/checkbox-treeview.js +2 -4
- package/dist/features/parameters/dynamic-simulation/curve/common/grid-buttons.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/curve/curve-parameters.js +8 -3
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-preview.js +6 -0
- package/dist/features/parameters/dynamic-simulation/curve/dialog/curve-selector-dialog.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/curve/dialog/equipment-filter.js +2 -0
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.d.ts +2 -3
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +5 -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 +3 -2
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters-utils.d.ts +6 -3
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters-utils.js +40 -2
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +39 -36
- package/dist/features/parameters/dynamic-simulation/network/network-parameters.d.ts +1 -1
- 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/time-delay/time-delay-parameters.d.ts +1 -1
- package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.d.ts +3 -3
- package/dist/features/parameters/dynamic-simulation/use-dynamic-simulation-parameters-form.js +11 -10
- 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-general-parameters.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-content.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-content.js +4 -3
- package/dist/features/parameters/loadflow/load-flow-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +7 -11
- package/dist/features/parameters/loadflow/load-flow-parameters-form.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-form.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-header.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-header.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.d.ts +2 -3
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +1 -0
- package/dist/features/parameters/loadflow/load-flow-parameters-provider.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +7 -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 +5 -4
- package/dist/features/parameters/network-visualizations/map-parameters.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/map-parameters.js +3 -2
- 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 +1 -0
- package/dist/features/parameters/network-visualizations/network-visualizations-form.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/network-visualizations-form.js +1 -0
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +1 -0
- 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 +1 -0
- 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 +3 -2
- package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -0
- package/dist/features/parameters/pcc-min/pcc-min-form-utils.js +1 -0
- package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.js +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/features/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -0
- package/dist/features/parameters/security-analysis/columns-definitions.js +7 -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 +11 -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 +1 -0
- 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 +1 -0
- 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 +2 -1
- 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 +1 -0
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.d.ts +2 -2
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -0
- package/dist/features/parameters/sensi/columns-definitions.d.ts +6 -6
- package/dist/features/parameters/sensi/columns-definitions.js +1 -0
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +6 -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 +1 -0
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.d.ts +2 -3
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +1 -0
- package/dist/features/parameters/sensi/sensitivity-parameters-fields.d.ts +1 -1
- package/dist/features/parameters/sensi/sensitivity-parameters-fields.js +1 -0
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.d.ts +1 -1
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +2 -1
- package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.d.ts +1 -2
- package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -0
- package/dist/features/parameters/sensi/utils.js +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +1 -0
- 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-cell.js +2 -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-cell.js +1 -0
- 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 +2 -1
- 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 +2 -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 +1 -0
- 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 +1 -0
- package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +8 -7
- package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +3 -2
- package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +4 -3
- 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/short-circuit/use-short-circuit-parameters-form.js +1 -0
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.d.ts +1 -1
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +1 -0
- package/dist/features/parameters/voltage-init/general-parameters.d.ts +1 -1
- package/dist/features/parameters/voltage-init/general-parameters.js +4 -3
- package/dist/features/parameters/voltage-init/use-voltage-init-parameters-form.js +1 -0
- package/dist/features/parameters/voltage-init/voltage-init-form-utils.js +3 -2
- package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.d.ts +1 -1
- package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +1 -0
- 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 +2 -1
- 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 +1 -0
- package/dist/features/parameters/voltage-init/voltage-limits-parameters.d.ts +1 -1
- package/dist/features/parameters/voltage-init/voltage-limits-parameters.js +1 -0
- 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 +7 -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 +3 -0
- package/dist/features/process-configs/update-process-config-modifications.d.ts +1 -1
- package/dist/features/process-configs/update-process-config-modifications.js +8 -1
- package/dist/features/results/securityanalysis/security-analysis-result-nmk.d.ts +1 -1
- package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +7 -0
- package/dist/features/results/securityanalysis/security-analysis-table.d.ts +1 -1
- package/dist/features/results/securityanalysis/security-analysis-table.js +7 -0
- package/dist/features/topBar/AboutDialog.d.ts +1 -1
- package/dist/features/topBar/AboutDialog.js +1 -1
- 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 +85 -8
- package/dist/services/dynamic-mapping.d.ts +2 -3
- package/dist/services/dynamic-mapping.js +3 -10
- package/dist/services/index.js +1 -2
- 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/businessErrorsEn.d.ts +1 -1
- package/dist/translations/en/businessErrorsEn.js +1 -1
- package/dist/translations/en/topBarEn.d.ts +12 -0
- package/dist/translations/en/topBarEn.js +13 -1
- package/dist/translations/fr/businessErrorsFr.d.ts +1 -1
- package/dist/translations/fr/businessErrorsFr.js +1 -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 +6 -2
- package/dist/utils/mapper/getFileIcon.d.ts +1 -1
- package/dist/utils/mapper/getFileIcon.js +3 -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/dynamic-margin-calculation.type.d.ts +2 -5
- package/dist/utils/types/dynamic-simulation.type.d.ts +6 -4
- package/dist/utils/types/dynamic-simulation.type.js +10 -1
- package/dist/utils/types/elementType.d.ts +2 -2
- package/dist/utils/types/elementType.js +1 -1
- package/dist/utils/types/index.d.ts +1 -0
- package/dist/utils/types/index.js +4 -1
- package/dist/utils/types/parameters.type.d.ts +3 -3
- package/dist/utils/types/types.d.ts +11 -0
- package/package.json +2 -1
|
@@ -10,4 +10,4 @@ export interface BottomTableButtonsProps {
|
|
|
10
10
|
handleMoveRowDown: () => void;
|
|
11
11
|
csvProps?: CsvProps;
|
|
12
12
|
}
|
|
13
|
-
export declare function BottomTableButtons({ name, disableUp, disableDown, disableDelete, handleAddRow, handleDeleteRows, handleMoveRowUp, handleMoveRowDown, csvProps, }: BottomTableButtonsProps): import("react
|
|
13
|
+
export declare function BottomTableButtons({ name, disableUp, disableDown, disableDelete, handleAddRow, handleDeleteRows, handleMoveRowUp, handleMoveRowDown, csvProps, }: BottomTableButtonsProps): import("react").JSX.Element;
|
|
@@ -10,6 +10,12 @@ import { hasNonEmptyRows } from "../../../utils/functions.js";
|
|
|
10
10
|
import "@mui/icons-material";
|
|
11
11
|
import { CustomAGGrid } from "../customAGGrid/customAggrid.js";
|
|
12
12
|
import "react-intl";
|
|
13
|
+
import "../customAGGrid/context/custom-aggrid-context.js";
|
|
14
|
+
import "localized-countries";
|
|
15
|
+
import "localized-countries/data/fr";
|
|
16
|
+
import "localized-countries/data/en";
|
|
17
|
+
import "notistack";
|
|
18
|
+
import "mathjs";
|
|
13
19
|
const getDropIndicatorPosition = ({ overNode, y }) => {
|
|
14
20
|
if (!overNode) {
|
|
15
21
|
return null;
|
|
@@ -62,7 +68,7 @@ const style = (customProps) => ({
|
|
|
62
68
|
})
|
|
63
69
|
});
|
|
64
70
|
const CustomAgGridTable = forwardRef(
|
|
65
|
-
function
|
|
71
|
+
function CustomAgGridTableComponent({ name, makeDefaultRowData, csvProps, cssProps, rowSelection, stopEditingWhenCellsLoseFocus = true, ...props }, ref) {
|
|
66
72
|
const theme = useTheme();
|
|
67
73
|
const [gridApi, setGridApi] = useState(null);
|
|
68
74
|
const [selectedRows, setSelectedRows] = useState([]);
|
|
@@ -20,4 +20,4 @@ export declare const suppressNonNumericKeyboardEvent: (params: SuppressKeyboardE
|
|
|
20
20
|
* Columns using this editor should also set `suppressKeyboardEvent: suppressNonNumericKeyboardEvent`
|
|
21
21
|
* so that a non-numeric key on a focused cell doesn't start an edit.
|
|
22
22
|
*/
|
|
23
|
-
export declare function NumericEditor({ value, onValueChange, eventKey }: CustomCellEditorProps): import("react
|
|
23
|
+
export declare function NumericEditor({ value, onValueChange, eventKey }: CustomCellEditorProps): import("react").JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { ICellRendererParams } from 'ag-grid-community';
|
|
3
3
|
import { CustomCellRendererProps } from 'ag-grid-react';
|
|
4
|
-
export declare function BooleanCellRenderer({ value }: Readonly<any>): import("react
|
|
5
|
-
export declare function BooleanNullableCellRenderer({ value }: Readonly<any>): import("react
|
|
4
|
+
export declare function BooleanCellRenderer({ value }: Readonly<any>): import("react").JSX.Element;
|
|
5
|
+
export declare function BooleanNullableCellRenderer({ value }: Readonly<any>): import("react").JSX.Element;
|
|
6
6
|
export interface NumericCellRendererProps extends CustomCellRendererProps {
|
|
7
7
|
fractionDigits?: number;
|
|
8
8
|
}
|
|
9
|
-
export declare function NumericCellRenderer({ value, fractionDigits }: Readonly<NumericCellRendererProps>): import("react
|
|
10
|
-
export declare function ErrorCellRenderer({ value }: Readonly<CustomCellRendererProps>): import("react
|
|
11
|
-
export declare function DefaultCellRenderer(props: Readonly<CustomCellRendererProps>): import("react
|
|
12
|
-
export declare function NetworkModificationNameCellRenderer({ value }: Readonly<CustomCellRendererProps>): import("react
|
|
9
|
+
export declare function NumericCellRenderer({ value, fractionDigits }: Readonly<NumericCellRendererProps>): import("react").JSX.Element;
|
|
10
|
+
export declare function ErrorCellRenderer({ value }: Readonly<CustomCellRendererProps>): import("react").JSX.Element;
|
|
11
|
+
export declare function DefaultCellRenderer(props: Readonly<CustomCellRendererProps>): import("react").JSX.Element;
|
|
12
|
+
export declare function NetworkModificationNameCellRenderer({ value }: Readonly<CustomCellRendererProps>): import("react").JSX.Element;
|
|
13
13
|
export declare function MessageLogCellRenderer({ param, highlightColor, currentHighlightColor, searchTerm, currentResultIndex, searchResults, }: Readonly<{
|
|
14
14
|
param: ICellRendererParams;
|
|
15
15
|
highlightColor?: string;
|
|
@@ -17,10 +17,10 @@ export declare function MessageLogCellRenderer({ param, highlightColor, currentH
|
|
|
17
17
|
searchTerm?: string;
|
|
18
18
|
currentResultIndex?: number;
|
|
19
19
|
searchResults?: number[];
|
|
20
|
-
}>): import("react
|
|
20
|
+
}>): import("react").JSX.Element;
|
|
21
21
|
export declare function ContingencyCellRenderer({ value, }: Readonly<{
|
|
22
22
|
value: {
|
|
23
23
|
cellValue: ReactNode;
|
|
24
24
|
tooltipValue: ReactNode;
|
|
25
25
|
};
|
|
26
|
-
}>): import("react
|
|
26
|
+
}>): import("react").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Box, Checkbox } from "@mui/material";
|
|
3
3
|
import { useRef, useState } from "react";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { CustomTooltip } from "../../ui/tooltip/CustomTooltip.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FilterConfig, FilterParams, SortConfig, SortParams } from '../custom-aggrid-types';
|
|
2
|
+
export interface CustomAggridSortContextValue {
|
|
3
|
+
getSortConfig: (sortParams: SortParams | undefined) => SortConfig[] | undefined;
|
|
4
|
+
setSortConfig: (sortParams: SortParams, updatedSortConfig: SortConfig[]) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const CustomAggridSortContext: import('react').Context<CustomAggridSortContextValue | null>;
|
|
7
|
+
export declare const useCustomAggridSortContext: () => CustomAggridSortContextValue;
|
|
8
|
+
export interface CustomAggridFilterContextValue {
|
|
9
|
+
getFilters: (params: Pick<FilterParams, 'type' | 'tab'>) => FilterConfig[];
|
|
10
|
+
updateFilter: (colId: string, filterParams: FilterParams, updatedFilters: FilterConfig[], colFilter: FilterConfig | undefined) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const CustomAggridFilterContext: import('react').Context<CustomAggridFilterContextValue | null>;
|
|
13
|
+
export declare const useCustomAggridFilterContext: () => CustomAggridFilterContextValue;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createContext, useContext } from "react";
|
|
2
|
+
const CustomAggridSortContext = createContext(null);
|
|
3
|
+
const useCustomAggridSortContext = () => {
|
|
4
|
+
const ctx = useContext(CustomAggridSortContext);
|
|
5
|
+
if (!ctx) {
|
|
6
|
+
throw new Error("useCustomAggridSortContext must be used within a CustomAggridSortContext.Provider");
|
|
7
|
+
}
|
|
8
|
+
return ctx;
|
|
9
|
+
};
|
|
10
|
+
const CustomAggridFilterContext = createContext(null);
|
|
11
|
+
const useCustomAggridFilterContext = () => {
|
|
12
|
+
const ctx = useContext(CustomAggridFilterContext);
|
|
13
|
+
if (!ctx) {
|
|
14
|
+
throw new Error("useCustomAggridFilterContext must be used within a CustomAggridFilterContext.Provider");
|
|
15
|
+
}
|
|
16
|
+
return ctx;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
CustomAggridFilterContext,
|
|
20
|
+
CustomAggridSortContext,
|
|
21
|
+
useCustomAggridFilterContext,
|
|
22
|
+
useCustomAggridSortContext
|
|
23
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export * from './custom-aggrid-context';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CustomAggridFilterContext, CustomAggridSortContext, useCustomAggridFilterContext, useCustomAggridSortContext } from "./custom-aggrid-context.js";
|
|
2
|
+
export {
|
|
3
|
+
CustomAggridFilterContext,
|
|
4
|
+
CustomAggridSortContext,
|
|
5
|
+
useCustomAggridFilterContext,
|
|
6
|
+
useCustomAggridSortContext
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CustomAggridFilterParams } from '../custom-aggrid-types';
|
|
3
|
+
export interface CustomAggridAutocompleteFilterParams extends CustomAggridFilterParams {
|
|
4
|
+
getOptionLabel?: (value: string) => string;
|
|
5
|
+
options?: string[];
|
|
6
|
+
}
|
|
7
|
+
export declare function CustomAggridAutocompleteFilter({ api, colId, filterParams, getOptionLabel, options, }: CustomAggridAutocompleteFilterParams): React.JSX.Element;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useCallback, useEffect } from "react";
|
|
3
|
+
import { Autocomplete, TextField } from "@mui/material";
|
|
4
|
+
import { useIntl } from "react-intl";
|
|
5
|
+
import { useCustomAggridColumnFilter } from "./hooks/use-custom-aggrid-column-filter.js";
|
|
6
|
+
import "../../../../utils/conversionUtils.js";
|
|
7
|
+
import "../../../../utils/types/equipmentType.js";
|
|
8
|
+
import "@mui/icons-material";
|
|
9
|
+
import { isNonEmptyStringOrArray } from "../../../../utils/ts-utils.js";
|
|
10
|
+
import { FilterTextComparators } from "../custom-aggrid-types.js";
|
|
11
|
+
function CustomAggridAutocompleteFilter({
|
|
12
|
+
api,
|
|
13
|
+
colId,
|
|
14
|
+
filterParams,
|
|
15
|
+
getOptionLabel,
|
|
16
|
+
options
|
|
17
|
+
}) {
|
|
18
|
+
const intl = useIntl();
|
|
19
|
+
const { selectedFilterData, handleChangeFilterValue } = useCustomAggridColumnFilter(colId, filterParams);
|
|
20
|
+
const [computedFilterOptions, setComputedFilterOptions] = useState(options ?? []);
|
|
21
|
+
const getUniqueValues = useCallback(() => {
|
|
22
|
+
const uniqueValues = /* @__PURE__ */ new Set();
|
|
23
|
+
let allNumbers = true;
|
|
24
|
+
api.forEachNode((node) => {
|
|
25
|
+
const value = api.getCellValue({
|
|
26
|
+
rowNode: node,
|
|
27
|
+
colKey: colId
|
|
28
|
+
});
|
|
29
|
+
if (value !== void 0 && value !== null && value !== "") {
|
|
30
|
+
uniqueValues.add(value);
|
|
31
|
+
if (allNumbers && Number.isNaN(Number(value))) {
|
|
32
|
+
allNumbers = false;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
if (allNumbers) {
|
|
37
|
+
return Array.from(uniqueValues).sort((a, b) => Number(a) - Number(b));
|
|
38
|
+
}
|
|
39
|
+
return Array.from(uniqueValues);
|
|
40
|
+
}, [api, colId]);
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
if (!options) {
|
|
43
|
+
setComputedFilterOptions(getUniqueValues());
|
|
44
|
+
}
|
|
45
|
+
}, [options, getUniqueValues]);
|
|
46
|
+
const handleFilterAutoCompleteChange = (_, data) => {
|
|
47
|
+
handleChangeFilterValue({ value: data, type: FilterTextComparators.EQUALS });
|
|
48
|
+
};
|
|
49
|
+
return /* @__PURE__ */ jsx(
|
|
50
|
+
Autocomplete,
|
|
51
|
+
{
|
|
52
|
+
multiple: true,
|
|
53
|
+
value: Array.isArray(selectedFilterData) ? selectedFilterData : [],
|
|
54
|
+
options: computedFilterOptions,
|
|
55
|
+
getOptionLabel: (option) => String(getOptionLabel ? getOptionLabel(option) : option),
|
|
56
|
+
onChange: handleFilterAutoCompleteChange,
|
|
57
|
+
size: "small",
|
|
58
|
+
disableCloseOnSelect: true,
|
|
59
|
+
renderInput: (params) => /* @__PURE__ */ jsx(
|
|
60
|
+
TextField,
|
|
61
|
+
{
|
|
62
|
+
...params,
|
|
63
|
+
placeholder: !isNonEmptyStringOrArray(selectedFilterData) ? intl.formatMessage({
|
|
64
|
+
id: "filter.filterOoo"
|
|
65
|
+
}) : ""
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
fullWidth: true
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export {
|
|
73
|
+
CustomAggridAutocompleteFilter
|
|
74
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Grid, IconButton } from "@mui/material";
|
|
3
|
+
import { Close } from "@mui/icons-material";
|
|
4
|
+
import { CustomAggridComparatorSelector } from "./custom-aggrid-comparator-selector.js";
|
|
5
|
+
import { CustomAggridTextFilter } from "./custom-aggrid-text-filter.js";
|
|
6
|
+
import { FilterTextComparators } from "../custom-aggrid-types.js";
|
|
7
|
+
import "react";
|
|
8
|
+
import "../context/custom-aggrid-context.js";
|
|
9
|
+
import "mathjs";
|
|
10
|
+
import { useCustomAggridComparatorFilter } from "./hooks/use-custom-aggrid-comparator-filter.js";
|
|
11
|
+
function CustomAggridComparatorFilter({ colId, filterParams }) {
|
|
12
|
+
const {
|
|
13
|
+
selectedFilterData,
|
|
14
|
+
selectedFilterComparator,
|
|
15
|
+
decimalAfterDot,
|
|
16
|
+
isNumberInput,
|
|
17
|
+
handleFilterComparatorChange,
|
|
18
|
+
handleFilterTextChange,
|
|
19
|
+
handleClearFilter
|
|
20
|
+
} = useCustomAggridComparatorFilter(colId, filterParams);
|
|
21
|
+
const {
|
|
22
|
+
comparators = []
|
|
23
|
+
// used for text filter as a UI type (examples: contains, startsWith..)
|
|
24
|
+
} = filterParams;
|
|
25
|
+
const isComparatorWithoutValue = selectedFilterComparator === FilterTextComparators.IS_EMPTY || selectedFilterComparator === FilterTextComparators.IS_NOT_EMPTY;
|
|
26
|
+
return /* @__PURE__ */ jsxs(Grid, { container: true, direction: "column", gap: 0.8, sx: { padding: "8px" }, children: [
|
|
27
|
+
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
28
|
+
/* @__PURE__ */ jsx("div", { style: { flex: 1 }, children: /* @__PURE__ */ jsx(
|
|
29
|
+
CustomAggridComparatorSelector,
|
|
30
|
+
{
|
|
31
|
+
value: selectedFilterComparator,
|
|
32
|
+
onChange: handleFilterComparatorChange,
|
|
33
|
+
options: comparators
|
|
34
|
+
}
|
|
35
|
+
) }),
|
|
36
|
+
isComparatorWithoutValue && selectedFilterData !== void 0 && /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleClearFilter, children: /* @__PURE__ */ jsx(Close, {}) })
|
|
37
|
+
] }),
|
|
38
|
+
!isComparatorWithoutValue && /* @__PURE__ */ jsx(
|
|
39
|
+
CustomAggridTextFilter,
|
|
40
|
+
{
|
|
41
|
+
value: selectedFilterData,
|
|
42
|
+
onChange: handleFilterTextChange,
|
|
43
|
+
onClear: handleClearFilter,
|
|
44
|
+
isNumberInput,
|
|
45
|
+
decimalAfterDot
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
] });
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
CustomAggridComparatorFilter
|
|
52
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SelectChangeEvent } from '@mui/material';
|
|
3
|
+
interface CustomAggridComparatorSelectorProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (event: SelectChangeEvent) => void;
|
|
6
|
+
options: string[];
|
|
7
|
+
}
|
|
8
|
+
export declare function CustomAggridComparatorSelector({ value, onChange, options }: CustomAggridComparatorSelectorProps): React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Select, MenuItem } from "@mui/material";
|
|
3
|
+
import { useIntl } from "react-intl";
|
|
4
|
+
const styles = {
|
|
5
|
+
input: {
|
|
6
|
+
minWidth: "250px",
|
|
7
|
+
maxWidth: "40%"
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
function CustomAggridComparatorSelector({ value, onChange, options }) {
|
|
11
|
+
const intl = useIntl();
|
|
12
|
+
return /* @__PURE__ */ jsx(Select, { value, onChange, displayEmpty: true, size: "small", sx: styles.input, children: options.map((filterComparator) => /* @__PURE__ */ jsx(MenuItem, { value: filterComparator, children: intl.formatMessage({
|
|
13
|
+
id: `filter.${filterComparator}`
|
|
14
|
+
}) }, filterComparator)) });
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
CustomAggridComparatorSelector
|
|
18
|
+
};
|
package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-filter.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React, ComponentType } from 'react';
|
|
2
|
+
import { CustomAggridFilterParams } from '../custom-aggrid-types';
|
|
3
|
+
interface CustomAggridFilterWrapperParams<F extends CustomAggridFilterParams> {
|
|
4
|
+
filterComponent: ComponentType<F>;
|
|
5
|
+
filterComponentParams: F;
|
|
6
|
+
isHoveringColumnHeader: boolean;
|
|
7
|
+
forceDisplayFilterIcon: boolean;
|
|
8
|
+
handleCloseFilter: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function CustomAggridFilter<F extends CustomAggridFilterParams>({ filterComponent: FilterComponent, filterComponentParams, isHoveringColumnHeader, forceDisplayFilterIcon, handleCloseFilter, }: CustomAggridFilterWrapperParams<F>): React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useMemo } from "react";
|
|
3
|
+
import { Popover } from "@mui/material";
|
|
4
|
+
import { CustomFilterIcon } from "./custom-filter-icon.js";
|
|
5
|
+
import { FilterTextComparators } from "../custom-aggrid-types.js";
|
|
6
|
+
import { useCustomAggridColumnFilter } from "./hooks/use-custom-aggrid-column-filter.js";
|
|
7
|
+
const styles = {
|
|
8
|
+
input: {
|
|
9
|
+
minWidth: "250px",
|
|
10
|
+
maxWidth: "40%"
|
|
11
|
+
},
|
|
12
|
+
autoCompleteInput: {
|
|
13
|
+
width: "30%"
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
function CustomAggridFilter({
|
|
17
|
+
filterComponent: FilterComponent,
|
|
18
|
+
filterComponentParams,
|
|
19
|
+
isHoveringColumnHeader,
|
|
20
|
+
forceDisplayFilterIcon = false,
|
|
21
|
+
handleCloseFilter
|
|
22
|
+
}) {
|
|
23
|
+
const [filterAnchorElement, setFilterAnchorElement] = useState(null);
|
|
24
|
+
const { selectedFilterData, selectedFilterComparator } = useCustomAggridColumnFilter(
|
|
25
|
+
filterComponentParams.colId,
|
|
26
|
+
filterComponentParams.filterParams
|
|
27
|
+
);
|
|
28
|
+
const handleShowFilter = (event) => {
|
|
29
|
+
setFilterAnchorElement(event.currentTarget);
|
|
30
|
+
};
|
|
31
|
+
const onClose = () => {
|
|
32
|
+
handleCloseFilter();
|
|
33
|
+
setFilterAnchorElement(null);
|
|
34
|
+
};
|
|
35
|
+
const isFilterActive = (Array.isArray(selectedFilterData) ? selectedFilterData.length > 0 : !!selectedFilterData) || selectedFilterComparator === FilterTextComparators.IS_EMPTY || selectedFilterComparator === FilterTextComparators.IS_NOT_EMPTY;
|
|
36
|
+
const shouldDisplayFilterIcon = useMemo(
|
|
37
|
+
() => !!FilterComponent && isHoveringColumnHeader || isFilterActive || !!filterAnchorElement || forceDisplayFilterIcon,
|
|
38
|
+
[FilterComponent, filterAnchorElement, forceDisplayFilterIcon, isHoveringColumnHeader, isFilterActive]
|
|
39
|
+
);
|
|
40
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
41
|
+
shouldDisplayFilterIcon && /* @__PURE__ */ jsx(
|
|
42
|
+
CustomFilterIcon,
|
|
43
|
+
{
|
|
44
|
+
selectedFilterData,
|
|
45
|
+
selectedFilterComparator,
|
|
46
|
+
handleShowFilter
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ jsx(
|
|
50
|
+
Popover,
|
|
51
|
+
{
|
|
52
|
+
id: `${filterComponentParams.colId}-filter-popover`,
|
|
53
|
+
open: !!filterAnchorElement,
|
|
54
|
+
anchorEl: filterAnchorElement,
|
|
55
|
+
onClose,
|
|
56
|
+
anchorOrigin: {
|
|
57
|
+
vertical: "bottom",
|
|
58
|
+
horizontal: "left"
|
|
59
|
+
},
|
|
60
|
+
transformOrigin: {
|
|
61
|
+
vertical: "top",
|
|
62
|
+
horizontal: "left"
|
|
63
|
+
},
|
|
64
|
+
slotProps: {
|
|
65
|
+
paper: {
|
|
66
|
+
// Test for specific parameter presence to apply a style
|
|
67
|
+
sx: styles[filterComponentParams?.options ? "autoCompleteInput" : "input"]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
children: /* @__PURE__ */ jsx(FilterComponent, { ...filterComponentParams })
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
] });
|
|
74
|
+
}
|
|
75
|
+
export {
|
|
76
|
+
CustomAggridFilter
|
|
77
|
+
};
|
package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface CustomAggridTextFilterProps {
|
|
3
|
+
value: unknown;
|
|
4
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
5
|
+
onClear: () => void;
|
|
6
|
+
isNumberInput: boolean;
|
|
7
|
+
decimalAfterDot: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function CustomAggridTextFilter({ value, onChange, onClear, isNumberInput, decimalAfterDot, }: CustomAggridTextFilterProps): React.JSX.Element;
|
|
10
|
+
export {};
|
package/dist/components/composite/customAGGrid/custom-aggrid-filters/custom-aggrid-text-filter.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { Grid, TextField, InputAdornment, IconButton } from "@mui/material";
|
|
4
|
+
import { Clear } from "@mui/icons-material";
|
|
5
|
+
import { useIntl } from "react-intl";
|
|
6
|
+
import "../../../../utils/conversionUtils.js";
|
|
7
|
+
import "../../../../utils/types/equipmentType.js";
|
|
8
|
+
import { mergeSx } from "../../../../utils/styles.js";
|
|
9
|
+
import { DisplayRounding } from "../display-rounding.js";
|
|
10
|
+
import { FilterDataTypes } from "../custom-aggrid-types.js";
|
|
11
|
+
const styles = {
|
|
12
|
+
input: {
|
|
13
|
+
minWidth: "250px",
|
|
14
|
+
maxWidth: "40%"
|
|
15
|
+
},
|
|
16
|
+
noArrows: {
|
|
17
|
+
"& input::-webkit-outer-spin-button, & input::-webkit-inner-spin-button": {
|
|
18
|
+
display: "none"
|
|
19
|
+
},
|
|
20
|
+
"& input[type=number]": {
|
|
21
|
+
MozAppearance: "textfield"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
function CustomAggridTextFilter({
|
|
26
|
+
value,
|
|
27
|
+
onChange,
|
|
28
|
+
onClear,
|
|
29
|
+
isNumberInput,
|
|
30
|
+
decimalAfterDot = 0
|
|
31
|
+
}) {
|
|
32
|
+
const intl = useIntl();
|
|
33
|
+
const isRoundingDisplayed = useMemo(() => !!(isNumberInput && value), [isNumberInput, value]);
|
|
34
|
+
return /* @__PURE__ */ jsxs(Grid, { container: true, direction: "column", gap: 0.2, children: [
|
|
35
|
+
/* @__PURE__ */ jsx(Grid, { item: true, children: /* @__PURE__ */ jsx(
|
|
36
|
+
TextField,
|
|
37
|
+
{
|
|
38
|
+
size: "small",
|
|
39
|
+
fullWidth: true,
|
|
40
|
+
value: value || "",
|
|
41
|
+
onChange,
|
|
42
|
+
placeholder: intl.formatMessage({
|
|
43
|
+
id: "filter.filterOoo"
|
|
44
|
+
}),
|
|
45
|
+
inputProps: {
|
|
46
|
+
type: isNumberInput ? FilterDataTypes.NUMBER : FilterDataTypes.TEXT
|
|
47
|
+
},
|
|
48
|
+
sx: mergeSx(styles.input, isNumberInput ? styles.noArrows : void 0),
|
|
49
|
+
InputProps: {
|
|
50
|
+
endAdornment: value ? /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(IconButton, { "aria-label": "clear filter", onClick: onClear, edge: "end", size: "small", children: /* @__PURE__ */ jsx(Clear, {}) }) }) : null
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
) }),
|
|
54
|
+
isRoundingDisplayed && /* @__PURE__ */ jsx(Grid, { item: true, children: /* @__PURE__ */ jsx(DisplayRounding, { decimalAfterDot }) })
|
|
55
|
+
] });
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
CustomAggridTextFilter
|
|
59
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React, MouseEventHandler } from 'react';
|
|
2
|
+
interface CustomFilterIconProps {
|
|
3
|
+
handleShowFilter: MouseEventHandler<HTMLButtonElement> | undefined;
|
|
4
|
+
selectedFilterData: unknown;
|
|
5
|
+
selectedFilterComparator?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function CustomFilterIcon({ handleShowFilter, selectedFilterData, selectedFilterComparator, }: CustomFilterIconProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Grid, IconButton, Badge } from "@mui/material";
|
|
3
|
+
import { FilterAlt } from "@mui/icons-material";
|
|
4
|
+
import "../../../../utils/conversionUtils.js";
|
|
5
|
+
import "../../../../utils/types/equipmentType.js";
|
|
6
|
+
import { isNonEmptyStringOrArray } from "../../../../utils/ts-utils.js";
|
|
7
|
+
import { FilterTextComparators } from "../custom-aggrid-types.js";
|
|
8
|
+
const styles = {
|
|
9
|
+
iconSize: { fontSize: "1rem" },
|
|
10
|
+
gridRoot: { overflow: "visible" }
|
|
11
|
+
};
|
|
12
|
+
function CustomFilterIcon({
|
|
13
|
+
handleShowFilter,
|
|
14
|
+
selectedFilterData,
|
|
15
|
+
selectedFilterComparator
|
|
16
|
+
}) {
|
|
17
|
+
const isFilterActive = selectedFilterData !== void 0 && selectedFilterData !== null && (isNonEmptyStringOrArray(selectedFilterData) || selectedFilterComparator === FilterTextComparators.IS_EMPTY || selectedFilterComparator === FilterTextComparators.IS_NOT_EMPTY);
|
|
18
|
+
return /* @__PURE__ */ jsx(Grid, { item: true, sx: styles.gridRoot, children: /* @__PURE__ */ jsx(Grid, { item: true, children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleShowFilter, children: /* @__PURE__ */ jsx(Badge, { color: "secondary", variant: isFilterActive ? "dot" : void 0, invisible: !isFilterActive, children: /* @__PURE__ */ jsx(FilterAlt, { sx: styles.iconSize }) }) }) }) });
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
CustomFilterIcon
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export * from './use-custom-aggrid-column-filter';
|
|
8
|
+
export * from './use-custom-aggrid-comparator-filter';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FilterData, FilterParams } from '../../custom-aggrid-types';
|
|
2
|
+
export declare const useCustomAggridColumnFilter: (colId: string, filterParams: FilterParams) => {
|
|
3
|
+
selectedFilterData: unknown;
|
|
4
|
+
selectedFilterComparator: string;
|
|
5
|
+
handleChangeFilterValue: (filterData: FilterData) => void;
|
|
6
|
+
handleChangeComparator: (newType: string) => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { useState, useRef, useCallback, useEffect } from "react";
|
|
2
|
+
import { debounce } from "@mui/material";
|
|
3
|
+
import { FilterDataTypes, FilterTextComparators } from "../../custom-aggrid-types.js";
|
|
4
|
+
import { useCustomAggridFilterContext } from "../../context/custom-aggrid-context.js";
|
|
5
|
+
import { computeTolerance } from "../utils/filter-tolerance-utils.js";
|
|
6
|
+
const removeElementFromArrayWithFieldValue = (filtersArrayToRemoveFieldValueFrom, field) => {
|
|
7
|
+
return filtersArrayToRemoveFieldValueFrom.filter((f) => f.column !== field);
|
|
8
|
+
};
|
|
9
|
+
const changeValueFromArrayWithFieldValue = (filtersArrayToModify, field, newData) => {
|
|
10
|
+
const filterIndex = filtersArrayToModify.findIndex((f) => f.column === field);
|
|
11
|
+
if (filterIndex === -1) {
|
|
12
|
+
return [...filtersArrayToModify, newData];
|
|
13
|
+
}
|
|
14
|
+
const updatedArray = [...filtersArrayToModify];
|
|
15
|
+
updatedArray[filterIndex] = newData;
|
|
16
|
+
return updatedArray;
|
|
17
|
+
};
|
|
18
|
+
const useCustomAggridColumnFilter = (colId, filterParams) => {
|
|
19
|
+
const { type, tab, dataType, comparators = [], debounceMs = 1e3 } = filterParams;
|
|
20
|
+
const [selectedFilterComparator, setSelectedFilterComparator] = useState("");
|
|
21
|
+
const [selectedFilterData, setSelectedFilterData] = useState();
|
|
22
|
+
const [tolerance, setTolerance] = useState();
|
|
23
|
+
const isEditingRef = useRef(false);
|
|
24
|
+
const { getFilters, updateFilter: contextUpdateFilter } = useCustomAggridFilterContext();
|
|
25
|
+
const filters = getFilters({ type, tab });
|
|
26
|
+
const updateFilter = useCallback(
|
|
27
|
+
(data) => {
|
|
28
|
+
const newFilter = {
|
|
29
|
+
column: colId,
|
|
30
|
+
dataType: data.dataType,
|
|
31
|
+
tolerance: data.dataType === FilterDataTypes.NUMBER && data.type !== FilterTextComparators.IS_EMPTY && data.type !== FilterTextComparators.IS_NOT_EMPTY ? computeTolerance(data.value) : void 0,
|
|
32
|
+
type: data.type,
|
|
33
|
+
value: data.value
|
|
34
|
+
};
|
|
35
|
+
let updatedFilters;
|
|
36
|
+
const filterWithoutValue = data.type === FilterTextComparators.IS_EMPTY || data.type === FilterTextComparators.IS_NOT_EMPTY;
|
|
37
|
+
if (!data.value && !filterWithoutValue) {
|
|
38
|
+
updatedFilters = removeElementFromArrayWithFieldValue(filters, colId);
|
|
39
|
+
} else {
|
|
40
|
+
updatedFilters = changeValueFromArrayWithFieldValue(filters, colId, newFilter);
|
|
41
|
+
}
|
|
42
|
+
const colFilter = updatedFilters.find((f) => f.column === colId);
|
|
43
|
+
contextUpdateFilter(colId, filterParams, updatedFilters, colFilter);
|
|
44
|
+
},
|
|
45
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
46
|
+
[colId, filters, contextUpdateFilter]
|
|
47
|
+
);
|
|
48
|
+
const debouncedUpdateFilter = useCallback(
|
|
49
|
+
debounce((data) => {
|
|
50
|
+
updateFilter(data);
|
|
51
|
+
isEditingRef.current = false;
|
|
52
|
+
}, debounceMs),
|
|
53
|
+
[debounceMs]
|
|
54
|
+
);
|
|
55
|
+
const handleChangeFilterValue = useCallback(
|
|
56
|
+
(filterData) => {
|
|
57
|
+
isEditingRef.current = true;
|
|
58
|
+
setSelectedFilterData(filterData.value);
|
|
59
|
+
setTolerance(filterData.tolerance);
|
|
60
|
+
debouncedUpdateFilter({
|
|
61
|
+
value: filterData.value,
|
|
62
|
+
type: filterData.type ?? selectedFilterComparator,
|
|
63
|
+
dataType,
|
|
64
|
+
tolerance: filterData.tolerance
|
|
65
|
+
});
|
|
66
|
+
},
|
|
67
|
+
[dataType, debouncedUpdateFilter, selectedFilterComparator]
|
|
68
|
+
);
|
|
69
|
+
const handleChangeComparator = useCallback(
|
|
70
|
+
(newType) => {
|
|
71
|
+
isEditingRef.current = true;
|
|
72
|
+
setSelectedFilterComparator(newType);
|
|
73
|
+
const filterWithoutValue = newType === FilterTextComparators.IS_EMPTY || newType === FilterTextComparators.IS_NOT_EMPTY;
|
|
74
|
+
if (filterWithoutValue) {
|
|
75
|
+
debouncedUpdateFilter({ value: true, type: newType, dataType, tolerance });
|
|
76
|
+
} else if (selectedFilterData && selectedFilterData !== true) {
|
|
77
|
+
debouncedUpdateFilter({ value: selectedFilterData, type: newType, dataType, tolerance });
|
|
78
|
+
} else {
|
|
79
|
+
setSelectedFilterData(void 0);
|
|
80
|
+
debouncedUpdateFilter({ value: void 0, type: newType, dataType, tolerance });
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
[dataType, selectedFilterData, tolerance, debouncedUpdateFilter]
|
|
84
|
+
);
|
|
85
|
+
useEffect(() => {
|
|
86
|
+
if (!selectedFilterComparator && comparators.length > 0) {
|
|
87
|
+
setSelectedFilterComparator(comparators[0]);
|
|
88
|
+
}
|
|
89
|
+
}, [selectedFilterComparator, comparators]);
|
|
90
|
+
useEffect(() => {
|
|
91
|
+
if (isEditingRef.current) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
const filterObject = filters?.find((filter) => filter.column === colId);
|
|
95
|
+
if (filterObject) {
|
|
96
|
+
setSelectedFilterData(filterObject.value);
|
|
97
|
+
setSelectedFilterComparator(filterObject.type ?? "");
|
|
98
|
+
} else {
|
|
99
|
+
setSelectedFilterData(void 0);
|
|
100
|
+
}
|
|
101
|
+
}, [filters, colId]);
|
|
102
|
+
return {
|
|
103
|
+
selectedFilterData,
|
|
104
|
+
selectedFilterComparator,
|
|
105
|
+
handleChangeFilterValue,
|
|
106
|
+
handleChangeComparator
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
export {
|
|
110
|
+
useCustomAggridColumnFilter
|
|
111
|
+
};
|