@gridsuite/commons-ui 0.66.0 → 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 +2 -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 +10 -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 +3 -0
- package/dist/components/inputs/reactQueryBuilder/FieldSelector.js +28 -0
- 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
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { AuthenticationRouterProps } from './authenticationType';
|
|
2
2
|
|
|
3
|
-
declare function AuthenticationRouter({ userManager, signInCallbackError, authenticationRouterError, showAuthenticationRouterLogin, dispatch, navigate, location, }: Readonly<AuthenticationRouterProps>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default AuthenticationRouter;
|
|
3
|
+
export declare function AuthenticationRouter({ userManager, signInCallbackError, authenticationRouterError, showAuthenticationRouterLogin, dispatch, navigate, location, }: Readonly<AuthenticationRouterProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Grid } from "@mui/material";
|
|
2
3
|
import { useCallback } from "react";
|
|
3
4
|
import { Routes, Route, Navigate } from "react-router-dom";
|
|
4
|
-
import {
|
|
5
|
+
import { Login } from "./Login.js";
|
|
5
6
|
import AuthenticationRouterErrorDisplay from "./AuthenticationRouterErrorDisplay.js";
|
|
7
|
+
import { SignInCallbackHandler } from "./SignInCallbackHandler.js";
|
|
8
|
+
import { SilentRenewCallbackHandler } from "./SilentRenewCallbackHandler.js";
|
|
6
9
|
import { handleSigninCallback, handleSilentRenewCallback, login } from "./utils/authService.js";
|
|
7
|
-
import SignInCallbackHandler from "./SignInCallbackHandler.js";
|
|
8
|
-
import SilentRenewCallbackHandler from "./SilentRenewCallbackHandler.js";
|
|
9
|
-
import Login from "./Login.js";
|
|
10
10
|
function AuthenticationRouter({
|
|
11
11
|
userManager,
|
|
12
12
|
signInCallbackError,
|
|
@@ -88,5 +88,5 @@ function AuthenticationRouter({
|
|
|
88
88
|
] });
|
|
89
89
|
}
|
|
90
90
|
export {
|
|
91
|
-
AuthenticationRouter
|
|
91
|
+
AuthenticationRouter
|
|
92
92
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Grid } from "@mui/material";
|
|
3
|
-
import Logout from "./Logout.js";
|
|
3
|
+
import { Logout } from "./Logout.js";
|
|
4
4
|
import { logout } from "./utils/authService.js";
|
|
5
5
|
import { ErrorInLogoutAlert } from "./alert/ErrorInLogoutAlert.js";
|
|
6
6
|
import { ErrorInUserValidationAlert } from "./alert/ErrorInUserValidationAlert.js";
|
|
@@ -2,5 +2,4 @@ export interface LoginProps {
|
|
|
2
2
|
onLoginClick: () => void;
|
|
3
3
|
disabled: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare function Login({ onLoginClick, disabled }: LoginProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default Login;
|
|
5
|
+
export declare function Login({ onLoginClick, disabled }: LoginProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,5 +8,4 @@ export interface LogoutProps {
|
|
|
8
8
|
onLogoutClick: () => void;
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare function Logout({ onLogoutClick, disabled }: LogoutProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default Logout;
|
|
11
|
+
export declare function Logout({ onLogoutClick, disabled }: LogoutProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,5 +4,4 @@ export interface SignInCallbackHandlerProps {
|
|
|
4
4
|
userManager: UserManager | null;
|
|
5
5
|
handleSignInCallback: () => void;
|
|
6
6
|
}
|
|
7
|
-
declare function SignInCallbackHandler({ userManager, handleSignInCallback }: SignInCallbackHandlerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default SignInCallbackHandler;
|
|
7
|
+
export declare function SignInCallbackHandler({ userManager, handleSignInCallback }: SignInCallbackHandlerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,5 +4,4 @@ export interface SilentRenewCallbackHandlerProps {
|
|
|
4
4
|
userManager: UserManager | null;
|
|
5
5
|
handleSilentRenewCallback: () => void;
|
|
6
6
|
}
|
|
7
|
-
declare function SilentRenewCallbackHandler({ userManager, handleSilentRenewCallback }: SilentRenewCallbackHandlerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default SilentRenewCallbackHandler;
|
|
7
|
+
export declare function SilentRenewCallbackHandler({ userManager, handleSilentRenewCallback, }: SilentRenewCallbackHandlerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
function SilentRenewCallbackHandler({
|
|
3
|
+
function SilentRenewCallbackHandler({
|
|
4
|
+
userManager,
|
|
5
|
+
handleSilentRenewCallback
|
|
6
|
+
}) {
|
|
4
7
|
useEffect(() => {
|
|
5
8
|
if (userManager !== null) {
|
|
6
9
|
handleSilentRenewCallback();
|
|
@@ -9,5 +12,5 @@ function SilentRenewCallbackHandler({ userManager, handleSilentRenewCallback })
|
|
|
9
12
|
return /* @__PURE__ */ jsx("h1", { children: "Technical token renew window, you should not see this" });
|
|
10
13
|
}
|
|
11
14
|
export {
|
|
12
|
-
SilentRenewCallbackHandler
|
|
15
|
+
SilentRenewCallbackHandler
|
|
13
16
|
};
|
|
@@ -4,12 +4,12 @@
|
|
|
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
|
|
7
|
+
export * from './AuthenticationRouter';
|
|
8
8
|
export { default as AuthenticationRouterErrorDisplay } from './AuthenticationRouterErrorDisplay';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
9
|
+
export * from './Login';
|
|
10
|
+
export * from './Logout';
|
|
11
|
+
export * from './SignInCallbackHandler';
|
|
12
|
+
export * from './SilentRenewCallbackHandler';
|
|
13
13
|
export * from './alert';
|
|
14
14
|
export * from './authenticationType';
|
|
15
15
|
export * from './utils';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { default as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { AuthenticationRouter } from "./AuthenticationRouter.js";
|
|
2
|
+
import { default as default2 } from "./AuthenticationRouterErrorDisplay.js";
|
|
3
|
+
import { Login } from "./Login.js";
|
|
4
|
+
import { Logout } from "./Logout.js";
|
|
5
|
+
import { SignInCallbackHandler } from "./SignInCallbackHandler.js";
|
|
6
|
+
import { SilentRenewCallbackHandler } from "./SilentRenewCallbackHandler.js";
|
|
7
7
|
import { ErrorInLogoutAlert } from "./alert/ErrorInLogoutAlert.js";
|
|
8
8
|
import { ErrorInUserValidationAlert } from "./alert/ErrorInUserValidationAlert.js";
|
|
9
9
|
import { UnauthorizedAccessAlert } from "./alert/UnauthorizedAccessAlert.js";
|
|
10
10
|
import { dispatchUser, getPreLoginPath, handleSigninCallback, handleSilentRenewCallback, initializeAuthenticationDev, initializeAuthenticationProd, login, logout } from "./utils/authService.js";
|
|
11
11
|
import { UserManagerMock } from "./utils/userManagerMock.js";
|
|
12
12
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
AuthenticationRouter,
|
|
14
|
+
default2 as AuthenticationRouterErrorDisplay,
|
|
15
15
|
ErrorInLogoutAlert,
|
|
16
16
|
ErrorInUserValidationAlert,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
Login,
|
|
18
|
+
Logout,
|
|
19
|
+
SignInCallbackHandler,
|
|
20
|
+
SilentRenewCallbackHandler,
|
|
21
21
|
UnauthorizedAccessAlert,
|
|
22
22
|
UserManagerMock,
|
|
23
23
|
dispatchUser,
|
|
@@ -17,7 +17,7 @@ type CardErrorBoundaryStateSuccess = {
|
|
|
17
17
|
type CardErrorBoundaryState = (CardErrorBoundaryStateError | CardErrorBoundaryStateSuccess) & {
|
|
18
18
|
expanded: boolean;
|
|
19
19
|
};
|
|
20
|
-
declare class CardErrorBoundary extends Component<Props, CardErrorBoundaryState> {
|
|
20
|
+
export declare class CardErrorBoundary extends Component<Props, CardErrorBoundaryState> {
|
|
21
21
|
constructor(props: Props);
|
|
22
22
|
static getDerivedStateFromError(error: Error): {
|
|
23
23
|
hasError: boolean;
|
|
@@ -28,4 +28,4 @@ declare class CardErrorBoundary extends Component<Props, CardErrorBoundaryState>
|
|
|
28
28
|
handleReloadClick(): void;
|
|
29
29
|
render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | null | undefined;
|
|
30
30
|
}
|
|
31
|
-
export
|
|
31
|
+
export {};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2022, 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 './CardErrorBoundary';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { CheckboxListProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function CheckBoxList<T>({ isDndDragAndDropActive, onDragStart, onDragEnd, isDragDisable, sx, ...props }: CheckboxListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default CheckBoxList;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { CheckBoxListItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function CheckBoxListItem<T>({ item, sx, secondaryAction, getItemId, divider, onItemClick, isItemClickable, ...props }: Readonly<CheckBoxListItemProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default CheckBoxListItem;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { CheckBoxListItemsProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function CheckBoxListItems<T>({ items, selectedItems, onSelectionChange, getItemId, sx, secondaryAction, addSelectAllCheckbox, selectAllCheckBoxLabel, getItemLabel, isDisabled, isDndDragAndDropActive, isDragDisable, divider, onItemClick, isItemClickable, ...props }: Readonly<CheckBoxListItemsProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default CheckBoxListItems;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Draggable } from "react-beautiful-dnd";
|
|
3
2
|
import { useCallback, useMemo } from "react";
|
|
4
3
|
import { List, ListItem, ListItemButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
5
4
|
import { FormattedMessage } from "react-intl";
|
|
5
|
+
import { Draggable } from "react-beautiful-dnd";
|
|
6
6
|
import { CheckBoxListItem } from "./CheckBoxListItem.js";
|
|
7
7
|
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
8
8
|
import { DraggableCheckBoxListItem } from "./DraggableCheckBoxListItem.js";
|
|
@@ -156,6 +156,5 @@ function CheckBoxListItems({
|
|
|
156
156
|
] }, "droppable-checkbox-list");
|
|
157
157
|
}
|
|
158
158
|
export {
|
|
159
|
-
CheckBoxListItems
|
|
160
|
-
CheckBoxListItems as default
|
|
159
|
+
CheckBoxListItems
|
|
161
160
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ClickableRowItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function ClickableRowItem({ sx, disabled, label, onClick, onItemClick, isItemClickable, ...props }: Readonly<ClickableRowItemProps>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default ClickableRowItem;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { DraggableCheckBoxListItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function DraggableCheckBoxListItem<T>({ item, sx, secondaryAction, getItemId, isDragDisable, provided, divider, onItemClick, isItemClickable, ...props }: Readonly<DraggableCheckBoxListItemProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default DraggableCheckBoxListItem;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { DraggableClickableCheckBoxItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function DraggableClickableCheckBoxItem({ sx, disabled, provided, isHighlighted, label, ...props }: Readonly<DraggableClickableCheckBoxItemProps>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default DraggableClickableCheckBoxItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { IconButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
3
2
|
import DragIndicatorIcon from "@mui/icons-material/DragIndicator";
|
|
3
|
+
import { IconButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
4
4
|
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
5
5
|
const styles = {
|
|
6
6
|
dragIcon: (theme) => ({
|
|
@@ -46,6 +46,5 @@ function DraggableClickableCheckBoxItem({
|
|
|
46
46
|
] });
|
|
47
47
|
}
|
|
48
48
|
export {
|
|
49
|
-
DraggableClickableCheckBoxItem
|
|
50
|
-
DraggableClickableCheckBoxItem as default
|
|
49
|
+
DraggableClickableCheckBoxItem
|
|
51
50
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { DraggableClickableRowItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function DraggableClickableRowItem({ sx, disabled, onClick, provided, isHighlighted, label, onItemClick, isItemClickable, ...props }: Readonly<DraggableClickableRowItemProps>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default DraggableClickableRowItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ListItemButton, IconButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
3
2
|
import DragIndicatorIcon from "@mui/icons-material/DragIndicator";
|
|
3
|
+
import { ListItemButton, IconButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
4
4
|
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
5
5
|
const styles = {
|
|
6
6
|
dragIcon: (theme) => ({
|
|
@@ -73,6 +73,5 @@ function DraggableClickableRowItem({
|
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
75
|
export {
|
|
76
|
-
DraggableClickableRowItem
|
|
77
|
-
DraggableClickableRowItem as default
|
|
76
|
+
DraggableClickableRowItem
|
|
78
77
|
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 { CheckBoxList } from './CheckBoxList';
|
|
4
8
|
export type { CheckboxListProps } from './checkBoxList.type';
|
|
@@ -7,5 +7,5 @@ interface CustomAGGGridStyleProps {
|
|
|
7
7
|
}
|
|
8
8
|
export interface CustomAGGridProps extends AgGridReactProps, CustomAGGGridStyleProps {
|
|
9
9
|
}
|
|
10
|
-
declare const CustomAGGrid: React.ForwardRefExoticComponent<CustomAGGridProps & React.RefAttributes<AgGridReact<any>>>;
|
|
11
|
-
export
|
|
10
|
+
export declare const CustomAGGrid: React.ForwardRefExoticComponent<CustomAGGridProps & React.RefAttributes<AgGridReact<any>>>;
|
|
11
|
+
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 './customAggrid.style';
|
|
8
|
+
export * from './customAggrid';
|
|
@@ -19,5 +19,4 @@ export interface CustomMuiDialogProps {
|
|
|
19
19
|
language?: string;
|
|
20
20
|
confirmationMessageKey?: string;
|
|
21
21
|
}
|
|
22
|
-
declare function CustomMuiDialog({ open, formSchema, formMethods, onClose, onSave, isDataFetching, onValidationError, titleId, disabledSave, removeOptional, onCancel, children, language, confirmationMessageKey, }: Readonly<CustomMuiDialogProps>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export default CustomMuiDialog;
|
|
22
|
+
export declare function CustomMuiDialog({ open, formSchema, formMethods, onClose, onSave, isDataFetching, onValidationError, titleId, disabledSave, removeOptional, onCancel, children, language, confirmationMessageKey, }: Readonly<CustomMuiDialogProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,10 +2,10 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useCallback } from "react";
|
|
3
3
|
import { FormattedMessage } from "react-intl";
|
|
4
4
|
import { Dialog, LinearProgress, DialogTitle, Grid, DialogContent, DialogActions } from "@mui/material";
|
|
5
|
-
import SubmitButton from "../../inputs/reactHookForm/utils/SubmitButton.js";
|
|
6
|
-
import CancelButton from "../../inputs/reactHookForm/utils/CancelButton.js";
|
|
7
|
-
import CustomFormProvider from "../../inputs/reactHookForm/provider/CustomFormProvider.js";
|
|
8
|
-
import PopupConfirmationDialog from "../popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
5
|
+
import { SubmitButton } from "../../inputs/reactHookForm/utils/SubmitButton.js";
|
|
6
|
+
import { CancelButton } from "../../inputs/reactHookForm/utils/CancelButton.js";
|
|
7
|
+
import { CustomFormProvider } from "../../inputs/reactHookForm/provider/CustomFormProvider.js";
|
|
8
|
+
import { PopupConfirmationDialog } from "../popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
9
9
|
const styles = {
|
|
10
10
|
dialogPaper: {
|
|
11
11
|
".MuiDialog-paper": {
|
|
@@ -42,8 +42,8 @@ function CustomMuiDialog({
|
|
|
42
42
|
[onCancel, onClose]
|
|
43
43
|
);
|
|
44
44
|
const handleClose = (event, reason) => {
|
|
45
|
-
if (reason === "backdropClick"
|
|
46
|
-
|
|
45
|
+
if (reason === "backdropClick") {
|
|
46
|
+
return;
|
|
47
47
|
}
|
|
48
48
|
onClose(event);
|
|
49
49
|
};
|
|
@@ -110,5 +110,5 @@ function CustomMuiDialog({
|
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
112
|
export {
|
|
113
|
-
CustomMuiDialog
|
|
113
|
+
CustomMuiDialog
|
|
114
114
|
};
|
package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.d.ts
CHANGED
|
@@ -11,5 +11,4 @@ export interface DescriptionModificationDialogProps {
|
|
|
11
11
|
onClose: () => void;
|
|
12
12
|
updateElement: (uuid: string, data: Record<string, string>) => Promise<void>;
|
|
13
13
|
}
|
|
14
|
-
declare function DescriptionModificationDialog({ elementUuid, description, open, onClose, updateElement, }: Readonly<DescriptionModificationDialogProps>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default DescriptionModificationDialog;
|
|
14
|
+
export declare function DescriptionModificationDialog({ elementUuid, description, open, onClose, updateElement, }: Readonly<DescriptionModificationDialogProps>): import("react/jsx-runtime").JSX.Element;
|
package/dist/components/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js
CHANGED
|
@@ -4,10 +4,10 @@ import { useForm } from "react-hook-form";
|
|
|
4
4
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
5
5
|
import { Box } from "@mui/material";
|
|
6
6
|
import "../../../utils/yupConfig.js";
|
|
7
|
-
import FieldConstants from "../../../utils/constants/fieldConstants.js";
|
|
7
|
+
import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
|
|
8
8
|
import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
|
|
9
|
-
import CustomMuiDialog from "../customMuiDialog/CustomMuiDialog.js";
|
|
10
|
-
import ExpandingTextField from "../../inputs/reactHookForm/text/ExpandingTextField.js";
|
|
9
|
+
import { CustomMuiDialog } from "../customMuiDialog/CustomMuiDialog.js";
|
|
10
|
+
import { ExpandingTextField } from "../../inputs/reactHookForm/text/ExpandingTextField.js";
|
|
11
11
|
import * as yup from "yup";
|
|
12
12
|
const schema = yup.object().shape({
|
|
13
13
|
[FieldConstants.DESCRIPTION]: yup.string().max(500, "descriptionLimitError")
|
|
@@ -70,5 +70,5 @@ function DescriptionModificationDialog({
|
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
export {
|
|
73
|
-
DescriptionModificationDialog
|
|
73
|
+
DescriptionModificationDialog
|
|
74
74
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
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 './DescriptionModificationDialog';
|
|
@@ -0,0 +1,10 @@
|
|
|
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 './customMuiDialog/CustomMuiDialog';
|
|
8
|
+
export * from './descriptionModificationDialog';
|
|
9
|
+
export * from './modifyElementSelection';
|
|
10
|
+
export * from './popupConfirmationDialog';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CustomMuiDialog } from "./customMuiDialog/CustomMuiDialog.js";
|
|
2
|
+
import { DescriptionModificationDialog } from "./descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
3
|
+
import { ModifyElementSelection } from "./modifyElementSelection/ModifyElementSelection.js";
|
|
4
|
+
import { PopupConfirmationDialog } from "./popupConfirmationDialog/PopupConfirmationDialog.js";
|
|
5
|
+
export {
|
|
6
|
+
CustomMuiDialog,
|
|
7
|
+
DescriptionModificationDialog,
|
|
8
|
+
ModifyElementSelection,
|
|
9
|
+
PopupConfirmationDialog
|
|
10
|
+
};
|
|
@@ -9,5 +9,4 @@ export interface ModifyElementSelectionProps {
|
|
|
9
9
|
noElementMessageLabel?: string;
|
|
10
10
|
onElementValidated?: (elementId: UUID) => void;
|
|
11
11
|
}
|
|
12
|
-
declare function ModifyElementSelection(props: ModifyElementSelectionProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default ModifyElementSelection;
|
|
12
|
+
export declare function ModifyElementSelection(props: ModifyElementSelectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,8 +3,8 @@ import { useState, useEffect } from "react";
|
|
|
3
3
|
import { Grid, Button, Typography } from "@mui/material";
|
|
4
4
|
import { useIntl, FormattedMessage } from "react-intl";
|
|
5
5
|
import { useController } from "react-hook-form";
|
|
6
|
-
import FieldConstants from "../../../utils/constants/fieldConstants.js";
|
|
7
|
-
import DirectoryItemSelector from "../../directoryItemSelector/DirectoryItemSelector.js";
|
|
6
|
+
import { FieldConstants } from "../../../utils/constants/fieldConstants.js";
|
|
7
|
+
import { DirectoryItemSelector } from "../../directoryItemSelector/DirectoryItemSelector.js";
|
|
8
8
|
import { ElementType } from "../../../utils/types/elementType.js";
|
|
9
9
|
import { fetchDirectoryElementPath } from "../../../services/directory.js";
|
|
10
10
|
function ModifyElementSelection(props) {
|
|
@@ -101,5 +101,5 @@ function ModifyElementSelection(props) {
|
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
103
|
export {
|
|
104
|
-
ModifyElementSelection
|
|
104
|
+
ModifyElementSelection
|
|
105
105
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
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 './ModifyElementSelection';
|
|
@@ -11,5 +11,4 @@ export interface PopupConfirmationDialogProps {
|
|
|
11
11
|
setOpenConfirmationPopup: (value: boolean) => void;
|
|
12
12
|
handlePopupConfirmation: () => void;
|
|
13
13
|
}
|
|
14
|
-
declare function PopupConfirmationDialog({ message, validateButtonLabel, openConfirmationPopup, setOpenConfirmationPopup, handlePopupConfirmation, }: PopupConfirmationDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default PopupConfirmationDialog;
|
|
14
|
+
export declare function PopupConfirmationDialog({ message, validateButtonLabel, openConfirmationPopup, setOpenConfirmationPopup, handlePopupConfirmation, }: PopupConfirmationDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,7 @@ import { DialogContentText } from "@mui/material";
|
|
|
6
6
|
import DialogActions from "@mui/material/DialogActions";
|
|
7
7
|
import Button from "@mui/material/Button";
|
|
8
8
|
import { FormattedMessage } from "react-intl";
|
|
9
|
-
import CancelButton from "../../inputs/reactHookForm/utils/CancelButton.js";
|
|
9
|
+
import { CancelButton } from "../../inputs/reactHookForm/utils/CancelButton.js";
|
|
10
10
|
function PopupConfirmationDialog({
|
|
11
11
|
message,
|
|
12
12
|
validateButtonLabel,
|
|
@@ -24,5 +24,5 @@ function PopupConfirmationDialog({
|
|
|
24
24
|
] });
|
|
25
25
|
}
|
|
26
26
|
export {
|
|
27
|
-
PopupConfirmationDialog
|
|
27
|
+
PopupConfirmationDialog
|
|
28
28
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
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 './PopupConfirmationDialog';
|