@reltio/components 1.4.1916 → 1.4.1918
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/ActionsPanel/ActionsPanel.d.ts +1 -0
- package/cjs/ActionsPanel/types.d.ts +1 -0
- package/cjs/ArrowExpandButton/ArrowExpandButton.d.ts +1 -0
- package/cjs/AsyncReactSelect/AsyncReactSelect.d.ts +1 -0
- package/cjs/AttributeGroupIcon/AttributeGroupIcon.d.ts +1 -0
- package/cjs/AttributeListItem/components/AttrTypeIcon/AttrTypeIcon.d.ts +1 -0
- package/cjs/AttributeSelector/AttributeSelector.d.ts +1 -0
- package/cjs/AttributeTitle/AttributeTitle.d.ts +1 -0
- package/cjs/AttributesErrorsPanel/AttributesErrorsPanel.d.ts +1 -0
- package/cjs/AttributesFiltersButton/components/ActionButtons/ActionButtons.d.ts +1 -0
- package/cjs/AttributesView/AttributesView.d.ts +1 -0
- package/cjs/AvatarWithFallback/AvatarWithFallback.d.ts +1 -0
- package/cjs/BarChart/BarChart.d.ts +1 -0
- package/cjs/BasicAttributeSelector/components/AttributeTitle/AttributeTitle.d.ts +1 -0
- package/cjs/BasicViewHeader/BasicViewHeader.d.ts +1 -0
- package/cjs/BooleanRadioEditor/BooleanRadioEditor.d.ts +1 -0
- package/cjs/BooleanRadioEditor/components/BooleanEditor/BooleanEditor.d.ts +1 -0
- package/cjs/BubbleChart/BubbleChart.d.ts +1 -0
- package/cjs/CardinalityMessage/CardinalityMessage.d.ts +1 -0
- package/cjs/ChartLegend/ChartLegend.d.ts +1 -0
- package/cjs/ChartTooltip/ChartTooltip.d.ts +1 -0
- package/cjs/CloudChart/CloudChart.d.ts +1 -0
- package/cjs/CollaborationItem/components/Avatar/Avatar.d.ts +1 -0
- package/cjs/CollaborationItem/components/Comment/Comment.d.ts +1 -0
- package/cjs/CollaborationItem/components/CommentContent/CommentContent.d.ts +1 -0
- package/cjs/CollaborationItem/components/CommentTarget/CommentTarget.d.ts +1 -0
- package/cjs/CollaborationItem/components/TextFieldWithMentions/TextFieldWithMentions.d.ts +1 -0
- package/cjs/CollapseRowButton/CollapseRowButton.d.ts +1 -0
- package/cjs/ColorBar/ColorBar.d.ts +1 -0
- package/cjs/ColumnsSettings/ColumnsSettings.d.ts +1 -0
- package/cjs/ColumnsSettings/components/ColumnsSettingsPopup/ColumnsSettingsPopup.d.ts +1 -0
- package/cjs/CommentsContainer/CommentsContainer.d.ts +1 -0
- package/cjs/ConfirmDeleteDialog/ConfirmDeleteDialog.d.ts +1 -0
- package/cjs/ConnectionEditor/ConnectionEditor.d.ts +1 -0
- package/cjs/ControlAttributeIcon/ControlAttributeIcon.d.ts +1 -0
- package/cjs/CreatableReactSelect/CreatableReactSelect.d.ts +1 -0
- package/cjs/CustomDateRangeEditor/CustomDateRangeEditor.d.ts +1 -0
- package/cjs/DataTenantBadge/DataTenantBadge.d.ts +1 -0
- package/cjs/DateEditor/DateEditor.d.ts +1 -0
- package/cjs/DateIntervalSelector/DateIntervalSelector.d.ts +1 -0
- package/cjs/DeleteButton/DeleteButton.d.ts +1 -0
- package/cjs/DependentLookupEditor/DependentLookupEditor.d.ts +1 -0
- package/cjs/DescriptionIcon/DescriptionIcon.d.ts +1 -0
- package/cjs/Drawer/Drawer.d.ts +1 -0
- package/cjs/EditModeAttributesView/EditModeAttributesView.d.ts +1 -0
- package/cjs/EntityAvatar/EntityAvatar.d.ts +1 -0
- package/cjs/EntityCreator/EntityCreator.d.ts +1 -0
- package/cjs/EntitySelector/EntitySelector.d.ts +1 -0
- package/cjs/EntitySelector/components/SingleValue/SingleValue.d.ts +1 -0
- package/cjs/EntityTypeBadge/EntityTypeBadge.d.ts +1 -0
- package/cjs/EntityTypeIcon/EntityTypeIcon.d.ts +1 -0
- package/cjs/ErrorMessage/ErrorMessage.d.ts +1 -0
- package/cjs/ErrorPopup/ErrorPopup.d.ts +1 -0
- package/cjs/ExpandableSearchInput/ExpandableSearchInput.d.ts +1 -0
- package/cjs/FileTypeEditor/FileTypeEditor.d.ts +1 -0
- package/cjs/FilterButton/FilterButton.d.ts +1 -0
- package/cjs/FilterValueEditor/FilterValueEditor.d.ts +1 -0
- package/cjs/GaugeChart/GaugeChart.d.ts +13 -0
- package/cjs/GaugeChart/GaugeChart.js +87 -0
- package/cjs/GaugeChart/GaugeChart.test.d.ts +1 -0
- package/cjs/GaugeChart/GaugeChart.test.js +193 -0
- package/cjs/GaugeChart/constants.d.ts +6 -0
- package/cjs/GaugeChart/constants.js +9 -0
- package/cjs/GaugeChart/helpers.d.ts +9 -0
- package/cjs/GaugeChart/helpers.js +22 -0
- package/cjs/GaugeChart/helpers.test.d.ts +1 -0
- package/cjs/GaugeChart/helpers.test.js +43 -0
- package/cjs/GaugeChart/index.d.ts +1 -0
- package/cjs/GaugeChart/index.js +5 -0
- package/cjs/GaugeChart/styles.d.ts +1 -0
- package/cjs/GaugeChart/styles.js +44 -0
- package/cjs/GaugeChart/types.d.ts +5 -0
- package/cjs/GaugeChart/types.js +2 -0
- package/cjs/HOCs/withFilter/components/ColumnFilter/ColumnFilter.d.ts +1 -0
- package/cjs/HOCs/withFilter/components/FilterChip/FilterChip.d.ts +1 -0
- package/cjs/HOCs/withReactSelectMuiSkin/components/ReactSelectClearIndicator/ReactSelectClearIndicator.d.ts +1 -0
- package/cjs/HOCs/withReactSelectMuiSkin/helpers.d.ts +1 -0
- package/cjs/HOCs/withReactSelectMuiSkin/withReactSelectMuiSkin.d.ts +1 -0
- package/cjs/HierarchicalAttributeTooltip/HierarchicalAttributeTooltip.d.ts +1 -0
- package/cjs/HierarchyNodeTitle/HierarchyNodeTitle.d.ts +1 -0
- package/cjs/Highlighter/Highlighter.d.ts +1 -0
- package/cjs/IgnoreButton/IgnoreButton.d.ts +1 -0
- package/cjs/ImageActionsOverlay/components/CheckedIcon/CheckedIcon.d.ts +1 -0
- package/cjs/ImageAttributesGallery/ImageAttributesGallery.d.ts +1 -0
- package/cjs/ImageAttributesGallery/components/GalleryView/GalleryView.d.ts +1 -0
- package/cjs/ImageAttributesGallery/components/HeaderLeft/HeaderLeft.d.ts +1 -0
- package/cjs/ImageAttributesGallery/components/HeaderRight/HeaderRight.d.ts +1 -0
- package/cjs/ImageAttributesLine/types.d.ts +1 -0
- package/cjs/ImageAttributesLineEditor/ImageAttributesLineEditor.d.ts +1 -0
- package/cjs/ImageDetailsView/ImageDetailsView.d.ts +1 -0
- package/cjs/ImageDetailsView/components/ImageDetailsViewCarousel/ImageDetailsViewCarousel.d.ts +1 -0
- package/cjs/ImageDetailsView/components/ImageDetailsViewSidebar/ImageDetailsViewSidebar.d.ts +1 -0
- package/cjs/ImageDetailsView/components/MetaInfo/MetaInfo.d.ts +1 -0
- package/cjs/ImageDetailsView/components/MetaInfoForm/MetaInfoForm.d.ts +1 -0
- package/cjs/ImageDetailsView/components/MetaInfoHeader/MetaInfoHeader.d.ts +1 -0
- package/cjs/ImageDetailsView/components/MetaInfoList/MetaInfoList.d.ts +1 -0
- package/cjs/ImageDetailsView/components/Thumbnails/Thumbnails.d.ts +1 -0
- package/cjs/InlineAttributesList/InlineAttributesList.d.ts +1 -0
- package/cjs/InlineAttributesPager/InlineAttributesPager.d.ts +1 -0
- package/cjs/InlineAttributesPager/components/InlineImageAttributesBlock/InlineImageAttributesBlock.d.ts +1 -0
- package/cjs/InlineAttributesPager/components/InlineNestedAttributesBlock/InlineNestedAttributesBlock.d.ts +1 -0
- package/cjs/InlineAttributesPager/components/InlineReferenceAttributesBlock/InlineReferenceAttributesBlock.d.ts +1 -0
- package/cjs/InlineAttributesPager/components/InlineSimpleAttributesBlock/InlineSimpleAttributesBlock.d.ts +1 -0
- package/cjs/InlineComplexAttribute/components/CrosswalkIcon/CrosswalkIcon.d.ts +1 -0
- package/cjs/InlineImageAttribute/InlineImageAttribute.d.ts +1 -0
- package/cjs/InlineNestedAttribute/InlineNestedAttribute.d.ts +1 -0
- package/cjs/InlineReferenceAttribute/InlineReferenceAttribute.d.ts +1 -0
- package/cjs/InlineSimpleAttribute/InlineSimpleAttribute.d.ts +1 -0
- package/cjs/LightArrowTooltip/LightArrowTooltip.d.ts +1 -0
- package/cjs/LineChart/LineChart.d.ts +1 -0
- package/cjs/LinearLoadIndicator/LinearLoadIndicator.d.ts +1 -0
- package/cjs/LoadingSpinner/LoadingSpinner.d.ts +1 -0
- package/cjs/LogicOperator/LogicOperator.d.ts +1 -0
- package/cjs/LookupEditor/LookupEditor.d.ts +1 -0
- package/cjs/MapChart/MapChart.d.ts +1 -0
- package/cjs/MapChart/components/Legend/Legend.d.ts +1 -0
- package/cjs/Marginator/Marginator.d.ts +1 -0
- package/cjs/MaskingSwitcher/MaskingSwitcher.d.ts +1 -0
- package/cjs/MatchRulesBlock/MatchRulesBlock.d.ts +1 -0
- package/cjs/MatchRulesSelector/MatchRulesSelector.d.ts +1 -0
- package/cjs/MatchRulesTooltip/MatchRulesTooltip.d.ts +1 -0
- package/cjs/MetadataTypesSelector/components/ListLabel/ListLabel.d.ts +1 -0
- package/cjs/MoreAttributesButton/MoreAttributesButton.d.ts +1 -0
- package/cjs/MultipleInput/MultipleInput.d.ts +1 -0
- package/cjs/NotMatchRule/NotMatchRule.d.ts +1 -0
- package/cjs/NumberEditor/NumberEditor.d.ts +1 -0
- package/cjs/PieChart/PieChart.d.ts +1 -0
- package/cjs/PieChart/components/ActiveShape/ActiveShape.d.ts +1 -0
- package/cjs/PinButton/PinButton.d.ts +1 -0
- package/cjs/PivotingTooltip/components/PivotingTooltipContent/PivotingTooltipContent.d.ts +1 -0
- package/cjs/ProfileBandNavigation/ProfileBandNavigation.d.ts +1 -0
- package/cjs/ProfileBandNavigation/components/ProfileBandNavigationWidget/ProfileBandNavigationWidget.d.ts +1 -0
- package/cjs/ProfileCard/components/ProfileCardContent/ProfileCardContent.d.ts +1 -0
- package/cjs/ProfileCard/components/ProfileCardPlaceholder/ProfileCardPlaceholder.d.ts +1 -0
- package/cjs/ProfilesList/ProfilesList.d.ts +1 -0
- package/cjs/QueryBuilderRow/components/ReadOnlyFilter/ReadOnlyFilter.d.ts +1 -0
- package/cjs/QueryBuilderRow/components/ReadOnlyLogicOperator/ReadOnlyLogicOperator.d.ts +1 -0
- package/cjs/ReactSelect/ReactSelect.d.ts +1 -0
- package/cjs/ReactSelectMenuList/ReactSelectMenuList.d.ts +1 -0
- package/cjs/ReadOnlyAttributesPager/components/ImageLineRenderer/ImageLineRenderer.d.ts +1 -0
- package/cjs/ReadOnlyAttributesPager/components/MultiLineRenderer/MultiLineRenderer.d.ts +1 -0
- package/cjs/ReadOnlyAttributesPager/components/OneLineRenderer/OneLineRenderer.d.ts +1 -0
- package/cjs/ReadOnlyAttributesPager/components/SpecialRenderer/SpecialRenderer.d.ts +1 -0
- package/cjs/ReadOnlyAttributesView/ReadOnlyAttributesView.d.ts +1 -0
- package/cjs/ReadOnlyImageAttributesLine/ReadOnlyImageAttributesLine.d.ts +1 -0
- package/cjs/RelevanceScoreBadge/RelevanceScoreBadge.d.ts +1 -0
- package/cjs/ReltioMap/ReltioMap.d.ts +1 -0
- package/cjs/ReltioMap/components/TopCenterMapControls/TopCenterMapControls.d.ts +1 -0
- package/cjs/RequiredMark/RequiredMark.d.ts +1 -0
- package/cjs/Roles/Roles.d.ts +1 -0
- package/cjs/Roles/components/Role/Role.d.ts +1 -0
- package/cjs/RolesEditor/RolesEditor.d.ts +1 -0
- package/cjs/SaveSegmentDialog/SaveSegmentDialog.d.ts +1 -0
- package/cjs/ScrollableTabs/ScrollableTabs.d.ts +1 -0
- package/cjs/SearchHighlighter/SearchHighlighter.d.ts +1 -0
- package/cjs/SelectorWithOnlyOptionAutoSelect/SelectorWithOnlyOptionAutoSelect.d.ts +1 -0
- package/cjs/SettingsMenu/SettingsMenu.d.ts +1 -0
- package/cjs/ShowLess/ShowLess.d.ts +1 -0
- package/cjs/ShowMore/ShowMore.d.ts +1 -0
- package/cjs/SimpleAttribute/SimpleAttribute.d.ts +1 -0
- package/cjs/SimpleDropDownSelector/components/DropDownValue/DropDownValue.d.ts +1 -0
- package/cjs/SimpleMatchRules/SimpleMatchRules.d.ts +1 -0
- package/cjs/SourceIcon/SourceIcon.d.ts +1 -0
- package/cjs/SourceItem/SourceItem.d.ts +1 -0
- package/cjs/SourceSystemsSelector/SourceSystemsSelector.d.ts +1 -0
- package/cjs/Spacer/Spacer.d.ts +1 -0
- package/cjs/StepNavigation/StepNavigation.d.ts +1 -0
- package/cjs/StepNavigation/components/ProgressButton/ProgressButton.d.ts +1 -0
- package/cjs/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.d.ts +1 -0
- package/cjs/TableWithBars/components/NumberCellValueRenderer/NumberCellValueRenderer.d.ts +1 -0
- package/cjs/Tags/Tags.d.ts +1 -0
- package/cjs/Tags/components/Tag/Tag.d.ts +1 -0
- package/cjs/TagsEditor/TagsEditor.d.ts +1 -0
- package/cjs/TenantIcon/TenantIcon.d.ts +1 -0
- package/cjs/TenantLabel/TenantLabel.d.ts +1 -0
- package/cjs/TenantsDropDownSelector/TenantsDropDownSelector.d.ts +1 -0
- package/cjs/TimestampEditor/TimestampEditor.d.ts +1 -0
- package/cjs/TransitiveMatchRule/TransitiveMatchRule.d.ts +1 -0
- package/cjs/TransitiveMatchRulesTooltip/TransitiveMatchRulesTooltip.d.ts +1 -0
- package/cjs/TreeChart/TreeChart.d.ts +1 -0
- package/cjs/TreeChart/components/CustomizedContent/CustomizedContent.d.ts +1 -0
- package/cjs/TypeaheadEditor/TypeaheadEditor.d.ts +1 -0
- package/cjs/UploadFileButton/UploadFileButton.d.ts +1 -0
- package/cjs/UploadFileButton/components/UploadMode/UploadMode.d.ts +1 -0
- package/cjs/UploadImageDialog/UploadImageDialog.d.ts +1 -0
- package/cjs/UploadImageDialog/components/DividerWithText/DividerWithText.d.ts +1 -0
- package/cjs/UploadImageDialog/components/ErrorSnackbar/ErrorSnackbar.d.ts +1 -0
- package/cjs/UploadImageDialog/components/ImageByUrlField/ImageByUrlField.d.ts +1 -0
- package/cjs/UploadImageDialog/components/SelectImageButton/SelectImageButton.d.ts +1 -0
- package/cjs/UploadImageDialog/components/TargetBox/TargetBox.d.ts +1 -0
- package/cjs/UserSelector/UserSelector.d.ts +1 -0
- package/cjs/ValueChip/ValueChip.d.ts +1 -0
- package/cjs/VerticalDivider/VerticalDivider.d.ts +1 -0
- package/cjs/VerticalHeadingsTable/components/TableCell/TableCell.d.ts +1 -0
- package/cjs/VerticalHeadingsTable/components/TableCellWithDnd/TableCellWithDnd.d.ts +1 -0
- package/cjs/VerticalHeadingsTable/components/TableColumnDragLayer/TableColumnDragLayer.d.ts +1 -0
- package/cjs/VerticalHeadingsTable/components/TableColumnDragPreview/TableColumnDragPreview.d.ts +1 -0
- package/cjs/VerticalHeadingsTable/components/TableRow/TableRow.d.ts +1 -0
- package/cjs/VerticalHeadingsTable/components/TableRowWithDnd/TableRowWithDnd.d.ts +1 -0
- package/cjs/VerticalHeadingsTable/types.d.ts +1 -0
- package/cjs/ViewMoreToggle/ViewMoreToggle.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/ActivitiesFactory.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/CommentActivity/CommentActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/GroupActivity/GroupActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/MergeActivity/MergeActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/ObjectLabel/ObjectLabel.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/PotentialMatchActivity/PotentialMatchActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/ProfileActivity/ProfileActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/RelationActivity/RelationActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/SearchActivity/SearchActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/SimpleActivity/SimpleActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivitiesFactory/components/SynchronizationIssuesActivity/SynchronizationIssuesActivity.d.ts +1 -0
- package/cjs/features/activity-log/ActivityExportButton/ActivityExportButton.d.ts +1 -0
- package/cjs/features/activity-log/ActivityFilterButton/ActivityFilterButton.d.ts +1 -0
- package/cjs/features/activity-log/ActivityFilterEditor/ActivityFilterEditor.d.ts +1 -0
- package/cjs/features/activity-log/ActivityFilterEditor/components/ActivitySelector/ActivitySelector.d.ts +1 -0
- package/cjs/features/activity-log/ActivityFilterEditor/components/DateRangeSelector/DateRangeSelector.d.ts +1 -0
- package/cjs/features/activity-log/ActivityFilterEditor/components/EntityChangedSelectors/EntityChangedSelectors.d.ts +1 -0
- package/cjs/features/activity-log/ActivityFilterEditor/components/EntityTypesSelector/EntityTypesSelector.d.ts +1 -0
- package/cjs/features/activity-log/ActivityFilterEditor/components/SourceSelector/SourceSelector.d.ts +1 -0
- package/cjs/features/activity-log/ActivityLog/ActivityLog.d.ts +1 -0
- package/cjs/features/activity-log/ActivityLog/components/ActivityItem/ActivityItem.d.ts +1 -0
- package/cjs/features/activity-log/ActivityLog/components/GroupItem/GroupItem.d.ts +1 -0
- package/cjs/features/activity-log/ActivityLogFilter/ActivityLogFilter.d.ts +1 -0
- package/cjs/features/activity-log/EntityObject/EntityObject.d.ts +1 -0
- package/cjs/features/activity-log/EntityRecord/EntityRecord.d.ts +1 -0
- package/cjs/features/activity-log/MoreItemsLink/MoreItemsLink.d.ts +1 -0
- package/cjs/features/activity-log/PotentialMatchRecord/PotentialMatchRecord.d.ts +1 -0
- package/cjs/features/activity-log/PotentialMatchRecord/components/PotentialMatchField/PotentialMatchField.d.ts +1 -0
- package/cjs/features/activity-log/RecordUpdates/RecordUpdates.d.ts +1 -0
- package/cjs/features/activity-log/RecordUpdates/components/DeltaField/DeltaField.d.ts +1 -0
- package/cjs/features/activity-log/RelationObject/RelationObject.d.ts +1 -0
- package/cjs/features/activity-log/RelationRecord/RelationRecord.d.ts +1 -0
- package/cjs/features/activity-log/contexts/CollapsibleItemsContext.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/AttributesFactory/AttributesFactory.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/DefaultCellValueRenderer/DefaultCellValueRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/RowCellRenderer/RowCellRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/WinnerSource/WinnerSource.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/components/WinnerSourcesRenderer/WinnerSourcesRenderer.d.ts +1 -0
- package/cjs/features/crosswalks/AttributesTable/types.d.ts +1 -0
- package/cjs/features/crosswalks/CopyableValueField/CopyableValueField.d.ts +1 -0
- package/cjs/features/crosswalks/CrosswalkAttributes/CrosswalkAttributes.d.ts +1 -0
- package/cjs/features/crosswalks/CrosswalkDateEditor/CrosswalkDateEditor.d.ts +1 -0
- package/cjs/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.d.ts +1 -0
- package/cjs/features/crosswalks/CrosswalkEditor/CrosswalkEditor.d.ts +1 -0
- package/cjs/features/crosswalks/ShowDependentLink/ShowDependentLink.d.ts +1 -0
- package/cjs/features/crosswalks/SourceCrosswalksRow/SourceCrosswalksRow.d.ts +1 -0
- package/cjs/features/graph/SigmaGraphResizer/SigmaGraphResizer.d.ts +1 -0
- package/cjs/features/graph/ZoomSlider/ZoomSlider.d.ts +1 -0
- package/cjs/features/history/ContributorsPanel/ContributorsPanel.d.ts +1 -0
- package/cjs/features/history/ContributorsPanel/components/ContributorItem/ContributorItem.d.ts +1 -0
- package/cjs/features/history/DateRangeSelector/DateRangeSelector.d.ts +1 -0
- package/cjs/features/history/HistoryActivitySelector/HistoryActivitySelector.d.ts +1 -0
- package/cjs/features/history/HistoryFilterButton/HistoryFilterButton.d.ts +1 -0
- package/cjs/features/history/HistoryGraph/components/HistoryLink/HistoryLink.d.ts +1 -0
- package/cjs/features/history/HistoryHeader/HistoryHeader.d.ts +1 -0
- package/cjs/features/history/HistoryMenuButton/HistoryMenuButton.d.ts +1 -0
- package/cjs/features/history/HistoryPanelEmptyState/HistoryPanelEmptyState.d.ts +1 -0
- package/cjs/features/history/HistoryRow/HistoryRow.d.ts +1 -0
- package/cjs/features/history/HistoryTree/HistoryTree.d.ts +1 -0
- package/cjs/features/history/ProfileBandHistory/ProfileBandHistory.d.ts +1 -0
- package/cjs/features/workflow/AddWorkflowButton/AddWorkflowButton.d.ts +1 -0
- package/cjs/features/workflow/AddWorkflowDialog/AddWorkflowDialog.d.ts +1 -0
- package/cjs/features/workflow/AssigneeSelector/AssigneeSelector.d.ts +1 -0
- package/cjs/features/workflow/AttributesChanges/AttributesChanges.d.ts +1 -0
- package/cjs/features/workflow/AttributesChanges/components/DCRChangesList/DCRChangesList.d.ts +1 -0
- package/cjs/features/workflow/AttributesChanges/components/DiffRenderer/DiffRenderer.d.ts +1 -0
- package/cjs/features/workflow/AttributesChanges/components/ShowMoreLink/ShowMoreLink.d.ts +1 -0
- package/cjs/features/workflow/DueDateField/DueDateField.d.ts +1 -0
- package/cjs/features/workflow/PrioritySelector/PrioritySelector.d.ts +1 -0
- package/cjs/features/workflow/ReassignButton/ReassignButton.d.ts +1 -0
- package/cjs/features/workflow/ReassignButton/components/ReassignDialog/ReassignDialog.d.ts +1 -0
- package/cjs/features/workflow/TaskActionButtons/TaskActionButtons.d.ts +1 -0
- package/cjs/features/workflow/TaskActions/TaskActions.d.ts +1 -0
- package/cjs/features/workflow/WorkflowComments/WorkflowComments.d.ts +1 -0
- package/cjs/features/workflow/WorkflowComments/components/Comment/Comment.d.ts +1 -0
- package/cjs/features/workflow/WorkflowComments/components/ExpandedComments/ExpandedComments.d.ts +1 -0
- package/cjs/features/workflow/WorkflowTaskCard/WorkflowTaskCard.d.ts +1 -0
- package/cjs/features/workflow/WorkflowTaskCard/components/DataChangeRequestTaskCard/DataChangeRequestTaskCard.d.ts +1 -0
- package/cjs/features/workflow/WorkflowTaskCard/components/PotentialMatchTaskCard/PotentialMatchTaskCard.d.ts +1 -0
- package/cjs/features/workflow/WorkflowTaskCard/components/WorkflowTaskCardsFactory/WorkflowTaskCardsFactory.d.ts +1 -0
- package/cjs/hooks/useBasicTableCellRenderer/CellRenderer.d.ts +1 -0
- package/cjs/hooks/useLayoutResetter/useLayoutResetter.d.ts +1 -0
- package/cjs/hooks/useSnackbar/useSnackbar.d.ts +1 -0
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +6 -4
- package/cjs/test-utils/TestStylesProvider.d.ts +1 -0
- package/esm/ActionsPanel/ActionsPanel.d.ts +1 -0
- package/esm/ActionsPanel/types.d.ts +1 -0
- package/esm/ArrowExpandButton/ArrowExpandButton.d.ts +1 -0
- package/esm/AsyncReactSelect/AsyncReactSelect.d.ts +1 -0
- package/esm/AttributeGroupIcon/AttributeGroupIcon.d.ts +1 -0
- package/esm/AttributeListItem/components/AttrTypeIcon/AttrTypeIcon.d.ts +1 -0
- package/esm/AttributeSelector/AttributeSelector.d.ts +1 -0
- package/esm/AttributeTitle/AttributeTitle.d.ts +1 -0
- package/esm/AttributesErrorsPanel/AttributesErrorsPanel.d.ts +1 -0
- package/esm/AttributesFiltersButton/components/ActionButtons/ActionButtons.d.ts +1 -0
- package/esm/AttributesView/AttributesView.d.ts +1 -0
- package/esm/AvatarWithFallback/AvatarWithFallback.d.ts +1 -0
- package/esm/BarChart/BarChart.d.ts +1 -0
- package/esm/BasicAttributeSelector/components/AttributeTitle/AttributeTitle.d.ts +1 -0
- package/esm/BasicViewHeader/BasicViewHeader.d.ts +1 -0
- package/esm/BooleanRadioEditor/BooleanRadioEditor.d.ts +1 -0
- package/esm/BooleanRadioEditor/components/BooleanEditor/BooleanEditor.d.ts +1 -0
- package/esm/BubbleChart/BubbleChart.d.ts +1 -0
- package/esm/CardinalityMessage/CardinalityMessage.d.ts +1 -0
- package/esm/ChartLegend/ChartLegend.d.ts +1 -0
- package/esm/ChartTooltip/ChartTooltip.d.ts +1 -0
- package/esm/CloudChart/CloudChart.d.ts +1 -0
- package/esm/CollaborationItem/components/Avatar/Avatar.d.ts +1 -0
- package/esm/CollaborationItem/components/Comment/Comment.d.ts +1 -0
- package/esm/CollaborationItem/components/CommentContent/CommentContent.d.ts +1 -0
- package/esm/CollaborationItem/components/CommentTarget/CommentTarget.d.ts +1 -0
- package/esm/CollaborationItem/components/TextFieldWithMentions/TextFieldWithMentions.d.ts +1 -0
- package/esm/CollapseRowButton/CollapseRowButton.d.ts +1 -0
- package/esm/ColorBar/ColorBar.d.ts +1 -0
- package/esm/ColumnsSettings/ColumnsSettings.d.ts +1 -0
- package/esm/ColumnsSettings/components/ColumnsSettingsPopup/ColumnsSettingsPopup.d.ts +1 -0
- package/esm/CommentsContainer/CommentsContainer.d.ts +1 -0
- package/esm/ConfirmDeleteDialog/ConfirmDeleteDialog.d.ts +1 -0
- package/esm/ConnectionEditor/ConnectionEditor.d.ts +1 -0
- package/esm/ControlAttributeIcon/ControlAttributeIcon.d.ts +1 -0
- package/esm/CreatableReactSelect/CreatableReactSelect.d.ts +1 -0
- package/esm/CustomDateRangeEditor/CustomDateRangeEditor.d.ts +1 -0
- package/esm/DataTenantBadge/DataTenantBadge.d.ts +1 -0
- package/esm/DateEditor/DateEditor.d.ts +1 -0
- package/esm/DateIntervalSelector/DateIntervalSelector.d.ts +1 -0
- package/esm/DeleteButton/DeleteButton.d.ts +1 -0
- package/esm/DependentLookupEditor/DependentLookupEditor.d.ts +1 -0
- package/esm/DescriptionIcon/DescriptionIcon.d.ts +1 -0
- package/esm/Drawer/Drawer.d.ts +1 -0
- package/esm/EditModeAttributesView/EditModeAttributesView.d.ts +1 -0
- package/esm/EntityAvatar/EntityAvatar.d.ts +1 -0
- package/esm/EntityCreator/EntityCreator.d.ts +1 -0
- package/esm/EntitySelector/EntitySelector.d.ts +1 -0
- package/esm/EntitySelector/components/SingleValue/SingleValue.d.ts +1 -0
- package/esm/EntityTypeBadge/EntityTypeBadge.d.ts +1 -0
- package/esm/EntityTypeIcon/EntityTypeIcon.d.ts +1 -0
- package/esm/ErrorMessage/ErrorMessage.d.ts +1 -0
- package/esm/ErrorPopup/ErrorPopup.d.ts +1 -0
- package/esm/ExpandableSearchInput/ExpandableSearchInput.d.ts +1 -0
- package/esm/FileTypeEditor/FileTypeEditor.d.ts +1 -0
- package/esm/FilterButton/FilterButton.d.ts +1 -0
- package/esm/FilterValueEditor/FilterValueEditor.d.ts +1 -0
- package/esm/GaugeChart/GaugeChart.d.ts +13 -0
- package/esm/GaugeChart/GaugeChart.js +57 -0
- package/esm/GaugeChart/GaugeChart.test.d.ts +1 -0
- package/esm/GaugeChart/GaugeChart.test.js +188 -0
- package/esm/GaugeChart/constants.d.ts +6 -0
- package/esm/GaugeChart/constants.js +6 -0
- package/esm/GaugeChart/helpers.d.ts +9 -0
- package/esm/GaugeChart/helpers.js +18 -0
- package/esm/GaugeChart/helpers.test.d.ts +1 -0
- package/esm/GaugeChart/helpers.test.js +41 -0
- package/esm/GaugeChart/index.d.ts +1 -0
- package/esm/GaugeChart/index.js +1 -0
- package/esm/GaugeChart/styles.d.ts +1 -0
- package/esm/GaugeChart/styles.js +41 -0
- package/esm/GaugeChart/types.d.ts +5 -0
- package/esm/GaugeChart/types.js +1 -0
- package/esm/HOCs/withFilter/components/ColumnFilter/ColumnFilter.d.ts +1 -0
- package/esm/HOCs/withFilter/components/FilterChip/FilterChip.d.ts +1 -0
- package/esm/HOCs/withReactSelectMuiSkin/components/ReactSelectClearIndicator/ReactSelectClearIndicator.d.ts +1 -0
- package/esm/HOCs/withReactSelectMuiSkin/helpers.d.ts +1 -0
- package/esm/HOCs/withReactSelectMuiSkin/withReactSelectMuiSkin.d.ts +1 -0
- package/esm/HierarchicalAttributeTooltip/HierarchicalAttributeTooltip.d.ts +1 -0
- package/esm/HierarchyNodeTitle/HierarchyNodeTitle.d.ts +1 -0
- package/esm/Highlighter/Highlighter.d.ts +1 -0
- package/esm/IgnoreButton/IgnoreButton.d.ts +1 -0
- package/esm/ImageActionsOverlay/components/CheckedIcon/CheckedIcon.d.ts +1 -0
- package/esm/ImageAttributesGallery/ImageAttributesGallery.d.ts +1 -0
- package/esm/ImageAttributesGallery/components/GalleryView/GalleryView.d.ts +1 -0
- package/esm/ImageAttributesGallery/components/HeaderLeft/HeaderLeft.d.ts +1 -0
- package/esm/ImageAttributesGallery/components/HeaderRight/HeaderRight.d.ts +1 -0
- package/esm/ImageAttributesLine/types.d.ts +1 -0
- package/esm/ImageAttributesLineEditor/ImageAttributesLineEditor.d.ts +1 -0
- package/esm/ImageDetailsView/ImageDetailsView.d.ts +1 -0
- package/esm/ImageDetailsView/components/ImageDetailsViewCarousel/ImageDetailsViewCarousel.d.ts +1 -0
- package/esm/ImageDetailsView/components/ImageDetailsViewSidebar/ImageDetailsViewSidebar.d.ts +1 -0
- package/esm/ImageDetailsView/components/MetaInfo/MetaInfo.d.ts +1 -0
- package/esm/ImageDetailsView/components/MetaInfoForm/MetaInfoForm.d.ts +1 -0
- package/esm/ImageDetailsView/components/MetaInfoHeader/MetaInfoHeader.d.ts +1 -0
- package/esm/ImageDetailsView/components/MetaInfoList/MetaInfoList.d.ts +1 -0
- package/esm/ImageDetailsView/components/Thumbnails/Thumbnails.d.ts +1 -0
- package/esm/InlineAttributesList/InlineAttributesList.d.ts +1 -0
- package/esm/InlineAttributesPager/InlineAttributesPager.d.ts +1 -0
- package/esm/InlineAttributesPager/components/InlineImageAttributesBlock/InlineImageAttributesBlock.d.ts +1 -0
- package/esm/InlineAttributesPager/components/InlineNestedAttributesBlock/InlineNestedAttributesBlock.d.ts +1 -0
- package/esm/InlineAttributesPager/components/InlineReferenceAttributesBlock/InlineReferenceAttributesBlock.d.ts +1 -0
- package/esm/InlineAttributesPager/components/InlineSimpleAttributesBlock/InlineSimpleAttributesBlock.d.ts +1 -0
- package/esm/InlineComplexAttribute/components/CrosswalkIcon/CrosswalkIcon.d.ts +1 -0
- package/esm/InlineImageAttribute/InlineImageAttribute.d.ts +1 -0
- package/esm/InlineNestedAttribute/InlineNestedAttribute.d.ts +1 -0
- package/esm/InlineReferenceAttribute/InlineReferenceAttribute.d.ts +1 -0
- package/esm/InlineSimpleAttribute/InlineSimpleAttribute.d.ts +1 -0
- package/esm/LightArrowTooltip/LightArrowTooltip.d.ts +1 -0
- package/esm/LineChart/LineChart.d.ts +1 -0
- package/esm/LinearLoadIndicator/LinearLoadIndicator.d.ts +1 -0
- package/esm/LoadingSpinner/LoadingSpinner.d.ts +1 -0
- package/esm/LogicOperator/LogicOperator.d.ts +1 -0
- package/esm/LookupEditor/LookupEditor.d.ts +1 -0
- package/esm/MapChart/MapChart.d.ts +1 -0
- package/esm/MapChart/components/Legend/Legend.d.ts +1 -0
- package/esm/Marginator/Marginator.d.ts +1 -0
- package/esm/MaskingSwitcher/MaskingSwitcher.d.ts +1 -0
- package/esm/MatchRulesBlock/MatchRulesBlock.d.ts +1 -0
- package/esm/MatchRulesSelector/MatchRulesSelector.d.ts +1 -0
- package/esm/MatchRulesTooltip/MatchRulesTooltip.d.ts +1 -0
- package/esm/MetadataTypesSelector/components/ListLabel/ListLabel.d.ts +1 -0
- package/esm/MoreAttributesButton/MoreAttributesButton.d.ts +1 -0
- package/esm/MultipleInput/MultipleInput.d.ts +1 -0
- package/esm/NotMatchRule/NotMatchRule.d.ts +1 -0
- package/esm/NumberEditor/NumberEditor.d.ts +1 -0
- package/esm/PieChart/PieChart.d.ts +1 -0
- package/esm/PieChart/components/ActiveShape/ActiveShape.d.ts +1 -0
- package/esm/PinButton/PinButton.d.ts +1 -0
- package/esm/PivotingTooltip/components/PivotingTooltipContent/PivotingTooltipContent.d.ts +1 -0
- package/esm/ProfileBandNavigation/ProfileBandNavigation.d.ts +1 -0
- package/esm/ProfileBandNavigation/components/ProfileBandNavigationWidget/ProfileBandNavigationWidget.d.ts +1 -0
- package/esm/ProfileCard/components/ProfileCardContent/ProfileCardContent.d.ts +1 -0
- package/esm/ProfileCard/components/ProfileCardPlaceholder/ProfileCardPlaceholder.d.ts +1 -0
- package/esm/ProfilesList/ProfilesList.d.ts +1 -0
- package/esm/QueryBuilderRow/components/ReadOnlyFilter/ReadOnlyFilter.d.ts +1 -0
- package/esm/QueryBuilderRow/components/ReadOnlyLogicOperator/ReadOnlyLogicOperator.d.ts +1 -0
- package/esm/ReactSelect/ReactSelect.d.ts +1 -0
- package/esm/ReactSelectMenuList/ReactSelectMenuList.d.ts +1 -0
- package/esm/ReadOnlyAttributesPager/components/ImageLineRenderer/ImageLineRenderer.d.ts +1 -0
- package/esm/ReadOnlyAttributesPager/components/MultiLineRenderer/MultiLineRenderer.d.ts +1 -0
- package/esm/ReadOnlyAttributesPager/components/OneLineRenderer/OneLineRenderer.d.ts +1 -0
- package/esm/ReadOnlyAttributesPager/components/SpecialRenderer/SpecialRenderer.d.ts +1 -0
- package/esm/ReadOnlyAttributesView/ReadOnlyAttributesView.d.ts +1 -0
- package/esm/ReadOnlyImageAttributesLine/ReadOnlyImageAttributesLine.d.ts +1 -0
- package/esm/RelevanceScoreBadge/RelevanceScoreBadge.d.ts +1 -0
- package/esm/ReltioMap/ReltioMap.d.ts +1 -0
- package/esm/ReltioMap/components/TopCenterMapControls/TopCenterMapControls.d.ts +1 -0
- package/esm/RequiredMark/RequiredMark.d.ts +1 -0
- package/esm/Roles/Roles.d.ts +1 -0
- package/esm/Roles/components/Role/Role.d.ts +1 -0
- package/esm/RolesEditor/RolesEditor.d.ts +1 -0
- package/esm/SaveSegmentDialog/SaveSegmentDialog.d.ts +1 -0
- package/esm/ScrollableTabs/ScrollableTabs.d.ts +1 -0
- package/esm/SearchHighlighter/SearchHighlighter.d.ts +1 -0
- package/esm/SelectorWithOnlyOptionAutoSelect/SelectorWithOnlyOptionAutoSelect.d.ts +1 -0
- package/esm/SettingsMenu/SettingsMenu.d.ts +1 -0
- package/esm/ShowLess/ShowLess.d.ts +1 -0
- package/esm/ShowMore/ShowMore.d.ts +1 -0
- package/esm/SimpleAttribute/SimpleAttribute.d.ts +1 -0
- package/esm/SimpleDropDownSelector/components/DropDownValue/DropDownValue.d.ts +1 -0
- package/esm/SimpleMatchRules/SimpleMatchRules.d.ts +1 -0
- package/esm/SourceIcon/SourceIcon.d.ts +1 -0
- package/esm/SourceItem/SourceItem.d.ts +1 -0
- package/esm/SourceSystemsSelector/SourceSystemsSelector.d.ts +1 -0
- package/esm/Spacer/Spacer.d.ts +1 -0
- package/esm/StepNavigation/StepNavigation.d.ts +1 -0
- package/esm/StepNavigation/components/ProgressButton/ProgressButton.d.ts +1 -0
- package/esm/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.d.ts +1 -0
- package/esm/TableWithBars/components/NumberCellValueRenderer/NumberCellValueRenderer.d.ts +1 -0
- package/esm/Tags/Tags.d.ts +1 -0
- package/esm/Tags/components/Tag/Tag.d.ts +1 -0
- package/esm/TagsEditor/TagsEditor.d.ts +1 -0
- package/esm/TenantIcon/TenantIcon.d.ts +1 -0
- package/esm/TenantLabel/TenantLabel.d.ts +1 -0
- package/esm/TenantsDropDownSelector/TenantsDropDownSelector.d.ts +1 -0
- package/esm/TimestampEditor/TimestampEditor.d.ts +1 -0
- package/esm/TransitiveMatchRule/TransitiveMatchRule.d.ts +1 -0
- package/esm/TransitiveMatchRulesTooltip/TransitiveMatchRulesTooltip.d.ts +1 -0
- package/esm/TreeChart/TreeChart.d.ts +1 -0
- package/esm/TreeChart/components/CustomizedContent/CustomizedContent.d.ts +1 -0
- package/esm/TypeaheadEditor/TypeaheadEditor.d.ts +1 -0
- package/esm/UploadFileButton/UploadFileButton.d.ts +1 -0
- package/esm/UploadFileButton/components/UploadMode/UploadMode.d.ts +1 -0
- package/esm/UploadImageDialog/UploadImageDialog.d.ts +1 -0
- package/esm/UploadImageDialog/components/DividerWithText/DividerWithText.d.ts +1 -0
- package/esm/UploadImageDialog/components/ErrorSnackbar/ErrorSnackbar.d.ts +1 -0
- package/esm/UploadImageDialog/components/ImageByUrlField/ImageByUrlField.d.ts +1 -0
- package/esm/UploadImageDialog/components/SelectImageButton/SelectImageButton.d.ts +1 -0
- package/esm/UploadImageDialog/components/TargetBox/TargetBox.d.ts +1 -0
- package/esm/UserSelector/UserSelector.d.ts +1 -0
- package/esm/ValueChip/ValueChip.d.ts +1 -0
- package/esm/VerticalDivider/VerticalDivider.d.ts +1 -0
- package/esm/VerticalHeadingsTable/components/TableCell/TableCell.d.ts +1 -0
- package/esm/VerticalHeadingsTable/components/TableCellWithDnd/TableCellWithDnd.d.ts +1 -0
- package/esm/VerticalHeadingsTable/components/TableColumnDragLayer/TableColumnDragLayer.d.ts +1 -0
- package/esm/VerticalHeadingsTable/components/TableColumnDragPreview/TableColumnDragPreview.d.ts +1 -0
- package/esm/VerticalHeadingsTable/components/TableRow/TableRow.d.ts +1 -0
- package/esm/VerticalHeadingsTable/components/TableRowWithDnd/TableRowWithDnd.d.ts +1 -0
- package/esm/VerticalHeadingsTable/types.d.ts +1 -0
- package/esm/ViewMoreToggle/ViewMoreToggle.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/ActivitiesFactory.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/CommentActivity/CommentActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/GroupActivity/GroupActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/MergeActivity/MergeActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/ObjectLabel/ObjectLabel.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/PotentialMatchActivity/PotentialMatchActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/ProfileActivity/ProfileActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/RelationActivity/RelationActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/SearchActivity/SearchActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/SimpleActivity/SimpleActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivitiesFactory/components/SynchronizationIssuesActivity/SynchronizationIssuesActivity.d.ts +1 -0
- package/esm/features/activity-log/ActivityExportButton/ActivityExportButton.d.ts +1 -0
- package/esm/features/activity-log/ActivityFilterButton/ActivityFilterButton.d.ts +1 -0
- package/esm/features/activity-log/ActivityFilterEditor/ActivityFilterEditor.d.ts +1 -0
- package/esm/features/activity-log/ActivityFilterEditor/components/ActivitySelector/ActivitySelector.d.ts +1 -0
- package/esm/features/activity-log/ActivityFilterEditor/components/DateRangeSelector/DateRangeSelector.d.ts +1 -0
- package/esm/features/activity-log/ActivityFilterEditor/components/EntityChangedSelectors/EntityChangedSelectors.d.ts +1 -0
- package/esm/features/activity-log/ActivityFilterEditor/components/EntityTypesSelector/EntityTypesSelector.d.ts +1 -0
- package/esm/features/activity-log/ActivityFilterEditor/components/SourceSelector/SourceSelector.d.ts +1 -0
- package/esm/features/activity-log/ActivityLog/ActivityLog.d.ts +1 -0
- package/esm/features/activity-log/ActivityLog/components/ActivityItem/ActivityItem.d.ts +1 -0
- package/esm/features/activity-log/ActivityLog/components/GroupItem/GroupItem.d.ts +1 -0
- package/esm/features/activity-log/ActivityLogFilter/ActivityLogFilter.d.ts +1 -0
- package/esm/features/activity-log/EntityObject/EntityObject.d.ts +1 -0
- package/esm/features/activity-log/EntityRecord/EntityRecord.d.ts +1 -0
- package/esm/features/activity-log/MoreItemsLink/MoreItemsLink.d.ts +1 -0
- package/esm/features/activity-log/PotentialMatchRecord/PotentialMatchRecord.d.ts +1 -0
- package/esm/features/activity-log/PotentialMatchRecord/components/PotentialMatchField/PotentialMatchField.d.ts +1 -0
- package/esm/features/activity-log/RecordUpdates/RecordUpdates.d.ts +1 -0
- package/esm/features/activity-log/RecordUpdates/components/DeltaField/DeltaField.d.ts +1 -0
- package/esm/features/activity-log/RelationObject/RelationObject.d.ts +1 -0
- package/esm/features/activity-log/RelationRecord/RelationRecord.d.ts +1 -0
- package/esm/features/activity-log/contexts/CollapsibleItemsContext.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/AttributesFactory/AttributesFactory.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/ConfirmEditIgnoredDialog/ConfirmEditIgnoredDialog.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/CountRenderer/CountRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/DefaultCellValueRenderer/DefaultCellValueRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/ImageAttributesRenderer/ImageAttributesRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/NestedAttributesRenderer/NestedAttributesRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/ReferenceAttributesRenderer/ReferenceAttributesRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/RowCellRenderer/RowCellRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/RuleTypeInfoButton/RuleTypeInfoButton.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/RuleTypeRenderer/RuleTypeRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/SimpleAttributesRenderer/SimpleAttributesRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/WinnerSource/WinnerSource.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/components/WinnerSourcesRenderer/WinnerSourcesRenderer.d.ts +1 -0
- package/esm/features/crosswalks/AttributesTable/types.d.ts +1 -0
- package/esm/features/crosswalks/CopyableValueField/CopyableValueField.d.ts +1 -0
- package/esm/features/crosswalks/CrosswalkAttributes/CrosswalkAttributes.d.ts +1 -0
- package/esm/features/crosswalks/CrosswalkDateEditor/CrosswalkDateEditor.d.ts +1 -0
- package/esm/features/crosswalks/CrosswalkDragLayer/components/CrosswalkDragPreview/CrosswalkDragPreview.d.ts +1 -0
- package/esm/features/crosswalks/CrosswalkEditor/CrosswalkEditor.d.ts +1 -0
- package/esm/features/crosswalks/ShowDependentLink/ShowDependentLink.d.ts +1 -0
- package/esm/features/crosswalks/SourceCrosswalksRow/SourceCrosswalksRow.d.ts +1 -0
- package/esm/features/graph/SigmaGraphResizer/SigmaGraphResizer.d.ts +1 -0
- package/esm/features/graph/ZoomSlider/ZoomSlider.d.ts +1 -0
- package/esm/features/history/ContributorsPanel/ContributorsPanel.d.ts +1 -0
- package/esm/features/history/ContributorsPanel/components/ContributorItem/ContributorItem.d.ts +1 -0
- package/esm/features/history/DateRangeSelector/DateRangeSelector.d.ts +1 -0
- package/esm/features/history/HistoryActivitySelector/HistoryActivitySelector.d.ts +1 -0
- package/esm/features/history/HistoryFilterButton/HistoryFilterButton.d.ts +1 -0
- package/esm/features/history/HistoryGraph/components/HistoryLink/HistoryLink.d.ts +1 -0
- package/esm/features/history/HistoryHeader/HistoryHeader.d.ts +1 -0
- package/esm/features/history/HistoryMenuButton/HistoryMenuButton.d.ts +1 -0
- package/esm/features/history/HistoryPanelEmptyState/HistoryPanelEmptyState.d.ts +1 -0
- package/esm/features/history/HistoryRow/HistoryRow.d.ts +1 -0
- package/esm/features/history/HistoryTree/HistoryTree.d.ts +1 -0
- package/esm/features/history/ProfileBandHistory/ProfileBandHistory.d.ts +1 -0
- package/esm/features/workflow/AddWorkflowButton/AddWorkflowButton.d.ts +1 -0
- package/esm/features/workflow/AddWorkflowDialog/AddWorkflowDialog.d.ts +1 -0
- package/esm/features/workflow/AssigneeSelector/AssigneeSelector.d.ts +1 -0
- package/esm/features/workflow/AttributesChanges/AttributesChanges.d.ts +1 -0
- package/esm/features/workflow/AttributesChanges/components/DCRChangesList/DCRChangesList.d.ts +1 -0
- package/esm/features/workflow/AttributesChanges/components/DiffRenderer/DiffRenderer.d.ts +1 -0
- package/esm/features/workflow/AttributesChanges/components/ShowMoreLink/ShowMoreLink.d.ts +1 -0
- package/esm/features/workflow/DueDateField/DueDateField.d.ts +1 -0
- package/esm/features/workflow/PrioritySelector/PrioritySelector.d.ts +1 -0
- package/esm/features/workflow/ReassignButton/ReassignButton.d.ts +1 -0
- package/esm/features/workflow/ReassignButton/components/ReassignDialog/ReassignDialog.d.ts +1 -0
- package/esm/features/workflow/TaskActionButtons/TaskActionButtons.d.ts +1 -0
- package/esm/features/workflow/TaskActions/TaskActions.d.ts +1 -0
- package/esm/features/workflow/WorkflowComments/WorkflowComments.d.ts +1 -0
- package/esm/features/workflow/WorkflowComments/components/Comment/Comment.d.ts +1 -0
- package/esm/features/workflow/WorkflowComments/components/ExpandedComments/ExpandedComments.d.ts +1 -0
- package/esm/features/workflow/WorkflowTaskCard/WorkflowTaskCard.d.ts +1 -0
- package/esm/features/workflow/WorkflowTaskCard/components/DataChangeRequestTaskCard/DataChangeRequestTaskCard.d.ts +1 -0
- package/esm/features/workflow/WorkflowTaskCard/components/PotentialMatchTaskCard/PotentialMatchTaskCard.d.ts +1 -0
- package/esm/features/workflow/WorkflowTaskCard/components/WorkflowTaskCardsFactory/WorkflowTaskCardsFactory.d.ts +1 -0
- package/esm/hooks/useBasicTableCellRenderer/CellRenderer.d.ts +1 -0
- package/esm/hooks/useLayoutResetter/useLayoutResetter.d.ts +1 -0
- package/esm/hooks/useSnackbar/useSnackbar.d.ts +1 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/test-utils/TestStylesProvider.d.ts +1 -0
- package/package.json +3 -3
package/esm/Drawer/Drawer.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ConnectionEntity, Mode, Metadata, GlobalSearchRequestOptions, TEntityType, AttributeType, PrimitiveValue } from '@reltio/mdm-sdk';
|
|
2
3
|
import { TextFieldProps } from '@mui/material/TextField';
|
|
3
4
|
import { EntityOption as EntityOptionType } from './types';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GaugeItem } from './types';
|
|
3
|
+
type Props = {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
data: GaugeItem[];
|
|
7
|
+
value: number;
|
|
8
|
+
label?: React.ReactNode;
|
|
9
|
+
renderValue?: (value: number) => React.ReactNode;
|
|
10
|
+
isAnimationActive?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const GaugeChart: ({ width, height, data, value, label, renderValue, isAnimationActive }: Props) => JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
13
|
+
import { identity } from 'ramda';
|
|
14
|
+
import { PieChart, Pie, Cell } from 'recharts';
|
|
15
|
+
import Typography from '@mui/material/Typography';
|
|
16
|
+
import { getGaugeIndicatorCoords } from './helpers';
|
|
17
|
+
import { MAX_RADIUS, ARC_WIDTH_AS_PERCENTAGES, TOP_INDICATOR_HEIGHT_AS_PERCENTAGES } from './constants';
|
|
18
|
+
import { useStyles } from './styles';
|
|
19
|
+
export var GaugeChart = function (_a) {
|
|
20
|
+
var width = _a.width, height = _a.height, data = _a.data, value = _a.value, label = _a.label, _b = _a.renderValue, renderValue = _b === void 0 ? identity : _b, _c = _a.isAnimationActive, isAnimationActive = _c === void 0 ? true : _c;
|
|
21
|
+
var styles = useStyles();
|
|
22
|
+
var labelElRef = useRef();
|
|
23
|
+
var _d = useState(!isAnimationActive), animationIsEnd = _d[0], setAnimationIsEnd = _d[1];
|
|
24
|
+
var _e = useState({ bottom: 0, top: 0, left: 0, right: 0 }), margin = _e[0], setMargin = _e[1];
|
|
25
|
+
var _f = useState(0), textOffset = _f[0], setTextOffset = _f[1];
|
|
26
|
+
var widthWithoutMargin = width - margin.left - margin.right;
|
|
27
|
+
var heightWithoutMargin = height - margin.top - margin.bottom - (textOffset > 0 ? textOffset : 0);
|
|
28
|
+
var outerRadius = Math.min(widthWithoutMargin / 2, heightWithoutMargin, MAX_RADIUS);
|
|
29
|
+
var innerRadius = outerRadius - ARC_WIDTH_AS_PERCENTAGES * outerRadius;
|
|
30
|
+
var cx = widthWithoutMargin / 2 + margin.left;
|
|
31
|
+
var cy = heightWithoutMargin / 2 + outerRadius / 2 + margin.top;
|
|
32
|
+
var chartData = data.map(function (item, name) { return (__assign(__assign({}, item), { name: name })); });
|
|
33
|
+
var _g = getGaugeIndicatorCoords(value, chartData, cx, cy, outerRadius, innerRadius), x1 = _g.x1, y1 = _g.y1, x2 = _g.x2, y2 = _g.y2, x3 = _g.x3, y3 = _g.y3;
|
|
34
|
+
useEffect(function () {
|
|
35
|
+
var _a;
|
|
36
|
+
if (animationIsEnd) {
|
|
37
|
+
var clientHeight = ((_a = labelElRef === null || labelElRef === void 0 ? void 0 : labelElRef.current) !== null && _a !== void 0 ? _a : { clientHeight: 0 }).clientHeight;
|
|
38
|
+
var textOffset_1 = Math.ceil(clientHeight) - 16;
|
|
39
|
+
var verticalMargin_1 = Math.ceil(TOP_INDICATOR_HEIGHT_AS_PERCENTAGES * outerRadius);
|
|
40
|
+
setTextOffset(textOffset_1);
|
|
41
|
+
setMargin(function (prevMargin) { return (__assign(__assign({}, prevMargin), { bottom: verticalMargin_1, top: verticalMargin_1 })); });
|
|
42
|
+
}
|
|
43
|
+
}, [width, height, animationIsEnd]);
|
|
44
|
+
return (React.createElement("div", { "data-reltio-id": "gauge-chart", className: styles.root, style: { width: width, height: height } },
|
|
45
|
+
React.createElement(PieChart, { margin: { top: 0, bottom: 0, left: 0, right: 0 }, width: width, height: height },
|
|
46
|
+
React.createElement(Pie, { className: styles.pie, dataKey: "value", startAngle: 180, endAngle: 0, data: chartData, cx: cx, cy: cy, innerRadius: innerRadius, outerRadius: outerRadius, stroke: "none", isAnimationActive: isAnimationActive, onAnimationEnd: function () { return setAnimationIsEnd(true); } }, data.map(function (entry, idx) { return (React.createElement(Cell, { key: idx, fill: entry.color })); })),
|
|
47
|
+
React.createElement("path", { "data-reltio-id": "gauge-chart-indicator", className: styles.indicator, style: { opacity: animationIsEnd ? 1 : 0 }, d: "M".concat(x1, " ").concat(y1, "L").concat(x2, " ").concat(y2, " L").concat(x3, " ").concat(y3, " L").concat(x1, " ").concat(y1) })),
|
|
48
|
+
React.createElement("div", { "data-reltio-id": "gauge-chart-text", className: styles.text, style: {
|
|
49
|
+
top: "".concat(((cy - innerRadius) / height) * 100, "%"),
|
|
50
|
+
bottom: "calc(".concat(((height - cy) / height) * 100, "% - ").concat(textOffset, "px)"),
|
|
51
|
+
left: "".concat(((width - innerRadius * 2) / width / 2) * 100, "%"),
|
|
52
|
+
right: "".concat(((width - innerRadius * 2) / width / 2) * 100, "%"),
|
|
53
|
+
opacity: animationIsEnd ? 1 : 0
|
|
54
|
+
} },
|
|
55
|
+
React.createElement(Typography, { className: styles.value }, renderValue(value)),
|
|
56
|
+
label && (React.createElement("div", { ref: labelElRef, className: styles.label }, label)))));
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
import React from 'react';
|
|
49
|
+
import { render, screen, within } from '@testing-library/react';
|
|
50
|
+
import { GaugeChart } from './GaugeChart';
|
|
51
|
+
var defaultProps = {
|
|
52
|
+
width: 400,
|
|
53
|
+
height: 300,
|
|
54
|
+
data: [
|
|
55
|
+
{ color: 'rgba(241, 35, 35, 1)', value: 30 },
|
|
56
|
+
{ color: 'rgba(255, 109, 26, 1)', value: 40 },
|
|
57
|
+
{ color: 'rgba(255, 238, 54, 1)', value: 20 },
|
|
58
|
+
{ color: 'rgba(147, 244, 87, 1)', value: 10 }
|
|
59
|
+
],
|
|
60
|
+
value: 50,
|
|
61
|
+
label: 'Label',
|
|
62
|
+
isAnimationActive: false
|
|
63
|
+
};
|
|
64
|
+
var removeExtraSpaces = function (str) { return str.replace(/\s{2,}/g, ' '); };
|
|
65
|
+
var setUp = function (props) {
|
|
66
|
+
if (props === void 0) { props = defaultProps; }
|
|
67
|
+
var result = render(React.createElement(GaugeChart, __assign({}, props)));
|
|
68
|
+
return __assign(__assign({}, result), { rerender: function (newProps) { return result.rerender(React.createElement(GaugeChart, __assign({}, props, newProps))); } });
|
|
69
|
+
};
|
|
70
|
+
describe('Gauge chart behaviour', function () {
|
|
71
|
+
it('should render chart correctly in basic scenario', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
72
|
+
var rerender, text, gaugeChart, pieChart, pie, sectors, indicator, firstSector, secondSector, thirdSector, fourthSector;
|
|
73
|
+
return __generator(this, function (_a) {
|
|
74
|
+
rerender = setUp(__assign(__assign({}, defaultProps), { width: 0, height: 0 })).rerender;
|
|
75
|
+
text = screen.getByTestId('gauge-chart-text');
|
|
76
|
+
Object.defineProperty(within(text).getByText('Label'), 'clientHeight', { configurable: true, value: 16 });
|
|
77
|
+
rerender(defaultProps);
|
|
78
|
+
gaugeChart = screen.getByTestId('gauge-chart');
|
|
79
|
+
pieChart = gaugeChart.querySelector('.recharts-wrapper');
|
|
80
|
+
expect(gaugeChart).toHaveStyle({ width: '400px', height: '300px' });
|
|
81
|
+
expect(pieChart).toHaveStyle({ width: '400px', height: '300px' });
|
|
82
|
+
pie = gaugeChart.querySelector('.recharts-surface');
|
|
83
|
+
expect(pie).toHaveStyle({ width: '100%', height: '100%' });
|
|
84
|
+
expect(pie).toHaveAttribute('width', '400');
|
|
85
|
+
expect(pie).toHaveAttribute('height', '300');
|
|
86
|
+
expect(pie).toHaveAttribute('cx', '50%');
|
|
87
|
+
expect(pie).toHaveAttribute('cy', '50%');
|
|
88
|
+
sectors = gaugeChart.querySelectorAll('.recharts-pie-sector');
|
|
89
|
+
indicator = screen.getByTestId('gauge-chart-indicator');
|
|
90
|
+
expect(sectors).toHaveLength(4);
|
|
91
|
+
firstSector = sectors[0].querySelector('.recharts-sector');
|
|
92
|
+
expect(firstSector).toHaveAttribute('fill', 'rgba(241, 35, 35, 1)');
|
|
93
|
+
expect(firstSector).toHaveAttribute('cx', '200');
|
|
94
|
+
expect(firstSector).toHaveAttribute('cy', '250');
|
|
95
|
+
expect(removeExtraSpaces(firstSector.getAttribute('d'))).toBe('M 0,249.99999999999997 A 200,200,0, 0,1, 82.4429495415054,88.19660112501052 L 105.95435963320432,120.55728090000841 A 160,160,0, 0,0, 40,249.99999999999997 Z');
|
|
96
|
+
secondSector = sectors[1].querySelector('.recharts-sector');
|
|
97
|
+
expect(secondSector).toHaveAttribute('fill', 'rgba(255, 109, 26, 1)');
|
|
98
|
+
expect(secondSector).toHaveAttribute('cx', '200');
|
|
99
|
+
expect(secondSector).toHaveAttribute('cy', '250');
|
|
100
|
+
expect(removeExtraSpaces(secondSector.getAttribute('d'))).toBe('M 82.4429495415054,88.19660112501052 A 200,200,0, 0,1, 317.55705045849464,88.19660112501052 L 294.04564036679574,120.55728090000841 A 160,160,0, 0,0, 105.95435963320432,120.55728090000841 Z');
|
|
101
|
+
thirdSector = sectors[2].querySelector('.recharts-sector');
|
|
102
|
+
expect(thirdSector).toHaveAttribute('fill', 'rgba(255, 238, 54, 1)');
|
|
103
|
+
expect(thirdSector).toHaveAttribute('cx', '200');
|
|
104
|
+
expect(thirdSector).toHaveAttribute('cy', '250');
|
|
105
|
+
expect(removeExtraSpaces(thirdSector.getAttribute('d'))).toBe('M 317.55705045849464,88.19660112501052 A 200,200,0, 0,1, 390.21130325903073,188.19660112501052 L 352.1690426072246,200.5572809000084 A 160,160,0, 0,0, 294.04564036679574,120.55728090000841 Z');
|
|
106
|
+
fourthSector = sectors[3].querySelector('.recharts-sector');
|
|
107
|
+
expect(fourthSector).toHaveAttribute('fill', 'rgba(147, 244, 87, 1)');
|
|
108
|
+
expect(fourthSector).toHaveAttribute('cx', '200');
|
|
109
|
+
expect(fourthSector).toHaveAttribute('cy', '250');
|
|
110
|
+
expect(removeExtraSpaces(fourthSector.getAttribute('d'))).toBe('M 390.21130325903073,188.19660112501052 A 200,200,0, 0,1, 400,250 L 360,250 A 160,160,0, 0,0, 352.1690426072246,200.5572809000084 Z');
|
|
111
|
+
expect(indicator).toHaveStyle({ opacity: 1 });
|
|
112
|
+
expect(indicator).toHaveAttribute('d', 'M198 98L202 98 L200 36 L198 98');
|
|
113
|
+
expect(text).toHaveStyle({ top: '30%', bottom: 'calc(16.666666666666664% - 0px)', left: '10%', right: '10%' });
|
|
114
|
+
within(text).getByText('50');
|
|
115
|
+
within(text).getByText('Label');
|
|
116
|
+
return [2 /*return*/];
|
|
117
|
+
});
|
|
118
|
+
}); });
|
|
119
|
+
it('should render chart correctly if the label height is more than 16 pixels', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
120
|
+
var rerender, text, gaugeChart, indicator, sectors, firstSector, secondSector, thirdSector, fourthSector;
|
|
121
|
+
return __generator(this, function (_a) {
|
|
122
|
+
rerender = setUp(__assign(__assign({}, defaultProps), { width: 0, height: 0 })).rerender;
|
|
123
|
+
text = screen.getByTestId('gauge-chart-text');
|
|
124
|
+
Object.defineProperty(within(text).getByText('Label'), 'clientHeight', { configurable: true, value: 48 });
|
|
125
|
+
rerender(defaultProps);
|
|
126
|
+
gaugeChart = screen.getByTestId('gauge-chart');
|
|
127
|
+
indicator = screen.getByTestId('gauge-chart-indicator');
|
|
128
|
+
sectors = gaugeChart.querySelectorAll('.recharts-pie-sector');
|
|
129
|
+
firstSector = sectors[0].querySelector('.recharts-sector');
|
|
130
|
+
expect(firstSector).toHaveAttribute('cx', '200');
|
|
131
|
+
expect(firstSector).toHaveAttribute('cy', '234');
|
|
132
|
+
expect(removeExtraSpaces(firstSector.getAttribute('d'))).toBe('M 0,233.99999999999997 A 200,200,0, 0,1, 82.4429495415054,72.19660112501052 L 105.95435963320432,104.55728090000841 A 160,160,0, 0,0, 40,233.99999999999997 Z');
|
|
133
|
+
secondSector = sectors[1].querySelector('.recharts-sector');
|
|
134
|
+
expect(secondSector).toHaveAttribute('cx', '200');
|
|
135
|
+
expect(secondSector).toHaveAttribute('cy', '234');
|
|
136
|
+
expect(removeExtraSpaces(secondSector.getAttribute('d'))).toBe('M 82.4429495415054,72.19660112501052 A 200,200,0, 0,1, 317.55705045849464,72.19660112501052 L 294.04564036679574,104.55728090000841 A 160,160,0, 0,0, 105.95435963320432,104.55728090000841 Z');
|
|
137
|
+
thirdSector = sectors[2].querySelector('.recharts-sector');
|
|
138
|
+
expect(thirdSector).toHaveAttribute('cx', '200');
|
|
139
|
+
expect(thirdSector).toHaveAttribute('cy', '234');
|
|
140
|
+
expect(removeExtraSpaces(thirdSector.getAttribute('d'))).toBe('M 317.55705045849464,72.19660112501052 A 200,200,0, 0,1, 390.21130325903073,172.19660112501052 L 352.1690426072246,184.5572809000084 A 160,160,0, 0,0, 294.04564036679574,104.55728090000841 Z');
|
|
141
|
+
fourthSector = sectors[3].querySelector('.recharts-sector');
|
|
142
|
+
expect(fourthSector).toHaveAttribute('cx', '200');
|
|
143
|
+
expect(fourthSector).toHaveAttribute('cy', '234');
|
|
144
|
+
expect(removeExtraSpaces(fourthSector.getAttribute('d'))).toBe('M 390.21130325903073,172.19660112501052 A 200,200,0, 0,1, 400,234 L 360,234 A 160,160,0, 0,0, 352.1690426072246,184.5572809000084 Z');
|
|
145
|
+
expect(indicator).toHaveAttribute('d', 'M198 82L202 82 L200 20 L198 82');
|
|
146
|
+
expect(text).toHaveStyle({ top: '24.666666666666668%', bottom: 'calc(22% - 32px)', left: '10%', right: '10%' });
|
|
147
|
+
return [2 /*return*/];
|
|
148
|
+
});
|
|
149
|
+
}); });
|
|
150
|
+
it('should render chart correctly if the label height is less than 16 pixels', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
151
|
+
var rerender, text, gaugeChart, indicator, sectors, firstSector, secondSector, thirdSector, fourthSector;
|
|
152
|
+
return __generator(this, function (_a) {
|
|
153
|
+
rerender = setUp(__assign(__assign({}, defaultProps), { width: 0, height: 0 })).rerender;
|
|
154
|
+
text = screen.getByTestId('gauge-chart-text');
|
|
155
|
+
Object.defineProperty(within(text).getByText('Label'), 'clientHeight', { configurable: true, value: 6 });
|
|
156
|
+
rerender(defaultProps);
|
|
157
|
+
gaugeChart = screen.getByTestId('gauge-chart');
|
|
158
|
+
indicator = screen.getByTestId('gauge-chart-indicator');
|
|
159
|
+
sectors = gaugeChart.querySelectorAll('.recharts-pie-sector');
|
|
160
|
+
firstSector = sectors[0].querySelector('.recharts-sector');
|
|
161
|
+
expect(firstSector).toHaveAttribute('cx', '200');
|
|
162
|
+
expect(firstSector).toHaveAttribute('cy', '250');
|
|
163
|
+
expect(removeExtraSpaces(firstSector.getAttribute('d'))).toBe('M 0,249.99999999999997 A 200,200,0, 0,1, 82.4429495415054,88.19660112501052 L 105.95435963320432,120.55728090000841 A 160,160,0, 0,0, 40,249.99999999999997 Z');
|
|
164
|
+
secondSector = sectors[1].querySelector('.recharts-sector');
|
|
165
|
+
expect(secondSector).toHaveAttribute('cx', '200');
|
|
166
|
+
expect(secondSector).toHaveAttribute('cy', '250');
|
|
167
|
+
expect(removeExtraSpaces(secondSector.getAttribute('d'))).toBe('M 82.4429495415054,88.19660112501052 A 200,200,0, 0,1, 317.55705045849464,88.19660112501052 L 294.04564036679574,120.55728090000841 A 160,160,0, 0,0, 105.95435963320432,120.55728090000841 Z');
|
|
168
|
+
thirdSector = sectors[2].querySelector('.recharts-sector');
|
|
169
|
+
expect(thirdSector).toHaveAttribute('cx', '200');
|
|
170
|
+
expect(thirdSector).toHaveAttribute('cy', '250');
|
|
171
|
+
expect(removeExtraSpaces(thirdSector.getAttribute('d'))).toBe('M 317.55705045849464,88.19660112501052 A 200,200,0, 0,1, 390.21130325903073,188.19660112501052 L 352.1690426072246,200.5572809000084 A 160,160,0, 0,0, 294.04564036679574,120.55728090000841 Z');
|
|
172
|
+
fourthSector = sectors[3].querySelector('.recharts-sector');
|
|
173
|
+
expect(fourthSector).toHaveAttribute('cx', '200');
|
|
174
|
+
expect(fourthSector).toHaveAttribute('cy', '250');
|
|
175
|
+
expect(removeExtraSpaces(fourthSector.getAttribute('d'))).toBe('M 390.21130325903073,188.19660112501052 A 200,200,0, 0,1, 400,250 L 360,250 A 160,160,0, 0,0, 352.1690426072246,200.5572809000084 Z');
|
|
176
|
+
expect(indicator).toHaveAttribute('d', 'M198 98L202 98 L200 36 L198 98');
|
|
177
|
+
expect(text).toHaveStyle({ top: '30%', bottom: 'calc(16.666666666666664% - -10px)', left: '10%', right: '10%' });
|
|
178
|
+
return [2 /*return*/];
|
|
179
|
+
});
|
|
180
|
+
}); });
|
|
181
|
+
it('should render custom label correctly', function () {
|
|
182
|
+
var props = __assign(__assign({}, defaultProps), { value: 78.4, renderValue: function (value) { return React.createElement("span", { "data-reltio-id": "custom-label" },
|
|
183
|
+
Math.round(value),
|
|
184
|
+
"%"); } });
|
|
185
|
+
setUp(props);
|
|
186
|
+
expect(screen.getByTestId('custom-label')).toHaveTextContent('78%');
|
|
187
|
+
});
|
|
188
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const MAX_RADIUS = 200;
|
|
2
|
+
export declare const RADIAN: number;
|
|
3
|
+
export declare const ARC_WIDTH_AS_PERCENTAGES = 0.2;
|
|
4
|
+
export declare const BOTTOM_INDICATOR_HEIGHT_AS_PERCENTAGES = 0.04;
|
|
5
|
+
export declare const TOP_INDICATOR_HEIGHT_AS_PERCENTAGES = 0.07;
|
|
6
|
+
export declare const INDICATOR_WIDTH_AS_PERCENTAGES = 0.01;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var MAX_RADIUS = 200;
|
|
2
|
+
export var RADIAN = Math.PI / 180;
|
|
3
|
+
export var ARC_WIDTH_AS_PERCENTAGES = 0.2;
|
|
4
|
+
export var BOTTOM_INDICATOR_HEIGHT_AS_PERCENTAGES = 0.04;
|
|
5
|
+
export var TOP_INDICATOR_HEIGHT_AS_PERCENTAGES = 0.07;
|
|
6
|
+
export var INDICATOR_WIDTH_AS_PERCENTAGES = 0.01;
|