@reltio/components 1.4.1987 → 1.4.1989
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/cjs/ActionButton/ActionButton.spec.js +2 -2
- package/cjs/ActionsPanel/ActionsPanel.test.js +2 -2
- package/cjs/ActionsPanel/types.d.ts +0 -1
- package/cjs/AsyncReactSelect/AsyncReactSelect.d.ts +0 -1
- package/cjs/AttributeListItem/AttributeListItem.d.ts +2 -2
- package/cjs/AttributeListItem/AttributeListItem.spec.js +2 -2
- package/cjs/AttributeSelector/AttributeSelector.specs.js +2 -2
- package/cjs/AttributesErrorsPanel/AttributesErrorsPanel.specs.js +2 -2
- package/cjs/AttributesErrorsPanel/components/Error/Error.specs.js +2 -2
- package/cjs/AttributesFilterSelector/AttributesFilterSelector.test.js +2 -2
- package/cjs/AttributesFiltersBuilder/AttributesFiltersBuilder.test.js +2 -2
- package/cjs/AttributesFiltersButton/AttributesFiltersButton.test.js +2 -2
- package/cjs/AttributesValuesEditor/AttributesValuesEditor.test.js +2 -2
- package/cjs/AttributesView/AttributesView.test.js +2 -2
- package/cjs/AutoSizeList/AutoSizeList.d.ts +2 -1
- package/cjs/AutoSizeList/AutoSizeList.test.js +2 -2
- package/cjs/AvatarWithFallback/AvatarWithFallback.test.js +2 -2
- package/cjs/BarChart/BarChart.test.js +2 -2
- package/cjs/BasicTable/BasicTable.d.ts +1 -1
- package/cjs/BasicTable/IntegrationBasicTable.test.js +2 -2
- package/cjs/BasicTable/basicTableViewState.d.ts +2 -2
- package/cjs/BasicTablePagination/BasicTablePagination.test.js +2 -2
- package/cjs/BooleanRadioEditor/BooleanRadioEditor.test.js +2 -2
- package/cjs/BubbleChart/BubbleChart.test.js +2 -2
- package/cjs/BubbleChart/helpers.d.ts +1 -1
- package/cjs/ChartLegend/helpers.d.ts +1 -1
- package/cjs/CloudChart/CloudChart.test.js +2 -2
- package/cjs/CollaborationItem/IntegrationCollaborationItem.test.js +2 -2
- package/cjs/CollaborationItem/components/Comment/Comment.test.js +2 -2
- package/cjs/CollaborationItem/components/RepliedComment/RepliedComment.test.js +2 -2
- package/cjs/CollaborationItem/components/SendMessageArea/SendMessageArea.test.js +2 -2
- package/cjs/CollaborationItem/helpers.d.ts +4 -4
- package/cjs/CollapseButton/CollapseButton.test.js +2 -2
- package/cjs/CollapseRowButton/CollapseRowButton.test.js +2 -2
- package/cjs/ColoredSourceIcon/ColoredSourceIcon.test.js +2 -2
- package/cjs/ColumnsSettings/ColumnsSettings.test.js +2 -2
- package/cjs/ColumnsSettings/components/ColumnsSettingsPopup/ColumnsSettingsPopup.spec.js +2 -2
- package/cjs/CommentsContainer/CommentsContainer.test.js +2 -2
- package/cjs/CommentsContainer/components/CollaborationPopup/CollaborationPopup.test.js +2 -2
- package/cjs/ConfirmDeleteDialog/ConfirmDeleteDialog.test.js +2 -2
- package/cjs/ConfirmationDialog/ConfirmationDialog.test.js +2 -2
- package/cjs/ConnectionEditor/ConnectionEditor.test.js +2 -2
- package/cjs/CreatableReactSelect/CreatableReactSelect.d.ts +0 -1
- package/cjs/CustomDateRangeEditor/CustomDateRangeEditor.test.js +2 -2
- package/cjs/DataTypeValueEditor/useEditorContext.test.js +19 -2
- package/cjs/DateEditor/DateEditor.test.js +2 -2
- package/cjs/DateRangeEditor/DateRangeEditor.d.ts +4 -10
- package/cjs/DateRangeEditor/DateRangeEditor.test.js +2 -2
- package/cjs/DateRangePicker/DateRangePicker.spec.js +2 -2
- package/cjs/DateRangeSelector/DateRangeSelector.specs.js +2 -2
- package/cjs/DependentLookupEditor/DependentLookupEditor.test.js +2 -2
- package/cjs/DescriptionIcon/DescriptionIcon.test.js +2 -2
- package/cjs/DropDownMenuButton/DropDownMenuButton.js +1 -2
- package/cjs/EditModeAttributesPager/EditModeAttributesPager.d.ts +1 -1
- package/cjs/EditModeAttributesPager/components/AttributeRenderer/IntegrationAttributeRenderer.test.js +2 -2
- package/cjs/EditModeAttributesPager/components/SpecialRenderer/SpecialRenderer.test.js +2 -2
- package/cjs/EditModeAttributesView/EditModeAttributesView.test.js +2 -2
- package/cjs/EditModeAttributesView/IntegrationEditModeAttributesView.test.js +2 -2
- package/cjs/EditorsFactory/EditorsFactory.d.ts +1 -6
- package/cjs/EntitySelector/EntitySelector.test.js +2 -2
- package/cjs/EntityUriLink/EntityUriLink.test.js +2 -2
- package/cjs/FileTypeEditor/FileTypeEditor.test.js +2 -2
- package/cjs/FilterButton/FilterButton.test.js +2 -2
- package/cjs/GaugeChart/GaugeChart.test.js +2 -2
- package/cjs/HOCs/withContext/withContext.d.ts +2 -2
- package/cjs/HOCs/withDateRangeSelector/withDateRangeSelector.d.ts +1 -1
- package/cjs/HOCs/withDragHandle/withDragHandle.d.ts +1 -1
- package/cjs/HOCs/withFilter/components/ColumnFilter/ColumnFilter.spec.js +2 -2
- package/cjs/HOCs/withReactSelectMuiSkin/helpers.d.ts +2 -3
- package/cjs/HOCs/withReactSelectMuiSkin/withReactSelectMuiSkin.d.ts +1 -1
- package/cjs/HOCs/withTableContext/withTableContext.d.ts +0 -1
- package/cjs/HOCs/withTooltip/withTooltip.d.ts +1 -1
- package/cjs/HideOnShrink/HideOnShrink.test.js +2 -2
- package/cjs/HierarchyNodeTitle/HierarchyNodeTitle.test.js +2 -2
- package/cjs/HierarchyNodeTitle/useEntityDetails.test.js +2 -2
- package/cjs/ImageAttributesGallery/components/HeaderRight/HeaderRight.test.js +2 -2
- package/cjs/ImageAttributesLine/ImageAttributesLine.test.js +2 -2
- package/cjs/ImageAttributesLine/types.d.ts +0 -1
- package/cjs/InfoIcon/InfoIcon.d.ts +2 -2
- package/cjs/InlineComplexAttribute/components/CrosswalkIcon/CrosswalkIcon.spec.js +2 -2
- package/cjs/InlineSimpleAttribute/InlineSimpleAttribute.spec.js +2 -2
- package/cjs/LineChart/LineChart.test.js +2 -2
- package/cjs/Link/Link.test.js +2 -2
- package/cjs/LogicOperator/LogicOperator.spec.js +2 -2
- package/cjs/MapChart/MapChart.test.js +2 -2
- package/cjs/MatchRulesSelector/MatchRulesSelector.test.js +2 -2
- package/cjs/MergeButton/MergeButton.spec.js +2 -2
- package/cjs/MetadataTypesSelector/MetadataTypesSelector.test.js +2 -2
- package/cjs/ModeSwitcher/ModeSwitcher.test.js +2 -2
- package/cjs/ModeSwitcherSelect/ModeSwitcherSelect.test.js +2 -2
- package/cjs/MultiSelect/helpers.d.ts +3 -4
- package/cjs/MultipleInput/MultipleInput.test.js +2 -2
- package/cjs/NotMatchButton/NotMatchButton.spec.js +2 -2
- package/cjs/NumberEditor/NumberEditor.test.js +2 -2
- package/cjs/OvIcon/OvIcon.d.ts +7 -7
- package/cjs/OvIcon/OvIcon.test.js +2 -2
- package/cjs/PieChart/PieChart.d.ts +1 -1
- package/cjs/PivotingTooltip/IntegrationPivotingTooltip.test.js +2 -2
- package/cjs/PivotingTooltip/PivotingTooltip.test.js +2 -2
- package/cjs/PivotingTooltip/components/PivotingTooltipContent/PivotingTooltipContent.test.js +2 -2
- package/cjs/PivotingUriLink/PivotingUriLink.spec.js +2 -2
- package/cjs/Popper/Popper.d.ts +3 -5
- package/cjs/ProfileBandNavigation/ProfileBandNavigation.specs.js +2 -2
- package/cjs/ProfileBandNavigation/helpers.test.js +2 -2
- package/cjs/ProfileBandNavigation/useSearchNavigation.test.js +2 -2
- package/cjs/ProfileMatchCard/ProfileMatchCard.specs.js +2 -2
- package/cjs/ProfileResizablePanes/ProfileResizablePanes.spec.js +2 -2
- package/cjs/ReactSelect/ReactSelect.d.ts +0 -1
- package/cjs/ReactSortableTree/helpers/defaultHandlers.js +2 -3
- package/cjs/ReactSortableTree/helpers/generic.js +1 -2
- package/cjs/ReactSortableTree/helpers/tree.js +18 -18
- package/cjs/ReadOnlyAttributesPager/ReadOnlyAttributesPager.test.js +2 -2
- package/cjs/ReadOnlyAttributesView/ReadOnlyAttributesView.test.js +2 -2
- package/cjs/ReadableSearchQueryBuilder/ReadableSearchQueryBuilder.js +2 -2
- package/cjs/ReadableSearchQueryBuilder/ReadableSearchQueryBuilder.test.js +2 -2
- package/cjs/ReferenceAttribute/ReferenceAttribute.test.js +2 -2
- package/cjs/RelationEditor/IntegrationRelationEditor.test.js +2 -2
- package/cjs/ReltioGridLayout/ReltioGridLayout.d.ts +1 -1
- package/cjs/ReltioGridLayout/ReltioGridLayout.specs.js +9 -5
- package/cjs/ReltioMap/ReltioMap.d.ts +0 -1
- package/cjs/ReltioMap/ReltioMap.spec.js +2 -2
- package/cjs/ReltioMap/components/TopRightMapControls/TopRightMapControls.d.ts +6 -6
- package/cjs/ReltioMap/helpers.d.ts +0 -1
- package/cjs/ResizablePanes/ResizablePanes.test.js +2 -2
- package/cjs/RolesEditor/RolesEditor.test.js +2 -2
- package/cjs/RowCellAutoSizer/RowCellAutoSizer.test.js +2 -2
- package/cjs/SaveSegmentDialog/SaveSegmentDialog.js +2 -2
- package/cjs/SaveSegmentDialog/SaveSegmentDialog.test.js +2 -2
- package/cjs/SearchInput/SearchInput.spec.js +2 -2
- package/cjs/SettingsMenu/components/SettingsMenuItemRenderer/SettingsMenuItemRenderer.test.js +2 -2
- package/cjs/ShowLess/ShowLess.test.js +2 -2
- package/cjs/ShowMore/ShowMore.test.js +2 -2
- package/cjs/SideButtonsPanel/SideButtonsPanel.spec.js +2 -2
- package/cjs/SimpleAttribute/IntegrationSimpleAttribute.test.js +2 -2
- package/cjs/SimpleAttributeEditor/SimpleAttributeEditor.d.ts +5 -11
- package/cjs/SimpleAttributeEditor/SimpleAttributeEditor.test.js +19 -6
- package/cjs/SimpleDropDownSelector/SimpleDropDownSelector.d.ts +2 -3
- package/cjs/SimpleInput/SimpleInput.test.js +2 -2
- package/cjs/SimpleMatchRulesBlock/SimpleMatchRulesBlock.d.ts +2 -2
- package/cjs/SmallIconButton/index.d.ts +4 -5
- package/cjs/SourceItem/SourceItem.spec.js +2 -2
- package/cjs/SourceSystemsSelector/SourceSystemsSelector.test.js +2 -2
- package/cjs/StepNavigation/StepNavigation.spec.js +2 -2
- package/cjs/TableWithBars/components/NumberCellValueRenderer/NumberCellValueRenderer.test.js +2 -2
- package/cjs/TagsEditor/TagsEditor.js +2 -2
- package/cjs/TagsEditor/TagsEditor.test.js +18 -2
- package/cjs/TenantsDropDownSelector/TenantsDropDownSelector.spec.js +2 -2
- package/cjs/TextEditor/TextEditor.test.js +2 -2
- package/cjs/TimestampEditor/TimestampEditor.test.js +2 -2
- package/cjs/TransitiveMatchBlock/TransitiveMatchBlock.d.ts +2 -2
- package/cjs/TreeChart/TreeChart.test.js +2 -2
- package/cjs/TypeaheadEditor/TypeaheadEditor.js +34 -21
- package/cjs/TypeaheadEditor/TypeaheadEditor.test.js +23 -2
- package/cjs/UploadFileButton/UploadFileButton.spec.js +2 -2
- package/cjs/UploadImageDialog/UploadImageDialog.specs.js +2 -2
- package/cjs/UploadImageDialog/components/SelectImageButton/SelectImageButton.specs.js +2 -2
- package/cjs/UserSelector/UserSelector.specs.js +2 -2
- package/cjs/VerticalHeadingsTable/types.d.ts +0 -1
- package/cjs/ViewMoreToggle/ViewMoreToggle.test.js +2 -2
- package/cjs/constants/modeOptions.d.ts +0 -1
- package/cjs/contexts/AllwaysVisibleAttributesContext/index.d.ts +0 -1
- package/cjs/contexts/CollaborationContext/CollaborationContextProvider.test.js +2 -2
- package/cjs/contexts/CollaborationContext/index.d.ts +7 -7
- package/cjs/contexts/HiddenAttributesContext/index.d.ts +0 -1
- package/cjs/contexts/MaskedAttributesContext/context.js +2 -2
- package/cjs/contexts/MdmModuleContext/hooks.d.ts +5 -4
- package/cjs/contexts/ProfileTablesContext/index.d.ts +0 -1
- package/cjs/contexts/ScrollToElementContext/index.d.ts +2 -2
- package/cjs/contexts/WorkflowTasksContext/index.d.ts +2 -2
- package/cjs/features/activity-log/ActivityExportButton/ActivityExportButton.specs.js +2 -2
- package/cjs/features/activity-log/ActivityFilterEditor/ActivityFilterEditor.specs.js +2 -2
- package/cjs/features/activity-log/ActivityFilterEditor/components/SourceSelector/SourceSelector.specs.js +2 -2
- package/cjs/features/activity-log/ActivityLog/ActivityLog.test.js +2 -2
- package/cjs/features/activity-log/EntityRecord/EntityRecord.test.js +2 -2
- package/cjs/features/activity-log/hooks/useActivitiesLoader.js +2 -2
- package/cjs/features/activity-log/hooks/useProfileActivitiesLoader.js +2 -2
- package/cjs/features/activity-log/utils/activities.d.ts +1 -1
- package/cjs/features/crosswalks/AttributesTable/IntegrationAttributesTable.test.js +2 -2
- package/cjs/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.d.ts +0 -1
- package/cjs/features/crosswalks/AttributesTable/components/WinnerSourcesRenderer/WinnerSourcesRenderer.test.js +2 -2
- package/cjs/features/crosswalks/AttributesTable/types.d.ts +0 -1
- package/cjs/features/crosswalks/ColoredBlock/ColoredBlock.d.ts +1 -1
- package/cjs/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.js +2 -2
- package/cjs/features/crosswalks/hooks/useAttributeActions.js +2 -2
- package/cjs/features/crosswalks/hooks/useAttributeActions.test.js +2 -2
- package/cjs/features/crosswalks/hooks/useCrosswalkActions.test.js +2 -2
- package/cjs/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.test.js +2 -2
- package/cjs/features/graph/contexts/SigmaCustomRenderersContext.d.ts +0 -1
- package/cjs/features/graph/hooks/useSigmaCustomRenderers.d.ts +0 -1
- package/cjs/features/graph/rendering/canvas/hover.d.ts +1 -1
- package/cjs/features/graph/rendering/canvas/label.d.ts +1 -1
- package/cjs/features/graph/rendering/canvas/labelBackground.d.ts +1 -1
- package/cjs/features/graph/rendering/canvas/nodeArc.d.ts +3 -3
- package/cjs/features/graph/rendering/canvas/selfRelationLoop.d.ts +1 -1
- package/cjs/features/history/ContributorsPanel/ContributorsPanel.specs.js +2 -2
- package/cjs/features/history/ContributorsPanel/components/ContributorItem/ContributorItem.specs.js +2 -2
- package/cjs/features/history/HistoryActivitySelector/HistoryActivitySelector.specs.js +2 -2
- package/cjs/features/history/HistoryFilterButton/HistoryFilterButton.test.js +2 -2
- package/cjs/features/history/HistoryGraph/HistoryGraph.d.ts +2 -2
- package/cjs/features/history/HistoryGraph/HistoryGraph.specs.js +2 -2
- package/cjs/features/history/HistoryGraph/helpers.d.ts +1 -1
- package/cjs/features/history/HistoryMenuButton/HistoryMenuButton.specs.js +2 -2
- package/cjs/features/history/HistoryTree/HistoryTree.js +5 -1
- package/cjs/features/history/HistoryTree/HistoryTree.specs.js +2 -2
- package/cjs/features/history/ProfileBandHistory/ProfileBandHistory.test.js +2 -2
- package/cjs/features/history/hooks/useHistory.test.js +2 -2
- package/cjs/features/history/hooks/useHistorySlice.test.js +2 -2
- package/cjs/features/history/hooks/useHistoryTree.test.js +2 -2
- package/cjs/features/history/types.d.ts +1 -2
- package/cjs/features/history/types.js +2 -2
- package/cjs/features/workflow/AddWorkflowDialog/AddWorkflowDialog.spec.js +2 -2
- package/cjs/features/workflow/AssigneeSelector/AssigneeSelector.spec.js +2 -2
- package/cjs/features/workflow/AttributesChanges/helpers/merge.d.ts +1 -1
- package/cjs/features/workflow/DueDateField/DueDateField.spec.js +2 -2
- package/cjs/features/workflow/PrioritySelector/PrioritySelector.spec.js +2 -2
- package/cjs/features/workflow/ReassignButton/ReassignButton.spec.js +2 -2
- package/cjs/features/workflow/TaskActionButtons/TaskActionButtons.spec.js +2 -2
- package/cjs/features/workflow/TaskActions/TaskActions.spec.js +2 -2
- package/cjs/features/workflow/WorkflowComments/WorkflowCommments.spec.js +2 -2
- package/cjs/features/workflow/WorkflowTaskCard/WorkflowTaskCard.d.ts +0 -1
- package/cjs/features/workflow/WorkflowTaskCard/WorkflowTaskCard.test.js +2 -2
- package/cjs/features/workflow/WorkflowTaskCard/components/DataChangeRequestTaskCard/DataChangeRequestTaskCard.spec.js +2 -2
- package/cjs/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.spec.js +2 -2
- package/cjs/features/workflow/WorkflowTaskCard/components/PotentialMatchTaskCard/PotentialMatchTaskCard.spec.js +2 -2
- package/cjs/features/workflow/helpers/common.d.ts +1 -1
- package/cjs/features/workflow/hooks/useChangeRequest.specs.js +2 -2
- package/cjs/features/workflow/hooks/useWorkflowColor.d.ts +1 -1
- package/cjs/features/workflow/hooks/useWorkflowDueDate.d.ts +1 -1
- package/cjs/features/workflow/hooks/useWorkflowPriority.d.ts +1 -1
- package/cjs/features/workflow/hooks/useWorkflowTasks.d.ts +1 -1
- package/cjs/helpers/basicTable.d.ts +1 -1
- package/cjs/helpers/customScript.test.js +2 -2
- package/cjs/hooks/useAPI/API.js +2 -2
- package/cjs/hooks/useAPI/useAPI.d.ts +1 -1
- package/cjs/hooks/useAPI/useAPI.test.js +2 -2
- package/cjs/hooks/useChartTooltipState/useChartTooltipState.d.ts +1 -1
- package/cjs/hooks/useCollaboration/useCollaboration.specs.js +2 -2
- package/cjs/hooks/useCommentsEntitiesMap/useCommentsEntitiesMap.specs.js +2 -2
- package/cjs/hooks/useCustomScripts/useCustomScripts.test.js +2 -2
- package/cjs/hooks/useFilterAutoFocus/useFilterAutoFocus.d.ts +0 -1
- package/cjs/hooks/useIsMountedRef/useIsMountedRef.d.ts +0 -1
- package/cjs/hooks/useLayoutResetter/useLayoutResetter.d.ts +0 -1
- package/cjs/hooks/useLayoutResetter/useLayoutResetter.test.js +2 -2
- package/cjs/hooks/useMarkers/referenceHelpers.js +18 -5
- package/cjs/hooks/useMarkers/referenceHelpers.test.js +2 -2
- package/cjs/hooks/useMarkers/resolveHelpers.js +17 -19
- package/cjs/hooks/usePagingSimulator/helpers.js +2 -2
- package/cjs/hooks/usePagingSimulator/helpers.test.js +2 -2
- package/cjs/hooks/usePrevious/usePrevious.d.ts +1 -1
- package/cjs/hooks/useReadableSearchState/useReadableSearchState.test.js +2 -2
- package/cjs/hooks/useRelationsLoader/useRelationsLoader.specs.js +2 -2
- package/cjs/hooks/useSavedSearchesRequest/helpers.js +2 -2
- package/cjs/hooks/useSavedSearchesRequest/useSavedSearchesRequest.d.ts +0 -1
- package/cjs/hooks/useSavedSearchesRequest/useSavedSearchesRequest.js +2 -2
- package/cjs/hooks/useSavedSearchesRequest/useSavedSearchesRequest.test.js +2 -2
- package/cjs/hooks/useSavedStateForEntityType/useSavedStateForEntityType.test.js +2 -2
- package/cjs/hooks/useScrollToAttributeError/useScrollToAttributeError.test.js +2 -2
- package/cjs/hooks/useSnackbar/useSnackbar.test.js +2 -2
- package/cjs/hooks/useUsers/useUsers.specs.js +2 -2
- package/cjs/test-utils/index.js +2 -2
- package/esm/ActionButton/ActionButton.spec.js +2 -2
- package/esm/ActionsPanel/ActionsPanel.test.js +2 -2
- package/esm/ActionsPanel/types.d.ts +0 -1
- package/esm/AsyncReactSelect/AsyncReactSelect.d.ts +0 -1
- package/esm/AttributeListItem/AttributeListItem.d.ts +2 -2
- package/esm/AttributeListItem/AttributeListItem.spec.js +2 -2
- package/esm/AttributeSelector/AttributeSelector.specs.js +2 -2
- package/esm/AttributesErrorsPanel/AttributesErrorsPanel.specs.js +2 -2
- package/esm/AttributesErrorsPanel/components/Error/Error.specs.js +2 -2
- package/esm/AttributesFilterSelector/AttributesFilterSelector.test.js +2 -2
- package/esm/AttributesFiltersBuilder/AttributesFiltersBuilder.test.js +2 -2
- package/esm/AttributesFiltersButton/AttributesFiltersButton.test.js +2 -2
- package/esm/AttributesValuesEditor/AttributesValuesEditor.test.js +2 -2
- package/esm/AttributesView/AttributesView.test.js +2 -2
- package/esm/AutoSizeList/AutoSizeList.d.ts +2 -1
- package/esm/AutoSizeList/AutoSizeList.test.js +2 -2
- package/esm/AvatarWithFallback/AvatarWithFallback.test.js +2 -2
- package/esm/BarChart/BarChart.test.js +2 -2
- package/esm/BasicTable/BasicTable.d.ts +1 -1
- package/esm/BasicTable/IntegrationBasicTable.test.js +2 -2
- package/esm/BasicTable/basicTableViewState.d.ts +2 -2
- package/esm/BasicTablePagination/BasicTablePagination.test.js +2 -2
- package/esm/BooleanRadioEditor/BooleanRadioEditor.test.js +2 -2
- package/esm/BubbleChart/BubbleChart.test.js +2 -2
- package/esm/BubbleChart/helpers.d.ts +1 -1
- package/esm/ChartLegend/helpers.d.ts +1 -1
- package/esm/CloudChart/CloudChart.test.js +2 -2
- package/esm/CollaborationItem/IntegrationCollaborationItem.test.js +2 -2
- package/esm/CollaborationItem/components/Comment/Comment.test.js +2 -2
- package/esm/CollaborationItem/components/RepliedComment/RepliedComment.test.js +2 -2
- package/esm/CollaborationItem/components/SendMessageArea/SendMessageArea.test.js +2 -2
- package/esm/CollaborationItem/helpers.d.ts +4 -4
- package/esm/CollapseButton/CollapseButton.test.js +2 -2
- package/esm/CollapseRowButton/CollapseRowButton.test.js +2 -2
- package/esm/ColoredSourceIcon/ColoredSourceIcon.test.js +2 -2
- package/esm/ColumnsSettings/ColumnsSettings.test.js +2 -2
- package/esm/ColumnsSettings/components/ColumnsSettingsPopup/ColumnsSettingsPopup.spec.js +2 -2
- package/esm/CommentsContainer/CommentsContainer.test.js +2 -2
- package/esm/CommentsContainer/components/CollaborationPopup/CollaborationPopup.test.js +2 -2
- package/esm/ConfirmDeleteDialog/ConfirmDeleteDialog.test.js +2 -2
- package/esm/ConfirmationDialog/ConfirmationDialog.test.js +2 -2
- package/esm/ConnectionEditor/ConnectionEditor.test.js +2 -2
- package/esm/CreatableReactSelect/CreatableReactSelect.d.ts +0 -1
- package/esm/CustomDateRangeEditor/CustomDateRangeEditor.test.js +2 -2
- package/esm/DataTypeValueEditor/useEditorContext.test.js +19 -2
- package/esm/DateEditor/DateEditor.test.js +2 -2
- package/esm/DateRangeEditor/DateRangeEditor.d.ts +4 -10
- package/esm/DateRangeEditor/DateRangeEditor.test.js +2 -2
- package/esm/DateRangePicker/DateRangePicker.spec.js +2 -2
- package/esm/DateRangeSelector/DateRangeSelector.specs.js +2 -2
- package/esm/DependentLookupEditor/DependentLookupEditor.test.js +2 -2
- package/esm/DescriptionIcon/DescriptionIcon.test.js +2 -2
- package/esm/EditModeAttributesPager/EditModeAttributesPager.d.ts +1 -1
- package/esm/EditModeAttributesPager/components/AttributeRenderer/IntegrationAttributeRenderer.test.js +2 -2
- package/esm/EditModeAttributesPager/components/SpecialRenderer/SpecialRenderer.test.js +2 -2
- package/esm/EditModeAttributesView/EditModeAttributesView.test.js +2 -2
- package/esm/EditModeAttributesView/IntegrationEditModeAttributesView.test.js +2 -2
- package/esm/EditorsFactory/EditorsFactory.d.ts +1 -6
- package/esm/EntitySelector/EntitySelector.test.js +2 -2
- package/esm/EntityUriLink/EntityUriLink.test.js +2 -2
- package/esm/FileTypeEditor/FileTypeEditor.test.js +2 -2
- package/esm/FilterButton/FilterButton.test.js +2 -2
- package/esm/GaugeChart/GaugeChart.test.js +2 -2
- package/esm/HOCs/withContext/withContext.d.ts +2 -2
- package/esm/HOCs/withDateRangeSelector/withDateRangeSelector.d.ts +1 -1
- package/esm/HOCs/withDragHandle/withDragHandle.d.ts +1 -1
- package/esm/HOCs/withFilter/components/ColumnFilter/ColumnFilter.spec.js +2 -2
- package/esm/HOCs/withReactSelectMuiSkin/helpers.d.ts +2 -3
- package/esm/HOCs/withReactSelectMuiSkin/withReactSelectMuiSkin.d.ts +1 -1
- package/esm/HOCs/withTableContext/withTableContext.d.ts +0 -1
- package/esm/HOCs/withTooltip/withTooltip.d.ts +1 -1
- package/esm/HideOnShrink/HideOnShrink.test.js +2 -2
- package/esm/HierarchyNodeTitle/HierarchyNodeTitle.test.js +2 -2
- package/esm/HierarchyNodeTitle/useEntityDetails.test.js +2 -2
- package/esm/ImageAttributesGallery/components/HeaderRight/HeaderRight.test.js +2 -2
- package/esm/ImageAttributesLine/ImageAttributesLine.test.js +2 -2
- package/esm/ImageAttributesLine/types.d.ts +0 -1
- package/esm/InfoIcon/InfoIcon.d.ts +2 -2
- package/esm/InlineComplexAttribute/components/CrosswalkIcon/CrosswalkIcon.spec.js +2 -2
- package/esm/InlineSimpleAttribute/InlineSimpleAttribute.spec.js +2 -2
- package/esm/LineChart/LineChart.test.js +2 -2
- package/esm/Link/Link.test.js +2 -2
- package/esm/LogicOperator/LogicOperator.spec.js +2 -2
- package/esm/MapChart/MapChart.test.js +2 -2
- package/esm/MatchRulesSelector/MatchRulesSelector.test.js +2 -2
- package/esm/MergeButton/MergeButton.spec.js +2 -2
- package/esm/MetadataTypesSelector/MetadataTypesSelector.test.js +2 -2
- package/esm/ModeSwitcher/ModeSwitcher.test.js +2 -2
- package/esm/ModeSwitcherSelect/ModeSwitcherSelect.test.js +2 -2
- package/esm/MultiSelect/helpers.d.ts +3 -4
- package/esm/MultipleInput/MultipleInput.test.js +2 -2
- package/esm/NotMatchButton/NotMatchButton.spec.js +2 -2
- package/esm/NumberEditor/NumberEditor.test.js +2 -2
- package/esm/OvIcon/OvIcon.d.ts +7 -7
- package/esm/OvIcon/OvIcon.test.js +2 -2
- package/esm/PieChart/PieChart.d.ts +1 -1
- package/esm/PivotingTooltip/IntegrationPivotingTooltip.test.js +2 -2
- package/esm/PivotingTooltip/PivotingTooltip.test.js +2 -2
- package/esm/PivotingTooltip/components/PivotingTooltipContent/PivotingTooltipContent.test.js +2 -2
- package/esm/PivotingUriLink/PivotingUriLink.spec.js +2 -2
- package/esm/Popper/Popper.d.ts +3 -5
- package/esm/ProfileBandNavigation/ProfileBandNavigation.specs.js +2 -2
- package/esm/ProfileBandNavigation/helpers.test.js +2 -2
- package/esm/ProfileBandNavigation/useSearchNavigation.test.js +2 -2
- package/esm/ProfileMatchCard/ProfileMatchCard.specs.js +2 -2
- package/esm/ProfileResizablePanes/ProfileResizablePanes.spec.js +2 -2
- package/esm/ReactSelect/ReactSelect.d.ts +0 -1
- package/esm/ReadOnlyAttributesPager/ReadOnlyAttributesPager.test.js +2 -2
- package/esm/ReadOnlyAttributesView/ReadOnlyAttributesView.test.js +2 -2
- package/esm/ReadableSearchQueryBuilder/ReadableSearchQueryBuilder.js +2 -2
- package/esm/ReadableSearchQueryBuilder/ReadableSearchQueryBuilder.test.js +2 -2
- package/esm/ReferenceAttribute/ReferenceAttribute.test.js +2 -2
- package/esm/RelationEditor/IntegrationRelationEditor.test.js +2 -2
- package/esm/ReltioGridLayout/ReltioGridLayout.d.ts +1 -1
- package/esm/ReltioGridLayout/ReltioGridLayout.specs.js +9 -5
- package/esm/ReltioMap/ReltioMap.d.ts +0 -1
- package/esm/ReltioMap/ReltioMap.spec.js +2 -2
- package/esm/ReltioMap/components/TopRightMapControls/TopRightMapControls.d.ts +6 -6
- package/esm/ReltioMap/helpers.d.ts +0 -1
- package/esm/ResizablePanes/ResizablePanes.test.js +2 -2
- package/esm/RolesEditor/RolesEditor.test.js +2 -2
- package/esm/RowCellAutoSizer/RowCellAutoSizer.test.js +2 -2
- package/esm/SaveSegmentDialog/SaveSegmentDialog.js +2 -2
- package/esm/SaveSegmentDialog/SaveSegmentDialog.test.js +2 -2
- package/esm/SearchInput/SearchInput.spec.js +2 -2
- package/esm/SettingsMenu/components/SettingsMenuItemRenderer/SettingsMenuItemRenderer.test.js +2 -2
- package/esm/ShowLess/ShowLess.test.js +2 -2
- package/esm/ShowMore/ShowMore.test.js +2 -2
- package/esm/SideButtonsPanel/SideButtonsPanel.spec.js +2 -2
- package/esm/SimpleAttribute/IntegrationSimpleAttribute.test.js +2 -2
- package/esm/SimpleAttributeEditor/SimpleAttributeEditor.d.ts +5 -11
- package/esm/SimpleAttributeEditor/SimpleAttributeEditor.test.js +19 -6
- package/esm/SimpleDropDownSelector/SimpleDropDownSelector.d.ts +2 -3
- package/esm/SimpleInput/SimpleInput.test.js +2 -2
- package/esm/SimpleMatchRulesBlock/SimpleMatchRulesBlock.d.ts +2 -2
- package/esm/SmallIconButton/index.d.ts +4 -5
- package/esm/SourceItem/SourceItem.spec.js +2 -2
- package/esm/SourceSystemsSelector/SourceSystemsSelector.test.js +2 -2
- package/esm/StepNavigation/StepNavigation.spec.js +2 -2
- package/esm/TableWithBars/components/NumberCellValueRenderer/NumberCellValueRenderer.test.js +2 -2
- package/esm/TagsEditor/TagsEditor.js +2 -2
- package/esm/TagsEditor/TagsEditor.test.js +18 -2
- package/esm/TenantsDropDownSelector/TenantsDropDownSelector.spec.js +2 -2
- package/esm/TextEditor/TextEditor.test.js +2 -2
- package/esm/TimestampEditor/TimestampEditor.test.js +2 -2
- package/esm/TransitiveMatchBlock/TransitiveMatchBlock.d.ts +2 -2
- package/esm/TreeChart/TreeChart.test.js +2 -2
- package/esm/TypeaheadEditor/TypeaheadEditor.js +34 -21
- package/esm/TypeaheadEditor/TypeaheadEditor.test.js +23 -2
- package/esm/UploadFileButton/UploadFileButton.spec.js +2 -2
- package/esm/UploadImageDialog/UploadImageDialog.specs.js +2 -2
- package/esm/UploadImageDialog/components/SelectImageButton/SelectImageButton.specs.js +2 -2
- package/esm/UserSelector/UserSelector.specs.js +2 -2
- package/esm/VerticalHeadingsTable/types.d.ts +0 -1
- package/esm/ViewMoreToggle/ViewMoreToggle.test.js +2 -2
- package/esm/constants/modeOptions.d.ts +0 -1
- package/esm/contexts/AllwaysVisibleAttributesContext/index.d.ts +0 -1
- package/esm/contexts/CollaborationContext/CollaborationContextProvider.test.js +2 -2
- package/esm/contexts/CollaborationContext/index.d.ts +7 -7
- package/esm/contexts/HiddenAttributesContext/index.d.ts +0 -1
- package/esm/contexts/MaskedAttributesContext/context.js +2 -2
- package/esm/contexts/MdmModuleContext/hooks.d.ts +5 -4
- package/esm/contexts/ProfileTablesContext/index.d.ts +0 -1
- package/esm/contexts/ScrollToElementContext/index.d.ts +2 -2
- package/esm/contexts/WorkflowTasksContext/index.d.ts +2 -2
- package/esm/features/activity-log/ActivityExportButton/ActivityExportButton.specs.js +2 -2
- package/esm/features/activity-log/ActivityFilterEditor/ActivityFilterEditor.specs.js +2 -2
- package/esm/features/activity-log/ActivityFilterEditor/components/SourceSelector/SourceSelector.specs.js +2 -2
- package/esm/features/activity-log/ActivityLog/ActivityLog.test.js +2 -2
- package/esm/features/activity-log/EntityRecord/EntityRecord.test.js +2 -2
- package/esm/features/activity-log/hooks/useActivitiesLoader.js +2 -2
- package/esm/features/activity-log/hooks/useProfileActivitiesLoader.js +2 -2
- package/esm/features/activity-log/utils/activities.d.ts +1 -1
- package/esm/features/crosswalks/AttributesTable/IntegrationAttributesTable.test.js +2 -2
- package/esm/features/crosswalks/AttributesTable/components/AttributeValuesRenderer/AttributeValuesRenderer.d.ts +0 -1
- package/esm/features/crosswalks/AttributesTable/components/WinnerSourcesRenderer/WinnerSourcesRenderer.test.js +2 -2
- package/esm/features/crosswalks/AttributesTable/types.d.ts +0 -1
- package/esm/features/crosswalks/ColoredBlock/ColoredBlock.d.ts +1 -1
- package/esm/features/crosswalks/CrosswalkDateEditor/IntegrationCrosswalkDateEditor.test.js +2 -2
- package/esm/features/crosswalks/hooks/useAttributeActions.js +2 -2
- package/esm/features/crosswalks/hooks/useAttributeActions.test.js +2 -2
- package/esm/features/crosswalks/hooks/useCrosswalkActions.test.js +2 -2
- package/esm/features/graph/DataModelGraph/hooks/useDataModelGraphAppearance.test.js +2 -2
- package/esm/features/graph/contexts/SigmaCustomRenderersContext.d.ts +0 -1
- package/esm/features/graph/hooks/useSigmaCustomRenderers.d.ts +0 -1
- package/esm/features/graph/rendering/canvas/hover.d.ts +1 -1
- package/esm/features/graph/rendering/canvas/label.d.ts +1 -1
- package/esm/features/graph/rendering/canvas/labelBackground.d.ts +1 -1
- package/esm/features/graph/rendering/canvas/nodeArc.d.ts +3 -3
- package/esm/features/graph/rendering/canvas/selfRelationLoop.d.ts +1 -1
- package/esm/features/history/ContributorsPanel/ContributorsPanel.specs.js +2 -2
- package/esm/features/history/ContributorsPanel/components/ContributorItem/ContributorItem.specs.js +2 -2
- package/esm/features/history/HistoryActivitySelector/HistoryActivitySelector.specs.js +2 -2
- package/esm/features/history/HistoryFilterButton/HistoryFilterButton.test.js +2 -2
- package/esm/features/history/HistoryGraph/HistoryGraph.d.ts +2 -2
- package/esm/features/history/HistoryGraph/HistoryGraph.specs.js +2 -2
- package/esm/features/history/HistoryGraph/helpers.d.ts +1 -1
- package/esm/features/history/HistoryMenuButton/HistoryMenuButton.specs.js +2 -2
- package/esm/features/history/HistoryTree/HistoryTree.js +5 -1
- package/esm/features/history/HistoryTree/HistoryTree.specs.js +2 -2
- package/esm/features/history/ProfileBandHistory/ProfileBandHistory.test.js +2 -2
- package/esm/features/history/hooks/useHistory.test.js +2 -2
- package/esm/features/history/hooks/useHistorySlice.test.js +2 -2
- package/esm/features/history/hooks/useHistoryTree.test.js +2 -2
- package/esm/features/history/types.d.ts +1 -2
- package/esm/features/history/types.js +1 -1
- package/esm/features/workflow/AddWorkflowDialog/AddWorkflowDialog.spec.js +2 -2
- package/esm/features/workflow/AssigneeSelector/AssigneeSelector.spec.js +2 -2
- package/esm/features/workflow/AttributesChanges/helpers/merge.d.ts +1 -1
- package/esm/features/workflow/DueDateField/DueDateField.spec.js +2 -2
- package/esm/features/workflow/PrioritySelector/PrioritySelector.spec.js +2 -2
- package/esm/features/workflow/ReassignButton/ReassignButton.spec.js +2 -2
- package/esm/features/workflow/TaskActionButtons/TaskActionButtons.spec.js +2 -2
- package/esm/features/workflow/TaskActions/TaskActions.spec.js +2 -2
- package/esm/features/workflow/WorkflowComments/WorkflowCommments.spec.js +2 -2
- package/esm/features/workflow/WorkflowTaskCard/WorkflowTaskCard.d.ts +0 -1
- package/esm/features/workflow/WorkflowTaskCard/WorkflowTaskCard.test.js +2 -2
- package/esm/features/workflow/WorkflowTaskCard/components/DataChangeRequestTaskCard/DataChangeRequestTaskCard.spec.js +2 -2
- package/esm/features/workflow/WorkflowTaskCard/components/GenericWorkflowTaskCard/GenericWorkflowTaskCard.spec.js +2 -2
- package/esm/features/workflow/WorkflowTaskCard/components/PotentialMatchTaskCard/PotentialMatchTaskCard.spec.js +2 -2
- package/esm/features/workflow/helpers/common.d.ts +1 -1
- package/esm/features/workflow/hooks/useChangeRequest.specs.js +2 -2
- package/esm/features/workflow/hooks/useWorkflowColor.d.ts +1 -1
- package/esm/features/workflow/hooks/useWorkflowDueDate.d.ts +1 -1
- package/esm/features/workflow/hooks/useWorkflowPriority.d.ts +1 -1
- package/esm/features/workflow/hooks/useWorkflowTasks.d.ts +1 -1
- package/esm/helpers/basicTable.d.ts +1 -1
- package/esm/helpers/customScript.test.js +2 -2
- package/esm/hooks/useAPI/API.js +2 -2
- package/esm/hooks/useAPI/useAPI.d.ts +1 -1
- package/esm/hooks/useAPI/useAPI.test.js +2 -2
- package/esm/hooks/useChartTooltipState/useChartTooltipState.d.ts +1 -1
- package/esm/hooks/useCollaboration/useCollaboration.specs.js +2 -2
- package/esm/hooks/useCommentsEntitiesMap/useCommentsEntitiesMap.specs.js +2 -2
- package/esm/hooks/useCustomScripts/useCustomScripts.test.js +2 -2
- package/esm/hooks/useFilterAutoFocus/useFilterAutoFocus.d.ts +0 -1
- package/esm/hooks/useIsMountedRef/useIsMountedRef.d.ts +0 -1
- package/esm/hooks/useLayoutResetter/useLayoutResetter.d.ts +0 -1
- package/esm/hooks/useLayoutResetter/useLayoutResetter.test.js +2 -2
- package/esm/hooks/useMarkers/referenceHelpers.js +18 -5
- package/esm/hooks/useMarkers/referenceHelpers.test.js +2 -2
- package/esm/hooks/useMarkers/resolveHelpers.js +17 -19
- package/esm/hooks/usePagingSimulator/helpers.js +2 -2
- package/esm/hooks/usePagingSimulator/helpers.test.js +2 -2
- package/esm/hooks/usePrevious/usePrevious.d.ts +1 -1
- package/esm/hooks/useReadableSearchState/useReadableSearchState.test.js +2 -2
- package/esm/hooks/useRelationsLoader/useRelationsLoader.specs.js +2 -2
- package/esm/hooks/useSavedSearchesRequest/helpers.js +2 -2
- package/esm/hooks/useSavedSearchesRequest/useSavedSearchesRequest.d.ts +0 -1
- package/esm/hooks/useSavedSearchesRequest/useSavedSearchesRequest.js +2 -2
- package/esm/hooks/useSavedSearchesRequest/useSavedSearchesRequest.test.js +2 -2
- package/esm/hooks/useSavedStateForEntityType/useSavedStateForEntityType.test.js +2 -2
- package/esm/hooks/useScrollToAttributeError/useScrollToAttributeError.test.js +2 -2
- package/esm/hooks/useSnackbar/useSnackbar.test.js +2 -2
- package/esm/hooks/useUsers/useUsers.specs.js +2 -2
- package/esm/test-utils/index.js +2 -2
- package/package.json +2 -2
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -32,8 +32,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
35
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
36
|
-
return g =
|
|
35
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
36
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
37
37
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
38
38
|
function step(op) {
|
|
39
39
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
package/cjs/SettingsMenu/components/SettingsMenuItemRenderer/SettingsMenuItemRenderer.test.js
CHANGED
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g =
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g =
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ContextType, ReactElement } from 'react';
|
|
2
2
|
import { SimpleAttributeValue, AttributeType, Mode, AttributeError, PrimitiveValue } from '@reltio/mdm-sdk';
|
|
3
3
|
import { AdditionalControlsRenderer } from '../types';
|
|
4
|
+
import { ScrollToElementContext } from '../contexts/ScrollToElementContext';
|
|
4
5
|
declare const _default: React.ForwardRefExoticComponent<Omit<{
|
|
5
6
|
className?: string;
|
|
6
7
|
attributeValue: SimpleAttributeValue;
|
|
7
8
|
attributeType: AttributeType;
|
|
8
9
|
isReltioCrosswalk?: boolean;
|
|
9
|
-
state: "
|
|
10
|
+
state: "deleted" | "edited";
|
|
10
11
|
mode: Mode;
|
|
11
12
|
onAddOneMore?: () => void;
|
|
12
13
|
onDeleteAttribute?: (attribute: {
|
|
@@ -20,16 +21,9 @@ declare const _default: React.ForwardRefExoticComponent<Omit<{
|
|
|
20
21
|
silent?: boolean;
|
|
21
22
|
}) => void;
|
|
22
23
|
onDeactivateError: (errorId: string) => void;
|
|
23
|
-
additionalControlsRenderer?: (props: AdditionalControlsRenderer<SimpleAttributeValue>) =>
|
|
24
|
+
additionalControlsRenderer?: (props: AdditionalControlsRenderer<SimpleAttributeValue>) => ReactElement;
|
|
24
25
|
ownError?: AttributeError;
|
|
25
|
-
highlightedError?:
|
|
26
|
-
element: string | AttributeType | AttributeError;
|
|
27
|
-
type: import("../contexts/ScrollToElementContext").ScrollType;
|
|
28
|
-
highlightError?: (element: AttributeError) => void;
|
|
29
|
-
highlightAttribute?: (element: AttributeType) => void;
|
|
30
|
-
highlightView?: (element: string) => void;
|
|
31
|
-
scrollIntoRef: (ref: React.Ref<HTMLDivElement>) => void;
|
|
32
|
-
};
|
|
26
|
+
highlightedError?: ContextType<typeof ScrollToElementContext>;
|
|
33
27
|
isEmptyEditor?: boolean;
|
|
34
28
|
} & Partial<{
|
|
35
29
|
[x: string]: any;
|
|
@@ -43,8 +43,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
46
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
47
|
-
return g =
|
|
46
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
47
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
48
48
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
49
49
|
function step(op) {
|
|
50
50
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -69,6 +69,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
69
69
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
73
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
74
|
+
if (ar || !(i in from)) {
|
|
75
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
76
|
+
ar[i] = from[i];
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
80
|
+
};
|
|
72
81
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
73
82
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
74
83
|
};
|
|
@@ -365,11 +374,15 @@ describe('SimpleAttributeEditor', function () {
|
|
|
365
374
|
mode: mdm_sdk_1.Mode.Editing,
|
|
366
375
|
onChangeAttribute: jest.fn()
|
|
367
376
|
};
|
|
368
|
-
var setUp = function (
|
|
369
|
-
|
|
370
|
-
var
|
|
371
|
-
|
|
377
|
+
var setUp = function () {
|
|
378
|
+
var args_1 = [];
|
|
379
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
380
|
+
args_1[_i] = arguments[_i];
|
|
381
|
+
}
|
|
382
|
+
return __awaiter(void 0, __spreadArray([], args_1, true), void 0, function (props, _a) {
|
|
372
383
|
var user, renderResult;
|
|
384
|
+
if (props === void 0) { props = {}; }
|
|
385
|
+
var _b = _a === void 0 ? {} : _a, _c = _b.isProfilePerspective, isProfilePerspective = _c === void 0 ? true : _c;
|
|
373
386
|
return __generator(this, function (_d) {
|
|
374
387
|
switch (_d.label) {
|
|
375
388
|
case 0:
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}) => React.JSX.Element>;
|
|
2
|
+
import { DropDownSelector } from '../DropDownSelector';
|
|
3
|
+
declare const _default: React.MemoExoticComponent<(props: React.ComponentProps<typeof DropDownSelector>) => React.JSX.Element>;
|
|
5
4
|
export default _default;
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MatchRule, MatchRuleSummary } from '@reltio/mdm-sdk';
|
|
3
3
|
export declare const MatchRuleBadgeWithTooltip: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
-
tooltipTitle?:
|
|
5
|
-
tooltipPlacement?: "
|
|
4
|
+
tooltipTitle?: import("@mui/material").TooltipProps["title"];
|
|
5
|
+
tooltipPlacement?: import("@mui/material").TooltipProps["placement"];
|
|
6
6
|
showForDisabled?: boolean;
|
|
7
7
|
} & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onClick"> & {
|
|
8
8
|
expanded?: boolean;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SmallIconButton } from './SmallIconButton';
|
|
3
2
|
declare const SmallIconButtonWithTooltip: import("react").ForwardRefExoticComponent<Omit<{
|
|
4
|
-
tooltipTitle?: import("
|
|
5
|
-
tooltipPlacement?: "
|
|
3
|
+
tooltipTitle?: import("@mui/material").TooltipProps["title"];
|
|
4
|
+
tooltipPlacement?: import("@mui/material").TooltipProps["placement"];
|
|
6
5
|
showForDisabled?: boolean;
|
|
7
6
|
} & Omit<Omit<import("@mui/material").IconButtonProps, "size"> & {
|
|
8
7
|
iconClassName?: string;
|
|
9
|
-
icon?:
|
|
10
|
-
size?:
|
|
8
|
+
icon?: React.ElementType;
|
|
9
|
+
size?: keyof typeof import("./constants").SIZES;
|
|
11
10
|
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
12
11
|
export { SmallIconButton, SmallIconButtonWithTooltip };
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
package/cjs/TableWithBars/components/NumberCellValueRenderer/NumberCellValueRenderer.test.js
CHANGED
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g =
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -43,8 +43,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
46
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
47
|
-
return g =
|
|
46
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
47
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
48
48
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
49
49
|
function step(op) {
|
|
50
50
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -174,6 +174,22 @@ describe('TagsEditor tests', function () {
|
|
|
174
174
|
}
|
|
175
175
|
});
|
|
176
176
|
}); });
|
|
177
|
+
it('should catch and handle error in getFacetedAttributeData', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
178
|
+
var user;
|
|
179
|
+
return __generator(this, function (_a) {
|
|
180
|
+
switch (_a.label) {
|
|
181
|
+
case 0:
|
|
182
|
+
jest.clearAllMocks();
|
|
183
|
+
mdm_sdk_1.getFacetedAttributeData.mockRejectedValue({ errorCode: 403, errorMessage: 'Access is denied' });
|
|
184
|
+
user = setUp().user;
|
|
185
|
+
return [4 /*yield*/, user.type(react_2.screen.getByRole('textbox'), 'new value')];
|
|
186
|
+
case 1:
|
|
187
|
+
_a.sent();
|
|
188
|
+
expect(react_2.screen.queryByRole('menuitem')).not.toBeInTheDocument();
|
|
189
|
+
return [2 /*return*/];
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}); });
|
|
177
193
|
it('should call onChange with correct params after click to suggestion', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
178
194
|
var onChange, user;
|
|
179
195
|
return __generator(this, function (_a) {
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MatchRuleSummary, TransitiveMatchRule as TransitiveMatchRuleType } from '@reltio/mdm-sdk';
|
|
3
3
|
export declare const MatchRuleBadgeWithTooltip: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
-
tooltipTitle?:
|
|
5
|
-
tooltipPlacement?: "
|
|
4
|
+
tooltipTitle?: import("@mui/material").TooltipProps["title"];
|
|
5
|
+
tooltipPlacement?: import("@mui/material").TooltipProps["placement"];
|
|
6
6
|
showForDisabled?: boolean;
|
|
7
7
|
} & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "onClick"> & {
|
|
8
8
|
expanded?: boolean;
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -43,8 +43,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
46
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
47
|
-
return g =
|
|
46
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
47
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
48
48
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
49
49
|
function step(op) {
|
|
50
50
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -136,44 +136,57 @@ var TypeaheadEditor = function (_a) {
|
|
|
136
136
|
var showMoreButton = suggestions.length > displayedSuggestions.length;
|
|
137
137
|
var value = multiple === true && !(0, ramda_1.isNil)(valueProp) ? (0, mdm_sdk_1.wrapInArrayIfNeeded)(valueProp) : valueProp;
|
|
138
138
|
var isFocused = function () { var _a; return ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('input')) === document.activeElement; };
|
|
139
|
-
var fetchSuggestions = (0, react_1.useCallback)(function (_a) {
|
|
140
|
-
var
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
139
|
+
var fetchSuggestions = (0, react_1.useCallback)(function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
140
|
+
var response, error_1;
|
|
141
|
+
var value = _b.value;
|
|
142
|
+
return __generator(this, function (_c) {
|
|
143
|
+
switch (_c.label) {
|
|
144
|
+
case 0:
|
|
145
|
+
response = [];
|
|
146
|
+
_c.label = 1;
|
|
147
|
+
case 1:
|
|
148
|
+
_c.trys.push([1, 3, , 4]);
|
|
149
|
+
return [4 /*yield*/, safePromise(getSuggestions(value.trim(), pageSizeForRequest))];
|
|
150
|
+
case 2:
|
|
151
|
+
response = _c.sent();
|
|
152
|
+
return [3 /*break*/, 4];
|
|
153
|
+
case 3:
|
|
154
|
+
error_1 = _c.sent();
|
|
155
|
+
console.warn(error_1);
|
|
156
|
+
return [3 /*break*/, 4];
|
|
157
|
+
case 4:
|
|
158
|
+
setSuggestions(response);
|
|
159
|
+
setPlaceholderVisibility((0, ramda_1.isEmpty)(response) && isFocused());
|
|
160
|
+
return [2 /*return*/];
|
|
161
|
+
}
|
|
153
162
|
});
|
|
154
|
-
}, [safePromise, getSuggestions, pageSizeForRequest]);
|
|
163
|
+
}); }, [safePromise, getSuggestions, pageSizeForRequest]);
|
|
155
164
|
var debouncedFetchSuggestions = (0, react_1.useCallback)((0, mdm_sdk_1.debounce)(fetchSuggestions, FETCH_DEBOUNCE_INTERVAL), [
|
|
156
165
|
getSuggestions
|
|
157
166
|
]);
|
|
158
167
|
var handleLoadMoreSuggestions = (0, react_1.useCallback)(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
159
|
-
var response_1;
|
|
168
|
+
var response_1, error_2;
|
|
160
169
|
return __generator(this, function (_a) {
|
|
161
170
|
switch (_a.label) {
|
|
162
171
|
case 0:
|
|
163
172
|
setNextPageIsLoading(true);
|
|
164
173
|
_a.label = 1;
|
|
165
174
|
case 1:
|
|
166
|
-
_a.trys.push([1, ,
|
|
175
|
+
_a.trys.push([1, 3, 4, 5]);
|
|
167
176
|
return [4 /*yield*/, getSuggestions(inputValue, pageSizeForRequest, pageNumber + 1)];
|
|
168
177
|
case 2:
|
|
169
178
|
response_1 = _a.sent();
|
|
170
179
|
setSuggestions(function (prevSuggestions) { return __spreadArray(__spreadArray([], prevSuggestions, true), response_1, true); });
|
|
171
180
|
setPageNumber(function (prevPageNumber) { return prevPageNumber + 1; });
|
|
172
|
-
return [3 /*break*/,
|
|
181
|
+
return [3 /*break*/, 5];
|
|
173
182
|
case 3:
|
|
183
|
+
error_2 = _a.sent();
|
|
184
|
+
console.warn(error_2);
|
|
185
|
+
return [3 /*break*/, 5];
|
|
186
|
+
case 4:
|
|
174
187
|
setNextPageIsLoading(false);
|
|
175
188
|
return [7 /*endfinally*/];
|
|
176
|
-
case
|
|
189
|
+
case 5: return [2 /*return*/];
|
|
177
190
|
}
|
|
178
191
|
});
|
|
179
192
|
}); }, [getSuggestions, inputValue, pageNumber, pageSizeForRequest]);
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -222,6 +222,27 @@ describe('TypeaheadEditor', function () {
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
}); });
|
|
225
|
+
it('should catch error in getSuggestions', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
226
|
+
var getSuggestions, user, input;
|
|
227
|
+
return __generator(this, function (_a) {
|
|
228
|
+
switch (_a.label) {
|
|
229
|
+
case 0:
|
|
230
|
+
getSuggestions = function () { return Promise.reject({ errorCode: 403, errorMessage: 'Access is denied' }); };
|
|
231
|
+
user = setUp(__assign(__assign({}, defaultSingleProps), { getSuggestions: getSuggestions })).user;
|
|
232
|
+
input = react_2.screen.getByRole('textbox');
|
|
233
|
+
return [4 /*yield*/, user.click(input)];
|
|
234
|
+
case 1:
|
|
235
|
+
_a.sent();
|
|
236
|
+
return [4 /*yield*/, user.type(input, 'e')];
|
|
237
|
+
case 2:
|
|
238
|
+
_a.sent();
|
|
239
|
+
return [4 /*yield*/, react_2.screen.findByText('No results found')];
|
|
240
|
+
case 3:
|
|
241
|
+
_a.sent();
|
|
242
|
+
return [2 /*return*/];
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
}); });
|
|
225
246
|
describe('single mode', function () {
|
|
226
247
|
it('should set input value after click on suggestion item', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
227
248
|
var user, input;
|
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g =
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g =
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|