@reltio/profile 1.4.1585 → 1.4.1586-mui5
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/.DS_Store +0 -0
- package/index.ts +4 -0
- package/package.json +40 -23
- package/public/bundle.js +205 -0
- package/{bundle.js.LICENSE.txt → public/bundle.js.LICENSE.txt} +44 -16
- package/public/package.json +24 -0
- package/scripts/build/index.js +20 -0
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/BackgroundProcessIndicator/BackgroundProcessIndicator.tsx +101 -0
- package/src/components/BackgroundProcessIndicator/styles.ts +50 -0
- package/src/components/DCRReviewPerspectiveView/DCRReviewPerspectiveView.tsx +77 -0
- package/src/components/DCRReviewPerspectiveView/__tests__/DCRReviewPerspectiveView.test.tsx +156 -0
- package/src/components/DCRReviewPerspectiveView/components/DCRProfileBand/DCRProfileBand.tsx +22 -0
- package/src/components/DCRReviewPerspectiveView/components/DCRProfileBand/__tests__/DCRProfileBand.test.tsx +92 -0
- package/src/components/DCRReviewPerspectiveView/components/DCRProfileBand/styles.ts +11 -0
- package/src/components/DCRReviewPerspectiveView/hooks/useWorkflowTasks.ts +31 -0
- package/src/components/DCRReviewPerspectiveView/index.ts +1 -0
- package/src/components/DCRReviewPerspectiveView/styles.ts +33 -0
- package/src/components/EntityMapView/EntityMapView.tsx +64 -0
- package/src/components/EntityMapView/__tests__/EntityMapView.spec.js +121 -0
- package/src/components/EntityMapView/styles.ts +20 -0
- package/src/components/EntityMapView/useMarkers.ts +27 -0
- package/src/components/HierarchyPathsView/ConfigContext.ts +4 -0
- package/src/components/HierarchyPathsView/HierarchyPathsHeader.tsx +32 -0
- package/src/components/HierarchyPathsView/HierarchyPathsView.tsx +90 -0
- package/src/components/HierarchyPathsView/Node.tsx +62 -0
- package/src/components/HierarchyPathsView/__tests__/HierarchyPathsView.test.tsx +547 -0
- package/src/components/HierarchyPathsView/__tests__/IntegrationHierarchyPathsView.test.tsx +47 -0
- package/src/components/HierarchyPathsView/__tests__/Node.test.tsx +152 -0
- package/src/components/HierarchyPathsView/__tests__/data/metadata.data.ts +33 -0
- package/src/components/HierarchyPathsView/__tests__/data/store.data.ts +37 -0
- package/src/components/HierarchyPathsView/__tests__/data/treePaths.data.ts +63 -0
- package/src/components/HierarchyPathsView/defaultTypeIcon.png +0 -0
- package/src/components/HierarchyPathsView/helpers.ts +3 -0
- package/src/components/HierarchyPathsView/hooks/useDynamicNodesHeights.ts +33 -0
- package/src/components/HierarchyPathsView/hooks/useLoadPaths.ts +76 -0
- package/src/components/HierarchyPathsView/icons/ShowGraph.svg +10 -0
- package/src/components/HierarchyPathsView/index.ts +1 -0
- package/src/components/HierarchyPathsView/styles.ts +60 -0
- package/src/components/HierarchyPathsView/theme/__tests__/node-content-renderer.test.tsx +78 -0
- package/src/components/HierarchyPathsView/theme/__tests__/tree-node-data-renderer.test.tsx +72 -0
- package/src/components/HierarchyPathsView/theme/index.ts +8 -0
- package/src/components/HierarchyPathsView/theme/node-content-renderer.tsx +84 -0
- package/src/components/HierarchyPathsView/theme/styles.ts +102 -0
- package/src/components/HierarchyPathsView/theme/tree-node-data-renderer.tsx +70 -0
- package/src/components/HierarchyPathsView/types.ts +17 -0
- package/src/components/ImageAttributeView/ImageAttributeView.tsx +87 -0
- package/src/components/ImageAttributeView/ImageAttributeViewEditableContent/ImageAttributeViewEditableContent.tsx +52 -0
- package/src/components/ImageAttributeView/ImageAttributeViewEditableContent/__tests__/ImageAttributeViewEditableContent.test.tsx +136 -0
- package/src/components/ImageAttributeView/ImageLineCaption/ImageLineCaption.tsx +18 -0
- package/src/components/ImageAttributeView/ImageLineCaption/__tests__/ImageLineCaption.test.tsx +15 -0
- package/src/components/ImageAttributeView/ImageLineCaption/styles.ts +10 -0
- package/src/components/ImageAttributeView/__tests__/ImageAttributeView.test.tsx +151 -0
- package/src/components/ImageAttributeView/__tests__/IntegrationImageAttributeView.test.tsx +36 -0
- package/src/components/ImageAttributeView/__tests__/data/store.data.ts +22 -0
- package/src/components/ImageAttributeView/styles.ts +13 -0
- package/src/components/Notifications/Notification.tsx +98 -0
- package/src/components/Notifications/Notifications.tsx +17 -0
- package/src/components/Notifications/__tests__/Notification.spec.tsx +230 -0
- package/src/components/Notifications/__tests__/Notifications.spec.tsx +37 -0
- package/src/components/Notifications/index.ts +1 -0
- package/src/components/Notifications/styles.ts +17 -0
- package/src/components/Notifications/types.ts +21 -0
- package/src/components/PerspectiveProfileBand/PerspectiveProfileBand.tsx +304 -0
- package/src/components/PerspectiveProfileBand/__tests__/PerspectiveProfileBand.specs.tsx +526 -0
- package/src/components/PerspectiveProfileBand/__tests__/data/collaboration.data.ts +23 -0
- package/src/components/PerspectiveProfileBand/__tests__/data/store.data.ts +162 -0
- package/src/components/PerspectiveProfileBand/copy.svg +14 -0
- package/src/components/PerspectiveProfileBand/hooks/useCloneAction.ts +94 -0
- package/src/components/PerspectiveProfileBand/index.ts +1 -0
- package/src/components/PerspectiveProfileBand/styles.ts +27 -0
- package/src/components/PerspectiveProfileBand/suggest.svg +16 -0
- package/src/components/ProfileAttributesView/ProfileAttributesView.tsx +21 -0
- package/src/components/ProfileAttributesView/__tests__/ProfileAttributesView.test.tsx +70 -0
- package/src/components/ProfileErrorsPanel/ProfileErrorsPanel.tsx +70 -0
- package/src/components/ProfileErrorsPanel/__tests__/ProfileErrorsPanel.specs.tsx +140 -0
- package/src/components/ProfileErrorsPanel/components/Error.tsx +50 -0
- package/src/components/ProfileErrorsPanel/components/ErrorsPanel.tsx +65 -0
- package/src/components/ProfileErrorsPanel/components/__tests__/Error.specs.tsx +264 -0
- package/src/components/ProfileErrorsPanel/components/__tests__/ErrorsPanel.specs.tsx +93 -0
- package/src/components/ProfileErrorsPanel/helpers.ts +45 -0
- package/src/components/ProfileErrorsPanel/icons/hyperlink.svg +4 -0
- package/src/components/ProfileErrorsPanel/index.ts +1 -0
- package/src/components/ProfileErrorsPanel/styles.ts +100 -0
- package/src/components/ProfileErrorsPanel/useCachedErrors.ts +11 -0
- package/src/components/ProfileLayout/ProfileLayout.tsx +56 -0
- package/src/components/ProfileLayout/__tests__/ProfileLayout.specs.tsx +56 -0
- package/src/components/ProfileLayout/index.ts +1 -0
- package/src/components/ProfileLayout/styles.ts +19 -0
- package/src/components/ProfileLayoutItem/ProfileLayoutItem.tsx +89 -0
- package/src/components/ProfileLayoutItem/__tests__/ProfileLayoutItem.test.tsx +165 -0
- package/src/components/ProfileLayoutItem/__tests__/data/store.data.ts +29 -0
- package/src/components/ProfileLayoutItem/index.ts +1 -0
- package/src/components/ProfileLayoutItem/styles.ts +13 -0
- package/src/components/ProfilePerspectiveResizablePanes/ProfilePerspectiveResizablePanes.tsx +34 -0
- package/src/components/ProfilePerspectiveResizablePanes/styles.ts +9 -0
- package/src/components/ProfilePerspectiveView/ProfilePerspectiveView.tsx +193 -0
- package/src/components/ProfilePerspectiveView/__tests__/IntegrationProfilePerspective.test.tsx +417 -0
- package/src/components/ProfilePerspectiveView/__tests__/ProfilePerspectiveView.specs.tsx +1503 -0
- package/src/components/ProfilePerspectiveView/__tests__/data/entities.data.ts +19 -0
- package/src/components/ProfilePerspectiveView/__tests__/data/entity.data.ts +25 -0
- package/src/components/ProfilePerspectiveView/__tests__/data/metadata.data.ts +33 -0
- package/src/components/ProfilePerspectiveView/__tests__/data/profile.data.ts +22 -0
- package/src/components/ProfilePerspectiveView/__tests__/data/store.data.ts +51 -0
- package/src/components/ProfilePerspectiveView/hooks/data/backgroundUpdateDalay.ts +2 -0
- package/src/components/ProfilePerspectiveView/hooks/useBackgroundProcessIndicator.ts +121 -0
- package/src/components/ProfilePerspectiveView/hooks/useProfileLayout.ts +101 -0
- package/src/components/ProfilePerspectiveView/hooks/useProfileRightSidePanelElements.tsx +167 -0
- package/src/components/ProfilePerspectiveView/hooks/useWorkflowTasks.ts +15 -0
- package/src/components/ProfilePerspectiveView/index.ts +1 -0
- package/src/components/ProfilePerspectiveView/styles.ts +38 -0
- package/src/components/ProfilePotentialMatchesView/ActionButtons.tsx +39 -0
- package/src/components/ProfilePotentialMatchesView/MatchCard.tsx +53 -0
- package/src/components/ProfilePotentialMatchesView/ProfilePotentialMatchesView.tsx +137 -0
- package/src/components/ProfilePotentialMatchesView/__tests__/ActionButtons.specs.tsx +89 -0
- package/src/components/ProfilePotentialMatchesView/__tests__/MatchCard.specs.tsx +62 -0
- package/src/components/ProfilePotentialMatchesView/__tests__/ProfilePotentialMatchesView.specs.tsx +267 -0
- package/src/components/ProfilePotentialMatchesView/__tests__/commonData.ts +91 -0
- package/src/components/ProfilePotentialMatchesView/styles.ts +30 -0
- package/src/components/ProfileRelationsView/ProfileRelationsView.tsx +24 -0
- package/src/components/ProfileRelationsView/__tests__/ProfileRelationsView.test.tsx +112 -0
- package/src/components/ProfileRelationsView/components/EditableRelationItem/EditableRelationItem.tsx +133 -0
- package/src/components/ProfileRelationsView/components/EditableRelationItem/__tests__/EditableRelationItem.specs.tsx +222 -0
- package/src/components/ProfileRelationsView/components/EditableRelationItem/styles.ts +59 -0
- package/src/components/ProfileRelationsView/components/RelationArrowButton/RelationArrowButton.tsx +29 -0
- package/src/components/ProfileRelationsView/components/RelationArrowButton/__tests__/RelationArrowButton.specs.tsx +99 -0
- package/src/components/ProfileRelationsView/components/RelationArrowButton/styles.ts +8 -0
- package/src/components/ProfileRelationsView/components/RelationTooltip/RelationTooltip.tsx +83 -0
- package/src/components/ProfileRelationsView/components/RelationTooltip/__tests__/RelationTooltip.test.tsx +155 -0
- package/src/components/ProfileRelationsView/components/RelationTooltip/styles.ts +27 -0
- package/src/components/ProfileRelationsView/components/RelationsContent/RelationsContent.tsx +62 -0
- package/src/components/ProfileRelationsView/components/RelationsContent/__tests__/RelationsContent.specs.tsx +148 -0
- package/src/components/ProfileRelationsView/components/RelationsContent/styles.ts +15 -0
- package/src/components/ProfileRelationsView/components/RelationsEditableContent/RelationsEditableContent.tsx +153 -0
- package/src/components/ProfileRelationsView/components/RelationsEditableContent/__tests__/RelationsEditableContent.specs.tsx +367 -0
- package/src/components/ProfileRelationsView/components/RelationsEditableContent/styles.ts +28 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/FilterButton/FilterButton.tsx +113 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/FilterButton/styles.ts +43 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/ImportFromDT/ImportFromDT.tsx +65 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/ImportFromDT/MultipleImportIcon.tsx +23 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/ImportFromDT/__tests__/ImportFromDT.test.tsx +500 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/ImportFromDT/__tests__/MultipleImportIcon.test.tsx +20 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/ImportFromDT/hooks/useImportFromDTLoader.ts +84 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/ImportFromDT/styles.ts +37 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/RelationsHeader.tsx +39 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/__tests__/RelationsHeader.test.tsx +82 -0
- package/src/components/ProfileRelationsView/components/RelationsHeader/styles.ts +18 -0
- package/src/components/ProfileRelationsView/components/RelationsList/Ratings/Ratings.tsx +60 -0
- package/src/components/ProfileRelationsView/components/RelationsList/Ratings/__tests__/Ratings.test.tsx +64 -0
- package/src/components/ProfileRelationsView/components/RelationsList/Ratings/styles.ts +48 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RatingsButtons/RatingsButtons.tsx +74 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RatingsButtons/__tests__/RatingsButtons.test.tsx +72 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RatingsButtons/styles.ts +20 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RatingsPopup/RatingsPopup.tsx +109 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RatingsPopup/__tests__/RatingsPopup.test.tsx +106 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RatingsPopup/styles.ts +133 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationAttributes/RelationAttributes.tsx +81 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationAttributes/__tests__/RelationAttributes.test.tsx +218 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationAttributes/styles.ts +12 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationCompexItem/RelationComplexItem.tsx +129 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationCompexItem/__tests__/RelationComplexItem.test.tsx +303 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationCompexItem/styles.ts +51 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationItem/RelationItem.tsx +103 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationItem/__tests__/RelationItem.test.tsx +222 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationItem/styles.ts +72 -0
- package/src/components/ProfileRelationsView/components/RelationsList/RelationsList.tsx +69 -0
- package/src/components/ProfileRelationsView/components/RelationsList/ShowDetailsButton/ShowDetailsButton.tsx +28 -0
- package/src/components/ProfileRelationsView/components/RelationsList/ShowDetailsButton/__tests__/ShowDetailsButton.test.tsx +33 -0
- package/src/components/ProfileRelationsView/components/RelationsList/__tests__/RelationsList.test.tsx +143 -0
- package/src/components/ProfileRelationsView/components/RelationsView/RelationsView.tsx +108 -0
- package/src/components/ProfileRelationsView/components/RelationsView/__tests__/RelationsView.test.tsx +183 -0
- package/src/components/ProfileRelationsView/components/RelationsView/index.ts +1 -0
- package/src/components/ProfileRelationsView/components/RelationsView/styles.ts +22 -0
- package/src/components/ProfileRelationsView/components/SecondLevelWrapper/SecondLevelWrapper.tsx +66 -0
- package/src/components/ProfileRelationsView/components/SecondLevelWrapper/__tests__/SecondLevelWrapper.test.tsx +234 -0
- package/src/components/ProfileRelationsView/components/SecondLevelWrapper/styles.ts +12 -0
- package/src/components/ProfileRelationsView/components/SuggestedButtons/SuggestedButtons.tsx +23 -0
- package/src/components/ProfileRelationsView/components/SuggestedButtons/__tests__/SuggestedButtons.test.tsx +33 -0
- package/src/components/ProfileRelationsView/components/SuggestedButtons/styles.ts +7 -0
- package/src/components/ProfileRelationsView/contexts/ImportDTContext.ts +7 -0
- package/src/components/ProfileRelationsView/contexts/RelationsViewStateContext.ts +6 -0
- package/src/components/ProfileRelationsView/helpers/__tests__/filters.test.tsx +10 -0
- package/src/components/ProfileRelationsView/helpers/__tests__/ratings.test.ts +92 -0
- package/src/components/ProfileRelationsView/helpers/__tests__/relation.test.tsx +27 -0
- package/src/components/ProfileRelationsView/helpers/filters.ts +17 -0
- package/src/components/ProfileRelationsView/helpers/permissions.ts +17 -0
- package/src/components/ProfileRelationsView/helpers/ratings.ts +35 -0
- package/src/components/ProfileRelationsView/helpers/relation.ts +15 -0
- package/src/components/ProfileRelationsView/hooks/useRelationInfo.ts +25 -0
- package/src/components/ProfileRelationsView/hooks/useRelationsState.ts +92 -0
- package/src/components/ProfileRelationsView/hooks/useSecondLevelConnections.ts +76 -0
- package/src/components/ProfileRelationsView/hooks/useSuggestedRelations.ts +54 -0
- package/src/components/ProfileSingleAttributeView/ProfileSingleAttributeView.tsx +20 -0
- package/src/components/ProfileSingleAttributeView/__tests__/IntegrationProfileSingleAttribute.test.tsx +368 -0
- package/src/components/ProfileSingleAttributeView/__tests__/ProfileSingleAttributeView.test.tsx +933 -0
- package/src/components/ProfileSingleAttributeView/__tests__/data/metadata.data.ts +103 -0
- package/src/components/ProfileSingleAttributeView/__tests__/data/store.data.ts +42 -0
- package/src/components/ProfileSingleAttributeView/components/FilterButton/FilterButton.tsx +63 -0
- package/src/components/ProfileSingleAttributeView/components/FilterButton/__tests__/FilterButton.spec.tsx +93 -0
- package/src/components/ProfileSingleAttributeView/components/FilterButton/styles.ts +27 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeEditableContent/SingleAttributeEditableContent.tsx +204 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeEditableContent/__tests__/SingleAttributeEditableContent.specs.tsx +559 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeEditableContent/styles.ts +28 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeHeader/SingleAttributeHeader.tsx +58 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeHeader/__tests__/SingleAttributeHeader.test.tsx +188 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeHeader/styles.ts +21 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeReadableContent/SingleAttributeReadableContent.tsx +31 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeReadableContent/__tests__/SingleAttributeReadableContent.spec.tsx +42 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeReadableContent/styles.ts +9 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeView/SingleAttributeView.tsx +90 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeView/__tests__/SingleAttributeView.test.tsx +346 -0
- package/src/components/ProfileSingleAttributeView/components/SingleAttributeView/styles.ts +22 -0
- package/src/components/ProfileSingleAttributeView/contexts/SingleAttributeContext.ts +20 -0
- package/src/components/ProfileSingleAttributeView/hooks/useSingleAttribute.ts +25 -0
- package/src/components/ProfileSingleAttributeView/styles.ts +26 -0
- package/src/components/ProfileTableAttributeView/ProfileTableAttributeView.tsx +20 -0
- package/src/components/ProfileTableAttributeView/__tests__/IntegrationProfileTableAttributeView.test.tsx +278 -0
- package/src/components/ProfileTableAttributeView/__tests__/ProfileTableAttributeView.test.tsx +744 -0
- package/src/components/ProfileTableAttributeView/__tests__/data/metadata.data.ts +141 -0
- package/src/components/ProfileTableAttributeView/__tests__/data/store.data.ts +48 -0
- package/src/components/ProfileTableAttributeView/components/AttributeEditing/AttributeEditing.tsx +97 -0
- package/src/components/ProfileTableAttributeView/components/AttributeEditing/__tests__/AttributeEditing.test.tsx +409 -0
- package/src/components/ProfileTableAttributeView/components/AttributeEditing/styles.ts +17 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/AttributeTable.tsx +171 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/EditButtons.tsx +28 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/__tests__/AttributeTable.test.tsx +431 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/__tests__/EditButtons.test.tsx +54 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/cell-renderers/BlobRenderer.tsx +20 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/cell-renderers/DefaultCellValueRenderer.tsx +43 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/cell-renderers/HeadCellRenderer.tsx +19 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/cell-renderers/RowCellRenderer.tsx +33 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/cell-renderers/__tests__/BlobRenderer.test.tsx +29 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/cell-renderers/__tests__/DefaultCellValueRenderer.test.tsx +149 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/cell-renderers/styles.ts +61 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTable/styles.ts +21 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTableHeader/AttributeTableHeader.tsx +53 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTableHeader/__tests__/AttributeTableHeader.test.tsx +96 -0
- package/src/components/ProfileTableAttributeView/components/AttributeTableHeader/styles.ts +7 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeContent/TableAttributeContent.tsx +123 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeContent/__tests__/TableAttributeContent.test.tsx +600 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeContent/hooks/useEditableAttribute.ts +212 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeEditableContent/TableAttributeEditableContent.tsx +96 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeEditableContent/__tests__/TableAttributeEditableContent.test.tsx +450 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeEditableContent/hooks/__tests__/useExpandAttributes.test.tsx +92 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeEditableContent/hooks/useExpandAttributes.ts +88 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeEditableContent/styles.ts +21 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeView/TableAttributeView.tsx +64 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeView/__tests__/TableAttributeView.test.tsx +139 -0
- package/src/components/ProfileTableAttributeView/components/TableAttributeView/styles.ts +20 -0
- package/src/components/ProfileTableAttributeView/components/types.ts +16 -0
- package/src/components/ProfileTableAttributeView/contexts/TableAttributeContext.tsx +34 -0
- package/src/components/ProfileTableAttributeView/helpers/tableAttributeHelpers.ts +72 -0
- package/src/components/ProfileTableAttributeView/hooks/__tests__/helpers.test.ts +97 -0
- package/src/components/ProfileTableAttributeView/hooks/helpers.ts +13 -0
- package/src/components/ProfileTableAttributeView/hooks/reducer.ts +19 -0
- package/src/components/ProfileTableAttributeView/hooks/useTableAttribute.ts +77 -0
- package/src/components/RightSidePanel/RightSidePanel.tsx +43 -0
- package/src/components/RightSidePanel/__tests__/RightSidePanel.spec.tsx +149 -0
- package/src/components/RightSidePanel/components/CollaborationButton/CollaborationButton.tsx +22 -0
- package/src/components/RightSidePanel/components/CollaborationButton/__tests__/CollaborationButton.spec.tsx +24 -0
- package/src/components/RightSidePanel/components/CollaborationList/CollaborationList.tsx +56 -0
- package/src/components/RightSidePanel/components/CollaborationList/__tests__/CollaborationList.spec.tsx +104 -0
- package/src/components/RightSidePanel/components/CollaborationList/styles.ts +15 -0
- package/src/components/RightSidePanel/components/CollaborationPanelEmptyState/CollaborationPanelEmptyState.tsx +14 -0
- package/src/components/RightSidePanel/components/CollaborationPanelEmptyState/__tests__/CollaborationPanelEmptyState.specs.tsx +16 -0
- package/src/components/RightSidePanel/components/DBConnectorsList/DBConnectorsList.tsx +19 -0
- package/src/components/RightSidePanel/components/DBConnectorsList/__tests__/DBConnectorsList.spec.tsx +42 -0
- package/src/components/RightSidePanel/components/DBConnectorsList/styles.ts +12 -0
- package/src/components/RightSidePanel/components/WorkflowButton/WorkflowButton.tsx +21 -0
- package/src/components/RightSidePanel/components/WorkflowButton/__tests__/WorkflowButton.spec.tsx +23 -0
- package/src/components/RightSidePanel/components/WorkflowList/WorkflowList.tsx +18 -0
- package/src/components/RightSidePanel/components/WorkflowList/__tests__/WorkflowList.spec.tsx +46 -0
- package/src/components/RightSidePanel/components/WorkflowList/styles.ts +9 -0
- package/src/components/RightSidePanel/components/WorkflowPanelEmptyState/WorkflowPanelEmptyState.tsx +14 -0
- package/src/components/RightSidePanel/components/WorkflowPanelEmptyState/__tests__/WorkflowPanelEmptyState.specs.tsx +17 -0
- package/src/components/RightSidePanel/icons/CollaborationIcon.svg +18 -0
- package/src/components/RightSidePanel/icons/ConnectorsIcon.svg +3 -0
- package/src/components/RightSidePanel/styles.ts +21 -0
- package/src/components/Sandbox/CustomView.tsx +59 -0
- package/src/components/Sandbox/__tests__/CustomView.test.tsx +294 -0
- package/src/components/Sandbox/styles.ts +10 -0
- package/src/components/TagPerspectiveView/TagPerspectiveView.tsx +79 -0
- package/src/components/TagPerspectiveView/__tests__/TagPerspectiveView.test.tsx +146 -0
- package/src/components/TagPerspectiveView/components/TagListHeader/TagListHeader.tsx +48 -0
- package/src/components/TagPerspectiveView/components/TagListHeader/__tests__/TagListHeader.test.tsx +60 -0
- package/src/components/TagPerspectiveView/components/TagListHeader/index.ts +1 -0
- package/src/components/TagPerspectiveView/components/TagListHeader/styles.ts +36 -0
- package/src/components/TagPerspectiveView/components/TagProfileBand/TagProfileBand.tsx +21 -0
- package/src/components/TagPerspectiveView/components/TagProfileBand/__tests__/TagProfileBand.test.tsx +14 -0
- package/src/components/TagPerspectiveView/components/TagProfileBand/index.ts +1 -0
- package/src/components/TagPerspectiveView/components/TagProfileBand/styles.ts +24 -0
- package/src/components/TagPerspectiveView/hooks/__tests__/useTag.test.tsx +166 -0
- package/src/components/TagPerspectiveView/hooks/__tests__/useTagsProvider.test.tsx +208 -0
- package/src/components/TagPerspectiveView/hooks/useTag.ts +48 -0
- package/src/components/TagPerspectiveView/hooks/useTagsProvider.ts +83 -0
- package/src/components/TagPerspectiveView/index.ts +1 -0
- package/src/components/TagPerspectiveView/styles.ts +43 -0
- package/src/components/hooks/helpers/__tests__/helpers.test.ts +688 -0
- package/src/components/hooks/helpers/index.ts +77 -0
- package/src/components/hooks/useProfileValidation.ts +30 -0
- package/src/components/hooks/useSingleAttributeLoader.ts +164 -0
- package/src/components/views/HOCs/styles.ts +37 -0
- package/src/components/views/HOCs/withDragHandle.tsx +26 -0
- package/src/components/views/HOCs/withErrorBoundary.tsx +27 -0
- package/src/components/views/StubView.tsx +18 -0
- package/src/components/views/ViewComponent.tsx +25 -0
- package/src/components/views/ViewsFactory.tsx +143 -0
- package/src/components/views/__tests__/ViewComponent.specs.tsx +47 -0
- package/src/components/views/__tests__/ViewsFactory.specs.tsx +256 -0
- package/src/components/views/styles.ts +16 -0
- package/src/perspectives/DCRReviewPerspective.tsx +51 -0
- package/src/perspectives/ProfilePerspective.tsx +104 -0
- package/src/perspectives/TagPerspective.tsx +42 -0
- package/src/perspectives/__tests__/DCRReviewPerspective.spec.tsx +54 -0
- package/src/perspectives/__tests__/ProfilePerspective.spec.tsx +76 -0
- package/src/perspectives/__tests__/helpers.spec.ts +131 -0
- package/src/perspectives/helpers.ts +29 -0
- package/src/types/index.ts +9 -0
- package/stories/Profile.stories.tsx +35 -0
- package/stories/utils/entity.ts +80 -0
- package/stories/utils/hierarchyTree/config.ts +13 -0
- package/stories/utils/hierarchyTree/hopsResponse.ts +182 -0
- package/stories/utils/hierarchyTree/treeResponse.ts +412 -0
- package/stories/utils/mdmStore.ts +64 -0
- package/stories/utils/metadata.ts +701 -0
- package/stories/utils/profilePerspectiveConfig.ts +95 -0
- package/stories/utils/relationsTableView/config.ts +18 -0
- package/stories/utils/relationsTableView/connections.ts +647 -0
- package/stories/utils/responses.ts +62 -0
- package/tsconfig.json +4 -0
- package/webpack.config.js +10 -0
- package/bundle.js +0 -2
- /package/{5271a9e7b6651c852e93.png → public/5271a9e7b6651c852e93.png} +0 -0
- /package/{main.css → public/main.css} +0 -0
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
const treeResponse = {
|
|
2
|
+
successful: true,
|
|
3
|
+
root: {
|
|
4
|
+
entity: {
|
|
5
|
+
uri: 'entities/369ydCq',
|
|
6
|
+
type: 'configuration/entityTypes/Employee',
|
|
7
|
+
label: 'Manish Sood',
|
|
8
|
+
secondaryLabel: 'CEO'
|
|
9
|
+
},
|
|
10
|
+
children: [
|
|
11
|
+
{
|
|
12
|
+
entity: {
|
|
13
|
+
uri: 'entities/369wqO8',
|
|
14
|
+
type: 'configuration/entityTypes/Employee',
|
|
15
|
+
label: 'Ahmed Quadri',
|
|
16
|
+
secondaryLabel:
|
|
17
|
+
'ffdfa fasdf dafasd fsafsdf afdsf fdsafd fasdfd fasdfd afsdfsd fadsfas fdsf asd fafsd'
|
|
18
|
+
},
|
|
19
|
+
relation: {
|
|
20
|
+
uri: 'relations/TYNqym5',
|
|
21
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
22
|
+
direction: 'directed'
|
|
23
|
+
},
|
|
24
|
+
total: 5,
|
|
25
|
+
parent: 'entities/369ydCq'
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
entity: {
|
|
29
|
+
uri: 'entities/1aMymX30',
|
|
30
|
+
type: 'configuration/entityTypes/Employee',
|
|
31
|
+
label: 'Curt Pearlman',
|
|
32
|
+
secondaryLabel: ''
|
|
33
|
+
},
|
|
34
|
+
relation: {
|
|
35
|
+
uri: 'relations/Eo2087y',
|
|
36
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
37
|
+
direction: 'directed'
|
|
38
|
+
},
|
|
39
|
+
total: 3,
|
|
40
|
+
parent: 'entities/369ydCq'
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
entity: {
|
|
44
|
+
uri: 'entities/19jVYG1N',
|
|
45
|
+
type: 'configuration/entityTypes/Employee',
|
|
46
|
+
label: 'Jacqueline G Geiger',
|
|
47
|
+
secondaryLabel: ''
|
|
48
|
+
},
|
|
49
|
+
relation: {
|
|
50
|
+
uri: 'relations/o3CJycf',
|
|
51
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
52
|
+
direction: 'directed'
|
|
53
|
+
},
|
|
54
|
+
total: 3,
|
|
55
|
+
parent: 'entities/369ydCq'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
entity: {
|
|
59
|
+
uri: 'entities/7UP9aX5',
|
|
60
|
+
type: 'configuration/entityTypes/Employee',
|
|
61
|
+
label: 'Matt Gallatin',
|
|
62
|
+
secondaryLabel: ''
|
|
63
|
+
},
|
|
64
|
+
relation: {
|
|
65
|
+
uri: 'relations/3zsAQgN',
|
|
66
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
67
|
+
direction: 'directed'
|
|
68
|
+
},
|
|
69
|
+
total: 1,
|
|
70
|
+
parent: 'entities/369ydCq'
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
entity: {
|
|
74
|
+
uri: 'entities/0wjCNPG',
|
|
75
|
+
type: 'configuration/entityTypes/Employee',
|
|
76
|
+
label: 'Satish Ramakrishnan',
|
|
77
|
+
secondaryLabel: ''
|
|
78
|
+
},
|
|
79
|
+
relation: {
|
|
80
|
+
uri: 'relations/0NRNMsc',
|
|
81
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
82
|
+
direction: 'directed'
|
|
83
|
+
},
|
|
84
|
+
total: 3,
|
|
85
|
+
parent: 'entities/369ydCq'
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
entity: {
|
|
89
|
+
uri: 'entities/rH7J11r',
|
|
90
|
+
type: 'configuration/entityTypes/Employee',
|
|
91
|
+
label: 'Terence C Runge',
|
|
92
|
+
secondaryLabel: ''
|
|
93
|
+
},
|
|
94
|
+
relation: {
|
|
95
|
+
uri: 'relations/hAb9REE',
|
|
96
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
97
|
+
direction: 'directed'
|
|
98
|
+
},
|
|
99
|
+
total: 4,
|
|
100
|
+
parent: 'entities/369ydCq'
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
entity: {
|
|
104
|
+
uri: 'entities/369xjnU',
|
|
105
|
+
type: 'configuration/entityTypes/Employee',
|
|
106
|
+
label: 'Jeffrey Schlesinger',
|
|
107
|
+
secondaryLabel: ''
|
|
108
|
+
},
|
|
109
|
+
relation: {
|
|
110
|
+
uri: 'relations/AvYrSnU',
|
|
111
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
112
|
+
direction: 'directed'
|
|
113
|
+
},
|
|
114
|
+
total: 0,
|
|
115
|
+
parent: 'entities/369ydCq'
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
entity: {
|
|
119
|
+
uri: 'entities/369onhw',
|
|
120
|
+
type: 'configuration/entityTypes/Employee',
|
|
121
|
+
label: 'Ramon Chen',
|
|
122
|
+
secondaryLabel: ''
|
|
123
|
+
},
|
|
124
|
+
relation: {
|
|
125
|
+
uri: 'relations/AMle9yd',
|
|
126
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
127
|
+
direction: 'directed'
|
|
128
|
+
},
|
|
129
|
+
total: 1,
|
|
130
|
+
parent: 'entities/369ydCq'
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
entity: {
|
|
134
|
+
uri: 'entities/LMhiaiG',
|
|
135
|
+
type: 'configuration/entityTypes/Employee',
|
|
136
|
+
label: 'Eugene Lao',
|
|
137
|
+
secondaryLabel: ''
|
|
138
|
+
},
|
|
139
|
+
relation: {
|
|
140
|
+
uri: 'relations/8sqSciu',
|
|
141
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
142
|
+
direction: 'directed'
|
|
143
|
+
},
|
|
144
|
+
total: 1,
|
|
145
|
+
parent: 'entities/369ydCq'
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
entity: {
|
|
149
|
+
uri: 'entities/jKmEd2J',
|
|
150
|
+
type: 'configuration/entityTypes/Employee',
|
|
151
|
+
label: 'Renee Hollinger',
|
|
152
|
+
secondaryLabel: ''
|
|
153
|
+
},
|
|
154
|
+
relation: {
|
|
155
|
+
uri: 'relations/HIlVSfZ',
|
|
156
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
157
|
+
direction: 'directed'
|
|
158
|
+
},
|
|
159
|
+
total: 2,
|
|
160
|
+
parent: 'entities/369ydCq'
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
entity: {
|
|
164
|
+
uri: 'entities/1MAntcjA',
|
|
165
|
+
type: 'configuration/entityTypes/Employee',
|
|
166
|
+
label: 'Bud McGann',
|
|
167
|
+
secondaryLabel:
|
|
168
|
+
'Kirsten NeumanFirst Data (Prospect), Vice President, Strategic Initiatives, Institutional Sales'
|
|
169
|
+
},
|
|
170
|
+
relation: {
|
|
171
|
+
uri: 'relations/7QNcTid',
|
|
172
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
173
|
+
direction: 'directed'
|
|
174
|
+
},
|
|
175
|
+
children: [
|
|
176
|
+
{
|
|
177
|
+
entity: {
|
|
178
|
+
uri: 'entities/ilIe8wE',
|
|
179
|
+
type: 'configuration/entityTypes/Employee',
|
|
180
|
+
label: 'Vlad Melnik',
|
|
181
|
+
secondaryLabel: ''
|
|
182
|
+
},
|
|
183
|
+
relation: {
|
|
184
|
+
uri: 'relations/OI2v4w6',
|
|
185
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
186
|
+
direction: 'directed'
|
|
187
|
+
},
|
|
188
|
+
total: 3,
|
|
189
|
+
parent: 'entities/1MAntcjA'
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
entity: {
|
|
193
|
+
uri: 'entities/rPGZQ7J',
|
|
194
|
+
type: 'configuration/entityTypes/Employee',
|
|
195
|
+
label: 'Tom Leire',
|
|
196
|
+
secondaryLabel: ''
|
|
197
|
+
},
|
|
198
|
+
relation: {
|
|
199
|
+
uri: 'relations/KJQPZTh',
|
|
200
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
201
|
+
direction: 'directed'
|
|
202
|
+
},
|
|
203
|
+
total: 5,
|
|
204
|
+
parent: 'entities/1MAntcjA'
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
entity: {
|
|
208
|
+
uri: 'entities/iIlFVOF',
|
|
209
|
+
type: 'configuration/entityTypes/Employee',
|
|
210
|
+
label: 'Jim McMurray',
|
|
211
|
+
secondaryLabel: ''
|
|
212
|
+
},
|
|
213
|
+
relation: {
|
|
214
|
+
uri: 'relations/CYCz1EO',
|
|
215
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
216
|
+
direction: 'directed'
|
|
217
|
+
},
|
|
218
|
+
total: 0,
|
|
219
|
+
parent: 'entities/1MAntcjA'
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
entity: {
|
|
223
|
+
uri: 'entities/369w9lY',
|
|
224
|
+
type: 'configuration/entityTypes/Employee',
|
|
225
|
+
label: 'Suzanne Pappas',
|
|
226
|
+
secondaryLabel: ''
|
|
227
|
+
},
|
|
228
|
+
relation: {
|
|
229
|
+
uri: 'relations/cmD7xZL',
|
|
230
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
231
|
+
direction: 'directed'
|
|
232
|
+
},
|
|
233
|
+
total: 5,
|
|
234
|
+
parent: 'entities/1MAntcjA'
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
entity: {
|
|
238
|
+
uri: 'entities/5RPuqbD',
|
|
239
|
+
type: 'configuration/entityTypes/Employee',
|
|
240
|
+
label: 'John Deeran',
|
|
241
|
+
secondaryLabel: ''
|
|
242
|
+
},
|
|
243
|
+
relation: {
|
|
244
|
+
uri: 'relations/cmD6Rnf',
|
|
245
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
246
|
+
direction: 'directed'
|
|
247
|
+
},
|
|
248
|
+
total: 10,
|
|
249
|
+
parent: 'entities/1MAntcjA'
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
entity: {
|
|
253
|
+
uri: 'entities/369zFZA',
|
|
254
|
+
type: 'configuration/entityTypes/Employee',
|
|
255
|
+
label: 'Scott Vandiver',
|
|
256
|
+
secondaryLabel: ''
|
|
257
|
+
},
|
|
258
|
+
relation: {
|
|
259
|
+
uri: 'relations/cmD115H',
|
|
260
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
261
|
+
direction: 'directed'
|
|
262
|
+
},
|
|
263
|
+
children: [
|
|
264
|
+
{
|
|
265
|
+
entity: {
|
|
266
|
+
uri: 'entities/369oFbs',
|
|
267
|
+
type: 'configuration/entityTypes/Employee',
|
|
268
|
+
label: 'Kate Brown',
|
|
269
|
+
secondaryLabel: ''
|
|
270
|
+
},
|
|
271
|
+
relation: {
|
|
272
|
+
uri: 'relations/AvYs0tY',
|
|
273
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
274
|
+
direction: 'directed'
|
|
275
|
+
},
|
|
276
|
+
total: 0,
|
|
277
|
+
parent: 'entities/369zFZA'
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
entity: {
|
|
281
|
+
uri: 'entities/17NpPVwL',
|
|
282
|
+
type: 'configuration/entityTypes/Employee',
|
|
283
|
+
label: 'Matthew Kehoe',
|
|
284
|
+
secondaryLabel: ''
|
|
285
|
+
},
|
|
286
|
+
relation: {
|
|
287
|
+
uri: 'relations/TYO66Sr',
|
|
288
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
289
|
+
direction: 'directed'
|
|
290
|
+
},
|
|
291
|
+
total: 0,
|
|
292
|
+
parent: 'entities/369zFZA'
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
entity: {
|
|
296
|
+
uri: 'entities/HMcnV19',
|
|
297
|
+
type: 'configuration/entityTypes/Employee',
|
|
298
|
+
label: 'Richard Stalica',
|
|
299
|
+
secondaryLabel: ''
|
|
300
|
+
},
|
|
301
|
+
relation: {
|
|
302
|
+
uri: 'relations/CPFrC39',
|
|
303
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
304
|
+
direction: 'directed'
|
|
305
|
+
},
|
|
306
|
+
total: 0,
|
|
307
|
+
parent: 'entities/369zFZA'
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
entity: {
|
|
311
|
+
uri: 'entities/LX1WAqn',
|
|
312
|
+
type: 'configuration/entityTypes/Employee',
|
|
313
|
+
label: 'John Krapf',
|
|
314
|
+
secondaryLabel: ''
|
|
315
|
+
},
|
|
316
|
+
relation: {
|
|
317
|
+
uri: 'relations/C41CCqf',
|
|
318
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
319
|
+
direction: 'directed'
|
|
320
|
+
},
|
|
321
|
+
total: 0,
|
|
322
|
+
parent: 'entities/369zFZA'
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
entity: {
|
|
326
|
+
uri: 'entities/369s224',
|
|
327
|
+
type: 'configuration/entityTypes/Employee',
|
|
328
|
+
label: 'Mike Jansen',
|
|
329
|
+
secondaryLabel: ''
|
|
330
|
+
},
|
|
331
|
+
relation: {
|
|
332
|
+
uri: 'relations/TYgwur4',
|
|
333
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
334
|
+
direction: 'directed'
|
|
335
|
+
},
|
|
336
|
+
total: 0,
|
|
337
|
+
parent: 'entities/369zFZA'
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
entity: {
|
|
341
|
+
uri: 'entities/369oSOe',
|
|
342
|
+
type: 'configuration/entityTypes/Employee',
|
|
343
|
+
label: 'Chris Cartaino',
|
|
344
|
+
secondaryLabel: ''
|
|
345
|
+
},
|
|
346
|
+
relation: {
|
|
347
|
+
uri: 'relations/1U3FurF',
|
|
348
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
349
|
+
direction: 'directed'
|
|
350
|
+
},
|
|
351
|
+
total: 0,
|
|
352
|
+
parent: 'entities/369zFZA'
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
total: 6,
|
|
356
|
+
parent: 'entities/1MAntcjA'
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
entity: {
|
|
360
|
+
uri: 'entities/369vwym',
|
|
361
|
+
type: 'configuration/entityTypes/Employee',
|
|
362
|
+
label: 'John Olsen',
|
|
363
|
+
secondaryLabel: ''
|
|
364
|
+
},
|
|
365
|
+
relation: {
|
|
366
|
+
uri: 'relations/OsoplnV',
|
|
367
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
368
|
+
direction: 'directed'
|
|
369
|
+
},
|
|
370
|
+
total: 3,
|
|
371
|
+
parent: 'entities/1MAntcjA'
|
|
372
|
+
}
|
|
373
|
+
],
|
|
374
|
+
total: 7,
|
|
375
|
+
parent: 'entities/369ydCq'
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
entity: {
|
|
379
|
+
uri: 'entities/G85c7fS',
|
|
380
|
+
type: 'configuration/entityTypes/Employee',
|
|
381
|
+
label: 'Ford Goodman',
|
|
382
|
+
secondaryLabel: ''
|
|
383
|
+
},
|
|
384
|
+
relation: {
|
|
385
|
+
uri: 'relations/EIm1cMW',
|
|
386
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
387
|
+
direction: 'directed'
|
|
388
|
+
},
|
|
389
|
+
total: 0,
|
|
390
|
+
parent: 'entities/369ydCq'
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
entity: {
|
|
394
|
+
uri: 'entities/369rtVY',
|
|
395
|
+
type: 'configuration/entityTypes/Employee',
|
|
396
|
+
label: 'Manish Jain',
|
|
397
|
+
secondaryLabel: ''
|
|
398
|
+
},
|
|
399
|
+
relation: {
|
|
400
|
+
uri: 'relations/AvYro6m',
|
|
401
|
+
type: 'configuration/relationTypes/ReportsTo',
|
|
402
|
+
direction: 'directed'
|
|
403
|
+
},
|
|
404
|
+
total: 5,
|
|
405
|
+
parent: 'entities/369ydCq'
|
|
406
|
+
}
|
|
407
|
+
],
|
|
408
|
+
total: 13
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
export {treeResponse};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import mdm from '@reltio/mdm-module';
|
|
2
|
+
import {createStore} from 'redux-dynamic-modules';
|
|
3
|
+
import {getThunkExtension} from 'redux-dynamic-modules-thunk';
|
|
4
|
+
import {getSagaExtension} from 'redux-dynamic-modules-saga';
|
|
5
|
+
import metadata from './metadata';
|
|
6
|
+
import entity from './entity';
|
|
7
|
+
|
|
8
|
+
const tenant = 'mZ87U4Ofxrv6WnS';
|
|
9
|
+
const initialState = {
|
|
10
|
+
metadata: {
|
|
11
|
+
[tenant]: metadata
|
|
12
|
+
},
|
|
13
|
+
tenant: {id: tenant},
|
|
14
|
+
profile: {
|
|
15
|
+
lookups: {},
|
|
16
|
+
modifiedEntities: {
|
|
17
|
+
[entity.uri]: entity
|
|
18
|
+
},
|
|
19
|
+
entity
|
|
20
|
+
},
|
|
21
|
+
ui: {
|
|
22
|
+
numberFormat: {
|
|
23
|
+
thousandSeparator: ',',
|
|
24
|
+
decimalSeparator: '.',
|
|
25
|
+
prefix: '',
|
|
26
|
+
suffix: '',
|
|
27
|
+
decimalScale: null
|
|
28
|
+
},
|
|
29
|
+
attributePresentations: {},
|
|
30
|
+
paths: {
|
|
31
|
+
apiPath: 'https://tst-01.reltio.com/reltio',
|
|
32
|
+
imagePath: 'https://s3.amazonaws.com/reltio.images/api',
|
|
33
|
+
dtssPath: 'https://tst-01.reltio.com/dtss/',
|
|
34
|
+
workflowPath: 'https://tst-01-workflow.reltio.com/workflow-adapter',
|
|
35
|
+
workflowEnvironmentURL: 'https://tst-01.reltio.com',
|
|
36
|
+
uiPath: 'http://localhost:3000/ui/ms2/',
|
|
37
|
+
collaborationPath: 'http://collab'
|
|
38
|
+
},
|
|
39
|
+
sidePanelViews: []
|
|
40
|
+
},
|
|
41
|
+
search: {
|
|
42
|
+
searchResults: [],
|
|
43
|
+
keyword: null,
|
|
44
|
+
searchOptions: {
|
|
45
|
+
searchByOv: false,
|
|
46
|
+
ovOnly: false
|
|
47
|
+
},
|
|
48
|
+
activityFilter: 'active',
|
|
49
|
+
globalFilter: {
|
|
50
|
+
query: "(containsWordStartingWith(attributes,'ttt')",
|
|
51
|
+
savedSearchesUris: ['savedSearches/7DlPB4Dt'],
|
|
52
|
+
isMuted: false
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
user: {}
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export default createStore<unknown>(
|
|
59
|
+
{
|
|
60
|
+
initialState,
|
|
61
|
+
extensions: [getThunkExtension(), getSagaExtension()]
|
|
62
|
+
},
|
|
63
|
+
mdm.getModule()
|
|
64
|
+
);
|