@reltio/components 1.4.1638 → 1.4.1640
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/components/AttributeGroupIcon/AttributeGroupIcon.js +2 -3
- package/cjs/components/AttributeSelector/AttributeSelector.js +2 -3
- package/cjs/components/AttributesFiltersBuilder/AttributesFiltersBuilder.js +4 -5
- package/cjs/components/BasicTableView/ColumnFilter/FilterChip/FilterChip.d.ts +13 -19
- package/cjs/components/BasicTableView/ColumnFilter/FilterChip/FilterChip.js +6 -17
- package/cjs/components/BasicView/BasicView.d.ts +1 -1
- package/cjs/components/CollaborationItem/Comment/Comment.js +1 -3
- package/cjs/components/CollaborationItem/CommentTarget/CommentTarget.js +2 -4
- package/cjs/components/CollaborationItem/CommentTarget/styles.d.ts +1 -1
- package/cjs/components/CollaborationItem/RepliedComment/RepliedComment.js +1 -3
- package/cjs/components/CollaborationItem/SendMessageArea/SendMessageArea.js +1 -3
- package/cjs/components/ColoredSourceIcon/ColoredSourceIcon.js +1 -3
- package/cjs/components/ConnectionEditor/ConnectionEditor.js +3 -6
- package/cjs/components/DataTenantBadge/DataTenantBadge.js +6 -4
- package/cjs/components/DataTypeValue/DataTypeValue.js +4 -5
- package/cjs/components/EntityAvatar/EntityAvatar.js +4 -5
- package/cjs/components/EntityTypeBadge/EntityTypeBadge.js +4 -6
- package/cjs/components/EntityTypeIcon/EntityTypeIcon.js +2 -3
- package/cjs/components/EntityUriLink/EntityUriLink.js +4 -6
- package/cjs/components/ErrorPopup/ErrorPopup.d.ts +13 -8
- package/cjs/components/ErrorPopup/ErrorPopup.js +23 -18
- package/cjs/components/ErrorPopup/styles.d.ts +1 -1
- package/cjs/components/HierarchyNodeTitle/HierarchyNodeTitle.js +4 -6
- package/cjs/components/ImageAttributesGallery/ImageAttributesGallery.js +2 -6
- package/cjs/components/ImageDetailsView/ImageDetailsViewSidebar/ImageDetailsViewSidebar.d.ts +0 -5
- package/cjs/components/ImageDetailsView/ImageDetailsViewSidebar/ImageDetailsViewSidebar.js +6 -7
- package/cjs/components/ImageDetailsView/MetaInfo/MetaInfo.js +3 -4
- package/cjs/components/ImageDetailsView/MetaInfoList/MetaInfoItem/styles.d.ts +1 -1
- package/cjs/components/ImageDetailsView/MetaInfoList/MetaInfoList.js +3 -4
- package/cjs/components/ImageDetailsView/hooks/useEditMetaInfo.js +3 -10
- package/cjs/components/MatchRulesBlock/SimpleMatchRules/styles.d.ts +1 -1
- package/cjs/components/MatchRulesSelector/MatchRulesSelector.d.ts +1 -4
- package/cjs/components/MatchRulesSelector/MatchRulesSelector.js +2 -4
- package/cjs/components/ModeSwitcher/styles.d.ts +1 -1
- package/cjs/components/PivotingUriLink/PivotingUriLink.js +1 -3
- package/cjs/components/Popper/Popper.d.ts +1 -1
- package/cjs/components/PotentialMatchReviewCard/styles.d.ts +1 -1
- package/cjs/components/ProfileBand/ProfileBand.js +3 -4
- package/cjs/components/ProfileBandNavigation/ProfileBandNavigationWidget.d.ts +1 -1
- package/cjs/components/ProfileBandNavigation/hooks/useSearchNavigation.js +19 -54
- package/cjs/components/ProfileBandNavigation/hooks/useSearchNavigationVisibility.js +4 -8
- package/cjs/components/ProfilesList/ProfilesList.d.ts +2 -3
- package/cjs/components/ProfilesList/ProfilesList.js +3 -1
- package/cjs/components/RelationEditor/RelationEditor.js +46 -33
- package/cjs/components/RelevanceScoreBadge/RelevanceScoreBadge.js +3 -4
- package/cjs/components/SelectAttributesList/SelectAttributesList.js +2 -3
- package/cjs/components/SmallIconButton/SmallIconButton.d.ts +1 -1
- package/cjs/components/SmallIconButton/index.d.ts +1 -1
- package/cjs/components/SourceIcon/SourceIcon.js +2 -3
- package/cjs/components/SourceSystemsSelector/SourceSystemsSelector.js +2 -3
- package/cjs/components/TenantLabel/TenantLabel.js +3 -4
- package/cjs/components/TenantsDropDownSelector/TenantsDropDownSelector.js +3 -4
- package/cjs/components/UploadImageDialog/TargetBox/styles.d.ts +1 -1
- package/cjs/components/UploadImageDialog/UploadImageDialog.js +4 -5
- package/cjs/components/UserSelector/UserSelector.js +3 -4
- package/cjs/components/activityLog/ActivityExportButton/ActivityExportButton.js +6 -7
- package/cjs/components/activityLog/ActivityFilterEditor/ActivityFilterEditor.js +2 -3
- package/cjs/components/activityLog/ActivityFilterEditor/EntityChangedSelectors.js +2 -3
- package/cjs/components/activityLog/ActivityFilterEditor/SourceSelector.js +3 -4
- package/cjs/components/activityLog/ActivityLogFilter/ActivityLogFilter.d.ts +1 -1
- package/cjs/components/activityLog/ActivityLogFilter/ActivityLogFilter.js +5 -3
- package/cjs/components/activityLog/activities/GroupActivity.js +2 -3
- package/cjs/components/activityLog/activities/RelationObject/styles.d.ts +1 -1
- package/cjs/components/activityLog/activities/SearchActivity.js +6 -7
- package/cjs/components/activityLog/activities/fields/DeltaField.js +7 -8
- package/cjs/components/activityLog/activities/fields/commonStyles.d.ts +1 -1
- package/cjs/components/activityLog/activities/records/EntityRecord.js +8 -9
- package/cjs/components/attributes/AttributesView/AttributesView.d.ts +2 -2
- package/cjs/components/attributes/AttributesView/AttributesView.js +8 -4
- package/cjs/components/attributes/DescriptionIcon/DescriptionIcon.d.ts +1 -1
- package/cjs/components/attributes/ImageAttributesLine/ImageAttributesLine.d.ts +1 -2
- package/cjs/components/attributes/ImageAttributesLine/ImageAttributesLine.js +8 -9
- package/cjs/components/attributes/OvIcon/OvIcon.d.ts +1 -1
- package/cjs/components/attributes/OvIcon/OvIcon.js +4 -6
- package/cjs/components/attributes/PivotingAttributes/PivotingTooltip.js +3 -5
- package/cjs/components/attributes/PivotingAttributes/PivotingTooltipContent.js +3 -4
- package/cjs/components/attributes/PivotingAttributes/styles.d.ts +1 -1
- package/cjs/components/attributes/editMode/AttributesFactory/AttributesFactory.js +1 -1
- package/cjs/components/attributes/editMode/AttributesPager/AttributeRenderer.d.ts +7 -2
- package/cjs/components/attributes/editMode/AttributesPager/AttributesPager.d.ts +2 -38
- package/cjs/components/attributes/editMode/AttributesPager/AttributesPager.js +10 -2
- package/cjs/components/attributes/editMode/AttributesPager/ImageLineRenderer.d.ts +1 -2
- package/cjs/components/attributes/editMode/AttributesPager/index.d.ts +2 -39
- package/cjs/components/attributes/editMode/AttributesPager/index.js +5 -44
- package/cjs/components/attributes/editMode/AttributesPager/styles.d.ts +1 -1
- package/cjs/components/attributes/editMode/AttributesPager/types.d.ts +21 -0
- package/cjs/components/attributes/editMode/AttributesView/AttributesView.d.ts +1 -1
- package/cjs/components/attributes/editMode/AttributesView/AttributesView.js +10 -12
- package/cjs/components/attributes/editMode/EntityCreator/EntityCreator.d.ts +9 -24
- package/cjs/components/attributes/editMode/EntityCreator/EntityCreator.js +7 -15
- package/cjs/components/attributes/editMode/EntitySelector/EntitySelector.js +1 -1
- package/cjs/components/attributes/editMode/EntitySelector/components/SingleValue.js +3 -6
- package/cjs/components/attributes/editMode/ImageAttributesLine/ImageAttributesLine.d.ts +1 -2
- package/cjs/components/attributes/editMode/ImageAttributesLine/ImageAttributesLine.js +8 -10
- package/cjs/components/attributes/editMode/MoreAttributesButton/useMoreAttributesItems.js +2 -3
- package/cjs/components/attributes/editMode/ReferenceAttribute/ReferenceAttribute.js +16 -15
- package/cjs/components/attributes/editMode/Roles/Roles.js +4 -5
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/SimpleAttributeEditor.js +4 -9
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/useAutopopulationContextValue.js +7 -30
- package/cjs/components/attributes/editMode/Tags/Tags.js +3 -4
- package/cjs/components/attributes/inline/ReferenceAttribute/ReferenceAttribute.js +3 -5
- package/cjs/components/attributes/inline/common/SourceItem.js +2 -4
- package/cjs/components/attributes/readMode/AttributesList/AttributesList.js +1 -1
- package/cjs/components/attributes/readMode/AttributesPager/AttributesPager.d.ts +1 -3
- package/cjs/components/attributes/readMode/AttributesPager/AttributesPager.js +7 -2
- package/cjs/components/attributes/readMode/AttributesPager/ImageLineRenderer.d.ts +1 -2
- package/cjs/components/attributes/readMode/AttributesPager/MultiLineRenderer.d.ts +1 -2
- package/cjs/components/attributes/readMode/AttributesPager/styles.d.ts +1 -1
- package/cjs/components/attributes/readMode/AttributesView/AttributesView.d.ts +2 -2
- package/cjs/components/attributes/readMode/AttributesView/AttributesView.js +3 -4
- package/cjs/components/attributes/readMode/ImageAttributesLine/ImageAttributesLine.d.ts +1 -2
- package/cjs/components/attributes/readMode/ReferenceAttribute/ReferenceAttribute.js +2 -4
- package/cjs/components/attributes/readMode/SpecialAttributes/Roles/Role.js +2 -6
- package/cjs/components/attributes/readMode/SpecialAttributes/Tags/Tag.js +2 -4
- package/cjs/components/attributes/types/attributesView.d.ts +2 -7
- package/cjs/components/crosswalks/AttributesTable/AddAttributesButton/AddAttributesButton.js +2 -3
- package/cjs/components/crosswalks/AttributesTable/AttributesTable.js +2 -3
- package/cjs/components/crosswalks/AttributesTable/cell-renderers/RuleTypeInfoButton.js +21 -17
- package/cjs/components/crosswalks/AttributesTable/cell-renderers/WinnerSourcesRenderer.js +1 -3
- package/cjs/components/crosswalks/CrosswalkAttributes/CrosswalkAttributes.js +9 -10
- package/cjs/components/crosswalks/CrosswalkDragLayer/CrosswalkDragPreview.js +3 -4
- package/cjs/components/crosswalks/CrosswalkRow/CrosswalkRow.js +11 -12
- package/cjs/components/crosswalks/DummyCrosswalkRow/DummyCrosswalkRow.js +3 -4
- package/cjs/components/editors/DataTypeValueEditor/useEditorContext.d.ts +3 -3
- package/cjs/components/editors/DataTypeValueEditor/useEditorContext.js +10 -36
- package/cjs/components/editors/DateRangeEditor/DateRangeEditor.d.ts +3 -3
- package/cjs/components/editors/TypeaheadEditor/TypeaheadEditor.js +1 -1
- package/cjs/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
- package/cjs/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
- package/cjs/components/history/HistoryMenuButton/HistoryMenuButton.js +5 -32
- package/cjs/components/history/HistoryTree/HistoryTree.js +9 -8
- package/cjs/components/history/HistoryTree/styles.d.ts +1 -1
- package/cjs/components/history/ProfileBandHistory/ProfileBandHistory.js +5 -31
- package/cjs/components/history/hooks/useHistoryDiff.js +8 -32
- package/cjs/components/history/hooks/useHistorySlice.js +4 -28
- package/cjs/components/index.d.ts +6 -6
- package/cjs/components/index.js +6 -6
- package/cjs/components/workflow/cards/GenericWorkflowTaskCard/styles.d.ts +1 -1
- package/cjs/components/workflow/cards/PotentialMatchTaskCard/PotentialMatchTaskCard.js +4 -5
- package/cjs/components/workflow/components/AttributesChanges/AttributesChanges.js +2 -3
- package/cjs/components/workflow/components/AttributesChanges/components/DiffRenderer/DiffRenderer.js +2 -3
- package/cjs/components/workflow/components/WorkflowComments/styles.d.ts +1 -1
- package/cjs/components/workflow/hooks/useWorkflowActions.js +6 -11
- package/cjs/components/workflow/hooks/useWorkflowAssignee.js +3 -8
- package/cjs/components/workflow/hooks/useWorkflowCheckPermission.js +24 -25
- package/cjs/components/workflow/hooks/useWorkflowComments.js +4 -8
- package/cjs/components/workflow/hooks/useWorkflowDefaultActionSuccessHandler.js +6 -30
- package/cjs/components/workflow/hooks/useWorkflowDefinitions.js +5 -9
- package/cjs/components/workflow/hooks/useWorkflowDueDate.js +4 -8
- package/cjs/components/workflow/hooks/useWorkflowPriority.js +4 -5
- package/cjs/components/workflow/hooks/useWorkflowProcessInstance.js +6 -10
- package/cjs/components/workflow/hooks/useWorkflowTasks.js +11 -15
- package/cjs/contexts/ActionsHookContext/index.d.ts +4 -1
- package/cjs/contexts/CollaborationContext/index.js +2 -2
- package/cjs/contexts/MdmModuleContext/context.d.ts +243 -0
- package/cjs/contexts/MdmModuleContext/context.js +7 -0
- package/cjs/contexts/MdmModuleContext/hooks.d.ts +139 -0
- package/cjs/contexts/MdmModuleContext/hooks.js +206 -0
- package/cjs/contexts/MdmModuleContext/index.d.ts +3 -0
- package/cjs/contexts/MdmModuleContext/index.js +70 -0
- package/cjs/contexts/MdmModuleContext/provider.d.ts +10 -0
- package/cjs/contexts/MdmModuleContext/provider.js +15 -0
- package/cjs/contexts/MdmModuleContext/selectors/dependentLookupEditorContext.d.ts +22 -0
- package/cjs/contexts/MdmModuleContext/selectors/dependentLookupEditorContext.js +132 -0
- package/cjs/contexts/MdmModuleContext/selectors/entity.d.ts +3 -0
- package/cjs/contexts/MdmModuleContext/selectors/entity.js +11 -0
- package/cjs/contexts/MdmModuleContext/selectors.d.ts +3 -0
- package/cjs/contexts/MdmModuleContext/selectors.js +11 -0
- package/cjs/contexts/index.d.ts +1 -0
- package/cjs/contexts/index.js +15 -0
- package/cjs/hooks/useAPI/useAPI.js +14 -40
- package/cjs/hooks/useCollaboration.js +5 -9
- package/cjs/hooks/useCommentsEntitiesMap.js +2 -6
- package/cjs/hooks/useConfigPermissions.js +3 -7
- package/cjs/hooks/useCustomScripts.js +13 -39
- package/cjs/hooks/useEditableConnection.js +2 -6
- package/cjs/hooks/useMarkAsNotMatchRequest.js +4 -8
- package/cjs/hooks/useMatchesLoader.js +5 -9
- package/cjs/hooks/useMergeAllRequest.js +16 -30
- package/cjs/hooks/useReadableSearchState.js +8 -32
- package/cjs/hooks/useRelationsLoader.js +9 -33
- package/cjs/hooks/useScrollToAttributeError/styles.d.ts +1 -1
- package/cjs/hooks/useUsers.js +4 -5
- package/esm/components/AttributeGroupIcon/AttributeGroupIcon.js +2 -3
- package/esm/components/AttributeSelector/AttributeSelector.js +2 -3
- package/esm/components/AttributesFiltersBuilder/AttributesFiltersBuilder.js +5 -6
- package/esm/components/BasicTableView/ColumnFilter/FilterChip/FilterChip.d.ts +13 -19
- package/esm/components/BasicTableView/ColumnFilter/FilterChip/FilterChip.js +7 -18
- package/esm/components/BasicView/BasicView.d.ts +1 -1
- package/esm/components/CollaborationItem/Comment/Comment.js +2 -4
- package/esm/components/CollaborationItem/CommentTarget/CommentTarget.js +3 -5
- package/esm/components/CollaborationItem/CommentTarget/styles.d.ts +1 -1
- package/esm/components/CollaborationItem/RepliedComment/RepliedComment.js +2 -4
- package/esm/components/CollaborationItem/SendMessageArea/SendMessageArea.js +2 -4
- package/esm/components/ColoredSourceIcon/ColoredSourceIcon.js +2 -4
- package/esm/components/ConnectionEditor/ConnectionEditor.js +3 -6
- package/esm/components/DataTenantBadge/DataTenantBadge.js +6 -4
- package/esm/components/DataTypeValue/DataTypeValue.js +4 -5
- package/esm/components/EntityAvatar/EntityAvatar.js +4 -5
- package/esm/components/EntityTypeBadge/EntityTypeBadge.js +4 -6
- package/esm/components/EntityTypeIcon/EntityTypeIcon.js +2 -3
- package/esm/components/EntityUriLink/EntityUriLink.js +5 -7
- package/esm/components/ErrorPopup/ErrorPopup.d.ts +13 -8
- package/esm/components/ErrorPopup/ErrorPopup.js +23 -18
- package/esm/components/ErrorPopup/styles.d.ts +1 -1
- package/esm/components/HierarchyNodeTitle/HierarchyNodeTitle.js +5 -7
- package/esm/components/ImageAttributesGallery/ImageAttributesGallery.js +2 -3
- package/esm/components/ImageDetailsView/ImageDetailsViewSidebar/ImageDetailsViewSidebar.d.ts +0 -5
- package/esm/components/ImageDetailsView/ImageDetailsViewSidebar/ImageDetailsViewSidebar.js +6 -7
- package/esm/components/ImageDetailsView/MetaInfo/MetaInfo.js +3 -4
- package/esm/components/ImageDetailsView/MetaInfoList/MetaInfoItem/styles.d.ts +1 -1
- package/esm/components/ImageDetailsView/MetaInfoList/MetaInfoList.js +3 -4
- package/esm/components/ImageDetailsView/hooks/useEditMetaInfo.js +4 -11
- package/esm/components/MatchRulesBlock/SimpleMatchRules/styles.d.ts +1 -1
- package/esm/components/MatchRulesSelector/MatchRulesSelector.d.ts +1 -4
- package/esm/components/MatchRulesSelector/MatchRulesSelector.js +2 -4
- package/esm/components/ModeSwitcher/styles.d.ts +1 -1
- package/esm/components/PivotingUriLink/PivotingUriLink.js +2 -4
- package/esm/components/Popper/Popper.d.ts +1 -1
- package/esm/components/PotentialMatchReviewCard/styles.d.ts +1 -1
- package/esm/components/ProfileBand/ProfileBand.js +3 -4
- package/esm/components/ProfileBandNavigation/ProfileBandNavigationWidget.d.ts +1 -1
- package/esm/components/ProfileBandNavigation/hooks/useSearchNavigation.js +20 -32
- package/esm/components/ProfileBandNavigation/hooks/useSearchNavigationVisibility.js +4 -5
- package/esm/components/ProfilesList/ProfilesList.d.ts +2 -3
- package/esm/components/ProfilesList/ProfilesList.js +3 -1
- package/esm/components/RelationEditor/RelationEditor.js +49 -36
- package/esm/components/RelevanceScoreBadge/RelevanceScoreBadge.js +3 -4
- package/esm/components/SelectAttributesList/SelectAttributesList.js +2 -3
- package/esm/components/SmallIconButton/SmallIconButton.d.ts +1 -1
- package/esm/components/SmallIconButton/index.d.ts +1 -1
- package/esm/components/SourceIcon/SourceIcon.js +2 -3
- package/esm/components/SourceSystemsSelector/SourceSystemsSelector.js +2 -3
- package/esm/components/TenantLabel/TenantLabel.js +3 -4
- package/esm/components/TenantsDropDownSelector/TenantsDropDownSelector.js +3 -4
- package/esm/components/UploadImageDialog/TargetBox/styles.d.ts +1 -1
- package/esm/components/UploadImageDialog/UploadImageDialog.js +4 -5
- package/esm/components/UserSelector/UserSelector.js +3 -4
- package/esm/components/activityLog/ActivityExportButton/ActivityExportButton.js +6 -7
- package/esm/components/activityLog/ActivityFilterEditor/ActivityFilterEditor.js +2 -3
- package/esm/components/activityLog/ActivityFilterEditor/EntityChangedSelectors.js +2 -3
- package/esm/components/activityLog/ActivityFilterEditor/SourceSelector.js +3 -4
- package/esm/components/activityLog/ActivityLogFilter/ActivityLogFilter.d.ts +1 -1
- package/esm/components/activityLog/ActivityLogFilter/ActivityLogFilter.js +5 -3
- package/esm/components/activityLog/activities/GroupActivity.js +2 -3
- package/esm/components/activityLog/activities/RelationObject/styles.d.ts +1 -1
- package/esm/components/activityLog/activities/SearchActivity.js +6 -7
- package/esm/components/activityLog/activities/fields/DeltaField.js +7 -8
- package/esm/components/activityLog/activities/fields/commonStyles.d.ts +1 -1
- package/esm/components/activityLog/activities/records/EntityRecord.js +8 -9
- package/esm/components/attributes/AttributesView/AttributesView.d.ts +2 -2
- package/esm/components/attributes/AttributesView/AttributesView.js +10 -6
- package/esm/components/attributes/DescriptionIcon/DescriptionIcon.d.ts +1 -1
- package/esm/components/attributes/ImageAttributesLine/ImageAttributesLine.d.ts +1 -2
- package/esm/components/attributes/ImageAttributesLine/ImageAttributesLine.js +9 -10
- package/esm/components/attributes/OvIcon/OvIcon.d.ts +1 -1
- package/esm/components/attributes/OvIcon/OvIcon.js +5 -7
- package/esm/components/attributes/PivotingAttributes/PivotingTooltip.js +4 -6
- package/esm/components/attributes/PivotingAttributes/PivotingTooltipContent.js +3 -4
- package/esm/components/attributes/PivotingAttributes/styles.d.ts +1 -1
- package/esm/components/attributes/editMode/AttributesFactory/AttributesFactory.js +1 -1
- package/esm/components/attributes/editMode/AttributesPager/AttributeRenderer.d.ts +7 -2
- package/esm/components/attributes/editMode/AttributesPager/AttributesPager.d.ts +2 -38
- package/esm/components/attributes/editMode/AttributesPager/AttributesPager.js +12 -4
- package/esm/components/attributes/editMode/AttributesPager/ImageLineRenderer.d.ts +1 -2
- package/esm/components/attributes/editMode/AttributesPager/index.d.ts +2 -39
- package/esm/components/attributes/editMode/AttributesPager/index.js +2 -19
- package/esm/components/attributes/editMode/AttributesPager/styles.d.ts +1 -1
- package/esm/components/attributes/editMode/AttributesPager/types.d.ts +21 -0
- package/esm/components/attributes/editMode/AttributesView/AttributesView.d.ts +1 -1
- package/esm/components/attributes/editMode/AttributesView/AttributesView.js +11 -13
- package/esm/components/attributes/editMode/EntityCreator/EntityCreator.d.ts +9 -24
- package/esm/components/attributes/editMode/EntityCreator/EntityCreator.js +7 -15
- package/esm/components/attributes/editMode/EntitySelector/EntitySelector.js +1 -1
- package/esm/components/attributes/editMode/EntitySelector/components/SingleValue.js +4 -7
- package/esm/components/attributes/editMode/ImageAttributesLine/ImageAttributesLine.d.ts +1 -2
- package/esm/components/attributes/editMode/ImageAttributesLine/ImageAttributesLine.js +8 -10
- package/esm/components/attributes/editMode/MoreAttributesButton/useMoreAttributesItems.js +2 -3
- package/esm/components/attributes/editMode/ReferenceAttribute/ReferenceAttribute.js +18 -17
- package/esm/components/attributes/editMode/Roles/Roles.js +4 -5
- package/esm/components/attributes/editMode/SimpleAttributeEditor/SimpleAttributeEditor.js +5 -10
- package/esm/components/attributes/editMode/SimpleAttributeEditor/useAutopopulationContextValue.js +7 -7
- package/esm/components/attributes/editMode/Tags/Tags.js +3 -4
- package/esm/components/attributes/inline/ReferenceAttribute/ReferenceAttribute.js +4 -6
- package/esm/components/attributes/inline/common/SourceItem.js +3 -5
- package/esm/components/attributes/readMode/AttributesList/AttributesList.js +1 -1
- package/esm/components/attributes/readMode/AttributesPager/AttributesPager.d.ts +1 -3
- package/esm/components/attributes/readMode/AttributesPager/AttributesPager.js +7 -2
- package/esm/components/attributes/readMode/AttributesPager/ImageLineRenderer.d.ts +1 -2
- package/esm/components/attributes/readMode/AttributesPager/MultiLineRenderer.d.ts +1 -2
- package/esm/components/attributes/readMode/AttributesPager/styles.d.ts +1 -1
- package/esm/components/attributes/readMode/AttributesView/AttributesView.d.ts +2 -2
- package/esm/components/attributes/readMode/AttributesView/AttributesView.js +4 -5
- package/esm/components/attributes/readMode/ImageAttributesLine/ImageAttributesLine.d.ts +1 -2
- package/esm/components/attributes/readMode/ReferenceAttribute/ReferenceAttribute.js +4 -6
- package/esm/components/attributes/readMode/SpecialAttributes/Roles/Role.js +2 -3
- package/esm/components/attributes/readMode/SpecialAttributes/Tags/Tag.js +3 -5
- package/esm/components/attributes/types/attributesView.d.ts +2 -7
- package/esm/components/crosswalks/AttributesTable/AddAttributesButton/AddAttributesButton.js +2 -3
- package/esm/components/crosswalks/AttributesTable/AttributesTable.js +2 -3
- package/esm/components/crosswalks/AttributesTable/cell-renderers/RuleTypeInfoButton.js +21 -17
- package/esm/components/crosswalks/AttributesTable/cell-renderers/WinnerSourcesRenderer.js +2 -4
- package/esm/components/crosswalks/CrosswalkAttributes/CrosswalkAttributes.js +9 -10
- package/esm/components/crosswalks/CrosswalkDragLayer/CrosswalkDragPreview.js +3 -4
- package/esm/components/crosswalks/CrosswalkRow/CrosswalkRow.js +12 -13
- package/esm/components/crosswalks/DummyCrosswalkRow/DummyCrosswalkRow.js +3 -4
- package/esm/components/editors/DataTypeValueEditor/useEditorContext.d.ts +3 -3
- package/esm/components/editors/DataTypeValueEditor/useEditorContext.js +10 -13
- package/esm/components/editors/DateRangeEditor/DateRangeEditor.d.ts +3 -3
- package/esm/components/editors/TypeaheadEditor/TypeaheadEditor.js +1 -1
- package/esm/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
- package/esm/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
- package/esm/components/history/HistoryMenuButton/HistoryMenuButton.js +5 -9
- package/esm/components/history/HistoryTree/HistoryTree.js +9 -8
- package/esm/components/history/HistoryTree/styles.d.ts +1 -1
- package/esm/components/history/ProfileBandHistory/ProfileBandHistory.js +5 -8
- package/esm/components/history/hooks/useHistoryDiff.js +8 -9
- package/esm/components/history/hooks/useHistorySlice.js +4 -5
- package/esm/components/index.d.ts +6 -6
- package/esm/components/index.js +6 -6
- package/esm/components/workflow/cards/GenericWorkflowTaskCard/styles.d.ts +1 -1
- package/esm/components/workflow/cards/PotentialMatchTaskCard/PotentialMatchTaskCard.js +4 -5
- package/esm/components/workflow/components/AttributesChanges/AttributesChanges.js +2 -3
- package/esm/components/workflow/components/AttributesChanges/components/DiffRenderer/DiffRenderer.js +2 -3
- package/esm/components/workflow/components/WorkflowComments/styles.d.ts +1 -1
- package/esm/components/workflow/hooks/useWorkflowActions.js +5 -7
- package/esm/components/workflow/hooks/useWorkflowAssignee.js +4 -6
- package/esm/components/workflow/hooks/useWorkflowCheckPermission.js +24 -22
- package/esm/components/workflow/hooks/useWorkflowComments.js +4 -5
- package/esm/components/workflow/hooks/useWorkflowDefaultActionSuccessHandler.js +7 -8
- package/esm/components/workflow/hooks/useWorkflowDefinitions.js +5 -6
- package/esm/components/workflow/hooks/useWorkflowDueDate.js +4 -5
- package/esm/components/workflow/hooks/useWorkflowPriority.js +4 -5
- package/esm/components/workflow/hooks/useWorkflowProcessInstance.js +6 -7
- package/esm/components/workflow/hooks/useWorkflowTasks.js +11 -12
- package/esm/contexts/ActionsHookContext/index.d.ts +4 -1
- package/esm/contexts/CollaborationContext/index.js +1 -1
- package/esm/contexts/MdmModuleContext/context.d.ts +243 -0
- package/esm/contexts/MdmModuleContext/context.js +4 -0
- package/esm/contexts/MdmModuleContext/hooks.d.ts +139 -0
- package/esm/contexts/MdmModuleContext/hooks.js +139 -0
- package/esm/contexts/MdmModuleContext/index.d.ts +3 -0
- package/esm/contexts/MdmModuleContext/index.js +2 -0
- package/esm/contexts/MdmModuleContext/provider.d.ts +10 -0
- package/esm/contexts/MdmModuleContext/provider.js +8 -0
- package/esm/contexts/MdmModuleContext/selectors/dependentLookupEditorContext.d.ts +22 -0
- package/esm/contexts/MdmModuleContext/selectors/dependentLookupEditorContext.js +123 -0
- package/esm/contexts/MdmModuleContext/selectors/entity.d.ts +3 -0
- package/esm/contexts/MdmModuleContext/selectors/entity.js +6 -0
- package/esm/contexts/MdmModuleContext/selectors.d.ts +3 -0
- package/esm/contexts/MdmModuleContext/selectors.js +6 -0
- package/esm/contexts/index.d.ts +1 -0
- package/esm/contexts/index.js +1 -0
- package/esm/hooks/useAPI/useAPI.js +15 -18
- package/esm/hooks/useCollaboration.js +5 -6
- package/esm/hooks/useCommentsEntitiesMap.js +2 -3
- package/esm/hooks/useConfigPermissions.js +3 -4
- package/esm/hooks/useCustomScripts.js +14 -17
- package/esm/hooks/useEditableConnection.js +2 -3
- package/esm/hooks/useMarkAsNotMatchRequest.js +4 -5
- package/esm/hooks/useMatchesLoader.js +5 -6
- package/esm/hooks/useMergeAllRequest.js +16 -7
- package/esm/hooks/useReadableSearchState.js +8 -9
- package/esm/hooks/useRelationsLoader.js +9 -10
- package/esm/hooks/useScrollToAttributeError/styles.d.ts +1 -1
- package/esm/hooks/useUsers.js +4 -5
- package/package.json +3 -4
- package/cjs/components/ProfileBandNavigation/helpers/index.d.ts +0 -7
- package/cjs/components/ProfileBandNavigation/helpers/index.js +0 -70
- package/cjs/components/ProfileBandNavigation/types/index.d.ts +0 -15
- package/cjs/components/ProfileBandNavigation/types/index.js +0 -2
- package/cjs/components/ProfilesList/index.d.ts +0 -27
- package/cjs/components/ProfilesList/index.js +0 -16
- package/cjs/components/RelationEditor/index.d.ts +0 -6
- package/cjs/components/RelationEditor/index.js +0 -50
- package/cjs/components/attributes/AttributesView/index.d.ts +0 -7
- package/cjs/components/attributes/AttributesView/index.js +0 -15
- package/cjs/components/attributes/editMode/AttributesView/index.d.ts +0 -23
- package/cjs/components/attributes/editMode/AttributesView/index.js +0 -14
- package/cjs/components/attributes/editMode/EntityCreator/index.d.ts +0 -25
- package/cjs/components/attributes/editMode/EntityCreator/index.js +0 -42
- package/cjs/components/attributes/editMode/ReferenceAttribute/index.d.ts +0 -4
- package/cjs/components/attributes/editMode/ReferenceAttribute/index.js +0 -48
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/getDependentLookupEditorContext.d.ts +0 -2
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/getDependentLookupEditorContext.js +0 -34
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/cache.d.ts +0 -1
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/cache.js +0 -19
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/missedParentsMessage.d.ts +0 -1
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/missedParentsMessage.js +0 -20
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/parents.d.ts +0 -5
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/parents.js +0 -79
- package/cjs/components/attributes/editMode/SimpleAttributeEditor/selectors/types.d.ts +0 -11
- package/cjs/components/attributes/readMode/AttributesPager/index.d.ts +0 -28
- package/cjs/components/attributes/readMode/AttributesPager/index.js +0 -43
- package/cjs/components/attributes/readMode/AttributesView/index.d.ts +0 -23
- package/cjs/components/attributes/readMode/AttributesView/index.js +0 -14
- package/cjs/test-utils/store-utils.d.ts +0 -78
- package/cjs/test-utils/store-utils.js +0 -19
- package/esm/components/ProfileBandNavigation/helpers/index.d.ts +0 -7
- package/esm/components/ProfileBandNavigation/helpers/index.js +0 -66
- package/esm/components/ProfileBandNavigation/types/index.d.ts +0 -15
- package/esm/components/ProfileBandNavigation/types/index.js +0 -1
- package/esm/components/ProfilesList/index.d.ts +0 -27
- package/esm/components/ProfilesList/index.js +0 -10
- package/esm/components/RelationEditor/index.d.ts +0 -6
- package/esm/components/RelationEditor/index.js +0 -21
- package/esm/components/attributes/AttributesView/index.d.ts +0 -7
- package/esm/components/attributes/AttributesView/index.js +0 -9
- package/esm/components/attributes/editMode/AttributesView/index.d.ts +0 -23
- package/esm/components/attributes/editMode/AttributesView/index.js +0 -8
- package/esm/components/attributes/editMode/EntityCreator/index.d.ts +0 -25
- package/esm/components/attributes/editMode/EntityCreator/index.js +0 -13
- package/esm/components/attributes/editMode/ReferenceAttribute/index.d.ts +0 -4
- package/esm/components/attributes/editMode/ReferenceAttribute/index.js +0 -19
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/getDependentLookupEditorContext.d.ts +0 -2
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/getDependentLookupEditorContext.js +0 -27
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/cache.d.ts +0 -1
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/cache.js +0 -15
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/missedParentsMessage.d.ts +0 -1
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/missedParentsMessage.js +0 -13
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/parents.d.ts +0 -5
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/helpers/parents.js +0 -72
- package/esm/components/attributes/editMode/SimpleAttributeEditor/selectors/types.d.ts +0 -11
- package/esm/components/attributes/readMode/AttributesPager/index.d.ts +0 -28
- package/esm/components/attributes/readMode/AttributesPager/index.js +0 -14
- package/esm/components/attributes/readMode/AttributesView/index.d.ts +0 -23
- package/esm/components/attributes/readMode/AttributesView/index.js +0 -8
- package/esm/test-utils/store-utils.d.ts +0 -78
- package/esm/test-utils/store-utils.js +0 -12
- /package/cjs/components/attributes/editMode/{SimpleAttributeEditor/selectors → AttributesPager}/types.js +0 -0
- /package/esm/components/attributes/editMode/{SimpleAttributeEditor/selectors → AttributesPager}/types.js +0 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useContext } from 'react';
|
|
2
2
|
import { filter } from 'ramda';
|
|
3
|
-
import { useSelector } from 'react-redux';
|
|
4
3
|
import { getAssigneeForTask, updateAssigneeForTask, utils } from '@reltio/mdm-sdk';
|
|
5
|
-
import mdmModule from '@reltio/mdm-module';
|
|
6
4
|
import { useSafePromise } from '../../../hooks';
|
|
7
|
-
import { WorkflowTasksContext } from '../../../contexts';
|
|
5
|
+
import { WorkflowTasksContext, useMdmTenant, useMdmWorkflowEnvironmentUrl, useMdmWorkflowPath } from '../../../contexts';
|
|
8
6
|
import { showWorkflowError } from '../helpers/errors';
|
|
9
7
|
import { useWorkflowCheckPermission } from './useWorkflowCheckPermission';
|
|
10
8
|
import { isOpenTask } from '../helpers';
|
|
@@ -15,9 +13,9 @@ var assigneeToValue = function (assignee) { return ({
|
|
|
15
13
|
export var useWorkflowAssignee = function (_a) {
|
|
16
14
|
var assignee = _a.assignee, taskId = _a.taskId, isOpen = _a.isOpen;
|
|
17
15
|
var updateTaskState = (useContext(WorkflowTasksContext) || {}).updateTaskState;
|
|
18
|
-
var workflowPath =
|
|
19
|
-
var environment =
|
|
20
|
-
var tenant =
|
|
16
|
+
var workflowPath = useMdmWorkflowPath();
|
|
17
|
+
var environment = useMdmWorkflowEnvironmentUrl();
|
|
18
|
+
var tenant = useMdmTenant();
|
|
21
19
|
var updateSafePromise = useSafePromise();
|
|
22
20
|
var getSafePromise = useSafePromise();
|
|
23
21
|
var _b = useState(null), currentAssignee = _b[0], setCurrentAssignee = _b[1];
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { useMdmTenant, useMdmUser, useMdmWorkflowPath } from '../../../contexts';
|
|
2
|
+
import { canUserStartProcessInstanceFromQuery as checkCanUserStartProcessInstanceFromQuery, canUserViewWorkflowJobs as checkCanUserViewWorkflowJobs, canUserViewWorkflowEnvironmentConfigJar as checkCanUserViewWorkflowEnvironmentConfigJar, canUserViewWorkflowDefinition as checkCanUserViewWorkflowDefinition, canUserViewWorkflowConfigJar as checkCanUserViewWorkflowConfigJar, canUserViewProcessInstanceSearchQuery as checkCanUserViewProcessInstanceSearchQuery, canUserUpdateWorkflowDataTask as checkCanUserUpdateWorkflowDataTask, canUserUpdateProcessInstance as checkCanUserUpdateProcessInstance, canUserReadWorkflowDataTask as checkCanUserReadWorkflowDataTask, canUserManageWorkflowEnvironmentDefinition as checkCanUserManageWorkflowEnvironmentDefinition, canUserManageWorkflowDefinition as checkCanUserManageWorkflowDefinition, canUserExecuteWorkflowJobsValidateTasks as checkCanUserExecuteWorkflowJobsValidateTasks, canUserExecuteWorkflowJobsUpdateTasks as checkCanUserExecuteWorkflowJobsUpdateTasks, canUserExecuteWorkflowJobsTerminateProcessInstance as checkCanUserExecuteWorkflowJobsTerminateProcessInstance, canUserExecuteWorkflowJobsSyncBusinessProcessData as checkCanUserExecuteWorkflowJobsSyncBusinessProcessData, canUserExecuteWorkflowJobs as checkCanUserExecuteWorkflowJobs, canUserCreateWorkflowEnvironmentConfigJar as checkCanUserCreateWorkflowEnvironmentConfigJar, canUserRegisterConfigEnvironments as checkCanUserRegisterConfigEnvironments, canUserCreateWorkflowConfigJar as checkCanUserCreateWorkflowConfigJar } from '@reltio/mdm-sdk';
|
|
3
3
|
export var useWorkflowCheckPermission = function () {
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
4
|
+
var tenant = useMdmTenant();
|
|
5
|
+
var user = useMdmUser();
|
|
6
|
+
var workflowPath = useMdmWorkflowPath();
|
|
7
|
+
var canUserStartProcessFromQuery = checkCanUserStartProcessInstanceFromQuery(user, tenant);
|
|
8
|
+
var canUserViewWorkflowJobs = checkCanUserViewWorkflowJobs(user, tenant);
|
|
9
|
+
var canUserViewWorkflowEnvironmentConfigJar = checkCanUserViewWorkflowEnvironmentConfigJar(user, tenant);
|
|
10
|
+
var canUserViewWorkflowDefinition = checkCanUserViewWorkflowDefinition(user, tenant);
|
|
11
|
+
var canUserViewWorkflowConfigJar = checkCanUserViewWorkflowConfigJar(user, tenant);
|
|
12
|
+
var canUserViewProcessInstanceSearchQuery = checkCanUserViewProcessInstanceSearchQuery(user, tenant);
|
|
13
|
+
var canUserUpdateWorkflowDataTask = checkCanUserUpdateWorkflowDataTask(user, tenant);
|
|
14
|
+
var canUserUpdateProcessInstance = checkCanUserUpdateProcessInstance(user, tenant);
|
|
15
|
+
var canUserReadWorkflowDataTask = checkCanUserReadWorkflowDataTask(user, tenant);
|
|
16
|
+
var canUserManageWorkflowEnvironmentDefinition = checkCanUserManageWorkflowEnvironmentDefinition(user, tenant);
|
|
17
|
+
var canUserManageWorkflowDefinition = checkCanUserManageWorkflowDefinition(user, tenant);
|
|
18
|
+
var canUserExecuteWorkflowJobsValidateTasks = checkCanUserExecuteWorkflowJobsValidateTasks(user, tenant);
|
|
19
|
+
var canUserExecuteWorkflowJobsUpdateTasks = checkCanUserExecuteWorkflowJobsUpdateTasks(user, tenant);
|
|
20
|
+
var canUserExecuteWorkflowJobsTerminateProcessInstance = checkCanUserExecuteWorkflowJobsTerminateProcessInstance(user, tenant);
|
|
21
|
+
var canUserExecuteWorkflowJobsSyncBusinessProcessData = checkCanUserExecuteWorkflowJobsSyncBusinessProcessData(user, tenant);
|
|
22
|
+
var canUserExecuteWorkflowJobs = checkCanUserExecuteWorkflowJobs(user, tenant);
|
|
23
|
+
var canUserCreateWorkflowEnvironmentConfigJar = checkCanUserCreateWorkflowEnvironmentConfigJar(user, tenant);
|
|
24
|
+
var canUserRegisterConfigEnvironments = checkCanUserRegisterConfigEnvironments(user, tenant);
|
|
25
|
+
var canUserCreateWorkflowConfigJar = checkCanUserCreateWorkflowConfigJar(user, tenant);
|
|
24
26
|
var checkWorkflowPermission = function (permission) {
|
|
25
27
|
if (!workflowPath)
|
|
26
28
|
return false;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useContext } from 'react';
|
|
2
2
|
import { addCommentForTask, getTaskById } from '@reltio/mdm-sdk';
|
|
3
|
-
import mdmModule from '@reltio/mdm-module';
|
|
4
|
-
import { useSelector } from 'react-redux';
|
|
5
3
|
import { useSafePromise } from '../../../hooks';
|
|
6
4
|
import { WorkflowTasksContext } from '../../../contexts/WorkflowTasksContext';
|
|
7
5
|
import { showWorkflowError } from '../helpers/errors';
|
|
8
6
|
import { useWorkflowCheckPermission } from './useWorkflowCheckPermission';
|
|
9
7
|
import { isOpenTask } from '../helpers';
|
|
8
|
+
import { useMdmTenant, useMdmWorkflowEnvironmentUrl, useMdmWorkflowPath } from '../../../contexts';
|
|
10
9
|
export var useWorkflowComments = function (_a) {
|
|
11
10
|
var processInstanceComments = _a.processInstanceComments, taskId = _a.taskId, isOpen = _a.isOpen;
|
|
12
11
|
var updateTaskState = (useContext(WorkflowTasksContext) || {}).updateTaskState;
|
|
13
|
-
var workflowPath =
|
|
14
|
-
var environment =
|
|
15
|
-
var tenant =
|
|
12
|
+
var workflowPath = useMdmWorkflowPath();
|
|
13
|
+
var environment = useMdmWorkflowEnvironmentUrl();
|
|
14
|
+
var tenant = useMdmTenant();
|
|
16
15
|
var safePromise = useSafePromise();
|
|
17
16
|
var _b = useState([]), comments = _b[0], setComments = _b[1];
|
|
18
17
|
var _c = useState(false), requestIsInProgress = _c[0], setRequestIsInProgress = _c[1];
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { useCallback, useContext } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import mdmModule, { profile, ui } from '@reltio/mdm-module';
|
|
4
|
-
import { ViewIdContext, WorkflowTasksContext } from '../../../contexts';
|
|
2
|
+
import { ViewIdContext, WorkflowTasksContext, useMdmAction, useMdmEntityUri } from '../../../contexts';
|
|
5
3
|
export var useWorkflowDefaultActionSuccessHandler = function () {
|
|
6
4
|
var loadTasks = (useContext(WorkflowTasksContext) || {}).loadTasks;
|
|
7
5
|
var viewId = useContext(ViewIdContext);
|
|
8
|
-
var
|
|
9
|
-
var
|
|
6
|
+
var loadEntity = useMdmAction('loadEntity');
|
|
7
|
+
var entityDeletionFinished = useMdmAction('entityDeletionFinished');
|
|
8
|
+
var entityUri = useMdmEntityUri();
|
|
10
9
|
return useCallback(function (action) {
|
|
11
10
|
if (action === 'Delete') {
|
|
12
|
-
|
|
11
|
+
entityDeletionFinished();
|
|
13
12
|
}
|
|
14
13
|
else {
|
|
15
14
|
// entity refreshing
|
|
16
|
-
|
|
15
|
+
loadEntity({ viewId: viewId, uri: entityUri });
|
|
17
16
|
loadTasks === null || loadTasks === void 0 ? void 0 : loadTasks();
|
|
18
17
|
}
|
|
19
|
-
}, [
|
|
18
|
+
}, [entityUri, loadTasks, viewId, loadEntity, entityDeletionFinished]);
|
|
20
19
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
|
-
import mdmModule from '@reltio/mdm-module';
|
|
3
2
|
import { processDefinitions } from '@reltio/mdm-sdk';
|
|
4
|
-
import { useSelector } from 'react-redux';
|
|
5
3
|
import { useSafePromise } from '../../../hooks';
|
|
4
|
+
import { useMdmEntity, useMdmTenant, useMdmWorkflowEnvironmentUrl, useMdmWorkflowPath } from '../../../contexts';
|
|
6
5
|
var filterDefinitions = function (definitions, entityType) {
|
|
7
6
|
return definitions.filter(function (_a) {
|
|
8
7
|
var manualStart = _a.manualStart, objectTypes = _a.objectTypes;
|
|
@@ -11,10 +10,10 @@ var filterDefinitions = function (definitions, entityType) {
|
|
|
11
10
|
};
|
|
12
11
|
export var useWorkflowDefinitions = function () {
|
|
13
12
|
var _a = useState([]), definitions = _a[0], setDefinitions = _a[1];
|
|
14
|
-
var workflowPath =
|
|
15
|
-
var environment =
|
|
16
|
-
var tenant =
|
|
17
|
-
var entity =
|
|
13
|
+
var workflowPath = useMdmWorkflowPath();
|
|
14
|
+
var environment = useMdmWorkflowEnvironmentUrl();
|
|
15
|
+
var tenant = useMdmTenant();
|
|
16
|
+
var entity = useMdmEntity();
|
|
18
17
|
var entityType = entity.type;
|
|
19
18
|
var safePromise = useSafePromise();
|
|
20
19
|
useEffect(function () {
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { useState, useCallback, useContext } from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
2
|
import { updateDueDateForTask } from '@reltio/mdm-sdk';
|
|
4
|
-
import mdmModule from '@reltio/mdm-module';
|
|
5
3
|
import { useSafePromise } from '../../../hooks';
|
|
6
4
|
import { WorkflowTasksContext } from '../../../contexts/WorkflowTasksContext';
|
|
7
5
|
import { showWorkflowError } from '../helpers/errors';
|
|
8
6
|
import { useWorkflowCheckPermission } from './useWorkflowCheckPermission';
|
|
9
7
|
import { isOpenTask } from '../helpers';
|
|
8
|
+
import { useMdmTenant, useMdmWorkflowEnvironmentUrl, useMdmWorkflowPath } from '../../../contexts';
|
|
10
9
|
export var useWorkflowDueDate = function (_a) {
|
|
11
10
|
var dueDate = _a.dueDate, taskId = _a.taskId, isOpen = _a.isOpen;
|
|
12
11
|
var updateTaskState = (useContext(WorkflowTasksContext) || {}).updateTaskState;
|
|
13
|
-
var workflowPath =
|
|
14
|
-
var environment =
|
|
15
|
-
var tenant =
|
|
12
|
+
var workflowPath = useMdmWorkflowPath();
|
|
13
|
+
var environment = useMdmWorkflowEnvironmentUrl();
|
|
14
|
+
var tenant = useMdmTenant();
|
|
16
15
|
var safePromise = useSafePromise();
|
|
17
16
|
var _b = useState(false), updateRequestIsInProgress = _b[0], setUpdateRequestIsInProgress = _b[1];
|
|
18
17
|
var checkWorkflowPermission = useWorkflowCheckPermission();
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { useState, useCallback, useContext, useMemo } from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
2
|
import i18n from 'ui-i18n';
|
|
4
3
|
import { updatePriorityForTask, WorkflowPriority } from '@reltio/mdm-sdk';
|
|
5
|
-
import mdmModule from '@reltio/mdm-module';
|
|
6
4
|
import { useSafePromise } from '../../../hooks';
|
|
7
5
|
import { WorkflowTasksContext } from '../../../contexts/WorkflowTasksContext';
|
|
8
6
|
import { showWorkflowError } from '../helpers/errors';
|
|
9
7
|
import { useWorkflowCheckPermission } from './useWorkflowCheckPermission';
|
|
10
8
|
import { isOpenTask } from '../helpers';
|
|
9
|
+
import { useMdmTenant, useMdmWorkflowEnvironmentUrl, useMdmWorkflowPath } from '../../../contexts';
|
|
11
10
|
export var useWorkflowPriority = function (_a) {
|
|
12
11
|
var priority = _a.priority, taskId = _a.taskId, isOpen = _a.isOpen;
|
|
13
12
|
var updateTaskState = (useContext(WorkflowTasksContext) || {}).updateTaskState;
|
|
14
|
-
var workflowPath =
|
|
15
|
-
var environment =
|
|
16
|
-
var tenant =
|
|
13
|
+
var workflowPath = useMdmWorkflowPath();
|
|
14
|
+
var environment = useMdmWorkflowEnvironmentUrl();
|
|
15
|
+
var tenant = useMdmTenant();
|
|
17
16
|
var safePromise = useSafePromise();
|
|
18
17
|
var _b = useState(false), updateRequestIsInProgress = _b[0], setUpdateRequestIsInProgress = _b[1];
|
|
19
18
|
var checkWorkflowPermission = useWorkflowCheckPermission();
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { useCallback, useContext, useState } from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
|
-
import mdmModule from '@reltio/mdm-module';
|
|
4
2
|
import { startProcessInstance } from '@reltio/mdm-sdk';
|
|
5
3
|
import { WorkflowTasksContext } from '../../../contexts/WorkflowTasksContext';
|
|
6
4
|
import { showWorkflowError } from '../helpers/errors';
|
|
5
|
+
import { useMdmEntity, useMdmTenant, useMdmWorkflowEnvironmentUrl, useMdmWorkflowPath } from '../../../contexts';
|
|
7
6
|
export var useWorkflowProcessInstance = function () {
|
|
7
|
+
var _a = useState(false), loading = _a[0], setLoading = _a[1];
|
|
8
8
|
var loadTasks = useContext(WorkflowTasksContext).loadTasks;
|
|
9
|
-
var workflowPath =
|
|
10
|
-
var environment =
|
|
11
|
-
var tenant =
|
|
12
|
-
var entity =
|
|
9
|
+
var workflowPath = useMdmWorkflowPath();
|
|
10
|
+
var environment = useMdmWorkflowEnvironmentUrl();
|
|
11
|
+
var tenant = useMdmTenant();
|
|
12
|
+
var entity = useMdmEntity();
|
|
13
13
|
var entityUri = entity.uri;
|
|
14
|
-
var _a = useState(false), loading = _a[0], setLoading = _a[1];
|
|
15
14
|
var processInstance = useCallback(function (comment, taskType) {
|
|
16
15
|
setLoading(true);
|
|
17
16
|
return startProcessInstance({
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { useCallback, useEffect, useState } from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
2
|
import { filter, flatten, isNil, map, mergeLeft, pipe, prop, propEq, reject, uniqBy, when } from 'ramda';
|
|
4
|
-
import mdmModule from '@reltio/mdm-module';
|
|
5
3
|
import { getEntityUriFromDCRUri, getTasksForEntity, isDCRUri, isTempUri } from '@reltio/mdm-sdk';
|
|
6
4
|
import { useSafePromise } from '../../../hooks/useSafePromise';
|
|
7
5
|
import { useWorkflowCheckPermission } from './useWorkflowCheckPermission';
|
|
6
|
+
import { useMdmEntityUri, useMdmIsEditableMode, useMdmIsWorkflowEnabled, useMdmProfileLastLoadedTime, useMdmTenant, useMdmWorkflowEnvironmentUrl, useMdmWorkflowPath } from '../../../contexts';
|
|
8
7
|
export var useWorkflowTasks = function (config) {
|
|
9
8
|
var _a = config || {}, processTypes = _a.processTypes, assignee = _a.assignee, showClosedTasks = _a.showClosedTasks;
|
|
9
|
+
var _b = useState(null), tasks = _b[0], setTasks = _b[1];
|
|
10
|
+
var _c = useState(0), total = _c[0], setTotal = _c[1];
|
|
11
|
+
var _d = useState(false), loading = _d[0], setLoading = _d[1];
|
|
10
12
|
var safePromise = useSafePromise();
|
|
11
|
-
var workflowPath = useSelector(mdmModule.selectors.getWorkflowPath);
|
|
12
|
-
var environment = useSelector(mdmModule.selectors.getWorkflowEnvironmentUrl);
|
|
13
|
-
var isWorkflowEnabled = useSelector(mdmModule.selectors.isWorkflowEnabled);
|
|
14
|
-
var tenant = useSelector(mdmModule.selectors.getTenant);
|
|
15
|
-
var entityUri = useSelector(mdmModule.selectors.getEntityUri);
|
|
16
|
-
var isEditableMode = useSelector(mdmModule.selectors.getIsEditableMode);
|
|
17
|
-
var entityLastLoadedTime = useSelector(mdmModule.selectors.getProfileLastLoadedTime);
|
|
18
13
|
var checkWorkflowPermission = useWorkflowCheckPermission();
|
|
14
|
+
var workflowPath = useMdmWorkflowPath();
|
|
15
|
+
var environment = useMdmWorkflowEnvironmentUrl();
|
|
16
|
+
var isWorkflowEnabled = useMdmIsWorkflowEnabled();
|
|
17
|
+
var tenant = useMdmTenant();
|
|
18
|
+
var entityUri = useMdmEntityUri();
|
|
19
|
+
var isEditableMode = useMdmIsEditableMode();
|
|
20
|
+
var entityLastLoadedTime = useMdmProfileLastLoadedTime();
|
|
19
21
|
var canViewTasks = checkWorkflowPermission('VIEW_TASKS');
|
|
20
22
|
var enabled = !!(workflowPath && environment) && isWorkflowEnabled && canViewTasks;
|
|
21
|
-
var _b = useState(null), tasks = _b[0], setTasks = _b[1];
|
|
22
|
-
var _c = useState(0), total = _c[0], setTotal = _c[1];
|
|
23
|
-
var _d = useState(false), loading = _d[0], setLoading = _d[1];
|
|
24
23
|
var loadTasks = useCallback(function () {
|
|
25
24
|
setLoading(true);
|
|
26
25
|
var parsedProcessTypes = !Array.isArray(processTypes) || processTypes.includes('*') ? null : processTypes;
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { Metadata, SearchState, AttributePresentations, Entity, Mode, AttributeType, AttributeError, ImageAttributeValue, SortingStrategy, DependentLookupsConfig, PivotingValue, PivotingAttribute, DataTenant, HistoryDiff, ImageAttributeFieldsOrder, Connection, User, SearchNavigationData, SearchProviderData, Lookups, HistoryMode, HistorySlice, HistoryEvent, RequestNextPageOfAttributeValuesPayload, LookupsForTypeResolvedPayload, RelationsLoadedPayload, CompactRelationType, AddAttributesPayload, ModifyAttributePayload, RemoveAttributePayload, RelationsState, DependentLookupsState, ActivityFilter, SearchOptions, GlobalFilter } from '@reltio/mdm-sdk';
|
|
2
|
+
export type MdmModuleValuesContextProps = Partial<{
|
|
3
|
+
autoCloseInterval: number;
|
|
4
|
+
uiError: string;
|
|
5
|
+
workflowEnvironmentUrl: string;
|
|
6
|
+
exportPath: string;
|
|
7
|
+
absoluteImagePath: string;
|
|
8
|
+
uiPath: string;
|
|
9
|
+
dtssPath: string;
|
|
10
|
+
servicesPath: string;
|
|
11
|
+
workflowPath: string;
|
|
12
|
+
imageServicePath: string;
|
|
13
|
+
reltioPath: string;
|
|
14
|
+
apiPath: string;
|
|
15
|
+
collaborationPath: string;
|
|
16
|
+
imageAttributesFieldsOrder: ImageAttributeFieldsOrder;
|
|
17
|
+
showEntityId: boolean;
|
|
18
|
+
pivotingAttributes: PivotingAttribute[];
|
|
19
|
+
dateMask: string;
|
|
20
|
+
dateTimeMask: string;
|
|
21
|
+
attributePresentations: AttributePresentations;
|
|
22
|
+
defaultMaxValues: number;
|
|
23
|
+
attributesSortingStrategy: SortingStrategy;
|
|
24
|
+
lookupAutocomplete: DependentLookupsConfig;
|
|
25
|
+
modifiedEntities: Record<string, Entity>;
|
|
26
|
+
relations: RelationsState;
|
|
27
|
+
profileErrors: AttributeError[];
|
|
28
|
+
entity: Entity;
|
|
29
|
+
entityWithDiff: Entity;
|
|
30
|
+
entityUriWithDataTenant: string;
|
|
31
|
+
mode: Mode;
|
|
32
|
+
isViewMode: boolean;
|
|
33
|
+
isEditableMode: boolean;
|
|
34
|
+
historyDiff: HistoryDiff;
|
|
35
|
+
historyMode: HistoryMode;
|
|
36
|
+
historySlice: HistorySlice;
|
|
37
|
+
historyEvent: HistoryEvent;
|
|
38
|
+
profileLastLoadedTime: number;
|
|
39
|
+
lookups: Lookups;
|
|
40
|
+
dependentLookups: DependentLookupsState;
|
|
41
|
+
metadata: Metadata;
|
|
42
|
+
user: Partial<User>;
|
|
43
|
+
tenant: DataTenant;
|
|
44
|
+
environment: string;
|
|
45
|
+
dataTenants: DataTenant[];
|
|
46
|
+
searchOptions: SearchOptions;
|
|
47
|
+
activityFilter: ActivityFilter;
|
|
48
|
+
globalFilter: GlobalFilter;
|
|
49
|
+
searchNavigationData: SearchNavigationData;
|
|
50
|
+
searchProviderData: SearchProviderData;
|
|
51
|
+
isWorkflowEnabled: boolean;
|
|
52
|
+
isCollaborationEnabled: boolean;
|
|
53
|
+
}>;
|
|
54
|
+
export type MdmModuleActionsContextProps = Partial<{
|
|
55
|
+
openSearch: (payload: SearchState) => void;
|
|
56
|
+
openHistoryEvent: (payload: {
|
|
57
|
+
entityUri: string;
|
|
58
|
+
historyEvent: HistoryEvent;
|
|
59
|
+
}) => void;
|
|
60
|
+
openConsoleApp: (name: string, path?: string, query?: string) => void;
|
|
61
|
+
addAttributes: (payload: AddAttributesPayload) => void;
|
|
62
|
+
modifyAttribute: (payload: ModifyAttributePayload) => void;
|
|
63
|
+
removeAttribute: (payload: RemoveAttributePayload) => void;
|
|
64
|
+
entityDeleted: (payload: string) => void;
|
|
65
|
+
entityCreated: (payload: Entity) => void;
|
|
66
|
+
errorDeactivated: (id: string) => void;
|
|
67
|
+
requestNextPageOfAttributeValues: (payload: RequestNextPageOfAttributeValuesPayload) => void;
|
|
68
|
+
openEntity: (payload: {
|
|
69
|
+
uri: string;
|
|
70
|
+
viewId: string | null;
|
|
71
|
+
source?: string | null;
|
|
72
|
+
screen?: string;
|
|
73
|
+
}) => void;
|
|
74
|
+
setDefaultProfilePicForModifiedEntity: (payload: {
|
|
75
|
+
entityUri: string;
|
|
76
|
+
value: ImageAttributeValue;
|
|
77
|
+
}) => void;
|
|
78
|
+
setDefaultProfilePicForEntity: (payload: ImageAttributeValue | string) => void;
|
|
79
|
+
dependentLookupsEditorTouched: (payload: {
|
|
80
|
+
uri: string;
|
|
81
|
+
isTouched: boolean;
|
|
82
|
+
}) => void;
|
|
83
|
+
openPivotingPerspective: (payload: {
|
|
84
|
+
attributeType: AttributeType;
|
|
85
|
+
value: PivotingValue[];
|
|
86
|
+
}) => void;
|
|
87
|
+
lookupsLoaded: (lookups: Lookups) => void;
|
|
88
|
+
lookupsForTypeResolved: (payload: LookupsForTypeResolvedPayload) => void;
|
|
89
|
+
errorSet: (payload: string) => void;
|
|
90
|
+
setHistoryMode: (payload: HistoryMode) => void;
|
|
91
|
+
modeUpdated: (payload: Mode) => void;
|
|
92
|
+
setHistoryEvent: (payload: HistoryEvent) => void;
|
|
93
|
+
clearHistoryEvent: () => void;
|
|
94
|
+
setHistoryDiff: (payload: HistoryDiff) => void;
|
|
95
|
+
setHistorySlice: (payload: HistorySlice) => void;
|
|
96
|
+
updateSearchNavigationDataFields: (payload: Partial<SearchNavigationData>) => void;
|
|
97
|
+
openPerspective: (payload: {
|
|
98
|
+
perspectiveId: string;
|
|
99
|
+
viewId: string;
|
|
100
|
+
}) => void;
|
|
101
|
+
entityDeletionFinished: () => void;
|
|
102
|
+
loadEntity: (payload: {
|
|
103
|
+
viewId?: string;
|
|
104
|
+
uri: string;
|
|
105
|
+
}) => void;
|
|
106
|
+
updateSearchNavigationDataOnMerge: (payload: {
|
|
107
|
+
winnerUri: string;
|
|
108
|
+
losersUris: string[];
|
|
109
|
+
}) => void;
|
|
110
|
+
lookupsListResolved: (payload: Lookups[]) => void;
|
|
111
|
+
relationsLoaded: (payload: RelationsLoadedPayload) => void;
|
|
112
|
+
setInitialInfo: (id: string, relationUri: string, tempEntity: Entity, connection: Connection) => void;
|
|
113
|
+
setRelationType: (id: string, relationUri: string, relationType: CompactRelationType) => void;
|
|
114
|
+
closeRelationEditor: (id: string, relationUri: string) => void;
|
|
115
|
+
setRelationEntity: (id: string, relationUri: string, entityInfo: Entity) => void;
|
|
116
|
+
errorsSet: (payload: AttributeError[]) => void;
|
|
117
|
+
addRelation: (id: string, connection: Connection) => void;
|
|
118
|
+
editRelation: (id: string, connection: Connection) => void;
|
|
119
|
+
}>;
|
|
120
|
+
export type MdmModuleListenersContextProps = Partial<{
|
|
121
|
+
searchNavigationListener: (action: any, state: any) => void;
|
|
122
|
+
}>;
|
|
123
|
+
export declare const MdmModuleActionsContext: import("@fluentui/react-context-selector").Context<Partial<{
|
|
124
|
+
openSearch: (payload: SearchState) => void;
|
|
125
|
+
openHistoryEvent: (payload: {
|
|
126
|
+
entityUri: string;
|
|
127
|
+
historyEvent: HistoryEvent;
|
|
128
|
+
}) => void;
|
|
129
|
+
openConsoleApp: (name: string, path?: string, query?: string) => void;
|
|
130
|
+
addAttributes: (payload: AddAttributesPayload) => void;
|
|
131
|
+
modifyAttribute: (payload: ModifyAttributePayload) => void;
|
|
132
|
+
removeAttribute: (payload: RemoveAttributePayload) => void;
|
|
133
|
+
entityDeleted: (payload: string) => void;
|
|
134
|
+
entityCreated: (payload: Entity) => void;
|
|
135
|
+
errorDeactivated: (id: string) => void;
|
|
136
|
+
requestNextPageOfAttributeValues: (payload: RequestNextPageOfAttributeValuesPayload) => void;
|
|
137
|
+
openEntity: (payload: {
|
|
138
|
+
uri: string;
|
|
139
|
+
viewId: string | null;
|
|
140
|
+
source?: string | null;
|
|
141
|
+
screen?: string;
|
|
142
|
+
}) => void;
|
|
143
|
+
setDefaultProfilePicForModifiedEntity: (payload: {
|
|
144
|
+
entityUri: string;
|
|
145
|
+
value: ImageAttributeValue;
|
|
146
|
+
}) => void;
|
|
147
|
+
setDefaultProfilePicForEntity: (payload: ImageAttributeValue | string) => void;
|
|
148
|
+
dependentLookupsEditorTouched: (payload: {
|
|
149
|
+
uri: string;
|
|
150
|
+
isTouched: boolean;
|
|
151
|
+
}) => void;
|
|
152
|
+
openPivotingPerspective: (payload: {
|
|
153
|
+
attributeType: AttributeType;
|
|
154
|
+
value: PivotingValue[];
|
|
155
|
+
}) => void;
|
|
156
|
+
lookupsLoaded: (lookups: Lookups) => void;
|
|
157
|
+
lookupsForTypeResolved: (payload: LookupsForTypeResolvedPayload) => void;
|
|
158
|
+
errorSet: (payload: string) => void;
|
|
159
|
+
setHistoryMode: (payload: HistoryMode) => void;
|
|
160
|
+
modeUpdated: (payload: Mode) => void;
|
|
161
|
+
setHistoryEvent: (payload: HistoryEvent) => void;
|
|
162
|
+
clearHistoryEvent: () => void;
|
|
163
|
+
setHistoryDiff: (payload: HistoryDiff) => void;
|
|
164
|
+
setHistorySlice: (payload: HistorySlice) => void;
|
|
165
|
+
updateSearchNavigationDataFields: (payload: Partial<SearchNavigationData>) => void;
|
|
166
|
+
openPerspective: (payload: {
|
|
167
|
+
perspectiveId: string;
|
|
168
|
+
viewId: string;
|
|
169
|
+
}) => void;
|
|
170
|
+
entityDeletionFinished: () => void;
|
|
171
|
+
loadEntity: (payload: {
|
|
172
|
+
viewId?: string;
|
|
173
|
+
uri: string;
|
|
174
|
+
}) => void;
|
|
175
|
+
updateSearchNavigationDataOnMerge: (payload: {
|
|
176
|
+
winnerUri: string;
|
|
177
|
+
losersUris: string[];
|
|
178
|
+
}) => void;
|
|
179
|
+
lookupsListResolved: (payload: Lookups[]) => void;
|
|
180
|
+
relationsLoaded: (payload: RelationsLoadedPayload) => void;
|
|
181
|
+
setInitialInfo: (id: string, relationUri: string, tempEntity: Entity, connection: Connection) => void;
|
|
182
|
+
setRelationType: (id: string, relationUri: string, relationType: CompactRelationType) => void;
|
|
183
|
+
closeRelationEditor: (id: string, relationUri: string) => void;
|
|
184
|
+
setRelationEntity: (id: string, relationUri: string, entityInfo: Entity) => void;
|
|
185
|
+
errorsSet: (payload: AttributeError[]) => void;
|
|
186
|
+
addRelation: (id: string, connection: Connection) => void;
|
|
187
|
+
editRelation: (id: string, connection: Connection) => void;
|
|
188
|
+
}>>;
|
|
189
|
+
export declare const MdmModuleValuesContext: import("@fluentui/react-context-selector").Context<Partial<{
|
|
190
|
+
autoCloseInterval: number;
|
|
191
|
+
uiError: string;
|
|
192
|
+
workflowEnvironmentUrl: string;
|
|
193
|
+
exportPath: string;
|
|
194
|
+
absoluteImagePath: string;
|
|
195
|
+
uiPath: string;
|
|
196
|
+
dtssPath: string;
|
|
197
|
+
servicesPath: string;
|
|
198
|
+
workflowPath: string;
|
|
199
|
+
imageServicePath: string;
|
|
200
|
+
reltioPath: string;
|
|
201
|
+
apiPath: string;
|
|
202
|
+
collaborationPath: string;
|
|
203
|
+
imageAttributesFieldsOrder: ImageAttributeFieldsOrder;
|
|
204
|
+
showEntityId: boolean;
|
|
205
|
+
pivotingAttributes: PivotingAttribute[];
|
|
206
|
+
dateMask: string;
|
|
207
|
+
dateTimeMask: string;
|
|
208
|
+
attributePresentations: AttributePresentations;
|
|
209
|
+
defaultMaxValues: number;
|
|
210
|
+
attributesSortingStrategy: SortingStrategy;
|
|
211
|
+
lookupAutocomplete: DependentLookupsConfig;
|
|
212
|
+
modifiedEntities: Record<string, Entity>;
|
|
213
|
+
relations: RelationsState;
|
|
214
|
+
profileErrors: AttributeError[];
|
|
215
|
+
entity: Entity;
|
|
216
|
+
entityWithDiff: Entity;
|
|
217
|
+
entityUriWithDataTenant: string;
|
|
218
|
+
mode: Mode;
|
|
219
|
+
isViewMode: boolean;
|
|
220
|
+
isEditableMode: boolean;
|
|
221
|
+
historyDiff: HistoryDiff;
|
|
222
|
+
historyMode: HistoryMode;
|
|
223
|
+
historySlice: HistorySlice;
|
|
224
|
+
historyEvent: HistoryEvent;
|
|
225
|
+
profileLastLoadedTime: number;
|
|
226
|
+
lookups: Lookups;
|
|
227
|
+
dependentLookups: DependentLookupsState;
|
|
228
|
+
metadata: Metadata;
|
|
229
|
+
user: Partial<User>;
|
|
230
|
+
tenant: DataTenant;
|
|
231
|
+
environment: string;
|
|
232
|
+
dataTenants: DataTenant[];
|
|
233
|
+
searchOptions: SearchOptions;
|
|
234
|
+
activityFilter: ActivityFilter;
|
|
235
|
+
globalFilter: GlobalFilter;
|
|
236
|
+
searchNavigationData: SearchNavigationData;
|
|
237
|
+
searchProviderData: SearchProviderData;
|
|
238
|
+
isWorkflowEnabled: boolean;
|
|
239
|
+
isCollaborationEnabled: boolean;
|
|
240
|
+
}>>;
|
|
241
|
+
export declare const MdmModuleListenersContext: import("@fluentui/react-context-selector").Context<Partial<{
|
|
242
|
+
searchNavigationListener: (action: any, state: any) => void;
|
|
243
|
+
}>>;
|