@gridsuite/commons-ui 0.66.1 → 0.67.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/authentication/AuthenticationRouter.d.ts +1 -2
- package/dist/components/authentication/AuthenticationRouter.js +5 -5
- package/dist/components/authentication/AuthenticationRouterErrorDisplay.js +1 -1
- package/dist/components/authentication/Login.d.ts +1 -2
- package/dist/components/authentication/Login.js +1 -1
- package/dist/components/authentication/Logout.d.ts +1 -2
- package/dist/components/authentication/Logout.js +1 -1
- package/dist/components/authentication/SignInCallbackHandler.d.ts +1 -2
- package/dist/components/authentication/SignInCallbackHandler.js +1 -1
- package/dist/components/authentication/SilentRenewCallbackHandler.d.ts +1 -2
- package/dist/components/authentication/SilentRenewCallbackHandler.js +5 -2
- package/dist/components/authentication/index.d.ts +5 -5
- package/dist/components/authentication/index.js +12 -12
- package/dist/components/cardErrorBoundary/CardErrorBoundary.d.ts +2 -2
- package/dist/components/cardErrorBoundary/CardErrorBoundary.js +1 -1
- package/dist/components/cardErrorBoundary/index.d.ts +7 -3
- package/dist/components/cardErrorBoundary/index.js +2 -2
- package/dist/components/checkBoxList/CheckBoxList.d.ts +0 -1
- package/dist/components/checkBoxList/CheckBoxList.js +1 -2
- package/dist/components/checkBoxList/CheckBoxListItem.d.ts +0 -1
- package/dist/components/checkBoxList/CheckBoxListItem.js +1 -2
- package/dist/components/checkBoxList/CheckBoxListItems.d.ts +0 -1
- package/dist/components/checkBoxList/CheckBoxListItems.js +2 -3
- package/dist/components/checkBoxList/ClickableCheckBoxItem.d.ts +0 -1
- package/dist/components/checkBoxList/ClickableCheckBoxItem.js +1 -2
- package/dist/components/checkBoxList/ClickableRowItem.d.ts +0 -1
- package/dist/components/checkBoxList/ClickableRowItem.js +1 -2
- package/dist/components/checkBoxList/DraggableCheckBoxListItem.d.ts +0 -1
- package/dist/components/checkBoxList/DraggableCheckBoxListItem.js +1 -2
- package/dist/components/checkBoxList/DraggableClickableCheckBoxItem.d.ts +0 -1
- package/dist/components/checkBoxList/DraggableClickableCheckBoxItem.js +2 -3
- package/dist/components/checkBoxList/DraggableClickableRowItem.d.ts +0 -1
- package/dist/components/checkBoxList/DraggableClickableRowItem.js +2 -3
- package/dist/components/checkBoxList/index.d.ts +7 -3
- package/dist/components/checkBoxList/index.js +1 -1
- package/dist/components/customAGGrid/customAggrid.d.ts +2 -2
- package/dist/components/customAGGrid/customAggrid.js +1 -1
- package/dist/components/customAGGrid/index.d.ts +8 -0
- package/dist/components/customAGGrid/index.js +7 -0
- package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.d.ts +1 -2
- package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.js +7 -7
- package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.d.ts +1 -2
- package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js +4 -4
- package/dist/components/dialogs/descriptionModificationDialog/index.d.ts +7 -0
- package/dist/components/dialogs/descriptionModificationDialog/index.js +4 -0
- package/dist/components/dialogs/index.d.ts +10 -0
- package/dist/components/dialogs/index.js +10 -0
- package/dist/components/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +1 -2
- package/dist/components/dialogs/modifyElementSelection/ModifyElementSelection.js +3 -3
- package/dist/components/dialogs/modifyElementSelection/index.d.ts +7 -0
- package/dist/components/dialogs/modifyElementSelection/index.js +4 -0
- package/dist/components/dialogs/popupConfirmationDialog/PopupConfirmationDialog.d.ts +1 -2
- package/dist/components/dialogs/popupConfirmationDialog/PopupConfirmationDialog.js +2 -2
- package/dist/components/dialogs/popupConfirmationDialog/index.d.ts +7 -0
- package/dist/components/dialogs/popupConfirmationDialog/index.js +4 -0
- package/dist/components/directoryItemSelector/DirectoryItemSelector.d.ts +1 -2
- package/dist/components/directoryItemSelector/DirectoryItemSelector.js +3 -3
- package/dist/components/directoryItemSelector/index.d.ts +7 -0
- package/dist/components/directoryItemSelector/index.js +4 -0
- package/dist/components/elementSearch/elementItem/EquipmentItem.d.ts +1 -1
- package/dist/components/elementSearch/elementItem/EquipmentItem.js +1 -3
- package/dist/components/elementSearch/elementItem/index.d.ts +7 -0
- package/dist/components/elementSearch/elementItem/index.js +4 -0
- package/dist/components/elementSearch/elementSearchDialog/ElementSearchDialog.d.ts +0 -1
- package/dist/components/elementSearch/elementSearchDialog/ElementSearchDialog.js +1 -2
- package/dist/components/elementSearch/elementSearchDialog/index.d.ts +7 -0
- package/dist/components/elementSearch/elementSearchDialog/index.js +4 -0
- package/dist/components/elementSearch/elementSearchInput/index.d.ts +7 -0
- package/dist/components/elementSearch/elementSearchInput/index.js +4 -0
- package/dist/components/elementSearch/hooks/index.d.ts +7 -0
- package/dist/components/elementSearch/hooks/index.js +4 -0
- package/dist/components/elementSearch/hooks/useElementSearch.d.ts +2 -2
- package/dist/components/elementSearch/hooks/useElementSearch.js +2 -2
- package/dist/components/elementSearch/index.d.ts +5 -7
- package/dist/components/elementSearch/index.js +6 -4
- package/dist/components/elementSearch/tagRenderer/TagRenderer.d.ts +1 -2
- package/dist/components/elementSearch/tagRenderer/TagRenderer.js +1 -1
- package/dist/components/elementSearch/tagRenderer/index.d.ts +7 -0
- package/dist/components/elementSearch/tagRenderer/index.js +4 -0
- package/dist/components/expandableGroup/ExpandableGroup.d.ts +1 -31
- package/dist/components/expandableGroup/ExpandableGroup.js +1 -2
- package/dist/components/expandableGroup/index.d.ts +7 -4
- package/dist/components/expandableGroup/index.js +2 -2
- package/dist/components/filter/FilterCreationDialog.d.ts +1 -2
- package/dist/components/filter/FilterCreationDialog.js +4 -4
- package/dist/components/filter/FilterForm.d.ts +2 -3
- package/dist/components/filter/FilterForm.js +8 -8
- package/dist/components/filter/criteriaBased/CriteriaBasedFilterEditionDialog.d.ts +1 -2
- package/dist/components/filter/criteriaBased/CriteriaBasedFilterEditionDialog.js +9 -9
- package/dist/components/filter/criteriaBased/CriteriaBasedFilterForm.d.ts +1 -2
- package/dist/components/filter/criteriaBased/CriteriaBasedFilterForm.js +5 -5
- package/dist/components/filter/criteriaBased/CriteriaBasedForm.d.ts +1 -2
- package/dist/components/filter/criteriaBased/CriteriaBasedForm.js +4 -4
- package/dist/components/filter/criteriaBased/FilterFreeProperties.d.ts +2 -2
- package/dist/components/filter/criteriaBased/FilterFreeProperties.js +6 -6
- package/dist/components/filter/criteriaBased/FilterProperties.d.ts +1 -2
- package/dist/components/filter/criteriaBased/FilterProperties.js +7 -5
- package/dist/components/filter/criteriaBased/FilterProperty.d.ts +2 -2
- package/dist/components/filter/criteriaBased/FilterProperty.js +5 -5
- package/dist/components/filter/criteriaBased/criteriaBasedFilterUtils.js +1 -1
- package/dist/components/filter/criteriaBased/index.d.ts +13 -0
- package/dist/components/filter/criteriaBased/index.js +27 -0
- package/dist/components/filter/expert/ExpertFilterEditionDialog.d.ts +1 -2
- package/dist/components/filter/expert/ExpertFilterEditionDialog.js +8 -8
- package/dist/components/filter/expert/ExpertFilterForm.d.ts +1 -2
- package/dist/components/filter/expert/ExpertFilterForm.js +7 -7
- package/dist/components/filter/expert/expertFilterConstants.d.ts +1 -1
- package/dist/components/filter/expert/expertFilterConstants.js +3 -3
- package/dist/components/filter/expert/index.d.ts +11 -0
- package/dist/components/filter/expert/index.js +39 -0
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.d.ts +1 -2
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js +8 -8
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.d.ts +3 -3
- package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.js +7 -7
- package/dist/components/filter/explicitNaming/index.d.ts +8 -0
- package/dist/components/filter/explicitNaming/index.js +9 -0
- package/dist/components/filter/index.d.ts +13 -0
- package/dist/components/filter/index.js +86 -0
- package/dist/components/filter/utils/filterApi.js +1 -1
- package/dist/components/filter/utils/filterFormUtils.js +4 -4
- package/dist/components/filter/utils/index.d.ts +8 -0
- package/dist/components/filter/utils/index.js +9 -0
- package/dist/components/flatParameters/FlatParameters.d.ts +0 -1
- package/dist/components/flatParameters/FlatParameters.js +1 -2
- package/dist/components/flatParameters/index.d.ts +7 -4
- package/dist/components/flatParameters/index.js +3 -2
- package/dist/components/index.d.ts +22 -0
- package/dist/components/index.js +293 -0
- package/dist/components/inputs/SelectClearable.d.ts +2 -2
- package/dist/components/inputs/SelectClearable.js +2 -2
- package/dist/components/inputs/index.d.ts +9 -0
- package/dist/components/inputs/index.js +119 -0
- package/dist/components/inputs/reactHookForm/DirectoryItemsInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/DirectoryItemsInput.js +8 -8
- package/dist/components/inputs/reactHookForm/RawReadOnlyInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/RawReadOnlyInput.js +1 -1
- package/dist/components/inputs/reactHookForm/agGridTable/BottomRightButtons.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/agGridTable/BottomRightButtons.js +4 -4
- package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.js +4 -4
- package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/index.d.ts +7 -0
- package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/index.js +4 -0
- package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/numericEditor.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/agGridTable/cellEditors/numericEditor.js +1 -1
- package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.js +3 -3
- package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/index.d.ts +7 -0
- package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/index.js +4 -0
- package/dist/components/inputs/reactHookForm/agGridTable/index.d.ts +10 -0
- package/dist/components/inputs/reactHookForm/agGridTable/index.js +11 -0
- package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.js +3 -3
- package/dist/components/inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js +2 -2
- package/dist/components/inputs/reactHookForm/autocompleteInputs/index.d.ts +8 -0
- package/dist/components/inputs/reactHookForm/autocompleteInputs/index.js +6 -0
- package/dist/components/inputs/reactHookForm/booleans/BooleanInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/booleans/BooleanInput.js +1 -1
- package/dist/components/inputs/reactHookForm/booleans/CheckboxInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/booleans/CheckboxInput.js +2 -2
- package/dist/components/inputs/reactHookForm/booleans/RadioInput.d.ts +2 -2
- package/dist/components/inputs/reactHookForm/booleans/RadioInput.js +2 -2
- package/dist/components/inputs/reactHookForm/booleans/SwitchInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/booleans/SwitchInput.js +2 -2
- package/dist/components/inputs/reactHookForm/booleans/index.d.ts +10 -0
- package/dist/components/inputs/reactHookForm/booleans/index.js +10 -0
- package/dist/components/inputs/reactHookForm/errorManagement/ErrorInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/errorManagement/ErrorInput.js +1 -1
- package/dist/components/inputs/reactHookForm/errorManagement/FieldErrorAlert.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/errorManagement/FieldErrorAlert.js +1 -1
- package/dist/components/inputs/reactHookForm/errorManagement/MidFormError.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/errorManagement/MidFormError.js +1 -1
- package/dist/components/inputs/reactHookForm/errorManagement/index.d.ts +9 -0
- package/dist/components/inputs/reactHookForm/errorManagement/index.js +8 -0
- package/dist/components/inputs/reactHookForm/index.d.ts +17 -0
- package/dist/components/inputs/reactHookForm/index.js +85 -0
- package/dist/components/inputs/reactHookForm/numbers/FloatInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/numbers/FloatInput.js +2 -2
- package/dist/components/inputs/reactHookForm/numbers/IntegerInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/numbers/IntegerInput.js +2 -2
- package/dist/components/inputs/reactHookForm/numbers/RangeInput.d.ts +2 -2
- package/dist/components/inputs/reactHookForm/numbers/RangeInput.js +4 -4
- package/dist/components/inputs/reactHookForm/numbers/SliderInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/numbers/SliderInput.js +1 -1
- package/dist/components/inputs/reactHookForm/numbers/index.d.ts +11 -0
- package/dist/components/inputs/reactHookForm/numbers/index.js +17 -0
- package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.d.ts +2 -2
- package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.js +1 -1
- package/dist/components/inputs/reactHookForm/provider/index.d.ts +8 -0
- package/dist/components/inputs/reactHookForm/provider/index.js +7 -0
- package/dist/components/inputs/reactHookForm/provider/useCustomFormContext.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/provider/useCustomFormContext.js +1 -1
- package/dist/components/inputs/reactHookForm/selectInputs/CountriesInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/selectInputs/CountriesInput.js +3 -3
- package/dist/components/inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/selectInputs/InputWithPopupConfirmation.js +2 -2
- package/dist/components/inputs/reactHookForm/selectInputs/MuiSelectInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/selectInputs/MuiSelectInput.js +1 -1
- package/dist/components/inputs/reactHookForm/selectInputs/SelectInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/selectInputs/SelectInput.js +2 -2
- package/dist/components/inputs/reactHookForm/selectInputs/index.d.ts +10 -0
- package/dist/components/inputs/reactHookForm/selectInputs/index.js +10 -0
- package/dist/components/inputs/reactHookForm/text/DescriptionField.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/text/DescriptionField.js +3 -3
- package/dist/components/inputs/reactHookForm/text/ExpandingTextField.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/text/ExpandingTextField.js +3 -3
- package/dist/components/inputs/reactHookForm/text/TextInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/text/TextInput.js +4 -4
- package/dist/components/inputs/reactHookForm/text/UniqueNameInput.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/text/UniqueNameInput.js +3 -3
- package/dist/components/inputs/reactHookForm/text/index.d.ts +10 -0
- package/dist/components/inputs/reactHookForm/text/index.js +10 -0
- package/dist/components/inputs/reactHookForm/utils/CancelButton.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/utils/CancelButton.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/FieldLabel.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/utils/FieldLabel.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/SubmitButton.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/utils/SubmitButton.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.d.ts +1 -2
- package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.js +1 -1
- package/dist/components/inputs/reactHookForm/utils/functions.d.ts +0 -1
- package/dist/components/inputs/reactHookForm/utils/functions.js +0 -4
- package/dist/components/inputs/reactHookForm/utils/index.d.ts +11 -0
- package/dist/components/inputs/reactHookForm/utils/index.js +17 -0
- package/dist/components/inputs/reactQueryBuilder/AddButton.d.ts +2 -2
- package/dist/components/inputs/reactQueryBuilder/AddButton.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/AutocompleteWithFavorites.d.ts +2 -2
- package/dist/components/inputs/reactQueryBuilder/AutocompleteWithFavorites.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/CombinatorSelector.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/CombinatorSelector.js +2 -2
- package/dist/components/inputs/reactQueryBuilder/CountryValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/CountryValueEditor.js +5 -5
- package/dist/components/inputs/reactQueryBuilder/CustomReactQueryBuilder.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/CustomReactQueryBuilder.js +9 -9
- package/dist/components/inputs/reactQueryBuilder/ElementValueEditor.d.ts +2 -2
- package/dist/components/inputs/reactQueryBuilder/ElementValueEditor.js +3 -3
- package/dist/components/inputs/reactQueryBuilder/FieldSelector.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/FieldSelector.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/PropertyValueEditor.d.ts +4 -3
- package/dist/components/inputs/reactQueryBuilder/PropertyValueEditor.js +4 -4
- package/dist/components/inputs/reactQueryBuilder/RemoveButton.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/RemoveButton.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/TextValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/TextValueEditor.js +3 -3
- package/dist/components/inputs/reactQueryBuilder/TranslatedValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/TranslatedValueEditor.js +3 -3
- package/dist/components/inputs/reactQueryBuilder/ValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/ValueEditor.js +8 -8
- package/dist/components/inputs/reactQueryBuilder/ValueSelector.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/ValueSelector.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js +2 -2
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +2 -2
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/index.d.ts +8 -0
- package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/index.js +6 -0
- package/dist/components/inputs/reactQueryBuilder/hooks/index.d.ts +8 -0
- package/dist/components/inputs/reactQueryBuilder/hooks/index.js +6 -0
- package/dist/components/inputs/reactQueryBuilder/hooks/useConvertValue.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/hooks/useConvertValue.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/hooks/useValid.d.ts +1 -2
- package/dist/components/inputs/reactQueryBuilder/hooks/useValid.js +1 -1
- package/dist/components/inputs/reactQueryBuilder/index.d.ts +20 -0
- package/dist/components/inputs/reactQueryBuilder/index.js +34 -0
- package/dist/components/muiVirtualizedTable/ColumnHeader.d.ts +3 -3
- package/dist/components/muiVirtualizedTable/ColumnHeader.js +3 -3
- package/dist/components/muiVirtualizedTable/KeyedColumnsRowIndexer.js +1 -1
- package/dist/components/muiVirtualizedTable/MuiVirtualizedTable.d.ts +6 -20
- package/dist/components/muiVirtualizedTable/MuiVirtualizedTable.js +5 -5
- package/dist/components/muiVirtualizedTable/index.d.ts +2 -3
- package/dist/components/muiVirtualizedTable/index.js +8 -4
- package/dist/components/multipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -2
- package/dist/components/multipleSelectionDialog/MultipleSelectionDialog.js +1 -1
- package/dist/components/multipleSelectionDialog/index.d.ts +7 -4
- package/dist/components/multipleSelectionDialog/index.js +2 -2
- package/dist/components/overflowableText/OverflowableText.d.ts +0 -1
- package/dist/components/overflowableText/OverflowableText.js +1 -2
- package/dist/components/overflowableText/index.d.ts +7 -4
- package/dist/components/overflowableText/index.js +1 -1
- package/dist/components/snackbarProvider/SnackbarProvider.d.ts +1 -2
- package/dist/components/snackbarProvider/SnackbarProvider.js +1 -1
- package/dist/components/snackbarProvider/index.d.ts +7 -3
- package/dist/components/snackbarProvider/index.js +2 -2
- package/dist/components/topBar/AboutDialog.d.ts +2 -2
- package/dist/components/topBar/AboutDialog.js +1 -1
- package/dist/components/topBar/GridLogo.d.ts +1 -2
- package/dist/components/topBar/GridLogo.js +2 -2
- package/dist/components/topBar/TopBar.d.ts +4 -9
- package/dist/components/topBar/TopBar.js +4 -13
- package/dist/components/topBar/index.d.ts +2 -3
- package/dist/components/topBar/index.js +6 -5
- package/dist/components/treeViewFinder/TreeViewFinder.d.ts +1 -2
- package/dist/components/treeViewFinder/TreeViewFinder.js +4 -4
- package/dist/components/treeViewFinder/index.d.ts +1 -2
- package/dist/components/treeViewFinder/index.js +2 -2
- package/dist/hooks/customStates/index.d.ts +8 -0
- package/dist/hooks/customStates/index.js +6 -0
- package/dist/hooks/customStates/useStateBoolean.d.ts +1 -2
- package/dist/hooks/customStates/useStateBoolean.js +1 -1
- package/dist/hooks/customStates/useStateNumber.d.ts +1 -2
- package/dist/hooks/customStates/useStateNumber.js +1 -1
- package/dist/hooks/index.d.ts +14 -0
- package/dist/hooks/index.js +22 -0
- package/dist/hooks/useConfidentialityWarning.d.ts +1 -2
- package/dist/hooks/useConfidentialityWarning.js +1 -1
- package/dist/hooks/useDebounce.d.ts +1 -2
- package/dist/hooks/useDebounce.js +1 -1
- package/dist/hooks/useIntlRef.d.ts +1 -2
- package/dist/hooks/useIntlRef.js +1 -1
- package/dist/hooks/useLocalizedCountries.js +1 -1
- package/dist/hooks/usePredefinedProperties.d.ts +3 -3
- package/dist/hooks/usePredefinedProperties.js +3 -3
- package/dist/hooks/usePrevious.d.ts +0 -1
- package/dist/hooks/usePrevious.js +0 -1
- package/dist/hooks/useSnackMessage.js +1 -1
- package/dist/index.d.ts +7 -181
- package/dist/index.js +357 -236
- package/dist/redux/index.d.ts +8 -0
- package/dist/redux/index.js +20 -0
- package/dist/services/appsMetadata.d.ts +2 -25
- package/dist/translations/en/cardErrorBoundaryEn.d.ts +1 -2
- package/dist/translations/en/cardErrorBoundaryEn.js +1 -1
- package/dist/translations/en/commonButtonEn.d.ts +1 -2
- package/dist/translations/en/commonButtonEn.js +1 -1
- package/dist/translations/en/csvEn.d.ts +1 -2
- package/dist/translations/en/csvEn.js +1 -1
- package/dist/translations/en/descriptionEn.d.ts +1 -2
- package/dist/translations/en/descriptionEn.js +1 -1
- package/dist/translations/en/directoryItemsInputEn.d.ts +1 -2
- package/dist/translations/en/directoryItemsInputEn.js +1 -1
- package/dist/translations/en/elementSearchEn.d.ts +1 -2
- package/dist/translations/en/elementSearchEn.js +1 -1
- package/dist/translations/en/equipmentSearchEn.d.ts +1 -2
- package/dist/translations/en/equipmentSearchEn.js +1 -1
- package/dist/translations/en/equipmentsEn.d.ts +1 -2
- package/dist/translations/en/equipmentsEn.js +1 -1
- package/dist/translations/en/filterEn.d.ts +1 -2
- package/dist/translations/en/filterEn.js +1 -1
- package/dist/translations/en/filterExpertEn.d.ts +1 -2
- package/dist/translations/en/filterExpertEn.js +1 -1
- package/dist/translations/en/flatParametersEn.d.ts +1 -2
- package/dist/translations/en/flatParametersEn.js +1 -1
- package/dist/translations/en/index.d.ts +24 -0
- package/dist/translations/en/index.js +38 -0
- package/dist/translations/en/inputsEn.d.ts +1 -2
- package/dist/translations/en/inputsEn.js +1 -1
- package/dist/translations/en/loginEn.d.ts +1 -2
- package/dist/translations/en/loginEn.js +1 -1
- package/dist/translations/en/multipleSelectionDialogEn.d.ts +1 -2
- package/dist/translations/en/multipleSelectionDialogEn.js +1 -1
- package/dist/translations/en/reportViewerEn.d.ts +1 -2
- package/dist/translations/en/reportViewerEn.js +1 -1
- package/dist/translations/en/tableEn.d.ts +1 -2
- package/dist/translations/en/tableEn.js +1 -1
- package/dist/translations/en/topBarEn.d.ts +1 -2
- package/dist/translations/en/topBarEn.js +1 -1
- package/dist/translations/en/treeviewFinderEn.d.ts +1 -2
- package/dist/translations/en/treeviewFinderEn.js +1 -1
- package/dist/translations/fr/cardErrorBoundaryFr.d.ts +1 -2
- package/dist/translations/fr/cardErrorBoundaryFr.js +1 -1
- package/dist/translations/fr/commonButtonFr.d.ts +1 -2
- package/dist/translations/fr/commonButtonFr.js +1 -1
- package/dist/translations/fr/csvFr.d.ts +1 -2
- package/dist/translations/fr/csvFr.js +1 -1
- package/dist/translations/fr/descriptionFr.d.ts +1 -2
- package/dist/translations/fr/descriptionFr.js +1 -1
- package/dist/translations/fr/directoryItemsInputFr.d.ts +1 -2
- package/dist/translations/fr/directoryItemsInputFr.js +1 -1
- package/dist/translations/fr/elementSearchFr.d.ts +1 -2
- package/dist/translations/fr/elementSearchFr.js +1 -1
- package/dist/translations/fr/equipmentSearchFr.d.ts +1 -2
- package/dist/translations/fr/equipmentSearchFr.js +1 -1
- package/dist/translations/fr/equipmentsFr.d.ts +1 -2
- package/dist/translations/fr/equipmentsFr.js +1 -1
- package/dist/translations/fr/filterExpertFr.d.ts +1 -2
- package/dist/translations/fr/filterExpertFr.js +1 -1
- package/dist/translations/fr/filterFr.d.ts +1 -2
- package/dist/translations/fr/filterFr.js +1 -1
- package/dist/translations/fr/flatParametersFr.d.ts +1 -2
- package/dist/translations/fr/flatParametersFr.js +1 -1
- package/dist/translations/fr/index.d.ts +24 -0
- package/dist/translations/fr/index.js +38 -0
- package/dist/translations/fr/inputsFr.d.ts +1 -2
- package/dist/translations/fr/inputsFr.js +1 -1
- package/dist/translations/fr/loginFr.d.ts +1 -2
- package/dist/translations/fr/loginFr.js +1 -1
- package/dist/translations/fr/multipleSelectionDialogFr.d.ts +1 -2
- package/dist/translations/fr/multipleSelectionDialogFr.js +1 -1
- package/dist/translations/fr/reportViewerFr.d.ts +1 -2
- package/dist/translations/fr/reportViewerFr.js +1 -1
- package/dist/translations/fr/tableFr.d.ts +1 -2
- package/dist/translations/fr/tableFr.js +1 -1
- package/dist/translations/fr/topBarFr.d.ts +1 -2
- package/dist/translations/fr/topBarFr.js +1 -1
- package/dist/translations/fr/treeviewFinderFr.d.ts +1 -2
- package/dist/translations/fr/treeviewFinderFr.js +1 -1
- package/dist/utils/algos.d.ts +1 -2
- package/dist/utils/algos.js +1 -1
- package/dist/utils/constants/browserConstants.d.ts +11 -0
- package/dist/utils/constants/browserConstants.js +12 -0
- package/dist/utils/constants/fetchStatus.d.ts +1 -2
- package/dist/utils/constants/fetchStatus.js +1 -1
- package/dist/utils/constants/fieldConstants.d.ts +1 -2
- package/dist/utils/constants/fieldConstants.js +1 -1
- package/dist/utils/constants/index.d.ts +9 -0
- package/dist/utils/constants/index.js +12 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/utils/index.js +61 -0
- package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.d.ts +2 -3
- package/dist/utils/mapper/equipmentTypesForPredefinedPropertiesMapper.js +2 -2
- package/dist/utils/mapper/getFileIcon.d.ts +4 -0
- package/dist/utils/mapper/{elementIcon.js → getFileIcon.js} +1 -1
- package/dist/utils/mapper/index.d.ts +8 -0
- package/dist/utils/mapper/index.js +6 -0
- package/dist/utils/types/equipmentType.js +1 -1
- package/dist/utils/types/index.d.ts +11 -0
- package/dist/utils/types/index.js +27 -0
- package/dist/utils/types/metadata.d.ts +19 -7
- package/dist/utils/types/types.d.ts +0 -5
- package/package.json +1 -1
- package/dist/utils/mapper/elementIcon.d.ts +0 -5
|
@@ -3,17 +3,17 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { MaterialValueEditor } from "@react-querybuilder/material";
|
|
4
4
|
import Box from "@mui/material/Box";
|
|
5
5
|
import { useFormContext } from "react-hook-form";
|
|
6
|
-
import CountryValueEditor from "./CountryValueEditor.js";
|
|
7
|
-
import TranslatedValueEditor from "./TranslatedValueEditor.js";
|
|
8
|
-
import TextValueEditor from "./TextValueEditor.js";
|
|
6
|
+
import { CountryValueEditor } from "./CountryValueEditor.js";
|
|
7
|
+
import { TranslatedValueEditor } from "./TranslatedValueEditor.js";
|
|
8
|
+
import { TextValueEditor } from "./TextValueEditor.js";
|
|
9
9
|
import { FieldType, DataType } from "../../filter/expert/expertFilter.type.js";
|
|
10
|
-
import FieldConstants from "../../../utils/constants/fieldConstants.js";
|
|
10
|
+
import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
|
|
11
11
|
import { VoltageLevel, Substation } from "../../../utils/types/equipmentTypes.js";
|
|
12
|
-
import ElementValueEditor from "./ElementValueEditor.js";
|
|
12
|
+
import { ElementValueEditor } from "./ElementValueEditor.js";
|
|
13
13
|
import { ElementType } from "../../../utils/types/elementType.js";
|
|
14
|
-
import PropertyValueEditor from "./PropertyValueEditor.js";
|
|
14
|
+
import { PropertyValueEditor } from "./PropertyValueEditor.js";
|
|
15
15
|
import { FilterType } from "../../filter/constants/FilterConstants.js";
|
|
16
|
-
import GroupValueEditor from "./compositeRuleEditor/GroupValueEditor.js";
|
|
16
|
+
import { GroupValueEditor } from "./compositeRuleEditor/GroupValueEditor.js";
|
|
17
17
|
import { OPERATOR_OPTIONS } from "../../filter/expert/expertFilterConstants.js";
|
|
18
18
|
const styles = {
|
|
19
19
|
noArrows: {
|
|
@@ -101,5 +101,5 @@ function ValueEditor(props) {
|
|
|
101
101
|
) });
|
|
102
102
|
}
|
|
103
103
|
export {
|
|
104
|
-
ValueEditor
|
|
104
|
+
ValueEditor
|
|
105
105
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ValueSelectorProps } from 'react-querybuilder';
|
|
2
2
|
|
|
3
|
-
declare function ValueSelector(props: ValueSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default ValueSelector;
|
|
3
|
+
export declare function ValueSelector(props: ValueSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CompositeField } from '../../../filter/expert/expertFilter.type';
|
|
2
2
|
import { ValueEditorProps } from 'react-querybuilder';
|
|
3
3
|
|
|
4
|
-
declare function GroupValueEditor(props: ValueEditorProps<CompositeField>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export default GroupValueEditor;
|
|
4
|
+
export declare function GroupValueEditor(props: ValueEditorProps<CompositeField>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, createElement } from "react";
|
|
3
3
|
import { Grid } from "@mui/material";
|
|
4
|
-
import RuleValueEditor from "./RuleValueEditor.js";
|
|
4
|
+
import { RuleValueEditor } from "./RuleValueEditor.js";
|
|
5
5
|
const styles = {
|
|
6
6
|
group: (theme) => ({
|
|
7
7
|
border: 1,
|
|
@@ -45,5 +45,5 @@ function GroupValueEditor(props) {
|
|
|
45
45
|
}) });
|
|
46
46
|
}
|
|
47
47
|
export {
|
|
48
|
-
GroupValueEditor
|
|
48
|
+
GroupValueEditor
|
|
49
49
|
};
|
|
@@ -5,5 +5,5 @@ type RuleValueEditorProps = ValueEditorProps & {
|
|
|
5
5
|
rule?: CompositeRule;
|
|
6
6
|
handleOnChangeRule: (rule: CompositeRule) => void;
|
|
7
7
|
};
|
|
8
|
-
declare function RuleValueEditor(props: RuleValueEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export
|
|
8
|
+
export declare function RuleValueEditor(props: RuleValueEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, 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 './GroupValueEditor';
|
|
8
|
+
export * from './RuleValueEditor';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, 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 './useConvertValue';
|
|
8
|
+
export * from './useValid';
|
|
@@ -5,5 +5,4 @@ import { ValueEditorProps } from 'react-querybuilder';
|
|
|
5
5
|
* PS : can be extended to manage more than the IN operator
|
|
6
6
|
* PS 2 : don't use this if the operator can be another array operator (like BETWEEN) or change a bit the conditions
|
|
7
7
|
*/
|
|
8
|
-
declare const useConvertValue: ({ operator, value, fieldData: { defaultValue }, handleOnChange }: ValueEditorProps) => void;
|
|
9
|
-
export default useConvertValue;
|
|
8
|
+
export declare const useConvertValue: ({ operator, value, fieldData: { defaultValue }, handleOnChange }: ValueEditorProps) => void;
|
|
@@ -3,5 +3,4 @@ import { ValueEditorProps } from 'react-querybuilder';
|
|
|
3
3
|
/**
|
|
4
4
|
* Hook that return if a field of RQB is valid or not
|
|
5
5
|
*/
|
|
6
|
-
declare const useValid: ({ validation }: ValueEditorProps) => boolean;
|
|
7
|
-
export default useValid;
|
|
6
|
+
export declare const useValid: ({ validation }: ValueEditorProps) => boolean;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2024, 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 './AddButton';
|
|
8
|
+
export * from './AutocompleteWithFavorites';
|
|
9
|
+
export * from './CombinatorSelector';
|
|
10
|
+
export * from './CountryValueEditor';
|
|
11
|
+
export * from './CustomReactQueryBuilder';
|
|
12
|
+
export * from './ElementValueEditor';
|
|
13
|
+
export * from './PropertyValueEditor';
|
|
14
|
+
export * from './RemoveButton';
|
|
15
|
+
export * from './TextValueEditor';
|
|
16
|
+
export * from './TranslatedValueEditor';
|
|
17
|
+
export * from './ValueEditor';
|
|
18
|
+
export * from './ValueSelector';
|
|
19
|
+
export * from './compositeRuleEditor';
|
|
20
|
+
export * from './hooks';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AddButton } from "./AddButton.js";
|
|
2
|
+
import { AutocompleteWithFavorites } from "./AutocompleteWithFavorites.js";
|
|
3
|
+
import { CombinatorSelector } from "./CombinatorSelector.js";
|
|
4
|
+
import { CountryValueEditor } from "./CountryValueEditor.js";
|
|
5
|
+
import { CustomReactQueryBuilder } from "./CustomReactQueryBuilder.js";
|
|
6
|
+
import { ElementValueEditor } from "./ElementValueEditor.js";
|
|
7
|
+
import { PropertyValueEditor } from "./PropertyValueEditor.js";
|
|
8
|
+
import { RemoveButton } from "./RemoveButton.js";
|
|
9
|
+
import { TextValueEditor } from "./TextValueEditor.js";
|
|
10
|
+
import { TranslatedValueEditor } from "./TranslatedValueEditor.js";
|
|
11
|
+
import { ValueEditor } from "./ValueEditor.js";
|
|
12
|
+
import { ValueSelector } from "./ValueSelector.js";
|
|
13
|
+
import { GroupValueEditor } from "./compositeRuleEditor/GroupValueEditor.js";
|
|
14
|
+
import { RuleValueEditor } from "./compositeRuleEditor/RuleValueEditor.js";
|
|
15
|
+
import { useConvertValue } from "./hooks/useConvertValue.js";
|
|
16
|
+
import { useValid } from "./hooks/useValid.js";
|
|
17
|
+
export {
|
|
18
|
+
AddButton,
|
|
19
|
+
AutocompleteWithFavorites,
|
|
20
|
+
CombinatorSelector,
|
|
21
|
+
CountryValueEditor,
|
|
22
|
+
CustomReactQueryBuilder,
|
|
23
|
+
ElementValueEditor,
|
|
24
|
+
GroupValueEditor,
|
|
25
|
+
PropertyValueEditor,
|
|
26
|
+
RemoveButton,
|
|
27
|
+
RuleValueEditor,
|
|
28
|
+
TextValueEditor,
|
|
29
|
+
TranslatedValueEditor,
|
|
30
|
+
ValueEditor,
|
|
31
|
+
ValueSelector,
|
|
32
|
+
useConvertValue,
|
|
33
|
+
useValid
|
|
34
|
+
};
|
|
@@ -21,6 +21,6 @@ export interface ColumnHeaderProps extends BoxProps {
|
|
|
21
21
|
onSortClick: SortButtonProps['onClick'];
|
|
22
22
|
onFilterClick: FilterButtonProps['onClick'];
|
|
23
23
|
}
|
|
24
|
-
export declare const
|
|
25
|
-
declare const
|
|
26
|
-
export
|
|
24
|
+
export declare const ColumnHeaderComponent: import('react').ForwardRefExoticComponent<Omit<ColumnHeaderProps, "ref"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", Theme>>>>;
|
|
25
|
+
export declare const ColumnHeader: import('@emotion/styled').StyledComponent<Omit<ColumnHeaderProps, "ref"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", Theme>>> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
|
|
26
|
+
export {};
|
|
@@ -65,7 +65,7 @@ function FilterButton(props) {
|
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
67
|
}
|
|
68
|
-
const
|
|
68
|
+
const ColumnHeaderComponent = forwardRef((props, ref) => {
|
|
69
69
|
const { className, label, numeric, sortSignedRank, filterLevel, onSortClick, onFilterClick, onContextMenu, style } = props;
|
|
70
70
|
const [hovered, setHovered] = useState(false);
|
|
71
71
|
const onHover = useCallback((evt) => {
|
|
@@ -101,8 +101,8 @@ const ColumnHeader = forwardRef((props, ref) => {
|
|
|
101
101
|
)
|
|
102
102
|
);
|
|
103
103
|
});
|
|
104
|
-
const ColumnHeader
|
|
104
|
+
const ColumnHeader = styled(ColumnHeaderComponent)({});
|
|
105
105
|
export {
|
|
106
106
|
ColumnHeader,
|
|
107
|
-
|
|
107
|
+
ColumnHeaderComponent
|
|
108
108
|
};
|
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
import { KeyedColumnsRowIndexer } from './KeyedColumnsRowIndexer';
|
|
1
|
+
import { CustomColumnProps, KeyedColumnsRowIndexer, RowProps } from './KeyedColumnsRowIndexer';
|
|
2
2
|
import { ColumnProps, RowMouseEventHandlerParams, TableCellProps } from 'react-virtualized';
|
|
3
3
|
import { SxProps } from '@mui/material';
|
|
4
|
-
import { PureComponent,
|
|
4
|
+
import { PureComponent, MouseEvent, KeyboardEvent, MutableRefObject } from 'react';
|
|
5
5
|
|
|
6
6
|
export declare const DEFAULT_CELL_PADDING = 16;
|
|
7
7
|
export declare const DEFAULT_HEADER_HEIGHT = 48;
|
|
8
8
|
export declare const DEFAULT_ROW_HEIGHT = 48;
|
|
9
9
|
export declare const generateMuiVirtualizedTableClass: (className: string) => string;
|
|
10
|
-
export interface CustomColumnProps extends ColumnProps {
|
|
11
|
-
sortable?: boolean;
|
|
12
|
-
numeric?: boolean;
|
|
13
|
-
indexer?: KeyedColumnsRowIndexer;
|
|
14
|
-
label: string;
|
|
15
|
-
clickable?: boolean;
|
|
16
|
-
fractionDigits?: number;
|
|
17
|
-
unit?: number;
|
|
18
|
-
extra?: ReactElement;
|
|
19
|
-
nostat?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface RowProps {
|
|
22
|
-
notClickable?: boolean;
|
|
23
|
-
}
|
|
24
10
|
export interface MuiVirtualizedTableProps extends CustomColumnProps {
|
|
25
11
|
headerHeight: number;
|
|
26
12
|
columns: CustomColumnProps[];
|
|
@@ -48,7 +34,7 @@ export interface MuiVirtualizedTableState {
|
|
|
48
34
|
colKey: string | null;
|
|
49
35
|
};
|
|
50
36
|
}
|
|
51
|
-
declare class
|
|
37
|
+
declare class MuiVirtualizedTableComponent extends PureComponent<MuiVirtualizedTableProps, MuiVirtualizedTableState> {
|
|
52
38
|
static defaultProps: {
|
|
53
39
|
headerHeight: number;
|
|
54
40
|
rowHeight: number;
|
|
@@ -100,12 +86,12 @@ declare class MuiVirtualizedTable extends PureComponent<MuiVirtualizedTableProps
|
|
|
100
86
|
}[]>;
|
|
101
87
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
102
88
|
}
|
|
103
|
-
declare const
|
|
89
|
+
export declare const MuiVirtualizedTable: import('@emotion/styled').StyledComponent<Pick<MuiVirtualizedTableProps, "className" | "id" | "name" | "style" | "width" | "filter" | "aria-label" | "maxWidth" | "label" | "rows" | "sort" | "flexGrow" | "flexShrink" | "minWidth" | "columns" | "numeric" | "tooltipSx" | "cellRenderer" | "sortable" | "unit" | "clickable" | "defersFilterChanges" | "onRowClick" | "onCellClick" | "exportCSVDataKeys" | "indexer" | "fractionDigits" | "extra" | "nostat" | "cellDataGetter" | "columnData" | "dataKey" | "defaultSortDirection" | "disableSort" | "headerClassName" | "headerRenderer" | "headerStyle"> & {
|
|
104
90
|
classes?: Record<string, string> | undefined;
|
|
105
91
|
headerHeight?: number | undefined;
|
|
106
92
|
rowHeight?: number | undefined;
|
|
107
93
|
enableExportCSV?: boolean | undefined;
|
|
108
94
|
} & {} & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {
|
|
109
|
-
ref?: import("react").Ref<
|
|
95
|
+
ref?: import("react").Ref<MuiVirtualizedTableComponent> | undefined;
|
|
110
96
|
}>;
|
|
111
|
-
export
|
|
97
|
+
export {};
|
|
@@ -162,7 +162,7 @@ const reorderIndex = memoize(
|
|
|
162
162
|
return makeIndexRecord(null, rows);
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
|
-
const
|
|
165
|
+
const _MuiVirtualizedTableComponent = class _MuiVirtualizedTableComponent extends PureComponent {
|
|
166
166
|
constructor(props, context) {
|
|
167
167
|
super(props, context);
|
|
168
168
|
this.setVersion = (v) => {
|
|
@@ -674,19 +674,19 @@ const _MuiVirtualizedTable = class _MuiVirtualizedTable extends PureComponent {
|
|
|
674
674
|
);
|
|
675
675
|
}
|
|
676
676
|
};
|
|
677
|
-
|
|
677
|
+
_MuiVirtualizedTableComponent.defaultProps = {
|
|
678
678
|
headerHeight: DEFAULT_HEADER_HEIGHT,
|
|
679
679
|
rowHeight: DEFAULT_ROW_HEIGHT,
|
|
680
680
|
enableExportCSV: false,
|
|
681
681
|
classes: {}
|
|
682
682
|
};
|
|
683
|
-
let
|
|
683
|
+
let MuiVirtualizedTableComponent = _MuiVirtualizedTableComponent;
|
|
684
684
|
const nestedGlobalSelectorsStyles = toNestedGlobalSelectors(defaultStyles, generateMuiVirtualizedTableClass);
|
|
685
|
-
const MuiVirtualizedTable
|
|
685
|
+
const MuiVirtualizedTable = styled(MuiVirtualizedTableComponent)(nestedGlobalSelectorsStyles);
|
|
686
686
|
export {
|
|
687
687
|
DEFAULT_CELL_PADDING,
|
|
688
688
|
DEFAULT_HEADER_HEIGHT,
|
|
689
689
|
DEFAULT_ROW_HEIGHT,
|
|
690
|
-
MuiVirtualizedTable
|
|
690
|
+
MuiVirtualizedTable,
|
|
691
691
|
generateMuiVirtualizedTableClass
|
|
692
692
|
};
|
|
@@ -4,6 +4,5 @@
|
|
|
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
|
|
8
|
-
export
|
|
9
|
-
export { KeyedColumnsRowIndexer, ChangeWays } from './KeyedColumnsRowIndexer';
|
|
7
|
+
export * from './KeyedColumnsRowIndexer';
|
|
8
|
+
export * from './MuiVirtualizedTable';
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ChangeWays, KeyedColumnsRowIndexer, collectibleHelper, forTesting, getHelper, noOpHelper } from "./KeyedColumnsRowIndexer.js";
|
|
2
|
+
import { DEFAULT_CELL_PADDING, DEFAULT_HEADER_HEIGHT, DEFAULT_ROW_HEIGHT, MuiVirtualizedTable, generateMuiVirtualizedTableClass } from "./MuiVirtualizedTable.js";
|
|
3
3
|
export {
|
|
4
4
|
ChangeWays,
|
|
5
5
|
DEFAULT_CELL_PADDING,
|
|
6
6
|
DEFAULT_HEADER_HEIGHT,
|
|
7
7
|
DEFAULT_ROW_HEIGHT,
|
|
8
8
|
KeyedColumnsRowIndexer,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
MuiVirtualizedTable,
|
|
10
|
+
collectibleHelper,
|
|
11
|
+
forTesting,
|
|
12
|
+
generateMuiVirtualizedTableClass,
|
|
13
|
+
getHelper,
|
|
14
|
+
noOpHelper
|
|
11
15
|
};
|
|
@@ -6,5 +6,4 @@ export interface MultipleSelectionDialogProps<T> extends CheckboxListProps<T> {
|
|
|
6
6
|
handleValidate: (options: T[]) => void;
|
|
7
7
|
titleId: string;
|
|
8
8
|
}
|
|
9
|
-
declare function MultipleSelectionDialog<T>({ open, handleClose, handleValidate, selectedItems, titleId, ...props }: MultipleSelectionDialogProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default MultipleSelectionDialog;
|
|
9
|
+
export declare function MultipleSelectionDialog<T>({ open, handleClose, handleValidate, selectedItems, titleId, ...props }: MultipleSelectionDialogProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023, 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 './MultipleSelectionDialog';
|
|
@@ -9,4 +9,3 @@ export interface OverflowableTextProps extends BoxProps {
|
|
|
9
9
|
tooltipSx?: SxProps<Theme>;
|
|
10
10
|
}
|
|
11
11
|
export declare const OverflowableText: import('@emotion/styled').StyledComponent<OverflowableTextProps & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
12
|
-
export default OverflowableText;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2021, 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 './OverflowableText';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { SnackbarProviderProps } from 'notistack';
|
|
2
2
|
|
|
3
|
-
declare function SnackbarProvider(props: SnackbarProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default SnackbarProvider;
|
|
3
|
+
export declare function SnackbarProvider(props: SnackbarProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020, 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 './SnackbarProvider';
|
|
@@ -23,5 +23,5 @@ export interface AboutDialogProps {
|
|
|
23
23
|
additionalModulesPromise?: () => Promise<GridSuiteModule[]>;
|
|
24
24
|
logo?: ReactNode;
|
|
25
25
|
}
|
|
26
|
-
declare function AboutDialog({ open, onClose, globalVersionPromise, appName, appVersion, appGitTag, appLicense, additionalModulesPromise, logo, }: AboutDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export
|
|
26
|
+
export declare function AboutDialog({ open, onClose, globalVersionPromise, appName, appVersion, appGitTag, appLicense, additionalModulesPromise, logo, }: AboutDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -5,8 +5,7 @@ export interface GridLogoProps extends Omit<LogoTextProps, 'style'> {
|
|
|
5
5
|
appLogo: ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare function LogoText({ appName, appColor, style, onClick }: Partial<LogoTextProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function GridLogo({ appLogo, appName, appColor, onClick }: Partial<GridLogoProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default GridLogo;
|
|
8
|
+
export declare function GridLogo({ appLogo, appName, appColor, onClick }: Partial<GridLogoProps>): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export interface LogoTextProps {
|
|
11
10
|
appName: string;
|
|
12
11
|
appColor: string;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DARK_THEME, LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, LIGHT_THEME } from '../../utils/constants/browserConstants';
|
|
2
|
+
import { Metadata } from '../../utils';
|
|
2
3
|
import { LogoutProps } from '../authentication/Logout';
|
|
3
4
|
import { AboutDialogProps } from './AboutDialog';
|
|
4
5
|
import { GridLogoProps } from './GridLogo';
|
|
5
6
|
import { User } from 'oidc-client';
|
|
6
7
|
import { PropsWithChildren, ReactNode } from 'react';
|
|
7
8
|
|
|
8
|
-
export declare const DARK_THEME = "Dark";
|
|
9
|
-
export declare const LIGHT_THEME = "Light";
|
|
10
|
-
export declare const LANG_SYSTEM = "sys";
|
|
11
|
-
export declare const LANG_ENGLISH = "en";
|
|
12
|
-
export declare const LANG_FRENCH = "fr";
|
|
13
9
|
export type GsLangUser = typeof LANG_ENGLISH | typeof LANG_FRENCH;
|
|
14
10
|
export type GsLang = GsLangUser | typeof LANG_SYSTEM;
|
|
15
11
|
export type GsTheme = typeof LIGHT_THEME | typeof DARK_THEME;
|
|
@@ -19,7 +15,7 @@ export type TopBarProps = Omit<GridLogoProps, 'onClick'> & Omit<LogoutProps, 'di
|
|
|
19
15
|
user?: User;
|
|
20
16
|
onAboutClick?: () => void;
|
|
21
17
|
logoAboutDialog?: ReactNode;
|
|
22
|
-
appsAndUrls:
|
|
18
|
+
appsAndUrls: Metadata[];
|
|
23
19
|
onThemeClick?: (theme: GsTheme) => void;
|
|
24
20
|
theme?: GsTheme;
|
|
25
21
|
onEquipmentLabellingClick?: (toggle: boolean) => void;
|
|
@@ -27,5 +23,4 @@ export type TopBarProps = Omit<GridLogoProps, 'onClick'> & Omit<LogoutProps, 'di
|
|
|
27
23
|
onLanguageClick: (value: GsLang) => void;
|
|
28
24
|
language: GsLang;
|
|
29
25
|
};
|
|
30
|
-
declare function TopBar({ appName, appColor, appLogo, appVersion, appLicense, logoAboutDialog, onParametersClick, onLogoutClick, onLogoClick, user, children, appsAndUrls, onAboutClick, globalVersionPromise, additionalModulesPromise, onThemeClick, theme, onEquipmentLabellingClick, equipmentLabelling, onLanguageClick, language, }: PropsWithChildren<TopBarProps>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export default TopBar;
|
|
26
|
+
export declare function TopBar({ appName, appColor, appLogo, appVersion, appLicense, logoAboutDialog, onParametersClick, onLogoutClick, onLogoClick, user, children, appsAndUrls, onAboutClick, globalVersionPromise, additionalModulesPromise, onThemeClick, theme, onEquipmentLabellingClick, equipmentLabelling, onLanguageClick, language, }: PropsWithChildren<TopBarProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,8 +4,9 @@ import { FormattedMessage } from "react-intl";
|
|
|
4
4
|
import { Menu, MenuItem, ListItemIcon, AppBar, Toolbar, Box, IconButton, ListItemText, Button, Popper, Paper, ClickAwayListener, MenuList, Typography, ToggleButtonGroup, ToggleButton, darken } from "@mui/material";
|
|
5
5
|
import { Apps, ArrowDropUp, ArrowDropDown, Person, WbSunny, Brightness3, Computer, Settings, HelpOutline, ExitToApp } from "@mui/icons-material";
|
|
6
6
|
import { styled } from "@mui/system";
|
|
7
|
-
import GridLogo from "./GridLogo.js";
|
|
8
|
-
import AboutDialog from "./AboutDialog.js";
|
|
7
|
+
import { GridLogo } from "./GridLogo.js";
|
|
8
|
+
import { AboutDialog } from "./AboutDialog.js";
|
|
9
|
+
import { LIGHT_THEME, DARK_THEME, LANG_SYSTEM, LANG_ENGLISH, LANG_FRENCH } from "../../utils/constants/browserConstants.js";
|
|
9
10
|
const styles = {
|
|
10
11
|
grow: {
|
|
11
12
|
flexGrow: 1,
|
|
@@ -99,11 +100,6 @@ const CustomListItemIcon = styled(ListItemIcon)({
|
|
|
99
100
|
paddingRight: "15px",
|
|
100
101
|
borderRadius: "25px"
|
|
101
102
|
});
|
|
102
|
-
const DARK_THEME = "Dark";
|
|
103
|
-
const LIGHT_THEME = "Light";
|
|
104
|
-
const LANG_SYSTEM = "sys";
|
|
105
|
-
const LANG_ENGLISH = "en";
|
|
106
|
-
const LANG_FRENCH = "fr";
|
|
107
103
|
const EN = "EN";
|
|
108
104
|
const FR = "FR";
|
|
109
105
|
function TopBar({
|
|
@@ -468,10 +464,5 @@ function TopBar({
|
|
|
468
464
|
);
|
|
469
465
|
}
|
|
470
466
|
export {
|
|
471
|
-
|
|
472
|
-
LANG_ENGLISH,
|
|
473
|
-
LANG_FRENCH,
|
|
474
|
-
LANG_SYSTEM,
|
|
475
|
-
LIGHT_THEME,
|
|
476
|
-
TopBar as default
|
|
467
|
+
TopBar
|
|
477
468
|
};
|
|
@@ -4,7 +4,6 @@
|
|
|
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
|
|
8
|
-
export type { TopBarProps } from './TopBar';
|
|
7
|
+
export * from './TopBar';
|
|
9
8
|
export * from './GridLogo';
|
|
10
|
-
export
|
|
9
|
+
export * from './AboutDialog';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { LogoText } from "./GridLogo.js";
|
|
3
|
-
import {
|
|
1
|
+
import { TopBar } from "./TopBar.js";
|
|
2
|
+
import { GridLogo, LogoText } from "./GridLogo.js";
|
|
3
|
+
import { AboutDialog } from "./AboutDialog.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
AboutDialog,
|
|
6
|
+
GridLogo,
|
|
6
7
|
LogoText,
|
|
7
|
-
|
|
8
|
+
TopBar
|
|
8
9
|
};
|