@gridsuite/commons-ui 0.62.0 → 0.63.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/AuthenticationRouter.d.ts +21 -20
- package/dist/components/AuthenticationRouter/AuthenticationRouter.js +15 -13
- package/dist/components/AuthenticationRouter/index.d.ts +4 -7
- package/dist/components/AuthenticationRouter/index.js +2 -2
- package/dist/components/CardErrorBoundary/card-error-boundary.d.ts +0 -1
- package/dist/components/CardErrorBoundary/card-error-boundary.js +5 -3
- package/dist/components/CardErrorBoundary/index.d.ts +3 -7
- package/dist/components/CardErrorBoundary/index.js +2 -2
- package/dist/components/CustomAGGrid/custom-aggrid.js +1 -1
- package/dist/components/CustomAGGrid/custom-aggrid.style.js +5 -5
- package/dist/components/DirectoryItemSelector/directory-item-selector.d.ts +2 -3
- package/dist/components/DirectoryItemSelector/directory-item-selector.js +108 -105
- package/dist/components/ElementSearchDialog/element-search-dialog.d.ts +1 -1
- package/dist/components/ElementSearchDialog/element-search-dialog.js +2 -2
- package/dist/components/ElementSearchDialog/element-search-input.d.ts +1 -1
- package/dist/components/ElementSearchDialog/element-search-input.js +4 -6
- package/dist/components/ElementSearchDialog/equipment-item.d.ts +3 -3
- package/dist/components/ElementSearchDialog/equipment-item.js +13 -13
- package/dist/components/ElementSearchDialog/index.d.ts +3 -3
- package/dist/components/ElementSearchDialog/index.js +5 -5
- package/dist/components/ElementSearchDialog/tag-renderer.d.ts +11 -12
- package/dist/components/ElementSearchDialog/tag-renderer.js +5 -6
- package/dist/components/ElementSearchDialog/use-element-search.d.ts +2 -2
- package/dist/components/ElementSearchDialog/use-element-search.js +2 -2
- package/dist/components/ExpandableGroup/expandable-group.d.ts +3 -3
- package/dist/components/ExpandableGroup/expandable-group.js +6 -6
- package/dist/components/ExpandableGroup/index.d.ts +3 -7
- package/dist/components/ExpandableGroup/index.js +2 -2
- package/dist/components/FlatParameters/FlatParameters.d.ts +1 -1
- package/dist/components/FlatParameters/FlatParameters.js +46 -46
- package/dist/components/FlatParameters/index.d.ts +3 -7
- package/dist/components/Login/Login.d.ts +1 -7
- package/dist/components/Login/Login.js +3 -9
- package/dist/components/Login/Logout.d.ts +1 -1
- package/dist/components/Login/Logout.js +11 -11
- package/dist/components/Login/index.d.ts +3 -7
- package/dist/components/Login/index.js +2 -2
- package/dist/components/MuiVirtualizedTable/ColumnHeader.js +9 -8
- package/dist/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.d.ts +24 -9
- package/dist/components/MuiVirtualizedTable/KeyedColumnsRowIndexer.js +200 -205
- package/dist/components/MuiVirtualizedTable/MuiVirtualizedTable.js +6 -6
- package/dist/components/MuiVirtualizedTable/index.d.ts +2 -2
- package/dist/components/MuiVirtualizedTable/index.js +3 -3
- package/dist/components/MultipleSelectionDialog/MultipleSelectionDialog.d.ts +1 -1
- package/dist/components/MultipleSelectionDialog/MultipleSelectionDialog.js +5 -15
- package/dist/components/MultipleSelectionDialog/index.d.ts +3 -7
- package/dist/components/MultipleSelectionDialog/index.js +2 -2
- package/dist/components/OverflowableText/index.d.ts +3 -7
- package/dist/components/OverflowableText/overflowable-text.js +2 -2
- package/dist/components/ReportViewer/filter-button.d.ts +1 -1
- package/dist/components/ReportViewer/filter-button.js +3 -3
- package/dist/components/ReportViewer/index.d.ts +3 -7
- package/dist/components/ReportViewer/index.js +2 -2
- package/dist/components/ReportViewer/log-report-item.d.ts +1 -1
- package/dist/components/ReportViewer/log-report-item.js +12 -9
- package/dist/components/ReportViewer/log-report.js +3 -3
- package/dist/components/ReportViewer/log-table.d.ts +2 -1
- package/dist/components/ReportViewer/log-table.js +6 -5
- package/dist/components/ReportViewer/multi-select-list.d.ts +1 -1
- package/dist/components/ReportViewer/multi-select-list.js +3 -3
- package/dist/components/ReportViewer/report-item.js +4 -3
- package/dist/components/ReportViewer/report-viewer.js +11 -12
- package/dist/components/ReportViewerDialog/index.d.ts +3 -7
- package/dist/components/ReportViewerDialog/index.js +2 -2
- package/dist/components/SignInCallbackHandler/SignInCallbackHandler.d.ts +2 -2
- package/dist/components/SignInCallbackHandler/SignInCallbackHandler.js +3 -3
- package/dist/components/SignInCallbackHandler/index.d.ts +3 -7
- package/dist/components/SignInCallbackHandler/index.js +2 -2
- package/dist/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.d.ts +2 -2
- package/dist/components/SilentRenewCallbackHandler/SilentRenewCallbackHandler.js +3 -3
- package/dist/components/SilentRenewCallbackHandler/index.d.ts +3 -7
- package/dist/components/SilentRenewCallbackHandler/index.js +2 -2
- package/dist/components/SnackbarProvider/SnackbarProvider.d.ts +1 -1
- package/dist/components/SnackbarProvider/SnackbarProvider.js +14 -13
- package/dist/components/SnackbarProvider/index.d.ts +3 -7
- package/dist/components/SnackbarProvider/index.js +2 -2
- package/dist/components/TopBar/AboutDialog.d.ts +2 -3
- package/dist/components/TopBar/AboutDialog.js +151 -153
- package/dist/components/TopBar/GridLogo.d.ts +2 -2
- package/dist/components/TopBar/GridLogo.js +24 -24
- package/dist/components/TopBar/TopBar.d.ts +5 -29
- package/dist/components/TopBar/TopBar.js +9 -33
- package/dist/components/TopBar/index.d.ts +1 -1
- package/dist/components/TopBar/index.js +1 -1
- package/dist/components/TreeViewFinder/TreeViewFinder.js +51 -45
- package/dist/components/TreeViewFinder/index.d.ts +1 -1
- package/dist/components/TreeViewFinder/index.js +1 -1
- package/dist/components/dialogs/custom-mui-dialog.d.ts +2 -2
- package/dist/components/dialogs/custom-mui-dialog.js +5 -5
- package/dist/components/dialogs/description-modification-dialog.d.ts +7 -3
- package/dist/components/dialogs/description-modification-dialog.js +11 -5
- package/dist/components/dialogs/modify-element-selection.d.ts +1 -2
- package/dist/components/dialogs/modify-element-selection.js +21 -13
- package/dist/components/dialogs/popup-confirmation-dialog.d.ts +7 -3
- package/dist/components/dialogs/popup-confirmation-dialog.js +3 -6
- package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.d.ts +4 -5
- package/dist/components/filter/criteria-based/criteria-based-filter-edition-dialog.js +123 -16
- package/dist/components/filter/criteria-based/criteria-based-filter-form.d.ts +1 -2
- package/dist/components/filter/criteria-based/criteria-based-filter-form.js +6 -5
- package/dist/components/filter/criteria-based/criteria-based-filter-utils.js +27 -20
- package/dist/components/filter/criteria-based/criteria-based-form.d.ts +1 -2
- package/dist/components/filter/criteria-based/criteria-based-form.js +17 -6
- package/dist/components/filter/criteria-based/filter-free-properties.d.ts +5 -3
- package/dist/components/filter/criteria-based/filter-free-properties.js +69 -13
- package/dist/components/filter/criteria-based/filter-properties.d.ts +1 -6
- package/dist/components/filter/criteria-based/filter-properties.js +124 -16
- package/dist/components/filter/criteria-based/filter-property.d.ts +1 -2
- package/dist/components/filter/criteria-based/filter-property.js +16 -16
- package/dist/components/filter/expert/expert-filter-constants.d.ts +1 -1
- package/dist/components/filter/expert/expert-filter-edition-dialog.d.ts +3 -4
- package/dist/components/filter/expert/expert-filter-edition-dialog.js +128 -15
- package/dist/components/filter/expert/expert-filter-form.d.ts +1 -2
- package/dist/components/filter/expert/expert-filter-form.js +141 -20
- package/dist/components/filter/expert/expert-filter-utils.d.ts +2 -2
- package/dist/components/filter/expert/expert-filter-utils.js +45 -46
- package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.d.ts +3 -4
- package/dist/components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js +136 -16
- package/dist/components/filter/explicit-naming/explicit-naming-filter-form.d.ts +4 -5
- package/dist/components/filter/explicit-naming/explicit-naming-filter-form.js +241 -24
- package/dist/components/filter/filter-creation-dialog.d.ts +3 -4
- package/dist/components/filter/filter-creation-dialog.js +125 -13
- package/dist/components/filter/filter-form.d.ts +4 -5
- package/dist/components/filter/filter-form.js +73 -14
- package/dist/components/filter/utils/filter-api.js +1 -1
- package/dist/components/filter/utils/filter-form-utils.js +1 -1
- package/dist/components/inputs/react-hook-form/ExpandingTextField.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/ExpandingTextField.js +5 -5
- package/dist/components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.js +102 -13
- package/dist/components/inputs/react-hook-form/ag-grid-table/cell-editors/numericEditor.d.ts +7 -6
- package/dist/components/inputs/react-hook-form/ag-grid-table/cell-editors/numericEditor.js +13 -15
- package/dist/components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.d.ts +7 -3
- package/dist/components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js +220 -61
- package/dist/components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.js +243 -11
- package/dist/components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.d.ts +4 -2
- package/dist/components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js +12 -12
- package/dist/components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js +2 -2
- package/dist/components/inputs/react-hook-form/booleans/boolean-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/booleans/boolean-input.js +2 -2
- package/dist/components/inputs/react-hook-form/booleans/checkbox-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/booleans/checkbox-input.js +3 -3
- package/dist/components/inputs/react-hook-form/booleans/switch-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/booleans/switch-input.js +3 -3
- package/dist/components/inputs/react-hook-form/directory-items-input.d.ts +11 -3
- package/dist/components/inputs/react-hook-form/directory-items-input.js +11 -11
- package/dist/components/inputs/react-hook-form/error-management/error-input.d.ts +2 -2
- package/dist/components/inputs/react-hook-form/error-management/error-input.js +7 -9
- package/dist/components/inputs/react-hook-form/error-management/field-error-alert.d.ts +2 -2
- package/dist/components/inputs/react-hook-form/error-management/field-error-alert.js +2 -4
- package/dist/components/inputs/react-hook-form/error-management/mid-form-error.d.ts +2 -2
- package/dist/components/inputs/react-hook-form/error-management/mid-form-error.js +2 -2
- package/dist/components/inputs/react-hook-form/numbers/float-input.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/numbers/float-input.js +6 -5
- package/dist/components/inputs/react-hook-form/numbers/integer-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/numbers/integer-input.js +5 -5
- package/dist/components/inputs/react-hook-form/provider/custom-form-provider.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/provider/custom-form-provider.js +11 -8
- package/dist/components/inputs/react-hook-form/provider/use-custom-form-context.d.ts +2 -1
- package/dist/components/inputs/react-hook-form/provider/use-custom-form-context.js +1 -1
- package/dist/components/inputs/react-hook-form/radio-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/radio-input.js +2 -8
- package/dist/components/inputs/react-hook-form/range-input.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/range-input.js +5 -5
- package/dist/components/inputs/react-hook-form/raw-read-only-input.d.ts +2 -1
- package/dist/components/inputs/react-hook-form/raw-read-only-input.js +1 -1
- package/dist/components/inputs/react-hook-form/select-inputs/countries-input.d.ts +1 -3
- package/dist/components/inputs/react-hook-form/select-inputs/countries-input.js +4 -8
- package/dist/components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.d.ts +3 -1
- package/dist/components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js +4 -4
- package/dist/components/inputs/react-hook-form/select-inputs/mui-select-input.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/select-inputs/mui-select-input.js +11 -10
- package/dist/components/inputs/react-hook-form/select-inputs/select-input.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/select-inputs/select-input.js +16 -8
- package/dist/components/inputs/react-hook-form/slider-input.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/slider-input.js +6 -6
- package/dist/components/inputs/react-hook-form/text-input.d.ts +6 -2
- package/dist/components/inputs/react-hook-form/text-input.js +9 -9
- package/dist/components/inputs/react-hook-form/unique-name-input.d.ts +4 -6
- package/dist/components/inputs/react-hook-form/unique-name-input.js +12 -12
- package/dist/components/inputs/react-hook-form/utils/cancel-button.d.ts +9 -10
- package/dist/components/inputs/react-hook-form/utils/cancel-button.js +2 -6
- package/dist/components/inputs/react-hook-form/utils/field-label.d.ts +1 -1
- package/dist/components/inputs/react-hook-form/utils/field-label.js +3 -3
- package/dist/components/inputs/react-hook-form/utils/functions.js +1 -1
- package/dist/components/inputs/react-hook-form/utils/submit-button.d.ts +9 -10
- package/dist/components/inputs/react-hook-form/utils/submit-button.js +2 -6
- package/dist/components/inputs/react-hook-form/utils/text-field-with-adornment.d.ts +1 -2
- package/dist/components/inputs/react-hook-form/utils/text-field-with-adornment.js +7 -7
- package/dist/components/inputs/react-query-builder/add-button.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/add-button.js +13 -10
- package/dist/components/inputs/react-query-builder/combinator-selector.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/combinator-selector.js +7 -6
- package/dist/components/inputs/react-query-builder/composite-rule-editor/group-value-editor.d.ts +1 -1
- package/dist/components/inputs/react-query-builder/composite-rule-editor/group-value-editor.js +2 -2
- package/dist/components/inputs/react-query-builder/composite-rule-editor/rule-value-editor.d.ts +1 -1
- package/dist/components/inputs/react-query-builder/composite-rule-editor/rule-value-editor.js +5 -5
- package/dist/components/inputs/react-query-builder/country-value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/country-value-editor.js +18 -18
- package/dist/components/inputs/react-query-builder/custom-react-query-builder.d.ts +1 -1
- package/dist/components/inputs/react-query-builder/custom-react-query-builder.js +92 -19
- package/dist/components/inputs/react-query-builder/element-value-editor.d.ts +7 -3
- package/dist/components/inputs/react-query-builder/element-value-editor.js +50 -62
- package/dist/components/inputs/react-query-builder/property-value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/property-value-editor.js +5 -5
- package/dist/components/inputs/react-query-builder/remove-button.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/remove-button.js +26 -7
- package/dist/components/inputs/react-query-builder/text-value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/text-value-editor.js +17 -17
- package/dist/components/inputs/react-query-builder/translated-value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/translated-value-editor.js +22 -26
- package/dist/components/inputs/react-query-builder/value-editor.d.ts +1 -2
- package/dist/components/inputs/react-query-builder/value-editor.js +119 -18
- package/dist/components/inputs/react-query-builder/value-selector.d.ts +1 -1
- package/dist/components/inputs/react-query-builder/value-selector.js +2 -2
- package/dist/components/inputs/select-clearable.d.ts +1 -2
- package/dist/components/inputs/select-clearable.js +6 -5
- package/dist/components/translations/card-error-boundary-en.d.ts +2 -2
- package/dist/components/translations/card-error-boundary-en.js +2 -2
- package/dist/components/translations/card-error-boundary-fr.d.ts +2 -2
- package/dist/components/translations/card-error-boundary-fr.js +2 -2
- package/dist/components/translations/common-button-en.d.ts +2 -2
- package/dist/components/translations/common-button-en.js +2 -2
- package/dist/components/translations/common-button-fr.d.ts +2 -2
- package/dist/components/translations/common-button-fr.js +2 -2
- package/dist/components/translations/directory-items-input-en.d.ts +2 -2
- package/dist/components/translations/directory-items-input-en.js +2 -2
- package/dist/components/translations/directory-items-input-fr.d.ts +2 -2
- package/dist/components/translations/directory-items-input-fr.js +2 -2
- package/dist/components/translations/element-search-en.d.ts +2 -2
- package/dist/components/translations/element-search-en.js +2 -2
- package/dist/components/translations/element-search-fr.d.ts +2 -2
- package/dist/components/translations/element-search-fr.js +2 -2
- package/dist/components/translations/equipment-search-en.d.ts +2 -2
- package/dist/components/translations/equipment-search-en.js +2 -2
- package/dist/components/translations/equipment-search-fr.d.ts +2 -2
- package/dist/components/translations/equipment-search-fr.js +2 -2
- package/dist/components/translations/filter-en.d.ts +3 -2
- package/dist/components/translations/filter-en.js +3 -2
- package/dist/components/translations/filter-expert-en.d.ts +2 -2
- package/dist/components/translations/filter-expert-en.js +2 -2
- package/dist/components/translations/filter-expert-fr.d.ts +2 -2
- package/dist/components/translations/filter-expert-fr.js +2 -2
- package/dist/components/translations/filter-fr.d.ts +3 -2
- package/dist/components/translations/filter-fr.js +3 -2
- package/dist/components/translations/flat-parameters-en.d.ts +2 -2
- package/dist/components/translations/flat-parameters-en.js +2 -2
- package/dist/components/translations/flat-parameters-fr.d.ts +2 -2
- package/dist/components/translations/flat-parameters-fr.js +2 -2
- package/dist/components/translations/inputs-en.d.ts +2 -2
- package/dist/components/translations/inputs-en.js +2 -2
- package/dist/components/translations/inputs-fr.d.ts +2 -2
- package/dist/components/translations/inputs-fr.js +2 -2
- package/dist/components/translations/login-en.d.ts +2 -2
- package/dist/components/translations/login-en.js +2 -2
- package/dist/components/translations/login-fr.d.ts +2 -2
- package/dist/components/translations/login-fr.js +2 -2
- package/dist/components/translations/multiple-selection-dialog-en.d.ts +2 -2
- package/dist/components/translations/multiple-selection-dialog-en.js +2 -2
- package/dist/components/translations/multiple-selection-dialog-fr.d.ts +2 -2
- package/dist/components/translations/multiple-selection-dialog-fr.js +2 -2
- package/dist/components/translations/report-viewer-en.d.ts +2 -2
- package/dist/components/translations/report-viewer-en.js +2 -2
- package/dist/components/translations/report-viewer-fr.d.ts +2 -2
- package/dist/components/translations/report-viewer-fr.js +2 -2
- package/dist/components/translations/table-en.d.ts +2 -2
- package/dist/components/translations/table-en.js +2 -2
- package/dist/components/translations/table-fr.d.ts +2 -2
- package/dist/components/translations/table-fr.js +2 -2
- package/dist/components/translations/top-bar-en.d.ts +2 -2
- package/dist/components/translations/top-bar-en.js +2 -2
- package/dist/components/translations/top-bar-fr.d.ts +2 -2
- package/dist/components/translations/top-bar-fr.js +2 -2
- package/dist/components/translations/treeview-finder-en.d.ts +2 -2
- package/dist/components/translations/treeview-finder-en.js +2 -2
- package/dist/components/translations/treeview-finder-fr.d.ts +2 -2
- package/dist/components/translations/treeview-finder-fr.js +2 -2
- package/dist/hooks/localized-countries-hook.js +1 -1
- package/dist/hooks/predefined-properties-hook.d.ts +2 -1
- package/dist/hooks/predefined-properties-hook.js +2 -2
- package/dist/hooks/useDebounce.d.ts +2 -1
- package/dist/hooks/useDebounce.js +1 -1
- package/dist/hooks/useIntlRef.d.ts +2 -1
- package/dist/hooks/useIntlRef.js +1 -1
- package/dist/hooks/useSnackMessage.d.ts +2 -2
- package/dist/hooks/useSnackMessage.js +36 -36
- package/dist/index.d.ts +19 -16
- package/dist/index.js +164 -158
- package/dist/redux/authActions.d.ts +56 -0
- package/dist/redux/commonStore.d.ts +4 -3
- package/dist/redux/commonStore.js +2 -1
- package/dist/services/apps-metadata.js +1 -1
- package/dist/services/directory.js +6 -6
- package/dist/services/explore.js +14 -12
- package/dist/services/index.d.ts +0 -5
- package/dist/services/study.js +2 -2
- package/dist/services/utils.d.ts +1 -1
- package/dist/services/utils.js +26 -26
- package/dist/utils/AuthService.d.ts +9 -8
- package/dist/utils/AuthService.js +77 -76
- package/dist/utils/ElementIcon.d.ts +3 -2
- package/dist/utils/ElementIcon.js +4 -3
- package/dist/utils/ElementType.d.ts +3 -6
- package/dist/utils/EquipmentType.js +3 -3
- package/dist/utils/FetchStatus.d.ts +2 -1
- package/dist/utils/FetchStatus.js +1 -1
- package/dist/utils/Metadata.d.ts +15 -0
- package/dist/utils/Metadata.js +1 -0
- package/dist/utils/UserManagerMock.d.ts +50 -25
- package/dist/utils/UserManagerMock.js +118 -11
- package/dist/utils/algos.d.ts +2 -1
- package/dist/utils/algos.js +2 -2
- package/dist/utils/equipment-types-for-predefined-properties-mapper.d.ts +2 -1
- package/dist/utils/equipment-types-for-predefined-properties-mapper.js +3 -1
- package/dist/utils/field-constants.d.ts +2 -1
- package/dist/utils/field-constants.js +1 -1
- package/dist/utils/functions.js +5 -2
- package/dist/utils/types.d.ts +1 -1
- package/dist/utils/yup-config.js +1 -2
- package/package.json +10 -4
- package/dist/chunks/criteria-based-filter-edition-dialog.CAT38SvB.js +0 -1694
- package/dist/chunks/filter-properties.B7-q_yPf.js +0 -195
- package/dist/redux/actions.d.ts +0 -54
- /package/dist/assets/{criteria-based-filter-edition-dialog.css → expert-filter-form.css} +0 -0
- /package/dist/redux/{actions.js → authActions.js} +0 -0
|
@@ -8,4 +8,4 @@ export interface FilterButtonProps {
|
|
|
8
8
|
* @param {Object} selectedItems - It serves as the model and data of the Component each entry must be formatted as a pair of string and boolean. Each key will be displayed and the corresponding boolean is updated in function of its checkbox status
|
|
9
9
|
* @param {Function} setSelectedItems - Setter needed to update the list underlying data
|
|
10
10
|
*/
|
|
11
|
-
export declare
|
|
11
|
+
export declare function FilterButton({ selectedItems, setSelectedItems, }: FilterButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -21,10 +21,10 @@ const styles = {
|
|
|
21
21
|
height: "0.7em"
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
function FilterButton({
|
|
25
25
|
selectedItems,
|
|
26
26
|
setSelectedItems
|
|
27
|
-
})
|
|
27
|
+
}) {
|
|
28
28
|
const [initialState] = useState(selectedItems);
|
|
29
29
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
30
30
|
const handleClick = (event) => {
|
|
@@ -61,7 +61,7 @@ const FilterButton = ({
|
|
|
61
61
|
}
|
|
62
62
|
)
|
|
63
63
|
] });
|
|
64
|
-
}
|
|
64
|
+
}
|
|
65
65
|
export {
|
|
66
66
|
FilterButton
|
|
67
67
|
};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 } from './report-viewer';
|
|
1
|
+
import { default as defaultReportViewer } from './report-viewer';
|
|
2
|
+
|
|
3
|
+
export default defaultReportViewer;
|
|
@@ -14,5 +14,5 @@ export default class LogReportItem {
|
|
|
14
14
|
getSeverityName(): "UNKNOWN" | "INFO" | "WARN" | "ERROR" | "FATAL";
|
|
15
15
|
getColorName(): string;
|
|
16
16
|
getColorHexCode(): string;
|
|
17
|
-
initSeverity(jsonSeverity: ReportValue): LogSeverity;
|
|
17
|
+
static initSeverity(jsonSeverity: ReportValue): LogSeverity;
|
|
18
18
|
}
|
|
@@ -2,13 +2,16 @@ import { LogSeverities } from "./log-severity.js";
|
|
|
2
2
|
class LogReportItem {
|
|
3
3
|
static resolveTemplateMessage(templateMessage, templateValues) {
|
|
4
4
|
const templateVars = {};
|
|
5
|
-
|
|
5
|
+
Object.entries(templateValues).forEach(([key, value]) => {
|
|
6
6
|
templateVars[key] = value.value;
|
|
7
|
-
}
|
|
8
|
-
return templateMessage.replace(/\${([^{}]*)}/g, function(a, b) {
|
|
9
|
-
let r = templateVars[b];
|
|
10
|
-
return typeof r === "string" || typeof r === "number" ? r.toString() : a;
|
|
11
7
|
});
|
|
8
|
+
return templateMessage.replace(
|
|
9
|
+
/\${([^{}]*)}/g,
|
|
10
|
+
function resolveTemplate(a, b) {
|
|
11
|
+
const r = templateVars[b];
|
|
12
|
+
return typeof r === "string" || typeof r === "number" ? r.toString() : a;
|
|
13
|
+
}
|
|
14
|
+
);
|
|
12
15
|
}
|
|
13
16
|
constructor(jsonReport, reportId) {
|
|
14
17
|
this.key = jsonReport.reportKey;
|
|
@@ -17,8 +20,8 @@ class LogReportItem {
|
|
|
17
20
|
jsonReport.values
|
|
18
21
|
);
|
|
19
22
|
this.reportId = reportId;
|
|
20
|
-
this.severity =
|
|
21
|
-
jsonReport.values
|
|
23
|
+
this.severity = LogReportItem.initSeverity(
|
|
24
|
+
jsonReport.values.reportSeverity
|
|
22
25
|
);
|
|
23
26
|
}
|
|
24
27
|
getLog() {
|
|
@@ -39,13 +42,13 @@ class LogReportItem {
|
|
|
39
42
|
getColorHexCode() {
|
|
40
43
|
return this.severity.colorHexCode;
|
|
41
44
|
}
|
|
42
|
-
initSeverity(jsonSeverity) {
|
|
45
|
+
static initSeverity(jsonSeverity) {
|
|
43
46
|
let severity = LogSeverities.UNKNOWN;
|
|
44
47
|
if (!jsonSeverity) {
|
|
45
48
|
return severity;
|
|
46
49
|
}
|
|
47
50
|
Object.values(LogSeverities).some((value) => {
|
|
48
|
-
|
|
51
|
+
const severityFound = jsonSeverity.value.includes(
|
|
49
52
|
value.name
|
|
50
53
|
);
|
|
51
54
|
if (severityFound) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import LogReportItem from "./log-report-item.js";
|
|
2
1
|
import { v4 } from "uuid";
|
|
2
|
+
import LogReportItem from "./log-report-item.js";
|
|
3
3
|
import { LogSeverities } from "./log-severity.js";
|
|
4
4
|
class LogReport {
|
|
5
5
|
constructor(jsonReporter, parentReportId) {
|
|
@@ -40,8 +40,8 @@ class LogReport {
|
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
42
|
getHighestSeverity(currentSeverity = LogSeverities.UNKNOWN) {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
const reduceFct = (p, c) => p.level < c.level ? c : p;
|
|
44
|
+
const highestSeverity = this.getLogs().map((r) => r.getSeverity()).reduce(reduceFct, currentSeverity);
|
|
45
45
|
return this.getSubReports().map((r) => r.getHighestSeverity(highestSeverity)).reduce(reduceFct, highestSeverity);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -6,5 +6,6 @@ export interface LogTableProps {
|
|
|
6
6
|
selectedSeverity: Record<string, boolean>;
|
|
7
7
|
setSelectedSeverity: (func: (items: Record<string, boolean>) => Record<string, boolean>) => void;
|
|
8
8
|
}
|
|
9
|
-
declare
|
|
9
|
+
declare function LogTable({ logs, onRowClick, selectedSeverity, setSelectedSeverity, }: LogTableProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const _default: import('react').MemoExoticComponent<typeof LogTable>;
|
|
10
11
|
export default _default;
|
|
@@ -23,12 +23,12 @@ const styles = {
|
|
|
23
23
|
header: { variant: "header" }
|
|
24
24
|
};
|
|
25
25
|
const VirtualizedTable = styled(MuiVirtualizedTable)(styles);
|
|
26
|
-
|
|
26
|
+
function LogTable({
|
|
27
27
|
logs,
|
|
28
28
|
onRowClick,
|
|
29
29
|
selectedSeverity,
|
|
30
30
|
setSelectedSeverity
|
|
31
|
-
})
|
|
31
|
+
}) {
|
|
32
32
|
const intl = useIntl();
|
|
33
33
|
const theme = useTheme();
|
|
34
34
|
const [selectedRowIndex, setSelectedRowIndex] = useState(-1);
|
|
@@ -93,13 +93,14 @@ const LogTable = ({
|
|
|
93
93
|
};
|
|
94
94
|
const rowStyleFormat = (row) => {
|
|
95
95
|
if (row.index < 0) {
|
|
96
|
-
return;
|
|
96
|
+
return void 0;
|
|
97
97
|
}
|
|
98
98
|
if (selectedRowIndex === row.index) {
|
|
99
99
|
return {
|
|
100
100
|
backgroundColor: theme.palette.action.selected
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
+
return void 0;
|
|
103
104
|
};
|
|
104
105
|
useEffect(() => {
|
|
105
106
|
setSelectedRowIndex(-1);
|
|
@@ -113,7 +114,7 @@ const LogTable = ({
|
|
|
113
114
|
[selectedSeverity]
|
|
114
115
|
);
|
|
115
116
|
return (
|
|
116
|
-
//TODO do we need to useMemo/useCallback these props to avoid rerenders ?
|
|
117
|
+
// TODO do we need to useMemo/useCallback these props to avoid rerenders ?
|
|
117
118
|
/* @__PURE__ */ jsx(
|
|
118
119
|
VirtualizedTable,
|
|
119
120
|
{
|
|
@@ -126,7 +127,7 @@ const LogTable = ({
|
|
|
126
127
|
}
|
|
127
128
|
)
|
|
128
129
|
);
|
|
129
|
-
}
|
|
130
|
+
}
|
|
130
131
|
const LogTable$1 = memo(LogTable);
|
|
131
132
|
export {
|
|
132
133
|
LogTable$1 as default
|
|
@@ -14,4 +14,4 @@ export interface MultiSelectListProps {
|
|
|
14
14
|
* @param {Function} handleClose - Allows to customise the behaviour when the menu is closing
|
|
15
15
|
* @param {Object} anchor - Determines where the menu will appear on screen
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
17
|
+
export declare function MultiSelectList({ selectedItems, handleChange, handleClose, anchor, }: MultiSelectListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,12 +9,12 @@ const styles = {
|
|
|
9
9
|
padding: "0 10px 0 0"
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
function MultiSelectList({
|
|
13
13
|
selectedItems,
|
|
14
14
|
handleChange,
|
|
15
15
|
handleClose,
|
|
16
16
|
anchor
|
|
17
|
-
})
|
|
17
|
+
}) {
|
|
18
18
|
const open = Boolean(anchor);
|
|
19
19
|
return /* @__PURE__ */ jsx(Menu, { open, onClose: handleClose, anchorEl: anchor, children: Object.entries(selectedItems).map(([key, value]) => {
|
|
20
20
|
return /* @__PURE__ */ jsx(MenuItem, { sx: styles.menuItem, children: /* @__PURE__ */ jsx(
|
|
@@ -33,7 +33,7 @@ const MultiSelectList = ({
|
|
|
33
33
|
}
|
|
34
34
|
) }, key);
|
|
35
35
|
}) });
|
|
36
|
-
}
|
|
36
|
+
}
|
|
37
37
|
export {
|
|
38
38
|
MultiSelectList
|
|
39
39
|
};
|
|
@@ -69,9 +69,10 @@ const styles = {
|
|
|
69
69
|
marginRight: theme.spacing(2)
|
|
70
70
|
})
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
function ReportItem(props) {
|
|
73
|
+
const { nodeId } = props;
|
|
73
74
|
const { isHighlighted } = useContext(ReportTreeViewContext);
|
|
74
|
-
const highlighted = isHighlighted ? isHighlighted(
|
|
75
|
+
const highlighted = isHighlighted ? isHighlighted(nodeId) : false;
|
|
75
76
|
const { labelText, labelIconColor, className, ...other } = props;
|
|
76
77
|
return /* @__PURE__ */ jsx(
|
|
77
78
|
TreeItem,
|
|
@@ -98,7 +99,7 @@ const ReportItem = (props) => {
|
|
|
98
99
|
...other
|
|
99
100
|
}
|
|
100
101
|
);
|
|
101
|
-
}
|
|
102
|
+
}
|
|
102
103
|
const ReportItem$1 = styled(ReportItem)({});
|
|
103
104
|
export {
|
|
104
105
|
ReportItem$1 as default
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useMemo, useCallback, useEffect } from "react";
|
|
3
3
|
import { ArrowDropDown, ArrowRight } from "@mui/icons-material";
|
|
4
|
+
import { Grid } from "@mui/material";
|
|
5
|
+
import { TreeView } from "@mui/x-tree-view";
|
|
4
6
|
import ReportItem from "./report-item.js";
|
|
5
7
|
import LogReport from "./log-report.js";
|
|
6
|
-
import { Grid } from "@mui/material";
|
|
7
8
|
import LogTable from "./log-table.js";
|
|
8
9
|
import ReportTreeViewContext from "./report-tree-view-context.js";
|
|
9
|
-
import { TreeView } from "@mui/x-tree-view";
|
|
10
10
|
import { LogSeverities } from "./log-severity.js";
|
|
11
11
|
const MAX_SUB_REPORTS = 500;
|
|
12
12
|
const styles = {
|
|
@@ -66,7 +66,7 @@ function ReportViewer({
|
|
|
66
66
|
);
|
|
67
67
|
useEffect(() => {
|
|
68
68
|
rootReport.current = new LogReport(jsonReport);
|
|
69
|
-
|
|
69
|
+
const rootId = rootReport.current.getId().toString();
|
|
70
70
|
treeView.current = createReporterItem(rootReport.current);
|
|
71
71
|
setSelectedNode(rootId);
|
|
72
72
|
setExpandedNodes([rootId]);
|
|
@@ -74,14 +74,11 @@ function ReportViewer({
|
|
|
74
74
|
}, [jsonReport, createReporterItem]);
|
|
75
75
|
const handleToggleNode = (event, nodeIds) => {
|
|
76
76
|
event.persist();
|
|
77
|
-
|
|
77
|
+
const iconClicked = event.target.closest(".MuiTreeItem-iconContainer");
|
|
78
78
|
if (iconClicked) {
|
|
79
79
|
setExpandedNodes(nodeIds);
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
|
-
const handleSelectNode = (event, nodeId) => {
|
|
83
|
-
selectNode(nodeId);
|
|
84
|
-
};
|
|
85
82
|
const selectNode = (nodeId) => {
|
|
86
83
|
if (selectedNode !== nodeId) {
|
|
87
84
|
setSelectedNode(nodeId);
|
|
@@ -89,6 +86,9 @@ function ReportViewer({
|
|
|
89
86
|
setHighlightedReportId(null);
|
|
90
87
|
}
|
|
91
88
|
};
|
|
89
|
+
const handleSelectNode = (event, nodeId) => {
|
|
90
|
+
selectNode(nodeId);
|
|
91
|
+
};
|
|
92
92
|
const isHighlighted = useMemo(
|
|
93
93
|
() => ({
|
|
94
94
|
isHighlighted: (reportId) => highlightedReportId === reportId
|
|
@@ -98,10 +98,10 @@ function ReportViewer({
|
|
|
98
98
|
const onRowClick = (data) => {
|
|
99
99
|
setExpandedNodes((previouslyExpandedNodes) => {
|
|
100
100
|
var _a;
|
|
101
|
-
|
|
102
|
-
let reportId = data
|
|
101
|
+
const nodesToExpand = [];
|
|
102
|
+
let { reportId } = data;
|
|
103
103
|
while ((_a = allReports.current[reportId]) == null ? void 0 : _a.parentReportId) {
|
|
104
|
-
|
|
104
|
+
const { parentReportId } = allReports.current[reportId];
|
|
105
105
|
if (parentReportId !== void 0) {
|
|
106
106
|
if (!previouslyExpandedNodes.includes(parentReportId)) {
|
|
107
107
|
nodesToExpand.push(parentReportId);
|
|
@@ -111,9 +111,8 @@ function ReportViewer({
|
|
|
111
111
|
}
|
|
112
112
|
if (nodesToExpand.length > 0) {
|
|
113
113
|
return nodesToExpand.concat(previouslyExpandedNodes);
|
|
114
|
-
} else {
|
|
115
|
-
return previouslyExpandedNodes;
|
|
116
114
|
}
|
|
115
|
+
return previouslyExpandedNodes;
|
|
117
116
|
});
|
|
118
117
|
setHighlightedReportId(data.reportId);
|
|
119
118
|
};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 } from './report-viewer-dialog';
|
|
1
|
+
import { default as defaultReportViewerDialog } from './report-viewer-dialog';
|
|
2
|
+
|
|
3
|
+
export default defaultReportViewerDialog;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UserManager } from 'oidc-client';
|
|
2
2
|
|
|
3
3
|
export interface SignInCallbackHandlerProps {
|
|
4
|
-
userManager: UserManager;
|
|
4
|
+
userManager: UserManager | null;
|
|
5
5
|
handleSignInCallback: () => void;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
7
|
+
declare function SignInCallbackHandler({ userManager, handleSignInCallback, }: SignInCallbackHandlerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default SignInCallbackHandler;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
|
|
3
|
+
function SignInCallbackHandler({
|
|
4
4
|
userManager,
|
|
5
5
|
handleSignInCallback
|
|
6
|
-
})
|
|
6
|
+
}) {
|
|
7
7
|
useEffect(() => {
|
|
8
8
|
if (userManager !== null) {
|
|
9
9
|
handleSignInCallback();
|
|
10
10
|
}
|
|
11
11
|
}, [userManager, handleSignInCallback]);
|
|
12
12
|
return /* @__PURE__ */ jsx("h1", { children: " " });
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
14
|
export {
|
|
15
15
|
SignInCallbackHandler as default
|
|
16
16
|
};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 } from './SignInCallbackHandler';
|
|
1
|
+
import { default as defaultSignInCallbackHandler } from './SignInCallbackHandler';
|
|
2
|
+
|
|
3
|
+
export default defaultSignInCallbackHandler;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UserManager } from 'oidc-client';
|
|
2
2
|
|
|
3
3
|
export interface SilentRenewCallbackHandlerProps {
|
|
4
|
-
userManager: UserManager;
|
|
4
|
+
userManager: UserManager | null;
|
|
5
5
|
handleSilentRenewCallback: () => void;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
7
|
+
declare function SilentRenewCallbackHandler({ userManager, handleSilentRenewCallback, }: SilentRenewCallbackHandlerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default SilentRenewCallbackHandler;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
|
|
3
|
+
function SilentRenewCallbackHandler({
|
|
4
4
|
userManager,
|
|
5
5
|
handleSilentRenewCallback
|
|
6
|
-
})
|
|
6
|
+
}) {
|
|
7
7
|
useEffect(() => {
|
|
8
8
|
if (userManager !== null) {
|
|
9
9
|
handleSilentRenewCallback();
|
|
10
10
|
}
|
|
11
11
|
}, [userManager, handleSilentRenewCallback]);
|
|
12
12
|
return /* @__PURE__ */ jsx("h1", { children: "Technical token renew window, you should not see this" });
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
14
|
export {
|
|
15
15
|
SilentRenewCallbackHandler as default
|
|
16
16
|
};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 } from './SilentRenewCallbackHandler';
|
|
1
|
+
import { default as defaultSilentRenewCallbackHandler } from './SilentRenewCallbackHandler';
|
|
2
|
+
|
|
3
|
+
export default defaultSilentRenewCallbackHandler;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SnackbarProviderProps } from 'notistack';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function SnackbarProvider(props: SnackbarProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default SnackbarProvider;
|
|
@@ -2,29 +2,30 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef } from "react";
|
|
3
3
|
import { Button } from "@mui/material";
|
|
4
4
|
import { SnackbarProvider as SnackbarProvider$1 } from "notistack";
|
|
5
|
-
|
|
5
|
+
function SnackbarProvider(props) {
|
|
6
6
|
const ref = useRef(null);
|
|
7
|
+
const action = (key) => /* @__PURE__ */ jsx(
|
|
8
|
+
Button,
|
|
9
|
+
{
|
|
10
|
+
onClick: () => {
|
|
11
|
+
var _a;
|
|
12
|
+
return (_a = ref.current) == null ? void 0 : _a.closeSnackbar(key);
|
|
13
|
+
},
|
|
14
|
+
style: { color: "#fff", fontSize: "20px" },
|
|
15
|
+
children: "✖"
|
|
16
|
+
}
|
|
17
|
+
);
|
|
7
18
|
return /* @__PURE__ */ jsx(
|
|
8
19
|
SnackbarProvider$1,
|
|
9
20
|
{
|
|
10
21
|
ref,
|
|
11
22
|
anchorOrigin: { horizontal: "center", vertical: "bottom" },
|
|
12
23
|
hideIconVariant: true,
|
|
13
|
-
action
|
|
14
|
-
Button,
|
|
15
|
-
{
|
|
16
|
-
onClick: () => {
|
|
17
|
-
var _a;
|
|
18
|
-
return (_a = ref.current) == null ? void 0 : _a.closeSnackbar(key);
|
|
19
|
-
},
|
|
20
|
-
style: { color: "#fff", fontSize: "20px" },
|
|
21
|
-
children: "✖"
|
|
22
|
-
}
|
|
23
|
-
),
|
|
24
|
+
action,
|
|
24
25
|
...props
|
|
25
26
|
}
|
|
26
27
|
);
|
|
27
|
-
}
|
|
28
|
+
}
|
|
28
29
|
export {
|
|
29
30
|
SnackbarProvider as default
|
|
30
31
|
};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 } from './SnackbarProvider';
|
|
1
|
+
import { default as defaultSnackbarProvider } from './SnackbarProvider';
|
|
2
|
+
|
|
3
|
+
export default defaultSnackbarProvider;
|
|
@@ -6,12 +6,11 @@ declare const moduleTypeSort: {
|
|
|
6
6
|
other: number;
|
|
7
7
|
};
|
|
8
8
|
type ModuleType = keyof typeof moduleTypeSort;
|
|
9
|
-
type GridSuiteModule = {
|
|
9
|
+
export type GridSuiteModule = {
|
|
10
10
|
name: string;
|
|
11
11
|
type: ModuleType;
|
|
12
12
|
version?: string;
|
|
13
13
|
gitTag?: string;
|
|
14
|
-
license?: string;
|
|
15
14
|
};
|
|
16
15
|
export interface AboutDialogProps {
|
|
17
16
|
open: boolean;
|
|
@@ -24,5 +23,5 @@ export interface AboutDialogProps {
|
|
|
24
23
|
additionalModulesPromise?: () => Promise<GridSuiteModule[]>;
|
|
25
24
|
logo?: ReactNode;
|
|
26
25
|
}
|
|
27
|
-
declare
|
|
26
|
+
declare function AboutDialog({ open, onClose, globalVersionPromise, appName, appVersion, appGitTag, appLicense, additionalModulesPromise, logo, }: AboutDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
28
27
|
export default AboutDialog;
|