@gridsuite/commons-ui 0.64.5 → 0.65.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/{AuthenticationRouter → authentication}/AuthenticationRouter.d.ts +1 -1
- package/dist/components/{AuthenticationRouter → authentication}/AuthenticationRouter.js +5 -5
- package/dist/components/authentication/index.d.ts +12 -0
- package/dist/components/authentication/index.js +16 -0
- package/dist/{utils/AuthService.d.ts → components/authentication/utils/authService.d.ts} +1 -1
- package/dist/{utils/AuthService.js → components/authentication/utils/authService.js} +2 -2
- package/dist/components/cardErrorBoundary/index.d.ts +3 -0
- package/dist/components/cardErrorBoundary/index.js +4 -0
- package/dist/components/checkBoxList/CheckBoxList.d.ts +4 -0
- package/dist/components/{CheckBoxList/check-box-list.js → checkBoxList/CheckBoxList.js} +4 -4
- package/dist/components/{CheckBoxList/check-box-list-item.d.ts → checkBoxList/CheckBoxListItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/check-box-list-item.js → checkBoxList/CheckBoxListItem.js} +2 -2
- package/dist/components/{CheckBoxList/check-box-list-items.d.ts → checkBoxList/CheckBoxListItems.d.ts} +1 -1
- package/dist/components/{CheckBoxList/check-box-list-items.js → checkBoxList/CheckBoxListItems.js} +3 -3
- package/dist/components/{CheckBoxList/clickable-check-box-item.d.ts → checkBoxList/ClickableCheckBoxItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/clickable-check-box-item.js → checkBoxList/ClickableCheckBoxItem.js} +1 -1
- package/dist/components/{CheckBoxList/clickable-row-item.d.ts → checkBoxList/ClickableRowItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/clickable-row-item.js → checkBoxList/ClickableRowItem.js} +1 -1
- package/dist/components/{CheckBoxList/draggable-check-box-list-item.d.ts → checkBoxList/DraggableCheckBoxListItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-check-box-list-item.js → checkBoxList/DraggableCheckBoxListItem.js} +2 -2
- package/dist/components/{CheckBoxList/draggable-clickable-check-box-item.d.ts → checkBoxList/DraggableClickableCheckBoxItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-check-box-item.js → checkBoxList/DraggableClickableCheckBoxItem.js} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-row-item.d.ts → checkBoxList/DraggableClickableRowItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-row-item.js → checkBoxList/DraggableClickableRowItem.js} +1 -1
- package/dist/components/checkBoxList/index.d.ts +4 -0
- package/dist/components/checkBoxList/index.js +4 -0
- package/dist/components/{CustomAGGrid/custom-aggrid.js → customAGGrid/customAggrid.js} +1 -1
- package/dist/components/dialogs/{custom-mui-dialog.d.ts → customMuiDialog/CustomMuiDialog.d.ts} +1 -1
- package/dist/components/dialogs/{custom-mui-dialog.js → customMuiDialog/CustomMuiDialog.js} +4 -4
- package/dist/components/dialogs/{description-modification-dialog.js → descriptionModificationDialog/DescriptionModificationDialog.js} +5 -5
- package/dist/components/dialogs/{modify-element-selection.d.ts → modifyElementSelection/ModifyElementSelection.d.ts} +1 -1
- package/dist/components/dialogs/{modify-element-selection.js → modifyElementSelection/ModifyElementSelection.js} +4 -4
- package/dist/components/dialogs/{popup-confirmation-dialog.js → popupConfirmationDialog/PopupConfirmationDialog.js} +1 -1
- package/dist/components/{DirectoryItemSelector/directory-item-selector.d.ts → directoryItemSelector/DirectoryItemSelector.d.ts} +1 -1
- package/dist/components/{DirectoryItemSelector/directory-item-selector.js → directoryItemSelector/DirectoryItemSelector.js} +3 -3
- package/dist/components/{ElementSearchDialog/equipment-item.d.ts → elementSearch/elementItem/EquipmentItem.d.ts} +2 -2
- package/dist/components/{ElementSearchDialog/equipment-item.js → elementSearch/elementItem/EquipmentItem.js} +4 -4
- package/dist/components/{ElementSearchDialog/element-search-dialog.d.ts → elementSearch/elementSearchDialog/ElementSearchDialog.d.ts} +1 -1
- package/dist/components/{ElementSearchDialog/element-search-dialog.js → elementSearch/elementSearchDialog/ElementSearchDialog.js} +1 -1
- package/dist/components/{ElementSearchDialog/use-element-search.js → elementSearch/hooks/useElementSearch.js} +2 -2
- package/dist/components/elementSearch/index.d.ts +13 -0
- package/dist/components/elementSearch/index.js +10 -0
- package/dist/components/{ElementSearchDialog/tag-renderer.d.ts → elementSearch/tagRenderer/TagRenderer.d.ts} +1 -1
- package/dist/components/{ElementSearchDialog/tag-renderer.js → elementSearch/tagRenderer/TagRenderer.js} +3 -3
- package/dist/components/expandableGroup/index.d.ts +4 -0
- package/dist/components/expandableGroup/index.js +4 -0
- package/dist/components/filter/{filter-creation-dialog.d.ts → FilterCreationDialog.d.ts} +1 -1
- package/dist/components/filter/{filter-creation-dialog.js → FilterCreationDialog.js} +9 -9
- package/dist/components/filter/{filter-form.d.ts → FilterForm.d.ts} +1 -1
- package/dist/components/filter/{filter-form.js → FilterForm.js} +9 -9
- package/dist/components/filter/{criteria-based/criteria-based-filter-edition-dialog.d.ts → criteriaBased/CriteriaBasedFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-edition-dialog.js → criteriaBased/CriteriaBasedFilterEditionDialog.js} +8 -8
- package/dist/components/filter/{criteria-based/criteria-based-filter-form.d.ts → criteriaBased/CriteriaBasedFilterForm.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-form.js → criteriaBased/CriteriaBasedFilterForm.js} +7 -7
- package/dist/components/filter/{criteria-based/criteria-based-form.d.ts → criteriaBased/CriteriaBasedForm.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-form.js → criteriaBased/CriteriaBasedForm.js} +3 -3
- package/dist/components/filter/{criteria-based/filter-free-properties.d.ts → criteriaBased/FilterFreeProperties.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-free-properties.js → criteriaBased/FilterFreeProperties.js} +5 -5
- package/dist/components/filter/{criteria-based/filter-properties.d.ts → criteriaBased/FilterProperties.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-properties.js → criteriaBased/FilterProperties.js} +7 -7
- package/dist/components/filter/{criteria-based/filter-property.d.ts → criteriaBased/FilterProperty.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-property.js → criteriaBased/FilterProperty.js} +3 -3
- package/dist/components/filter/{criteria-based/criteria-based-filter-utils.d.ts → criteriaBased/criteriaBasedFilterUtils.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-utils.js → criteriaBased/criteriaBasedFilterUtils.js} +6 -6
- package/dist/components/filter/expert/{expert-filter-edition-dialog.d.ts → ExpertFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-edition-dialog.js → ExpertFilterEditionDialog.js} +10 -10
- package/dist/components/filter/expert/{expert-filter-form.d.ts → ExpertFilterForm.d.ts} +2 -2
- package/dist/components/filter/expert/{expert-filter-form.js → ExpertFilterForm.js} +9 -9
- package/dist/components/filter/expert/{expert-filter-constants.d.ts → expertFilterConstants.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-constants.js → expertFilterConstants.js} +1 -1
- package/dist/components/filter/expert/{expert-filter-utils.d.ts → expertFilterUtils.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-utils.js → expertFilterUtils.js} +3 -3
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-edition-dialog.d.ts → explicitNaming/ExplicitNamingFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-edition-dialog.js → explicitNaming/ExplicitNamingFilterEditionDialog.js} +9 -9
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-form.d.ts → explicitNaming/ExplicitNamingFilterForm.d.ts} +3 -3
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-form.js → explicitNaming/ExplicitNamingFilterForm.js} +12 -12
- package/dist/components/filter/utils/{filter-api.js → filterApi.js} +5 -5
- package/dist/components/filter/utils/{filter-form-utils.d.ts → filterFormUtils.d.ts} +1 -1
- package/dist/components/filter/utils/{filter-form-utils.js → filterFormUtils.js} +4 -4
- package/dist/components/{FlatParameters → flatParameters}/FlatParameters.js +1 -1
- package/dist/components/inputs/{select-clearable.js → SelectClearable.js} +1 -1
- package/dist/components/inputs/{react-hook-form/directory-items-input.js → reactHookForm/DirectoryItemsInput.js} +7 -7
- package/dist/components/inputs/{react-hook-form/ag-grid-table/bottom-right-buttons.js → reactHookForm/agGridTable/BottomRightButtons.js} +3 -3
- package/dist/components/inputs/{react-hook-form/ag-grid-table/custom-ag-grid-table.js → reactHookForm/agGridTable/CustomAgGridTable.js} +2 -2
- package/dist/components/inputs/{react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js → reactHookForm/agGridTable/csvUploader/CsvUploader.js} +2 -2
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/autocomplete-input.d.ts → reactHookForm/autocompleteInputs/AutocompleteInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/autocomplete-input.js → reactHookForm/autocompleteInputs/AutocompleteInput.js} +2 -2
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js → reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/booleans/checkbox-input.js → reactHookForm/booleans/CheckboxInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/radio-input.js → reactHookForm/booleans/RadioInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/booleans/switch-input.js → reactHookForm/booleans/SwitchInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/float-input.d.ts → reactHookForm/numbers/FloatInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/float-input.js → reactHookForm/numbers/FloatInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/integer-input.d.ts → reactHookForm/numbers/IntegerInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/integer-input.js → reactHookForm/numbers/IntegerInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/range-input.d.ts → reactHookForm/numbers/RangeInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/range-input.js → reactHookForm/numbers/RangeInput.js} +4 -4
- package/dist/components/inputs/{react-hook-form/slider-input.js → reactHookForm/numbers/SliderInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/custom-form-provider.js → reactHookForm/provider/CustomFormProvider.js} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/use-custom-form-context.d.ts → reactHookForm/provider/useCustomFormContext.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/use-custom-form-context.js → reactHookForm/provider/useCustomFormContext.js} +1 -1
- package/dist/components/inputs/{react-hook-form/select-inputs/countries-input.js → reactHookForm/selectInputs/CountriesInput.js} +3 -3
- package/dist/components/inputs/{react-hook-form/select-inputs/input-with-popup-confirmation.js → reactHookForm/selectInputs/InputWithPopupConfirmation.js} +1 -1
- package/dist/components/inputs/{react-hook-form/select-inputs/select-input.d.ts → reactHookForm/selectInputs/SelectInput.d.ts} +2 -2
- package/dist/components/inputs/{react-hook-form/select-inputs/select-input.js → reactHookForm/selectInputs/SelectInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/description-field.js → reactHookForm/text/DescriptionField.js} +1 -1
- package/dist/components/inputs/{react-hook-form → reactHookForm/text}/ExpandingTextField.d.ts +1 -1
- package/dist/components/inputs/{react-hook-form → reactHookForm/text}/ExpandingTextField.js +2 -2
- package/dist/components/inputs/{react-hook-form/text-input.d.ts → reactHookForm/text/TextInput.d.ts} +2 -2
- package/dist/components/inputs/{react-hook-form/text-input.js → reactHookForm/text/TextInput.js} +4 -4
- package/dist/components/inputs/{react-hook-form/unique-name-input.d.ts → reactHookForm/text/UniqueNameInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/unique-name-input.js → reactHookForm/text/UniqueNameInput.js} +2 -2
- package/dist/components/inputs/{react-hook-form/utils/text-field-with-adornment.d.ts → reactHookForm/utils/TextFieldWithAdornment.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/combinator-selector.js → reactQueryBuilder/CombinatorSelector.js} +1 -1
- package/dist/components/inputs/{react-query-builder/country-value-editor.js → reactQueryBuilder/CountryValueEditor.js} +6 -6
- package/dist/components/inputs/{react-query-builder/custom-react-query-builder.js → reactQueryBuilder/CustomReactQueryBuilder.js} +9 -9
- package/dist/components/inputs/{react-query-builder/element-value-editor.js → reactQueryBuilder/ElementValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/property-value-editor.js → reactQueryBuilder/PropertyValueEditor.js} +4 -4
- package/dist/components/inputs/{react-query-builder/remove-button.js → reactQueryBuilder/RemoveButton.js} +1 -1
- package/dist/components/inputs/{react-query-builder/text-value-editor.js → reactQueryBuilder/TextValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/translated-value-editor.js → reactQueryBuilder/TranslatedValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/value-editor.js → reactQueryBuilder/ValueEditor.js} +12 -12
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/group-value-editor.d.ts → reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/group-value-editor.js → reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js} +1 -1
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/rule-value-editor.d.ts → reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/use-convert-value.js → reactQueryBuilder/hooks/useConvertValue.js} +1 -1
- package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/MuiVirtualizedTable.js +1 -1
- package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/MultipleSelectionDialog.d.ts +1 -1
- package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/MultipleSelectionDialog.js +2 -2
- package/dist/components/overflowableText/index.d.ts +4 -0
- package/dist/components/overflowableText/index.js +4 -0
- package/dist/components/{TopBar → topBar}/TopBar.d.ts +1 -1
- package/dist/components/{TreeViewFinder → treeViewFinder}/TreeViewFinder.js +1 -1
- package/dist/hooks/useConfidentialityWarning.js +1 -1
- package/dist/hooks/{localized-countries-hook.js → useLocalizedCountries.js} +1 -1
- package/dist/hooks/{predefined-properties-hook.d.ts → usePredefinedProperties.d.ts} +1 -1
- package/dist/hooks/{predefined-properties-hook.js → usePredefinedProperties.js} +2 -2
- package/dist/index.d.ts +166 -171
- package/dist/index.js +215 -213
- package/dist/services/{apps-metadata.d.ts → appsMetadata.d.ts} +1 -1
- package/dist/services/directory.d.ts +1 -1
- package/dist/services/explore.d.ts +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/dist/utils/{ElementIcon.d.ts → mapper/elementIcon.d.ts} +1 -1
- package/dist/utils/{ElementIcon.js → mapper/elementIcon.js} +1 -1
- package/dist/utils/{equipment-types-for-predefined-properties-mapper.d.ts → mapper/equipmentTypesForPredefinedPropertiesMapper.d.ts} +1 -1
- package/dist/utils/{EquipmentType.js → types/equipmentType.js} +1 -1
- package/dist/utils/{types.d.ts → types/types.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/components/AuthenticationRouter/index.d.ts +0 -4
- package/dist/components/AuthenticationRouter/index.js +0 -4
- package/dist/components/CardErrorBoundary/index.d.ts +0 -3
- package/dist/components/CardErrorBoundary/index.js +0 -4
- package/dist/components/CheckBoxList/check-box-list.d.ts +0 -4
- package/dist/components/CheckBoxList/index.d.ts +0 -3
- package/dist/components/CheckBoxList/index.js +0 -4
- package/dist/components/ElementSearchDialog/index.d.ts +0 -13
- package/dist/components/ElementSearchDialog/index.js +0 -10
- package/dist/components/ExpandableGroup/index.d.ts +0 -4
- package/dist/components/ExpandableGroup/index.js +0 -4
- package/dist/components/Login/index.d.ts +0 -3
- package/dist/components/Login/index.js +0 -4
- package/dist/components/OverflowableText/index.d.ts +0 -4
- package/dist/components/OverflowableText/index.js +0 -4
- package/dist/components/ReportViewer/filter-button.d.ts +0 -11
- package/dist/components/ReportViewer/filter-button.js +0 -62
- package/dist/components/ReportViewer/index.d.ts +0 -4
- package/dist/components/ReportViewer/index.js +0 -4
- package/dist/components/ReportViewer/log-report-item.d.ts +0 -18
- package/dist/components/ReportViewer/log-report-item.js +0 -54
- package/dist/components/ReportViewer/log-report.d.ts +0 -20
- package/dist/components/ReportViewer/log-report.js +0 -41
- package/dist/components/ReportViewer/log-severity.d.ts +0 -13
- package/dist/components/ReportViewer/log-severity.js +0 -35
- package/dist/components/ReportViewer/log-table.d.ts +0 -11
- package/dist/components/ReportViewer/log-table.js +0 -121
- package/dist/components/ReportViewer/multi-select-list.d.ts +0 -17
- package/dist/components/ReportViewer/multi-select-list.js +0 -27
- package/dist/components/ReportViewer/report-item.d.ts +0 -13
- package/dist/components/ReportViewer/report-item.js +0 -100
- package/dist/components/ReportViewer/report-tree-view-context.d.ts +0 -12
- package/dist/components/ReportViewer/report-tree-view-context.js +0 -8
- package/dist/components/ReportViewer/report-viewer.d.ts +0 -7
- package/dist/components/ReportViewer/report-viewer.js +0 -154
- package/dist/components/ReportViewer/report.type.d.ts +0 -22
- package/dist/components/ReportViewerDialog/index.d.ts +0 -4
- package/dist/components/ReportViewerDialog/index.js +0 -4
- package/dist/components/ReportViewerDialog/report-viewer-dialog.d.ts +0 -9
- package/dist/components/ReportViewerDialog/report-viewer-dialog.js +0 -49
- package/dist/components/SignInCallbackHandler/index.d.ts +0 -3
- package/dist/components/SignInCallbackHandler/index.js +0 -4
- package/dist/components/SilentRenewCallbackHandler/index.d.ts +0 -3
- package/dist/components/SilentRenewCallbackHandler/index.js +0 -4
- package/dist/utils/Metadata.js +0 -1
- /package/dist/assets/{expert-filter-form.css → ExpertFilterForm.css} +0 -0
- /package/dist/components/{Login → authentication}/Login.d.ts +0 -0
- /package/dist/components/{Login → authentication}/Login.js +0 -0
- /package/dist/components/{Login → authentication}/Logout.d.ts +0 -0
- /package/dist/components/{Login → authentication}/Logout.js +0 -0
- /package/dist/components/{SignInCallbackHandler → authentication}/SignInCallbackHandler.d.ts +0 -0
- /package/dist/components/{SignInCallbackHandler → authentication}/SignInCallbackHandler.js +0 -0
- /package/dist/components/{SilentRenewCallbackHandler → authentication}/SilentRenewCallbackHandler.d.ts +0 -0
- /package/dist/components/{SilentRenewCallbackHandler → authentication}/SilentRenewCallbackHandler.js +0 -0
- /package/dist/{utils/UserManagerMock.d.ts → components/authentication/utils/userManagerMock.d.ts} +0 -0
- /package/dist/{utils/UserManagerMock.js → components/authentication/utils/userManagerMock.js} +0 -0
- /package/dist/components/{CardErrorBoundary/card-error-boundary.d.ts → cardErrorBoundary/CardErrorBoundary.d.ts} +0 -0
- /package/dist/components/{CardErrorBoundary/card-error-boundary.js → cardErrorBoundary/CardErrorBoundary.js} +0 -0
- /package/dist/components/{CheckBoxList/check-box-list-type.d.ts → checkBoxList/checkBoxList.type.d.ts} +0 -0
- /package/dist/components/{CheckBoxList/check-box-list-type.js → checkBoxList/checkBoxList.type.js} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.d.ts → customAGGrid/customAggrid.d.ts} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.style.d.ts → customAGGrid/customAggrid.style.d.ts} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.style.js → customAGGrid/customAggrid.style.js} +0 -0
- /package/dist/components/dialogs/{description-modification-dialog.d.ts → descriptionModificationDialog/DescriptionModificationDialog.d.ts} +0 -0
- /package/dist/components/dialogs/{popup-confirmation-dialog.d.ts → popupConfirmationDialog/PopupConfirmationDialog.d.ts} +0 -0
- /package/dist/components/{ElementSearchDialog/element-search-input.d.ts → elementSearch/elementSearchInput/ElementSearchInput.d.ts} +0 -0
- /package/dist/components/{ElementSearchDialog/element-search-input.js → elementSearch/elementSearchInput/ElementSearchInput.js} +0 -0
- /package/dist/components/{ElementSearchDialog/use-element-search.d.ts → elementSearch/hooks/useElementSearch.d.ts} +0 -0
- /package/dist/components/{ExpandableGroup/expandable-group.d.ts → expandableGroup/ExpandableGroup.d.ts} +0 -0
- /package/dist/components/{ExpandableGroup/expandable-group.js → expandableGroup/ExpandableGroup.js} +0 -0
- /package/dist/components/filter/constants/{filter-constants.d.ts → FilterConstants.d.ts} +0 -0
- /package/dist/components/filter/constants/{filter-constants.js → FilterConstants.js} +0 -0
- /package/dist/components/filter/expert/{expert-filter.type.d.ts → expertFilter.type.d.ts} +0 -0
- /package/dist/components/filter/expert/{expert-filter.type.js → expertFilter.type.js} +0 -0
- /package/dist/components/filter/utils/{filter-api.d.ts → filterApi.d.ts} +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/FlatParameters.d.ts +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/index.d.ts +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/index.js +0 -0
- /package/dist/components/inputs/{select-clearable.d.ts → SelectClearable.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/directory-items-input.d.ts → reactHookForm/DirectoryItemsInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/raw-read-only-input.d.ts → reactHookForm/RawReadOnlyInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/raw-read-only-input.js → reactHookForm/RawReadOnlyInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/bottom-right-buttons.d.ts → reactHookForm/agGridTable/BottomRightButtons.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/custom-ag-grid-table.d.ts → reactHookForm/agGridTable/CustomAgGridTable.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/cell-editors → reactHookForm/agGridTable/cellEditors}/numericEditor.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/cell-editors → reactHookForm/agGridTable/cellEditors}/numericEditor.js +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/csv-uploader/csv-uploader.d.ts → reactHookForm/agGridTable/csvUploader/CsvUploader.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/autocomplete-inputs/multiple-autocomplete-input.d.ts → reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/boolean-input.d.ts → reactHookForm/booleans/BooleanInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/boolean-input.js → reactHookForm/booleans/BooleanInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/checkbox-input.d.ts → reactHookForm/booleans/CheckboxInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/radio-input.d.ts → reactHookForm/booleans/RadioInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/switch-input.d.ts → reactHookForm/booleans/SwitchInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/error-input.d.ts → reactHookForm/errorManagement/ErrorInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/error-input.js → reactHookForm/errorManagement/ErrorInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/field-error-alert.d.ts → reactHookForm/errorManagement/FieldErrorAlert.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/field-error-alert.js → reactHookForm/errorManagement/FieldErrorAlert.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/mid-form-error.d.ts → reactHookForm/errorManagement/MidFormError.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/mid-form-error.js → reactHookForm/errorManagement/MidFormError.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/slider-input.d.ts → reactHookForm/numbers/SliderInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/numbers/utils.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/numbers/utils.js +0 -0
- /package/dist/components/inputs/{react-hook-form/provider/custom-form-provider.d.ts → reactHookForm/provider/CustomFormProvider.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/countries-input.d.ts → reactHookForm/selectInputs/CountriesInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/input-with-popup-confirmation.d.ts → reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/mui-select-input.d.ts → reactHookForm/selectInputs/MuiSelectInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/mui-select-input.js → reactHookForm/selectInputs/MuiSelectInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/description-field.d.ts → reactHookForm/text/DescriptionField.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/cancel-button.d.ts → reactHookForm/utils/CancelButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/cancel-button.js → reactHookForm/utils/CancelButton.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/field-label.d.ts → reactHookForm/utils/FieldLabel.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/field-label.js → reactHookForm/utils/FieldLabel.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/submit-button.d.ts → reactHookForm/utils/SubmitButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/submit-button.js → reactHookForm/utils/SubmitButton.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/text-field-with-adornment.js → reactHookForm/utils/TextFieldWithAdornment.js} +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/utils/functions.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/utils/functions.js +0 -0
- /package/dist/components/inputs/{react-query-builder/add-button.d.ts → reactQueryBuilder/AddButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/add-button.js → reactQueryBuilder/AddButton.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/autocomplete-with-favorites.d.ts → reactQueryBuilder/AutocompleteWithFavorites.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/autocomplete-with-favorites.js → reactQueryBuilder/AutocompleteWithFavorites.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/combinator-selector.d.ts → reactQueryBuilder/CombinatorSelector.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/country-value-editor.d.ts → reactQueryBuilder/CountryValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/custom-react-query-builder.d.ts → reactQueryBuilder/CustomReactQueryBuilder.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/element-value-editor.d.ts → reactQueryBuilder/ElementValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/property-value-editor.d.ts → reactQueryBuilder/PropertyValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/remove-button.d.ts → reactQueryBuilder/RemoveButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/text-value-editor.d.ts → reactQueryBuilder/TextValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/translated-value-editor.d.ts → reactQueryBuilder/TranslatedValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-editor.d.ts → reactQueryBuilder/ValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-selector.d.ts → reactQueryBuilder/ValueSelector.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-selector.js → reactQueryBuilder/ValueSelector.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/composite-rule-editor/rule-value-editor.js → reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-convert-value.d.ts → reactQueryBuilder/hooks/useConvertValue.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-valid.d.ts → reactQueryBuilder/hooks/useValid.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-valid.js → reactQueryBuilder/hooks/useValid.js} +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/ColumnHeader.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/ColumnHeader.js +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/KeyedColumnsRowIndexer.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/KeyedColumnsRowIndexer.js +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/MuiVirtualizedTable.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/index.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/index.js +0 -0
- /package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/index.d.ts +0 -0
- /package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/index.js +0 -0
- /package/dist/components/{OverflowableText/overflowable-text.d.ts → overflowableText/OverflowableText.d.ts} +0 -0
- /package/dist/components/{OverflowableText/overflowable-text.js → overflowableText/OverflowableText.js} +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/SnackbarProvider.d.ts +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/SnackbarProvider.js +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/index.d.ts +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/index.js +0 -0
- /package/dist/components/{TopBar → topBar}/AboutDialog.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/AboutDialog.js +0 -0
- /package/dist/components/{TopBar → topBar}/GridLogo.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/GridLogo.js +0 -0
- /package/dist/components/{TopBar → topBar}/TopBar.js +0 -0
- /package/dist/components/{TopBar → topBar}/index.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/index.js +0 -0
- /package/dist/components/{TopBar → topBar/tests}/TopBar.test.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/TreeViewFinder.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/index.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/index.js +0 -0
- /package/dist/hooks/{localized-countries-hook.d.ts → useLocalizedCountries.d.ts} +0 -0
- /package/dist/redux/{authActions.d.ts → actions/authActions.d.ts} +0 -0
- /package/dist/redux/{authActions.js → actions/authActions.js} +0 -0
- /package/dist/services/{apps-metadata.js → appsMetadata.js} +0 -0
- /package/dist/{components/translations/card-error-boundary-en.d.ts → translations/en/cardErrorBoundaryEn.d.ts} +0 -0
- /package/dist/{components/translations/card-error-boundary-en.js → translations/en/cardErrorBoundaryEn.js} +0 -0
- /package/dist/{components/translations/common-button-en.d.ts → translations/en/commonButtonEn.d.ts} +0 -0
- /package/dist/{components/translations/common-button-en.js → translations/en/commonButtonEn.js} +0 -0
- /package/dist/{components/translations/csv-en.d.ts → translations/en/csvEn.d.ts} +0 -0
- /package/dist/{components/translations/csv-en.js → translations/en/csvEn.js} +0 -0
- /package/dist/{components/translations/description-en.d.ts → translations/en/descriptionEn.d.ts} +0 -0
- /package/dist/{components/translations/description-en.js → translations/en/descriptionEn.js} +0 -0
- /package/dist/{components/translations/directory-items-input-en.d.ts → translations/en/directoryItemsInputEn.d.ts} +0 -0
- /package/dist/{components/translations/directory-items-input-en.js → translations/en/directoryItemsInputEn.js} +0 -0
- /package/dist/{components/translations/element-search-en.d.ts → translations/en/elementSearchEn.d.ts} +0 -0
- /package/dist/{components/translations/element-search-en.js → translations/en/elementSearchEn.js} +0 -0
- /package/dist/{components/translations/equipment-search-en.d.ts → translations/en/equipmentSearchEn.d.ts} +0 -0
- /package/dist/{components/translations/equipment-search-en.js → translations/en/equipmentSearchEn.js} +0 -0
- /package/dist/{components/translations/equipments-en.d.ts → translations/en/equipmentsEn.d.ts} +0 -0
- /package/dist/{components/translations/equipments-en.js → translations/en/equipmentsEn.js} +0 -0
- /package/dist/{components/translations/filter-en.d.ts → translations/en/filterEn.d.ts} +0 -0
- /package/dist/{components/translations/filter-en.js → translations/en/filterEn.js} +0 -0
- /package/dist/{components/translations/filter-expert-en.d.ts → translations/en/filterExpertEn.d.ts} +0 -0
- /package/dist/{components/translations/filter-expert-en.js → translations/en/filterExpertEn.js} +0 -0
- /package/dist/{components/translations/flat-parameters-en.d.ts → translations/en/flatParametersEn.d.ts} +0 -0
- /package/dist/{components/translations/flat-parameters-en.js → translations/en/flatParametersEn.js} +0 -0
- /package/dist/{components/translations/inputs-en.d.ts → translations/en/inputsEn.d.ts} +0 -0
- /package/dist/{components/translations/inputs-en.js → translations/en/inputsEn.js} +0 -0
- /package/dist/{components/translations/login-en.d.ts → translations/en/loginEn.d.ts} +0 -0
- /package/dist/{components/translations/login-en.js → translations/en/loginEn.js} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-en.d.ts → translations/en/multipleSelectionDialogEn.d.ts} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-en.js → translations/en/multipleSelectionDialogEn.js} +0 -0
- /package/dist/{components/translations/report-viewer-en.d.ts → translations/en/reportViewerEn.d.ts} +0 -0
- /package/dist/{components/translations/report-viewer-en.js → translations/en/reportViewerEn.js} +0 -0
- /package/dist/{components/translations/table-en.d.ts → translations/en/tableEn.d.ts} +0 -0
- /package/dist/{components/translations/table-en.js → translations/en/tableEn.js} +0 -0
- /package/dist/{components/translations/top-bar-en.d.ts → translations/en/topBarEn.d.ts} +0 -0
- /package/dist/{components/translations/top-bar-en.js → translations/en/topBarEn.js} +0 -0
- /package/dist/{components/translations/treeview-finder-en.d.ts → translations/en/treeviewFinderEn.d.ts} +0 -0
- /package/dist/{components/translations/treeview-finder-en.js → translations/en/treeviewFinderEn.js} +0 -0
- /package/dist/{components/translations/card-error-boundary-fr.d.ts → translations/fr/cardErrorBoundaryFr.d.ts} +0 -0
- /package/dist/{components/translations/card-error-boundary-fr.js → translations/fr/cardErrorBoundaryFr.js} +0 -0
- /package/dist/{components/translations/common-button-fr.d.ts → translations/fr/commonButtonFr.d.ts} +0 -0
- /package/dist/{components/translations/common-button-fr.js → translations/fr/commonButtonFr.js} +0 -0
- /package/dist/{components/translations/csv-fr.d.ts → translations/fr/csvFr.d.ts} +0 -0
- /package/dist/{components/translations/csv-fr.js → translations/fr/csvFr.js} +0 -0
- /package/dist/{components/translations/description-fr.d.ts → translations/fr/descriptionFr.d.ts} +0 -0
- /package/dist/{components/translations/description-fr.js → translations/fr/descriptionFr.js} +0 -0
- /package/dist/{components/translations/directory-items-input-fr.d.ts → translations/fr/directoryItemsInputFr.d.ts} +0 -0
- /package/dist/{components/translations/directory-items-input-fr.js → translations/fr/directoryItemsInputFr.js} +0 -0
- /package/dist/{components/translations/element-search-fr.d.ts → translations/fr/elementSearchFr.d.ts} +0 -0
- /package/dist/{components/translations/element-search-fr.js → translations/fr/elementSearchFr.js} +0 -0
- /package/dist/{components/translations/equipment-search-fr.d.ts → translations/fr/equipmentSearchFr.d.ts} +0 -0
- /package/dist/{components/translations/equipment-search-fr.js → translations/fr/equipmentSearchFr.js} +0 -0
- /package/dist/{components/translations/equipments-fr.d.ts → translations/fr/equipmentsFr.d.ts} +0 -0
- /package/dist/{components/translations/equipments-fr.js → translations/fr/equipmentsFr.js} +0 -0
- /package/dist/{components/translations/filter-expert-fr.d.ts → translations/fr/filterExpertFr.d.ts} +0 -0
- /package/dist/{components/translations/filter-expert-fr.js → translations/fr/filterExpertFr.js} +0 -0
- /package/dist/{components/translations/filter-fr.d.ts → translations/fr/filterFr.d.ts} +0 -0
- /package/dist/{components/translations/filter-fr.js → translations/fr/filterFr.js} +0 -0
- /package/dist/{components/translations/flat-parameters-fr.d.ts → translations/fr/flatParametersFr.d.ts} +0 -0
- /package/dist/{components/translations/flat-parameters-fr.js → translations/fr/flatParametersFr.js} +0 -0
- /package/dist/{components/translations/inputs-fr.d.ts → translations/fr/inputsFr.d.ts} +0 -0
- /package/dist/{components/translations/inputs-fr.js → translations/fr/inputsFr.js} +0 -0
- /package/dist/{components/translations/login-fr.d.ts → translations/fr/loginFr.d.ts} +0 -0
- /package/dist/{components/translations/login-fr.js → translations/fr/loginFr.js} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-fr.d.ts → translations/fr/multipleSelectionDialogFr.d.ts} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-fr.js → translations/fr/multipleSelectionDialogFr.js} +0 -0
- /package/dist/{components/translations/report-viewer-fr.d.ts → translations/fr/reportViewerFr.d.ts} +0 -0
- /package/dist/{components/translations/report-viewer-fr.js → translations/fr/reportViewerFr.js} +0 -0
- /package/dist/{components/translations/table-fr.d.ts → translations/fr/tableFr.d.ts} +0 -0
- /package/dist/{components/translations/table-fr.js → translations/fr/tableFr.js} +0 -0
- /package/dist/{components/translations/top-bar-fr.d.ts → translations/fr/topBarFr.d.ts} +0 -0
- /package/dist/{components/translations/top-bar-fr.js → translations/fr/topBarFr.js} +0 -0
- /package/dist/{components/translations/treeview-finder-fr.d.ts → translations/fr/treeviewFinderFr.d.ts} +0 -0
- /package/dist/{components/translations/treeview-finder-fr.js → translations/fr/treeviewFinderFr.js} +0 -0
- /package/dist/utils/{FetchStatus.d.ts → constants/fetchStatus.d.ts} +0 -0
- /package/dist/utils/{FetchStatus.js → constants/fetchStatus.js} +0 -0
- /package/dist/utils/{field-constants.d.ts → constants/fieldConstants.d.ts} +0 -0
- /package/dist/utils/{field-constants.js → constants/fieldConstants.js} +0 -0
- /package/dist/utils/{conversion-utils.d.ts → conversionUtils.d.ts} +0 -0
- /package/dist/utils/{conversion-utils.js → conversionUtils.js} +0 -0
- /package/dist/utils/{equipment-types-for-predefined-properties-mapper.js → mapper/equipmentTypesForPredefinedPropertiesMapper.js} +0 -0
- /package/dist/utils/{ElementType.d.ts → types/elementType.d.ts} +0 -0
- /package/dist/utils/{ElementType.js → types/elementType.js} +0 -0
- /package/dist/utils/{EquipmentType.d.ts → types/equipmentType.d.ts} +0 -0
- /package/dist/utils/{equipment-types.d.ts → types/equipmentTypes.d.ts} +0 -0
- /package/dist/utils/{equipment-types.js → types/equipmentTypes.js} +0 -0
- /package/dist/utils/{Metadata.d.ts → types/metadata.d.ts} +0 -0
- /package/dist/{components/ReportViewer/report.type.js → utils/types/metadata.js} +0 -0
- /package/dist/utils/{types.js → types/types.js} +0 -0
- /package/dist/utils/{yup-config.d.ts → yupConfig.d.ts} +0 -0
- /package/dist/utils/{yup-config.js → yupConfig.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuthenticationActions } from '../../redux/authActions';
|
|
1
|
+
import { AuthenticationActions } from '../../redux/actions/authActions';
|
|
2
2
|
import { UserManager } from 'oidc-client';
|
|
3
3
|
import { Location, NavigateFunction } from 'react-router-dom';
|
|
4
4
|
import { Dispatch } from 'react';
|
|
@@ -3,11 +3,11 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { Routes, Route, Navigate } from "react-router-dom";
|
|
4
4
|
import { Grid, Alert, AlertTitle } from "@mui/material";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
6
|
-
import SignInCallbackHandler from "
|
|
7
|
-
import { handleSigninCallback, handleSilentRenewCallback, login, logout } from "
|
|
8
|
-
import SilentRenewCallbackHandler from "
|
|
9
|
-
import Login from "
|
|
10
|
-
import Logout from "
|
|
6
|
+
import SignInCallbackHandler from "./SignInCallbackHandler.js";
|
|
7
|
+
import { handleSigninCallback, handleSilentRenewCallback, login, logout } from "./utils/authService.js";
|
|
8
|
+
import SilentRenewCallbackHandler from "./SilentRenewCallbackHandler.js";
|
|
9
|
+
import Login from "./Login.js";
|
|
10
|
+
import Logout from "./Logout.js";
|
|
11
11
|
function AuthenticationRouter({
|
|
12
12
|
userManager,
|
|
13
13
|
signInCallbackError,
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { default as AuthenticationRouter } from './AuthenticationRouter';
|
|
8
|
+
export type { AuthenticationRouterErrorState, AuthenticationRouterProps, UserManagerState, } from './AuthenticationRouter';
|
|
9
|
+
export { default as Login } from './Login';
|
|
10
|
+
export { default as SignInCallbackHandler } from './SignInCallbackHandler';
|
|
11
|
+
export { default as SilentRenewCallbackHandler } from './SilentRenewCallbackHandler';
|
|
12
|
+
export { initializeAuthenticationDev, initializeAuthenticationProd, logout, dispatchUser, getPreLoginPath, } from './utils/authService';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as default2 } from "./AuthenticationRouter.js";
|
|
2
|
+
import { default as default3 } from "./Login.js";
|
|
3
|
+
import { default as default4 } from "./SignInCallbackHandler.js";
|
|
4
|
+
import { default as default5 } from "./SilentRenewCallbackHandler.js";
|
|
5
|
+
import { dispatchUser, getPreLoginPath, initializeAuthenticationDev, initializeAuthenticationProd, logout } from "./utils/authService.js";
|
|
6
|
+
export {
|
|
7
|
+
default2 as AuthenticationRouter,
|
|
8
|
+
default3 as Login,
|
|
9
|
+
default4 as SignInCallbackHandler,
|
|
10
|
+
default5 as SilentRenewCallbackHandler,
|
|
11
|
+
dispatchUser,
|
|
12
|
+
getPreLoginPath,
|
|
13
|
+
initializeAuthenticationDev,
|
|
14
|
+
initializeAuthenticationProd,
|
|
15
|
+
logout
|
|
16
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuthenticationActions } from '
|
|
1
|
+
import { AuthenticationActions } from '../../../redux/actions/authActions';
|
|
2
2
|
import { User, UserManager } from 'oidc-client';
|
|
3
3
|
import { Location, NavigateFunction } from 'react-router-dom';
|
|
4
4
|
import { Dispatch } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jwtDecode } from "jwt-decode";
|
|
2
2
|
import { Log, UserManager } from "oidc-client";
|
|
3
|
-
import UserManagerMock from "./
|
|
4
|
-
import { setLoggedUser, setLogoutError, setUnauthorizedUserInfo, setUserValidationError, setSignInCallbackError, setShowAuthenticationRouterLogin, resetAuthenticationRouterError } from "
|
|
3
|
+
import UserManagerMock from "./userManagerMock.js";
|
|
4
|
+
import { setLoggedUser, setLogoutError, setUnauthorizedUserInfo, setUserValidationError, setSignInCallbackError, setShowAuthenticationRouterLogin, resetAuthenticationRouterError } from "../../../redux/actions/authActions.js";
|
|
5
5
|
window.OIDCLog = Log;
|
|
6
6
|
const hackAuthorityKey = "oidc.hack.authority";
|
|
7
7
|
const oidcHackReloadedKey = "gridsuite-oidc-hack-reloaded";
|
|
@@ -2,8 +2,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { Box } from "@mui/material";
|
|
4
4
|
import { DragDropContext, Droppable } from "react-beautiful-dnd";
|
|
5
|
-
import { CheckBoxListItems } from "./
|
|
6
|
-
function
|
|
5
|
+
import { CheckBoxListItems } from "./CheckBoxListItems.js";
|
|
6
|
+
function CheckBoxList({
|
|
7
7
|
isDndDragAndDropActive = false,
|
|
8
8
|
onDragStart,
|
|
9
9
|
onDragEnd,
|
|
@@ -42,6 +42,6 @@ function CheckboxList({
|
|
|
42
42
|
) : checkBoxField;
|
|
43
43
|
}
|
|
44
44
|
export {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
CheckBoxList,
|
|
46
|
+
CheckBoxList as default
|
|
47
47
|
};
|
package/dist/components/{CheckBoxList/check-box-list-item.d.ts → checkBoxList/CheckBoxListItem.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckBoxListItemProps } from './
|
|
1
|
+
import { CheckBoxListItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function CheckBoxListItem<T>({ item, sx, secondaryAction, getItemId, divider, isCheckboxClickableOnly, ...props }: CheckBoxListItemProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default CheckBoxListItem;
|
package/dist/components/{CheckBoxList/check-box-list-item.js → checkBoxList/CheckBoxListItem.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { ListItem } from "@mui/material";
|
|
4
|
-
import { ClickableCheckBoxItem } from "./
|
|
5
|
-
import { ClickableRowItem } from "./
|
|
4
|
+
import { ClickableCheckBoxItem } from "./ClickableCheckBoxItem.js";
|
|
5
|
+
import { ClickableRowItem } from "./ClickableRowItem.js";
|
|
6
6
|
function CheckBoxListItem({
|
|
7
7
|
item,
|
|
8
8
|
sx,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckBoxListItemsProps } from './
|
|
1
|
+
import { CheckBoxListItemsProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function CheckBoxListItems<T>({ items, selectedItems, onSelectionChange, getItemId, sx, secondaryAction, enableSecondaryActionOnHover, addSelectAllCheckbox, selectAllCheckBoxLabel, getItemLabel, isDisabled, isDndDragAndDropActive, isDragDisable, divider, isCheckboxClickableOnly, ...props }: CheckBoxListItemsProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default CheckBoxListItems;
|
package/dist/components/{CheckBoxList/check-box-list-items.js → checkBoxList/CheckBoxListItems.js}
RENAMED
|
@@ -3,9 +3,9 @@ import { Draggable } from "react-beautiful-dnd";
|
|
|
3
3
|
import { useCallback, useMemo } from "react";
|
|
4
4
|
import { List, ListItem, ListItemButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
6
|
-
import { CheckBoxListItem } from "./
|
|
7
|
-
import { OverflowableText } from "../OverflowableText
|
|
8
|
-
import { DraggableCheckBoxListItem } from "./
|
|
6
|
+
import { CheckBoxListItem } from "./CheckBoxListItem.js";
|
|
7
|
+
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
8
|
+
import { DraggableCheckBoxListItem } from "./DraggableCheckBoxListItem.js";
|
|
9
9
|
function CheckBoxListItems({
|
|
10
10
|
items,
|
|
11
11
|
selectedItems,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickableItemProps } from './
|
|
1
|
+
import { ClickableItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function ClickableCheckBoxItem({ sx, label, ...props }: ClickableItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default ClickableCheckBoxItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
3
|
-
import { OverflowableText } from "../OverflowableText
|
|
3
|
+
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
4
4
|
function ClickableCheckBoxItem({ sx, label, ...props }) {
|
|
5
5
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6
6
|
/* @__PURE__ */ jsx(ListItemIcon, { sx: { minWidth: 0, ...sx == null ? void 0 : sx.checkBoxIcon }, children: /* @__PURE__ */ jsx(Checkbox, { disableRipple: true, sx: { paddingLeft: 0, ...sx == null ? void 0 : sx.checkbox }, ...props }) }),
|
package/dist/components/{CheckBoxList/clickable-row-item.d.ts → checkBoxList/ClickableRowItem.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickableItemProps } from './
|
|
1
|
+
import { ClickableItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function ClickableRowItem({ sx, disabled, label, onClick, ...props }: ClickableItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default ClickableRowItem;
|
package/dist/components/{CheckBoxList/clickable-row-item.js → checkBoxList/ClickableRowItem.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ListItemButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
3
|
-
import { OverflowableText } from "../OverflowableText
|
|
3
|
+
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
4
4
|
function ClickableRowItem({ sx, disabled, label, onClick, ...props }) {
|
|
5
5
|
return /* @__PURE__ */ jsxs(ListItemButton, { sx: { paddingLeft: 0, ...sx == null ? void 0 : sx.checkboxButton }, disabled, onClick, children: [
|
|
6
6
|
/* @__PURE__ */ jsx(ListItemIcon, { sx: { minWidth: 0, ...sx == null ? void 0 : sx.checkBoxIcon }, children: /* @__PURE__ */ jsx(Checkbox, { disableRipple: true, sx: { paddingLeft: 0, ...sx == null ? void 0 : sx.checkbox }, ...props }) }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DraggableCheckBoxListItemProps } from './
|
|
1
|
+
import { DraggableCheckBoxListItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function DraggableCheckBoxListItem<T>({ item, sx, secondaryAction, getItemId, isDragDisable, provided, divider, isCheckboxClickableOnly, ...props }: DraggableCheckBoxListItemProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default DraggableCheckBoxListItem;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { ListItem } from "@mui/material";
|
|
4
|
-
import { DraggableClickableCheckBoxItem } from "./
|
|
5
|
-
import { DraggableClickableRowItem } from "./
|
|
4
|
+
import { DraggableClickableCheckBoxItem } from "./DraggableClickableCheckBoxItem.js";
|
|
5
|
+
import { DraggableClickableRowItem } from "./DraggableClickableRowItem.js";
|
|
6
6
|
function DraggableCheckBoxListItem({
|
|
7
7
|
item,
|
|
8
8
|
sx,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DraggableClickableItemProps } from './
|
|
1
|
+
import { DraggableClickableItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function DraggableClickableCheckBoxItem({ sx, disabled, provided, isHighlighted, label, ...props }: DraggableClickableItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default DraggableClickableCheckBoxItem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { IconButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
3
3
|
import DragIndicatorIcon from "@mui/icons-material/DragIndicator";
|
|
4
|
-
import { OverflowableText } from "../OverflowableText
|
|
4
|
+
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
5
5
|
const styles = {
|
|
6
6
|
dragIcon: (theme) => ({
|
|
7
7
|
padding: "unset",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DraggableClickableItemProps } from './
|
|
1
|
+
import { DraggableClickableItemProps } from './checkBoxList.type';
|
|
2
2
|
|
|
3
3
|
export declare function DraggableClickableRowItem({ sx, disabled, onClick, provided, isHighlighted, label, ...props }: DraggableClickableItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default DraggableClickableRowItem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ListItemButton, IconButton, ListItemIcon, Checkbox, ListItemText } from "@mui/material";
|
|
3
3
|
import DragIndicatorIcon from "@mui/icons-material/DragIndicator";
|
|
4
|
-
import { OverflowableText } from "../OverflowableText
|
|
4
|
+
import { OverflowableText } from "../overflowableText/OverflowableText.js";
|
|
5
5
|
const styles = {
|
|
6
6
|
dragIcon: (theme) => ({
|
|
7
7
|
padding: "unset",
|
|
@@ -7,7 +7,7 @@ import "ag-grid-community/styles/ag-theme-alpine.css";
|
|
|
7
7
|
import { Box } from "@mui/system";
|
|
8
8
|
import { useTheme } from "@mui/material";
|
|
9
9
|
import { mergeSx } from "../../utils/styles.js";
|
|
10
|
-
import { CUSTOM_AGGRID_THEME, styles } from "./
|
|
10
|
+
import { CUSTOM_AGGRID_THEME, styles } from "./customAggrid.style.js";
|
|
11
11
|
const onColumnResized = (params) => {
|
|
12
12
|
var _a;
|
|
13
13
|
const { column, finished } = params;
|
package/dist/components/dialogs/{custom-mui-dialog.d.ts → customMuiDialog/CustomMuiDialog.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MergedFormContextProps } from '
|
|
1
|
+
import { MergedFormContextProps } from '../../inputs/reactHookForm/provider/CustomFormProvider';
|
|
2
2
|
import { FieldErrors, UseFormReturn } from 'react-hook-form';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
|
|
@@ -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 "
|
|
6
|
-
import CancelButton from "
|
|
7
|
-
import CustomFormProvider from "
|
|
8
|
-
import PopupConfirmationDialog from "
|
|
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": {
|
|
@@ -3,11 +3,11 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { useForm } from "react-hook-form";
|
|
4
4
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
5
5
|
import { Box } from "@mui/material";
|
|
6
|
-
import "
|
|
7
|
-
import FieldConstants from "
|
|
8
|
-
import { useSnackMessage } from "
|
|
9
|
-
import CustomMuiDialog from "
|
|
10
|
-
import ExpandingTextField from "
|
|
6
|
+
import "../../../utils/yupConfig.js";
|
|
7
|
+
import FieldConstants from "../../../utils/constants/fieldConstants.js";
|
|
8
|
+
import { useSnackMessage } from "../../../hooks/useSnackMessage.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")
|
|
@@ -3,10 +3,10 @@ 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 "
|
|
7
|
-
import DirectoryItemSelector from "
|
|
8
|
-
import { ElementType } from "
|
|
9
|
-
import { fetchDirectoryElementPath } from "
|
|
6
|
+
import FieldConstants from "../../../utils/constants/fieldConstants.js";
|
|
7
|
+
import DirectoryItemSelector from "../../directoryItemSelector/DirectoryItemSelector.js";
|
|
8
|
+
import { ElementType } from "../../../utils/types/elementType.js";
|
|
9
|
+
import { fetchDirectoryElementPath } from "../../../services/directory.js";
|
|
10
10
|
function ModifyElementSelection(props) {
|
|
11
11
|
const intl = useIntl();
|
|
12
12
|
const {
|
|
@@ -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 "
|
|
9
|
+
import CancelButton from "../../inputs/reactHookForm/utils/CancelButton.js";
|
|
10
10
|
function PopupConfirmationDialog({
|
|
11
11
|
message,
|
|
12
12
|
validateButtonLabel,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useCallback, useEffect } from "react";
|
|
3
|
-
import getFileIcon from "../../utils/
|
|
4
|
-
import { ElementType } from "../../utils/
|
|
5
|
-
import TreeViewFinder from "../
|
|
3
|
+
import getFileIcon from "../../utils/mapper/elementIcon.js";
|
|
4
|
+
import { ElementType } from "../../utils/types/elementType.js";
|
|
5
|
+
import TreeViewFinder from "../treeViewFinder/TreeViewFinder.js";
|
|
6
6
|
import { useSnackMessage } from "../../hooks/useSnackMessage.js";
|
|
7
7
|
import { fetchElementsInfos } from "../../services/explore.js";
|
|
8
8
|
import { fetchRootFolders, fetchDirectoryContent } from "../../services/directory.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TagRenderer } from '
|
|
2
|
-
import { EquipmentInfos } from '
|
|
1
|
+
import { TagRenderer } from '../index';
|
|
2
|
+
import { EquipmentInfos } from '../../../utils/types/equipmentType';
|
|
3
3
|
import { SxProps, Theme } from '@mui/material';
|
|
4
4
|
|
|
5
5
|
export interface EquipmentItemProps {
|
|
@@ -4,12 +4,12 @@ import parse from "autosuggest-highlight/parse";
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
6
6
|
import { Box } from "@mui/material";
|
|
7
|
-
import { EQUIPMENT_TYPE } from "
|
|
7
|
+
import { EQUIPMENT_TYPE } from "../../../utils/types/equipmentType.js";
|
|
8
8
|
import "react";
|
|
9
|
-
import TagRenderer from "
|
|
9
|
+
import TagRenderer from "../tagRenderer/TagRenderer.js";
|
|
10
10
|
import "notistack";
|
|
11
|
-
import { OverflowableText } from "
|
|
12
|
-
import { mergeSx } from "
|
|
11
|
+
import { OverflowableText } from "../../overflowableText/OverflowableText.js";
|
|
12
|
+
import { mergeSx } from "../../../utils/styles.js";
|
|
13
13
|
function EquipmentItem({
|
|
14
14
|
inputValue,
|
|
15
15
|
suffixRenderer = TagRenderer,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { Dialog, DialogContent } from "@mui/material";
|
|
4
|
-
import { ElementSearchInput } from "
|
|
4
|
+
import { ElementSearchInput } from "../elementSearchInput/ElementSearchInput.js";
|
|
5
5
|
function ElementSearchDialog(props) {
|
|
6
6
|
const { open, onClose, onSearchTermChange, ...rest } = props;
|
|
7
7
|
const handleClose = useCallback(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState, useRef, useCallback } from "react";
|
|
2
|
-
import useDebounce from "
|
|
3
|
-
import { useSnackMessage } from "
|
|
2
|
+
import useDebounce from "../../../hooks/useDebounce.js";
|
|
3
|
+
import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
|
|
4
4
|
const SEARCH_FETCH_TIMEOUT_MILLIS = 1e3;
|
|
5
5
|
const useElementSearch = (props) => {
|
|
6
6
|
const { fetchElements } = props;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { default as ElementSearchDialog } from './elementSearchDialog/ElementSearchDialog';
|
|
8
|
+
export type { ElementSearchDialogProps } from './elementSearchDialog/ElementSearchDialog';
|
|
9
|
+
export { default as TagRenderer } from './tagRenderer/TagRenderer';
|
|
10
|
+
export type { TagRendererProps } from './tagRenderer/TagRenderer';
|
|
11
|
+
export { ElementSearchInput } from './elementSearchInput/ElementSearchInput';
|
|
12
|
+
export { default as useElementSearch } from './hooks/useElementSearch';
|
|
13
|
+
export type { Paginated } from './hooks/useElementSearch';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementSearchDialog } from "./elementSearchDialog/ElementSearchDialog.js";
|
|
2
|
+
import { default as default2 } from "./tagRenderer/TagRenderer.js";
|
|
3
|
+
import { ElementSearchInput } from "./elementSearchInput/ElementSearchInput.js";
|
|
4
|
+
import { default as default3 } from "./hooks/useElementSearch.js";
|
|
5
|
+
export {
|
|
6
|
+
ElementSearchDialog,
|
|
7
|
+
ElementSearchInput,
|
|
8
|
+
default2 as TagRenderer,
|
|
9
|
+
default3 as useElementSearch
|
|
10
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { OverflowableText } from "
|
|
4
|
-
import { EQUIPMENT_TYPE } from "
|
|
5
|
-
import { mergeSx } from "
|
|
3
|
+
import { OverflowableText } from "../../overflowableText/OverflowableText.js";
|
|
4
|
+
import { EQUIPMENT_TYPE } from "../../../utils/types/equipmentType.js";
|
|
5
|
+
import { mergeSx } from "../../../utils/styles.js";
|
|
6
6
|
function TagRenderer({ element, ...props }) {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f;
|
|
8
8
|
if (element.type !== ((_a = EQUIPMENT_TYPE.SUBSTATION) == null ? void 0 : _a.name) && element.type !== ((_b = EQUIPMENT_TYPE.VOLTAGE_LEVEL) == null ? void 0 : _b.name)) {
|
|
@@ -2,16 +2,16 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { useForm } from "react-hook-form";
|
|
4
4
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
5
|
-
import { saveExplicitNamingFilter, saveCriteriaBasedFilter, saveExpertFilter } from "./utils/
|
|
5
|
+
import { saveExplicitNamingFilter, saveCriteriaBasedFilter, saveExpertFilter } from "./utils/filterApi.js";
|
|
6
6
|
import { useSnackMessage } from "../../hooks/useSnackMessage.js";
|
|
7
|
-
import CustomMuiDialog from "../dialogs/
|
|
8
|
-
import { criteriaBasedFilterEmptyFormData, criteriaBasedFilterSchema } from "./
|
|
9
|
-
import { getExplicitNamingFilterEmptyFormData, explicitNamingFilterSchema, FILTER_EQUIPMENTS_ATTRIBUTES } from "./
|
|
10
|
-
import FieldConstants from "../../utils/
|
|
11
|
-
import "../../utils/
|
|
12
|
-
import FilterForm from "./
|
|
13
|
-
import { getExpertFilterEmptyFormData, expertFilterSchema, EXPERT_FILTER_QUERY } from "./expert/
|
|
14
|
-
import { FilterType } from "./constants/
|
|
7
|
+
import CustomMuiDialog from "../dialogs/customMuiDialog/CustomMuiDialog.js";
|
|
8
|
+
import { criteriaBasedFilterEmptyFormData, criteriaBasedFilterSchema } from "./criteriaBased/CriteriaBasedFilterForm.js";
|
|
9
|
+
import { getExplicitNamingFilterEmptyFormData, explicitNamingFilterSchema, FILTER_EQUIPMENTS_ATTRIBUTES } from "./explicitNaming/ExplicitNamingFilterForm.js";
|
|
10
|
+
import FieldConstants from "../../utils/constants/fieldConstants.js";
|
|
11
|
+
import "../../utils/yupConfig.js";
|
|
12
|
+
import FilterForm from "./FilterForm.js";
|
|
13
|
+
import { getExpertFilterEmptyFormData, expertFilterSchema, EXPERT_FILTER_QUERY } from "./expert/ExpertFilterForm.js";
|
|
14
|
+
import { FilterType } from "./constants/FilterConstants.js";
|
|
15
15
|
import * as yup from "yup";
|
|
16
16
|
const emptyFormData = {
|
|
17
17
|
[FieldConstants.NAME]: "",
|
|
@@ -2,15 +2,15 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
4
4
|
import { Grid } from "@mui/material";
|
|
5
|
-
import FieldConstants from "../../utils/
|
|
6
|
-
import CriteriaBasedFilterForm from "./
|
|
7
|
-
import ExplicitNamingFilterForm from "./
|
|
8
|
-
import ExpertFilterForm from "./expert/
|
|
9
|
-
import { FilterType } from "./constants/
|
|
10
|
-
import RadioInput from "../inputs/
|
|
11
|
-
import { ElementType } from "../../utils/
|
|
12
|
-
import UniqueNameInput from "../inputs/
|
|
13
|
-
import DescriptionField from "../inputs/
|
|
5
|
+
import FieldConstants from "../../utils/constants/fieldConstants.js";
|
|
6
|
+
import CriteriaBasedFilterForm from "./criteriaBased/CriteriaBasedFilterForm.js";
|
|
7
|
+
import ExplicitNamingFilterForm from "./explicitNaming/ExplicitNamingFilterForm.js";
|
|
8
|
+
import ExpertFilterForm from "./expert/ExpertFilterForm.js";
|
|
9
|
+
import { FilterType } from "./constants/FilterConstants.js";
|
|
10
|
+
import RadioInput from "../inputs/reactHookForm/booleans/RadioInput.js";
|
|
11
|
+
import { ElementType } from "../../utils/types/elementType.js";
|
|
12
|
+
import UniqueNameInput from "../inputs/reactHookForm/text/UniqueNameInput.js";
|
|
13
|
+
import DescriptionField from "../inputs/reactHookForm/text/DescriptionField.js";
|
|
14
14
|
function FilterForm(props) {
|
|
15
15
|
const { sourceFilterForExplicitNamingConversion, creation, activeDirectory, elementExists } = props;
|
|
16
16
|
const { setValue } = useFormContext();
|
|
@@ -2,16 +2,16 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useEffect, useCallback } from "react";
|
|
3
3
|
import { useForm } from "react-hook-form";
|
|
4
4
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
5
|
-
import FieldConstants from "../../../utils/
|
|
6
|
-
import { backToFrontTweak, frontToBackTweak } from "./
|
|
7
|
-
import CustomMuiDialog from "../../dialogs/
|
|
5
|
+
import FieldConstants from "../../../utils/constants/fieldConstants.js";
|
|
6
|
+
import { backToFrontTweak, frontToBackTweak } from "./criteriaBasedFilterUtils.js";
|
|
7
|
+
import CustomMuiDialog from "../../dialogs/customMuiDialog/CustomMuiDialog.js";
|
|
8
8
|
import { useSnackMessage } from "../../../hooks/useSnackMessage.js";
|
|
9
|
-
import { criteriaBasedFilterSchema } from "./
|
|
10
|
-
import "../../../utils/
|
|
11
|
-
import { FilterType } from "../constants/
|
|
12
|
-
import FetchStatus from "../../../utils/
|
|
9
|
+
import { criteriaBasedFilterSchema } from "./CriteriaBasedFilterForm.js";
|
|
10
|
+
import "../../../utils/yupConfig.js";
|
|
11
|
+
import { FilterType } from "../constants/FilterConstants.js";
|
|
12
|
+
import FetchStatus from "../../../utils/constants/fetchStatus.js";
|
|
13
13
|
import { saveFilter } from "../../../services/explore.js";
|
|
14
|
-
import FilterForm from "../
|
|
14
|
+
import FilterForm from "../FilterForm.js";
|
|
15
15
|
import * as yup from "yup";
|
|
16
16
|
const noSelectionForCopy = {
|
|
17
17
|
sourceItemUuid: null,
|