@gridsuite/commons-ui 0.64.6 → 0.65.1
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} +7 -5
- 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} +3 -3
- 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} +4 -4
- 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} +3 -3
- 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/check-box-list-type.d.ts → checkBoxList/checkBoxList.type.d.ts} +3 -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} +2 -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.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,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Settings, Article, NoteAlt, OfflineBolt, Photo, PhotoLibrary } from "@mui/icons-material";
|
|
3
|
-
import { ElementType } from "
|
|
3
|
+
import { ElementType } from "../types/elementType.js";
|
|
4
4
|
function getFileIcon(type, style) {
|
|
5
5
|
switch (type) {
|
|
6
6
|
case ElementType.STUDY:
|
|
@@ -13,6 +13,7 @@ function getFileIcon(type, style) {
|
|
|
13
13
|
return /* @__PURE__ */ jsx(NoteAlt, { sx: style });
|
|
14
14
|
case ElementType.FILTER:
|
|
15
15
|
return /* @__PURE__ */ jsx(Article, { sx: style });
|
|
16
|
+
case ElementType.PARAMETERS:
|
|
16
17
|
case ElementType.VOLTAGE_INIT_PARAMETERS:
|
|
17
18
|
case ElementType.SECURITY_ANALYSIS_PARAMETERS:
|
|
18
19
|
case ElementType.LOADFLOW_PARAMETERS:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, ShuntCompensator, Substation, SVC, ThreeWindingTransfo, TwoWindingTransfo, VoltageLevel, VSC } from './
|
|
2
|
-
import { ElementType } from './
|
|
1
|
+
import { Battery, BusBar, DanglingLine, Generator, Hvdc, LCC, Line, Load, ShuntCompensator, Substation, SVC, ThreeWindingTransfo, TwoWindingTransfo, VoltageLevel, VSC } from './equipmentTypes';
|
|
2
|
+
import { ElementType } from './elementType';
|
|
3
3
|
import { UUID } from 'crypto';
|
|
4
4
|
|
|
5
5
|
export type Input = string | number;
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { CheckboxListProps } from './check-box-list-type';
|
|
2
|
-
|
|
3
|
-
export declare function CheckboxList<T>({ isDndDragAndDropActive, onDragStart, onDragEnd, isDragDisable, ...props }: CheckboxListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default CheckboxList;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2021, RTE (http://www.rte-france.com)
|
|
3
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
-
*/
|
|
7
|
-
export { default as ElementSearchDialog } from './element-search-dialog';
|
|
8
|
-
export type { ElementSearchDialogProps } from './element-search-dialog';
|
|
9
|
-
export { default as TagRenderer } from './tag-renderer';
|
|
10
|
-
export type { TagRendererProps } from './tag-renderer';
|
|
11
|
-
export { ElementSearchInput } from './element-search-input';
|
|
12
|
-
export { default as useElementSearch } from './use-element-search';
|
|
13
|
-
export type { Paginated } from './use-element-search';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ElementSearchDialog } from "./element-search-dialog.js";
|
|
2
|
-
import { default as default2 } from "./tag-renderer.js";
|
|
3
|
-
import { ElementSearchInput } from "./element-search-input.js";
|
|
4
|
-
import { default as default3 } from "./use-element-search.js";
|
|
5
|
-
export {
|
|
6
|
-
ElementSearchDialog,
|
|
7
|
-
ElementSearchInput,
|
|
8
|
-
default2 as TagRenderer,
|
|
9
|
-
default3 as useElementSearch
|
|
10
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface FilterButtonProps {
|
|
2
|
-
selectedItems: Record<string, boolean>;
|
|
3
|
-
setSelectedItems: (func: (items: Record<string, boolean>) => Record<string, boolean>) => void;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* FilterButton wraps a MultiSelectList with a button which has a visual indication to indicate when the user alters the default state of the list
|
|
7
|
-
*
|
|
8
|
-
* @param {Object} selectedItems - It serves as the model and data of the Component each entry must be formatted as a pair of string and boolean. Each key will be displayed and the corresponding boolean is updated in function of its checkbox status
|
|
9
|
-
* @param {Function} setSelectedItems - Setter needed to update the list underlying data
|
|
10
|
-
*/
|
|
11
|
-
export declare function FilterButton({ selectedItems, setSelectedItems }: FilterButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useMemo } from "react";
|
|
3
|
-
import { Box, IconButton } from "@mui/material";
|
|
4
|
-
import { Menu } from "@mui/icons-material";
|
|
5
|
-
import { MultiSelectList } from "./multi-select-list.js";
|
|
6
|
-
const styles = {
|
|
7
|
-
notificationDot: {
|
|
8
|
-
height: "6px",
|
|
9
|
-
width: "6px",
|
|
10
|
-
backgroundColor: "#cc70a0",
|
|
11
|
-
borderRadius: "50%",
|
|
12
|
-
position: "absolute",
|
|
13
|
-
top: "5px",
|
|
14
|
-
left: "23px"
|
|
15
|
-
},
|
|
16
|
-
container: {
|
|
17
|
-
position: "relative"
|
|
18
|
-
},
|
|
19
|
-
icon: {
|
|
20
|
-
width: "0.7em",
|
|
21
|
-
height: "0.7em"
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
function FilterButton({ selectedItems, setSelectedItems }) {
|
|
25
|
-
const [initialState] = useState(selectedItems);
|
|
26
|
-
const [anchorEl, setAnchorEl] = useState(null);
|
|
27
|
-
const handleClick = (event) => {
|
|
28
|
-
setAnchorEl(event.currentTarget);
|
|
29
|
-
};
|
|
30
|
-
const handleClose = () => {
|
|
31
|
-
setAnchorEl(null);
|
|
32
|
-
};
|
|
33
|
-
const handleChange = (event) => {
|
|
34
|
-
setSelectedItems((previousSelection) => {
|
|
35
|
-
return {
|
|
36
|
-
...previousSelection,
|
|
37
|
-
[event.target.name]: !selectedItems[event.target.name]
|
|
38
|
-
};
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
const isInitialStateModified = useMemo(() => {
|
|
42
|
-
return Object.keys(selectedItems).some((key) => initialState[key] !== selectedItems[key]);
|
|
43
|
-
}, [initialState, selectedItems]);
|
|
44
|
-
return /* @__PURE__ */ jsxs(Box, { sx: styles.container, children: [
|
|
45
|
-
/* @__PURE__ */ jsxs(IconButton, { onClick: handleClick, children: [
|
|
46
|
-
/* @__PURE__ */ jsx(Menu, { sx: styles.icon }),
|
|
47
|
-
isInitialStateModified && /* @__PURE__ */ jsx(Box, { sx: styles.notificationDot })
|
|
48
|
-
] }),
|
|
49
|
-
/* @__PURE__ */ jsx(
|
|
50
|
-
MultiSelectList,
|
|
51
|
-
{
|
|
52
|
-
selectedItems,
|
|
53
|
-
handleChange,
|
|
54
|
-
handleClose,
|
|
55
|
-
anchor: anchorEl
|
|
56
|
-
}
|
|
57
|
-
)
|
|
58
|
-
] });
|
|
59
|
-
}
|
|
60
|
-
export {
|
|
61
|
-
FilterButton
|
|
62
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { LogSeverity } from './log-severity';
|
|
2
|
-
import { ReportValue, SubReport } from './report.type';
|
|
3
|
-
|
|
4
|
-
export default class LogReportItem {
|
|
5
|
-
key: string;
|
|
6
|
-
reportId: string;
|
|
7
|
-
severity: LogSeverity;
|
|
8
|
-
log: string;
|
|
9
|
-
static resolveTemplateMessage(templateMessage: string, templateValues: Record<string, ReportValue>): string;
|
|
10
|
-
constructor(jsonReport: SubReport, reportId: string);
|
|
11
|
-
getLog(): string;
|
|
12
|
-
getReportId(): string;
|
|
13
|
-
getSeverity(): LogSeverity;
|
|
14
|
-
getSeverityName(): "UNKNOWN" | "INFO" | "WARN" | "ERROR" | "FATAL";
|
|
15
|
-
getColorName(): string;
|
|
16
|
-
getColorHexCode(): string;
|
|
17
|
-
static initSeverity(jsonSeverity: ReportValue): LogSeverity;
|
|
18
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { LogSeverities } from "./log-severity.js";
|
|
2
|
-
class LogReportItem {
|
|
3
|
-
static resolveTemplateMessage(templateMessage, templateValues) {
|
|
4
|
-
const templateVars = {};
|
|
5
|
-
Object.entries(templateValues).forEach(([key, value]) => {
|
|
6
|
-
templateVars[key] = value.value;
|
|
7
|
-
});
|
|
8
|
-
return templateMessage.replace(/\${([^{}]*)}/g, function resolveTemplate(a, b) {
|
|
9
|
-
const r = templateVars[b];
|
|
10
|
-
return typeof r === "string" || typeof r === "number" ? r.toString() : a;
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
constructor(jsonReport, reportId) {
|
|
14
|
-
this.key = jsonReport.reportKey;
|
|
15
|
-
this.log = LogReportItem.resolveTemplateMessage(jsonReport.defaultMessage, jsonReport.values);
|
|
16
|
-
this.reportId = reportId;
|
|
17
|
-
this.severity = LogReportItem.initSeverity(jsonReport.values.reportSeverity);
|
|
18
|
-
}
|
|
19
|
-
getLog() {
|
|
20
|
-
return this.log;
|
|
21
|
-
}
|
|
22
|
-
getReportId() {
|
|
23
|
-
return this.reportId;
|
|
24
|
-
}
|
|
25
|
-
getSeverity() {
|
|
26
|
-
return this.severity;
|
|
27
|
-
}
|
|
28
|
-
getSeverityName() {
|
|
29
|
-
return this.severity.name;
|
|
30
|
-
}
|
|
31
|
-
getColorName() {
|
|
32
|
-
return this.severity.colorName;
|
|
33
|
-
}
|
|
34
|
-
getColorHexCode() {
|
|
35
|
-
return this.severity.colorHexCode;
|
|
36
|
-
}
|
|
37
|
-
static initSeverity(jsonSeverity) {
|
|
38
|
-
let severity = LogSeverities.UNKNOWN;
|
|
39
|
-
if (!jsonSeverity) {
|
|
40
|
-
return severity;
|
|
41
|
-
}
|
|
42
|
-
Object.values(LogSeverities).some((value) => {
|
|
43
|
-
const severityFound = jsonSeverity.value.includes(value.name);
|
|
44
|
-
if (severityFound) {
|
|
45
|
-
severity = value;
|
|
46
|
-
}
|
|
47
|
-
return severityFound;
|
|
48
|
-
});
|
|
49
|
-
return severity;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
LogReportItem as default
|
|
54
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { LogSeverity } from './log-severity';
|
|
2
|
-
import { Report } from './report.type';
|
|
3
|
-
import { default as LogReportItem } from './log-report-item';
|
|
4
|
-
|
|
5
|
-
export default class LogReport {
|
|
6
|
-
id: string;
|
|
7
|
-
key: string;
|
|
8
|
-
title: string;
|
|
9
|
-
subReports: LogReport[];
|
|
10
|
-
logs: LogReportItem[];
|
|
11
|
-
parentReportId?: string;
|
|
12
|
-
constructor(jsonReporter: Report, parentReportId?: string);
|
|
13
|
-
getId(): string;
|
|
14
|
-
getTitle(): string;
|
|
15
|
-
getSubReports(): LogReport[];
|
|
16
|
-
getLogs(): LogReportItem[];
|
|
17
|
-
getAllLogs(): LogReportItem[];
|
|
18
|
-
init(jsonReporter: Report): void;
|
|
19
|
-
getHighestSeverity(currentSeverity?: LogSeverity): LogSeverity;
|
|
20
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { v4 } from "uuid";
|
|
2
|
-
import LogReportItem from "./log-report-item.js";
|
|
3
|
-
import { LogSeverities } from "./log-severity.js";
|
|
4
|
-
class LogReport {
|
|
5
|
-
constructor(jsonReporter, parentReportId) {
|
|
6
|
-
this.id = v4();
|
|
7
|
-
this.key = jsonReporter.taskKey;
|
|
8
|
-
this.title = LogReportItem.resolveTemplateMessage(jsonReporter.defaultName, jsonReporter.taskValues);
|
|
9
|
-
this.subReports = [];
|
|
10
|
-
this.logs = [];
|
|
11
|
-
this.parentReportId = parentReportId;
|
|
12
|
-
this.init(jsonReporter);
|
|
13
|
-
}
|
|
14
|
-
getId() {
|
|
15
|
-
return this.id;
|
|
16
|
-
}
|
|
17
|
-
getTitle() {
|
|
18
|
-
return this.title;
|
|
19
|
-
}
|
|
20
|
-
getSubReports() {
|
|
21
|
-
return this.subReports;
|
|
22
|
-
}
|
|
23
|
-
getLogs() {
|
|
24
|
-
return this.logs;
|
|
25
|
-
}
|
|
26
|
-
getAllLogs() {
|
|
27
|
-
return this.getLogs().concat(this.getSubReports().flatMap((r) => r.getAllLogs()));
|
|
28
|
-
}
|
|
29
|
-
init(jsonReporter) {
|
|
30
|
-
jsonReporter.subReporters.map((value) => this.subReports.push(new LogReport(value, this.id)));
|
|
31
|
-
jsonReporter.reports.map((value) => this.logs.push(new LogReportItem(value, this.id)));
|
|
32
|
-
}
|
|
33
|
-
getHighestSeverity(currentSeverity = LogSeverities.UNKNOWN) {
|
|
34
|
-
const reduceFct = (p, c) => p.level < c.level ? c : p;
|
|
35
|
-
const highestSeverity = this.getLogs().map((r) => r.getSeverity()).reduce(reduceFct, currentSeverity);
|
|
36
|
-
return this.getSubReports().map((r) => r.getHighestSeverity(highestSeverity)).reduce(reduceFct, highestSeverity);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
LogReport as default
|
|
41
|
-
};
|
|
@@ -1,13 +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 type LogSeverity = {
|
|
8
|
-
name: 'UNKNOWN' | 'INFO' | 'WARN' | 'ERROR' | 'FATAL';
|
|
9
|
-
level: number;
|
|
10
|
-
colorName: string;
|
|
11
|
-
colorHexCode: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const LogSeverities: Record<string, LogSeverity>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
const LogSeverities = {
|
|
2
|
-
UNKNOWN: {
|
|
3
|
-
name: "UNKNOWN",
|
|
4
|
-
level: 0,
|
|
5
|
-
colorName: "cornflowerblue",
|
|
6
|
-
colorHexCode: "#6495ED"
|
|
7
|
-
},
|
|
8
|
-
INFO: {
|
|
9
|
-
name: "INFO",
|
|
10
|
-
level: 1,
|
|
11
|
-
colorName: "mediumseagreen",
|
|
12
|
-
colorHexCode: "#3CB371"
|
|
13
|
-
},
|
|
14
|
-
WARN: {
|
|
15
|
-
name: "WARN",
|
|
16
|
-
level: 2,
|
|
17
|
-
colorName: "orange",
|
|
18
|
-
colorHexCode: "#FFA500"
|
|
19
|
-
},
|
|
20
|
-
ERROR: {
|
|
21
|
-
name: "ERROR",
|
|
22
|
-
level: 3,
|
|
23
|
-
colorName: "crimson",
|
|
24
|
-
colorHexCode: "#DC143C"
|
|
25
|
-
},
|
|
26
|
-
FATAL: {
|
|
27
|
-
name: "FATAL",
|
|
28
|
-
level: 4,
|
|
29
|
-
colorName: "mediumorchid",
|
|
30
|
-
colorHexCode: "#BA55D3"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
LogSeverities
|
|
35
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as LogReportItem } from './log-report-item';
|
|
2
|
-
|
|
3
|
-
export interface LogTableProps {
|
|
4
|
-
logs: LogReportItem[];
|
|
5
|
-
onRowClick: (data: any) => void;
|
|
6
|
-
selectedSeverity: Record<string, boolean>;
|
|
7
|
-
setSelectedSeverity: (func: (items: Record<string, boolean>) => Record<string, boolean>) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function LogTable({ logs, onRowClick, selectedSeverity, setSelectedSeverity }: LogTableProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare const _default: import('react').MemoExoticComponent<typeof LogTable>;
|
|
11
|
-
export default _default;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useState, useEffect, useCallback } from "react";
|
|
3
|
-
import { useIntl } from "react-intl";
|
|
4
|
-
import { useTheme, TableCell } from "@mui/material";
|
|
5
|
-
import { styled } from "@mui/system";
|
|
6
|
-
import MuiVirtualizedTable from "../MuiVirtualizedTable/MuiVirtualizedTable.js";
|
|
7
|
-
import { FilterButton } from "./filter-button.js";
|
|
8
|
-
const SEVERITY_COLUMN_FIXED_WIDTH = 115;
|
|
9
|
-
const styles = {
|
|
10
|
-
flexContainer: {
|
|
11
|
-
display: "flex",
|
|
12
|
-
alignItems: "center",
|
|
13
|
-
boxSizing: "border-box"
|
|
14
|
-
},
|
|
15
|
-
table: (theme) => ({
|
|
16
|
-
// temporary right-to-left patch, waiting for
|
|
17
|
-
// https://github.com/bvaughn/react-virtualized/issues/454
|
|
18
|
-
"& .ReactVirtualized__Table__headerRow": {
|
|
19
|
-
flip: false,
|
|
20
|
-
paddingRight: theme.direction === "rtl" ? "0 !important" : void 0
|
|
21
|
-
}
|
|
22
|
-
}),
|
|
23
|
-
header: { variant: "header" }
|
|
24
|
-
};
|
|
25
|
-
const VirtualizedTable = styled(MuiVirtualizedTable)(styles);
|
|
26
|
-
function LogTable({ logs, onRowClick, selectedSeverity, setSelectedSeverity }) {
|
|
27
|
-
const intl = useIntl();
|
|
28
|
-
const theme = useTheme();
|
|
29
|
-
const [selectedRowIndex, setSelectedRowIndex] = useState(-1);
|
|
30
|
-
const severityCellRender = (cellData) => {
|
|
31
|
-
return /* @__PURE__ */ jsx(
|
|
32
|
-
TableCell,
|
|
33
|
-
{
|
|
34
|
-
component: "div",
|
|
35
|
-
variant: "body",
|
|
36
|
-
style: {
|
|
37
|
-
display: "flex",
|
|
38
|
-
flex: "1",
|
|
39
|
-
backgroundColor: cellData.rowData.backgroundColor
|
|
40
|
-
},
|
|
41
|
-
align: "center",
|
|
42
|
-
children: cellData.rowData.severity
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
};
|
|
46
|
-
const COLUMNS_DEFINITIONS = [
|
|
47
|
-
{
|
|
48
|
-
label: intl.formatMessage({ id: "report_viewer/severity" }).toUpperCase(),
|
|
49
|
-
id: "severity",
|
|
50
|
-
dataKey: "severity",
|
|
51
|
-
width: SEVERITY_COLUMN_FIXED_WIDTH,
|
|
52
|
-
maxWidth: SEVERITY_COLUMN_FIXED_WIDTH,
|
|
53
|
-
minWidth: SEVERITY_COLUMN_FIXED_WIDTH,
|
|
54
|
-
cellRenderer: severityCellRender,
|
|
55
|
-
extra: /* @__PURE__ */ jsx(FilterButton, { selectedItems: selectedSeverity, setSelectedItems: setSelectedSeverity })
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
label: intl.formatMessage({ id: "report_viewer/message" }).toUpperCase(),
|
|
59
|
-
id: "message",
|
|
60
|
-
dataKey: "message",
|
|
61
|
-
width: SEVERITY_COLUMN_FIXED_WIDTH
|
|
62
|
-
}
|
|
63
|
-
];
|
|
64
|
-
const generateTableColumns = () => {
|
|
65
|
-
return Object.values(COLUMNS_DEFINITIONS).map((c) => {
|
|
66
|
-
return c;
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
const generateTableRows = () => {
|
|
70
|
-
return logs.map((log) => {
|
|
71
|
-
return {
|
|
72
|
-
severity: log.getSeverityName(),
|
|
73
|
-
message: log.getLog(),
|
|
74
|
-
backgroundColor: log.getColorName(),
|
|
75
|
-
reportId: log.getReportId()
|
|
76
|
-
};
|
|
77
|
-
});
|
|
78
|
-
};
|
|
79
|
-
const handleRowClick = (row) => {
|
|
80
|
-
setSelectedRowIndex(row.index);
|
|
81
|
-
onRowClick(row.rowData);
|
|
82
|
-
};
|
|
83
|
-
const rowStyleFormat = (row) => {
|
|
84
|
-
if (row.index < 0) {
|
|
85
|
-
return void 0;
|
|
86
|
-
}
|
|
87
|
-
if (selectedRowIndex === row.index) {
|
|
88
|
-
return {
|
|
89
|
-
backgroundColor: theme.palette.action.selected
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
return void 0;
|
|
93
|
-
};
|
|
94
|
-
useEffect(() => {
|
|
95
|
-
setSelectedRowIndex(-1);
|
|
96
|
-
}, [logs]);
|
|
97
|
-
const filter = useCallback(
|
|
98
|
-
(row) => {
|
|
99
|
-
return row.severity && Object.entries(selectedSeverity).some(([key, value]) => key === row.severity && value);
|
|
100
|
-
},
|
|
101
|
-
[selectedSeverity]
|
|
102
|
-
);
|
|
103
|
-
return (
|
|
104
|
-
// TODO do we need to useMemo/useCallback these props to avoid rerenders ?
|
|
105
|
-
/* @__PURE__ */ jsx(
|
|
106
|
-
VirtualizedTable,
|
|
107
|
-
{
|
|
108
|
-
columns: generateTableColumns(),
|
|
109
|
-
rows: generateTableRows(),
|
|
110
|
-
sortable: false,
|
|
111
|
-
onRowClick: handleRowClick,
|
|
112
|
-
rowStyle: rowStyleFormat,
|
|
113
|
-
filter
|
|
114
|
-
}
|
|
115
|
-
)
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
const LogTable$1 = memo(LogTable);
|
|
119
|
-
export {
|
|
120
|
-
LogTable$1 as default
|
|
121
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CheckboxProps, MenuProps } from '@mui/material';
|
|
2
|
-
|
|
3
|
-
export interface MultiSelectListProps {
|
|
4
|
-
selectedItems: Record<string, boolean>;
|
|
5
|
-
handleChange: CheckboxProps['onChange'];
|
|
6
|
-
handleClose: () => void;
|
|
7
|
-
anchor: MenuProps['anchorEl'];
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* MultiSelectList allows to manipulate an object where each keys are associated to a boolean in order to determine which are the ones the user wants to select
|
|
11
|
-
*
|
|
12
|
-
* @param {Object} selectedItems - It serves as the model and data of the Component each entry must be formatted as a pair of string and boolean. Each key will be displayed and the corresponding boolean is updated in function of its checkbox status
|
|
13
|
-
* @param {Function} handleChange - Allows to customise the behaviour on selection change
|
|
14
|
-
* @param {Function} handleClose - Allows to customise the behaviour when the menu is closing
|
|
15
|
-
* @param {Object} anchor - Determines where the menu will appear on screen
|
|
16
|
-
*/
|
|
17
|
-
export declare function MultiSelectList({ selectedItems, handleChange, handleClose, anchor }: MultiSelectListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Menu, MenuItem, FormControlLabel, Checkbox } from "@mui/material";
|
|
3
|
-
const styles = {
|
|
4
|
-
label: {
|
|
5
|
-
width: "100%",
|
|
6
|
-
margin: 0
|
|
7
|
-
},
|
|
8
|
-
menuItem: {
|
|
9
|
-
padding: "0 10px 0 0"
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
function MultiSelectList({ selectedItems, handleChange, handleClose, anchor }) {
|
|
13
|
-
const open = Boolean(anchor);
|
|
14
|
-
return /* @__PURE__ */ jsx(Menu, { open, onClose: handleClose, anchorEl: anchor, children: Object.entries(selectedItems).map(([key, value]) => {
|
|
15
|
-
return /* @__PURE__ */ jsx(MenuItem, { sx: styles.menuItem, children: /* @__PURE__ */ jsx(
|
|
16
|
-
FormControlLabel,
|
|
17
|
-
{
|
|
18
|
-
control: /* @__PURE__ */ jsx(Checkbox, { checked: value, onChange: handleChange, name: key }),
|
|
19
|
-
label: key,
|
|
20
|
-
sx: styles.label
|
|
21
|
-
}
|
|
22
|
-
) }, key);
|
|
23
|
-
}) });
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
MultiSelectList
|
|
27
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TreeItemProps } from '@mui/lab';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
export interface ReportItemProps extends TreeItemProps {
|
|
5
|
-
nodeId: string;
|
|
6
|
-
labelText: ReactNode;
|
|
7
|
-
labelIconColor: string;
|
|
8
|
-
className?: any;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: import('@emotion/styled').StyledComponent<ReportItemProps & {
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
|
|
13
|
-
export default _default;
|