@reltio/components 1.4.1986 → 1.4.1988
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 +2 -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/SimpleAttribute/SimpleAttribute.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 +2 -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 +15 -17
- package/cjs/TypeaheadEditor/TypeaheadEditor.test.js +2 -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.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/useMaskedAttribute/useMaskedAttribute.d.ts +3 -3
- package/cjs/hooks/useMaskedAttribute/useMaskedAttribute.js +3 -1
- 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 +2 -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/SimpleAttribute/SimpleAttribute.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 +2 -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 +15 -17
- package/esm/TypeaheadEditor/TypeaheadEditor.test.js +2 -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.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/useMaskedAttribute/useMaskedAttribute.d.ts +3 -3
- package/esm/hooks/useMaskedAttribute/useMaskedAttribute.js +3 -1
- 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
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.HistoryActivityType = exports.HistoryChangeTypes = void 0;
|
|
14
|
+
exports.HistoryActivityType = exports.HistoryChangeTypes = exports.FakeTypes = void 0;
|
|
15
15
|
var types_1 = require("../activity-log/types");
|
|
16
16
|
var FakeTypes;
|
|
17
17
|
(function (FakeTypes) {
|
|
@@ -19,7 +19,7 @@ var FakeTypes;
|
|
|
19
19
|
FakeTypes["FAKE_FILTERED_INCOMING"] = "FAKE_FILTERED_INCOMING";
|
|
20
20
|
FakeTypes["FAKE_FILTERED_OUTGOING"] = "FAKE_FILTERED_OUTGOING";
|
|
21
21
|
FakeTypes["FAKE_UPDATE"] = "FAKE_UPDATE";
|
|
22
|
-
})(FakeTypes || (FakeTypes = {}));
|
|
22
|
+
})(FakeTypes || (exports.FakeTypes = FakeTypes = {}));
|
|
23
23
|
exports.HistoryChangeTypes = __assign(__assign({}, types_1.ActivityTypes), FakeTypes);
|
|
24
24
|
var HistoryActivityType;
|
|
25
25
|
(function (HistoryActivityType) {
|
|
@@ -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,3 +1,3 @@
|
|
|
1
1
|
import { DCRChanges, GroupedObjectsInfo, Metadata } from '@reltio/mdm-sdk';
|
|
2
2
|
import { Diff } from '../types';
|
|
3
|
-
export declare const mergeChanges: (metadata: Metadata, changes: DCRChanges, entityInfo: GroupedObjectsInfo[
|
|
3
|
+
export declare const mergeChanges: (metadata: Metadata, changes: DCRChanges, entityInfo: GroupedObjectsInfo["entity"], relationsInfo: GroupedObjectsInfo["relations"]) => [Diff[], Diff[]];
|
|
@@ -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.");
|
|
@@ -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.");
|
|
@@ -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,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { WorkflowTaskCardsFactory } from './components/WorkflowTaskCardsFactory';
|
|
3
2
|
type Props = Parameters<typeof WorkflowTaskCardsFactory.build>[0];
|
|
4
3
|
export declare const WorkflowTaskCard: ({ task, match, entitiesMap }: Props) => import("react").JSX.Element;
|
|
@@ -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.");
|
|
@@ -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,5 +9,5 @@ export declare const getDataTypeDefinition: (attributeType: AttributeType, attri
|
|
|
9
9
|
export declare const getSuggestionsCount: any;
|
|
10
10
|
export declare const getDCRUri: (objectUris?: string[]) => string;
|
|
11
11
|
export declare const getDCRId: (objectUris?: string[]) => string;
|
|
12
|
-
export declare const isOpenTask: (isOpen: WorkflowTaskData[
|
|
12
|
+
export declare const isOpenTask: (isOpen: WorkflowTaskData["isOpen"]) => boolean;
|
|
13
13
|
export declare const isRequestedTask: (processTypes: string[], assignee: string) => (task: WorkflowTaskData) => 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.");
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WorkflowTaskData } from '@reltio/mdm-sdk';
|
|
2
2
|
export declare const resetTaskToColor: () => void;
|
|
3
|
-
export declare const useWorkflowColor: ({ processDefinitionDisplayName }: Pick<WorkflowTaskData,
|
|
3
|
+
export declare const useWorkflowColor: ({ processDefinitionDisplayName }: Pick<WorkflowTaskData, "processDefinitionDisplayName">) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkflowTaskData } from '@reltio/mdm-sdk';
|
|
2
|
-
export declare const useWorkflowDueDate: ({ dueDate, taskId, isOpen }: Pick<WorkflowTaskData,
|
|
2
|
+
export declare const useWorkflowDueDate: ({ dueDate, taskId, isOpen }: Pick<WorkflowTaskData, "dueDate" | "taskId" | "isOpen">) => {
|
|
3
3
|
updateDueDate: (newValue: number) => void;
|
|
4
4
|
updateRequestIsInProgress: boolean;
|
|
5
5
|
readOnly: boolean;
|
|
@@ -3,7 +3,7 @@ type PriorityOption = {
|
|
|
3
3
|
label: string;
|
|
4
4
|
value: number;
|
|
5
5
|
};
|
|
6
|
-
export declare const useWorkflowPriority: ({ priority, taskId, isOpen }: Pick<WorkflowTaskData,
|
|
6
|
+
export declare const useWorkflowPriority: ({ priority, taskId, isOpen }: Pick<WorkflowTaskData, "taskId" | "priority" | "isOpen">) => {
|
|
7
7
|
priorities: PriorityOption[];
|
|
8
8
|
updatePriority: (newValue: PriorityOption) => void;
|
|
9
9
|
updateRequestIsInProgress: boolean;
|
|
@@ -8,7 +8,7 @@ export declare const useWorkflowTasks: (config?: Config) => {
|
|
|
8
8
|
tasks: WorkflowTaskData[];
|
|
9
9
|
total: number;
|
|
10
10
|
loading: boolean;
|
|
11
|
-
updateTaskState: (taskId: WorkflowTaskData[
|
|
11
|
+
updateTaskState: (taskId: WorkflowTaskData["taskId"], payload: Partial<WorkflowTaskData>) => void;
|
|
12
12
|
loadTasks: () => void;
|
|
13
13
|
};
|
|
14
14
|
export {};
|
|
@@ -10,6 +10,6 @@ export declare const defaultRenderRowCell: ({ cell, CellValueRenderer, ...otherP
|
|
|
10
10
|
cell: any;
|
|
11
11
|
CellValueRenderer: any;
|
|
12
12
|
}) => any;
|
|
13
|
-
export declare const columnFilterToMdmFilter: (columnData: Pick<ColumnData,
|
|
13
|
+
export declare const columnFilterToMdmFilter: (columnData: Pick<ColumnData, "id" | "dataTypeDefinition">, columnFilter?: ColumnFilter) => FacetFilter;
|
|
14
14
|
export declare const buildColumnsFilter: (columnsData: ColumnData[], filters?: Record<string, ColumnFilter>) => string;
|
|
15
15
|
export declare const buildColumnsSizeById: (columnsSize?: ColumnSize[]) => ColumnsSizeById;
|
|
@@ -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/hooks/useAPI/API.js
CHANGED
|
@@ -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.");
|
|
@@ -8,7 +8,7 @@ export declare const useAPI: (config?: Config) => {
|
|
|
8
8
|
customStyles: {
|
|
9
9
|
height?: number | string;
|
|
10
10
|
width?: number | string;
|
|
11
|
-
pointerEvents?: CSSProperties[
|
|
11
|
+
pointerEvents?: CSSProperties["pointerEvents"];
|
|
12
12
|
};
|
|
13
13
|
onClick: () => void;
|
|
14
14
|
popup: HTMLElement;
|
|
@@ -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.");
|
|
@@ -2,6 +2,6 @@ import { TooltipProps } from 'recharts';
|
|
|
2
2
|
import { ChartData } from '../../types/charts';
|
|
3
3
|
export declare const useChartTooltipState: () => {
|
|
4
4
|
tooltipState: TooltipProps<number, string>;
|
|
5
|
-
showTooltip: (data: ChartData, coordinate: TooltipProps<number, string>[
|
|
5
|
+
showTooltip: (data: ChartData, coordinate: TooltipProps<number, string>["coordinate"]) => void;
|
|
6
6
|
hideTooltip: () => void;
|
|
7
7
|
};
|
|
@@ -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.");
|
|
@@ -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.");
|
|
@@ -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.");
|
|
@@ -46,6 +46,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
46
46
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
50
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
51
|
+
if (ar || !(i in from)) {
|
|
52
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
53
|
+
ar[i] = from[i];
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
57
|
+
};
|
|
49
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
59
|
exports.getPointsFromReference = void 0;
|
|
51
60
|
var ramda_1 = require("ramda");
|
|
@@ -136,10 +145,14 @@ var prepareData = function (metadata, entities) {
|
|
|
136
145
|
}
|
|
137
146
|
}));
|
|
138
147
|
};
|
|
139
|
-
var getPointsFromReference = function (
|
|
140
|
-
|
|
141
|
-
|
|
148
|
+
var getPointsFromReference = function (servicesPath_1, metadata_1) {
|
|
149
|
+
var args_1 = [];
|
|
150
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
151
|
+
args_1[_i - 2] = arguments[_i];
|
|
152
|
+
}
|
|
153
|
+
return __awaiter(void 0, __spreadArray([servicesPath_1, metadata_1], args_1, true), void 0, function (servicesPath, metadata, entities) {
|
|
142
154
|
var data, results;
|
|
155
|
+
if (entities === void 0) { entities = []; }
|
|
143
156
|
return __generator(this, function (_a) {
|
|
144
157
|
switch (_a.label) {
|
|
145
158
|
case 0:
|
|
@@ -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.");
|
|
@@ -49,22 +49,20 @@ exports.resolveMarkers = void 0;
|
|
|
49
49
|
var nestedHelpers_1 = require("./nestedHelpers");
|
|
50
50
|
var referenceHelpers_1 = require("./referenceHelpers");
|
|
51
51
|
var helpers_1 = require("./helpers");
|
|
52
|
-
var resolveMarkers = function (_a) {
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
});
|
|
52
|
+
var resolveMarkers = function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
53
|
+
var nestedResult, refResult;
|
|
54
|
+
var servicesPath = _b.servicesPath, metadata = _b.metadata, entities = _b.entities;
|
|
55
|
+
return __generator(this, function (_c) {
|
|
56
|
+
switch (_c.label) {
|
|
57
|
+
case 0:
|
|
58
|
+
nestedResult = (0, nestedHelpers_1.getPointsFromNested)(metadata, entities);
|
|
59
|
+
return [4 /*yield*/, (0, referenceHelpers_1.getPointsFromReference)(servicesPath, metadata, entities)];
|
|
60
|
+
case 1:
|
|
61
|
+
refResult = _c.sent();
|
|
62
|
+
return [2 /*return*/, __spreadArray(__spreadArray([], nestedResult, true), refResult.filter(function (geoPoint) {
|
|
63
|
+
return !nestedResult.some(function (nestedPoint) { return (0, helpers_1.isEqualGeoPoints)(geoPoint, nestedPoint); });
|
|
64
|
+
}), true)];
|
|
65
|
+
}
|
|
68
66
|
});
|
|
69
|
-
};
|
|
67
|
+
}); };
|
|
70
68
|
exports.resolveMarkers = resolveMarkers;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AttributeTypeForMasking, SimpleAttributeValue } from '@reltio/mdm-sdk';
|
|
2
2
|
type Props = {
|
|
3
3
|
attributeValue: SimpleAttributeValue;
|
|
4
|
-
attributeType:
|
|
4
|
+
attributeType: AttributeTypeForMasking;
|
|
5
5
|
};
|
|
6
6
|
export declare const useMaskedAttribute: ({ attributeType, attributeValue }: Props) => {
|
|
7
|
-
isUnmaskingNeeded:
|
|
7
|
+
isUnmaskingNeeded: any;
|
|
8
8
|
isMasked: boolean;
|
|
9
9
|
toggleMasking: () => void;
|
|
10
10
|
isUnmasking: boolean;
|
|
@@ -3,14 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useMaskedAttribute = void 0;
|
|
4
4
|
var react_1 = require("react");
|
|
5
5
|
var MdmModuleContext_1 = require("../../contexts/MdmModuleContext");
|
|
6
|
+
var mdm_sdk_1 = require("@reltio/mdm-sdk");
|
|
6
7
|
var MaskedAttributesContext_1 = require("../../contexts/MaskedAttributesContext");
|
|
7
8
|
var useMaskedAttribute = function (_a) {
|
|
8
9
|
var attributeType = _a.attributeType, attributeValue = _a.attributeValue;
|
|
9
10
|
var isViewMode = (0, MdmModuleContext_1.useMdmIsViewMode)();
|
|
10
11
|
var unmaskAttributeValue = (0, MaskedAttributesContext_1.useUnmaskAttributeValue)();
|
|
11
12
|
var maskAttributeValue = (0, MaskedAttributesContext_1.useMaskAttributeValue)();
|
|
13
|
+
var canUnmaskAttribute = (0, mdm_sdk_1.checkCanUnmaskAttribute)(attributeType);
|
|
12
14
|
var _b = (0, MaskedAttributesContext_1.useUnmaskedAttributeValue)(attributeValue.uri) || {}, unmaskedAttributeValue = _b.attributeValue, _c = _b.isUnmasked, isUnmasked = _c === void 0 ? false : _c, _d = _b.loading, loading = _d === void 0 ? false : _d;
|
|
13
|
-
var isUnmaskingNeeded = unmaskAttributeValue && maskAttributeValue && !!attributeType.masking && isViewMode;
|
|
15
|
+
var isUnmaskingNeeded = unmaskAttributeValue && maskAttributeValue && !!attributeType.masking && isViewMode && canUnmaskAttribute;
|
|
14
16
|
var unmask = (0, react_1.useCallback)(function () {
|
|
15
17
|
return isUnmaskingNeeded ? unmaskAttributeValue(attributeValue.uri) : Promise.resolve();
|
|
16
18
|
}, [unmaskAttributeValue, attributeValue.uri, isUnmaskingNeeded]);
|
|
@@ -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.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const usePrevious: <T>(value: T) => T;
|
|
1
|
+
export declare const usePrevious: <T>(value: T) => T | undefined;
|
|
@@ -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.");
|