@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
package/dist/index.d.ts
CHANGED
|
@@ -4,17 +4,19 @@
|
|
|
4
4
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
7
|
+
export { TreeViewFinder } from './components/TreeViewFinder';
|
|
8
|
+
export { TopBar } from './components/TopBar';
|
|
9
9
|
export { default as AboutDialog } from './components/TopBar/AboutDialog';
|
|
10
|
+
export type { GridSuiteModule } from './components/TopBar/AboutDialog';
|
|
10
11
|
export { default as SnackbarProvider } from './components/SnackbarProvider';
|
|
11
12
|
export { default as AuthenticationRouter } from './components/AuthenticationRouter';
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
13
|
+
export type { AuthenticationRouterErrorState, AuthenticationRouterProps, UserManagerState, } from './components/AuthenticationRouter';
|
|
14
|
+
export { MuiVirtualizedTable } from './components/MuiVirtualizedTable';
|
|
15
|
+
export { KeyedColumnsRowIndexer, ChangeWays, } from './components/MuiVirtualizedTable';
|
|
14
16
|
export { default as ReportViewer } from './components/ReportViewer';
|
|
15
17
|
export { default as ReportViewerDialog } from './components/ReportViewerDialog';
|
|
16
18
|
export { default as OverflowableText } from './components/OverflowableText';
|
|
17
|
-
export {
|
|
19
|
+
export { ElementSearchDialog } from './components/ElementSearchDialog';
|
|
18
20
|
export { default as FlatParameters } from './components/FlatParameters';
|
|
19
21
|
export { default as ExpandableGroup } from './components/ExpandableGroup';
|
|
20
22
|
export { default as MultipleSelectionDialog } from './components/MultipleSelectionDialog';
|
|
@@ -28,18 +30,19 @@ export { default as CustomAgGridTable } from './components/inputs/react-hook-for
|
|
|
28
30
|
export { ROW_DRAGGING_SELECTION_COLUMN_DEF } from './components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table';
|
|
29
31
|
export type { Parameter } from './components/FlatParameters/FlatParameters';
|
|
30
32
|
export { Line, Generator, Load, Battery, SVC, DanglingLine, LCC, VSC, Hvdc, BusBar, TwoWindingTransfo, ThreeWindingTransfo, ShuntCompensator, VoltageLevel, Substation, noSelectionForCopy, } from './utils/equipment-types';
|
|
31
|
-
export { FieldConstants } from './utils/field-constants';
|
|
33
|
+
export { default as FieldConstants } from './utils/field-constants';
|
|
32
34
|
export type { TreeViewFinderNodeProps } from './components/TreeViewFinder/TreeViewFinder';
|
|
33
35
|
export { GRIDSUITE_DEFAULT_PRECISION, roundToPrecision, roundToDefaultPrecision, isBlankOrEmpty, unitToMicroUnit, microUnitToUnit, } from './utils/conversion-utils';
|
|
34
36
|
export { ElementType } from './utils/ElementType';
|
|
35
37
|
export type { ElementAttributes, Option, Equipment } from './utils/types';
|
|
36
38
|
export { EQUIPMENT_TYPE, EquipmentType, getEquipmentsInfosForSearchBar, equipmentStyles, } from './utils/EquipmentType';
|
|
37
39
|
export { initializeAuthenticationDev, initializeAuthenticationProd, logout, dispatchUser, getPreLoginPath, } from './utils/AuthService';
|
|
38
|
-
export
|
|
39
|
-
export { getFileIcon } from './utils/ElementIcon';
|
|
40
|
+
export { default as getFileIcon } from './utils/ElementIcon';
|
|
40
41
|
export { DEFAULT_CELL_PADDING, DEFAULT_HEADER_HEIGHT, DEFAULT_ROW_HEIGHT, } from './components/MuiVirtualizedTable/MuiVirtualizedTable';
|
|
41
42
|
export { DARK_THEME, LIGHT_THEME, LANG_SYSTEM, LANG_ENGLISH, LANG_FRENCH, } from './components/TopBar/TopBar';
|
|
42
|
-
export {
|
|
43
|
+
export type { GsLang, GsLangUser, GsTheme } from './components/TopBar/TopBar';
|
|
44
|
+
export { USER, setLoggedUser, SIGNIN_CALLBACK_ERROR, setSignInCallbackError, UNAUTHORIZED_USER_INFO, LOGOUT_ERROR, USER_VALIDATION_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, } from './redux/authActions';
|
|
45
|
+
export type { AuthenticationActions, AuthenticationRouterErrorBase, AuthenticationRouterErrorAction, LogoutErrorAction, ShowAuthenticationRouterLoginAction, SignInCallbackErrorAction, UnauthorizedUserAction, UserAction, UserValidationErrorAction, } from './redux/authActions';
|
|
43
46
|
export { default as report_viewer_en } from './components/translations/report-viewer-en';
|
|
44
47
|
export { default as report_viewer_fr } from './components/translations/report-viewer-fr';
|
|
45
48
|
export { default as login_en } from './components/translations/login-en';
|
|
@@ -72,11 +75,11 @@ export { TagRenderer, ElementSearchInput, useElementSearch, } from './components
|
|
|
72
75
|
export type { TagRendererProps } from './components/ElementSearchDialog';
|
|
73
76
|
export { EquipmentItem } from './components/ElementSearchDialog/equipment-item';
|
|
74
77
|
export { default as CardErrorBoundary } from './components/CardErrorBoundary';
|
|
75
|
-
export { useIntlRef } from './hooks/useIntlRef';
|
|
78
|
+
export { default as useIntlRef } from './hooks/useIntlRef';
|
|
76
79
|
export { useSnackMessage } from './hooks/useSnackMessage';
|
|
77
|
-
export { useDebounce } from './hooks/useDebounce';
|
|
80
|
+
export { default as useDebounce } from './hooks/useDebounce';
|
|
78
81
|
export { default as SelectClearable } from './components/inputs/select-clearable';
|
|
79
|
-
export { useCustomFormContext } from './components/inputs/react-hook-form/provider/use-custom-form-context';
|
|
82
|
+
export { default as useCustomFormContext } from './components/inputs/react-hook-form/provider/use-custom-form-context';
|
|
80
83
|
export { default as CustomFormProvider } from './components/inputs/react-hook-form/provider/custom-form-provider';
|
|
81
84
|
export { default as AutocompleteInput } from './components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input';
|
|
82
85
|
export { default as TextInput } from './components/inputs/react-hook-form/text-input';
|
|
@@ -100,7 +103,7 @@ export { keyGenerator, areArrayElementsUnique, isObjectEmpty, } from './utils/fu
|
|
|
100
103
|
export { default as DirectoryItemsInput } from './components/inputs/react-hook-form/directory-items-input';
|
|
101
104
|
export { default as DirectoryItemSelector } from './components/DirectoryItemSelector/directory-item-selector';
|
|
102
105
|
export { default as CustomAGGrid } from './components/CustomAGGrid/custom-aggrid';
|
|
103
|
-
export { RawReadOnlyInput } from './components/inputs/react-hook-form/raw-read-only-input';
|
|
106
|
+
export { default as RawReadOnlyInput } from './components/inputs/react-hook-form/raw-read-only-input';
|
|
104
107
|
export { default as FilterCreationDialog } from './components/filter/filter-creation-dialog';
|
|
105
108
|
export { default as ExpertFilterEditionDialog } from './components/filter/expert/expert-filter-edition-dialog';
|
|
106
109
|
export { default as ExplicitNamingFilterEditionDialog } from './components/filter/explicit-naming/explicit-naming-filter-edition-dialog';
|
|
@@ -113,13 +116,13 @@ export { default as CountriesInput } from './components/inputs/react-hook-form/s
|
|
|
113
116
|
export { getSystemLanguage, getComputedLanguage, useLocalizedCountries, } from './hooks/localized-countries-hook';
|
|
114
117
|
export { default as MultipleAutocompleteInput } from './components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input';
|
|
115
118
|
export { default as CsvUploader } from './components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader';
|
|
116
|
-
export { UniqueNameInput } from './components/inputs/react-hook-form/unique-name-input';
|
|
117
|
-
export { UserManagerMock } from './utils/UserManagerMock';
|
|
119
|
+
export { default as UniqueNameInput } from './components/inputs/react-hook-form/unique-name-input';
|
|
120
|
+
export { default as UserManagerMock } from './utils/UserManagerMock';
|
|
118
121
|
export { FILTER_EQUIPMENTS, CONTINGENCY_LIST_EQUIPMENTS, } from './components/filter/utils/filter-form-utils';
|
|
119
122
|
export type { FormEquipment } from './components/filter/utils/filter-form-utils';
|
|
120
123
|
export { getCriteriaBasedFormData, getCriteriaBasedSchema, } from './components/filter/criteria-based/criteria-based-filter-utils';
|
|
121
124
|
export { mergeSx } from './utils/styles';
|
|
122
125
|
export { setCommonStore } from './redux/commonStore';
|
|
126
|
+
export type { CommonStoreState } from './redux/commonStore';
|
|
123
127
|
export type { EquipmentInfos } from './utils/EquipmentType';
|
|
124
128
|
export * from './services';
|
|
125
|
-
export type * from './services';
|
package/dist/index.js
CHANGED
|
@@ -8,99 +8,105 @@ import { default as default4 } from "./components/TopBar/AboutDialog.js";
|
|
|
8
8
|
import { default as default5 } from "./components/SnackbarProvider/SnackbarProvider.js";
|
|
9
9
|
import { default as default6 } from "./components/AuthenticationRouter/AuthenticationRouter.js";
|
|
10
10
|
import { DEFAULT_CELL_PADDING, DEFAULT_HEADER_HEIGHT, DEFAULT_ROW_HEIGHT, default as default7 } from "./components/MuiVirtualizedTable/MuiVirtualizedTable.js";
|
|
11
|
-
import {
|
|
11
|
+
import { ChangeWays, KeyedColumnsRowIndexer } from "./components/MuiVirtualizedTable/KeyedColumnsRowIndexer.js";
|
|
12
12
|
import { default as default8 } from "./components/ReportViewer/report-viewer.js";
|
|
13
13
|
import { default as default9 } from "./components/ReportViewerDialog/report-viewer-dialog.js";
|
|
14
14
|
import { OverflowableText } from "./components/OverflowableText/overflowable-text.js";
|
|
15
15
|
import { ElementSearchDialog } from "./components/ElementSearchDialog/element-search-dialog.js";
|
|
16
|
-
import {
|
|
16
|
+
import { default as default10 } from "./components/ElementSearchDialog/tag-renderer.js";
|
|
17
17
|
import { ElementSearchInput } from "./components/ElementSearchDialog/element-search-input.js";
|
|
18
|
-
import {
|
|
18
|
+
import { default as default11 } from "./components/ElementSearchDialog/use-element-search.js";
|
|
19
19
|
import { FlatParameters } from "./components/FlatParameters/FlatParameters.js";
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import {
|
|
20
|
+
import { default as default12 } from "./components/ExpandableGroup/expandable-group.js";
|
|
21
|
+
import { default as default13 } from "./components/MultipleSelectionDialog/MultipleSelectionDialog.js";
|
|
22
|
+
import { default as default14 } from "./components/dialogs/custom-mui-dialog.js";
|
|
23
|
+
import { default as default15 } from "./components/dialogs/description-modification-dialog.js";
|
|
24
|
+
import { default as default16 } from "./components/dialogs/modify-element-selection.js";
|
|
25
|
+
import { default as default17 } from "./components/filter/criteria-based/criteria-based-form.js";
|
|
26
|
+
import { default as default18 } from "./components/dialogs/popup-confirmation-dialog.js";
|
|
27
|
+
import { default as default19 } from "./components/inputs/react-hook-form/ag-grid-table/bottom-right-buttons.js";
|
|
28
|
+
import { default as default20, ROW_DRAGGING_SELECTION_COLUMN_DEF } from "./components/inputs/react-hook-form/ag-grid-table/custom-ag-grid-table.js";
|
|
28
29
|
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel, noSelectionForCopy } from "./utils/equipment-types.js";
|
|
29
|
-
import {
|
|
30
|
+
import { default as default21 } from "./utils/field-constants.js";
|
|
30
31
|
import { GRIDSUITE_DEFAULT_PRECISION, isBlankOrEmpty, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, unitToMicroUnit } from "./utils/conversion-utils.js";
|
|
31
32
|
import { ElementType } from "./utils/ElementType.js";
|
|
32
33
|
import { EQUIPMENT_TYPE, EquipmentType, equipmentStyles, getEquipmentsInfosForSearchBar } from "./utils/EquipmentType.js";
|
|
33
34
|
import { dispatchUser, getPreLoginPath, initializeAuthenticationDev, initializeAuthenticationProd, logout } from "./utils/AuthService.js";
|
|
34
|
-
import {
|
|
35
|
-
import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, setLoggedUser, setSignInCallbackError } from "./redux/
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
35
|
+
import { default as default22 } from "./utils/ElementIcon.js";
|
|
36
|
+
import { LOGOUT_ERROR, RESET_AUTHENTICATION_ROUTER_ERROR, SHOW_AUTH_INFO_LOGIN, SIGNIN_CALLBACK_ERROR, UNAUTHORIZED_USER_INFO, USER, USER_VALIDATION_ERROR, setLoggedUser, setSignInCallbackError } from "./redux/authActions.js";
|
|
37
|
+
import { default as default23 } from "./components/translations/report-viewer-en.js";
|
|
38
|
+
import { default as default24 } from "./components/translations/report-viewer-fr.js";
|
|
39
|
+
import { default as default25 } from "./components/translations/login-en.js";
|
|
40
|
+
import { default as default26 } from "./components/translations/login-fr.js";
|
|
41
|
+
import { default as default27 } from "./components/translations/top-bar-en.js";
|
|
42
|
+
import { default as default28 } from "./components/translations/top-bar-fr.js";
|
|
43
|
+
import { default as default29 } from "./components/translations/table-en.js";
|
|
44
|
+
import { default as default30 } from "./components/translations/table-fr.js";
|
|
45
|
+
import { default as default31 } from "./components/translations/treeview-finder-en.js";
|
|
46
|
+
import { default as default32 } from "./components/translations/treeview-finder-fr.js";
|
|
47
|
+
import { default as default33 } from "./components/translations/element-search-en.js";
|
|
48
|
+
import { default as default34 } from "./components/translations/element-search-fr.js";
|
|
49
|
+
import { default as default35 } from "./components/translations/equipment-search-en.js";
|
|
50
|
+
import { default as default36 } from "./components/translations/equipment-search-fr.js";
|
|
51
|
+
import { default as default37 } from "./components/translations/filter-en.js";
|
|
52
|
+
import { default as default38 } from "./components/translations/filter-fr.js";
|
|
53
|
+
import { default as default39 } from "./components/translations/filter-expert-en.js";
|
|
54
|
+
import { default as default40 } from "./components/translations/filter-expert-fr.js";
|
|
55
|
+
import { default as default41 } from "./components/translations/card-error-boundary-en.js";
|
|
56
|
+
import { default as default42 } from "./components/translations/card-error-boundary-fr.js";
|
|
57
|
+
import { default as default43 } from "./components/translations/flat-parameters-en.js";
|
|
58
|
+
import { default as default44 } from "./components/translations/flat-parameters-fr.js";
|
|
59
|
+
import { default as default45 } from "./components/translations/multiple-selection-dialog-en.js";
|
|
60
|
+
import { default as default46 } from "./components/translations/multiple-selection-dialog-fr.js";
|
|
61
|
+
import { default as default47 } from "./components/translations/common-button-en.js";
|
|
62
|
+
import { default as default48 } from "./components/translations/common-button-fr.js";
|
|
63
|
+
import { default as default49 } from "./components/translations/directory-items-input-en.js";
|
|
64
|
+
import { default as default50 } from "./components/translations/directory-items-input-fr.js";
|
|
64
65
|
import { EquipmentItem } from "./components/ElementSearchDialog/equipment-item.js";
|
|
65
|
-
import { default as
|
|
66
|
-
import {
|
|
66
|
+
import { default as default51 } from "./components/CardErrorBoundary/card-error-boundary.js";
|
|
67
|
+
import { default as default52 } from "./hooks/useIntlRef.js";
|
|
67
68
|
import { useSnackMessage } from "./hooks/useSnackMessage.js";
|
|
68
|
-
import {
|
|
69
|
-
import { default as
|
|
70
|
-
import {
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
69
|
+
import { default as default53 } from "./hooks/useDebounce.js";
|
|
70
|
+
import { default as default54 } from "./components/inputs/select-clearable.js";
|
|
71
|
+
import { default as default55 } from "./components/inputs/react-hook-form/provider/use-custom-form-context.js";
|
|
72
|
+
import { default as default56 } from "./components/inputs/react-hook-form/provider/custom-form-provider.js";
|
|
73
|
+
import { default as default57 } from "./components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js";
|
|
74
|
+
import { default as default58 } from "./components/inputs/react-hook-form/text-input.js";
|
|
75
|
+
import { default as default59 } from "./components/inputs/react-hook-form/ExpandingTextField.js";
|
|
76
|
+
import { default as default60 } from "./components/inputs/react-hook-form/radio-input.js";
|
|
77
|
+
import { default as default61 } from "./components/inputs/react-hook-form/slider-input.js";
|
|
78
|
+
import { default as default62 } from "./components/inputs/react-hook-form/numbers/float-input.js";
|
|
79
|
+
import { default as default63 } from "./components/inputs/react-hook-form/numbers/integer-input.js";
|
|
80
|
+
import { default as default64 } from "./components/inputs/react-hook-form/select-inputs/select-input.js";
|
|
81
|
+
import { default as default65 } from "./components/inputs/react-hook-form/booleans/checkbox-input.js";
|
|
82
|
+
import { default as default66 } from "./components/inputs/react-hook-form/booleans/switch-input.js";
|
|
83
|
+
import { default as default67 } from "./components/inputs/react-hook-form/error-management/error-input.js";
|
|
84
|
+
import { default as default68 } from "./components/inputs/react-hook-form/error-management/field-error-alert.js";
|
|
85
|
+
import { default as default69 } from "./components/inputs/react-hook-form/error-management/mid-form-error.js";
|
|
86
|
+
import { default as default70 } from "./components/inputs/react-hook-form/utils/text-field-with-adornment.js";
|
|
87
|
+
import { default as default71 } from "./components/inputs/react-hook-form/utils/field-label.js";
|
|
88
|
+
import { default as default72 } from "./components/inputs/react-hook-form/utils/submit-button.js";
|
|
89
|
+
import { default as default73 } from "./components/inputs/react-hook-form/utils/cancel-button.js";
|
|
89
90
|
import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, isFloatNumber, toFloatOrNullValue } from "./components/inputs/react-hook-form/utils/functions.js";
|
|
90
91
|
import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./utils/functions.js";
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import {
|
|
92
|
+
import { default as default74 } from "./components/inputs/react-hook-form/directory-items-input.js";
|
|
93
|
+
import { default as default75 } from "./components/DirectoryItemSelector/directory-item-selector.js";
|
|
94
|
+
import { default as default76 } from "./components/CustomAGGrid/custom-aggrid.js";
|
|
95
|
+
import { default as default77 } from "./components/inputs/react-hook-form/raw-read-only-input.js";
|
|
96
|
+
import { default as default78 } from "./components/filter/filter-creation-dialog.js";
|
|
97
|
+
import { default as default79 } from "./components/filter/expert/expert-filter-edition-dialog.js";
|
|
98
|
+
import { default as default80 } from "./components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js";
|
|
99
|
+
import { default as default81 } from "./components/filter/criteria-based/criteria-based-filter-edition-dialog.js";
|
|
95
100
|
import { saveCriteriaBasedFilter, saveExpertFilter, saveExplicitNamingFilter } from "./components/filter/utils/filter-api.js";
|
|
96
|
-
import { DEFAULT_RANGE_VALUE, default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
101
|
+
import { DEFAULT_RANGE_VALUE, default as default82, getRangeInputDataForm, getRangeInputSchema } from "./components/inputs/react-hook-form/range-input.js";
|
|
102
|
+
import { default as default83 } from "./components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js";
|
|
103
|
+
import { default as default84 } from "./components/inputs/react-hook-form/select-inputs/mui-select-input.js";
|
|
104
|
+
import { default as default85 } from "./components/inputs/react-hook-form/select-inputs/countries-input.js";
|
|
100
105
|
import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./hooks/localized-countries-hook.js";
|
|
101
|
-
import { default as
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
106
|
+
import { default as default86 } from "./components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js";
|
|
107
|
+
import { default as default87 } from "./components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js";
|
|
108
|
+
import { default as default88 } from "./components/inputs/react-hook-form/unique-name-input.js";
|
|
109
|
+
import { default as default89 } from "./utils/UserManagerMock.js";
|
|
104
110
|
import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS } from "./components/filter/utils/filter-form-utils.js";
|
|
105
111
|
import { getCriteriaBasedFormData, getCriteriaBasedSchema } from "./components/filter/criteria-based/criteria-based-filter-utils.js";
|
|
106
112
|
import { setCommonStore } from "./redux/commonStore.js";
|
|
@@ -112,55 +118,55 @@ import { exportFilter } from "./services/study.js";
|
|
|
112
118
|
export {
|
|
113
119
|
default4 as AboutDialog,
|
|
114
120
|
default6 as AuthenticationRouter,
|
|
115
|
-
|
|
121
|
+
default57 as AutocompleteInput,
|
|
116
122
|
Battery,
|
|
117
|
-
|
|
123
|
+
default19 as BottomRightButtons,
|
|
118
124
|
BusBar,
|
|
119
|
-
CHANGE_WAYS,
|
|
120
125
|
CONTINGENCY_LIST_EQUIPMENTS,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
126
|
+
default73 as CancelButton,
|
|
127
|
+
default51 as CardErrorBoundary,
|
|
128
|
+
ChangeWays,
|
|
129
|
+
default65 as CheckboxInput,
|
|
130
|
+
default85 as CountriesInput,
|
|
131
|
+
default81 as CriteriaBasedFilterEditionDialog,
|
|
132
|
+
default17 as CriteriaBasedForm,
|
|
133
|
+
default87 as CsvUploader,
|
|
134
|
+
default76 as CustomAGGrid,
|
|
135
|
+
default20 as CustomAgGridTable,
|
|
136
|
+
default56 as CustomFormProvider,
|
|
137
|
+
default14 as CustomMuiDialog,
|
|
132
138
|
DARK_THEME,
|
|
133
139
|
DEFAULT_CELL_PADDING,
|
|
134
140
|
DEFAULT_HEADER_HEIGHT,
|
|
135
141
|
DEFAULT_RANGE_VALUE,
|
|
136
142
|
DEFAULT_ROW_HEIGHT,
|
|
137
143
|
DanglingLine,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
144
|
+
default15 as DescriptionModificationDialog,
|
|
145
|
+
default75 as DirectoryItemSelector,
|
|
146
|
+
default74 as DirectoryItemsInput,
|
|
141
147
|
EQUIPMENT_TYPE,
|
|
142
148
|
ElementSearchDialog,
|
|
143
149
|
ElementSearchInput,
|
|
144
150
|
ElementType,
|
|
145
151
|
EquipmentItem,
|
|
146
152
|
EquipmentType,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
153
|
+
default67 as ErrorInput,
|
|
154
|
+
default12 as ExpandableGroup,
|
|
155
|
+
default59 as ExpandingTextField,
|
|
156
|
+
default79 as ExpertFilterEditionDialog,
|
|
157
|
+
default80 as ExplicitNamingFilterEditionDialog,
|
|
152
158
|
FILTER_EQUIPMENTS,
|
|
153
|
-
FieldConstants,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
159
|
+
default21 as FieldConstants,
|
|
160
|
+
default68 as FieldErrorAlert,
|
|
161
|
+
default71 as FieldLabel,
|
|
162
|
+
default78 as FilterCreationDialog,
|
|
157
163
|
FlatParameters,
|
|
158
|
-
|
|
164
|
+
default62 as FloatInput,
|
|
159
165
|
GRIDSUITE_DEFAULT_PRECISION,
|
|
160
166
|
Generator,
|
|
161
167
|
Hvdc,
|
|
162
|
-
|
|
163
|
-
|
|
168
|
+
default83 as InputWithPopupConfirmation,
|
|
169
|
+
default63 as IntegerInput,
|
|
164
170
|
KeyedColumnsRowIndexer,
|
|
165
171
|
LANG_ENGLISH,
|
|
166
172
|
LANG_FRENCH,
|
|
@@ -170,35 +176,35 @@ export {
|
|
|
170
176
|
LOGOUT_ERROR,
|
|
171
177
|
Line,
|
|
172
178
|
Load,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
179
|
+
default69 as MidFormError,
|
|
180
|
+
default16 as ModifyElementSelection,
|
|
181
|
+
default84 as MuiSelectInput,
|
|
176
182
|
default7 as MuiVirtualizedTable,
|
|
177
|
-
|
|
178
|
-
|
|
183
|
+
default86 as MultipleAutocompleteInput,
|
|
184
|
+
default13 as MultipleSelectionDialog,
|
|
179
185
|
OverflowableText,
|
|
180
|
-
|
|
186
|
+
default18 as PopupConfirmationDialog,
|
|
181
187
|
RESET_AUTHENTICATION_ROUTER_ERROR,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
RawReadOnlyInput,
|
|
188
|
+
ROW_DRAGGING_SELECTION_COLUMN_DEF,
|
|
189
|
+
default60 as RadioInput,
|
|
190
|
+
default82 as RangeInput,
|
|
191
|
+
default77 as RawReadOnlyInput,
|
|
186
192
|
default8 as ReportViewer,
|
|
187
193
|
default9 as ReportViewerDialog,
|
|
188
194
|
SHOW_AUTH_INFO_LOGIN,
|
|
189
195
|
SIGNIN_CALLBACK_ERROR,
|
|
190
196
|
SVC,
|
|
191
|
-
|
|
192
|
-
|
|
197
|
+
default54 as SelectClearable,
|
|
198
|
+
default64 as SelectInput,
|
|
193
199
|
ShuntCompensator,
|
|
194
|
-
|
|
200
|
+
default61 as SliderInput,
|
|
195
201
|
default5 as SnackbarProvider,
|
|
196
|
-
|
|
202
|
+
default72 as SubmitButton,
|
|
197
203
|
Substation,
|
|
198
|
-
|
|
199
|
-
TagRenderer,
|
|
200
|
-
|
|
201
|
-
|
|
204
|
+
default66 as SwitchInput,
|
|
205
|
+
default10 as TagRenderer,
|
|
206
|
+
default70 as TextFieldWithAdornment,
|
|
207
|
+
default58 as TextInput,
|
|
202
208
|
ThreeWindingTransfo,
|
|
203
209
|
default3 as TopBar,
|
|
204
210
|
default2 as TreeViewFinder,
|
|
@@ -206,26 +212,26 @@ export {
|
|
|
206
212
|
UNAUTHORIZED_USER_INFO,
|
|
207
213
|
USER,
|
|
208
214
|
USER_VALIDATION_ERROR,
|
|
209
|
-
UniqueNameInput,
|
|
210
|
-
UserManagerMock,
|
|
215
|
+
default88 as UniqueNameInput,
|
|
216
|
+
default89 as UserManagerMock,
|
|
211
217
|
VSC,
|
|
212
218
|
VoltageLevel,
|
|
213
219
|
areArrayElementsUnique,
|
|
214
220
|
backendFetch,
|
|
215
221
|
backendFetchJson,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
222
|
+
default41 as card_error_boundary_en,
|
|
223
|
+
default42 as card_error_boundary_fr,
|
|
224
|
+
default47 as common_button_en,
|
|
225
|
+
default48 as common_button_fr,
|
|
220
226
|
createFilter,
|
|
221
|
-
|
|
222
|
-
|
|
227
|
+
default49 as directory_items_input_en,
|
|
228
|
+
default50 as directory_items_input_fr,
|
|
223
229
|
dispatchUser,
|
|
224
|
-
|
|
225
|
-
|
|
230
|
+
default33 as element_search_en,
|
|
231
|
+
default34 as element_search_fr,
|
|
226
232
|
equipmentStyles,
|
|
227
|
-
|
|
228
|
-
|
|
233
|
+
default35 as equipment_search_en,
|
|
234
|
+
default36 as equipment_search_fr,
|
|
229
235
|
exportFilter,
|
|
230
236
|
fetchAppsMetadata,
|
|
231
237
|
fetchDirectoryContent,
|
|
@@ -234,19 +240,19 @@ export {
|
|
|
234
240
|
fetchEnv,
|
|
235
241
|
fetchRootFolders,
|
|
236
242
|
fetchStudyMetadata,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
+
default37 as filter_en,
|
|
244
|
+
default39 as filter_expert_en,
|
|
245
|
+
default40 as filter_expert_fr,
|
|
246
|
+
default38 as filter_fr,
|
|
247
|
+
default43 as flat_parameters_en,
|
|
248
|
+
default44 as flat_parameters_fr,
|
|
243
249
|
genHelperError,
|
|
244
250
|
genHelperPreviousValue,
|
|
245
251
|
getComputedLanguage,
|
|
246
252
|
getCriteriaBasedFormData,
|
|
247
253
|
getCriteriaBasedSchema,
|
|
248
254
|
getEquipmentsInfosForSearchBar,
|
|
249
|
-
getFileIcon,
|
|
255
|
+
default22 as getFileIcon,
|
|
250
256
|
getPreLoginPath,
|
|
251
257
|
getRangeInputDataForm,
|
|
252
258
|
getRangeInputSchema,
|
|
@@ -261,16 +267,16 @@ export {
|
|
|
261
267
|
isFloatNumber,
|
|
262
268
|
isObjectEmpty,
|
|
263
269
|
keyGenerator,
|
|
264
|
-
|
|
265
|
-
|
|
270
|
+
default25 as login_en,
|
|
271
|
+
default26 as login_fr,
|
|
266
272
|
logout,
|
|
267
273
|
mergeSx,
|
|
268
274
|
microUnitToUnit,
|
|
269
|
-
|
|
270
|
-
|
|
275
|
+
default45 as multiple_selection_dialog_en,
|
|
276
|
+
default46 as multiple_selection_dialog_fr,
|
|
271
277
|
noSelectionForCopy,
|
|
272
|
-
|
|
273
|
-
|
|
278
|
+
default23 as report_viewer_en,
|
|
279
|
+
default24 as report_viewer_fr,
|
|
274
280
|
roundToDefaultPrecision,
|
|
275
281
|
roundToPrecision,
|
|
276
282
|
saveCriteriaBasedFilter,
|
|
@@ -280,18 +286,18 @@ export {
|
|
|
280
286
|
setCommonStore,
|
|
281
287
|
setLoggedUser,
|
|
282
288
|
setSignInCallbackError,
|
|
283
|
-
|
|
284
|
-
|
|
289
|
+
default29 as table_en,
|
|
290
|
+
default30 as table_fr,
|
|
285
291
|
toFloatOrNullValue,
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
292
|
+
default27 as top_bar_en,
|
|
293
|
+
default28 as top_bar_fr,
|
|
294
|
+
default31 as treeview_finder_en,
|
|
295
|
+
default32 as treeview_finder_fr,
|
|
290
296
|
unitToMicroUnit,
|
|
291
|
-
useCustomFormContext,
|
|
292
|
-
useDebounce,
|
|
293
|
-
useElementSearch,
|
|
294
|
-
useIntlRef,
|
|
297
|
+
default55 as useCustomFormContext,
|
|
298
|
+
default53 as useDebounce,
|
|
299
|
+
default11 as useElementSearch,
|
|
300
|
+
default52 as useIntlRef,
|
|
295
301
|
useLocalizedCountries,
|
|
296
302
|
useSnackMessage
|
|
297
303
|
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { User } from 'oidc-client';
|
|
2
|
+
|
|
3
|
+
export interface Action<T> {
|
|
4
|
+
type: T;
|
|
5
|
+
}
|
|
6
|
+
type ReadonlyAction<T> = Readonly<Action<T>>;
|
|
7
|
+
export declare const USER = "USER";
|
|
8
|
+
export type UserAction = ReadonlyAction<typeof USER> & {
|
|
9
|
+
user: User | null;
|
|
10
|
+
};
|
|
11
|
+
export declare function setLoggedUser(user: User | null): UserAction;
|
|
12
|
+
export declare const SIGNIN_CALLBACK_ERROR = "SIGNIN_CALLBACK_ERROR";
|
|
13
|
+
export type SignInCallbackErrorAction = ReadonlyAction<typeof SIGNIN_CALLBACK_ERROR> & {
|
|
14
|
+
signInCallbackError: Error | null;
|
|
15
|
+
};
|
|
16
|
+
export declare function setSignInCallbackError(signInCallbackError: Error | null): SignInCallbackErrorAction;
|
|
17
|
+
export type AuthenticationRouterErrorBase<T> = {
|
|
18
|
+
authenticationRouterError: {
|
|
19
|
+
userName?: string;
|
|
20
|
+
} & T;
|
|
21
|
+
};
|
|
22
|
+
export declare const UNAUTHORIZED_USER_INFO = "UNAUTHORIZED_USER_INFO";
|
|
23
|
+
export type UnauthorizedUserAction = ReadonlyAction<typeof UNAUTHORIZED_USER_INFO> & AuthenticationRouterErrorBase<{
|
|
24
|
+
unauthorizedUserInfo: string;
|
|
25
|
+
}>;
|
|
26
|
+
export declare function setUnauthorizedUserInfo(userName: string | undefined, unauthorizedUserInfo: string): UnauthorizedUserAction;
|
|
27
|
+
export declare const LOGOUT_ERROR = "LOGOUT_ERROR";
|
|
28
|
+
export type LogoutErrorAction = ReadonlyAction<typeof LOGOUT_ERROR> & AuthenticationRouterErrorBase<{
|
|
29
|
+
logoutError: {
|
|
30
|
+
error: Error;
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
export declare function setLogoutError(userName: string | undefined, logoutError: {
|
|
34
|
+
error: Error;
|
|
35
|
+
}): LogoutErrorAction;
|
|
36
|
+
export declare const USER_VALIDATION_ERROR = "USER_VALIDATION_ERROR";
|
|
37
|
+
export type UserValidationErrorAction = ReadonlyAction<typeof USER_VALIDATION_ERROR> & AuthenticationRouterErrorBase<{
|
|
38
|
+
userValidationError: {
|
|
39
|
+
error: Error;
|
|
40
|
+
};
|
|
41
|
+
}>;
|
|
42
|
+
export declare function setUserValidationError(userName: string | undefined, userValidationError: {
|
|
43
|
+
error: Error;
|
|
44
|
+
}): UserValidationErrorAction;
|
|
45
|
+
export declare const RESET_AUTHENTICATION_ROUTER_ERROR = "RESET_AUTHENTICATION_ROUTER_ERROR";
|
|
46
|
+
export type AuthenticationRouterErrorAction = ReadonlyAction<typeof RESET_AUTHENTICATION_ROUTER_ERROR> & {
|
|
47
|
+
authenticationRouterError: null;
|
|
48
|
+
};
|
|
49
|
+
export declare function resetAuthenticationRouterError(): AuthenticationRouterErrorAction;
|
|
50
|
+
export declare const SHOW_AUTH_INFO_LOGIN = "SHOW_AUTH_INFO_LOGIN";
|
|
51
|
+
export type ShowAuthenticationRouterLoginAction = ReadonlyAction<typeof SHOW_AUTH_INFO_LOGIN> & {
|
|
52
|
+
showAuthenticationRouterLogin: boolean;
|
|
53
|
+
};
|
|
54
|
+
export declare function setShowAuthenticationRouterLogin(showAuthenticationRouterLogin: boolean): ShowAuthenticationRouterLoginAction;
|
|
55
|
+
export type AuthenticationActions = UserAction | SignInCallbackErrorAction | UnauthorizedUserAction | LogoutErrorAction | UserValidationErrorAction | AuthenticationRouterErrorAction | ShowAuthenticationRouterLoginAction;
|
|
56
|
+
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { User } from 'oidc-client';
|
|
2
2
|
|
|
3
|
+
export type CommonStoreState = {
|
|
4
|
+
user: User | null;
|
|
5
|
+
};
|
|
3
6
|
interface CommonStore {
|
|
4
|
-
getState
|
|
5
|
-
user: User;
|
|
6
|
-
};
|
|
7
|
+
getState(): CommonStoreState;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* Set a copy of the reference to the store to be able to access it from this library.
|
|
@@ -3,7 +3,8 @@ function setCommonStore(store) {
|
|
|
3
3
|
commonStore = store;
|
|
4
4
|
}
|
|
5
5
|
function getUserToken() {
|
|
6
|
-
|
|
6
|
+
var _a;
|
|
7
|
+
return (_a = commonStore == null ? void 0 : commonStore.getState().user) == null ? void 0 : _a.id_token;
|
|
7
8
|
}
|
|
8
9
|
export {
|
|
9
10
|
getUserToken,
|