@gridsuite/commons-ui 0.64.6 → 0.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/{AuthenticationRouter → authentication}/AuthenticationRouter.d.ts +1 -1
- package/dist/components/{AuthenticationRouter → authentication}/AuthenticationRouter.js +5 -5
- package/dist/components/authentication/index.d.ts +12 -0
- package/dist/components/authentication/index.js +16 -0
- package/dist/{utils/AuthService.d.ts → components/authentication/utils/authService.d.ts} +1 -1
- package/dist/{utils/AuthService.js → components/authentication/utils/authService.js} +2 -2
- package/dist/components/cardErrorBoundary/index.d.ts +3 -0
- package/dist/components/cardErrorBoundary/index.js +4 -0
- package/dist/components/checkBoxList/CheckBoxList.d.ts +4 -0
- package/dist/components/{CheckBoxList/check-box-list.js → checkBoxList/CheckBoxList.js} +4 -4
- package/dist/components/{CheckBoxList/check-box-list-item.d.ts → checkBoxList/CheckBoxListItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/check-box-list-item.js → checkBoxList/CheckBoxListItem.js} +2 -2
- package/dist/components/{CheckBoxList/check-box-list-items.d.ts → checkBoxList/CheckBoxListItems.d.ts} +1 -1
- package/dist/components/{CheckBoxList/check-box-list-items.js → checkBoxList/CheckBoxListItems.js} +3 -3
- package/dist/components/{CheckBoxList/clickable-check-box-item.d.ts → checkBoxList/ClickableCheckBoxItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/clickable-check-box-item.js → checkBoxList/ClickableCheckBoxItem.js} +1 -1
- package/dist/components/{CheckBoxList/clickable-row-item.d.ts → checkBoxList/ClickableRowItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/clickable-row-item.js → checkBoxList/ClickableRowItem.js} +1 -1
- package/dist/components/{CheckBoxList/draggable-check-box-list-item.d.ts → checkBoxList/DraggableCheckBoxListItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-check-box-list-item.js → checkBoxList/DraggableCheckBoxListItem.js} +2 -2
- package/dist/components/{CheckBoxList/draggable-clickable-check-box-item.d.ts → checkBoxList/DraggableClickableCheckBoxItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-check-box-item.js → checkBoxList/DraggableClickableCheckBoxItem.js} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-row-item.d.ts → checkBoxList/DraggableClickableRowItem.d.ts} +1 -1
- package/dist/components/{CheckBoxList/draggable-clickable-row-item.js → checkBoxList/DraggableClickableRowItem.js} +1 -1
- package/dist/components/checkBoxList/index.d.ts +4 -0
- package/dist/components/checkBoxList/index.js +4 -0
- package/dist/components/{CustomAGGrid/custom-aggrid.js → customAGGrid/customAggrid.js} +1 -1
- package/dist/components/dialogs/{custom-mui-dialog.d.ts → customMuiDialog/CustomMuiDialog.d.ts} +1 -1
- package/dist/components/dialogs/{custom-mui-dialog.js → customMuiDialog/CustomMuiDialog.js} +4 -4
- package/dist/components/dialogs/{description-modification-dialog.js → descriptionModificationDialog/DescriptionModificationDialog.js} +5 -5
- package/dist/components/dialogs/{modify-element-selection.d.ts → modifyElementSelection/ModifyElementSelection.d.ts} +1 -1
- package/dist/components/dialogs/{modify-element-selection.js → modifyElementSelection/ModifyElementSelection.js} +4 -4
- package/dist/components/dialogs/{popup-confirmation-dialog.js → popupConfirmationDialog/PopupConfirmationDialog.js} +1 -1
- package/dist/components/{DirectoryItemSelector/directory-item-selector.d.ts → directoryItemSelector/DirectoryItemSelector.d.ts} +1 -1
- package/dist/components/{DirectoryItemSelector/directory-item-selector.js → directoryItemSelector/DirectoryItemSelector.js} +3 -3
- package/dist/components/{ElementSearchDialog/equipment-item.d.ts → elementSearch/elementItem/EquipmentItem.d.ts} +2 -2
- package/dist/components/{ElementSearchDialog/equipment-item.js → elementSearch/elementItem/EquipmentItem.js} +4 -4
- package/dist/components/{ElementSearchDialog/element-search-dialog.d.ts → elementSearch/elementSearchDialog/ElementSearchDialog.d.ts} +1 -1
- package/dist/components/{ElementSearchDialog/element-search-dialog.js → elementSearch/elementSearchDialog/ElementSearchDialog.js} +1 -1
- package/dist/components/{ElementSearchDialog/use-element-search.js → elementSearch/hooks/useElementSearch.js} +2 -2
- package/dist/components/elementSearch/index.d.ts +13 -0
- package/dist/components/elementSearch/index.js +10 -0
- package/dist/components/{ElementSearchDialog/tag-renderer.d.ts → elementSearch/tagRenderer/TagRenderer.d.ts} +1 -1
- package/dist/components/{ElementSearchDialog/tag-renderer.js → elementSearch/tagRenderer/TagRenderer.js} +3 -3
- package/dist/components/expandableGroup/index.d.ts +4 -0
- package/dist/components/expandableGroup/index.js +4 -0
- package/dist/components/filter/{filter-creation-dialog.d.ts → FilterCreationDialog.d.ts} +1 -1
- package/dist/components/filter/{filter-creation-dialog.js → FilterCreationDialog.js} +9 -9
- package/dist/components/filter/{filter-form.d.ts → FilterForm.d.ts} +1 -1
- package/dist/components/filter/{filter-form.js → FilterForm.js} +9 -9
- package/dist/components/filter/{criteria-based/criteria-based-filter-edition-dialog.d.ts → criteriaBased/CriteriaBasedFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-edition-dialog.js → criteriaBased/CriteriaBasedFilterEditionDialog.js} +8 -8
- package/dist/components/filter/{criteria-based/criteria-based-filter-form.d.ts → criteriaBased/CriteriaBasedFilterForm.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-form.js → criteriaBased/CriteriaBasedFilterForm.js} +7 -7
- package/dist/components/filter/{criteria-based/criteria-based-form.d.ts → criteriaBased/CriteriaBasedForm.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-form.js → criteriaBased/CriteriaBasedForm.js} +3 -3
- package/dist/components/filter/{criteria-based/filter-free-properties.d.ts → criteriaBased/FilterFreeProperties.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-free-properties.js → criteriaBased/FilterFreeProperties.js} +5 -5
- package/dist/components/filter/{criteria-based/filter-properties.d.ts → criteriaBased/FilterProperties.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-properties.js → criteriaBased/FilterProperties.js} +7 -7
- package/dist/components/filter/{criteria-based/filter-property.d.ts → criteriaBased/FilterProperty.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/filter-property.js → criteriaBased/FilterProperty.js} +3 -3
- package/dist/components/filter/{criteria-based/criteria-based-filter-utils.d.ts → criteriaBased/criteriaBasedFilterUtils.d.ts} +1 -1
- package/dist/components/filter/{criteria-based/criteria-based-filter-utils.js → criteriaBased/criteriaBasedFilterUtils.js} +6 -6
- package/dist/components/filter/expert/{expert-filter-edition-dialog.d.ts → ExpertFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-edition-dialog.js → ExpertFilterEditionDialog.js} +10 -10
- package/dist/components/filter/expert/{expert-filter-form.d.ts → ExpertFilterForm.d.ts} +2 -2
- package/dist/components/filter/expert/{expert-filter-form.js → ExpertFilterForm.js} +9 -9
- package/dist/components/filter/expert/{expert-filter-constants.d.ts → expertFilterConstants.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-constants.js → expertFilterConstants.js} +1 -1
- package/dist/components/filter/expert/{expert-filter-utils.d.ts → expertFilterUtils.d.ts} +1 -1
- package/dist/components/filter/expert/{expert-filter-utils.js → expertFilterUtils.js} +3 -3
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-edition-dialog.d.ts → explicitNaming/ExplicitNamingFilterEditionDialog.d.ts} +1 -1
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-edition-dialog.js → explicitNaming/ExplicitNamingFilterEditionDialog.js} +9 -9
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-form.d.ts → explicitNaming/ExplicitNamingFilterForm.d.ts} +3 -3
- package/dist/components/filter/{explicit-naming/explicit-naming-filter-form.js → explicitNaming/ExplicitNamingFilterForm.js} +12 -12
- package/dist/components/filter/utils/{filter-api.js → filterApi.js} +5 -5
- package/dist/components/filter/utils/{filter-form-utils.d.ts → filterFormUtils.d.ts} +1 -1
- package/dist/components/filter/utils/{filter-form-utils.js → filterFormUtils.js} +4 -4
- package/dist/components/{FlatParameters → flatParameters}/FlatParameters.js +1 -1
- package/dist/components/inputs/{select-clearable.js → SelectClearable.js} +1 -1
- package/dist/components/inputs/{react-hook-form/directory-items-input.js → reactHookForm/DirectoryItemsInput.js} +7 -7
- package/dist/components/inputs/{react-hook-form/ag-grid-table/bottom-right-buttons.js → reactHookForm/agGridTable/BottomRightButtons.js} +3 -3
- package/dist/components/inputs/{react-hook-form/ag-grid-table/custom-ag-grid-table.js → reactHookForm/agGridTable/CustomAgGridTable.js} +2 -2
- package/dist/components/inputs/{react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js → reactHookForm/agGridTable/csvUploader/CsvUploader.js} +2 -2
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/autocomplete-input.d.ts → reactHookForm/autocompleteInputs/AutocompleteInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/autocomplete-input.js → reactHookForm/autocompleteInputs/AutocompleteInput.js} +2 -2
- package/dist/components/inputs/{react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js → reactHookForm/autocompleteInputs/MultipleAutocompleteInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/booleans/checkbox-input.js → reactHookForm/booleans/CheckboxInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/radio-input.js → reactHookForm/booleans/RadioInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/booleans/switch-input.js → reactHookForm/booleans/SwitchInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/float-input.d.ts → reactHookForm/numbers/FloatInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/float-input.js → reactHookForm/numbers/FloatInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/integer-input.d.ts → reactHookForm/numbers/IntegerInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/numbers/integer-input.js → reactHookForm/numbers/IntegerInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/range-input.d.ts → reactHookForm/numbers/RangeInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/range-input.js → reactHookForm/numbers/RangeInput.js} +4 -4
- package/dist/components/inputs/{react-hook-form/slider-input.js → reactHookForm/numbers/SliderInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/custom-form-provider.js → reactHookForm/provider/CustomFormProvider.js} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/use-custom-form-context.d.ts → reactHookForm/provider/useCustomFormContext.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/provider/use-custom-form-context.js → reactHookForm/provider/useCustomFormContext.js} +1 -1
- package/dist/components/inputs/{react-hook-form/select-inputs/countries-input.js → reactHookForm/selectInputs/CountriesInput.js} +3 -3
- package/dist/components/inputs/{react-hook-form/select-inputs/input-with-popup-confirmation.js → reactHookForm/selectInputs/InputWithPopupConfirmation.js} +1 -1
- package/dist/components/inputs/{react-hook-form/select-inputs/select-input.d.ts → reactHookForm/selectInputs/SelectInput.d.ts} +2 -2
- package/dist/components/inputs/{react-hook-form/select-inputs/select-input.js → reactHookForm/selectInputs/SelectInput.js} +1 -1
- package/dist/components/inputs/{react-hook-form/description-field.js → reactHookForm/text/DescriptionField.js} +1 -1
- package/dist/components/inputs/{react-hook-form → reactHookForm/text}/ExpandingTextField.d.ts +1 -1
- package/dist/components/inputs/{react-hook-form → reactHookForm/text}/ExpandingTextField.js +2 -2
- package/dist/components/inputs/{react-hook-form/text-input.d.ts → reactHookForm/text/TextInput.d.ts} +2 -2
- package/dist/components/inputs/{react-hook-form/text-input.js → reactHookForm/text/TextInput.js} +4 -4
- package/dist/components/inputs/{react-hook-form/unique-name-input.d.ts → reactHookForm/text/UniqueNameInput.d.ts} +1 -1
- package/dist/components/inputs/{react-hook-form/unique-name-input.js → reactHookForm/text/UniqueNameInput.js} +2 -2
- package/dist/components/inputs/{react-hook-form/utils/text-field-with-adornment.d.ts → reactHookForm/utils/TextFieldWithAdornment.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/combinator-selector.js → reactQueryBuilder/CombinatorSelector.js} +1 -1
- package/dist/components/inputs/{react-query-builder/country-value-editor.js → reactQueryBuilder/CountryValueEditor.js} +6 -6
- package/dist/components/inputs/{react-query-builder/custom-react-query-builder.js → reactQueryBuilder/CustomReactQueryBuilder.js} +9 -9
- package/dist/components/inputs/{react-query-builder/element-value-editor.js → reactQueryBuilder/ElementValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/property-value-editor.js → reactQueryBuilder/PropertyValueEditor.js} +4 -4
- package/dist/components/inputs/{react-query-builder/remove-button.js → reactQueryBuilder/RemoveButton.js} +1 -1
- package/dist/components/inputs/{react-query-builder/text-value-editor.js → reactQueryBuilder/TextValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/translated-value-editor.js → reactQueryBuilder/TranslatedValueEditor.js} +2 -2
- package/dist/components/inputs/{react-query-builder/value-editor.js → reactQueryBuilder/ValueEditor.js} +12 -12
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/group-value-editor.d.ts → reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/group-value-editor.js → reactQueryBuilder/compositeRuleEditor/GroupValueEditor.js} +1 -1
- package/dist/components/inputs/{react-query-builder/composite-rule-editor/rule-value-editor.d.ts → reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts} +1 -1
- package/dist/components/inputs/{react-query-builder/use-convert-value.js → reactQueryBuilder/hooks/useConvertValue.js} +1 -1
- package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/MuiVirtualizedTable.js +1 -1
- package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/MultipleSelectionDialog.d.ts +1 -1
- package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/MultipleSelectionDialog.js +2 -2
- package/dist/components/overflowableText/index.d.ts +4 -0
- package/dist/components/overflowableText/index.js +4 -0
- package/dist/components/{TopBar → topBar}/TopBar.d.ts +1 -1
- package/dist/components/{TreeViewFinder → treeViewFinder}/TreeViewFinder.js +1 -1
- package/dist/hooks/useConfidentialityWarning.js +1 -1
- package/dist/hooks/{localized-countries-hook.js → useLocalizedCountries.js} +1 -1
- package/dist/hooks/{predefined-properties-hook.d.ts → usePredefinedProperties.d.ts} +1 -1
- package/dist/hooks/{predefined-properties-hook.js → usePredefinedProperties.js} +2 -2
- package/dist/index.d.ts +166 -172
- package/dist/index.js +215 -215
- package/dist/services/{apps-metadata.d.ts → appsMetadata.d.ts} +1 -1
- package/dist/services/directory.d.ts +1 -1
- package/dist/services/explore.d.ts +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/dist/utils/{ElementIcon.d.ts → mapper/elementIcon.d.ts} +1 -1
- package/dist/utils/{ElementIcon.js → mapper/elementIcon.js} +1 -1
- package/dist/utils/{equipment-types-for-predefined-properties-mapper.d.ts → mapper/equipmentTypesForPredefinedPropertiesMapper.d.ts} +1 -1
- package/dist/utils/{EquipmentType.js → types/equipmentType.js} +1 -1
- package/dist/utils/{types.d.ts → types/types.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/components/AuthenticationRouter/index.d.ts +0 -4
- package/dist/components/AuthenticationRouter/index.js +0 -4
- package/dist/components/CardErrorBoundary/index.d.ts +0 -3
- package/dist/components/CardErrorBoundary/index.js +0 -4
- package/dist/components/CheckBoxList/check-box-list.d.ts +0 -4
- package/dist/components/CheckBoxList/index.d.ts +0 -3
- package/dist/components/CheckBoxList/index.js +0 -4
- package/dist/components/ElementSearchDialog/index.d.ts +0 -13
- package/dist/components/ElementSearchDialog/index.js +0 -10
- package/dist/components/ExpandableGroup/index.d.ts +0 -4
- package/dist/components/ExpandableGroup/index.js +0 -4
- package/dist/components/Login/index.d.ts +0 -3
- package/dist/components/Login/index.js +0 -4
- package/dist/components/OverflowableText/index.d.ts +0 -4
- package/dist/components/OverflowableText/index.js +0 -4
- package/dist/components/ReportViewer/filter-button.d.ts +0 -11
- package/dist/components/ReportViewer/filter-button.js +0 -62
- package/dist/components/ReportViewer/index.d.ts +0 -4
- package/dist/components/ReportViewer/index.js +0 -4
- package/dist/components/ReportViewer/log-report-item.d.ts +0 -18
- package/dist/components/ReportViewer/log-report-item.js +0 -54
- package/dist/components/ReportViewer/log-report.d.ts +0 -20
- package/dist/components/ReportViewer/log-report.js +0 -41
- package/dist/components/ReportViewer/log-severity.d.ts +0 -13
- package/dist/components/ReportViewer/log-severity.js +0 -35
- package/dist/components/ReportViewer/log-table.d.ts +0 -11
- package/dist/components/ReportViewer/log-table.js +0 -121
- package/dist/components/ReportViewer/multi-select-list.d.ts +0 -17
- package/dist/components/ReportViewer/multi-select-list.js +0 -27
- package/dist/components/ReportViewer/report-item.d.ts +0 -13
- package/dist/components/ReportViewer/report-item.js +0 -100
- package/dist/components/ReportViewer/report-tree-view-context.d.ts +0 -12
- package/dist/components/ReportViewer/report-tree-view-context.js +0 -8
- package/dist/components/ReportViewer/report-viewer.d.ts +0 -7
- package/dist/components/ReportViewer/report-viewer.js +0 -154
- package/dist/components/ReportViewer/report.type.d.ts +0 -22
- package/dist/components/ReportViewerDialog/index.d.ts +0 -4
- package/dist/components/ReportViewerDialog/index.js +0 -4
- package/dist/components/ReportViewerDialog/report-viewer-dialog.d.ts +0 -9
- package/dist/components/ReportViewerDialog/report-viewer-dialog.js +0 -49
- package/dist/components/SignInCallbackHandler/index.d.ts +0 -3
- package/dist/components/SignInCallbackHandler/index.js +0 -4
- package/dist/components/SilentRenewCallbackHandler/index.d.ts +0 -3
- package/dist/components/SilentRenewCallbackHandler/index.js +0 -4
- package/dist/utils/Metadata.js +0 -1
- /package/dist/assets/{expert-filter-form.css → ExpertFilterForm.css} +0 -0
- /package/dist/components/{Login → authentication}/Login.d.ts +0 -0
- /package/dist/components/{Login → authentication}/Login.js +0 -0
- /package/dist/components/{Login → authentication}/Logout.d.ts +0 -0
- /package/dist/components/{Login → authentication}/Logout.js +0 -0
- /package/dist/components/{SignInCallbackHandler → authentication}/SignInCallbackHandler.d.ts +0 -0
- /package/dist/components/{SignInCallbackHandler → authentication}/SignInCallbackHandler.js +0 -0
- /package/dist/components/{SilentRenewCallbackHandler → authentication}/SilentRenewCallbackHandler.d.ts +0 -0
- /package/dist/components/{SilentRenewCallbackHandler → authentication}/SilentRenewCallbackHandler.js +0 -0
- /package/dist/{utils/UserManagerMock.d.ts → components/authentication/utils/userManagerMock.d.ts} +0 -0
- /package/dist/{utils/UserManagerMock.js → components/authentication/utils/userManagerMock.js} +0 -0
- /package/dist/components/{CardErrorBoundary/card-error-boundary.d.ts → cardErrorBoundary/CardErrorBoundary.d.ts} +0 -0
- /package/dist/components/{CardErrorBoundary/card-error-boundary.js → cardErrorBoundary/CardErrorBoundary.js} +0 -0
- /package/dist/components/{CheckBoxList/check-box-list-type.d.ts → checkBoxList/checkBoxList.type.d.ts} +0 -0
- /package/dist/components/{CheckBoxList/check-box-list-type.js → checkBoxList/checkBoxList.type.js} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.d.ts → customAGGrid/customAggrid.d.ts} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.style.d.ts → customAGGrid/customAggrid.style.d.ts} +0 -0
- /package/dist/components/{CustomAGGrid/custom-aggrid.style.js → customAGGrid/customAggrid.style.js} +0 -0
- /package/dist/components/dialogs/{description-modification-dialog.d.ts → descriptionModificationDialog/DescriptionModificationDialog.d.ts} +0 -0
- /package/dist/components/dialogs/{popup-confirmation-dialog.d.ts → popupConfirmationDialog/PopupConfirmationDialog.d.ts} +0 -0
- /package/dist/components/{ElementSearchDialog/element-search-input.d.ts → elementSearch/elementSearchInput/ElementSearchInput.d.ts} +0 -0
- /package/dist/components/{ElementSearchDialog/element-search-input.js → elementSearch/elementSearchInput/ElementSearchInput.js} +0 -0
- /package/dist/components/{ElementSearchDialog/use-element-search.d.ts → elementSearch/hooks/useElementSearch.d.ts} +0 -0
- /package/dist/components/{ExpandableGroup/expandable-group.d.ts → expandableGroup/ExpandableGroup.d.ts} +0 -0
- /package/dist/components/{ExpandableGroup/expandable-group.js → expandableGroup/ExpandableGroup.js} +0 -0
- /package/dist/components/filter/constants/{filter-constants.d.ts → FilterConstants.d.ts} +0 -0
- /package/dist/components/filter/constants/{filter-constants.js → FilterConstants.js} +0 -0
- /package/dist/components/filter/expert/{expert-filter.type.d.ts → expertFilter.type.d.ts} +0 -0
- /package/dist/components/filter/expert/{expert-filter.type.js → expertFilter.type.js} +0 -0
- /package/dist/components/filter/utils/{filter-api.d.ts → filterApi.d.ts} +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/FlatParameters.d.ts +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/index.d.ts +0 -0
- /package/dist/components/{FlatParameters → flatParameters}/index.js +0 -0
- /package/dist/components/inputs/{select-clearable.d.ts → SelectClearable.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/directory-items-input.d.ts → reactHookForm/DirectoryItemsInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/raw-read-only-input.d.ts → reactHookForm/RawReadOnlyInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/raw-read-only-input.js → reactHookForm/RawReadOnlyInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/bottom-right-buttons.d.ts → reactHookForm/agGridTable/BottomRightButtons.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/custom-ag-grid-table.d.ts → reactHookForm/agGridTable/CustomAgGridTable.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/cell-editors → reactHookForm/agGridTable/cellEditors}/numericEditor.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/cell-editors → reactHookForm/agGridTable/cellEditors}/numericEditor.js +0 -0
- /package/dist/components/inputs/{react-hook-form/ag-grid-table/csv-uploader/csv-uploader.d.ts → reactHookForm/agGridTable/csvUploader/CsvUploader.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/autocomplete-inputs/multiple-autocomplete-input.d.ts → reactHookForm/autocompleteInputs/MultipleAutocompleteInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/boolean-input.d.ts → reactHookForm/booleans/BooleanInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/boolean-input.js → reactHookForm/booleans/BooleanInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/checkbox-input.d.ts → reactHookForm/booleans/CheckboxInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/radio-input.d.ts → reactHookForm/booleans/RadioInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/booleans/switch-input.d.ts → reactHookForm/booleans/SwitchInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/error-input.d.ts → reactHookForm/errorManagement/ErrorInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/error-input.js → reactHookForm/errorManagement/ErrorInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/field-error-alert.d.ts → reactHookForm/errorManagement/FieldErrorAlert.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/field-error-alert.js → reactHookForm/errorManagement/FieldErrorAlert.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/mid-form-error.d.ts → reactHookForm/errorManagement/MidFormError.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/error-management/mid-form-error.js → reactHookForm/errorManagement/MidFormError.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/slider-input.d.ts → reactHookForm/numbers/SliderInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/numbers/utils.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/numbers/utils.js +0 -0
- /package/dist/components/inputs/{react-hook-form/provider/custom-form-provider.d.ts → reactHookForm/provider/CustomFormProvider.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/countries-input.d.ts → reactHookForm/selectInputs/CountriesInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/input-with-popup-confirmation.d.ts → reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/mui-select-input.d.ts → reactHookForm/selectInputs/MuiSelectInput.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/select-inputs/mui-select-input.js → reactHookForm/selectInputs/MuiSelectInput.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/description-field.d.ts → reactHookForm/text/DescriptionField.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/cancel-button.d.ts → reactHookForm/utils/CancelButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/cancel-button.js → reactHookForm/utils/CancelButton.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/field-label.d.ts → reactHookForm/utils/FieldLabel.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/field-label.js → reactHookForm/utils/FieldLabel.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/submit-button.d.ts → reactHookForm/utils/SubmitButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/submit-button.js → reactHookForm/utils/SubmitButton.js} +0 -0
- /package/dist/components/inputs/{react-hook-form/utils/text-field-with-adornment.js → reactHookForm/utils/TextFieldWithAdornment.js} +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/utils/functions.d.ts +0 -0
- /package/dist/components/inputs/{react-hook-form → reactHookForm}/utils/functions.js +0 -0
- /package/dist/components/inputs/{react-query-builder/add-button.d.ts → reactQueryBuilder/AddButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/add-button.js → reactQueryBuilder/AddButton.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/autocomplete-with-favorites.d.ts → reactQueryBuilder/AutocompleteWithFavorites.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/autocomplete-with-favorites.js → reactQueryBuilder/AutocompleteWithFavorites.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/combinator-selector.d.ts → reactQueryBuilder/CombinatorSelector.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/country-value-editor.d.ts → reactQueryBuilder/CountryValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/custom-react-query-builder.d.ts → reactQueryBuilder/CustomReactQueryBuilder.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/element-value-editor.d.ts → reactQueryBuilder/ElementValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/property-value-editor.d.ts → reactQueryBuilder/PropertyValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/remove-button.d.ts → reactQueryBuilder/RemoveButton.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/text-value-editor.d.ts → reactQueryBuilder/TextValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/translated-value-editor.d.ts → reactQueryBuilder/TranslatedValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-editor.d.ts → reactQueryBuilder/ValueEditor.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-selector.d.ts → reactQueryBuilder/ValueSelector.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/value-selector.js → reactQueryBuilder/ValueSelector.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/composite-rule-editor/rule-value-editor.js → reactQueryBuilder/compositeRuleEditor/RuleValueEditor.js} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-convert-value.d.ts → reactQueryBuilder/hooks/useConvertValue.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-valid.d.ts → reactQueryBuilder/hooks/useValid.d.ts} +0 -0
- /package/dist/components/inputs/{react-query-builder/use-valid.js → reactQueryBuilder/hooks/useValid.js} +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/ColumnHeader.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/ColumnHeader.js +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/KeyedColumnsRowIndexer.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/KeyedColumnsRowIndexer.js +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/MuiVirtualizedTable.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/index.d.ts +0 -0
- /package/dist/components/{MuiVirtualizedTable → muiVirtualizedTable}/index.js +0 -0
- /package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/index.d.ts +0 -0
- /package/dist/components/{MultipleSelectionDialog → multipleSelectionDialog}/index.js +0 -0
- /package/dist/components/{OverflowableText/overflowable-text.d.ts → overflowableText/OverflowableText.d.ts} +0 -0
- /package/dist/components/{OverflowableText/overflowable-text.js → overflowableText/OverflowableText.js} +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/SnackbarProvider.d.ts +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/SnackbarProvider.js +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/index.d.ts +0 -0
- /package/dist/components/{SnackbarProvider → snackbarProvider}/index.js +0 -0
- /package/dist/components/{TopBar → topBar}/AboutDialog.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/AboutDialog.js +0 -0
- /package/dist/components/{TopBar → topBar}/GridLogo.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/GridLogo.js +0 -0
- /package/dist/components/{TopBar → topBar}/TopBar.js +0 -0
- /package/dist/components/{TopBar → topBar}/index.d.ts +0 -0
- /package/dist/components/{TopBar → topBar}/index.js +0 -0
- /package/dist/components/{TopBar → topBar/tests}/TopBar.test.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/TreeViewFinder.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/index.d.ts +0 -0
- /package/dist/components/{TreeViewFinder → treeViewFinder}/index.js +0 -0
- /package/dist/hooks/{localized-countries-hook.d.ts → useLocalizedCountries.d.ts} +0 -0
- /package/dist/redux/{authActions.d.ts → actions/authActions.d.ts} +0 -0
- /package/dist/redux/{authActions.js → actions/authActions.js} +0 -0
- /package/dist/services/{apps-metadata.js → appsMetadata.js} +0 -0
- /package/dist/{components/translations/card-error-boundary-en.d.ts → translations/en/cardErrorBoundaryEn.d.ts} +0 -0
- /package/dist/{components/translations/card-error-boundary-en.js → translations/en/cardErrorBoundaryEn.js} +0 -0
- /package/dist/{components/translations/common-button-en.d.ts → translations/en/commonButtonEn.d.ts} +0 -0
- /package/dist/{components/translations/common-button-en.js → translations/en/commonButtonEn.js} +0 -0
- /package/dist/{components/translations/csv-en.d.ts → translations/en/csvEn.d.ts} +0 -0
- /package/dist/{components/translations/csv-en.js → translations/en/csvEn.js} +0 -0
- /package/dist/{components/translations/description-en.d.ts → translations/en/descriptionEn.d.ts} +0 -0
- /package/dist/{components/translations/description-en.js → translations/en/descriptionEn.js} +0 -0
- /package/dist/{components/translations/directory-items-input-en.d.ts → translations/en/directoryItemsInputEn.d.ts} +0 -0
- /package/dist/{components/translations/directory-items-input-en.js → translations/en/directoryItemsInputEn.js} +0 -0
- /package/dist/{components/translations/element-search-en.d.ts → translations/en/elementSearchEn.d.ts} +0 -0
- /package/dist/{components/translations/element-search-en.js → translations/en/elementSearchEn.js} +0 -0
- /package/dist/{components/translations/equipment-search-en.d.ts → translations/en/equipmentSearchEn.d.ts} +0 -0
- /package/dist/{components/translations/equipment-search-en.js → translations/en/equipmentSearchEn.js} +0 -0
- /package/dist/{components/translations/equipments-en.d.ts → translations/en/equipmentsEn.d.ts} +0 -0
- /package/dist/{components/translations/equipments-en.js → translations/en/equipmentsEn.js} +0 -0
- /package/dist/{components/translations/filter-en.d.ts → translations/en/filterEn.d.ts} +0 -0
- /package/dist/{components/translations/filter-en.js → translations/en/filterEn.js} +0 -0
- /package/dist/{components/translations/filter-expert-en.d.ts → translations/en/filterExpertEn.d.ts} +0 -0
- /package/dist/{components/translations/filter-expert-en.js → translations/en/filterExpertEn.js} +0 -0
- /package/dist/{components/translations/flat-parameters-en.d.ts → translations/en/flatParametersEn.d.ts} +0 -0
- /package/dist/{components/translations/flat-parameters-en.js → translations/en/flatParametersEn.js} +0 -0
- /package/dist/{components/translations/inputs-en.d.ts → translations/en/inputsEn.d.ts} +0 -0
- /package/dist/{components/translations/inputs-en.js → translations/en/inputsEn.js} +0 -0
- /package/dist/{components/translations/login-en.d.ts → translations/en/loginEn.d.ts} +0 -0
- /package/dist/{components/translations/login-en.js → translations/en/loginEn.js} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-en.d.ts → translations/en/multipleSelectionDialogEn.d.ts} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-en.js → translations/en/multipleSelectionDialogEn.js} +0 -0
- /package/dist/{components/translations/report-viewer-en.d.ts → translations/en/reportViewerEn.d.ts} +0 -0
- /package/dist/{components/translations/report-viewer-en.js → translations/en/reportViewerEn.js} +0 -0
- /package/dist/{components/translations/table-en.d.ts → translations/en/tableEn.d.ts} +0 -0
- /package/dist/{components/translations/table-en.js → translations/en/tableEn.js} +0 -0
- /package/dist/{components/translations/top-bar-en.d.ts → translations/en/topBarEn.d.ts} +0 -0
- /package/dist/{components/translations/top-bar-en.js → translations/en/topBarEn.js} +0 -0
- /package/dist/{components/translations/treeview-finder-en.d.ts → translations/en/treeviewFinderEn.d.ts} +0 -0
- /package/dist/{components/translations/treeview-finder-en.js → translations/en/treeviewFinderEn.js} +0 -0
- /package/dist/{components/translations/card-error-boundary-fr.d.ts → translations/fr/cardErrorBoundaryFr.d.ts} +0 -0
- /package/dist/{components/translations/card-error-boundary-fr.js → translations/fr/cardErrorBoundaryFr.js} +0 -0
- /package/dist/{components/translations/common-button-fr.d.ts → translations/fr/commonButtonFr.d.ts} +0 -0
- /package/dist/{components/translations/common-button-fr.js → translations/fr/commonButtonFr.js} +0 -0
- /package/dist/{components/translations/csv-fr.d.ts → translations/fr/csvFr.d.ts} +0 -0
- /package/dist/{components/translations/csv-fr.js → translations/fr/csvFr.js} +0 -0
- /package/dist/{components/translations/description-fr.d.ts → translations/fr/descriptionFr.d.ts} +0 -0
- /package/dist/{components/translations/description-fr.js → translations/fr/descriptionFr.js} +0 -0
- /package/dist/{components/translations/directory-items-input-fr.d.ts → translations/fr/directoryItemsInputFr.d.ts} +0 -0
- /package/dist/{components/translations/directory-items-input-fr.js → translations/fr/directoryItemsInputFr.js} +0 -0
- /package/dist/{components/translations/element-search-fr.d.ts → translations/fr/elementSearchFr.d.ts} +0 -0
- /package/dist/{components/translations/element-search-fr.js → translations/fr/elementSearchFr.js} +0 -0
- /package/dist/{components/translations/equipment-search-fr.d.ts → translations/fr/equipmentSearchFr.d.ts} +0 -0
- /package/dist/{components/translations/equipment-search-fr.js → translations/fr/equipmentSearchFr.js} +0 -0
- /package/dist/{components/translations/equipments-fr.d.ts → translations/fr/equipmentsFr.d.ts} +0 -0
- /package/dist/{components/translations/equipments-fr.js → translations/fr/equipmentsFr.js} +0 -0
- /package/dist/{components/translations/filter-expert-fr.d.ts → translations/fr/filterExpertFr.d.ts} +0 -0
- /package/dist/{components/translations/filter-expert-fr.js → translations/fr/filterExpertFr.js} +0 -0
- /package/dist/{components/translations/filter-fr.d.ts → translations/fr/filterFr.d.ts} +0 -0
- /package/dist/{components/translations/filter-fr.js → translations/fr/filterFr.js} +0 -0
- /package/dist/{components/translations/flat-parameters-fr.d.ts → translations/fr/flatParametersFr.d.ts} +0 -0
- /package/dist/{components/translations/flat-parameters-fr.js → translations/fr/flatParametersFr.js} +0 -0
- /package/dist/{components/translations/inputs-fr.d.ts → translations/fr/inputsFr.d.ts} +0 -0
- /package/dist/{components/translations/inputs-fr.js → translations/fr/inputsFr.js} +0 -0
- /package/dist/{components/translations/login-fr.d.ts → translations/fr/loginFr.d.ts} +0 -0
- /package/dist/{components/translations/login-fr.js → translations/fr/loginFr.js} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-fr.d.ts → translations/fr/multipleSelectionDialogFr.d.ts} +0 -0
- /package/dist/{components/translations/multiple-selection-dialog-fr.js → translations/fr/multipleSelectionDialogFr.js} +0 -0
- /package/dist/{components/translations/report-viewer-fr.d.ts → translations/fr/reportViewerFr.d.ts} +0 -0
- /package/dist/{components/translations/report-viewer-fr.js → translations/fr/reportViewerFr.js} +0 -0
- /package/dist/{components/translations/table-fr.d.ts → translations/fr/tableFr.d.ts} +0 -0
- /package/dist/{components/translations/table-fr.js → translations/fr/tableFr.js} +0 -0
- /package/dist/{components/translations/top-bar-fr.d.ts → translations/fr/topBarFr.d.ts} +0 -0
- /package/dist/{components/translations/top-bar-fr.js → translations/fr/topBarFr.js} +0 -0
- /package/dist/{components/translations/treeview-finder-fr.d.ts → translations/fr/treeviewFinderFr.d.ts} +0 -0
- /package/dist/{components/translations/treeview-finder-fr.js → translations/fr/treeviewFinderFr.js} +0 -0
- /package/dist/utils/{FetchStatus.d.ts → constants/fetchStatus.d.ts} +0 -0
- /package/dist/utils/{FetchStatus.js → constants/fetchStatus.js} +0 -0
- /package/dist/utils/{field-constants.d.ts → constants/fieldConstants.d.ts} +0 -0
- /package/dist/utils/{field-constants.js → constants/fieldConstants.js} +0 -0
- /package/dist/utils/{conversion-utils.d.ts → conversionUtils.d.ts} +0 -0
- /package/dist/utils/{conversion-utils.js → conversionUtils.js} +0 -0
- /package/dist/utils/{equipment-types-for-predefined-properties-mapper.js → mapper/equipmentTypesForPredefinedPropertiesMapper.js} +0 -0
- /package/dist/utils/{ElementType.d.ts → types/elementType.d.ts} +0 -0
- /package/dist/utils/{ElementType.js → types/elementType.js} +0 -0
- /package/dist/utils/{EquipmentType.d.ts → types/equipmentType.d.ts} +0 -0
- /package/dist/utils/{equipment-types.d.ts → types/equipmentTypes.d.ts} +0 -0
- /package/dist/utils/{equipment-types.js → types/equipmentTypes.js} +0 -0
- /package/dist/utils/{Metadata.d.ts → types/metadata.d.ts} +0 -0
- /package/dist/{components/ReportViewer/report.type.js → utils/types/metadata.js} +0 -0
- /package/dist/utils/{types.js → types/types.js} +0 -0
- /package/dist/utils/{yup-config.d.ts → yupConfig.d.ts} +0 -0
- /package/dist/utils/{yup-config.js → yupConfig.js} +0 -0
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useContext } from "react";
|
|
3
|
-
import { Box, Typography } from "@mui/material";
|
|
4
|
-
import { styled, alpha } from "@mui/system";
|
|
5
|
-
import { TreeItem } from "@mui/lab";
|
|
6
|
-
import { Label } from "@mui/icons-material";
|
|
7
|
-
import ReportTreeViewContext from "./report-tree-view-context.js";
|
|
8
|
-
const styles = {
|
|
9
|
-
root: (theme) => ({
|
|
10
|
-
color: theme.palette.text.secondary,
|
|
11
|
-
"&:hover > .MuiTreeItem-content": {
|
|
12
|
-
backgroundColor: theme.palette.action.hover
|
|
13
|
-
}
|
|
14
|
-
}),
|
|
15
|
-
content: (theme) => ({
|
|
16
|
-
color: theme.palette.text.secondary,
|
|
17
|
-
borderRadius: theme.spacing(2),
|
|
18
|
-
width: "fit-content",
|
|
19
|
-
paddingRight: theme.spacing(1),
|
|
20
|
-
fontWeight: theme.typography.fontWeightMedium,
|
|
21
|
-
"&.Mui-expanded": {
|
|
22
|
-
fontWeight: theme.typography.fontWeightRegular
|
|
23
|
-
},
|
|
24
|
-
/* &.MuiTreeItem-content.Mui-focused to increase specifity because mui5 has a rule for &.Mui-selected.Mui-focused */
|
|
25
|
-
"&.MuiTreeItem-content.Mui-focused, &.Mui-selected": {
|
|
26
|
-
backgroundColor: `var(--tree-view-bg-color, ${theme.palette.action.selected})`,
|
|
27
|
-
color: "var(--tree-view-color)"
|
|
28
|
-
},
|
|
29
|
-
// same as mui v4 behavior on label text only right after clicking in contrast to after moving away with arrow keys.
|
|
30
|
-
"&.Mui-selected .MuiTreeItem-label:hover, &.Mui-selected.Mui-focused .MuiTreeItem-label": {
|
|
31
|
-
borderRadius: theme.spacing(2),
|
|
32
|
-
backgroundColor: alpha(
|
|
33
|
-
theme.palette.primary.main,
|
|
34
|
-
theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity
|
|
35
|
-
)
|
|
36
|
-
},
|
|
37
|
-
"&.Mui-focused .MuiTreeItem-label, &:hover .MuiTreeItem-label, &Mui-selected .MuiTreeItem-label": {
|
|
38
|
-
backgroundColor: "transparent"
|
|
39
|
-
}
|
|
40
|
-
}),
|
|
41
|
-
group: (theme) => ({
|
|
42
|
-
marginLeft: "10px",
|
|
43
|
-
"& .MuiTreeItem-content": {
|
|
44
|
-
paddingLeft: theme.spacing(2)
|
|
45
|
-
}
|
|
46
|
-
}),
|
|
47
|
-
expanded: {},
|
|
48
|
-
selected: {},
|
|
49
|
-
label: {
|
|
50
|
-
fontWeight: "inherit",
|
|
51
|
-
color: "inherit"
|
|
52
|
-
},
|
|
53
|
-
labelRoot: (theme) => ({
|
|
54
|
-
display: "flex",
|
|
55
|
-
alignItems: "center",
|
|
56
|
-
padding: theme.spacing(0.5, 0)
|
|
57
|
-
}),
|
|
58
|
-
labelRootHighlighted: (theme) => ({
|
|
59
|
-
display: "flex",
|
|
60
|
-
alignItems: "center",
|
|
61
|
-
padding: theme.spacing(0.5, 0),
|
|
62
|
-
backgroundColor: theme.palette.action.selected
|
|
63
|
-
}),
|
|
64
|
-
labelIcon: (theme) => ({
|
|
65
|
-
marginRight: theme.spacing(1)
|
|
66
|
-
}),
|
|
67
|
-
labelText: (theme) => ({
|
|
68
|
-
fontWeight: "inherit",
|
|
69
|
-
marginRight: theme.spacing(2)
|
|
70
|
-
})
|
|
71
|
-
};
|
|
72
|
-
function ReportItem(props) {
|
|
73
|
-
const { nodeId } = props;
|
|
74
|
-
const { isHighlighted } = useContext(ReportTreeViewContext);
|
|
75
|
-
const highlighted = isHighlighted ? isHighlighted(nodeId) : false;
|
|
76
|
-
const { labelText, labelIconColor, className, ...other } = props;
|
|
77
|
-
return /* @__PURE__ */ jsx(
|
|
78
|
-
TreeItem,
|
|
79
|
-
{
|
|
80
|
-
className,
|
|
81
|
-
sx: {
|
|
82
|
-
"&": styles.root,
|
|
83
|
-
"& .MuiTreeItem-content": styles.content,
|
|
84
|
-
"& .Mui-expanded": styles.expanded,
|
|
85
|
-
"& .Mui-selected": styles.selected,
|
|
86
|
-
"& .MuiTreeItem-group": styles.group,
|
|
87
|
-
"& .MuiTreeItem-label": styles.label
|
|
88
|
-
},
|
|
89
|
-
label: /* @__PURE__ */ jsxs(Box, { sx: highlighted ? styles.labelRootHighlighted : styles.labelRoot, children: [
|
|
90
|
-
/* @__PURE__ */ jsx(Label, { htmlColor: labelIconColor, sx: styles.labelIcon }),
|
|
91
|
-
/* @__PURE__ */ jsx(Typography, { variant: "body2", sx: styles.labelText, children: labelText })
|
|
92
|
-
] }),
|
|
93
|
-
...other
|
|
94
|
-
}
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
const ReportItem$1 = styled(ReportItem)({});
|
|
98
|
-
export {
|
|
99
|
-
ReportItem$1 as default
|
|
100
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2022, RTE (http://www.rte-france.com)
|
|
3
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
-
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
export interface ReportTreeViewContextProps {
|
|
9
|
-
isHighlighted?: (nodeId: string) => boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const ReportTreeViewContext: import('react').Context<ReportTreeViewContextProps>;
|
|
12
|
-
export default ReportTreeViewContext;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Report } from './report.type';
|
|
2
|
-
|
|
3
|
-
export interface ReportViewerProps {
|
|
4
|
-
jsonReport: Report;
|
|
5
|
-
maxSubReports?: number;
|
|
6
|
-
}
|
|
7
|
-
export default function ReportViewer({ jsonReport, maxSubReports }: ReportViewerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useRef, useMemo, useCallback, useEffect } from "react";
|
|
3
|
-
import { ArrowDropDown, ArrowRight } from "@mui/icons-material";
|
|
4
|
-
import { Grid } from "@mui/material";
|
|
5
|
-
import { TreeView } from "@mui/x-tree-view";
|
|
6
|
-
import ReportItem from "./report-item.js";
|
|
7
|
-
import LogReport from "./log-report.js";
|
|
8
|
-
import LogTable from "./log-table.js";
|
|
9
|
-
import ReportTreeViewContext from "./report-tree-view-context.js";
|
|
10
|
-
import { LogSeverities } from "./log-severity.js";
|
|
11
|
-
const MAX_SUB_REPORTS = 500;
|
|
12
|
-
const styles = {
|
|
13
|
-
treeView: {
|
|
14
|
-
height: "100%",
|
|
15
|
-
overflow: "scroll"
|
|
16
|
-
},
|
|
17
|
-
treeItem: {
|
|
18
|
-
whiteSpace: "nowrap"
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
function ReportViewer({ jsonReport, maxSubReports = MAX_SUB_REPORTS }) {
|
|
22
|
-
const [selectedNode, setSelectedNode] = useState(null);
|
|
23
|
-
const [expandedNodes, setExpandedNodes] = useState([]);
|
|
24
|
-
const [logs, setLogs] = useState([]);
|
|
25
|
-
const [highlightedReportId, setHighlightedReportId] = useState();
|
|
26
|
-
const rootReport = useRef(null);
|
|
27
|
-
const allReports = useRef({});
|
|
28
|
-
const treeView = useRef(null);
|
|
29
|
-
const defaultSeverityFilter = useMemo(() => {
|
|
30
|
-
const filterConfig = {};
|
|
31
|
-
Object.values(LogSeverities).forEach((severity) => {
|
|
32
|
-
filterConfig[severity.name] = true;
|
|
33
|
-
});
|
|
34
|
-
return filterConfig;
|
|
35
|
-
}, []);
|
|
36
|
-
const [selectedSeverity, setSelectedSeverity] = useState(defaultSeverityFilter);
|
|
37
|
-
const createReporterItem = useCallback(
|
|
38
|
-
(logReport) => {
|
|
39
|
-
allReports.current[logReport.getId()] = logReport;
|
|
40
|
-
if (logReport.getSubReports().length > maxSubReports) {
|
|
41
|
-
console.warn(
|
|
42
|
-
"The number (%s) being greater than %s only the first %s subreports will be displayed",
|
|
43
|
-
logReport.getSubReports().length,
|
|
44
|
-
maxSubReports,
|
|
45
|
-
maxSubReports
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
return /* @__PURE__ */ jsx(
|
|
49
|
-
ReportItem,
|
|
50
|
-
{
|
|
51
|
-
labelText: logReport.getTitle(),
|
|
52
|
-
labelIconColor: logReport.getHighestSeverity().colorName,
|
|
53
|
-
sx: styles.treeItem,
|
|
54
|
-
nodeId: logReport.getId().toString(),
|
|
55
|
-
children: logReport.getSubReports().slice(0, maxSubReports).map((value) => createReporterItem(value))
|
|
56
|
-
},
|
|
57
|
-
logReport.getId().toString()
|
|
58
|
-
);
|
|
59
|
-
},
|
|
60
|
-
[maxSubReports]
|
|
61
|
-
);
|
|
62
|
-
useEffect(() => {
|
|
63
|
-
rootReport.current = new LogReport(jsonReport);
|
|
64
|
-
const rootId = rootReport.current.getId().toString();
|
|
65
|
-
treeView.current = createReporterItem(rootReport.current);
|
|
66
|
-
setSelectedNode(rootId);
|
|
67
|
-
setExpandedNodes([rootId]);
|
|
68
|
-
setLogs(rootReport.current.getAllLogs());
|
|
69
|
-
}, [jsonReport, createReporterItem]);
|
|
70
|
-
const handleToggleNode = (event, nodeIds) => {
|
|
71
|
-
event.persist();
|
|
72
|
-
const iconClicked = event.target.closest(".MuiTreeItem-iconContainer");
|
|
73
|
-
if (iconClicked) {
|
|
74
|
-
setExpandedNodes(nodeIds);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
const selectNode = (nodeId) => {
|
|
78
|
-
if (selectedNode !== nodeId) {
|
|
79
|
-
setSelectedNode(nodeId);
|
|
80
|
-
setLogs(allReports.current[nodeId].getAllLogs());
|
|
81
|
-
setHighlightedReportId(null);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
const handleSelectNode = (event, nodeId) => {
|
|
85
|
-
selectNode(nodeId);
|
|
86
|
-
};
|
|
87
|
-
const isHighlighted = useMemo(
|
|
88
|
-
() => ({
|
|
89
|
-
isHighlighted: (reportId) => highlightedReportId === reportId
|
|
90
|
-
}),
|
|
91
|
-
[highlightedReportId]
|
|
92
|
-
);
|
|
93
|
-
const onRowClick = (data) => {
|
|
94
|
-
setExpandedNodes((previouslyExpandedNodes) => {
|
|
95
|
-
var _a;
|
|
96
|
-
const nodesToExpand = [];
|
|
97
|
-
let { reportId } = data;
|
|
98
|
-
while ((_a = allReports.current[reportId]) == null ? void 0 : _a.parentReportId) {
|
|
99
|
-
const { parentReportId } = allReports.current[reportId];
|
|
100
|
-
if (parentReportId !== void 0) {
|
|
101
|
-
if (!previouslyExpandedNodes.includes(parentReportId)) {
|
|
102
|
-
nodesToExpand.push(parentReportId);
|
|
103
|
-
}
|
|
104
|
-
reportId = parentReportId;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
if (nodesToExpand.length > 0) {
|
|
108
|
-
return nodesToExpand.concat(previouslyExpandedNodes);
|
|
109
|
-
}
|
|
110
|
-
return previouslyExpandedNodes;
|
|
111
|
-
});
|
|
112
|
-
setHighlightedReportId(data.reportId);
|
|
113
|
-
};
|
|
114
|
-
return rootReport.current && /* @__PURE__ */ jsxs(Grid, { container: true, style: { height: "100%" }, children: [
|
|
115
|
-
/* @__PURE__ */ jsx(
|
|
116
|
-
Grid,
|
|
117
|
-
{
|
|
118
|
-
item: true,
|
|
119
|
-
xs: 12,
|
|
120
|
-
sm: 3,
|
|
121
|
-
style: {
|
|
122
|
-
height: "95%",
|
|
123
|
-
borderRight: "1px solid rgba(81, 81, 81, 1)"
|
|
124
|
-
},
|
|
125
|
-
children: /* @__PURE__ */ jsx(ReportTreeViewContext.Provider, { value: isHighlighted, children: /* @__PURE__ */ jsx(
|
|
126
|
-
TreeView,
|
|
127
|
-
{
|
|
128
|
-
sx: styles.treeView,
|
|
129
|
-
defaultCollapseIcon: /* @__PURE__ */ jsx(ArrowDropDown, {}),
|
|
130
|
-
defaultExpandIcon: /* @__PURE__ */ jsx(ArrowRight, {}),
|
|
131
|
-
defaultEndIcon: /* @__PURE__ */ jsx("div", { style: { width: 24 } }),
|
|
132
|
-
onNodeToggle: handleToggleNode,
|
|
133
|
-
onNodeSelect: handleSelectNode,
|
|
134
|
-
selected: selectedNode,
|
|
135
|
-
expanded: expandedNodes,
|
|
136
|
-
children: treeView.current
|
|
137
|
-
}
|
|
138
|
-
) })
|
|
139
|
-
}
|
|
140
|
-
),
|
|
141
|
-
/* @__PURE__ */ jsx(Grid, { item: true, xs: 12, sm: 9, style: { height: "95%" }, children: /* @__PURE__ */ jsx(
|
|
142
|
-
LogTable,
|
|
143
|
-
{
|
|
144
|
-
logs,
|
|
145
|
-
onRowClick,
|
|
146
|
-
selectedSeverity,
|
|
147
|
-
setSelectedSeverity
|
|
148
|
-
}
|
|
149
|
-
) })
|
|
150
|
-
] });
|
|
151
|
-
}
|
|
152
|
-
export {
|
|
153
|
-
ReportViewer as default
|
|
154
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2024, RTE (http://www.rte-france.com)
|
|
3
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
-
*/
|
|
7
|
-
export interface Report {
|
|
8
|
-
taskKey: string;
|
|
9
|
-
defaultName: string;
|
|
10
|
-
taskValues: Record<string, ReportValue>;
|
|
11
|
-
subReporters: Report[];
|
|
12
|
-
reports: SubReport[];
|
|
13
|
-
}
|
|
14
|
-
export interface SubReport {
|
|
15
|
-
reportKey: string;
|
|
16
|
-
defaultMessage: string;
|
|
17
|
-
values: Record<string, ReportValue>;
|
|
18
|
-
}
|
|
19
|
-
export interface ReportValue {
|
|
20
|
-
value: string | number;
|
|
21
|
-
type: unknown;
|
|
22
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Report } from '../ReportViewer/report.type';
|
|
2
|
-
|
|
3
|
-
export interface ReportViewerDialogProps {
|
|
4
|
-
title: string;
|
|
5
|
-
open: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
jsonReport: Report;
|
|
8
|
-
}
|
|
9
|
-
export default function ReportViewerDialog(props: ReportViewerDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
import { Dialog, DialogTitle, DialogContent, DialogActions, Button } from "@mui/material";
|
|
4
|
-
import { FullscreenExit, Fullscreen } from "@mui/icons-material";
|
|
5
|
-
import { FormattedMessage } from "react-intl";
|
|
6
|
-
import ReportViewer from "../ReportViewer/report-viewer.js";
|
|
7
|
-
const styles = {
|
|
8
|
-
fullScreenIcon: {
|
|
9
|
-
cursor: "pointer"
|
|
10
|
-
},
|
|
11
|
-
paperFullWidth: {
|
|
12
|
-
height: "100%"
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
function ReportViewerDialog(props) {
|
|
16
|
-
const { title, open, onClose, jsonReport } = props;
|
|
17
|
-
const [fullScreen, setFullScreen] = useState(false);
|
|
18
|
-
const showFullScreen = () => {
|
|
19
|
-
setFullScreen(true);
|
|
20
|
-
};
|
|
21
|
-
const hideFullScreen = () => {
|
|
22
|
-
setFullScreen(false);
|
|
23
|
-
};
|
|
24
|
-
return /* @__PURE__ */ jsxs(
|
|
25
|
-
Dialog,
|
|
26
|
-
{
|
|
27
|
-
open,
|
|
28
|
-
onClose,
|
|
29
|
-
fullScreen,
|
|
30
|
-
"aria-labelledby": "dialog-title-report",
|
|
31
|
-
fullWidth: true,
|
|
32
|
-
maxWidth: "lg",
|
|
33
|
-
sx: {
|
|
34
|
-
"& .MuiDialog-paperFullWidth": styles.paperFullWidth
|
|
35
|
-
},
|
|
36
|
-
children: [
|
|
37
|
-
/* @__PURE__ */ jsx(DialogTitle, { children: title }),
|
|
38
|
-
/* @__PURE__ */ jsx(DialogContent, { dividers: true, children: /* @__PURE__ */ jsx(ReportViewer, { jsonReport }) }),
|
|
39
|
-
/* @__PURE__ */ jsxs(DialogActions, { children: [
|
|
40
|
-
fullScreen ? /* @__PURE__ */ jsx(FullscreenExit, { onClick: hideFullScreen, sx: styles.fullScreenIcon }) : /* @__PURE__ */ jsx(Fullscreen, { onClick: showFullScreen, sx: styles.fullScreenIcon }),
|
|
41
|
-
/* @__PURE__ */ jsx(Button, { onClick: () => onClose(), variant: "text", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "report_viewer/close" }) })
|
|
42
|
-
] })
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
export {
|
|
48
|
-
ReportViewerDialog as default
|
|
49
|
-
};
|
package/dist/utils/Metadata.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{SignInCallbackHandler → authentication}/SignInCallbackHandler.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{SilentRenewCallbackHandler → authentication}/SilentRenewCallbackHandler.js
RENAMED
|
File without changes
|
/package/dist/{utils/UserManagerMock.d.ts → components/authentication/utils/userManagerMock.d.ts}
RENAMED
|
File without changes
|
/package/dist/{utils/UserManagerMock.js → components/authentication/utils/userManagerMock.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{CheckBoxList/check-box-list-type.js → checkBoxList/checkBoxList.type.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{CustomAGGrid/custom-aggrid.style.js → customAGGrid/customAggrid.style.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/{ExpandableGroup/expandable-group.js → expandableGroup/ExpandableGroup.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/inputs/{react-query-builder/add-button.js → reactQueryBuilder/AddButton.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|