@reltio/remotes 1.4.1076 → 1.4.1079
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/1217.js +1 -0
- package/1707.js +1 -1
- package/3319.js +1 -1
- package/3716.js +1 -0
- package/4478.js +1 -0
- package/4589.js +2 -1
- package/{1815.js.LICENSE.txt → 4589.js.LICENSE.txt} +0 -0
- package/4926.js +1 -0
- package/5411.js +1 -1
- package/7830.js +1 -1
- package/9002.js +1 -1
- package/9215.js +1 -0
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/1815.js +0 -2
- package/3711.js +0 -1
- package/6671.js +0 -1
- package/8457.js +0 -1
package/1707.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1707],{71707:(e,t,r)=>{r.r(t),r.d(t,{ACTIVENESS_ATTR_TYPES:()=>i.ViP,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,ApiErrorCode:()=>i.Xt7,AttributeErrorType:()=>i.wfT,AttributeTypeType:()=>i.EMD,AttributeValuePathItemType:()=>i.HAc,AuditAttrTypes:()=>i.PEf,CardinalityType:()=>i.oA3,ChartTypes:()=>i.$XE,CollaborationAttrTypes:()=>i.eWf,CollaborationObjectTypes:()=>i.q7e,ComplexAttributeType:()=>i.KVe,ConfigPermissions:()=>i.WVQ,ConnectionEntityType:()=>i.oZZ,ConnectionRelationType:()=>i.bNA,ConnectionType:()=>i.Rjq,CrosswalksAttrTypes:()=>i.G39,DashboardViewTypes:()=>i.dZX,DataTenantType:()=>i.bQt,DataTypes:()=>i.oS0,DateRangeValues:()=>i.lL_,Directions:()=>i.Nsj,DraftMarks:()=>i.psV,EntityAttrTypes:()=>i.xPW,EntityType:()=>i.pyR,EntityTypeType:()=>i.p8l,ErrorSeverity:()=>i.Wkf,ErrorSource:()=>i.zHr,ErrorType:()=>i.NIO,FACET_TYPES:()=>i.$26,FileValueType:()=>i.Esk,FillRateState:()=>i.s9T,FilterBuilder:()=>i.MEy,FilterOptions:()=>i.j5E,FilterType:()=>i.vAw,FilterValueType:()=>i.NMQ,GraphTypeType:()=>i.mNm,HierarchyTreeViewConfigType:()=>i.rwv,InteractionType:()=>i.s_5,InteractionTypeType:()=>i.RgZ,InteractionsConfigType:()=>i.unl,KeywordSearchType:()=>i.Qy0,LookupValueType:()=>i.pYu,MAP_SEARCH_TYPES:()=>i.wIJ,MapSearch:()=>i.GFH,MatchRulesAttrTypes:()=>i.S91,MatchRulesType:()=>i.p3$,Maybe:()=>i.wSh,MetadataPermissions:()=>i.BDP,MetadataType:()=>i.pGS,Mode:()=>i.ARY,ModeType:()=>i.XGc,ModeTypes:()=>i.fO_,NODE_EDITING_MODES:()=>i.wwy,NO_LABEL:()=>i._XL,NestedAttributeType:()=>i.j2V,NestedAttributeValueType:()=>i.dMV,Node:()=>i.NBX,Operation:()=>i.OXy,Operations:()=>i.BXd,PagingType:()=>i.CJB,PerspectiveClass:()=>i.lXI,PotentialMatchType:()=>i.nqG,PotentialMatchesAttrTypes:()=>i.C68,PotentialMatchesConfigType:()=>i.yxQ,PredefinedWorkflowProcessType:()=>i.Yj_,PreviewPanelMode:()=>i.D25,ProfileViewTypes:()=>i.ZIY,READABLE_QUERY_PRIMITIVE_TYPES:()=>i.Tl4,RdmAttrTypes:()=>i.lwr,ReferenceAttributeType:()=>i.NkU,ReferenceAttributeValueType:()=>i.Rtp,RelationDirections:()=>i.YGx,RelationType:()=>i.uTS,RelationTypeType:()=>i.IYE,RelationsConfigType:()=>i.PiC,SearchOperator:()=>i.tJI,SearchResultMode:()=>i.fDt,SimpleAttributeValueType:()=>i.cNQ,SimpleLookupType:()=>i.SwE,SortOrderType:()=>i.ZHR,SpecialAttrTypes:()=>i.lD1,StatusVF:()=>i.lVm,TREE_DEFAULT_SORT_FIELD:()=>i.vnX,TREE_DEFAULT_SORT_ORDER:()=>i.$x5,TREE_SORT_FIELD_VALUES:()=>i._R1,TREE_SORT_ORDER_VALUES:()=>i.wUm,TransitiveMatchesType:()=>i.z7V,UniquenessAnalysisState:()=>i.dC6,UnmergeOperation:()=>i.MBD,UserPermissions:()=>i.GmF,ValidationServiceOption:()=>i.cKm,WorkflowAttrTypes:()=>i.iP_,WorkflowPriority:()=>i.NVC,addAttribute:()=>i.tPT,addCommentForTask:()=>i.tZe,addCrosswalk:()=>i.kRE,addCrosswalkInContributor:()=>i.psB,addDefaultValuesToAttributes:()=>i.X0$,addEntityAttributes:()=>i.zE1,addEntitySpecialAttribute:()=>i.Wm5,addGlobalFilterToQuery:()=>i.vyX,addNewAttribute:()=>i.wLZ,addProtocolToLink:()=>i.W4V,addReferencedRelationCrosswalks:()=>i.EtK,addToEntityEmptyRequiredDependentLookupsAttributes:()=>i.Wtd,addValueToDependentLookups:()=>i.asT,applyCrosswalks:()=>i.kGs,applyRelationTypeObject:()=>i.ewt,areAllOperatorsAnd:()=>i.O_f,areOneHierarchyUris:()=>i.sOy,attributeUriToSearchUri:()=>i.Tde,basicFilterBuildRules:()=>i.LMI,buildAttributesReadableQuery:()=>i.skb,buildBasicFilterString:()=>i.sPt,buildComplexFilterString:()=>i.sH1,buildError:()=>i.RPM,buildFilterHierarchyList:()=>i.h27,buildFilterQueryString:()=>i.Uqd,buildHierarchyAttributesReadableQuery:()=>i.xG,buildLookupRecord:()=>i.Z2f,buildOperationsToString:()=>i.fgW,buildReadableQuery:()=>i.I69,buildReadableQueryToString:()=>i.ZxB,calcTotalCommentItems:()=>i.mdt,calculateCrosswalkTreeDeep:()=>i.Qbq,canCreateRelationBetweenEntities:()=>i.rny,canUserCreateWorkflowConfigJar:()=>i.UEY,canUserCreateWorkflowEnvironmentConfigJar:()=>i.Q0T,canUserDeleteProfiles:()=>i.Lyr,canUserExecuteWorkflowJobs:()=>i.sBn,canUserExecuteWorkflowJobsSyncBusinessProcessData:()=>i.itK,canUserExecuteWorkflowJobsTerminateProcessInstance:()=>i.H9$,canUserExecuteWorkflowJobsUpdateTasks:()=>i.KPc,canUserExecuteWorkflowJobsValidateTasks:()=>i.zos,canUserGetDQStatistic:()=>i.ELQ,canUserImportEntitiesFromDT:()=>i.dZs,canUserMakeActivitiesExport:()=>i.Cz4,canUserMakeBulkUpdate:()=>i.z_L,canUserMakeExport:()=>i.fGe,canUserManageWorkflowDefinition:()=>i.iuF,canUserManageWorkflowEnvironmentDefinition:()=>i.Wib,canUserOpenDataLoader:()=>i.Hn0,canUserReadDVF:()=>i.obS,canUserReadEntitiesFromDT:()=>i.E$L,canUserReadWorkflowDataTask:()=>i.XUh,canUserRegisterConfigEnvironments:()=>i.Qp_,canUserStartProcessInstanceFromQuery:()=>i._jk,canUserUpdateProcessInstance:()=>i.sKE,canUserUpdateWorkflowDataTask:()=>i.WmG,canUserViewProcessInstanceSearchQuery:()=>i.QKx,canUserViewWorkflowConfigJar:()=>i.Oik,canUserViewWorkflowDefinition:()=>i.s0A,canUserViewWorkflowEnvironmentConfigJar:()=>i.o9m,canUserViewWorkflowJobs:()=>i.MCd,canWrapInSameAttribute:()=>i.RsS,cascadeUpdate:()=>i.tGK,changeEntityAttribute:()=>i.lIv,checkCanCreateAttribute:()=>i.Vg3,checkCanCreateCrosswalk:()=>i.mkC,checkCanDeleteAttribute:()=>i.xv5,checkCanDeleteCrosswalk:()=>i.a14,checkCanEditAttribute:()=>i.yv0,checkCanEditCrosswalk:()=>i.Zm0,checkCanImportEntityOfType:()=>i.Nxd,checkCanReadAttribute:()=>i.$mM,checkConfigPermission:()=>i.ifj,checkDraftMarked:()=>i.NWi,checkEdited:()=>i.xr3,checkIfOptionHasValues:()=>i.wNf,checkIgnored:()=>i.iJH,checkMetadataForCreate:()=>i.d89,checkMetadataForDelete:()=>i.Edd,checkMetadataForUpdate:()=>i.Z5t,checkMetadataPermission:()=>i.uGe,checkMetadataPermissions:()=>i.UoR,checkNew:()=>i.xvW,checkRemoved:()=>i.$qe,checkUserPermissions:()=>i.yPM,cleanAttributes:()=>i.$cp,cleanAttributesWith:()=>i.vKJ,collectAllDiffs:()=>i.AID,collectAllTransitiveEntitiesUris:()=>i.B1H,collectContributorsFromTree:()=>i.b7X,collectCrosswalksFromAttributes:()=>i.$uE,collectCrosswalksFromContributor:()=>i.keo,collectDiffForValidation:()=>i.C_p,collectPerspectiveViews:()=>i.G27,collectVersions:()=>i.JA0,compareActivenessAttributes:()=>i.b3T,compareAttributes:()=>i.oC6,compareImages:()=>i._Zs,compareRoles:()=>i.epC,compareTags:()=>i.YYG,configServiceRequest:()=>i.f_2,convertOldAdvancedAttribute:()=>i.w3l,convertOldDashboardConfig:()=>i.QHB,convertOldFacets:()=>i.Jso,convertOldLayoutToReltioGridLayout:()=>i.RXH,convertOldProfileConfig:()=>i.Vr9,convertOldUIConfigToNewConfig:()=>i.lMm,convertReferencedEntityForAttrValue:()=>i.fmQ,convertTransitionAttributes:()=>i.yRD,convertValidationServiceErrors:()=>i.NcL,countPercents:()=>i.QK6,createActivity:()=>i.ymd,createAttribute:()=>i.JV_,createCommandExecutor:()=>i.XiW,createComment:()=>i.Yrx,createDefaultValues:()=>i.GPx,createNewAttribute:()=>i.gjI,createNewConnectionWithDefaultRelationType:()=>i.vlo,createObjectIdForPM:()=>i.E_P,createRecentSearch:()=>i.aAL,createReferencedRelationForAttrValue:()=>i.NBq,createRelatedObjectUris:()=>i.wp9,createRelation:()=>i.DsR,createRelationCreateCommand:()=>i.MPc,createRelationDeleteCommand:()=>i.gWE,createRelationIgnoreCommand:()=>i.DT_,createRelationRepointCommand:()=>i.ipn,createRelationTypesLabelsMap:()=>i.ORg,createRelationUpdateCommand:()=>i._wz,createRelationsCommandsFromConnections:()=>i.RYR,createReply:()=>i.PP2,createRequestProvider:()=>i.wS7,createSavedSearch:()=>i.cBQ,createTemporaryEntity:()=>i.pBq,debounce:()=>i.DsO,deleteActivenessAttribute:()=>i.X78,deleteAttribute:()=>i.xZs,deleteComment:()=>i.YFy,deleteCrosswalk:()=>i.Gmt,deleteCrosswalkAttribute:()=>i.K$w,deleteRecentSearch:()=>i.DSj,deleteSavedSearch:()=>i.k9j,editAttribute:()=>i.ww$,editCrosswalkAttribute:()=>i.WVU,editEntitySpecialAttribute:()=>i.hxF,entity:()=>i.nwO,entityCumulativeUpdate:()=>i.Mzk,eqCrosswalks:()=>i.aFF,escapeQueryValue:()=>i.HRH,evaluateAttributeLabel:()=>i.EZK,evaluateDeepEntityLabel:()=>i.Kxm,evaluateErrorPath:()=>i.Z9i,exportActivities:()=>i.CrF,filterOutHiddenAttributes:()=>i.DNd,filterRelatedParentValuesForDependentLookupValueUri:()=>i.vUy,filterValueToQueryString:()=>i.lJh,filterValueToQueryStringWithQuotes:()=>i.zHo,find:()=>i.sEJ,findAllTemporaryRefEntityURI:()=>i.UO$,findAttributeTypeByUri:()=>i.zeJ,findAttributeValueByUri:()=>i.dLR,findAttributeValues:()=>i.JQy,findAttributeValuesByTypeUri:()=>i.XtP,findClosestCommonAncestor:()=>i.Ug0,findContributorForCrosswalk:()=>i.A1W,findLabelPattern:()=>i.sw,findNodeById:()=>i.nv3,findParentNodeById:()=>i.JgD,findParentNodes:()=>i.nve,findReferenceAttributeByRefEntityUri:()=>i.SkP,findRelatedTemporaryEntities:()=>i.SAs,findSourceSystemByUri:()=>i.PWK,findValueInAttributesByUriSuffix:()=>i.IM5,fixNonUniqViewsIds:()=>i.Mfk,formatDataTypeValue:()=>i.mB6,formatDate:()=>i.p6d,formatDateTime:()=>i.o0x,formatNumber:()=>i.ufS,formatNumberAsMetric:()=>i.k7L,formatTime:()=>i.mrB,generateNewRelationUri:()=>i.ncP,generateTempUri:()=>i.Zmi,generateUri:()=>i.hm5,generateValuableQueryString:()=>i.ECL,getAbsoluteImageUrl:()=>i.vPL,getAbsoluteValueUriFromPath:()=>i.qmL,getActionPermissionForMatch:()=>i.hXd,getActionPermissionForMatches:()=>i.OCS,getActivenessAttributes:()=>i.p2l,getActivities:()=>i.qF1,getActivitiesTotal:()=>i._X$,getActivityLabelsFromNewActivity:()=>i.yj2,getActorsForInteraction:()=>i.bzh,getAllAttributeTypesTree:()=>i.k66,getAllEntityTypesForGraphType:()=>i.kiP,getAllPaths:()=>i.pSg,getAllUsersForTenant:()=>i.kz_,getAnalyticsAttributeTypesTree:()=>i.H_U,getAnalyticsAttributesList:()=>i.t9e,getAssigneeForTask:()=>i.j2$,getAttrDataTypeDefinition:()=>i.PFL,getAttrTypeForFacet:()=>i.aJ3,getAttrTypeLookupCode:()=>i.To9,getAttributeByPath:()=>i.wpo,getAttributeOwnError:()=>i.ADq,getAttributePagerActiveErrors:()=>i.UUb,getAttributePagerActiveTypeErrorMessage:()=>i.tQX,getAttributeSource:()=>i.xy8,getAttributeTypeSubAttributes:()=>i.EUG,getAttributeTypeUriByValueUri:()=>i.AFK,getAttributeTypesHierarchyByUri:()=>i.X3M,getAttributeTypesTree:()=>i.WN0,getAttributeValue:()=>i.kDl,getAttributeValuePath:()=>i.uDV,getAttributeValuesByPath:()=>i.IhQ,getAttributeValuesUris:()=>i.R$r,getAttributesForMatchRules:()=>i.w80,getAttributesList:()=>i.Pfu,getAttributesListForEditMode:()=>i.Gtj,getAttributesListForReadMode:()=>i.fyF,getAttributesTreeFromAttributes:()=>i.kkq,getBaseUri:()=>i.u5q,getBusinessCardAttributes:()=>i.O$n,getBusinessCardAttributesText:()=>i.ptG,getChartItemColor:()=>i.f4_,getColorForId:()=>i.uap,getComment:()=>i.d7q,getComments:()=>i.liG,getCommentsCount:()=>i.$oF,getConnectionEntityUriPath:()=>i.avf,getConnectionRelationAttributesPath:()=>i.DiQ,getConnectionRelationDirectionPath:()=>i.cfX,getConnectionRelationEndDatePath:()=>i.vD3,getConnectionRelationObjectPath:()=>i.Qrb,getConnectionRelationStartDatePath:()=>i.EJQ,getConnectionRelationTypePath:()=>i.HWy,getConnectionRelationUriPath:()=>i.y6v,getConsoleApps:()=>i.JUW,getContributorColor:()=>i.GtP,getCreatableAttributeTypes:()=>i._kX,getCreatableOrReadableAttributeTypes:()=>i.u1e,getCrosswalkAttributes:()=>i.sJj,getCrosswalkColor:()=>i.CJp,getCrosswalkId:()=>i.uKF,getCrosswalkTree:()=>i.wo0,getCrosswalkType:()=>i.s5,getCrosswalksTypes:()=>i.cwx,getCustomerTenantInfo:()=>i.Y6b,getDQChartsData:()=>i.TTx,getDTSubscriptions:()=>i.UtR,getDVF:()=>i.HaQ,getDataChangeRequest:()=>i.E6I,getDataTenantEntity:()=>i.Won,getDataTenantEntitySecondaryLabel:()=>i.vTU,getDataTenantEntityUri:()=>i.Nsy,getDataTenantFromCrosswalks:()=>i.KMQ,getDataTenantFromEntityUri:()=>i.Do$,getDataTenantSpecialAttributeFieldName:()=>i.CSV,getDataTenantsInfo:()=>i.TMe,getDataTypeDefinitionForFilterValue:()=>i.l1V,getDateRangeByValue:()=>i.VQ1,getDefaultRelationTypeObject:()=>i.z7d,getDefaultSurvivorshipStrategy:()=>i.Xaq,getDependentLookupStateForValueUri:()=>i.Sj8,getDependentLookups:()=>i.PJj,getDescendantEntityTypes:()=>i.k3T,getDirectionalLabelFromObject:()=>i.PjQ,getDtssEntityUrl:()=>i.s7l,getEndObjectTypeUri:()=>i.GGR,getEndObjectUri:()=>i.j5q,getEntitiesByUris:()=>i.DnY,getEntitiesHierarchy:()=>i.RY5,getEntitiesMapForConnections:()=>i.Px$,getEntitiesMapForTransitiveMatches:()=>i.KPC,getEntitiesStats:()=>i.NIY,getEntity:()=>i.HvW,getEntityAttributesFromMetadata:()=>i.Fof,getEntityId:()=>i.BTI,getEntityImage:()=>i.uie,getEntityLink:()=>i.ChB,getEntityMatchRules:()=>i.q27,getEntityPreviousChange:()=>i.fAQ,getEntitySecondaryLabel:()=>i.XkT,getEntityTimeSlice:()=>i.lrH,getEntityType:()=>i.nt9,getEntityTypeGraphIcon:()=>i.XH8,getEntityTypeImage:()=>i.XH2,getEntityTypeLabel:()=>i.jFi,getEntityTypeMatchAttributes:()=>i.qhs,getEntityUriForLink:()=>i.wwR,getEntityUriFromAttributeUri:()=>i.Uk3,getEntityUriFromMatchObject:()=>i.ev7,getEnvironmentSettings:()=>i.RB9,getErrorId:()=>i.iFp,getErrorMessage:()=>i.e$p,getErrorType:()=>i.PcX,getErrorUniqKey:()=>i.SpP,getFacetTitle:()=>i.R6_,getFacetTypeForAttrType:()=>i.CY1,getFacetedAttributeData:()=>i.Ajk,getFacetedAttributeDataWithSearchParams:()=>i.Yiz,getFacets:()=>i.FK9,getFileName:()=>i.UOo,getFillRate:()=>i.aTW,getFilterOptionArity:()=>i.uug,getFilterOptionForFacet:()=>i.P$2,getFilterOptionLabel:()=>i.XS2,getFilterOptionsForDataTypeDefinition:()=>i.Hyb,getFilterOptionsForQueryBuilder:()=>i.d3Y,getFilterOptionsForRelationshipQueryBuilder:()=>i.Klp,getFilterValueForFacet:()=>i.WxZ,getFilterValueLabel:()=>i.Gzu,getFilteredEntities:()=>i.ZOr,getFilteredEntitiesFromDataTenant:()=>i.uqV,getFirstElementIfArray:()=>i.Pm4,getFullObjectsHierarchy:()=>i.nVD,getGraphSearchCount:()=>i.dED,getGraphSearchEntities:()=>i.P2h,getGraphType:()=>i.jrr,getGraphTypesForEntityType:()=>i.mmY,getGroupLabelByTypeUri:()=>i.T6O,getGroupTasksForTenant:()=>i.h6J,getGroupsFromSearchState:()=>i.hM2,getHash:()=>i.XR6,getHierarchyAncestors:()=>i.jmz,getHierarchyDescendants:()=>i.IHt,getHierarchyNodeEditorActiveError:()=>i.NZI,getHistoricUris:()=>i.wdF,getHistoryWithTotal:()=>i.kgP,getHops:()=>i.ZYI,getImageAttributeOvPreviewUrl:()=>i.QXK,getImageAttributeOvThumbnailUrl:()=>i.efz,getImageAttributeOvUrl:()=>i.Q5d,getImageAttributeThumbnailUrl:()=>i.Ysv,getInOutRelationTypesForEntityTypeUri:()=>i.UWq,getInOutRelations:()=>i.ocC,getInheritancePath:()=>i.io3,getInteractionAttributesFromMetadata:()=>i.Sbt,getInteractionType:()=>i.roS,getInteractionTypesForEntityType:()=>i.Ww1,getInteractions:()=>i.QaS,getKeywordFromOldSearchState:()=>i.ERZ,getKeywordFromSearchState:()=>i.CL1,getLabel:()=>i.idV,getLastUriPart:()=>i.nIW,getLookupCodesFromFacets:()=>i.fjE,getLookupLabel:()=>i.sG0,getLookups:()=>i.tV7,getMapSearchLabel:()=>i.g8o,getMapSearchValues:()=>i.Qy,getMatchGroupLabelsForFacet:()=>i.t2P,getMatchRuleLabel:()=>i.wId,getMatchRules:()=>i.LS0,getMatchesForDataTenantEntity:()=>i.bFH,getMatchesFromDataTenants:()=>i.Rgl,getMaxItemWidth:()=>i.fW1,getNotAppliedTreeCommands:()=>i.Ywp,getNotMatch:()=>i.pg,getNotMatchesFromDataTenants:()=>i.WSA,getOldRangeFacetValues:()=>i.fed,getOvAttributeValuesByPath:()=>i.tT_,getPagedEntity:()=>i.KbL,getParentUri:()=>i.JBA,getPathByEntityUri:()=>i.aNC,getPathsTree:()=>i.RFJ,getPathsWithTempUri:()=>i.Zeh,getPayloadForNodeApplyEditing:()=>i.OT5,getPinnedAttributesForUser:()=>i.mC3,getPotentialMatchesObjectIdsForCollaboration:()=>i.NVY,getProfileActivities:()=>i.k6v,getProfileActivitiesTotal:()=>i.FEC,getProfileEntityWithHistoryDiff:()=>i.Ob5,getProfileEntityWithoutHistoryDiff:()=>i.KUV,getProfileObjectIdsForCollaboration:()=>i.dvH,getProfileViewsIdsByTypes:()=>i.V3i,getPropWithInheritance:()=>i.VD3,getRangeOptionLabel:()=>i.mm2,getRdmTenants:()=>i.rou,getReadableAttributeTypes:()=>i.izH,getReadableAttributesList:()=>i.DK$,getRecentSearches:()=>i.KMp,getReferencedAttrTypeUrisFromAttrType:()=>i.c31,getReferencedEntityActiveError:()=>i.mbo,getReferencedEntityAttrTypesUris:()=>i.gT8,getReferencedEntityFromAttrValue:()=>i.CZ8,getReferencedEntityTypeUri:()=>i.uGi,getReferencedEntityTypeUriFromAttrType:()=>i.Poc,getReferencedEntityTypeUriFromAttrValue:()=>i._9k,getReferencedEntityUri:()=>i.ZTM,getReferencedEntityUriFromAttrValue:()=>i.bwT,getReferencedRelationAttrTypes:()=>i.tzW,getReferencedRelationAttrTypesUris:()=>i.tF$,getReferencedRelationFromAttrValue:()=>i.o96,getReferencedRelationUriFromAttrValue:()=>i.M4S,getRelation:()=>i._vs,getRelationAttributesList:()=>i.xF8,getRelationCrosswalks:()=>i.HQx,getRelationEditorActiveError:()=>i.ATu,getRelationEntityTypesUris:()=>i.j1S,getRelationType:()=>i.V3K,getRelationTypeLabelFromMetadata:()=>i.Lmx,getRelationTypeUriFromAttrType:()=>i.ZaZ,getRelationsForDataTenantEntity:()=>i.n_1,getRelationsForEntity:()=>i.N6e,getRelationshipTypeUrisFromGraphType:()=>i.SxO,getRelationshipsObjectIdsForCollaboration:()=>i.w3p,getRequestErrorMessage:()=>i.xU7,getRequiredAttributeTypes:()=>i.Y_p,getRequiredAttributeTypesByTypeUri:()=>i.$k6,getResolvedLookupLabel:()=>i.Gdl,getResolvedLookupValue:()=>i.U6P,getResolvedLookupsForFacet:()=>i.OwB,getRestrictedObjectsHierarchy:()=>i.hTh,getRoleLabel:()=>i.xqc,getRolesForEntityType:()=>i.JvE,getRootFieldName:()=>i.i29,getRulesConfig:()=>i.dzT,getSavedSearch:()=>i.uPS,getSavedSearches:()=>i.cZV,getSearchGroupAttributeEntityTypeUri:()=>i.n3B,getSearchGroupAttributeLabel:()=>i.e6O,getSearchLink:()=>i.s7j,getSearchLinkState:()=>i.j$Q,getSourceColor:()=>i.kW2,getSourceSystemLabel:()=>i.tH7,getSpecialAttrTypeByFieldName:()=>i.Yxg,getStartObjectTypeUri:()=>i.MaZ,getStartObjectUri:()=>i.nqN,getSuitableEntityTypeUrisForRelationTypes:()=>i.jWj,getSurvivorshipStrategy:()=>i.o_J,getTagLink:()=>i.hgZ,getTaskById:()=>i.yW4,getTasksForEntity:()=>i.uT0,getTasksForTenant:()=>i.C82,getTenantName:()=>i.u9Z,getTotalFromDataTenant:()=>i.J$m,getTotals:()=>i.j_Q,getTotalsForQuery:()=>i.OaI,getTransitiveMatchRules:()=>i.wB1,getTransitiveMatches:()=>i.SP6,getTransitiveMatchesForEntity:()=>i.ZYr,getTree:()=>i.IMU,getUIConfiguration:()=>i.FoU,getUnresolvedLookupsList:()=>i.DVz,getUnresolvedLookupsListFromSearchGroups:()=>i.mxe,getUrisForSaving:()=>i.FHr,getUserPreference:()=>i.D1g,getValidatedSortField:()=>i.VO3,getValidatedSortOrder:()=>i.de5,gif2Url:()=>i.Uw1,hasAttributeDescendantsWithErrors:()=>i.J6q,hasDependentLookupAttributes:()=>i.XCe,hasMatchRulesWithoutML:()=>i.Ir,hasMlMatchRule:()=>i.XQO,hasNonImportedRelations:()=>i.QXb,ignoreAttribute:()=>i.P8_,ignoreSuggestedRelation:()=>i.iiD,importDTConnections:()=>i.MOC,importEntityFromDataTenant:()=>i.WF,inOutRelationsDeduplicator:()=>i.xE1,initDependentLookups:()=>i.idW,insertDefaultImageByAttrUri:()=>i.YL3,isActiveObject:()=>i.Fn9,isActivenessAttrType:()=>i.j2U,isAllowedReferencedSubAttribute:()=>i.MpE,isAnalyticAttribute:()=>i.kQw,isAndOperator:()=>i.mfm,isAttributeSearchUri:()=>i.vZp,isAttributeTypeInDependentLookups:()=>i.E8K,isAttributeValueLink:()=>i.VSb,isAutoGeneratedAttribute:()=>i.vr_,isAutopopulationEnabled:()=>i.Vmh,isAvailableAttributeTypeForProfile:()=>i.FgW,isAvailableEntityType:()=>i.oDv,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,isBooleanType:()=>i.T6Y,isCompatibleFilters:()=>i._26,isComplexAttribute:()=>i.YkM,isCompositeFilterOption:()=>i.J6y,isCountFilterOption:()=>i.njU,isCreatableEntityType:()=>i.TBP,isCriticalError:()=>i.IT0,isCrosswalkDisabled:()=>i.x_,isDataTenantEntity:()=>i.biM,isDataTenantEntityUri:()=>i.TMl,isDateFilterOption:()=>i.Vkd,isDateRangeFacet:()=>i.WiY,isDateRangeFilterOption:()=>i._zi,isDateRangeValue:()=>i.J6D,isDateType:()=>i.Lt4,isDependentLookupAttrType:()=>i.QEi,isEditMode:()=>i.whI,isEditableMode:()=>i.KIu,isEmail:()=>i.JhM,isEmailType:()=>i.C_0,isEmptySearchGroup:()=>i.qIF,isEmptyValue:()=>i.O27,isEntityImportedToCT:()=>i.aBi,isEntitySpecialAttrType:()=>i.xOX,isEntityTypeUri:()=>i.EdS,isEntityUri:()=>i.WgC,isEnumAttrType:()=>i.eEv,isFileFilterOption:()=>i.A4t,isFirstLevelAttributeUri:()=>i.YOQ,isFloatingType:()=>i.Wos,isFreemiumAdmin:()=>i.jWr,isImage:()=>i.Or$,isInHierarchy:()=>i.lhE,isLookupAttrType:()=>i.CwH,isMatchRuleAttrType:()=>i.pzC,isMultiValueOption:()=>i.ymH,isNested:()=>i.QZu,isNumericRangeFacet:()=>i.rYH,isNumericType:()=>i.FVt,isObject:()=>i.Kn2,isOrOperator:()=>i.jgw,isOv:()=>i.OXP,isRDMLookupAttrType:()=>i.lS4,isRangeFacet:()=>i.g5f,isRangeFilterOption:()=>i.fp6,isReadableAttribute:()=>i.Uty,isReference:()=>i.YkG,isRelationAttrType:()=>i.xdS,isRelationTypeUri:()=>i.$NE,isRelationUri:()=>i.bC9,isReltioCrosswalk:()=>i.KVV,isRequired:()=>i.q9e,isResolvedLookupCode:()=>i.iIf,isRoleAttrType:()=>i.ian,isSSNType:()=>i.m6e,isSourceSystemAttrType:()=>i.OFd,isSpecialAttribute:()=>i.kqr,isSuggestMode:()=>i.fnZ,isTagAttrType:()=>i.VFZ,isTempUri:()=>i.ZiX,isTimestampBasedType:()=>i.j5n,isToday:()=>i.zkt,isTransitiveMatch:()=>i.Pcm,isTypeAttrType:()=>i.QDV,isTypeFacet:()=>i.M5u,isTypeSearchGroupAttribute:()=>i.laD,isTypeaheadAttrType:()=>i.mtq,isUnresolvedLookupCode:()=>i.CtB,isUrl:()=>i.CBv,isUrlType:()=>i.I0t,isValidRelationToAdd:()=>i.u1G,isValidSearchGroup:()=>i.gk1,isValidSearchGroupAttribute:()=>i.Bgb,isViewMode:()=>i.uzs,joinFilterStrings:()=>i.v0l,loadMetadata:()=>i.Zqp,localizeMetadata:()=>i.j0k,makeAttrTypeUri:()=>i.tCm,makeCompositeFilterOption:()=>i.gmx,mapFilterValue:()=>i.mOr,mapSearchTypeToFieldName:()=>i.TwZ,mapTree:()=>i.GyU,markAsNotMatch:()=>i.zGm,markDataTenantEntityAsNotMatch:()=>i.bMg,markEdited:()=>i.EyD,markIgnored:()=>i.FQA,markMixedEntitiesAsNotMatches:()=>i.fZN,markNew:()=>i.xsF,markRemoved:()=>i.Lxg,markSavedSearchAsFavorite:()=>i.O3l,markSavedSearchAsPublic:()=>i.Wni,marksJSONReplacer:()=>i.wRx,mergeCustomerTenantEntityWithMixedEntities:()=>i.OxG,mergeDataTenantEntity:()=>i.uJQ,mergeLookupsLists:()=>i.qWg,mergeSameEntities:()=>i.i96,omitMarks:()=>i.zhn,operatorOptions:()=>i.G8q,orderByArrayComparator:()=>i.A9Y,parseAdvancedSearch:()=>i.Y5F,parseBoolean:()=>i.gxP,parseCompositeFilterOption:()=>i.c$P,parseCompositeFilters:()=>i.M7o,parseMetadata:()=>i.BBN,parseTimestamp:()=>i.ZBU,partitionByMlMatch:()=>i.UkJ,pinAttribute:()=>i.xkv,populateDependentLookupsFromEntity:()=>i.z$M,postGraphExport:()=>i.KAm,prepareAttrDiff:()=>i.lCl,prepareEntityForValidation:()=>i.rkF,processDefinitions:()=>i.IU6,promiseAllSettled:()=>i.RGr,promisifyCallback:()=>i.aYu,promisifyProvider:()=>i.ije,rateRelation:()=>i.Buf,rawRequest:()=>i.YLu,referencedEntityAttributeTypesSelectionStrategy:()=>i.ct9,reinstateDataTenantEntityMatch:()=>i.XkY,reinstateMatch:()=>i.T5R,reinstateMixedEntitiesMatches:()=>i.uQS,relationEditorAttributeTypesSelectionStrategy:()=>i.wcJ,removeAttribute:()=>i.d$I,removeDtssPrefixFromEntityUri:()=>i.rSp,removeEntity:()=>i.Sx,removeEntityAttribute:()=>i.Ilm,removeEntitySpecialAttribute:()=>i.Ki6,removeRelation:()=>i.VGk,removeUnsupportedLayoutItems:()=>i.sFD,removeValuesFromDependentLookups:()=>i.eWN,replacePlaceholdersInQuery:()=>i.dWE,replaceTempUriInCommands:()=>i.Lkd,replaceTemporaryRefEntityURI:()=>i.aDL,requestForDataTenant:()=>i.yaA,resetUserPreference:()=>i.lOh,resolve:()=>i.DBr,resolveLookupsList:()=>i.hK$,runTaskAction:()=>i.TZ_,sanitizeTypesInSearchGroups:()=>i.CMB,saveEntity:()=>i.FU8,saveTemporaryEntities:()=>i.J$p,saveTemporaryEntity:()=>i.b5s,searchUriToAttrUri:()=>i.h2W,sendRequestFromCustomSandbox:()=>i.SL_,sendWorkflowRequest:()=>i.oUH,setAsMatch:()=>i.ck9,setRequestProvider:()=>i.Xs0,setUserPreference:()=>i.u7I,shiftDownOperators:()=>i.rxg,shiftUpOperators:()=>i.bji,shouldUseValidationService:()=>i.oCZ,sortTreeChildren:()=>i.MjG,startProcessFromQuery:()=>i.FuV,startProcessInstance:()=>i.$ju,startProcessInstanceByPairs:()=>i.t6d,svg2Url:()=>i.m5F,syncAttributeTypeWithDependentLookups:()=>i.sx,theme:()=>i.rSc,typeAheadSearch:()=>i.U10,unmergeContributor:()=>i.L8n,unsubscribeEntityFromDataTenantEntity:()=>i.R9X,updateActivenessAttribute:()=>i.rj2,updateAssigneeForTask:()=>i._C4,updateAttribute:()=>i.tCj,updateComment:()=>i.uAg,updateConnectionEntityLabel:()=>i.wx9,updateDueDateForTask:()=>i.KF3,updatePriorityForTask:()=>i.ax9,updateRelation:()=>i.HH7,updateSavedSearch:()=>i._6y,uploadFileForSearch:()=>i.AJo,uploadImage:()=>i.Ixr,utils:()=>i.P6Y,validateConnection:()=>i.Bd_,validateConnectionRelation:()=>i.xkB,validateEntity:()=>i.W41,validateEntityChanges:()=>i.WkI,validateEntityLocally:()=>i.sSE,validateFilter:()=>i.GMd,validateHierarchyConnection:()=>i.Bxm,validateRequiredAttributes:()=>i.FVh,withDtssPotentialItems:()=>i.U_T,wrapInArray:()=>i.FTe,wrapInArrayIfNeeded:()=>i.VGB,wrapInDoubleQuotes:()=>i.Wfe,wrapInQuotes:()=>i.Ls5,wrapQueryWithBrackets:()=>i.$bd});var i=r(22241)}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[1707],{71707:(e,t,r)=>{r.r(t),r.d(t,{ACTIVENESS_ATTR_TYPES:()=>i.ViP,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,ApiErrorCode:()=>i.Xt7,AttributeErrorType:()=>i.wfT,AttributeTypeType:()=>i.EMD,AttributeValuePathItemType:()=>i.HAc,AuditAttrTypes:()=>i.PEf,CardinalityType:()=>i.oA3,ChartTypes:()=>i.$XE,CollaborationAttrTypes:()=>i.eWf,CollaborationObjectTypes:()=>i.q7e,ComplexAttributeType:()=>i.KVe,ConfigPermissions:()=>i.WVQ,ConnectionEntityType:()=>i.oZZ,ConnectionRelationType:()=>i.bNA,ConnectionType:()=>i.Rjq,CrosswalksAttrTypes:()=>i.G39,DQDataLevel:()=>i.yn8,DQMetric:()=>i.N0y,DashboardViewTypes:()=>i.dZX,DataTenantType:()=>i.bQt,DataTypes:()=>i.oS0,DateRangeValues:()=>i.lL_,Directions:()=>i.Nsj,DraftMarks:()=>i.psV,EntityAttrTypes:()=>i.xPW,EntityType:()=>i.pyR,EntityTypeType:()=>i.p8l,ErrorSeverity:()=>i.Wkf,ErrorSource:()=>i.zHr,ErrorType:()=>i.NIO,FACET_TYPES:()=>i.$26,FileValueType:()=>i.Esk,FillRateState:()=>i.s9T,FilterBuilder:()=>i.MEy,FilterOptions:()=>i.j5E,FilterType:()=>i.vAw,FilterValueType:()=>i.NMQ,GraphTypeType:()=>i.mNm,HierarchyTreeViewConfigType:()=>i.rwv,InteractionType:()=>i.s_5,InteractionTypeType:()=>i.RgZ,InteractionsConfigType:()=>i.unl,KeywordSearchType:()=>i.Qy0,LookupValueType:()=>i.pYu,MAP_SEARCH_TYPES:()=>i.wIJ,MapSearch:()=>i.GFH,MatchRulesAttrTypes:()=>i.S91,MatchRulesType:()=>i.p3$,Maybe:()=>i.wSh,MetadataPermissions:()=>i.BDP,MetadataType:()=>i.pGS,Mode:()=>i.ARY,ModeType:()=>i.XGc,ModeTypes:()=>i.fO_,NODE_EDITING_MODES:()=>i.wwy,NO_LABEL:()=>i._XL,NestedAttributeType:()=>i.j2V,NestedAttributeValueType:()=>i.dMV,Node:()=>i.NBX,Operation:()=>i.OXy,Operations:()=>i.BXd,PagingType:()=>i.CJB,PerspectiveClass:()=>i.lXI,PotentialMatchType:()=>i.nqG,PotentialMatchesAttrTypes:()=>i.C68,PotentialMatchesConfigType:()=>i.yxQ,PredefinedWorkflowProcessType:()=>i.Yj_,PreviewPanelMode:()=>i.D25,ProfileViewTypes:()=>i.ZIY,READABLE_QUERY_PRIMITIVE_TYPES:()=>i.Tl4,RdmAttrTypes:()=>i.lwr,ReferenceAttributeType:()=>i.NkU,ReferenceAttributeValueType:()=>i.Rtp,RelationDirections:()=>i.YGx,RelationType:()=>i.uTS,RelationTypeType:()=>i.IYE,RelationsConfigType:()=>i.PiC,SearchOperator:()=>i.tJI,SearchResultMode:()=>i.fDt,SimpleAttributeValueType:()=>i.cNQ,SimpleLookupType:()=>i.SwE,SortOrderType:()=>i.ZHR,SpecialAttrTypes:()=>i.lD1,StatusVF:()=>i.lVm,TREE_DEFAULT_SORT_FIELD:()=>i.vnX,TREE_DEFAULT_SORT_ORDER:()=>i.$x5,TREE_SORT_FIELD_VALUES:()=>i._R1,TREE_SORT_ORDER_VALUES:()=>i.wUm,TransitiveMatchesType:()=>i.z7V,UniquenessAnalysisState:()=>i.dC6,UnmergeOperation:()=>i.MBD,UserPermissions:()=>i.GmF,ValidationServiceOption:()=>i.cKm,WorkflowAttrTypes:()=>i.iP_,WorkflowPriority:()=>i.NVC,addAttribute:()=>i.tPT,addCommentForTask:()=>i.tZe,addCrosswalk:()=>i.kRE,addCrosswalkInContributor:()=>i.psB,addDefaultValuesToAttributes:()=>i.X0$,addEntityAttributes:()=>i.zE1,addEntitySpecialAttribute:()=>i.Wm5,addGlobalFilterToQuery:()=>i.vyX,addNewAttribute:()=>i.wLZ,addProtocolToLink:()=>i.W4V,addReferencedRelationCrosswalks:()=>i.EtK,addToEntityEmptyRequiredDependentLookupsAttributes:()=>i.Wtd,addValueToDependentLookups:()=>i.asT,applyCrosswalks:()=>i.kGs,applyRelationTypeObject:()=>i.ewt,areAllOperatorsAnd:()=>i.O_f,areOneHierarchyUris:()=>i.sOy,attributeUriToSearchUri:()=>i.Tde,basicFilterBuildRules:()=>i.LMI,buildAttributesReadableQuery:()=>i.skb,buildBasicFilterString:()=>i.sPt,buildComplexFilterString:()=>i.sH1,buildError:()=>i.RPM,buildFilterHierarchyList:()=>i.h27,buildFilterQueryString:()=>i.Uqd,buildHierarchyAttributesReadableQuery:()=>i.xG,buildLookupRecord:()=>i.Z2f,buildOperationsToString:()=>i.fgW,buildReadableQuery:()=>i.I69,buildReadableQueryToString:()=>i.ZxB,calcTotalCommentItems:()=>i.mdt,calculateCrosswalkTreeDeep:()=>i.Qbq,canCreateRelationBetweenEntities:()=>i.rny,canUserCreateWorkflowConfigJar:()=>i.UEY,canUserCreateWorkflowEnvironmentConfigJar:()=>i.Q0T,canUserDeleteProfiles:()=>i.Lyr,canUserExecuteWorkflowJobs:()=>i.sBn,canUserExecuteWorkflowJobsSyncBusinessProcessData:()=>i.itK,canUserExecuteWorkflowJobsTerminateProcessInstance:()=>i.H9$,canUserExecuteWorkflowJobsUpdateTasks:()=>i.KPc,canUserExecuteWorkflowJobsValidateTasks:()=>i.zos,canUserGetDQStatistic:()=>i.ELQ,canUserImportEntitiesFromDT:()=>i.dZs,canUserMakeActivitiesExport:()=>i.Cz4,canUserMakeBulkUpdate:()=>i.z_L,canUserMakeExport:()=>i.fGe,canUserManageWorkflowDefinition:()=>i.iuF,canUserManageWorkflowEnvironmentDefinition:()=>i.Wib,canUserOpenDataLoader:()=>i.Hn0,canUserReadDVF:()=>i.obS,canUserReadEntitiesFromDT:()=>i.E$L,canUserReadWorkflowDataTask:()=>i.XUh,canUserRegisterConfigEnvironments:()=>i.Qp_,canUserStartProcessInstanceFromQuery:()=>i._jk,canUserUpdateProcessInstance:()=>i.sKE,canUserUpdateWorkflowDataTask:()=>i.WmG,canUserViewProcessInstanceSearchQuery:()=>i.QKx,canUserViewWorkflowConfigJar:()=>i.Oik,canUserViewWorkflowDefinition:()=>i.s0A,canUserViewWorkflowEnvironmentConfigJar:()=>i.o9m,canUserViewWorkflowJobs:()=>i.MCd,canWrapInSameAttribute:()=>i.RsS,cascadeUpdate:()=>i.tGK,changeEntityAttribute:()=>i.lIv,checkCanCreateAttribute:()=>i.Vg3,checkCanCreateCrosswalk:()=>i.mkC,checkCanDeleteAttribute:()=>i.xv5,checkCanDeleteCrosswalk:()=>i.a14,checkCanEditAttribute:()=>i.yv0,checkCanEditCrosswalk:()=>i.Zm0,checkCanImportEntityOfType:()=>i.Nxd,checkCanReadAttribute:()=>i.$mM,checkConfigPermission:()=>i.ifj,checkDraftMarked:()=>i.NWi,checkEdited:()=>i.xr3,checkIfOptionHasValues:()=>i.wNf,checkIgnored:()=>i.iJH,checkMetadataForCreate:()=>i.d89,checkMetadataForDelete:()=>i.Edd,checkMetadataForUpdate:()=>i.Z5t,checkMetadataPermission:()=>i.uGe,checkMetadataPermissions:()=>i.UoR,checkNew:()=>i.xvW,checkRemoved:()=>i.$qe,checkUserPermissions:()=>i.yPM,cleanAttributes:()=>i.$cp,cleanAttributesWith:()=>i.vKJ,collectAllDiffs:()=>i.AID,collectAllTransitiveEntitiesUris:()=>i.B1H,collectContributorsFromTree:()=>i.b7X,collectCrosswalksFromAttributes:()=>i.$uE,collectCrosswalksFromContributor:()=>i.keo,collectDiffForValidation:()=>i.C_p,collectPerspectiveViews:()=>i.G27,collectVersions:()=>i.JA0,compareActivenessAttributes:()=>i.b3T,compareAttributes:()=>i.oC6,compareImages:()=>i._Zs,compareRoles:()=>i.epC,compareTags:()=>i.YYG,configServiceRequest:()=>i.f_2,convertOldAdvancedAttribute:()=>i.w3l,convertOldDashboardConfig:()=>i.QHB,convertOldFacets:()=>i.Jso,convertOldLayoutToReltioGridLayout:()=>i.RXH,convertOldProfileConfig:()=>i.Vr9,convertOldUIConfigToNewConfig:()=>i.lMm,convertReferencedEntityForAttrValue:()=>i.fmQ,convertTransitionAttributes:()=>i.yRD,convertValidationServiceErrors:()=>i.NcL,countPercents:()=>i.QK6,createActivity:()=>i.ymd,createAttribute:()=>i.JV_,createCommandExecutor:()=>i.XiW,createComment:()=>i.Yrx,createDefaultValues:()=>i.GPx,createNewAttribute:()=>i.gjI,createNewConnectionWithDefaultRelationType:()=>i.vlo,createObjectIdForPM:()=>i.E_P,createRecentSearch:()=>i.aAL,createReferencedRelationForAttrValue:()=>i.NBq,createRelatedObjectUris:()=>i.wp9,createRelation:()=>i.DsR,createRelationCreateCommand:()=>i.MPc,createRelationDeleteCommand:()=>i.gWE,createRelationIgnoreCommand:()=>i.DT_,createRelationRepointCommand:()=>i.ipn,createRelationTypesLabelsMap:()=>i.ORg,createRelationUpdateCommand:()=>i._wz,createRelationsCommandsFromConnections:()=>i.RYR,createReply:()=>i.PP2,createRequestProvider:()=>i.wS7,createSavedSearch:()=>i.cBQ,createTemporaryEntity:()=>i.pBq,debounce:()=>i.DsO,deleteActivenessAttribute:()=>i.X78,deleteAttribute:()=>i.xZs,deleteComment:()=>i.YFy,deleteCrosswalk:()=>i.Gmt,deleteCrosswalkAttribute:()=>i.K$w,deleteRecentSearch:()=>i.DSj,deleteSavedSearch:()=>i.k9j,editAttribute:()=>i.ww$,editCrosswalkAttribute:()=>i.WVU,editEntitySpecialAttribute:()=>i.hxF,entity:()=>i.nwO,entityCumulativeUpdate:()=>i.Mzk,eqCrosswalks:()=>i.aFF,escapeQueryValue:()=>i.HRH,evaluateAttributeLabel:()=>i.EZK,evaluateDeepEntityLabel:()=>i.Kxm,evaluateErrorPath:()=>i.Z9i,exportActivities:()=>i.CrF,filterOutHiddenAttributes:()=>i.DNd,filterRelatedParentValuesForDependentLookupValueUri:()=>i.vUy,filterValueToQueryString:()=>i.lJh,filterValueToQueryStringWithQuotes:()=>i.zHo,find:()=>i.sEJ,findAllTemporaryRefEntityURI:()=>i.UO$,findAttributeTypeByUri:()=>i.zeJ,findAttributeValueByUri:()=>i.dLR,findAttributeValues:()=>i.JQy,findAttributeValuesByTypeUri:()=>i.XtP,findClosestCommonAncestor:()=>i.Ug0,findContributorForCrosswalk:()=>i.A1W,findLabelPattern:()=>i.sw,findNodeById:()=>i.nv3,findParentNodeById:()=>i.JgD,findParentNodes:()=>i.nve,findReferenceAttributeByRefEntityUri:()=>i.SkP,findRelatedTemporaryEntities:()=>i.SAs,findSourceSystemByUri:()=>i.PWK,findValueInAttributesByUriSuffix:()=>i.IM5,fixNonUniqViewsIds:()=>i.Mfk,formatDataTypeValue:()=>i.mB6,formatDate:()=>i.p6d,formatDateTime:()=>i.o0x,formatNumber:()=>i.ufS,formatNumberAsMetric:()=>i.k7L,formatTime:()=>i.mrB,generateNewRelationUri:()=>i.ncP,generateTempUri:()=>i.Zmi,generateUri:()=>i.hm5,generateValuableQueryString:()=>i.ECL,getAbsoluteImageUrl:()=>i.vPL,getAbsoluteValueUriFromPath:()=>i.qmL,getActionPermissionForMatch:()=>i.hXd,getActionPermissionForMatches:()=>i.OCS,getActivenessAttributes:()=>i.p2l,getActivities:()=>i.qF1,getActivitiesTotal:()=>i._X$,getActivityLabelsFromNewActivity:()=>i.yj2,getActorsForInteraction:()=>i.bzh,getAllAttributeTypesTree:()=>i.k66,getAllEntityTypesForGraphType:()=>i.kiP,getAllPaths:()=>i.pSg,getAllUsersForTenant:()=>i.kz_,getAnalyticsAttributeTypesTree:()=>i.H_U,getAnalyticsAttributesList:()=>i.t9e,getAssigneeForTask:()=>i.j2$,getAttrDataTypeDefinition:()=>i.PFL,getAttrTypeForFacet:()=>i.aJ3,getAttrTypeLookupCode:()=>i.To9,getAttributeByPath:()=>i.wpo,getAttributeOwnError:()=>i.ADq,getAttributePagerActiveErrors:()=>i.UUb,getAttributePagerActiveTypeErrorMessage:()=>i.tQX,getAttributeSource:()=>i.xy8,getAttributeTypeSubAttributes:()=>i.EUG,getAttributeTypeUriByValueUri:()=>i.AFK,getAttributeTypesHierarchyByUri:()=>i.X3M,getAttributeTypesTree:()=>i.WN0,getAttributeValue:()=>i.kDl,getAttributeValuePath:()=>i.uDV,getAttributeValuesByPath:()=>i.IhQ,getAttributeValuesUris:()=>i.R$r,getAttributesForMatchRules:()=>i.w80,getAttributesList:()=>i.Pfu,getAttributesListForEditMode:()=>i.Gtj,getAttributesListForReadMode:()=>i.fyF,getAttributesTreeFromAttributes:()=>i.kkq,getBaseUri:()=>i.u5q,getBusinessCardAttributes:()=>i.O$n,getBusinessCardAttributesText:()=>i.ptG,getChartItemColor:()=>i.f4_,getColorForId:()=>i.uap,getComment:()=>i.d7q,getComments:()=>i.liG,getCommentsCount:()=>i.$oF,getConnectionEntityUriPath:()=>i.avf,getConnectionRelationAttributesPath:()=>i.DiQ,getConnectionRelationDirectionPath:()=>i.cfX,getConnectionRelationEndDatePath:()=>i.vD3,getConnectionRelationObjectPath:()=>i.Qrb,getConnectionRelationStartDatePath:()=>i.EJQ,getConnectionRelationTypePath:()=>i.HWy,getConnectionRelationUriPath:()=>i.y6v,getConsoleApps:()=>i.JUW,getContributorColor:()=>i.GtP,getCreatableAttributeTypes:()=>i._kX,getCreatableOrReadableAttributeTypes:()=>i.u1e,getCrosswalkAttributes:()=>i.sJj,getCrosswalkColor:()=>i.CJp,getCrosswalkId:()=>i.uKF,getCrosswalkTree:()=>i.wo0,getCrosswalkType:()=>i.s5,getCrosswalksTypes:()=>i.cwx,getCustomerTenantInfo:()=>i.Y6b,getDQChartsData:()=>i.TTx,getDTSubscriptions:()=>i.UtR,getDVF:()=>i.HaQ,getDataChangeRequest:()=>i.E6I,getDataTenantEntity:()=>i.Won,getDataTenantEntitySecondaryLabel:()=>i.vTU,getDataTenantEntityUri:()=>i.Nsy,getDataTenantFromCrosswalks:()=>i.KMQ,getDataTenantFromEntityUri:()=>i.Do$,getDataTenantSpecialAttributeFieldName:()=>i.CSV,getDataTenantsInfo:()=>i.TMe,getDataTypeDefinitionForFilterValue:()=>i.l1V,getDateRangeByValue:()=>i.VQ1,getDefaultRelationTypeObject:()=>i.z7d,getDefaultSurvivorshipStrategy:()=>i.Xaq,getDependentLookupStateForValueUri:()=>i.Sj8,getDependentLookups:()=>i.PJj,getDescendantEntityTypes:()=>i.k3T,getDirectionalLabelFromObject:()=>i.PjQ,getDtssEntityUrl:()=>i.s7l,getEndObjectTypeUri:()=>i.GGR,getEndObjectUri:()=>i.j5q,getEntitiesByUris:()=>i.DnY,getEntitiesHierarchy:()=>i.RY5,getEntitiesMapForConnections:()=>i.Px$,getEntitiesMapForTransitiveMatches:()=>i.KPC,getEntitiesStats:()=>i.NIY,getEntity:()=>i.HvW,getEntityAttributesFromMetadata:()=>i.Fof,getEntityId:()=>i.BTI,getEntityImage:()=>i.uie,getEntityLink:()=>i.ChB,getEntityMatchRules:()=>i.q27,getEntityPreviousChange:()=>i.fAQ,getEntitySecondaryLabel:()=>i.XkT,getEntityTimeSlice:()=>i.lrH,getEntityType:()=>i.nt9,getEntityTypeGraphIcon:()=>i.XH8,getEntityTypeImage:()=>i.XH2,getEntityTypeLabel:()=>i.jFi,getEntityTypeMatchAttributes:()=>i.qhs,getEntityUriForLink:()=>i.wwR,getEntityUriFromAttributeUri:()=>i.Uk3,getEntityUriFromMatchObject:()=>i.ev7,getEnvironmentSettings:()=>i.RB9,getErrorId:()=>i.iFp,getErrorMessage:()=>i.e$p,getErrorType:()=>i.PcX,getErrorUniqKey:()=>i.SpP,getFacetTitle:()=>i.R6_,getFacetTypeForAttrType:()=>i.CY1,getFacetedAttributeData:()=>i.Ajk,getFacetedAttributeDataWithSearchParams:()=>i.Yiz,getFacets:()=>i.FK9,getFileName:()=>i.UOo,getFillRate:()=>i.aTW,getFilterOptionArity:()=>i.uug,getFilterOptionForFacet:()=>i.P$2,getFilterOptionLabel:()=>i.XS2,getFilterOptionsForDataTypeDefinition:()=>i.Hyb,getFilterOptionsForQueryBuilder:()=>i.d3Y,getFilterOptionsForRelationshipQueryBuilder:()=>i.Klp,getFilterValueForFacet:()=>i.WxZ,getFilterValueLabel:()=>i.Gzu,getFilteredEntities:()=>i.ZOr,getFilteredEntitiesFromDataTenant:()=>i.uqV,getFirstElementIfArray:()=>i.Pm4,getFullObjectsHierarchy:()=>i.nVD,getGraphSearchCount:()=>i.dED,getGraphSearchEntities:()=>i.P2h,getGraphType:()=>i.jrr,getGraphTypesForEntityType:()=>i.mmY,getGroupLabelByTypeUri:()=>i.T6O,getGroupTasksForTenant:()=>i.h6J,getGroupsFromSearchState:()=>i.hM2,getHash:()=>i.XR6,getHierarchyAncestors:()=>i.jmz,getHierarchyDescendants:()=>i.IHt,getHierarchyNodeEditorActiveError:()=>i.NZI,getHistoricUris:()=>i.wdF,getHistoryWithTotal:()=>i.kgP,getHops:()=>i.ZYI,getImageAttributeOvPreviewUrl:()=>i.QXK,getImageAttributeOvThumbnailUrl:()=>i.efz,getImageAttributeOvUrl:()=>i.Q5d,getImageAttributeThumbnailUrl:()=>i.Ysv,getInOutRelationTypesForEntityTypeUri:()=>i.UWq,getInOutRelations:()=>i.ocC,getInheritancePath:()=>i.io3,getInteractionAttributesFromMetadata:()=>i.Sbt,getInteractionType:()=>i.roS,getInteractionTypesForEntityType:()=>i.Ww1,getInteractions:()=>i.QaS,getKeywordFromOldSearchState:()=>i.ERZ,getKeywordFromSearchState:()=>i.CL1,getLabel:()=>i.idV,getLastUriPart:()=>i.nIW,getLookupCodesFromFacets:()=>i.fjE,getLookupLabel:()=>i.sG0,getLookups:()=>i.tV7,getMapSearchLabel:()=>i.g8o,getMapSearchValues:()=>i.Qy,getMatchGroupLabelsForFacet:()=>i.t2P,getMatchRuleLabel:()=>i.wId,getMatchRules:()=>i.LS0,getMatchesForDataTenantEntity:()=>i.bFH,getMatchesFromDataTenants:()=>i.Rgl,getMaxItemWidth:()=>i.fW1,getNotAppliedTreeCommands:()=>i.Ywp,getNotMatch:()=>i.pg,getNotMatchesFromDataTenants:()=>i.WSA,getOldRangeFacetValues:()=>i.fed,getOvAttributeValuesByPath:()=>i.tT_,getPagedEntity:()=>i.KbL,getParentUri:()=>i.JBA,getPathByEntityUri:()=>i.aNC,getPathsTree:()=>i.RFJ,getPathsWithTempUri:()=>i.Zeh,getPayloadForNodeApplyEditing:()=>i.OT5,getPinnedAttributesForUser:()=>i.mC3,getPotentialMatchesObjectIdsForCollaboration:()=>i.NVY,getProfileActivities:()=>i.k6v,getProfileActivitiesTotal:()=>i.FEC,getProfileEntityWithHistoryDiff:()=>i.Ob5,getProfileEntityWithoutHistoryDiff:()=>i.KUV,getProfileObjectIdsForCollaboration:()=>i.dvH,getProfileViewsIdsByTypes:()=>i.V3i,getPropWithInheritance:()=>i.VD3,getRangeOptionLabel:()=>i.mm2,getRdmTenants:()=>i.rou,getReadableAttributeTypes:()=>i.izH,getReadableAttributesList:()=>i.DK$,getRecentSearches:()=>i.KMp,getReferencedAttrTypeUrisFromAttrType:()=>i.c31,getReferencedEntityActiveError:()=>i.mbo,getReferencedEntityAttrTypesUris:()=>i.gT8,getReferencedEntityFromAttrValue:()=>i.CZ8,getReferencedEntityTypeUri:()=>i.uGi,getReferencedEntityTypeUriFromAttrType:()=>i.Poc,getReferencedEntityTypeUriFromAttrValue:()=>i._9k,getReferencedEntityUri:()=>i.ZTM,getReferencedEntityUriFromAttrValue:()=>i.bwT,getReferencedRelationAttrTypes:()=>i.tzW,getReferencedRelationAttrTypesUris:()=>i.tF$,getReferencedRelationFromAttrValue:()=>i.o96,getReferencedRelationUriFromAttrValue:()=>i.M4S,getRelation:()=>i._vs,getRelationAttributesList:()=>i.xF8,getRelationCrosswalks:()=>i.HQx,getRelationEditorActiveError:()=>i.ATu,getRelationEntityTypesUris:()=>i.j1S,getRelationType:()=>i.V3K,getRelationTypeLabelFromMetadata:()=>i.Lmx,getRelationTypeUriFromAttrType:()=>i.ZaZ,getRelationsForDataTenantEntity:()=>i.n_1,getRelationsForEntity:()=>i.N6e,getRelationshipTypeUrisFromGraphType:()=>i.SxO,getRelationshipsObjectIdsForCollaboration:()=>i.w3p,getRequestErrorMessage:()=>i.xU7,getRequiredAttributeTypes:()=>i.Y_p,getRequiredAttributeTypesByTypeUri:()=>i.$k6,getResolvedLookupLabel:()=>i.Gdl,getResolvedLookupValue:()=>i.U6P,getResolvedLookupsForFacet:()=>i.OwB,getRestrictedObjectsHierarchy:()=>i.hTh,getRoleLabel:()=>i.xqc,getRolesForEntityType:()=>i.JvE,getRootFieldName:()=>i.i29,getRulesConfig:()=>i.dzT,getSavedSearch:()=>i.uPS,getSavedSearches:()=>i.cZV,getSearchGroupAttributeEntityTypeUri:()=>i.n3B,getSearchGroupAttributeLabel:()=>i.e6O,getSearchLink:()=>i.s7j,getSearchLinkState:()=>i.j$Q,getSourceColor:()=>i.kW2,getSourceSystemLabel:()=>i.tH7,getSpecialAttrTypeByFieldName:()=>i.Yxg,getStartObjectTypeUri:()=>i.MaZ,getStartObjectUri:()=>i.nqN,getSuitableEntityTypeUrisForRelationTypes:()=>i.jWj,getSurvivorshipStrategy:()=>i.o_J,getTagLink:()=>i.hgZ,getTaskById:()=>i.yW4,getTasksForEntity:()=>i.uT0,getTasksForTenant:()=>i.C82,getTenantName:()=>i.u9Z,getTotalFromDataTenant:()=>i.J$m,getTotals:()=>i.j_Q,getTotalsForQuery:()=>i.OaI,getTransitiveMatchRules:()=>i.wB1,getTransitiveMatches:()=>i.SP6,getTransitiveMatchesForEntity:()=>i.ZYr,getTree:()=>i.IMU,getUIConfiguration:()=>i.FoU,getUnresolvedLookupsList:()=>i.DVz,getUnresolvedLookupsListFromSearchGroups:()=>i.mxe,getUrisForSaving:()=>i.FHr,getUserPreference:()=>i.D1g,getValidatedSortField:()=>i.VO3,getValidatedSortOrder:()=>i.de5,gif2Url:()=>i.Uw1,hasAttributeDescendantsWithErrors:()=>i.J6q,hasDependentLookupAttributes:()=>i.XCe,hasMatchRulesWithoutML:()=>i.Ir,hasMlMatchRule:()=>i.XQO,hasNonImportedRelations:()=>i.QXb,ignoreAttribute:()=>i.P8_,ignoreSuggestedRelation:()=>i.iiD,importDTConnections:()=>i.MOC,importEntityFromDataTenant:()=>i.WF,inOutRelationsDeduplicator:()=>i.xE1,initDependentLookups:()=>i.idW,insertDefaultImageByAttrUri:()=>i.YL3,isActiveObject:()=>i.Fn9,isActivenessAttrType:()=>i.j2U,isAllowedReferencedSubAttribute:()=>i.MpE,isAnalyticAttribute:()=>i.kQw,isAndOperator:()=>i.mfm,isAttributeSearchUri:()=>i.vZp,isAttributeTypeInDependentLookups:()=>i.E8K,isAttributeValueLink:()=>i.VSb,isAutoGeneratedAttribute:()=>i.vr_,isAutopopulationEnabled:()=>i.Vmh,isAvailableAttributeTypeForProfile:()=>i.FgW,isAvailableEntityType:()=>i.oDv,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,isBooleanType:()=>i.T6Y,isCompatibleFilters:()=>i._26,isComplexAttribute:()=>i.YkM,isCompositeFilterOption:()=>i.J6y,isCountFilterOption:()=>i.njU,isCreatableEntityType:()=>i.TBP,isCriticalError:()=>i.IT0,isCrosswalkDisabled:()=>i.x_,isDataTenantEntity:()=>i.biM,isDataTenantEntityUri:()=>i.TMl,isDateFilterOption:()=>i.Vkd,isDateRangeFacet:()=>i.WiY,isDateRangeFilterOption:()=>i._zi,isDateRangeValue:()=>i.J6D,isDateType:()=>i.Lt4,isDependentLookupAttrType:()=>i.QEi,isEditMode:()=>i.whI,isEditableMode:()=>i.KIu,isEmail:()=>i.JhM,isEmailType:()=>i.C_0,isEmptySearchGroup:()=>i.qIF,isEmptyValue:()=>i.O27,isEntityImportedToCT:()=>i.aBi,isEntitySpecialAttrType:()=>i.xOX,isEntityTypeUri:()=>i.EdS,isEntityUri:()=>i.WgC,isEnumAttrType:()=>i.eEv,isFileFilterOption:()=>i.A4t,isFirstLevelAttributeUri:()=>i.YOQ,isFloatingType:()=>i.Wos,isFreemiumAdmin:()=>i.jWr,isImage:()=>i.Or$,isInHierarchy:()=>i.lhE,isLookupAttrType:()=>i.CwH,isMatchRuleAttrType:()=>i.pzC,isMultiValueOption:()=>i.ymH,isNested:()=>i.QZu,isNumericRangeFacet:()=>i.rYH,isNumericType:()=>i.FVt,isObject:()=>i.Kn2,isOrOperator:()=>i.jgw,isOv:()=>i.OXP,isRDMLookupAttrType:()=>i.lS4,isRangeFacet:()=>i.g5f,isRangeFilterOption:()=>i.fp6,isReadableAttribute:()=>i.Uty,isReference:()=>i.YkG,isRelationAttrType:()=>i.xdS,isRelationTypeUri:()=>i.$NE,isRelationUri:()=>i.bC9,isReltioCrosswalk:()=>i.KVV,isRequired:()=>i.q9e,isResolvedLookupCode:()=>i.iIf,isRoleAttrType:()=>i.ian,isSSNType:()=>i.m6e,isSourceSystemAttrType:()=>i.OFd,isSpecialAttribute:()=>i.kqr,isSuggestMode:()=>i.fnZ,isTagAttrType:()=>i.VFZ,isTempUri:()=>i.ZiX,isTimestampBasedType:()=>i.j5n,isToday:()=>i.zkt,isTransitiveMatch:()=>i.Pcm,isTypeAttrType:()=>i.QDV,isTypeFacet:()=>i.M5u,isTypeSearchGroupAttribute:()=>i.laD,isTypeaheadAttrType:()=>i.mtq,isUnresolvedLookupCode:()=>i.CtB,isUrl:()=>i.CBv,isUrlType:()=>i.I0t,isValidRelationToAdd:()=>i.u1G,isValidSearchGroup:()=>i.gk1,isValidSearchGroupAttribute:()=>i.Bgb,isViewMode:()=>i.uzs,joinFilterStrings:()=>i.v0l,loadMetadata:()=>i.Zqp,localizeMetadata:()=>i.j0k,makeAttrTypeUri:()=>i.tCm,makeCompositeFilterOption:()=>i.gmx,mapFilterValue:()=>i.mOr,mapSearchTypeToFieldName:()=>i.TwZ,mapTree:()=>i.GyU,markAsNotMatch:()=>i.zGm,markDataTenantEntityAsNotMatch:()=>i.bMg,markEdited:()=>i.EyD,markIgnored:()=>i.FQA,markMixedEntitiesAsNotMatches:()=>i.fZN,markNew:()=>i.xsF,markRemoved:()=>i.Lxg,markSavedSearchAsFavorite:()=>i.O3l,markSavedSearchAsPublic:()=>i.Wni,marksJSONReplacer:()=>i.wRx,mergeCustomerTenantEntityWithMixedEntities:()=>i.OxG,mergeDataTenantEntity:()=>i.uJQ,mergeLookupsLists:()=>i.qWg,mergeSameEntities:()=>i.i96,omitMarks:()=>i.zhn,operatorOptions:()=>i.G8q,orderByArrayComparator:()=>i.A9Y,parseAdvancedSearch:()=>i.Y5F,parseBoolean:()=>i.gxP,parseCompositeFilterOption:()=>i.c$P,parseCompositeFilters:()=>i.M7o,parseMetadata:()=>i.BBN,parseTimestamp:()=>i.ZBU,partitionByMlMatch:()=>i.UkJ,pinAttribute:()=>i.xkv,populateDependentLookupsFromEntity:()=>i.z$M,postGraphExport:()=>i.KAm,prepareAttrDiff:()=>i.lCl,prepareEntityForValidation:()=>i.rkF,processDefinitions:()=>i.IU6,promiseAllSettled:()=>i.RGr,promisifyCallback:()=>i.aYu,promisifyProvider:()=>i.ije,rateRelation:()=>i.Buf,rawRequest:()=>i.YLu,referencedEntityAttributeTypesSelectionStrategy:()=>i.ct9,reinstateDataTenantEntityMatch:()=>i.XkY,reinstateMatch:()=>i.T5R,reinstateMixedEntitiesMatches:()=>i.uQS,relationEditorAttributeTypesSelectionStrategy:()=>i.wcJ,removeAttribute:()=>i.d$I,removeDtssPrefixFromEntityUri:()=>i.rSp,removeEntity:()=>i.Sx,removeEntityAttribute:()=>i.Ilm,removeEntitySpecialAttribute:()=>i.Ki6,removeRelation:()=>i.VGk,removeUnsupportedLayoutItems:()=>i.sFD,removeValuesFromDependentLookups:()=>i.eWN,replacePlaceholdersInQuery:()=>i.dWE,replaceTempUriInCommands:()=>i.Lkd,replaceTemporaryRefEntityURI:()=>i.aDL,requestForDataTenant:()=>i.yaA,resetUserPreference:()=>i.lOh,resolve:()=>i.DBr,resolveLookupsList:()=>i.hK$,runTaskAction:()=>i.TZ_,sanitizeTypesInSearchGroups:()=>i.CMB,saveEntity:()=>i.FU8,saveTemporaryEntities:()=>i.J$p,saveTemporaryEntity:()=>i.b5s,searchUriToAttrUri:()=>i.h2W,sendRequestFromCustomSandbox:()=>i.SL_,sendWorkflowRequest:()=>i.oUH,setAsMatch:()=>i.ck9,setRequestProvider:()=>i.Xs0,setUserPreference:()=>i.u7I,shiftDownOperators:()=>i.rxg,shiftUpOperators:()=>i.bji,shouldUseValidationService:()=>i.oCZ,sortTreeChildren:()=>i.MjG,startProcessFromQuery:()=>i.FuV,startProcessInstance:()=>i.$ju,startProcessInstanceByPairs:()=>i.t6d,svg2Url:()=>i.m5F,syncAttributeTypeWithDependentLookups:()=>i.sx,theme:()=>i.rSc,typeAheadSearch:()=>i.U10,unmergeContributor:()=>i.L8n,unsubscribeEntityFromDataTenantEntity:()=>i.R9X,updateActivenessAttribute:()=>i.rj2,updateAssigneeForTask:()=>i._C4,updateAttribute:()=>i.tCj,updateComment:()=>i.uAg,updateConnectionEntityLabel:()=>i.wx9,updateDueDateForTask:()=>i.KF3,updatePriorityForTask:()=>i.ax9,updateRelation:()=>i.HH7,updateSavedSearch:()=>i._6y,uploadFileForSearch:()=>i.AJo,uploadImage:()=>i.Ixr,utils:()=>i.P6Y,validateConnection:()=>i.Bd_,validateConnectionRelation:()=>i.xkB,validateEntity:()=>i.W41,validateEntityChanges:()=>i.WkI,validateEntityLocally:()=>i.sSE,validateFilter:()=>i.GMd,validateHierarchyConnection:()=>i.Bxm,validateRequiredAttributes:()=>i.FVh,withDtssPotentialItems:()=>i.U_T,wrapInArray:()=>i.FTe,wrapInArrayIfNeeded:()=>i.VGB,wrapInDoubleQuotes:()=>i.Wfe,wrapInQuotes:()=>i.Ls5,wrapQueryWithBrackets:()=>i.$bd});var i=r(22241)}}]);
|
package/3319.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3319],{50548:(e,t,n)=>{n.d(t,{l:()=>o});var a=n(24328),l=n.n(a);function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r.apply(this,arguments)}const o=(e,t,n)=>{if(e&&t){const o=(0,a.memo)(n);return n=>l().createElement(e.Consumer,null,(e=>l().createElement(o,r({},n,t(e,n)))))}return n}},30488:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(38748),l=n(50548);const r=e=>t=>(0,l.l)(a.X,e,t)},42011:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(13980),l=n.n(a),r=n(24328),o=n.n(r),i=n(71153),s=n.n(i),c=n(28899),u=n(87918),p=n.n(u),d=n(79573),m=n(17440);const b=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){g(e,t,n[t])}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f=e=>{let{classes:t={},count:n,rowsPerPageOptions:a,page:l,onChangePage:i,rowsPerPage:u,onChangeRowsPerPage:g,basicTableRef:f,labelRowsPerPage:y}=e;const v=b(),x=(0,r.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],f)()}),[f]),C=(0,r.useCallback)((e=>{i(e),x()}),[i,x]),E=(0,r.useCallback)((e=>{i(0),g(e),x()}),[i,g,x]);return o().createElement(c.Z,{classes:h({},t,{root:s()(v.pagination,t.root),select:s()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:y||p().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:a}=e;return p().text("${fromRow}-${toRow} of ${countRows}",{fromRow:p().number(t,"0,0"),toRow:p().number(n,"0,0"),countRows:p().number(a,"0,0")})},count:n,rowsPerPageOptions:a,page:l,onChangePage:(0,m.pipe)((0,m.nthArg)(1),C),rowsPerPage:u,onChangeRowsPerPage:(0,m.pipe)(d.NA,E)})};f.propTypes={classes:l().object,rowsPerPageOptions:l().arrayOf(l().number),count:l().number,page:l().number,onChangePage:l().func,rowsPerPage:l().number,onChangeRowsPerPage:l().func,basicTableRef:l().shape({current:l().object}),labelRowsPerPage:l().string};const y=o().memo(f)},22118:(e,t,n)=>{n.d(t,{Z:()=>b});var a=n(24328),l=n.n(a),r=n(87918),o=n.n(r),i=n(77277),s=n(8629),c=n(49429),u=n(38724),p=n(55999),d=n(79249);const m=(0,n(79692).Z)({paper:{minHeight:"180px"},title:{padding:"16px 16px 10px 16px",fontSize:"20px",fontWeight:500,letterSpacing:"0.25px",lineHeight:"24px"},content:{padding:"0 16px"},contentText:{marginBottom:0,fontSize:"16px",letterSpacing:"0.15px",lineHeight:"24px"},actionButtons:{display:"flex",paddingTop:"4px",fontSize:"14px",fontWeight:500,letterSpacing:0,lineHeight:"16px","& > div":{marginLeft:"auto"}},discardButton:{marginRight:"8px"}}),b=e=>{let{open:t,title:n,content:a,onCancel:r,cancelCaption:b=o().text("Cancel"),onDiscard:h,discardCaption:g="",onSave:f,saveCaption:y=o().text("Save"),disabledSave:v=!1}=e;const x=m();return l().createElement(s.Z,{open:t,onClose:r,classes:{paperScrollPaper:x.paper}},l().createElement(d.Z,{classes:{root:x.title}},n),l().createElement(u.Z,{classes:{root:x.content}},l().createElement(p.Z,{classes:{root:x.contentText}},a)),l().createElement(c.Z,{className:x.actionButtons,disableSpacing:!0},r&&l().createElement(i.Z,{onClick:r},b),l().createElement("div",null,h&&l().createElement(i.Z,{onClick:h,classes:{root:x.discardButton}},g),l().createElement(i.Z,{onClick:f,color:"primary",disabled:v,autoFocus:!0},y))))}},20146:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(24328),l=n.n(a),r=n(52730),o=n(71153),i=n.n(o),s=n(90436),c=n(22241),u=n(35674);const p=(0,n(79692).Z)({"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",display:"inline-flex",marginRight:"12px",borderRadius:"2px"},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",display:"inline-flex",marginRight:"16px"}}),d=e=>{let{entity:t,className:n,size:a="small"}=e;const o=p(),d=(0,r.useSelector)(u.ZP.selectors.getMetadata),m=t.type,b=(0,c.nt9)(d,m)||{},h=(0,c.VD3)(d,b,"typeColor")||c.rSc.palette.primary.main;return l().createElement(s.Z,{style:{backgroundColor:h,color:c.P6Y.Colors.getColor(h)?"#FFFFFF":"#212121"},className:i()(o[`entityType-${a}`],n),component:"div"},(0,c.jFi)(d,t))}},33109:(e,t,n)=>{n.d(t,{Z:()=>C});var a=n(24328),l=n.n(a),r=n(13980),o=n.n(r),i=n(71153),s=n.n(i),c=n(52730),u=n(17440),p=n(90436),d=n(80030),m=n(87918),b=n.n(m),h=n(22241),g=n(35674),f=n(37573),y=n(20146);const v=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),x=e=>{let{className:t,entity:n,children:r,classes:o}=e;const i=v({classes:o}),m=(0,c.useSelector)(g.ZP.selectors.getMetadata),x=(0,a.useCallback)((()=>{navigator.clipboard.writeText((0,h.BTI)(n))}),[n]);if((0,u.isNil)(n))return null;const C=(0,h.idV)(n.label),E=n.secondaryLabel,w=(0,h.ptG)(m,n),S=(0,h.Fn9)(n),P=n.uri,T=(0,h.BTI)(n);return l().createElement("div",{className:s()(i.profileBandWrapper,t)},l().createElement("div",{className:s()(i.profileBand,{[i.inactive]:!S}),"data-entity-uri":P},l().createElement(f.Z,{key:n.uri,entity:n,avatarClassName:i.profileIcon,imageClassName:i.imageProfileIcon}),l().createElement("div",{className:i.profileInfo},l().createElement("div",null,l().createElement(p.Z,{variant:"h6",className:i.label},C),E&&l().createElement(p.Z,{variant:"subtitle2",className:i.secondaryLabel},E),w&&l().createElement(p.Z,{variant:"subtitle1",className:i.businessCard},w)),l().createElement("div",{className:i.specialInfo},l().createElement("div",{className:i.entityType},l().createElement(y.Z,{entity:n,size:"medium",className:i.badge}),!(0,h.ZiX)(P)&&l().createElement(d.ZP,{title:b().text("Copy to clipboard")},l().createElement(p.Z,{display:"inline",variant:"body2",className:i.entityId,onClick:x},b().text("Entity ID"),": ",T))))),r&&l().createElement("div",null,r)))};x.propTypes={className:o().string,entity:o().object,children:o().node,classes:o().object};const C=x},76368:(e,t,n)=>{n.d(t,{a:()=>k});var a=n(24328),l=n.n(a),r=n(87918),o=n.n(r),i=n(86689),s=n(78223),c=n(39475),u=n(67766),p=n(42767),d=n(22241);const m=(0,n(79692).Z)({container:{display:"flex",alignItems:"center"},link:{whiteSpace:"nowrap",marginRight:"9px"}}),b=(0,s.Z)(i.Z),h=e=>{let{total:t=0,onPrev:n,onNext:a,onSearchResultsClick:r,isPrevDisabled:i,isNextDisabled:s}=e;const h=m();return l().createElement("div",{className:h.container},l().createElement(b,{className:h.link,component:"button",variant:"caption",onClick:r,underline:"none",tooltipTitle:o().text("Go to search results")},(0,d.k7L)(t,1e6)," ",1===t?o().text("Search result"):o().text("Search results")),l().createElement(c.k,{size:"L",icon:u.Z,tooltipTitle:o().text("Go to previous profile"),onClick:n,disabled:i,showForDisabled:!0}),l().createElement(c.k,{size:"L",icon:p.Z,tooltipTitle:o().text("Go to next profile"),onClick:a,disabled:s,showForDisabled:!0}))};var g=n(52730),f=n(35674),y=n(17440),v=n(12212),x=n(29627);function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){E(e,t,n[t])}))}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w{constructor(e){var t=this;let{data:{query:n,sortField:a,sortOrder:l},tenant:r,searchTenant:o,apiPath:i,dtssPath:s,globalSearchRequestOptions:c}=e;this.query=void 0,this.sortField=void 0,this.sortOrder=void 0,this.tenant=void 0,this.searchTenant=void 0,this.apiPath=void 0,this.dtssPath=void 0,this.globalSearchRequestOptions=void 0,this.isDT=()=>this.tenant!==this.searchTenant,this.getQueryFilter=()=>({rawFilter:this.query}),this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[t.getQueryFilter(),...e],l=C({},t.globalSearchRequestOptions,{sort:t.sortField,order:t.sortOrder,select:"uri,label,type",scoreEnabled:!1},n);return t.isDT()?(0,d.uqV)({filters:a,options:l,customerTenant:t.tenant,dataTenant:t.searchTenant,dtssPath:t.dtssPath}):(0,d.ZOr)(a,l)},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"uri",values:[e]}],{offset:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{offset:t,max:e}),this.requestTotal=()=>{const e=[this.getQueryFilter()],t=this.globalSearchRequestOptions;return(this.isDT()?(0,d.J$m)({filters:e,options:t,customerTenant:this.tenant,dataTenant:this.searchTenant,dtssPath:this.dtssPath}):(0,d.j_Q)(e,t)).then((e=>e.total))},this.query=n,this.sortField=a,this.sortOrder=l,this.tenant=r,this.searchTenant=o,this.apiPath=i,this.dtssPath=s,this.globalSearchRequestOptions=c}}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){P(e,t,n[t])}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class T{constructor(e){var t=this;let{data:n,tenant:a,apiPath:l}=e;this.searchBody=void 0,this.tenant=void 0,this.apiPath=void 0,this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[{rawFilter:t.searchBody.filter},...e];return(0,d.P2h)({apiPath:t.apiPath,tenant:t.tenant,searchBody:S({},t.searchBody,{filter:e.length?(0,d.Uqd)()(a):t.searchBody.filter}),options:n})},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"id",values:[(0,d.BTI)({uri:e})]}],{from:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{from:t,max:e}),this.requestTotal=()=>(0,d.dED)({apiPath:this.apiPath,tenant:this.tenant,searchBody:this.searchBody}).then((e=>e.count)),this.searchBody=n,this.tenant=a,this.apiPath=l}}const O=(e,t)=>(0,y.pipe)((0,y.map)((0,y.prop)("uri")),(0,y.reject)((e=>t.includes(e))))(e),k=()=>{const{total:e,onPrev:t,onNext:n,onSearchResultsClick:r,isPrevDisabled:o,isNextDisabled:i}=(()=>{const e=(0,x._)(),t=(0,x._)(),n=(0,x._)(),{uri:l,index:r,total:o,tenant:i,cache:s}=(0,g.useSelector)(f.ZP.selectors.getSearchNavigationData)||{},{type:c,data:u}=(0,g.useSelector)(f.ZP.selectors.getSearchProviderData)||{},p=(0,g.useSelector)(f.ZP.selectors.getTenant),m=(0,g.useSelector)(f.ZP.selectors.getApiPath),b=(0,g.useSelector)(f.ZP.selectors.getDtssPath),h=(0,g.useSelector)((e=>f.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),y=(0,a.useContext)(v.m),C=(0,g.useDispatch)(),[E,S]=(0,a.useState)(!1),P=(0,a.useMemo)((()=>((e,t)=>{switch(e){case"search":return new w(t);case"graphsearch":return new T(t)}})(c,{data:u,tenant:p,searchTenant:i,apiPath:m,dtssPath:b,globalSearchRequestOptions:h})),[c,u,p,i,m,b,h]),k=(0,a.useCallback)((e=>{C(f.yC.actions.updateSearchNavigationDataFields(e))}),[C]),R=(0,a.useCallback)((e=>{const t=p!==i?(0,d.wwR)({uri:e,dataTenant:i}):e;C(f.ui.actions.openEntity({uri:t,viewId:y,source:"navigation"}))}),[C,y,p,i]),Z=(0,a.useCallback)((()=>{C(f.ui.actions.openPerspective({perspectiveId:c,viewId:y}))}),[C,c,y]);(0,a.useEffect)((()=>{r>=o?k({index:o-1}):r<0&&k({index:0})}),[o,r,k]);const D=(0,a.useCallback)(((e,a,l)=>{S(!0),t(P.requestTotal()).then((e=>k({total:e})));const r=l+1;return n(P.requestEntities(15,r)).then((t=>{if(t){if(t.length){const n=O(t,e);if(n.length>0)return k({cache:e.concat(n),uri:n[0],index:r+t.length-n.length}),void R(n[0]);if(l+t.length<a-1)return D(e,a-t.length,l+t.length)}k({index:r})}})).finally((()=>{S(!1)}))}),[P,k,R]),N=(0,a.useCallback)(((e,a)=>{S(!0),t(P.requestTotal()).then((e=>k({total:e})));const l=a-1,r=Math.max(0,a-15),o=15+Math.min(0,a-15);return n(P.requestEntities(o,r)).then((t=>{if(t){if(t.length){const n=O(t,e);if(n.length>0)return k({cache:n.concat(e),uri:n[n.length-1],index:l-(t.length-n.length)}),void R(n[n.length-1]);if(a-t.length>0)return N(e,a-t.length)}k({index:0})}})).finally((()=>{S(!1)}))}),[P,k,R]),j=(0,a.useCallback)(((t,n,a,l)=>{if(n<t.length){const r=t[n];return S(!0),e(P.checkEntity(r)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),j(e,n,a-1,l)}k({index:l+1,uri:r,cache:t,total:a}),R(r)})).finally((()=>{S(!1)}))}if(!(l>=a-1))return D(t,a,l);k({cache:t,total:a,index:a-1})}),[P,k,R,D]),I=(0,a.useCallback)(((t,n,a,l)=>{if(n>-1){const r=t[n];return S(!0),e(P.checkEntity(r)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),I(e,n-1,a-1,l-1)}k({index:l-1,uri:r,cache:t,total:a}),R(r)})).finally((()=>{S(!1)}))}if(!(l<=0))return N(t,l);k({index:0,cache:t,total:a})}),[P,k,R,N]),A=(0,a.useCallback)((()=>{if(s&&l){const e=s.indexOf(l)-1;I(s,e,o,r)}}),[I,s,l,o,r]),F=(0,a.useCallback)((()=>{if(s&&l){const e=s.indexOf(l)+1;j(s,e,o,r)}}),[j,s,l,o,r]);return{total:o,onPrev:A,onNext:F,onSearchResultsClick:Z,isPrevDisabled:E||r<=0,isNextDisabled:E||r>=o-1}})();return(()=>{const{cache:e}=(0,g.useSelector)(f.ZP.selectors.getSearchNavigationData)||{},t=(0,g.useSelector)(f.ZP.selectors.getMode),n=(0,g.useSelector)(f.ZP.selectors.getEntity);return(0,d.uzs)(t)&&(null==e?void 0:e.includes(null==n?void 0:n.uri))})()?l().createElement(h,{total:e,onPrev:t,onNext:n,onSearchResultsClick:r,isPrevDisabled:o,isNextDisabled:i}):null}},36852:(e,t,n)=>{n.d(t,{C:()=>d});var a=n(24328),l=n(52730),r=n(17440),o=n(22241),i=n(35674);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=[],p=e=>console.error("Collaboration error",e),d=e=>{let{objectIds:t=u,objectTypes:n,enabled:c=!0}=e;const d=(0,l.useSelector)(i.ZP.selectors.getEntity),m=(0,l.useSelector)(i.ZP.selectors.getTenant),b=(0,l.useSelector)(i.ZP.selectors.getCollaborationPath),h=(0,l.useSelector)(i.ZP.selectors.isCollaborationEnabled)&&c,[g,f]=(0,a.useState)(null),[y,v]=(0,a.useState)([]),[x,C]=(0,a.useState)(null),[E,w]=(0,a.useState)(null),[S,P]=(0,a.useState)(!1),[T,O]=(0,a.useState)(!1),k=(0,a.useCallback)((e=>{C((t=>s({},t,e)))}),[]),R=null==d?void 0:d.uri,Z=(0,a.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h&&R&&!(0,o.ZiX)(R)){const n=e=>{console.warn("Collaboration error",e),C(null)};(0,r.pipe)(o.$oF,(0,r.andThen)((0,r.map)((0,r.props)(["objectId","comments"]))),(0,r.andThen)(r.fromPairs),(0,r.andThen)(t?C:k),(0,r.otherwise)(n))({uris:e,tenant:m,collaborationPath:b})}else C(null)}),[k,b,R,h,m]);(0,a.useEffect)((()=>{Z(t,!0)}),[t,Z]);const D=(0,a.useCallback)(((e,t)=>{(0,o.liG)({collaborationPath:b,tenant:m,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:a}=e;v((e=>t?(0,r.uniqBy)((0,r.prop)("commentId"),[...e,...n]):n)),f(a)})).catch(p)}),[b,m]),N=(0,a.useCallback)((e=>{O(!0),(0,o.d7q)({collaborationPath:b,tenant:m,commentId:e}).then(w).catch(p).finally((()=>O(!1)))}),[b,m]),j=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:l,relatedObjectUris:r}=e;P(!0);const i={objectId:l,content:t,relatedObjectUris:r,objectType:a,visibility:"public",namedUsers:n,permanentLink:""};return(0,o.Yrx)({collaborationPath:b,tenant:m,data:i}).then((e=>{let[t]=e;return((e,t)=>{w(e),C((n=>s({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),v((t=>[e,...t]))})(t,l)})).catch(p).finally((()=>P(!1)))}),[b,m]),I=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:l,relatedObjectUris:i,commentId:c,replies:u}=e;P(!0);const d={objectId:l,content:t,relatedObjectUris:i,objectType:a,visibility:"public",namedUsers:n,permanentLink:"",commentId:c,replies:u};return(0,o.uAg)({collaborationPath:b,tenant:m,data:d}).then((e=>(e=>{w(e),v((0,r.map)((0,r.when)((0,r.propEq)("commentId",e.commentId),(0,r.always)(e))))})(s({},e,{replies:u})))).catch(p).finally((()=>P(!1)))}),[b,m]),A=(0,a.useCallback)((e=>{let{uri:t,commentId:n}=e;P(!0),(0,o.YFy)({collaborationPath:b,tenant:m,commentId:n}).then((()=>((e,t)=>{w(null),C((n=>{const a=n[t]||[];return s({},n,{[t]:a.filter((t=>t.commentId!==e))})})),v((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(p).finally((()=>P(!1)))}),[b,m]),F=(0,a.useCallback)(((e,t,n)=>{const a="resolve"===e.action?"resolved":"open";w("resolved"===a?e=>{if(e)return null}:t=>{if(t)return s({},t,{replies:[...t.replies,e]})}),C((e=>s({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?s({},e,{status:a,replies:e.replies+1}):e))}))),v((t=>t.map((t=>t.commentId===n?s({},t,{status:a,replies:[...t.replies,e]}):t))))}),[]),L=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,action:l,uri:r}=e;P(!0);const i={content:t,action:l,namedUsers:n};return(0,o.PP2)({collaborationPath:b,tenant:m,commentId:a,data:i}).then((e=>{let[t]=e;return F(t,r,a)})).catch(p).finally((()=>P(!1)))}),[b,m,F]),B=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;L({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[L]),z=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;L({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[L]);return{clearCurrentComment:(0,a.useCallback)((()=>{w(null)}),[]),comments:y,commentsMap:x,createComment:j,createReply:L,currentComment:E,deleteComment:A,editComment:I,getComment:N,getComments:D,getCommentsCount:Z,loading:T,objectTypes:n,pageToken:g,reOpenThread:z,resolveThread:B,sending:S}}},80225:(e,t,n)=>{n.d(t,{a:()=>m});var a=n(24328),l=n(52730),r=n(17440),o=n(35674),i=n(22241),s=n(29627),c=n(90690);function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=(0,r.when)(r.identity,(0,r.pipe)(i.VGB,r.length,(0,r.times)((e=>e+1)))),m=e=>{let{sorting:t,filter:n,page:p,rowsPerPage:m,config:b,entity:h,relationActivityFilter:g,mode:f}=e;const[y,v]=(0,a.useState)(!1),x=(0,l.useDispatch)(),C=(0,l.useSelector)(o.ZP.selectors.getTenant),E=(0,l.useSelector)(o.ZP.selectors.getDtssPath),{activityFilter:w,globalFilter:S}=(0,l.useSelector)(o.ZP.selectors.getGlobalSearchRequestOptions)||{},P=(0,s._)(),T=b.suggested,O=(0,a.useCallback)((()=>{if(null!=h&&h.uri){const e=u({},b.content,{sortBy:null==t?void 0:t.field,order:null==t?void 0:t.order,returnDates:!0,returnObjects:!0,activeness:{relation:g||i.Ng6.ALL,entity:w},max:m,offset:p*m,filter:(0,i.vyX)(S,n)||void 0,suggested:d(T)}),a=[e].concat((0,r.ifElse)(r.identity,(0,r.pipe)(i.VGB,(t=>t.map(((t,n)=>u({},t,{id:e.suggested[n]}))))),(0,r.always)([]))(T)),l=(0,r.cond)([[(0,r.pipe)((0,r.prop)("uri"),i.ZiX),()=>Promise.resolve([{total:0}])],[i.biM,e=>(0,i.n_1)({entityUri:e.uri,configs:a,customerTenant:C,dataTenant:e.dataTenant,dtssPath:E})],[r.T,e=>(0,i.N6e)(e.uri,a)]]);v(!0),P(l(h)).then((e=>{let[{connections:t,total:n}]=e;x(o.N5.relations.actions.relationsLoaded({id:b.id,connections:t,total:n}))})).finally((()=>{v(!1)}))}}),[w,b,x,E,null==h?void 0:h.uri,null==h?void 0:h.dataTenant,n,S,p,g,m,P,t,C]),k=(0,a.useRef)(!1);k.current=!1,(0,a.useEffect)((()=>{k.current=!0,O()}),[O]);const R=(0,c.D)(f);return(0,a.useEffect)((()=>{f!==i.ARY.Viewing||k.current||R===f||(k.current=!0,O())}),[O,f,R]),{isLoading:y,reload:O}}},10:(e,t,n)=>{n.d(t,{U:()=>i});var a=n(24328),l=n(52730),r=n(22241),o=n(35674);const i=()=>{const[e,t]=(0,a.useState)([]),n=(0,l.useSelector)(o.ZP.selectors.getTenant),i=(0,l.useSelector)(o.ZP.selectors.getServicesPath),s=e=>{console.warn("Users error",e),t([])};return(0,a.useEffect)((()=>{(0,r.kz_)({tenant:n,servicesPath:i}).then((e=>{let{array:n}=e;return t(n)})).catch(s)}),[n,i]),e}},98984:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Yt});var a=n(24328),l=n.n(a),r=n(52730),o=n(8598),i=n(36138),s=n(44443),c=n(22664),u=n(12212),p=n(97333),d=n(17440),m=n(35674),b=n(22241),h=n(10),g=n(55962),f=n(80225),y=n(36852),v=n(89575),x=n(58142),C=n(63929),E=n(33109),w=n(76368),S=n(87378),P=n(42011);function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){O(e,t,n[t])}))}return e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k={relationsTable:{},attributesTable:{}};var R=n(75975),Z=n(79573),D=n(17569),N=n(87918),j=n.n(N);const I="relation.type",A="relation.attributes",F=[{id:"entity.label",get label(){return j().text("Profile")},dataTypeDefinition:{type:b.oS0.TYPE_STRING},hideable:!1,filterable:!1,initialWidth:280,autoResize:!1},{id:I,get label(){return j().text("Type")}},{id:"relation.label",get label(){return j().text("Directional Label")},filterable:!1,dataTypeDefinition:{type:b.oS0.TYPE_STRING}},{id:"relation.activeness.startDate",get label(){return j().text("Start Date")},dataTypeDefinition:{type:b.oS0.TYPE_ACTIVENESS_DATE}},{id:"relation.activeness.endDate",get label(){return j().text("End Date")},dataTypeDefinition:{type:b.oS0.TYPE_ACTIVENESS_DATE}},{id:A,get label(){return j().text("Attributes")},sortable:!1,filterable:!1,maxAttrsToShow:7}],L=(0,d.pluck)("id",F),B=[I,A],z=[20,50,100],U=(0,d.pipe)(b.Tde,(0,d.concat)("relation.")),M=(0,d.pipe)((0,d.map)((e=>({id:U(e.uri),label:e.label,dataTypeDefinition:(0,b.PFL)(e)}))),(0,d.uniqBy)((0,d.prop)("id")));function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){V(e,t,n[t])}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _="CHANGE_RELATION_TYPE",W="APPLY_SAVED_STATE",H="SAVE_CURRENT_STATE",G=q({},R.ZP.actions,{changeRelationType:(0,Z.zD)(_),applySavedState:(0,Z.zD)(W),saveCurrentState:(0,Z.zD)(H)}),Y=(0,d.assoc)("page",0),$=e=>(0,d.pipe)((0,d.prop)("visibleColumns"),(0,d.ifElse)((0,d.always)(e.currentRelationType),(0,d.without)(B),(0,d.concat)(B)),(0,d.intersection)(L))(e),X=e=>(0,d.path)(["visibleColumnsForRelationTypes",`${e.currentRelationType}`],e),K=e=>{const t=(0,d.either)(X,$)(e);return R.ZP.changeVisibleColumns(e,t)},Q=e=>{const{currentRelationType:t,visibleColumns:n}=e;return(0,d.evolve)({visibleColumnsForRelationTypes:(0,d.assoc)(`${t}`,n)},e)},J=(0,d.pipe)(Q,(0,d.pick)(["currentRelationType","visibleColumnsForRelationTypes","filters","sorting"]));var ee=n(9377),te=n(90436),ne=n(17998),ae=n(55310),le=n(79935),re=n(33903),oe=n(54238),ie=n(1128),se=n(79692);const ce=(0,se.Z)({select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}}),ue=e=>{let{value:t,onChange:n,relationTypes:r,className:o}=e;const i=ce(),s=(0,a.useMemo)((()=>(0,d.pipe)((0,d.map)((e=>{let{label:t,uri:n}=e;return{label:t,value:n}})),(0,d.concat)([{value:"",label:j().text("All types")}]))(r)),[r]);return l().createElement("div",{className:o},l().createElement(ie.Z,{displayEmpty:!0,disableUnderline:!0,classes:{select:i.select},TextFieldProps:{classes:{root:i.textField}},MenuProps:{classes:{list:i.selectMenu}},value:t||"",entries:s,onChange:e=>n(e||null)}))},pe=(0,se.Z)((e=>({header:{height:"56px",boxSizing:"border-box",paddingRight:"10px"},title:{fontSize:"16px"},total:{fontSize:"14px",color:e.palette.text.secondary,flexShrink:0,marginRight:"5px"},relationTypeSelector:{margin:"0px 10px 0 30px",overflow:"hidden"}}))),de=(0,a.memo)((e=>{let{total:t,filteringEnabled:n,onToggleFilters:a,columnsData:r,selectedColumns:o,currentRelationType:i,onRelationTypeChange:s,relationTypes:c,onChangeColumns:u}=e;const p=pe();return l().createElement(ne.Z,{title:j().text("Relationships"),classes:{root:p.header,title:p.title}},c.length>0&&l().createElement(ue,{className:p.relationTypeSelector,value:i,onChange:s,relationTypes:c}),l().createElement(ae.Z,{height:28,margin:20}),l().createElement(te.Z,{variant:"caption",className:p.total},1===t?j().text("${count} record",{count:t}):j().text("${count} records",{count:t})),l().createElement(le.Z,null),l().createElement(re.Z,{enabled:n,onClick:a}),l().createElement(ae.Z,{height:28,margin:8}),l().createElement(oe.Z,{columnsData:r,selectedColumns:o,onChangeColumns:u}))}));var me=n(16809),be=n(66678),he=n(45108),ge=n(80030),fe=n(85103),ye=n(92332),ve=n(25843);const xe=(0,se.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%",width:"100%",fontSize:"12px",color:e.palette.text.secondary,background:"linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)), #FFFFFF"},rowCell:{fontSize:"13px",overflow:"hidden",overflowWrap:"break-word"},inactiveRowCell:{opacity:.6},defaultWrapper:{padding:"15px 25px 0 25px","&:last-child":{paddingBottom:"15px"}},entityCell:{display:"flex",alignItems:"flex-start",padding:"15px"},entityAvatar:{transform:"scale(0.5)",margin:"-10px 0 -10px -10px"},inactiveEntityAvatar:{overflow:"initial","&:after":{content:'""',position:"absolute",backgroundColor:"rgb(209, 206, 206)",border:"1px solid rgba(0, 0, 0, 1)",borderRadius:"2px",width:"12px",right:0,bottom:0,height:"12px"},"& > img":{borderRadius:"50%",overflow:"hidden"}},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontWeight:500},attributesWrapper:{padding:"15px 25px 10px 25px",color:"rgba(0,0,0,0.87)"},commentsContainer:{marginLeft:"auto"}}))),Ce=(0,ve.Z)((e=>{const t=xe();return l().createElement("div",{className:t.headCell},l().createElement(ye.default,e))}));var Ee=n(71153),we=n.n(Ee),Se=n(62901),Pe=n(42662),Te=n(18527),Oe=n(72316);const ke=e=>{let{value:{entity:t,entityType:n,relation:a},isInactiveRelation:o}=e;const i=xe(),s=(0,r.useSelector)(m.ZP.selectors.getEntityUri);return l().createElement("div",{className:we()(i.entityCell,Se.U)},l().createElement(Pe.Z,{className:we()(i.entityAvatar,{[i.inactiveEntityAvatar]:o}),entityType:n}),l().createElement(Te.Z,{value:(0,b.wwR)({uri:t.entityUri,dataTenant:t.dataTenant}),className:i.entityLabel},(0,b.idV)(t.entityLabel)),l().createElement("div",{className:i.commentsContainer,onClick:e=>e.stopPropagation()},l().createElement(Oe.Z,{uri:a.relationUri,relatedObjectUris:(0,b.wp9)(b.q7e.RELATION,{entityUri:s,connection:{relation:a,entity:t}}),objectType:b.q7e.RELATION,allowOnlyOneComment:!0})))};var Re=n(89978);const Ze=e=>{let{columnData:t,value:{attributes:n,attributeTypes:a}}=e;const r=xe();return l().createElement("div",{className:r.attributesWrapper,onClick:e=>e.stopPropagation()},l().createElement(Re.Z,{max:t.maxAttrsToShow,entity:{attributes:n},attrTypes:a,drawLines:!1}))};var De=n(67586);const Ne=e=>{let{value:t,columnData:{dataTypeDefinition:n}}=e;const a=xe();return l().createElement("div",{className:a.defaultWrapper},l().createElement(De.Z,{value:t,dataTypeDefinition:n}))};function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ie=(0,d.pipe)((0,d.split)("."),(0,d.slice)(2,1/0)),Ae=e=>{if(e.startsWith("relation.attributes")){const t=Ie(e);return t.length>1?t.slice(0,-1):null}return null},Fe=e=>{switch(e){case"entity.label":return ke;case"relation.attributes":return Ze;default:return Ne}},Le=(0,d.map)((e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){je(e,t,n[t])}))}return e}({sortable:!0,resizable:!0},e,{headCellRenderer:Ce,nestedPath:Ae(e.id),rowCellValueRenderer:Fe(e.id)}))),Be=(0,d.cond)([[(0,d.pathEq)(["columnData","id"],"relation.attributes"),e=>{let{columnData:t,cell:n}=e;const a=(0,d.pipe)((0,d.path)(["values",0,"attributes"]),d.values,d.length)(n);return a>t.maxAttrsToShow?26*t.maxAttrsToShow+49:26*a+25}],[d.T,fe.Z]]);function ze(){return ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ze.apply(this,arguments)}const Ue=e=>{let{cell:t,CellValueRenderer:n}=e,a=function(e,t){if(null==e)return{};var n,a,l=function(e,t){if(null==e)return{};var n,a,l={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,["cell","CellValueRenderer"]);const r=xe();return l().createElement("div",{className:we()(r.rowCell,{[r.inactiveRowCell]:a.isInactiveRelation})},t.values.map(((e,t)=>l().createElement(n,ze({key:t,value:e},a)))))};var Me=n(22983),qe=n(43054),Ve=n(98538),_e=n(40435),We=n(22118),He=n(12231),Ge=n(78223);const Ye=(0,se.Z)((e=>({menuItem:{minHeight:"32px",color:e.palette.text.secondary},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0,marginLeft:"16px"},buttons:{display:"flex",alignItems:"center",paddingRight:"5px"}}))),$e=(0,Ge.Z)(He.Z),Xe=(0,a.forwardRef)(((e,t)=>{let{item:n,onMenuClose:a=Z.ZT}=e;const r=Ye(),{icon:o,disabled:i,text:s,tooltip:c,onClick:u}=n;return l().createElement($e,{tooltipTitle:c,showForDisabled:!0,classes:{root:r.menuItem},onClick:e=>{a(),u(e)},disabled:i,ref:t},o,l().createElement(te.Z,{classes:{root:r.menuText}},s))}));Xe.displayName="MenuItemRenderer";const Ke=Xe,Qe=e=>{let{disableDelete:t,connection:{entity:n,relation:o},onMenuOpen:i=Z.ZT,onMenuClose:s=Z.ZT,onDelete:c}=e;const u=Ye(),p=(0,r.useSelector)(m.ZP.selectors.getMetadata),h=(0,d.pipe)((0,d.prop)("relationType"),(0,b.V3K)(p),(0,b.uGe)(b.BDP.DELETE))(o),g=!t&&h,[f,y]=(0,a.useState)(!1),v=()=>y(!1),x=[{disabled:!g,text:j().text("Delete"),icon:l().createElement(Me.Z,null),tooltip:g?null:j().text("You don't have permissions to delete"),onClick:()=>y(!0)}],C=(0,a.useCallback)((()=>{f||s()}),[f,s]);return l().createElement("div",{className:u.buttons},l().createElement(Ve.Z,{MenuItemRenderer:Ke,menuId:"relationships-table-actions",buttonComponent:_e.Z,buttonProps:{icon:qe.Z,size:"S"},menuItems:x,onMenuOpen:i,onMenuClose:C}),l().createElement(We.Z,{open:f,title:j().text('Do you want to delete relationship "${label}"?',{label:(E=(0,b.idV)(n.entityLabel),E.length>17?`${E.substring(0,17)}...`:E)}),content:j().text("This relationship will be removed and all the values in the relationship will be permanently deleted. Are you sure you want to delete this relationship?"),onSave:(0,d.pipe)(v,s,c),onDiscard:(0,d.pipe)(v,s),saveCaption:j().text("Delete"),discardCaption:j().text("Cancel")}));var E},Je=(0,se.Z)({tableContainer:{flex:1,overflow:"hidden",display:"flex",zIndex:0},hoveredRowRightContentWrapper:{width:"100%",pointerEvents:"none!important"},menuButtonContainer:{position:"absolute",top:"calc(50% - 12px)",right:0,pointerEvents:"all"},tooltipAnchor:{width:"100%",height:"1px"}});function et(){return et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},et.apply(this,arguments)}const tt=(0,a.memo)((e=>{let{metadata:t,connections:n,columnsData:r,sorting:o,onSort:i,filters:s,onFilter:c,onRowClick:u,tableRef:p,onDelete:m,readOnly:h}=e;const g=Je(),f=(0,a.useMemo)((()=>((e,t,n)=>(n||[]).map((n=>(0,d.pipe)((0,d.reduce)(((t,a)=>{let{id:l}=a;return(0,d.assoc)(l,((e,t,n)=>{let{entity:a,relation:l}=t;switch(n){case"entity.label":return{entity:a,entityType:(0,b.nt9)(e,a.entityType),relation:l};case"relation.type":return l.relationType;case"relation.label":return l.relationLabel;case"relation.activeness.startDate":return l.startDate;case"relation.activeness.endDate":return l.endDate;case"relation.attributes":return{attributes:l.object.attributes,attributeTypes:(0,b.V3K)(e,l.relationType).attributes};default:return((e,t)=>(0,d.pipe)((0,d.path)(["object","attributes"]),(0,b.tT_)(e))(t))(Ie(n),l)}})(e,n,l),t)}),{}),(0,d.assoc)("rawValue",n))(t))))(t,r,n)),[t,n,r]),y=(0,a.useMemo)((()=>Le(r)),[r]),{getDynamicRowCellHeight:v,changeRowCellHeight:x}=(0,me.Z)(),C=(0,a.useCallback)((0,d.either)(v,Be),[v,Be]),[E,w]=(0,a.useState)(null),S=(0,a.useCallback)((e=>{const t=!(0,b.Fn9)(e.rowValue.rawValue.relation);return l().createElement(be.Z,et({onChangeHeight:x},e),l().createElement(Ue,et({},e,{isInactiveRelation:t})))}),[x]),[P,T]=(0,a.useState)(!1),O=(0,a.useCallback)((()=>T(!0)),[]),k=(0,a.useCallback)((()=>{w(null),T(!1)}),[]),R=(0,a.useCallback)((e=>w((t=>P?t:e))),[P]),Z=(0,a.useMemo)((()=>{const e=null!=E?f[E].rawValue:null,t=!(0,b.Fn9)(null==e?void 0:e.relation);return e&&l().createElement(l().Fragment,null,l().createElement(ge.ZP,{key:e.relation.relationUri,open:t,title:j().text("Inactive")},l().createElement("div",{className:g.tooltipAnchor})),l().createElement("div",{className:g.menuButtonContainer},l().createElement(Qe,{disableDelete:h,connection:e,onMenuOpen:O,onMenuClose:k,onDelete:()=>m(e.relation.relationUri)})))}),[m,f,E]);return l().createElement("div",{className:g.tableContainer},l().createElement(he.Z,{fixFirstColumn:!0,columnsData:y,rowsData:f,sorting:o,onSort:i,filters:s,onFilter:c,defaultColumnWidth:250,defaultColumnMinWidth:200,headRowHeight:48,getRowCellHeight:C,renderRowCell:S,onRowClick:u,ref:p,hoverStateEnabled:!0,hoverRowIndex:E,onRowHover:R,hoveredRowRightContent:Z,classes:{hoveredRowRightContentWrapper:g.hoveredRowRightContentWrapper}}))}));var nt=n(29627),at=n(82658),lt=n(73972),rt=n(1730),ot=n(23759),it=n(10938),st=n(64435),ct=n(38361),ut=n(77194),pt=n(99144),dt=n(65549),mt=n(77277),bt=n(71285),ht=n(10765);const gt=(0,se.Z)((()=>({tableRow:{"& + &":{marginTop:"4px"},margin:"auto",maxWidth:"448px"}})));function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yt=(0,a.memo)((e=>{let{readOnly:t,relation:n,metadata:r,selectedAttributeTypes:o,onDeleteCrosswalk:i,onEditCrosswalk:s}=e;const c=gt(),u=(0,b.V3K)(r,n.type),p=(0,a.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,d.pipe)((0,d.propOr)([],"crosswalks"),(0,d.map)((0,d.assoc)("ownerType","entity")),(0,ht.o)(e.type,t))(e)}(n,o)),[n,o]),[m,h]=(0,a.useState)([]),g=(0,a.useCallback)((e=>{i({entityUri:n.uri,crosswalkId:e})}),[i,n.uri]),f=(0,a.useCallback)((e=>{s(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){ft(e,t,n[t])}))}return e}({entityUri:n.uri},e))}),[s,n.uri]);return l().createElement("div",null,p.map((e=>{let{source:n,crosswalksByTypes:a}=e;return l().createElement("div",{key:n,className:c.tableRow},l().createElement(bt.Z,{source:n,crosswalksByTypes:a,expanded:m.includes(n),disableEditCrosswalk:!(0,b.Zm0)(u)||t,disableDeleteCrosswalk:!(0,b.a14)(u)||t,onEdit:f,onDelete:g,onToggleExpanded:()=>{h((0,d.ifElse)((0,d.includes)(n),(0,d.without)([n]),(0,d.append)(n)))}}))})))}));var vt=n(89468);const xt=(0,se.Z)((e=>({header:{display:"flex",flexDirection:"row",alignItems:"center",padding:"20px 12px",borderBottom:"1px solid rgba(0, 0, 0, 0.12)"},title:{fontWeight:500,fontSize:"20px",lineHeight:"23px",letterSpacing:"0.25px",color:e.palette.text.primary,marginLeft:"12px"},hint:{color:e.palette.text.secondary,display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"flex-start",margin:"4px 14px 10px"},hintText:{marginLeft:"8px",fontSize:"12px",lineHeight:"16px"},buttons:{display:"flex",padding:"8px 6px 4px"},buttonLabel:{fontSize:"14px",fontWeight:500,lineHeight:"16px"},icon:{fontSize:"18px",marginRight:"8px"},editor:{paddingLeft:25,margin:"auto",maxWidth:"448px",boxSizing:"border-box",marginBottom:"4px"},tableContainer:{overflowY:"auto",overflowX:"hidden",paddingLeft:"16px",paddingRight:"6px"}}))),Ct=(0,Ge.Z)(mt.Z),Et=(0,a.memo)((e=>{let{className:t,readOnly:n,relation:o,selectedAttributeTypes:i,onAddCrosswalk:s,onDeleteCrosswalk:c,onEditCrosswalk:u}=e;const p=xt(),d=(0,r.useSelector)(m.ZP.selectors.getMetadata),h=(0,b.V3K)(d,o.type),[g,f]=(0,a.useState)(!1),y=(0,b.mkC)(h)&&!n;return l().createElement("div",{className:t},l().createElement("div",{className:p.header},l().createElement("span",{className:p.title},j().text("Legend"))),l().createElement("div",{className:p.buttons},l().createElement(Ct,{color:"primary",showForDisabled:!0,disabled:!y,tooltipTitle:y?null:j().text("You don't have permissions to add crosswalk"),onClick:()=>f(!0)},l().createElement(dt.Z,{className:p.icon}),l().createElement("div",{className:p.buttonLabel},j().text("Crosswalk")))),l().createElement("div",{className:p.hint},l().createElement(pt.Z,{className:p.icon}),l().createElement("span",{className:p.hintText},j().text("You can drag a crosswalk to add values to attributes swimlanes"))),l().createElement("div",{className:p.tableContainer},g&&l().createElement(vt.Z,{className:p.editor,onAdd:e=>s({entity:o,crosswalk:e}),onClose:()=>f(!1)}),l().createElement(yt,{readOnly:n,metadata:d,relation:o,selectedAttributeTypes:i,onDeleteCrosswalk:c,onEditCrosswalk:u})))}));var wt=n(83088),St=n(23147),Pt=n(90143),Tt=n(20146);const Ot=(0,se.Z)((e=>({entityInfo:{flex:"0 1 auto",overflow:"hidden",minWidth:"100px"},entityLabelContainer:{display:"flex",alignItems:"center",overflow:"hidden"},entityLabel:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary},infoIcon:{fontSize:"16px",color:e.palette.text.secondary,marginLeft:"5px"},profileBand:{margin:"-10px",maxWidth:"500px"},entityTypeBadge:{marginTop:"7px"}}))),kt=e=>{let{entity:t}=e;const n=Ot(),a=(0,b.idV)(t.label);return l().createElement("div",{className:n.entityInfo},l().createElement("div",{className:n.entityLabelContainer},l().createElement(wt.C,{value:a},l().createElement(te.Z,{variant:"h6",className:n.entityLabel,noWrap:!0},a)),l().createElement(Pt.Z,{title:l().createElement(E.Z,{className:n.profileBand,entity:t}),placement:"right"},l().createElement(pt.Z,{className:n.infoIcon}))),l().createElement(Tt.Z,{className:n.entityTypeBadge,entity:t,size:"medium"}))},Rt=(0,se.Z)((e=>({root:{flexShrink:0,overflow:"hidden",width:"110px"},label:{color:e.palette.text.secondary,fontSize:"13px"}}))),Zt=e=>{let{relation:t}=e;const n=Rt(),{direction:a,relationLabel:r}=t;return l().createElement("div",{className:n.root},l().createElement(wt.C,{value:r},l().createElement(te.Z,{variant:"subtitle2",className:n.label,align:"center",noWrap:!0},r)),l().createElement("svg",{width:"110",height:"12",fill:"black",fillOpacity:"0.3"},"out"===a&&l().createElement("polygon",{points:"94 0, 110 6, 94 12, 94 9, 0 9, 0 3, 94 3"}),"bidirectional"===a&&l().createElement("polygon",{points:"94 0, 110 6, 94 12, 94 9, 16 9, 16 12, 0 6, 16 0, 16 3, 94 3"}),"in"===a&&l().createElement("polygon",{points:"16 12, 0 6, 16 0, 16 3, 110 3, 110 9, 16 9"})))};var Dt=n(39600),Nt=n(27604),jt=n(79784);const It=(0,se.Z)((()=>({root:{"&:hover $editButton":{visibility:"visible"}},editButton:{visibility:"hidden",marginLeft:"4px",marginBottom:"4px"},paper:{width:"150px",border:"3px solid rgba(0, 0, 0, 0.3)",borderRadius:"4px",boxSizing:"border-box",overflow:"hidden"}}))),At=e=>{let{value:t=null,onChange:n,readOnly:r}=e;const o=It(),i=(0,a.useRef)(),[s,c]=(0,a.useState)(!1),u=()=>c(!1),[p,d]=(0,a.useState)(t),m=()=>{p!==t&&n(p),u()};return l().createElement("span",{ref:i,className:o.root},t&&(0,b.p6d)(t),l().createElement(_e.Z,{disabled:r,icon:Nt.Z,size:"XXS",className:o.editButton,onClick:()=>c(!0)}),l().createElement(jt.ZP,{classes:{paper:o.paper},open:s,anchorEl:i.current,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:14,horizontal:20},onKeyUp:e=>{"Enter"===e.key?m():"Escape"===e.key&&u()},onBackdropClick:m},l().createElement(Dt.Z,{InputProps:{autoFocus:!0,disableUnderline:!0,fullWidth:!0},size:"small",hiddenLabel:!0,label:void 0,value:p&&new Date(p),onChange:e=>d(e&&e.valueOf())})))},Ft=(0,se.Z)((e=>({relationBand:{flexShrink:0,boxShadow:"inset 0px -1px 0px rgba(0,0,0,0.06)",padding:"16px 19px"},inactiveRelationBand:{opacity:.6,background:"rgba(185, 188, 197, 0.18)"},toolbar:{display:"flex",alignItems:"center",gap:"16px",marginBottom:"10px"},mainInfo:{display:"flex",gap:"16px",marginLeft:"40px"},detailsInfo:{display:"flex",gap:"34px",marginLeft:"40px",marginTop:"17px",color:e.palette.text.secondary,fontSize:"13px"},detailTitle:{color:e.palette.text.primary,flexShrink:0,marginRight:"4px"},directionalLabel:{display:"flex",overflow:"hidden","& span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},relationDate:{flexShrink:0},commentsContainer:{marginRight:"18px"}})));function Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Bt(e,t,n[t])}))}return e}function Bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zt=(0,a.memo)((e=>{let{readOnly:t,entity:n,connection:a,onNavigateBack:r,onDelete:o,onChangeActivenessDate:i}=e;const s=!(0,b.Fn9)(a.relation),c=Ft();return l().createElement("div",{className:we()(c.relationBand,Se.U,{[c.inactiveRelationBand]:s})},l().createElement("div",{className:c.toolbar},l().createElement(_e.Z,{icon:St.Z,size:"S",onClick:()=>r()}),l().createElement(te.Z,{variant:"subtitle2",display:"inline"},j().text("Back to relationships")),l().createElement(le.Z,null),l().createElement("div",{className:c.commentsContainer},l().createElement(Oe.Z,{uri:a.relation.relationUri,relatedObjectUris:(0,b.wp9)(b.q7e.RELATION,{entityUri:null==n?void 0:n.uri,connection:a}),objectType:b.q7e.RELATION,allowOnlyOneComment:!0})),l().createElement(Qe,{connection:a,onDelete:o,disableDelete:t})),l().createElement("div",{className:c.mainInfo},l().createElement(kt,{entity:n}),l().createElement(Zt,{relation:a.relation}),l().createElement(kt,{entity:Lt({},a.entity.object,{dataTenant:a.entity.dataTenant})})),l().createElement("div",{className:c.detailsInfo},l().createElement("div",{className:c.directionalLabel},l().createElement("span",{className:c.detailTitle},j().text("Directional label:")),l().createElement(wt.C,{value:a.relation.relationLabel},l().createElement("span",null,a.relation.relationLabel))),l().createElement("div",{className:c.relationDate},l().createElement("span",{className:c.detailTitle},j().text("Start date:")),l().createElement(At,{value:a.relation.startDate,onChange:e=>i("startDate",e),readOnly:t})),l().createElement("div",{className:c.relationDate},l().createElement("span",{className:c.detailTitle},j().text("End date:")),l().createElement(At,{value:a.relation.endDate,onChange:e=>i("endDate",e),readOnly:t}))))})),Ut=e=>{console.error(e),p.Z.addError({title:j().text("Error"),message:(0,b.xU7)(e,j().text("Something went wrong"))})};var Mt=n(58651),qt=n(13896);const Vt=(0,se.Z)({detailsView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"},locked:{pointerEvents:"none"},resizablePanesWrapper:{flexGrow:1},pane:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",overflow:"hidden"}}),_t=(0,a.memo)((e=>{let{entity:t,connection:n,visibleColumns:r,onClose:o,onDeleteConnection:i,onChangeConnection:s,onChangeVisibleColumns:c,readOnly:u}=e;const p=Vt(),m=(()=>{const[e,t]=(0,a.useState)([]),n=(0,a.useRef)([]),l=(0,a.useCallback)((0,b.DsO)((()=>{t([...n.current])}),50),[]),r=(0,a.useCallback)((e=>{n.current=e,l(e)}),[l]),o=(0,a.useCallback)(((e,t)=>{e&&r(t?[e]:[])}),[r]),[i,s]=(0,a.useState)([]),c=(0,a.useCallback)((e=>{e&&s((t=>{return n=[e],a=t,(0,d.concat)(n.filter((e=>!(0,d.any)((0,b.aFF)(e),a))),a.filter((e=>!(0,d.any)((0,b.aFF)(e),n))));var n,a}))}),[]);return{highlightedCrosswalks:(0,a.useMemo)((()=>[...e,...i]),[e,i]),focusedCrosswalks:i,toggleCrosswalkFocus:c,setCrosswalkHighlighted:o}})(),[h,g]=(0,a.useState)(-480),f=(0,a.useCallback)((e=>{let{percentageSize:t}=e;return g(t)}),[]),[y,v]=(0,a.useState)(),[x,C]=(0,a.useState)(!1),E=n.relation.relationUri,w=(0,nt._)(),S=(0,a.useCallback)((()=>C(!0)),[]),P=(0,a.useCallback)((()=>C(!1)),[]),T=(0,a.useCallback)((0,d.pipe)(i,S),[]),[O,k]=(0,a.useMemo)((()=>{const e=e=>{e.errorCode===b.Xt7.CROSSWALK_NOT_FOUND?(Ut(e),t()):e.errorCode===b.Xt7.OBJECT_NOT_FOUND?o(e):(Ut(e),P())},t=()=>{w((0,b._vs)(E)).then((e=>{s((0,d.assocPath)(["relation","object"],e,n)),P()})).catch(e)};return[e,t]}),[n,P,s,o]),{modifiedEntity:R,crosswalksMap:Z,newlyCreatedAttributes:D,onPinAttribute:N,onIgnoreAttribute:j,onAddAttribute:I,onEditAttribute:A,onDeleteAttribute:F}=(0,at.Q)({entity:n.relation.object,onModify:k,onError:O,onLoad:S}),{addCrosswalk:L,deleteCrosswalk:B,editCrosswalk:z}=(0,lt.P)({onSuccess:k,onError:O,onLoad:S}),U=(0,a.useCallback)(((e,t)=>{S(),(t?(0,b.rj2)({entityUri:E,attributeName:e,value:t}).then((()=>s((0,d.assocPath)(["relation",e],t,n)))):(0,b.X78)({entityUri:E,attributeName:e}).then((()=>s((0,d.dissocPath)(["relation",e],n))))).then(P).catch(O)}),[n,S,P,O]);return l().createElement(rt.Z,{className:p.detailsView},l().createElement(ot.hR,m,l().createElement(qt.DndProvider,{backend:Mt.default},l().createElement(it.Z,null),l().createElement(st.Z,{className:we()(p.resizablePanesWrapper,{[p.locked]:x}),orientation:"vertical",size:h,minSize:600,maxSize:-480,allowResize:!0,onChange:f},l().createElement("div",{className:p.pane},l().createElement(zt,{readOnly:u,entity:t,connection:n,onNavigateBack:o,onDelete:T,onChangeActivenessDate:U}),l().createElement(ct.R,{attributeUris:D},l().createElement(ut.Z,{readOnly:u,entity:R,crosswalksMap:Z,isLoading:x,onPin:N,onIgnore:j,onEdit:A,onAdd:I,onDelete:F,selectedAttributeTypes:y,onSelectAttributeTypes:v,visibleColumns:r,onChangeVisibleColumns:c}))),l().createElement(Et,{readOnly:u,className:p.pane,relation:n.relation.object,selectedAttributeTypes:y,onAddCrosswalk:L,onDeleteCrosswalk:B,onEditCrosswalk:z})))))})),Wt=(0,se.Z)({relationshipsView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column"},"@global div[role=tooltip]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"@global div[role=presentation]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},pane:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",position:"relative"}}),Ht=(0,r.connect)(((e,t)=>{let{config:{id:n}}=t;return{entity:m.ZP.selectors.getEntity(e),metadata:m.ZP.selectors.getMetadata(e),connections:m.ZP.selectors.getConnectionsByViewId(e,n),total:m.ZP.selectors.getTotalByViewId(e,n)}}))((e=>{let{config:t,entity:n,metadata:r,connections:o,total:i,saveState:s,getSavedState:c,dispatch:u}=e;const p=Wt(),O=(0,a.useRef)(),Z=(0,h.U)(),N=(0,b.biM)(n),{type:j}=n||{},[{visibleColumns:I,filters:A,page:U,rowsPerPage:V,sorting:$,currentRelationType:te,stateToSave:ne,entityTypeOfAppliedSavedState:ae},{changeColumns:le,toggleFilters:re,changeFilter:oe,changePage:ie,changeRowsPerPage:se,toggleSort:ce,changeRelationType:ue,saveCurrentState:pe,applySavedState:me}]=(e=>{let{defaultColumns:t,defaultSorting:n,defaultRowsPerPage:l}=e;const r={visibleColumns:t,filters:null,sorting:n,page:0,rowsPerPage:l,currentRelationType:null,stateToSave:null,visibleColumnsForRelationTypes:{},entityTypeOfAppliedSavedState:null},[o,i]=(0,a.useReducer)(((e,t)=>{switch(t.type){case _:{const n=t.payload;return(0,d.pipe)(Q,(0,d.assoc)("currentRelationType",n),K,Y)(e)}case W:{const{savedState:n,entityTypeUri:a}=t.payload;return q({},e,n,{visibleColumns:n?X(n):e.visibleColumns,entityTypeOfAppliedSavedState:a})}case H:return q({},e,{stateToSave:J(e)});default:return R.ZP.reducer(e,t)}}),r);return[o,(0,D.o)({actions:G,dispatch:i})]})({defaultColumns:L,defaultRowsPerPage:z[0],defaultSorting:{field:L[0],order:"asc"}}),be=ae===j,{isLoading:he,relationsTableSavedState:ge,attributesTableSavedState:fe,updateRelationsTableSavedState:ye,updateAttributesTableSavedState:ve}=(e=>{var t;let{getSavedState:n,saveState:l,entityTypeUri:r}=e;const[o,i]=(0,a.useState)(k),[s,c]=(0,a.useState)(null);(0,g.D)((()=>{s&&(i(T({},o,{relationsTable:s})),c(null))}),[r]);const[u,p]=(0,a.useState)(!0);return(0,a.useEffect)((()=>{n().then((e=>{i(e||k)})).then((e=>p(!1))).catch((e=>p(!1)))}),[]),{isLoading:u,relationsTableSavedState:null===(t=o.relationsTable)||void 0===t?void 0:t[r],attributesTableSavedState:o.attributesTable,updateRelationsTableSavedState:e=>{const t=T({},o.relationsTable,{[r]:e});c(t),l(T({},o,{relationsTable:t}))},updateAttributesTableSavedState:e=>{l(T({},o,{attributesTable:e}))}}})({getSavedState:c,saveState:s,entityTypeUri:j}),[xe,Ce]=(0,a.useState)();(0,a.useEffect)((()=>{he||me({savedState:ge,entityTypeUri:j})}),[he,j]),(0,a.useEffect)((()=>{he||Ce(null==fe?void 0:fe.visibleColumns)}),[he]),(0,g.D)((()=>{be&&ye(ne)}),[ne]),(0,g.D)((()=>{ie(0)}),[n]);const[Ee,we]=(0,a.useState)(),Se=(0,a.useCallback)((()=>{we(null)}),[]),Pe=(0,a.useMemo)((()=>{const e=(0,b.io3)(r,j);return r.relationTypes.filter((0,d.both)((0,b.uGe)(b.BDP.READ),(t=>{let{startObject:n,endObject:a}=t;return e.some((0,d.either)((0,d.equals)(n.objectTypeURI),(0,d.equals)(a.objectTypeURI)))})))}),[r,j]),Te=(0,a.useMemo)((()=>((e,t)=>t?(0,d.pipe)((0,d.find)((e=>e.uri===t)),b.DK$,M,(0,d.concat)(F),(0,d.reject)((e=>{let{id:t}=e;return B.includes(t)})))(e):(e=>{return t=(0,d.assoc)("dataTypeDefinition",(e=>({type:b.oS0.TYPE_SELECT,options:e.map((e=>{let{uri:t,label:n}=e;return{value:t,label:n}}))}))(e)),e=>(0,d.adjust)(e.findIndex((0,d.propEq)("id","relation.type")),t,e);var t})(e)(F))(Pe,te)),[Pe,te]),Oe=(0,a.useMemo)((()=>I.map((e=>Te.find((0,d.propEq)("id",e)))).filter(d.identity)),[I,Te]),ke=(0,a.useMemo)((()=>{const e=(0,d.pipe)((0,d.when)((0,d.always)(te),(0,d.filter)((0,d.propEq)("uri",te))),(0,d.map)((0,d.prop)("uri")))(Pe);return{id:t.id,content:{inRelations:e,outRelations:e}}}),[t.id,te,Pe]),Re=(0,a.useMemo)((()=>((e,t)=>{const n=(0,ee.Tz)(t,e);return(new b.MEy).addClause(n).build()})(A,Oe)),[A,Oe]),{isLoading:Ze,reload:De}=(0,f.a)({page:U,rowsPerPage:V,config:ke,entity:be?n:null,filter:Re,mode:b.ARY.Viewing,sorting:$}),Ne=!be||Ze,je=(0,a.useCallback)((0,d.pipe)(ce,pe),[ce,pe]),Ie=(0,a.useCallback)((0,d.pipe)(oe,pe),[oe,pe]),Ae=(0,a.useCallback)((0,d.pipe)(re,pe),[re,pe]),Fe=(0,a.useCallback)((0,d.pipe)(le,pe),[le,pe]),Le=(0,a.useCallback)((0,d.pipe)(ue,pe),[ue,pe]),Be=(0,a.useCallback)((e=>{Ce(e),ve({visibleColumns:e})}),[ve]),ze=null==o?void 0:o[Ee],Ue=(0,a.useCallback)((e=>{u(m.N5.relations.actions.relationsLoaded({id:t.id,connections:(0,d.update)(Ee,e,o),total:i}))}),[ze]),[Me,qe]=(0,a.useMemo)((()=>[(0,b.w3p)(o),[b.q7e.RELATION]]),[o]),Ve=(0,y.C)({objectIds:Me,objectTypes:qe,enabled:!N}),_e=(0,a.useMemo)((()=>(0,b.Px$)(o)),[o]),We=(0,a.useCallback)((e=>{Ut(e),e.errorCode===b.Xt7.OBJECT_NOT_FOUND&&De()}),[De]),He=(0,a.useCallback)((e=>{(0,d.pipe)(b.VGk,(0,d.andThen)(De),(0,d.otherwise)(We))(e)}),[De,We]),Ge=(0,a.useCallback)((()=>{(0,d.pipe)(b.VGk,(0,d.andThen)((0,d.pipe)(Se,De)),(0,d.otherwise)((e=>{e.errorCode===b.Xt7.OBJECT_NOT_FOUND&&Se(),We(e)})))(ze.relation.relationUri)}),[ze,De,Se,We]),Ye=(0,a.useCallback)((e=>{e&&We(e),Se()}),[We,Se]);return l().createElement(v.s.Provider,{value:Z},l().createElement(x.h.Provider,{value:Ve},l().createElement(C.X.Provider,{value:_e},l().createElement("div",{className:p.relationshipsView},l().createElement(E.Z,{entity:n},l().createElement(w.a,null)),l().createElement(de,{total:i,filteringEnabled:!!A,onToggleFilters:Ae,columnsData:Te,selectedColumns:I,onChangeColumns:Fe,relationTypes:Pe,currentRelationType:te,onRelationTypeChange:Le}),l().createElement("div",{className:p.pane},Ne&&l().createElement(S.Z,null),l().createElement(tt,{readOnly:N,metadata:r,connections:o,columnsData:Oe,sorting:$,onSort:je,filters:A,onFilter:Ie,onRowClick:we,tableRef:O,onDelete:He}),l().createElement(P.Z,{count:i,rowsPerPageOptions:z,page:U,onChangePage:ie,rowsPerPage:V,onChangeRowsPerPage:se,basicTableRef:O})),ze&&l().createElement(_t,{readOnly:N,entity:n,visibleColumns:xe,onChangeVisibleColumns:Be,connection:ze,onClose:Ye,onDeleteConnection:Ge,onChangeConnection:Ue})))))})),Gt=(0,i.createGenerateClassName)({productionPrefix:"relationshipsPerspective",disableGlobal:!0}),Yt=e=>{let{config:t,store:n,onResize:d,saveState:m,getSavedState:h}=e;const g=(0,a.useCallback)((0,b.aYu)(h),[h]);return l().createElement(r.Provider,{store:n},l().createElement(u.m.Provider,{value:t.id},l().createElement(i.StylesProvider,{generateClassName:Gt},l().createElement(c.MuiPickersUtilsProvider,{utils:o.Z},l().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>null==d?void 0:d(Math.floor(e),Math.floor(t))}),t&&l().createElement(Ht,{config:t,saveState:m,getSavedState:g}),l().createElement(p.Z,null)))))}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3319],{50548:(e,t,n)=>{n.d(t,{l:()=>o});var a=n(24328),r=n.n(a);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l.apply(this,arguments)}const o=(e,t,n)=>{if(e&&t){const o=(0,a.memo)(n);return n=>r().createElement(e.Consumer,null,(e=>r().createElement(o,l({},n,t(e,n)))))}return n}},30488:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(38748),r=n(50548);const l=e=>t=>(0,r.l)(a.X,e,t)},54238:(e,t,n)=>{n.d(t,{Z:()=>U});var a=n(24328),r=n.n(a),l=n(13980),o=n.n(l),i=n(53862);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s.apply(this,arguments)}const c=e=>r().createElement("svg",s({width:20,height:18,viewBox:"0 0 20 18",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M16 7.24V6h-4v1.24a8.417 8.417 0 00-2 .768V6H6v6h.29a8.497 8.497 0 00-.15.358l-.29.733.29.733.07.176H2c-1.1 0-2-.9-2-2V2C0 .9.9 0 2 0h14c1.1 0 2 .9 2 2v6.008a8.417 8.417 0 00-2-.768zM4 12V6H2v6h2zm0-8V2H2v2h2zm6 0V2H6v2h4zm6 0V2h-4v2h4zm-2 5a6.451 6.451 0 00-6 4.09 6.451 6.451 0 006 4.092 6.451 6.451 0 006-4.091A6.451 6.451 0 0014 9zm0 6.818a2.728 2.728 0 010-5.454 2.728 2.728 0 010 5.454zm0-4.363c-.905 0-1.636.73-1.636 1.636 0 .905.73 1.636 1.636 1.636.905 0 1.636-.73 1.636-1.636 0-.906-.73-1.636-1.636-1.636z",fill:"#000",fillRule:"nonzero",stroke:"none",strokeWidth:1,opacity:.54}));var u=n(17440),p=n(22241);function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){m(e,t,n[t])}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b=e=>e.id===e.groupId,h=(0,u.curry)(((e,t)=>{let{id:n,groupId:a}=e;return t.groupId===a&&(n===t.id||n.startsWith(`${t.id}.`))})),g=(0,u.curry)(((e,t)=>{let{groupId:n}=e;return n===t.id})),f=(0,u.propOr)(!0,"hideable"),y=(e,t)=>{const n=((e,t)=>e.find((0,u.either)(g(t),h(t))))(e,t);return n?(n.children=y(n.children||[],t),e):e.concat(t)},v=(0,u.curry)(((e,t)=>p.P6Y.strings.search(t.label,e)||(t.children||[]).some(v(e)))),x=(0,u.reduce)(((e,t)=>y(e,{id:t.id,groupId:t.groupId,label:t.label,attrType:t.dataTypeDefinition})),[]),E=(0,u.curry)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,u.pipe)((0,u.filter)(v(e)),(0,u.chain)((t=>[{item:d({},t,{filterText:e}),level:n},...t.children?E(e,t.children,n+1):[]])))(t)})),C=(0,u.has)("columns"),w=e=>{let{id:t,label:n,columns:a}=e;return[{id:t,groupId:t,label:n},...a.map((0,u.assoc)("groupId",t))]},S=e=>e.children?(0,u.chain)(S,e.children):[e],P=(e,t)=>{const n=S(t),a=t=>e.includes(t.id);return b(t)?n.every(a):n.some(a)};var O=n(39475),T=n(22311),k=n(63485),Z=n(26638),R=n(41008),j=n(33117),D=n(94792),N=n(71153),I=n.n(N);const F=(0,n(79692).Z)({popup:{minWidth:"200px"},groupItem:{backgroundColor:"rgba(0,0,0,0.04)"}}),z=e=>{let{item:t,onClick:n,checked:a,level:l,style:o,isFocused:i,isGroupItem:s}=e;const c=F();return r().createElement(j.Z,{key:t.id,onClick:n,checked:a,level:l,data:t,label:r().createElement(D.Z,{text:t.label,highlight:t.filterText}),labelInText:t.label,style:o,isFocused:i,hideIcon:s,className:I()({[c.groupItem]:s})})};z.propTypes={item:o().shape({label:o().string,filterText:o().string}),level:o().number,onClick:o().func,checked:o().bool,style:o().object,isGroupItem:o().bool,isFocused:o().bool};const A=z;var L=n(87918),B=n.n(L);const M=e=>{let{columnsData:t,selectedColumns:n,onChangeColumns:l,title:o,tooltipTitle:i}=e;const s=F(),[d,m]=(0,a.useState)(null),[h,g]=(0,a.useState)(""),y=(0,a.useMemo)((()=>((e,t)=>(0,u.pipe)((0,u.chain)((0,u.when)(C,w)),(0,u.filter)((0,u.either)(b,f)),x,E(t))(e))(t,h)),[t,h]),v=(0,p.fW1)("label")(y)||308,j=(0,a.useMemo)((()=>(0,R.LG)(y)),[y]),D=(0,a.useCallback)((e=>{const t=(0,u.pipe)(S,(0,u.pluck)("id"))(e),a=P(n,e);l(a?(0,u.difference)(n,t):(0,u.uniq)((0,u.concat)(n,t)))}),[n,l]),N=(0,a.useCallback)((e=>{let{item:t}=e;return D(t)}),[D]),{focusIndex:I,handleKeyDown:z}=(0,Z.t)({items:j,open,onSelectFocusedItem:N,selectedItems:n}),L=Math.min(300,32*j.length),M=Math.max(140,L+108);return r().createElement(r().Fragment,null,r().createElement(O.k,{tooltipTitle:i||B().text("Show/hide columns"),size:"L",icon:c,onClick:e=>m(e.currentTarget)}),r().createElement(T.Z,{className:s.popup,open:!!d,anchorEl:d,onClose:(0,u.pipe)((()=>m(null)),(()=>g(""))),onSearch:g,title:o||B().text("Show/hide columns"),containerWidth:v,containerHeight:M,searchInputOnKeyDown:z},r().createElement(k.Z,{fixedTitle:!1,height:L,renderItem:(e,t,a)=>{let{item:l,level:o=0}=t;return r().createElement(A,{style:e,item:l,level:o,isFocused:I===a,checked:P(n,l),isGroupItem:b(l),onClick:D})},items:j,getItemSize:()=>32,containerWidth:v,focusIndex:I})))};M.propTypes={columnsData:i.uz,selectedColumns:o().arrayOf(o().string),onChangeColumns:o().func,title:o().string,tooltipTitle:o().string};const U=M},33903:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(24328),r=n.n(a),l=n(13980),o=n.n(l),i=n(87918),s=n.n(i),c=n(61837),u=n(87685),p=n(80030);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d.apply(this,arguments)}const m=e=>r().createElement("svg",d({width:18,height:18,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M18 2V0H0v2l7 8v8l4-2v-6z",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1})),b=(0,n(79692).Z)((e=>({"filterIcon--enabled":{color:e.palette.primary.main},closeIcon:{position:"absolute",right:"3px",bottom:"3px",transform:"scale(0.5)"},button:{padding:"11px"}}))),h=e=>{let{enabled:t,onClick:n}=e;const a=b();return r().createElement(p.ZP,{title:t?s().text("Clear all filters"):s().text("Filter")},r().createElement(c.Z,{onClick:n,classes:{root:a.button}},t?r().createElement(r().Fragment,null,r().createElement(m,{className:a["filterIcon--enabled"]}),r().createElement(u.default,{color:"primary",className:a.closeIcon})):r().createElement(m,null)))};h.propTypes={enabled:o().bool,onClick:o().func};const g=h},42011:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(13980),r=n.n(a),l=n(24328),o=n.n(l),i=n(71153),s=n.n(i),c=n(28899),u=n(87918),p=n.n(u),d=n(79573),m=n(17440);const b=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){g(e,t,n[t])}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f=e=>{let{classes:t={},count:n,rowsPerPageOptions:a,page:r,onChangePage:i,rowsPerPage:u,onChangeRowsPerPage:g,basicTableRef:f,labelRowsPerPage:y}=e;const v=b(),x=(0,l.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],f)()}),[f]),E=(0,l.useCallback)((e=>{i(e),x()}),[i,x]),C=(0,l.useCallback)((e=>{i(0),g(e),x()}),[i,g,x]);return o().createElement(c.Z,{classes:h({},t,{root:s()(v.pagination,t.root),select:s()(v.select,t.select),caption:v.caption,selectRoot:v.selectRoot,actions:v.actions}),component:"div",labelRowsPerPage:y||p().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:a}=e;return p().text("${fromRow}-${toRow} of ${countRows}",{fromRow:p().number(t,"0,0"),toRow:p().number(n,"0,0"),countRows:p().number(a,"0,0")})},count:n,rowsPerPageOptions:a,page:r,onChangePage:(0,m.pipe)((0,m.nthArg)(1),E),rowsPerPage:u,onChangeRowsPerPage:(0,m.pipe)(d.NA,C)})};f.propTypes={classes:r().object,rowsPerPageOptions:r().arrayOf(r().number),count:r().number,page:r().number,onChangePage:r().func,rowsPerPage:r().number,onChangeRowsPerPage:r().func,basicTableRef:r().shape({current:r().object}),labelRowsPerPage:r().string};const y=o().memo(f)},75975:(e,t,n)=>{n.d(t,{ZP:()=>h});var a=n(17440),r=n(79573);function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i="CHANGE_COLUMNS",s="TOGGLE_FILTERS",c="CHANGE_FILTER",u="TOGGLE_SORT",p="CHANGE_PAGE",d="CHANGE_ROWS_PER_PAGE",m={changeColumns:(0,r.zD)(i),toggleFilters:(0,r.zD)(s),changeFilter:(0,r.zD)(c),toggleSort:(0,r.zD)(u),changePage:(0,r.zD)(p),changeRowsPerPage:(0,r.zD)(d)},b=(e,t)=>{const n=(0,a.difference)(e.visibleColumns,t),r=e=>n.includes(e);return(0,a.evolve)({visibleColumns:(0,a.always)(t),sorting:(0,a.when)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(e.field)}),(()=>{const[e]=t;return{field:e,order:"asc"}})),filters:e=>(0,a.keys)(e).reduce(((e,t)=>r(t)?(0,a.dissoc)(t,e):e),e)},e)},h={reducer:(e,t)=>{switch(t.type){case i:{const n=t.payload;return b(e,n)}case s:{const t=!e.filters;return l({},e,{filters:t?{}:null,page:t?e.page:0})}case c:{const{columnId:n,filter:r}=t.payload;return(0,a.evolve)({filters:r?(0,a.assoc)(n,r):(0,a.dissoc)(n),page:(0,a.always)(0)},e)}case u:{const n=t.payload,o=(0,a.path)(["sorting","field"],e),i=(0,a.path)(["sorting","order"],e);return l({},e,{sorting:{field:n,order:(0,r.Dh)(n===o?i:null)},page:0})}case p:return l({},e,{page:t.payload});case d:return l({},e,{rowsPerPage:t.payload});default:return e}},actions:m,changeVisibleColumns:b}},1730:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(27556),r=n(13980),l=n.n(r),o=n(24328),i=n.n(o);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=(0,n(79692).Z)((e=>({"basic-view__paper":s({display:"flex",flexDirection:"column"},e.basicView)})));function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p.apply(this,arguments)}const d=(0,o.forwardRef)(((e,t)=>{let{children:n,className:r}=e,l=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["children","className"]);const o=u();return i().createElement(a.Z,p({ref:t,className:r,classes:{root:o["basic-view__paper"]}},l),n)}));d.displayName="BasicView",d.propTypes={children:l().node,className:l().string};const m=d},22118:(e,t,n)=>{n.d(t,{Z:()=>b});var a=n(24328),r=n.n(a),l=n(87918),o=n.n(l),i=n(77277),s=n(8629),c=n(49429),u=n(38724),p=n(55999),d=n(79249);const m=(0,n(79692).Z)({paper:{minHeight:"180px"},title:{padding:"16px 16px 10px 16px",fontSize:"20px",fontWeight:500,letterSpacing:"0.25px",lineHeight:"24px"},content:{padding:"0 16px"},contentText:{marginBottom:0,fontSize:"16px",letterSpacing:"0.15px",lineHeight:"24px"},actionButtons:{display:"flex",paddingTop:"4px",fontSize:"14px",fontWeight:500,letterSpacing:0,lineHeight:"16px","& > div":{marginLeft:"auto"}},discardButton:{marginRight:"8px"}}),b=e=>{let{open:t,title:n,content:a,onCancel:l,cancelCaption:b=o().text("Cancel"),onDiscard:h,discardCaption:g="",onSave:f,saveCaption:y=o().text("Save"),disabledSave:v=!1}=e;const x=m();return r().createElement(s.Z,{open:t,onClose:l,classes:{paperScrollPaper:x.paper}},r().createElement(d.Z,{classes:{root:x.title}},n),r().createElement(u.Z,{classes:{root:x.content}},r().createElement(p.Z,{classes:{root:x.contentText}},a)),r().createElement(c.Z,{className:x.actionButtons,disableSpacing:!0},l&&r().createElement(i.Z,{onClick:l},b),r().createElement("div",null,h&&r().createElement(i.Z,{onClick:h,classes:{root:x.discardButton}},g),r().createElement(i.Z,{onClick:f,color:"primary",disabled:v,autoFocus:!0},y))))}},20146:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(24328),r=n.n(a),l=n(52730),o=n(71153),i=n.n(o),s=n(90436),c=n(22241),u=n(35674);const p=(0,n(79692).Z)({"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",display:"inline-flex",marginRight:"12px",borderRadius:"2px"},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",display:"inline-flex",marginRight:"16px"}}),d=e=>{let{entity:t,className:n,size:a="small"}=e;const o=p(),d=(0,l.useSelector)(u.ZP.selectors.getMetadata),m=t.type,b=(0,c.nt9)(d,m)||{},h=(0,c.VD3)(d,b,"typeColor")||c.rSc.palette.primary.main;return r().createElement(s.Z,{style:{backgroundColor:h,color:c.P6Y.Colors.getColor(h)?"#FFFFFF":"#212121"},className:i()(o[`entityType-${a}`],n),component:"div"},(0,c.jFi)(d,t))}},33109:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(24328),r=n.n(a),l=n(13980),o=n.n(l),i=n(71153),s=n.n(i),c=n(52730),u=n(17440),p=n(90436),d=n(80030),m=n(87918),b=n.n(m),h=n(22241),g=n(35674),f=n(37573),y=n(20146);const v=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),x=e=>{let{className:t,entity:n,children:l,classes:o}=e;const i=v({classes:o}),m=(0,c.useSelector)(g.ZP.selectors.getMetadata),x=(0,a.useCallback)((()=>{navigator.clipboard.writeText((0,h.BTI)(n))}),[n]);if((0,u.isNil)(n))return null;const E=(0,h.idV)(n.label),C=n.secondaryLabel,w=(0,h.ptG)(m,n),S=(0,h.Fn9)(n),P=n.uri,O=(0,h.BTI)(n);return r().createElement("div",{className:s()(i.profileBandWrapper,t)},r().createElement("div",{className:s()(i.profileBand,{[i.inactive]:!S}),"data-entity-uri":P},r().createElement(f.Z,{key:n.uri,entity:n,avatarClassName:i.profileIcon,imageClassName:i.imageProfileIcon}),r().createElement("div",{className:i.profileInfo},r().createElement("div",null,r().createElement(p.Z,{variant:"h6",className:i.label},E),C&&r().createElement(p.Z,{variant:"subtitle2",className:i.secondaryLabel},C),w&&r().createElement(p.Z,{variant:"subtitle1",className:i.businessCard},w)),r().createElement("div",{className:i.specialInfo},r().createElement("div",{className:i.entityType},r().createElement(y.Z,{entity:n,size:"medium",className:i.badge}),!(0,h.ZiX)(P)&&r().createElement(d.ZP,{title:b().text("Copy to clipboard")},r().createElement(p.Z,{display:"inline",variant:"body2",className:i.entityId,onClick:x},b().text("Entity ID"),": ",O))))),l&&r().createElement("div",null,l)))};x.propTypes={className:o().string,entity:o().object,children:o().node,classes:o().object};const E=x},76368:(e,t,n)=>{n.d(t,{a:()=>k});var a=n(24328),r=n.n(a),l=n(87918),o=n.n(l),i=n(86689),s=n(78223),c=n(39475),u=n(67766),p=n(42767),d=n(22241);const m=(0,n(79692).Z)({container:{display:"flex",alignItems:"center"},link:{whiteSpace:"nowrap",marginRight:"9px"}}),b=(0,s.Z)(i.Z),h=e=>{let{total:t=0,onPrev:n,onNext:a,onSearchResultsClick:l,isPrevDisabled:i,isNextDisabled:s}=e;const h=m();return r().createElement("div",{className:h.container},r().createElement(b,{className:h.link,component:"button",variant:"caption",onClick:l,underline:"none",tooltipTitle:o().text("Go to search results")},(0,d.k7L)(t,1e6)," ",1===t?o().text("Search result"):o().text("Search results")),r().createElement(c.k,{size:"L",icon:u.Z,tooltipTitle:o().text("Go to previous profile"),onClick:n,disabled:i,showForDisabled:!0}),r().createElement(c.k,{size:"L",icon:p.Z,tooltipTitle:o().text("Go to next profile"),onClick:a,disabled:s,showForDisabled:!0}))};var g=n(52730),f=n(35674),y=n(17440),v=n(12212),x=n(29627);function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){C(e,t,n[t])}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w{constructor(e){var t=this;let{data:{query:n,sortField:a,sortOrder:r},tenant:l,searchTenant:o,apiPath:i,dtssPath:s,globalSearchRequestOptions:c}=e;this.query=void 0,this.sortField=void 0,this.sortOrder=void 0,this.tenant=void 0,this.searchTenant=void 0,this.apiPath=void 0,this.dtssPath=void 0,this.globalSearchRequestOptions=void 0,this.isDT=()=>this.tenant!==this.searchTenant,this.getQueryFilter=()=>({rawFilter:this.query}),this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[t.getQueryFilter(),...e],r=E({},t.globalSearchRequestOptions,{sort:t.sortField,order:t.sortOrder,select:"uri,label,type",scoreEnabled:!1},n);return t.isDT()?(0,d.uqV)({filters:a,options:r,customerTenant:t.tenant,dataTenant:t.searchTenant,dtssPath:t.dtssPath}):(0,d.ZOr)(a,r)},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"uri",values:[e]}],{offset:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{offset:t,max:e}),this.requestTotal=()=>{const e=[this.getQueryFilter()],t=this.globalSearchRequestOptions;return(this.isDT()?(0,d.J$m)({filters:e,options:t,customerTenant:this.tenant,dataTenant:this.searchTenant,dtssPath:this.dtssPath}):(0,d.j_Q)(e,t)).then((e=>e.total))},this.query=n,this.sortField=a,this.sortOrder=r,this.tenant=l,this.searchTenant=o,this.apiPath=i,this.dtssPath=s,this.globalSearchRequestOptions=c}}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){P(e,t,n[t])}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class O{constructor(e){var t=this;let{data:n,tenant:a,apiPath:r}=e;this.searchBody=void 0,this.tenant=void 0,this.apiPath=void 0,this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[{rawFilter:t.searchBody.filter},...e];return(0,d.P2h)({apiPath:t.apiPath,tenant:t.tenant,searchBody:S({},t.searchBody,{filter:e.length?(0,d.Uqd)()(a):t.searchBody.filter}),options:n})},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"id",values:[(0,d.BTI)({uri:e})]}],{from:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{from:t,max:e}),this.requestTotal=()=>(0,d.dED)({apiPath:this.apiPath,tenant:this.tenant,searchBody:this.searchBody}).then((e=>e.count)),this.searchBody=n,this.tenant=a,this.apiPath=r}}const T=(e,t)=>(0,y.pipe)((0,y.map)((0,y.prop)("uri")),(0,y.reject)((e=>t.includes(e))))(e),k=()=>{const{total:e,onPrev:t,onNext:n,onSearchResultsClick:l,isPrevDisabled:o,isNextDisabled:i}=(()=>{const e=(0,x._)(),t=(0,x._)(),n=(0,x._)(),{uri:r,index:l,total:o,tenant:i,cache:s}=(0,g.useSelector)(f.ZP.selectors.getSearchNavigationData)||{},{type:c,data:u}=(0,g.useSelector)(f.ZP.selectors.getSearchProviderData)||{},p=(0,g.useSelector)(f.ZP.selectors.getTenant),m=(0,g.useSelector)(f.ZP.selectors.getApiPath),b=(0,g.useSelector)(f.ZP.selectors.getDtssPath),h=(0,g.useSelector)((e=>f.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),y=(0,a.useContext)(v.m),E=(0,g.useDispatch)(),[C,S]=(0,a.useState)(!1),P=(0,a.useMemo)((()=>((e,t)=>{switch(e){case"search":return new w(t);case"graphsearch":return new O(t)}})(c,{data:u,tenant:p,searchTenant:i,apiPath:m,dtssPath:b,globalSearchRequestOptions:h})),[c,u,p,i,m,b,h]),k=(0,a.useCallback)((e=>{E(f.yC.actions.updateSearchNavigationDataFields(e))}),[E]),Z=(0,a.useCallback)((e=>{const t=p!==i?(0,d.wwR)({uri:e,dataTenant:i}):e;E(f.ui.actions.openEntity({uri:t,viewId:y,source:"navigation"}))}),[E,y,p,i]),R=(0,a.useCallback)((()=>{E(f.ui.actions.openPerspective({perspectiveId:c,viewId:y}))}),[E,c,y]);(0,a.useEffect)((()=>{l>=o?k({index:o-1}):l<0&&k({index:0})}),[o,l,k]);const j=(0,a.useCallback)(((e,a,r)=>{S(!0),t(P.requestTotal()).then((e=>k({total:e})));const l=r+1;return n(P.requestEntities(15,l)).then((t=>{if(t){if(t.length){const n=T(t,e);if(n.length>0)return k({cache:e.concat(n),uri:n[0],index:l+t.length-n.length}),void Z(n[0]);if(r+t.length<a-1)return j(e,a-t.length,r+t.length)}k({index:l})}})).finally((()=>{S(!1)}))}),[P,k,Z]),D=(0,a.useCallback)(((e,a)=>{S(!0),t(P.requestTotal()).then((e=>k({total:e})));const r=a-1,l=Math.max(0,a-15),o=15+Math.min(0,a-15);return n(P.requestEntities(o,l)).then((t=>{if(t){if(t.length){const n=T(t,e);if(n.length>0)return k({cache:n.concat(e),uri:n[n.length-1],index:r-(t.length-n.length)}),void Z(n[n.length-1]);if(a-t.length>0)return D(e,a-t.length)}k({index:0})}})).finally((()=>{S(!1)}))}),[P,k,Z]),N=(0,a.useCallback)(((t,n,a,r)=>{if(n<t.length){const l=t[n];return S(!0),e(P.checkEntity(l)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),N(e,n,a-1,r)}k({index:r+1,uri:l,cache:t,total:a}),Z(l)})).finally((()=>{S(!1)}))}if(!(r>=a-1))return j(t,a,r);k({cache:t,total:a,index:a-1})}),[P,k,Z,j]),I=(0,a.useCallback)(((t,n,a,r)=>{if(n>-1){const l=t[n];return S(!0),e(P.checkEntity(l)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),I(e,n-1,a-1,r-1)}k({index:r-1,uri:l,cache:t,total:a}),Z(l)})).finally((()=>{S(!1)}))}if(!(r<=0))return D(t,r);k({index:0,cache:t,total:a})}),[P,k,Z,D]),F=(0,a.useCallback)((()=>{if(s&&r){const e=s.indexOf(r)-1;I(s,e,o,l)}}),[I,s,r,o,l]),z=(0,a.useCallback)((()=>{if(s&&r){const e=s.indexOf(r)+1;N(s,e,o,l)}}),[N,s,r,o,l]);return{total:o,onPrev:F,onNext:z,onSearchResultsClick:R,isPrevDisabled:C||l<=0,isNextDisabled:C||l>=o-1}})();return(()=>{const{cache:e}=(0,g.useSelector)(f.ZP.selectors.getSearchNavigationData)||{},t=(0,g.useSelector)(f.ZP.selectors.getMode),n=(0,g.useSelector)(f.ZP.selectors.getEntity);return(0,d.uzs)(t)&&(null==e?void 0:e.includes(null==n?void 0:n.uri))})()?r().createElement(h,{total:e,onPrev:t,onNext:n,onSearchResultsClick:l,isPrevDisabled:o,isNextDisabled:i}):null}},79935:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(24328),r=n.n(a);const l=()=>r().createElement("div",{style:{flex:1}})},55310:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(13980),r=n.n(a),l=n(24328),o=n.n(l);const i=e=>{let{height:t,margin:n}=e;return o().createElement("div",{style:{width:"1px",height:`${t}px`,borderLeft:"1px solid rgba(0,0,0,0.38)",margin:`0 ${n}px`,flexShrink:"0"}})};i.propTypes={height:r().number,margin:r().number};const s=i},17569:(e,t,n)=>{n.d(t,{o:()=>o});var a=n(24328),r=n(17440);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const o=e=>{let{actions:t,dispatch:n}=e;return(0,a.useMemo)((()=>Object.entries(t).reduce(((e,t)=>{let[a,o]=t;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){l(e,t,n[t])}))}return e}({},e,{[a]:(0,r.pipe)(o,n)})}),{})),[n,t])}},36852:(e,t,n)=>{n.d(t,{C:()=>d});var a=n(24328),r=n(52730),l=n(17440),o=n(22241),i=n(35674);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=[],p=e=>console.error("Collaboration error",e),d=e=>{let{objectIds:t=u,objectTypes:n,enabled:c=!0}=e;const d=(0,r.useSelector)(i.ZP.selectors.getEntity),m=(0,r.useSelector)(i.ZP.selectors.getTenant),b=(0,r.useSelector)(i.ZP.selectors.getCollaborationPath),h=(0,r.useSelector)(i.ZP.selectors.isCollaborationEnabled)&&c,[g,f]=(0,a.useState)(null),[y,v]=(0,a.useState)([]),[x,E]=(0,a.useState)(null),[C,w]=(0,a.useState)(null),[S,P]=(0,a.useState)(!1),[O,T]=(0,a.useState)(!1),k=(0,a.useCallback)((e=>{E((t=>s({},t,e)))}),[]),Z=null==d?void 0:d.uri,R=(0,a.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h&&Z&&!(0,o.ZiX)(Z)){const n=e=>{console.warn("Collaboration error",e),E(null)};(0,l.pipe)(o.$oF,(0,l.andThen)((0,l.map)((0,l.props)(["objectId","comments"]))),(0,l.andThen)(l.fromPairs),(0,l.andThen)(t?E:k),(0,l.otherwise)(n))({uris:e,tenant:m,collaborationPath:b})}else E(null)}),[k,b,Z,h,m]);(0,a.useEffect)((()=>{R(t,!0)}),[t,R]);const j=(0,a.useCallback)(((e,t)=>{(0,o.liG)({collaborationPath:b,tenant:m,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:a}=e;v((e=>t?(0,l.uniqBy)((0,l.prop)("commentId"),[...e,...n]):n)),f(a)})).catch(p)}),[b,m]),D=(0,a.useCallback)((e=>{T(!0),(0,o.d7q)({collaborationPath:b,tenant:m,commentId:e}).then(w).catch(p).finally((()=>T(!1)))}),[b,m]),N=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:r,relatedObjectUris:l}=e;P(!0);const i={objectId:r,content:t,relatedObjectUris:l,objectType:a,visibility:"public",namedUsers:n,permanentLink:""};return(0,o.Yrx)({collaborationPath:b,tenant:m,data:i}).then((e=>{let[t]=e;return((e,t)=>{w(e),E((n=>s({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),v((t=>[e,...t]))})(t,r)})).catch(p).finally((()=>P(!1)))}),[b,m]),I=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,objectType:a,uri:r,relatedObjectUris:i,commentId:c,replies:u}=e;P(!0);const d={objectId:r,content:t,relatedObjectUris:i,objectType:a,visibility:"public",namedUsers:n,permanentLink:"",commentId:c,replies:u};return(0,o.uAg)({collaborationPath:b,tenant:m,data:d}).then((e=>(e=>{w(e),v((0,l.map)((0,l.when)((0,l.propEq)("commentId",e.commentId),(0,l.always)(e))))})(s({},e,{replies:u})))).catch(p).finally((()=>P(!1)))}),[b,m]),F=(0,a.useCallback)((e=>{let{uri:t,commentId:n}=e;P(!0),(0,o.YFy)({collaborationPath:b,tenant:m,commentId:n}).then((()=>((e,t)=>{w(null),E((n=>{const a=n[t]||[];return s({},n,{[t]:a.filter((t=>t.commentId!==e))})})),v((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(p).finally((()=>P(!1)))}),[b,m]),z=(0,a.useCallback)(((e,t,n)=>{const a="resolve"===e.action?"resolved":"open";w("resolved"===a?e=>{if(e)return null}:t=>{if(t)return s({},t,{replies:[...t.replies,e]})}),E((e=>s({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?s({},e,{status:a,replies:e.replies+1}):e))}))),v((t=>t.map((t=>t.commentId===n?s({},t,{status:a,replies:[...t.replies,e]}):t))))}),[]),A=(0,a.useCallback)((e=>{let{content:t,namedUsers:n,commentId:a,action:r,uri:l}=e;P(!0);const i={content:t,action:r,namedUsers:n};return(0,o.PP2)({collaborationPath:b,tenant:m,commentId:a,data:i}).then((e=>{let[t]=e;return z(t,l,a)})).catch(p).finally((()=>P(!1)))}),[b,m,z]),L=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;A({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[A]),B=(0,a.useCallback)((e=>{let{commentId:t,uri:n}=e;A({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[A]);return{clearCurrentComment:(0,a.useCallback)((()=>{w(null)}),[]),comments:y,commentsMap:x,createComment:N,createReply:A,currentComment:C,deleteComment:F,editComment:I,getComment:D,getComments:j,getCommentsCount:R,loading:O,objectTypes:n,pageToken:g,reOpenThread:B,resolveThread:L,sending:S}}},80225:(e,t,n)=>{n.d(t,{a:()=>m});var a=n(24328),r=n(52730),l=n(17440),o=n(35674),i=n(22241),s=n(29627),c=n(90690);function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=(0,l.when)(l.identity,(0,l.pipe)(i.VGB,l.length,(0,l.times)((e=>e+1)))),m=e=>{let{sorting:t,filter:n,page:p,rowsPerPage:m,config:b,entity:h,relationActivityFilter:g,mode:f}=e;const[y,v]=(0,a.useState)(!1),x=(0,r.useDispatch)(),E=(0,r.useSelector)(o.ZP.selectors.getTenant),C=(0,r.useSelector)(o.ZP.selectors.getDtssPath),{activityFilter:w,globalFilter:S}=(0,r.useSelector)(o.ZP.selectors.getGlobalSearchRequestOptions)||{},P=(0,s._)(),O=b.suggested,T=(0,a.useCallback)((()=>{if(null!=h&&h.uri){const e=u({},b.content,{sortBy:null==t?void 0:t.field,order:null==t?void 0:t.order,returnDates:!0,returnObjects:!0,activeness:{relation:g||i.Ng6.ALL,entity:w},max:m,offset:p*m,filter:(0,i.vyX)(S,n)||void 0,suggested:d(O)}),a=[e].concat((0,l.ifElse)(l.identity,(0,l.pipe)(i.VGB,(t=>t.map(((t,n)=>u({},t,{id:e.suggested[n]}))))),(0,l.always)([]))(O)),r=(0,l.cond)([[(0,l.pipe)((0,l.prop)("uri"),i.ZiX),()=>Promise.resolve([{total:0}])],[i.biM,e=>(0,i.n_1)({entityUri:e.uri,configs:a,customerTenant:E,dataTenant:e.dataTenant,dtssPath:C})],[l.T,e=>(0,i.N6e)(e.uri,a)]]);v(!0),P(r(h)).then((e=>{let[{connections:t,total:n}]=e;x(o.N5.relations.actions.relationsLoaded({id:b.id,connections:t,total:n}))})).finally((()=>{v(!1)}))}}),[w,b,x,C,null==h?void 0:h.uri,null==h?void 0:h.dataTenant,n,S,p,g,m,P,t,E]),k=(0,a.useRef)(!1);k.current=!1,(0,a.useEffect)((()=>{k.current=!0,T()}),[T]);const Z=(0,c.D)(f);return(0,a.useEffect)((()=>{f!==i.ARY.Viewing||k.current||Z===f||(k.current=!0,T())}),[T,f,Z]),{isLoading:y,reload:T}}},10:(e,t,n)=>{n.d(t,{U:()=>i});var a=n(24328),r=n(52730),l=n(22241),o=n(35674);const i=()=>{const[e,t]=(0,a.useState)([]),n=(0,r.useSelector)(o.ZP.selectors.getTenant),i=(0,r.useSelector)(o.ZP.selectors.getServicesPath),s=e=>{console.warn("Users error",e),t([])};return(0,a.useEffect)((()=>{(0,l.kz_)({tenant:n,servicesPath:i}).then((e=>{let{array:n}=e;return t(n)})).catch(s)}),[n,i]),e}},98984:(e,t,n)=>{n.r(t),n.d(t,{default:()=>$t});var a=n(24328),r=n.n(a),l=n(52730),o=n(8598),i=n(36138),s=n(44443),c=n(22664),u=n(12212),p=n(97333),d=n(17440),m=n(35674),b=n(22241),h=n(10),g=n(55962),f=n(80225),y=n(36852),v=n(89575),x=n(58142),E=n(63929),C=n(33109),w=n(76368),S=n(87378),P=n(42011);function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){T(e,t,n[t])}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k={relationsTable:{},attributesTable:{}};var Z=n(75975),R=n(79573),j=n(17569),D=n(87918),N=n.n(D);const I="relation.type",F="relation.attributes",z=[{id:"entity.label",get label(){return N().text("Profile")},dataTypeDefinition:{type:b.oS0.TYPE_STRING},hideable:!1,filterable:!1,initialWidth:280,autoResize:!1},{id:I,get label(){return N().text("Type")}},{id:"relation.label",get label(){return N().text("Directional Label")},filterable:!1,dataTypeDefinition:{type:b.oS0.TYPE_STRING}},{id:"relation.activeness.startDate",get label(){return N().text("Start Date")},dataTypeDefinition:{type:b.oS0.TYPE_ACTIVENESS_DATE}},{id:"relation.activeness.endDate",get label(){return N().text("End Date")},dataTypeDefinition:{type:b.oS0.TYPE_ACTIVENESS_DATE}},{id:F,get label(){return N().text("Attributes")},sortable:!1,filterable:!1,maxAttrsToShow:7}],A=(0,d.pluck)("id",z),L=[I,F],B=[20,50,100],M=(0,d.pipe)(b.Tde,(0,d.concat)("relation.")),U=(0,d.pipe)((0,d.map)((e=>({id:M(e.uri),label:e.label,dataTypeDefinition:(0,b.PFL)(e)}))),(0,d.uniqBy)((0,d.prop)("id")));function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){_(e,t,n[t])}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const W="CHANGE_RELATION_TYPE",H="APPLY_SAVED_STATE",q="SAVE_CURRENT_STATE",G=V({},Z.ZP.actions,{changeRelationType:(0,R.zD)(W),applySavedState:(0,R.zD)(H),saveCurrentState:(0,R.zD)(q)}),$=(0,d.assoc)("page",0),Y=e=>(0,d.pipe)((0,d.prop)("visibleColumns"),(0,d.ifElse)((0,d.always)(e.currentRelationType),(0,d.without)(L),(0,d.concat)(L)),(0,d.intersection)(A))(e),X=e=>(0,d.path)(["visibleColumnsForRelationTypes",`${e.currentRelationType}`],e),K=e=>{const t=(0,d.either)(X,Y)(e);return Z.ZP.changeVisibleColumns(e,t)},Q=e=>{const{currentRelationType:t,visibleColumns:n}=e;return(0,d.evolve)({visibleColumnsForRelationTypes:(0,d.assoc)(`${t}`,n)},e)},J=(0,d.pipe)(Q,(0,d.pick)(["currentRelationType","visibleColumnsForRelationTypes","filters","sorting"]));var ee=n(9377),te=n(90436),ne=n(17998),ae=n(55310),re=n(79935),le=n(33903),oe=n(54238),ie=n(1128),se=n(79692);const ce=(0,se.Z)({select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}}),ue=e=>{let{value:t,onChange:n,relationTypes:l,className:o}=e;const i=ce(),s=(0,a.useMemo)((()=>(0,d.pipe)((0,d.map)((e=>{let{label:t,uri:n}=e;return{label:t,value:n}})),(0,d.concat)([{value:"",label:N().text("All types")}]))(l)),[l]);return r().createElement("div",{className:o},r().createElement(ie.Z,{displayEmpty:!0,disableUnderline:!0,classes:{select:i.select},TextFieldProps:{classes:{root:i.textField}},MenuProps:{classes:{list:i.selectMenu}},value:t||"",entries:s,onChange:e=>n(e||null)}))},pe=(0,se.Z)((e=>({header:{height:"56px",boxSizing:"border-box",paddingRight:"10px"},title:{fontSize:"16px"},total:{fontSize:"14px",color:e.palette.text.secondary,flexShrink:0,marginRight:"5px"},relationTypeSelector:{margin:"0px 10px 0 30px",overflow:"hidden"}}))),de=(0,a.memo)((e=>{let{total:t,filteringEnabled:n,onToggleFilters:a,columnsData:l,selectedColumns:o,currentRelationType:i,onRelationTypeChange:s,relationTypes:c,onChangeColumns:u}=e;const p=pe();return r().createElement(ne.Z,{title:N().text("Relationships"),classes:{root:p.header,title:p.title}},c.length>0&&r().createElement(ue,{className:p.relationTypeSelector,value:i,onChange:s,relationTypes:c}),r().createElement(ae.Z,{height:28,margin:20}),r().createElement(te.Z,{variant:"caption",className:p.total},1===t?N().text("${count} record",{count:t}):N().text("${count} records",{count:t})),r().createElement(re.Z,null),r().createElement(le.Z,{enabled:n,onClick:a}),r().createElement(ae.Z,{height:28,margin:8}),r().createElement(oe.Z,{columnsData:l,selectedColumns:o,onChangeColumns:u}))}));var me=n(16809),be=n(66678),he=n(45108),ge=n(80030),fe=n(85103),ye=n(92332),ve=n(25843);const xe=(0,se.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%",width:"100%",fontSize:"12px",color:e.palette.text.secondary,background:"linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)), #FFFFFF"},rowCell:{fontSize:"13px",overflow:"hidden",overflowWrap:"break-word"},inactiveRowCell:{opacity:.6},defaultWrapper:{padding:"15px 25px 0 25px","&:last-child":{paddingBottom:"15px"}},entityCell:{display:"flex",alignItems:"flex-start",padding:"15px"},entityAvatar:{transform:"scale(0.5)",margin:"-10px 0 -10px -10px"},inactiveEntityAvatar:{overflow:"initial","&:after":{content:'""',position:"absolute",backgroundColor:"rgb(209, 206, 206)",border:"1px solid rgba(0, 0, 0, 1)",borderRadius:"2px",width:"12px",right:0,bottom:0,height:"12px"},"& > img":{borderRadius:"50%",overflow:"hidden"}},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontWeight:500},attributesWrapper:{padding:"15px 25px 10px 25px",color:"rgba(0,0,0,0.87)"},commentsContainer:{marginLeft:"auto"}}))),Ee=(0,ve.Z)((e=>{const t=xe();return r().createElement("div",{className:t.headCell},r().createElement(ye.default,e))}));var Ce=n(71153),we=n.n(Ce),Se=n(62901),Pe=n(42662),Oe=n(18527),Te=n(72316);const ke=e=>{let{value:{entity:t,entityType:n,relation:a},isInactiveRelation:o}=e;const i=xe(),s=(0,l.useSelector)(m.ZP.selectors.getEntityUri);return r().createElement("div",{className:we()(i.entityCell,Se.U)},r().createElement(Pe.Z,{className:we()(i.entityAvatar,{[i.inactiveEntityAvatar]:o}),entityType:n}),r().createElement(Oe.Z,{value:(0,b.wwR)({uri:t.entityUri,dataTenant:t.dataTenant}),className:i.entityLabel},(0,b.idV)(t.entityLabel)),r().createElement("div",{className:i.commentsContainer,onClick:e=>e.stopPropagation()},r().createElement(Te.Z,{uri:a.relationUri,relatedObjectUris:(0,b.wp9)(b.q7e.RELATION,{entityUri:s,connection:{relation:a,entity:t}}),objectType:b.q7e.RELATION,allowOnlyOneComment:!0})))};var Ze=n(89978);const Re=e=>{let{columnData:t,value:{attributes:n,attributeTypes:a}}=e;const l=xe();return r().createElement("div",{className:l.attributesWrapper,onClick:e=>e.stopPropagation()},r().createElement(Ze.Z,{max:t.maxAttrsToShow,entity:{attributes:n},attrTypes:a,drawLines:!1}))};var je=n(67586);const De=e=>{let{value:t,columnData:{dataTypeDefinition:n}}=e;const a=xe();return r().createElement("div",{className:a.defaultWrapper},r().createElement(je.Z,{value:t,dataTypeDefinition:n}))};function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ie=(0,d.pipe)((0,d.split)("."),(0,d.slice)(2,1/0)),Fe=e=>{if(e.startsWith("relation.attributes")){const t=Ie(e);return t.length>1?t.slice(0,-1):null}return null},ze=e=>{switch(e){case"entity.label":return ke;case"relation.attributes":return Re;default:return De}},Ae=(0,d.map)((e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Ne(e,t,n[t])}))}return e}({sortable:!0,resizable:!0},e,{headCellRenderer:Ee,nestedPath:Fe(e.id),rowCellValueRenderer:ze(e.id)}))),Le=(0,d.cond)([[(0,d.pathEq)(["columnData","id"],"relation.attributes"),e=>{let{columnData:t,cell:n}=e;const a=(0,d.pipe)((0,d.path)(["values",0,"attributes"]),d.values,d.length)(n);return a>t.maxAttrsToShow?26*t.maxAttrsToShow+49:26*a+25}],[d.T,fe.Z]]);function Be(){return Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Be.apply(this,arguments)}const Me=e=>{let{cell:t,CellValueRenderer:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["cell","CellValueRenderer"]);const l=xe();return r().createElement("div",{className:we()(l.rowCell,{[l.inactiveRowCell]:a.isInactiveRelation})},t.values.map(((e,t)=>r().createElement(n,Be({key:t,value:e},a)))))};var Ue=n(22983),Ve=n(43054),_e=n(98538),We=n(40435),He=n(22118),qe=n(12231),Ge=n(78223);const $e=(0,se.Z)((e=>({menuItem:{minHeight:"32px",color:e.palette.text.secondary},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0,marginLeft:"16px"},buttons:{display:"flex",alignItems:"center",paddingRight:"5px"}}))),Ye=(0,Ge.Z)(qe.Z),Xe=(0,a.forwardRef)(((e,t)=>{let{item:n,onMenuClose:a=R.ZT}=e;const l=$e(),{icon:o,disabled:i,text:s,tooltip:c,onClick:u}=n;return r().createElement(Ye,{tooltipTitle:c,showForDisabled:!0,classes:{root:l.menuItem},onClick:e=>{a(),u(e)},disabled:i,ref:t},o,r().createElement(te.Z,{classes:{root:l.menuText}},s))}));Xe.displayName="MenuItemRenderer";const Ke=Xe,Qe=e=>{let{disableDelete:t,connection:{entity:n,relation:o},onMenuOpen:i=R.ZT,onMenuClose:s=R.ZT,onDelete:c}=e;const u=$e(),p=(0,l.useSelector)(m.ZP.selectors.getMetadata),h=(0,d.pipe)((0,d.prop)("relationType"),(0,b.V3K)(p),(0,b.uGe)(b.BDP.DELETE))(o),g=!t&&h,[f,y]=(0,a.useState)(!1),v=()=>y(!1),x=[{disabled:!g,text:N().text("Delete"),icon:r().createElement(Ue.Z,null),tooltip:g?null:N().text("You don't have permissions to delete"),onClick:()=>y(!0)}],E=(0,a.useCallback)((()=>{f||s()}),[f,s]);return r().createElement("div",{className:u.buttons},r().createElement(_e.Z,{MenuItemRenderer:Ke,menuId:"relationships-table-actions",buttonComponent:We.Z,buttonProps:{icon:Ve.Z,size:"S"},menuItems:x,onMenuOpen:i,onMenuClose:E}),r().createElement(He.Z,{open:f,title:N().text('Do you want to delete relationship "${label}"?',{label:(C=(0,b.idV)(n.entityLabel),C.length>17?`${C.substring(0,17)}...`:C)}),content:N().text("This relationship will be removed and all the values in the relationship will be permanently deleted. Are you sure you want to delete this relationship?"),onSave:(0,d.pipe)(v,s,c),onDiscard:(0,d.pipe)(v,s),saveCaption:N().text("Delete"),discardCaption:N().text("Cancel")}));var C},Je=(0,se.Z)({tableContainer:{flex:1,overflow:"hidden",display:"flex",zIndex:0},hoveredRowRightContentWrapper:{width:"100%",pointerEvents:"none!important"},menuButtonContainer:{position:"absolute",top:"calc(50% - 12px)",right:0,pointerEvents:"all"},tooltipAnchor:{width:"100%",height:"1px"}});function et(){return et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},et.apply(this,arguments)}const tt=(0,a.memo)((e=>{let{metadata:t,connections:n,columnsData:l,sorting:o,onSort:i,filters:s,onFilter:c,onRowClick:u,tableRef:p,onDelete:m,readOnly:h}=e;const g=Je(),f=(0,a.useMemo)((()=>((e,t,n)=>(n||[]).map((n=>(0,d.pipe)((0,d.reduce)(((t,a)=>{let{id:r}=a;return(0,d.assoc)(r,((e,t,n)=>{let{entity:a,relation:r}=t;switch(n){case"entity.label":return{entity:a,entityType:(0,b.nt9)(e,a.entityType),relation:r};case"relation.type":return r.relationType;case"relation.label":return r.relationLabel;case"relation.activeness.startDate":return r.startDate;case"relation.activeness.endDate":return r.endDate;case"relation.attributes":return{attributes:r.object.attributes,attributeTypes:(0,b.V3K)(e,r.relationType).attributes};default:return((e,t)=>(0,d.pipe)((0,d.path)(["object","attributes"]),(0,b.tT_)(e))(t))(Ie(n),r)}})(e,n,r),t)}),{}),(0,d.assoc)("rawValue",n))(t))))(t,l,n)),[t,n,l]),y=(0,a.useMemo)((()=>Ae(l)),[l]),{getDynamicRowCellHeight:v,changeRowCellHeight:x}=(0,me.Z)(),E=(0,a.useCallback)((0,d.either)(v,Le),[v,Le]),[C,w]=(0,a.useState)(null),S=(0,a.useCallback)((e=>{const t=!(0,b.Fn9)(e.rowValue.rawValue.relation);return r().createElement(be.Z,et({onChangeHeight:x},e),r().createElement(Me,et({},e,{isInactiveRelation:t})))}),[x]),[P,O]=(0,a.useState)(!1),T=(0,a.useCallback)((()=>O(!0)),[]),k=(0,a.useCallback)((()=>{w(null),O(!1)}),[]),Z=(0,a.useCallback)((e=>w((t=>P?t:e))),[P]),R=(0,a.useMemo)((()=>{const e=null!=C?f[C].rawValue:null,t=!(0,b.Fn9)(null==e?void 0:e.relation);return e&&r().createElement(r().Fragment,null,r().createElement(ge.ZP,{key:e.relation.relationUri,open:t,title:N().text("Inactive")},r().createElement("div",{className:g.tooltipAnchor})),r().createElement("div",{className:g.menuButtonContainer},r().createElement(Qe,{disableDelete:h,connection:e,onMenuOpen:T,onMenuClose:k,onDelete:()=>m(e.relation.relationUri)})))}),[m,f,C]);return r().createElement("div",{className:g.tableContainer},r().createElement(he.Z,{fixFirstColumn:!0,columnsData:y,rowsData:f,sorting:o,onSort:i,filters:s,onFilter:c,defaultColumnWidth:250,defaultColumnMinWidth:200,headRowHeight:48,getRowCellHeight:E,renderRowCell:S,onRowClick:u,ref:p,hoverStateEnabled:!0,hoverRowIndex:C,onRowHover:Z,hoveredRowRightContent:R,classes:{hoveredRowRightContentWrapper:g.hoveredRowRightContentWrapper}}))}));var nt=n(29627),at=n(82658),rt=n(73972),lt=n(1730),ot=n(23759),it=n(10938),st=n(64435),ct=n(38361),ut=n(77194),pt=n(99144),dt=n(65549),mt=n(77277),bt=n(71285),ht=n(10765);const gt=(0,se.Z)((()=>({tableRow:{"& + &":{marginTop:"4px"},margin:"auto",maxWidth:"448px"}})));function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yt=(0,a.memo)((e=>{let{readOnly:t,relation:n,metadata:l,selectedAttributeTypes:o,onDeleteCrosswalk:i,onEditCrosswalk:s}=e;const c=gt(),u=(0,b.V3K)(l,n.type),p=(0,a.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,d.pipe)((0,d.propOr)([],"crosswalks"),(0,d.map)((0,d.assoc)("ownerType","entity")),(0,ht.o)(e.type,t))(e)}(n,o)),[n,o]),[m,h]=(0,a.useState)([]),g=(0,a.useCallback)((e=>{i({entityUri:n.uri,crosswalkId:e})}),[i,n.uri]),f=(0,a.useCallback)((e=>{s(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){ft(e,t,n[t])}))}return e}({entityUri:n.uri},e))}),[s,n.uri]);return r().createElement("div",null,p.map((e=>{let{source:n,crosswalksByTypes:a}=e;return r().createElement("div",{key:n,className:c.tableRow},r().createElement(bt.Z,{source:n,crosswalksByTypes:a,expanded:m.includes(n),disableEditCrosswalk:!(0,b.Zm0)(u)||t,disableDeleteCrosswalk:!(0,b.a14)(u)||t,onEdit:f,onDelete:g,onToggleExpanded:()=>{h((0,d.ifElse)((0,d.includes)(n),(0,d.without)([n]),(0,d.append)(n)))}}))})))}));var vt=n(89468);const xt=(0,se.Z)((e=>({header:{display:"flex",flexDirection:"row",alignItems:"center",padding:"20px 12px",borderBottom:"1px solid rgba(0, 0, 0, 0.12)"},title:{fontWeight:500,fontSize:"20px",lineHeight:"23px",letterSpacing:"0.25px",color:e.palette.text.primary,marginLeft:"12px"},hint:{color:e.palette.text.secondary,display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"flex-start",margin:"4px 14px 10px"},hintText:{marginLeft:"8px",fontSize:"12px",lineHeight:"16px"},buttons:{display:"flex",padding:"8px 6px 4px"},buttonLabel:{fontSize:"14px",fontWeight:500,lineHeight:"16px"},icon:{fontSize:"18px",marginRight:"8px"},editor:{paddingLeft:25,margin:"auto",maxWidth:"448px",boxSizing:"border-box",marginBottom:"4px"},tableContainer:{overflowY:"auto",overflowX:"hidden",paddingLeft:"16px",paddingRight:"6px"}}))),Et=(0,Ge.Z)(mt.Z),Ct=(0,a.memo)((e=>{let{className:t,readOnly:n,relation:o,selectedAttributeTypes:i,onAddCrosswalk:s,onDeleteCrosswalk:c,onEditCrosswalk:u}=e;const p=xt(),d=(0,l.useSelector)(m.ZP.selectors.getMetadata),h=(0,b.V3K)(d,o.type),[g,f]=(0,a.useState)(!1),y=(0,b.mkC)(h)&&!n;return r().createElement("div",{className:t},r().createElement("div",{className:p.header},r().createElement("span",{className:p.title},N().text("Legend"))),r().createElement("div",{className:p.buttons},r().createElement(Et,{color:"primary",showForDisabled:!0,disabled:!y,tooltipTitle:y?null:N().text("You don't have permissions to add crosswalk"),onClick:()=>f(!0)},r().createElement(dt.Z,{className:p.icon}),r().createElement("div",{className:p.buttonLabel},N().text("Crosswalk")))),r().createElement("div",{className:p.hint},r().createElement(pt.Z,{className:p.icon}),r().createElement("span",{className:p.hintText},N().text("You can drag a crosswalk to add values to attributes swimlanes"))),r().createElement("div",{className:p.tableContainer},g&&r().createElement(vt.Z,{className:p.editor,onAdd:e=>s({entity:o,crosswalk:e}),onClose:()=>f(!1)}),r().createElement(yt,{readOnly:n,metadata:d,relation:o,selectedAttributeTypes:i,onDeleteCrosswalk:c,onEditCrosswalk:u})))}));var wt=n(83088),St=n(23147),Pt=n(90143),Ot=n(20146);const Tt=(0,se.Z)((e=>({entityInfo:{flex:"0 1 auto",overflow:"hidden",minWidth:"100px"},entityLabelContainer:{display:"flex",alignItems:"center",overflow:"hidden"},entityLabel:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary},infoIcon:{fontSize:"16px",color:e.palette.text.secondary,marginLeft:"5px"},profileBand:{margin:"-10px",maxWidth:"500px"},entityTypeBadge:{marginTop:"7px"}}))),kt=e=>{let{entity:t}=e;const n=Tt(),a=(0,b.idV)(t.label);return r().createElement("div",{className:n.entityInfo},r().createElement("div",{className:n.entityLabelContainer},r().createElement(wt.C,{value:a},r().createElement(te.Z,{variant:"h6",className:n.entityLabel,noWrap:!0},a)),r().createElement(Pt.Z,{title:r().createElement(C.Z,{className:n.profileBand,entity:t}),placement:"right"},r().createElement(pt.Z,{className:n.infoIcon}))),r().createElement(Ot.Z,{className:n.entityTypeBadge,entity:t,size:"medium"}))},Zt=(0,se.Z)((e=>({root:{flexShrink:0,overflow:"hidden",width:"110px"},label:{color:e.palette.text.secondary,fontSize:"13px"}}))),Rt=e=>{let{relation:t}=e;const n=Zt(),{direction:a,relationLabel:l}=t;return r().createElement("div",{className:n.root},r().createElement(wt.C,{value:l},r().createElement(te.Z,{variant:"subtitle2",className:n.label,align:"center",noWrap:!0},l)),r().createElement("svg",{width:"110",height:"12",fill:"black",fillOpacity:"0.3"},"out"===a&&r().createElement("polygon",{points:"94 0, 110 6, 94 12, 94 9, 0 9, 0 3, 94 3"}),"bidirectional"===a&&r().createElement("polygon",{points:"94 0, 110 6, 94 12, 94 9, 16 9, 16 12, 0 6, 16 0, 16 3, 94 3"}),"in"===a&&r().createElement("polygon",{points:"16 12, 0 6, 16 0, 16 3, 110 3, 110 9, 16 9"})))};var jt=n(39600),Dt=n(27604),Nt=n(79784);const It=(0,se.Z)((()=>({root:{"&:hover $editButton":{visibility:"visible"}},editButton:{visibility:"hidden",marginLeft:"4px",marginBottom:"4px"},paper:{width:"150px",border:"3px solid rgba(0, 0, 0, 0.3)",borderRadius:"4px",boxSizing:"border-box",overflow:"hidden"}}))),Ft=e=>{let{value:t=null,onChange:n,readOnly:l}=e;const o=It(),i=(0,a.useRef)(),[s,c]=(0,a.useState)(!1),u=()=>c(!1),[p,d]=(0,a.useState)(t),m=()=>{p!==t&&n(p),u()};return r().createElement("span",{ref:i,className:o.root},t&&(0,b.p6d)(t),r().createElement(We.Z,{disabled:l,icon:Dt.Z,size:"XXS",className:o.editButton,onClick:()=>c(!0)}),r().createElement(Nt.ZP,{classes:{paper:o.paper},open:s,anchorEl:i.current,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:14,horizontal:20},onKeyUp:e=>{"Enter"===e.key?m():"Escape"===e.key&&u()},onBackdropClick:m},r().createElement(jt.Z,{InputProps:{autoFocus:!0,disableUnderline:!0,fullWidth:!0},size:"small",hiddenLabel:!0,label:void 0,value:p&&new Date(p),onChange:e=>d(e&&e.valueOf())})))},zt=(0,se.Z)((e=>({relationBand:{flexShrink:0,boxShadow:"inset 0px -1px 0px rgba(0,0,0,0.06)",padding:"16px 19px"},inactiveRelationBand:{opacity:.6,background:"rgba(185, 188, 197, 0.18)"},toolbar:{display:"flex",alignItems:"center",gap:"16px",marginBottom:"10px"},mainInfo:{display:"flex",gap:"16px",marginLeft:"40px"},detailsInfo:{display:"flex",gap:"34px",marginLeft:"40px",marginTop:"17px",color:e.palette.text.secondary,fontSize:"13px"},detailTitle:{color:e.palette.text.primary,flexShrink:0,marginRight:"4px"},directionalLabel:{display:"flex",overflow:"hidden","& span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},relationDate:{flexShrink:0},commentsContainer:{marginRight:"18px"}})));function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Lt(e,t,n[t])}))}return e}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bt=(0,a.memo)((e=>{let{readOnly:t,entity:n,connection:a,onNavigateBack:l,onDelete:o,onChangeActivenessDate:i}=e;const s=!(0,b.Fn9)(a.relation),c=zt();return r().createElement("div",{className:we()(c.relationBand,Se.U,{[c.inactiveRelationBand]:s})},r().createElement("div",{className:c.toolbar},r().createElement(We.Z,{icon:St.Z,size:"S",onClick:()=>l()}),r().createElement(te.Z,{variant:"subtitle2",display:"inline"},N().text("Back to relationships")),r().createElement(re.Z,null),r().createElement("div",{className:c.commentsContainer},r().createElement(Te.Z,{uri:a.relation.relationUri,relatedObjectUris:(0,b.wp9)(b.q7e.RELATION,{entityUri:null==n?void 0:n.uri,connection:a}),objectType:b.q7e.RELATION,allowOnlyOneComment:!0})),r().createElement(Qe,{connection:a,onDelete:o,disableDelete:t})),r().createElement("div",{className:c.mainInfo},r().createElement(kt,{entity:n}),r().createElement(Rt,{relation:a.relation}),r().createElement(kt,{entity:At({},a.entity.object,{dataTenant:a.entity.dataTenant})})),r().createElement("div",{className:c.detailsInfo},r().createElement("div",{className:c.directionalLabel},r().createElement("span",{className:c.detailTitle},N().text("Directional label:")),r().createElement(wt.C,{value:a.relation.relationLabel},r().createElement("span",null,a.relation.relationLabel))),r().createElement("div",{className:c.relationDate},r().createElement("span",{className:c.detailTitle},N().text("Start date:")),r().createElement(Ft,{value:a.relation.startDate,onChange:e=>i("startDate",e),readOnly:t})),r().createElement("div",{className:c.relationDate},r().createElement("span",{className:c.detailTitle},N().text("End date:")),r().createElement(Ft,{value:a.relation.endDate,onChange:e=>i("endDate",e),readOnly:t}))))})),Mt=e=>{console.error(e),p.Z.addError({title:N().text("Error"),message:(0,b.xU7)(e,N().text("Something went wrong"))})};var Ut=n(58651),Vt=n(13896);const _t=(0,se.Z)({detailsView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"},locked:{pointerEvents:"none"},resizablePanesWrapper:{flexGrow:1},pane:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",overflow:"hidden"}}),Wt=(0,a.memo)((e=>{let{entity:t,connection:n,visibleColumns:l,onClose:o,onDeleteConnection:i,onChangeConnection:s,onChangeVisibleColumns:c,readOnly:u}=e;const p=_t(),m=(()=>{const[e,t]=(0,a.useState)([]),n=(0,a.useRef)([]),r=(0,a.useCallback)((0,b.DsO)((()=>{t([...n.current])}),50),[]),l=(0,a.useCallback)((e=>{n.current=e,r(e)}),[r]),o=(0,a.useCallback)(((e,t)=>{e&&l(t?[e]:[])}),[l]),[i,s]=(0,a.useState)([]),c=(0,a.useCallback)((e=>{e&&s((t=>{return n=[e],a=t,(0,d.concat)(n.filter((e=>!(0,d.any)((0,b.aFF)(e),a))),a.filter((e=>!(0,d.any)((0,b.aFF)(e),n))));var n,a}))}),[]);return{highlightedCrosswalks:(0,a.useMemo)((()=>[...e,...i]),[e,i]),focusedCrosswalks:i,toggleCrosswalkFocus:c,setCrosswalkHighlighted:o}})(),[h,g]=(0,a.useState)(-480),f=(0,a.useCallback)((e=>{let{percentageSize:t}=e;return g(t)}),[]),[y,v]=(0,a.useState)(),[x,E]=(0,a.useState)(!1),C=n.relation.relationUri,w=(0,nt._)(),S=(0,a.useCallback)((()=>E(!0)),[]),P=(0,a.useCallback)((()=>E(!1)),[]),O=(0,a.useCallback)((0,d.pipe)(i,S),[]),[T,k]=(0,a.useMemo)((()=>{const e=e=>{e.errorCode===b.Xt7.CROSSWALK_NOT_FOUND?(Mt(e),t()):e.errorCode===b.Xt7.OBJECT_NOT_FOUND?o(e):(Mt(e),P())},t=()=>{w((0,b._vs)(C)).then((e=>{s((0,d.assocPath)(["relation","object"],e,n)),P()})).catch(e)};return[e,t]}),[n,P,s,o]),{modifiedEntity:Z,crosswalksMap:R,newlyCreatedAttributes:j,onPinAttribute:D,onIgnoreAttribute:N,onAddAttribute:I,onEditAttribute:F,onDeleteAttribute:z}=(0,at.Q)({entity:n.relation.object,onModify:k,onError:T,onLoad:S}),{addCrosswalk:A,deleteCrosswalk:L,editCrosswalk:B}=(0,rt.P)({onSuccess:k,onError:T,onLoad:S}),M=(0,a.useCallback)(((e,t)=>{S(),(t?(0,b.rj2)({entityUri:C,attributeName:e,value:t}).then((()=>s((0,d.assocPath)(["relation",e],t,n)))):(0,b.X78)({entityUri:C,attributeName:e}).then((()=>s((0,d.dissocPath)(["relation",e],n))))).then(P).catch(T)}),[n,S,P,T]);return r().createElement(lt.Z,{className:p.detailsView},r().createElement(ot.hR,m,r().createElement(Vt.DndProvider,{backend:Ut.default},r().createElement(it.Z,null),r().createElement(st.Z,{className:we()(p.resizablePanesWrapper,{[p.locked]:x}),orientation:"vertical",size:h,minSize:600,maxSize:-480,allowResize:!0,onChange:f},r().createElement("div",{className:p.pane},r().createElement(Bt,{readOnly:u,entity:t,connection:n,onNavigateBack:o,onDelete:O,onChangeActivenessDate:M}),r().createElement(ct.R,{attributeUris:j},r().createElement(ut.Z,{readOnly:u,entity:Z,crosswalksMap:R,isLoading:x,onPin:D,onIgnore:N,onEdit:F,onAdd:I,onDelete:z,selectedAttributeTypes:y,onSelectAttributeTypes:v,visibleColumns:l,onChangeVisibleColumns:c}))),r().createElement(Ct,{readOnly:u,className:p.pane,relation:n.relation.object,selectedAttributeTypes:y,onAddCrosswalk:A,onDeleteCrosswalk:L,onEditCrosswalk:B})))))})),Ht=(0,se.Z)({relationshipsView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column"},"@global div[role=tooltip]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"@global div[role=presentation]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},pane:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",position:"relative"}}),qt=(0,l.connect)(((e,t)=>{let{config:{id:n}}=t;return{entity:m.ZP.selectors.getEntity(e),metadata:m.ZP.selectors.getMetadata(e),connections:m.ZP.selectors.getConnectionsByViewId(e,n),total:m.ZP.selectors.getTotalByViewId(e,n)}}))((e=>{let{config:t,entity:n,metadata:l,connections:o,total:i,saveState:s,getSavedState:c,dispatch:u}=e;const p=Ht(),T=(0,a.useRef)(),R=(0,h.U)(),D=(0,b.biM)(n),{type:N}=n||{},[{visibleColumns:I,filters:F,page:M,rowsPerPage:_,sorting:Y,currentRelationType:te,stateToSave:ne,entityTypeOfAppliedSavedState:ae},{changeColumns:re,toggleFilters:le,changeFilter:oe,changePage:ie,changeRowsPerPage:se,toggleSort:ce,changeRelationType:ue,saveCurrentState:pe,applySavedState:me}]=(e=>{let{defaultColumns:t,defaultSorting:n,defaultRowsPerPage:r}=e;const l={visibleColumns:t,filters:null,sorting:n,page:0,rowsPerPage:r,currentRelationType:null,stateToSave:null,visibleColumnsForRelationTypes:{},entityTypeOfAppliedSavedState:null},[o,i]=(0,a.useReducer)(((e,t)=>{switch(t.type){case W:{const n=t.payload;return(0,d.pipe)(Q,(0,d.assoc)("currentRelationType",n),K,$)(e)}case H:{const{savedState:n,entityTypeUri:a}=t.payload;return V({},e,n,{visibleColumns:n?X(n):e.visibleColumns,entityTypeOfAppliedSavedState:a})}case q:return V({},e,{stateToSave:J(e)});default:return Z.ZP.reducer(e,t)}}),l);return[o,(0,j.o)({actions:G,dispatch:i})]})({defaultColumns:A,defaultRowsPerPage:B[0],defaultSorting:{field:A[0],order:"asc"}}),be=ae===N,{isLoading:he,relationsTableSavedState:ge,attributesTableSavedState:fe,updateRelationsTableSavedState:ye,updateAttributesTableSavedState:ve}=(e=>{var t;let{getSavedState:n,saveState:r,entityTypeUri:l}=e;const[o,i]=(0,a.useState)(k),[s,c]=(0,a.useState)(null);(0,g.D)((()=>{s&&(i(O({},o,{relationsTable:s})),c(null))}),[l]);const[u,p]=(0,a.useState)(!0);return(0,a.useEffect)((()=>{n().then((e=>{i(e||k)})).then((e=>p(!1))).catch((e=>p(!1)))}),[]),{isLoading:u,relationsTableSavedState:null===(t=o.relationsTable)||void 0===t?void 0:t[l],attributesTableSavedState:o.attributesTable,updateRelationsTableSavedState:e=>{const t=O({},o.relationsTable,{[l]:e});c(t),r(O({},o,{relationsTable:t}))},updateAttributesTableSavedState:e=>{r(O({},o,{attributesTable:e}))}}})({getSavedState:c,saveState:s,entityTypeUri:N}),[xe,Ee]=(0,a.useState)();(0,a.useEffect)((()=>{he||me({savedState:ge,entityTypeUri:N})}),[he,N]),(0,a.useEffect)((()=>{he||Ee(null==fe?void 0:fe.visibleColumns)}),[he]),(0,g.D)((()=>{be&&ye(ne)}),[ne]),(0,g.D)((()=>{ie(0)}),[n]);const[Ce,we]=(0,a.useState)(),Se=(0,a.useCallback)((()=>{we(null)}),[]),Pe=(0,a.useMemo)((()=>{const e=(0,b.io3)(l,N);return l.relationTypes.filter((0,d.both)((0,b.uGe)(b.BDP.READ),(t=>{let{startObject:n,endObject:a}=t;return e.some((0,d.either)((0,d.equals)(n.objectTypeURI),(0,d.equals)(a.objectTypeURI)))})))}),[l,N]),Oe=(0,a.useMemo)((()=>((e,t)=>t?(0,d.pipe)((0,d.find)((e=>e.uri===t)),b.DK$,U,(0,d.concat)(z),(0,d.reject)((e=>{let{id:t}=e;return L.includes(t)})))(e):(e=>{return t=(0,d.assoc)("dataTypeDefinition",(e=>({type:b.oS0.TYPE_SELECT,options:e.map((e=>{let{uri:t,label:n}=e;return{value:t,label:n}}))}))(e)),e=>(0,d.adjust)(e.findIndex((0,d.propEq)("id","relation.type")),t,e);var t})(e)(z))(Pe,te)),[Pe,te]),Te=(0,a.useMemo)((()=>I.map((e=>Oe.find((0,d.propEq)("id",e)))).filter(d.identity)),[I,Oe]),ke=(0,a.useMemo)((()=>{const e=(0,d.pipe)((0,d.when)((0,d.always)(te),(0,d.filter)((0,d.propEq)("uri",te))),(0,d.map)((0,d.prop)("uri")))(Pe);return{id:t.id,content:{inRelations:e,outRelations:e}}}),[t.id,te,Pe]),Ze=(0,a.useMemo)((()=>((e,t)=>{const n=(0,ee.Tz)(t,e);return(new b.MEy).addClause(n).build()})(F,Te)),[F,Te]),{isLoading:Re,reload:je}=(0,f.a)({page:M,rowsPerPage:_,config:ke,entity:be?n:null,filter:Ze,mode:b.ARY.Viewing,sorting:Y}),De=!be||Re,Ne=(0,a.useCallback)((0,d.pipe)(ce,pe),[ce,pe]),Ie=(0,a.useCallback)((0,d.pipe)(oe,pe),[oe,pe]),Fe=(0,a.useCallback)((0,d.pipe)(le,pe),[le,pe]),ze=(0,a.useCallback)((0,d.pipe)(re,pe),[re,pe]),Ae=(0,a.useCallback)((0,d.pipe)(ue,pe),[ue,pe]),Le=(0,a.useCallback)((e=>{Ee(e),ve({visibleColumns:e})}),[ve]),Be=null==o?void 0:o[Ce],Me=(0,a.useCallback)((e=>{u(m.N5.relations.actions.relationsLoaded({id:t.id,connections:(0,d.update)(Ce,e,o),total:i}))}),[Be]),[Ue,Ve]=(0,a.useMemo)((()=>[(0,b.w3p)(o),[b.q7e.RELATION]]),[o]),_e=(0,y.C)({objectIds:Ue,objectTypes:Ve,enabled:!D}),We=(0,a.useMemo)((()=>(0,b.Px$)(o)),[o]),He=(0,a.useCallback)((e=>{Mt(e),e.errorCode===b.Xt7.OBJECT_NOT_FOUND&&je()}),[je]),qe=(0,a.useCallback)((e=>{(0,d.pipe)(b.VGk,(0,d.andThen)(je),(0,d.otherwise)(He))(e)}),[je,He]),Ge=(0,a.useCallback)((()=>{(0,d.pipe)(b.VGk,(0,d.andThen)((0,d.pipe)(Se,je)),(0,d.otherwise)((e=>{e.errorCode===b.Xt7.OBJECT_NOT_FOUND&&Se(),He(e)})))(Be.relation.relationUri)}),[Be,je,Se,He]),$e=(0,a.useCallback)((e=>{e&&He(e),Se()}),[He,Se]);return r().createElement(v.s.Provider,{value:R},r().createElement(x.h.Provider,{value:_e},r().createElement(E.X.Provider,{value:We},r().createElement("div",{className:p.relationshipsView},r().createElement(C.Z,{entity:n},r().createElement(w.a,null)),r().createElement(de,{total:i,filteringEnabled:!!F,onToggleFilters:Fe,columnsData:Oe,selectedColumns:I,onChangeColumns:ze,relationTypes:Pe,currentRelationType:te,onRelationTypeChange:Ae}),r().createElement("div",{className:p.pane},De&&r().createElement(S.Z,null),r().createElement(tt,{readOnly:D,metadata:l,connections:o,columnsData:Te,sorting:Y,onSort:Ne,filters:F,onFilter:Ie,onRowClick:we,tableRef:T,onDelete:qe}),r().createElement(P.Z,{count:i,rowsPerPageOptions:B,page:M,onChangePage:ie,rowsPerPage:_,onChangeRowsPerPage:se,basicTableRef:T})),Be&&r().createElement(Wt,{readOnly:D,entity:n,visibleColumns:xe,onChangeVisibleColumns:Le,connection:Be,onClose:$e,onDeleteConnection:Ge,onChangeConnection:Me})))))})),Gt=(0,i.createGenerateClassName)({productionPrefix:"relationshipsPerspective",disableGlobal:!0}),$t=e=>{let{config:t,store:n,onResize:d,saveState:m,getSavedState:h}=e;const g=(0,a.useCallback)((0,b.aYu)(h),[h]);return r().createElement(l.Provider,{store:n},r().createElement(u.m.Provider,{value:t.id},r().createElement(i.StylesProvider,{generateClassName:Gt},r().createElement(c.MuiPickersUtilsProvider,{utils:o.Z},r().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>null==d?void 0:d(Math.floor(e),Math.floor(t))}),t&&r().createElement(qt,{config:t,saveState:m,getSavedState:g}),r().createElement(p.Z,null)))))}}}]);
|
package/3716.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3716],{4190:(e,t,r)=>{r.d(t,{wE:()=>b,ni:()=>h,ZP:()=>Z});var n=r(7560),o=r(54530),a=r(24328),i=(r(13980),r(6277)),l=r(35111),s=r(41262),c=r(15459),u=r(62339),p=r(27556),d=r(97580),f=r(39265),m=r(60364),g={left:"right",right:"left",top:"down",bottom:"up"};function b(e){return-1!==["left","right"].indexOf(e)}function h(e,t){return"rtl"===e.direction&&b(t)?g[t]:t}var y={enter:f.x9.enteringScreen,exit:f.x9.leavingScreen},v=a.forwardRef((function(e,t){var r=e.anchor,c=void 0===r?"left":r,f=e.BackdropProps,b=e.children,v=e.classes,Z=e.className,w=e.elevation,C=void 0===w?16:w,x=e.ModalProps,E=(x=void 0===x?{}:x).BackdropProps,A=(0,o.Z)(x,["BackdropProps"]),O=e.onClose,k=e.open,S=void 0!==k&&k,R=e.PaperProps,P=void 0===R?{}:R,T=e.SlideProps,B=e.TransitionComponent,D=void 0===B?u.Z:B,N=e.transitionDuration,I=void 0===N?y:N,M=e.variant,j=void 0===M?"temporary":M,L=(0,o.Z)(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),F=(0,m.Z)(),V=a.useRef(!1);a.useEffect((function(){V.current=!0}),[]);var H=h(F,c),W=a.createElement(p.Z,(0,n.Z)({elevation:"temporary"===j?C:0,square:!0},P,{className:(0,i.Z)(v.paper,v["paperAnchor".concat((0,d.Z)(H))],P.className,"temporary"!==j&&v["paperAnchorDocked".concat((0,d.Z)(H))])}),b);if("permanent"===j)return a.createElement("div",(0,n.Z)({className:(0,i.Z)(v.root,v.docked,Z),ref:t},L),W);var z=a.createElement(D,(0,n.Z)({in:S,direction:g[H],timeout:I,appear:V.current},T),W);return"persistent"===j?a.createElement("div",(0,n.Z)({className:(0,i.Z)(v.root,v.docked,Z),ref:t},L),z):a.createElement(l.Z,(0,n.Z)({BackdropProps:(0,n.Z)({},f,E,{transitionDuration:I}),BackdropComponent:s.Z,className:(0,i.Z)(v.root,v.modal,Z),open:S,onClose:O,ref:t},L,A),z)}));const Z=(0,c.Z)((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(v)},62339:(e,t,r)=>{r.d(t,{Z:()=>g});var n=r(7560),o=r(54530),a=r(24328),i=(r(13980),r(75047)),l=r(90708),s=r(75614),c=r(85974),u=r(60364),p=r(39265),d=r(41070);function f(e,t){var r=function(e,t){var r,n=t.getBoundingClientRect();if(t.fakeTransform)r=t.fakeTransform;else{var o=window.getComputedStyle(t);r=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var a=0,i=0;if(r&&"none"!==r&&"string"==typeof r){var l=r.split("(")[1].split(")")[0].split(",");a=parseInt(l[4],10),i=parseInt(l[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(a-n.left,"px)"):"right"===e?"translateX(-".concat(n.left+n.width-a,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(i-n.top,"px)"):"translateY(-".concat(n.top+n.height-i,"px)")}(e,t);r&&(t.style.webkitTransform=r,t.style.transform=r)}var m={enter:p.x9.enteringScreen,exit:p.x9.leavingScreen};const g=a.forwardRef((function(e,t){var r=e.children,p=e.direction,g=void 0===p?"down":p,b=e.in,h=e.onEnter,y=e.onEntered,v=e.onEntering,Z=e.onExit,w=e.onExited,C=e.onExiting,x=e.style,E=e.timeout,A=void 0===E?m:E,O=e.TransitionComponent,k=void 0===O?s.ZP:O,S=(0,o.Z)(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),R=(0,u.Z)(),P=a.useRef(null),T=a.useCallback((function(e){P.current=i.findDOMNode(e)}),[]),B=(0,c.Z)(r.ref,T),D=(0,c.Z)(B,t),N=function(e){return function(t){e&&(void 0===t?e(P.current):e(P.current,t))}},I=N((function(e,t){f(g,e),(0,d.n)(e),h&&h(e,t)})),M=N((function(e,t){var r=(0,d.C)({timeout:A,style:x},{mode:"enter"});e.style.webkitTransition=R.transitions.create("-webkit-transform",(0,n.Z)({},r,{easing:R.transitions.easing.easeOut})),e.style.transition=R.transitions.create("transform",(0,n.Z)({},r,{easing:R.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",v&&v(e,t)})),j=N(y),L=N(C),F=N((function(e){var t=(0,d.C)({timeout:A,style:x},{mode:"exit"});e.style.webkitTransition=R.transitions.create("-webkit-transform",(0,n.Z)({},t,{easing:R.transitions.easing.sharp})),e.style.transition=R.transitions.create("transform",(0,n.Z)({},t,{easing:R.transitions.easing.sharp})),f(g,e),Z&&Z(e)})),V=N((function(e){e.style.webkitTransition="",e.style.transition="",w&&w(e)})),H=a.useCallback((function(){P.current&&f(g,P.current)}),[g]);return a.useEffect((function(){if(!b&&"down"!==g&&"right"!==g){var e=(0,l.Z)((function(){P.current&&f(g,P.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[g,b]),a.useEffect((function(){b||H()}),[b,H]),a.createElement(k,(0,n.Z)({nodeRef:P,onEnter:I,onEntered:j,onEntering:M,onExit:F,onExited:V,onExiting:L,appear:!0,in:b,timeout:A},S),(function(e,t){return a.cloneElement(r,(0,n.Z)({ref:D,style:(0,n.Z)({visibility:"exited"!==e||b?void 0:"hidden"},x,r.props.style)},t))}))}))},74443:(e,t,r)=>{var n=r(14859);t.Z=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}),"AddCircle");t.Z=a},99144:(e,t,r)=>{var n=r(14859);t.Z=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=a},45767:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(24328),o=r.n(n),a=r(7560),i=r(72379);const l=(s=o().createElement("path",{d:"M7 10l5 5 5-5z"}),(c=o().memo(o().forwardRef((function(e,t){return o().createElement(i.Z,(0,a.Z)({ref:t},e),s)})))).muiName=i.Z.muiName,c);var s,c},64684:(e,t,r)=>{r.d(t,{Z:()=>j});var n=r(24328),o=r.n(n),a=r(52730),i=r(17440),l=r(35674),s=r(22241);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=(e,t)=>({title:e.label||e.name,fieldName:(0,s.Tde)(e.uri),entityTypeUri:t,attrType:e}),p=(e,t,r)=>{const n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){c(e,t,r[t])}))}return e}({},r(e,t),{uri:e.uri}),o=e.children?e.children.map((e=>p(e,t,r))):[];return o.length&&(n.children=o),n},d=(e,t)=>{let r;const n=(e,t)=>{for(const o of t){if(e===o.fieldName)return void(r=o);"children"in o&&n(e,o.children)}};return n(e,t),r},f=(e,t)=>e?e.find((e=>e.value===t)):null;var m=r(87918),g=r.n(m),b=r(6782),h=r(90590),y=r(79692);const v=(0,y.Z)({dropDownSelector:{width:"100%"}}),Z=(0,n.memo)((e=>{let{rowData:t,rowContext:r,textFieldInputRef:a}=e;const l=v(),{attribute:{attrType:c={},fieldName:u=null}={},filter:p,id:d}=t||{},{changeFilter:m}=r,y=c&&u&&(0,i.pipe)(s.d3Y,(0,i.map)((e=>({value:e,label:(0,b.Z)((0,s.XS2)(e))}))))(c,u),Z=(0,n.useCallback)((e=>{const t={fieldName:u,filter:e.value,values:[]};m(t,d)}),[m,d,u]);return(0,n.useEffect)((()=>{(u&&!p||u&&!f(y,p))&&Z(y[0])}),[u,p,Z,y]),o().createElement(h.Z,{label:"",height:40,isDisabled:!y,placeholder:g().text("Equals"),value:f(y,p),options:y,onChange:Z,className:l.dropDownSelector,textFieldInputRef:a})}));var w=r(87685),C=r(74443),x=r(39475);function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(this,arguments)}const A=e=>o().createElement("svg",E({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",focusable:"false"},e),o().createElement("defs",null,o().createElement("path",{d:"M20.222 6C21.21 6 22 6.8 22 7.778v12.444C22 21.2 21.209 22 20.222 22H7.778C6.79 22 6 21.2 6 20.222V7.778C6 6.8 6.791 6 7.778 6h12.444zM8 8v12h12V8H8zM4 18H2V4c0-1.1.9-2 2-2h14v2H4v14z",id:"Duplicate_svg__a"})),o().createElement("g",{transform:"translate(-2 -2)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},o().createElement("mask",{id:"Duplicate_svg__b",fill:"#fff"},o().createElement("use",{xlinkHref:"#Duplicate_svg__a"})),o().createElement("g",{mask:"url(#Duplicate_svg__b)",fill:"#000",fillOpacity:.54},o().createElement("path",{d:"M0 0h24v24H0z"})))),O=(0,y.Z)((()=>({actions:{width:"88px",height:"24px",display:"flex",alignItems:"center",justifyContent:"space-between",flexShrink:0,"& >span":{cursor:"pointer",display:"flex"},"& $actionIcon":{cursor:"pointer",color:"rgba(0, 0, 0, .54)"}},actionIcon:{}}))),k=(0,n.memo)((e=>{let{rowData:t,rowContext:r}=e;const a=O(),{id:i,attribute:l}=t||{},{addRowAfterIndex:s,removeRow:c,duplicateRow:u}=r,p=(0,n.useCallback)((()=>{s(i)}),[s,i]),d=(0,n.useCallback)((()=>{u(i)}),[u,i]),f=(0,n.useCallback)((()=>{c(i)}),[i,c]);return o().createElement("div",{className:a.actions},o().createElement(x.k,{tooltipTitle:g().text("Add"),icon:C.Z,size:"M",onClick:p}),l&&o().createElement(x.k,{tooltipTitle:g().text("Duplicate"),icon:A,size:"M",onClick:d}),o().createElement(x.k,{tooltipTitle:g().text("Delete"),icon:w.default,size:"M",onClick:f}))}));var S=r(51586),R=r(12933);const P=(0,n.memo)((e=>{let{rowData:t,rowContext:r,attributeSelectorProps:a}=e;const{attribute:i,id:l,filter:c}=t||{},{changeFilter:u,addNewFilter:p,attributesGroup:d}=r,f=(0,n.useCallback)((e=>(0,s.e6O)({data:e})),[]),m=(0,n.useMemo)((()=>[{id:"",title:"",attributes:d}]),[d]),g=(0,n.useCallback)((e=>{if(t){const t={fieldName:e.attribute.fieldName,filter:c,values:[]};u(t,l)}else p({fieldName:e.attribute.fieldName,filter:null,values:[]})}),[p,u,l,t,c]);return o().createElement(R.Z,{itemsGroups:m,ungroup:!0,single:!0,value:i,getLabel:f,onSelect:g,onOpenPopup:a.onOpen})}));var T=r(15299);const B=(0,y.Z)((()=>({input:{margin:0,borderRadius:"4px",width:"100%",paddingTop:0,paddingBottom:0},root:{borderRadius:"4px 4px 0 0",padding:0,display:"flex",alignItems:"center",margin:0},valuesEditor:{width:"222px!important",minHeight:"40px",flexShrink:0}}))),D=(0,n.memo)((e=>{let{rowData:t,rowContext:r}=e;const a=B(),i=(null==t?void 0:t.attribute)&&(0,s.wNf)(t.filter),{changeFilter:l}=r,{values:c=[],attribute:{attrType:u={},fieldName:p=null}={},filter:d,id:f}=t||{},m=u&&(0,s.PFL)(u),g=m&&(0,s.l1V)(m,d),b=(0,n.useMemo)((()=>({filter:d,fieldName:p,values:c||[]})),[d,p,c]),h=(0,n.useMemo)((()=>({InputProps:{classes:{root:a.input}}})),[a]),y=(0,n.useMemo)((()=>({root:a.root})),[a]),v=(0,n.useCallback)((e=>{l({fieldName:p,filter:d,values:e},f)}),[l,f,p,d]);return o().createElement("div",{className:a.valuesEditor},(null==t?void 0:t.attribute)&&i&&o().createElement(T.Z,{filter:b,onChange:v,dataTypeDefinition:g,fullWidth:!0,TextFieldProps:h,color:"primary",classes:y,orientation:"horizontal"}))})),N=(0,y.Z)((()=>({attrSelector:{width:"222px",height:"40px",flexShrink:0},filterSelector:{width:"180px",flexShrink:0,marginTop:0,marginBottom:0},actionContainer:{alignItems:"center",marginRight:"15px"}}))),I={fieldName:null,filter:null,values:[]},M=()=>null,j=(0,n.memo)((e=>{let{attributeTypes:t,filters:r,onChange:c}=e;const f=(0,a.useSelector)(l.ZP.selectors.getMetadata),m=(0,s.nt9)(f,(e=>{const t=e.find((e=>!(0,s.kqr)(e)));return t?(0,s.u5q)(t.uri):null})(t)),{attrSelector:g,filterSelector:b,actionContainer:h}=N(),y=(0,n.useRef)(r);y.current=r;const v=(0,n.useRef)(null),w=(0,n.useRef)(null),C=(0,n.useRef)(null),x=(0,n.useMemo)((()=>({attributeSelectorContainer:g,filterSelectorContainer:b,actionsContainer:h})),[g,b,h]),E=(0,n.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return(0,s.kkq)(e,r).map((e=>p(e,t.uri,u)))}(t,m,f)),[t,f,m]),A=(0,n.useMemo)((()=>r.length?((e,t)=>e.map(((e,r)=>({attribute:e.fieldName?d(e.fieldName,t):void 0,filter:e.filter,id:r,values:e.values}))))(r,E):[]),[E,r]);C.current=A.length,(0,n.useEffect)((()=>{v.current&&w.current!==C.current&&(v.current.querySelector("input").focus(),w.current=null)}),[A.length]);const O=(0,n.useCallback)((()=>{w.current=A.length}),[A.length]),R=(0,n.useMemo)((()=>({onOpen:O})),[O]),T=(0,n.useCallback)((e=>{const t=[...y.current];t.splice(e+1,0,I),c(t)}),[c]),B=(0,n.useCallback)((e=>{const t=[...y.current];t.splice(e,1),c(t)}),[c]),j=(0,n.useCallback)((e=>{const t=[...y.current];t.splice(e+1,0,{fieldName:y.current[e].fieldName,filter:y.current[e].filter,values:y.current[e].values}),c(t)}),[c]),L=(0,n.useCallback)(((e,t)=>{const r=(0,i.evolve)({[t]:(0,i.always)(e)},y.current);c(r)}),[c]),F=(0,n.useCallback)((e=>{c([...y.current,e])}),[c]);return o().createElement(S.Z,{rowClasses:x,rowsData:A,AttributeSelectorComponent:P,FilterSelectorComponent:Z,ValuesEditorComponent:D,ActionsComponent:k,LogicOperatorComponent:M,filterSelectorRefIndex:w.current,filterSelectorRef:v,lastRowAttributeSelectorProps:R,attributesGroup:E,changeFilter:L,addNewFilter:F,addRowAfterIndex:T,removeRow:B,duplicateRow:j})}))},83104:(e,t,r)=>{r.d(t,{Z:()=>w});var n=r(24328),o=r.n(n),a=r(87918),i=r.n(a),l=r(79784),s=r(77277),c=r(36444),u=r(90436),p=r(85256),d=r(64684),f=r(79692);function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){g(e,t,r[t])}))}return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b={alignSelf:"center"},h=(0,f.Z)((()=>({buttonsWrapper:{display:"flex"},applyButton:m({},b,{marginRight:"16px"}),cancelButton:m({},b,{marginLeft:"auto"}),clearButon:m({},b)}))),y=e=>{let{onClear:t,onCancel:r,onApply:n}=e;const a=h();return o().createElement("div",{className:a.buttonsWrapper},o().createElement(s.Z,{onClick:t,variant:"text",color:"default",className:a.clearButon},i().text("Clear all")),o().createElement(s.Z,{onClick:r,variant:"text",color:"default",className:a.cancelButton},i().text("Cancel")),o().createElement(s.Z,{onClick:n,variant:"text",color:"primary",className:a.applyButton},i().text("Apply")))};var v=r(41128);const Z=(0,f.Z)((e=>({triggerButton:{minWidth:0,color:"rgba(0,0,0,0.54)",width:"40px",marginLeft:"auto",marginRight:"12px"},filtersBuilderWrapper:{marginTop:"20px"},popupContent:{paddingLeft:"16px",paddingTop:"20px",paddingBottom:"6px",width:"770px"},divider:{marginBottom:"14px",marginLeft:"-16px",background:"rgba(0, 0, 0, 0.121569)"},changedFiltersIndicator:{backgroundColor:(0,v.U1)(e.palette.primary.main,.12)}}))),w=(0,n.memo)((e=>{let{filters:t,attributeTypes:r,onChange:a}=e;const f=Z(),m=(0,n.useRef)(),[g,b]=(0,n.useState)(!1),[h,v]=(0,n.useState)([]),w=t.some((e=>{let{fieldName:t,filter:r,values:n}=e;return t&&r&&n.length}))?"primary":"inherit",C=()=>b((e=>!e));(0,n.useEffect)((()=>{g&&v(t)}),[t,g]);const x=(0,n.useCallback)((()=>{a(h),C()}),[h,a]),E=(0,n.useCallback)((()=>{C()}),[]),A=(0,n.useCallback)((()=>{v([])}),[]);return o().createElement(o().Fragment,null,o().createElement(s.Z,{ref:m,color:w,classes:{root:f.triggerButton,textPrimary:f.changedFiltersIndicator},onClick:C},o().createElement(c.Z,{color:w})),o().createElement(l.ZP,{open:g,classes:{paper:f.popupContent},anchorEl:m.current,onClose:C,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}},o().createElement(o().Fragment,null,o().createElement(u.Z,{variant:"h6"},i().text("Filter")),o().createElement("div",{className:f.filtersBuilderWrapper},o().createElement(d.Z,{attributeTypes:r,filters:h,onChange:v})),o().createElement(p.Z,{className:f.divider}),o().createElement(y,{onApply:x,onCancel:E,onClear:A}))))}))},49592:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(24328),o=r.n(n),a=r(13980),i=r.n(a),l=r(21697),s=r(1928),c=r(85103),u=r(17440),p=r(8233),d=r(3073);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}const m=e=>{let{rowsData:t,columnsData:r,renderRowCell:a=s.Z,getRowCellHeight:m=c.Z,defaultRowHeight:g=48,maxRowValuesCount:b=1/0}=e;const{tableRowsData:h,collapseContextValue:y}=(0,p.Z)({rowsData:t,columnsData:r,renderRowCell:a,getRowCellHeight:m,maxRowValuesCount:b});return(0,n.useMemo)((()=>{const e=h.reduce(((e,t,r)=>{const{data:n}=t;return e[r]=(0,l.calculateRowHeight)(n,g),e}),{}),t=(t,r,n)=>{const o=[t,"subRowHeight",r,n,"height"];return(0,u.pathOr)(0,o,e)},n=t=>(0,u.pathOr)(0,[t,"height"],e),a=e=>{let{columnId:a,rowIndex:i}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["columnId","rowIndex"]);return o().createElement(d.x.Provider,{value:y},o().createElement("div",f({},s,{style:{height:n(i)}}),h.length>0&&(0,l.getCellContentFromRowsData)({columnIndex:r.findIndex((0,u.propEq)("id",a)),headData:r,rowsData:h,rowIndex:i,getHeightForSubRow:t})))};return a.propTypes={columnId:i().string,rowIndex:i().number},{getRowHeight:n,CellRenderer:a}}),[h,g,y,r])}},83415:(e,t,r)=>{r.d(t,{n:()=>y});const n=(0,r(79692).Z)({item:{marginBottom:"16px"},dense:{marginBottom:0}});var o=r(55962),a=r(24328),i=r.n(a),l=r(52730),s=r(35674),c=r(22241),u=r(76141),p=r(71153),d=r.n(p),f=r(17440),m=r(85596),g=r(93555),b=r(72283);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=e=>{let{connection:t,relatedEntity:r,inRelationTypes:p=[],outRelationTypes:y=[],showEmptyEditors:v,entityErrorMessage:Z,onChangeAttribute:w,onRemoveAttribute:C,onAddAttributes:x,onChangeRelationType:E,onChangeEntity:A}=e;const O=n(),{relation:k,entity:S}=t,{attributes:R,uri:P,type:T="",direction:B}=k||{},D=Boolean(T),N=(0,l.useSelector)(s.ZP.selectors.getMetadata),I=(0,a.useMemo)((()=>k&&function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){h(e,t,r[t])}))}return e}({attributes:R},(0,c.p2l)(k))),[k,R]),M=(0,a.useMemo)((()=>(0,c.xF8)(N,T)),[T,N]),j=(0,a.useMemo)((()=>D?(0,c.jWj)(B===c.Nsj.OUT,N,[(0,c.V3K)(N,T)]):(0,f.uniq)((0,c.jWj)(!0,N,y).concat((0,c.jWj)(!1,N,p)))),[D,T,N,p,y]),L=(0,l.useSelector)((e=>s.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),F=(0,a.useMemo)((()=>k&&{relationType:k.type,direction:k.direction}),[k]),V=(0,a.useMemo)((()=>S&&{entityUri:S.uri,entityType:S.type,entityLabel:(0,c.idV)(S.label)}),[S]),H=(0,a.useMemo)((()=>S&&S.uri?p.filter((0,c.eHk)(!1,S,r,N)):p),[S,p,r,N]),W=(0,a.useMemo)((()=>S&&S.uri?y.filter((0,c.eHk)(!0,S,r,N)):y),[S,y,r,N]);(0,a.useEffect)((()=>{const{type:e,direction:t}=(0,c.z7d)(p,y)||{};!T&&e&&E&&E({type:e.uri,direction:t})}),[T,p,y,E]),(0,o.D)((()=>{const{type:e,direction:t}=(0,c.z7d)(H,W)||{};!T&&e&&E({type:e.uri,direction:t})}),[T,S,H,W,A]);const z=(0,a.useCallback)((e=>{let{type:t,direction:r}=e;E({type:t.uri,direction:r})}),[E]);return i().createElement(i().Fragment,null,E&&i().createElement(m.Z,{className:O.item,relation:F,metadata:N,inRelationTypes:p,outRelationTypes:y,onChange:z}),A&&i().createElement(g.Z,{errorMessage:Z,className:O.item},i().createElement(b.Z,{key:T,className:d()({[O.dense]:Z}),entity:V||{},entityTypesUris:j,max:20,globalSearchRequestOptions:L,mode:c.fO_.EDITING,onChange:A,onCreate:void 0,metadata:N,attributeTypesSelectionStrategy:void 0})),T&&i().createElement(u.Z,{attrTypes:M,entity:I,showEmptyEditors:v,mode:c.fO_.EDITING,parentUri:P,onAddAttributes:x,onChangeAttribute:w,onDeleteAttribute:C}))}},19304:(e,t,r)=>{r.d(t,{J:()=>c});var n=r(24328),o=r.n(n),a=r(87918),i=r.n(a),l=r(7522);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}const c=e=>o().createElement(l.Z,s({message:i().text("No data available")},e))},44363:(e,t,r)=>{r.d(t,{Z:()=>b});var n=r(24328),o=r.n(n),a=r(13980),i=r.n(a),l=r(17440),s=r(80030),c=r(79692);function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){p(e,t,r[t])}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=(0,l.range)(2,10).reduce(((e,t)=>u({},e,{[`&:nth-child(${t})`]:{paddingLeft:`calc(1em * (${t} - 2))`,"&::before":{content:'"└"',display:"inline-block",fontSize:"1em",marginRight:"5px",color:"rgba(255, 255, 255, 0.28)"}}})),{}),f=(0,c.Z)((e=>({tooltip:e.tooltip,tooltipContent:{minWidth:"165px",padding:"4px 2px 2px","& p":{fontSize:"11px",lineHeight:"13px",fontWeight:500,margin:0,color:"white"},"& ul":{listStyleType:"none",padding:0,margin:0,"& li":u({fontSize:"10px",lineHeight:"11px",fontWeight:500,color:"rgba(255, 255, 255, 0.7)",marginTop:"4px"},d,{"&:last-child":{color:"white"}}),"& li + li":{marginTop:"2px"}}}})));function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}const g=e=>{let{pathToTitle:t,children:r}=e,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["pathToTitle","children"]);const a=f(),i=t&&t.length?o().createElement("div",{className:a.tooltipContent},o().createElement("p",null,(0,l.last)(t)),t.length>2&&o().createElement("ul",null,t.map((e=>o().createElement("li",{key:e},e))))):"";return o().createElement(s.ZP,m({title:i,disableFocusListener:!0,classes:{tooltip:a.tooltip}},n),r)};g.propTypes={pathToTitle:i().arrayOf(i().string).isRequired,children:i().node};const b=g},64822:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(24328),o=r.n(n),a=r(22241);const i=e=>{let{className:t}=e;return o().createElement("img",{className:t,alt:"loading",src:(0,a.Uw1)("R0lGODlhFQALAKIAAP///8Hf75vL5Van0wB4v////wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgAFACwAAAIAFQAHAAADLFi6zPSQFEGpGhgXkrEUQShc1bB1wxcGYzGUZ6eKJGVy8lS1aJxJjaAiAkkAACH5BAkKAAUALAAAAwAUAAUAAAMiWLFbJRC6QakCODjBxIzDlW3dB4UBBmhPWQygwrCR9FZDAgAh+QQJCgAFACwIAAMADAAFAAADFBiqVfIvgBmaWHeC6rCklrdw0JMAACH5BAkKAAUALAAAAgAUAAcAAAMkSLpU/vCRQWmLLmg967hYAIxBV4GRSJoWlo1A6X1usXGMUkcJACH5BAkKAAUALAAAAgAOAAcAAAMdWLpF/qSMORudcYg97M2b0BHXAHIelV0pxizQkwAAOw==")})}},19262:(e,t,r)=>{r.d(t,{Z:()=>h});var n=r(13980),o=r.n(n),a=r(24328),i=r.n(a),l=r(73272),s=r(28831);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const u=e=>i().createElement("svg",c({viewBox:"0 0 20 20"},e),i().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 10L14 5.5V9h-3.5L5 3.5 3.5 5l6.04 6H14v3.5l4.5-4.5zM7.04 11.455L3.5 15 5 16.5l3.54-3.545-1.5-1.5z"}));var p=r(87918),d=r.n(p),f=r(71153),m=r.n(f);const g=(0,r(79692).Z)((e=>({expanded:{backgroundColor:"rgba(0, 0, 0, 0.03)"},info:{fontSize:"13px",color:e.palette.text.secondary,wordWrap:"break-word"},icon:{width:"32px",height:"32px",fill:"#fff",backgroundColor:"rgba(177, 92, 189, 1)",borderRadius:"50%",margin:"5px 12px 0 8px"},infoBlock:{display:"flex",flexDirection:"row"},header:{display:"flex",flexDirection:"row",paddingBottom:"5px"},flex:{flex:1},caption:{fontSize:"16px",color:"rgba(0, 0, 0, 0.87)"},title:{display:"flex",flexDirection:"row",alignItems:"center",margin:"6px 0 8px 0"},flag:{height:"12px",width:"12px",stroke:"#000000",fill:"none",margin:"2px 5px 0 5px"},pmReviewCard:{borderTop:"3px solid #E83D40",flexDirection:"column",width:"100%"},date:{fontSize:"13px",color:"rgba(0, 0, 0, 0.87)"},mainInfo:{display:"flex",flexDirection:"column",flex:1}}))),b=e=>{let{date:t,type:r,createdBy:n,step:o,children:c,Actions:p}=e;const f=g(),[b,h]=(0,a.useState)(!1);return i().createElement("div",{className:f.pmReviewCard},i().createElement("div",{className:m()(f.header,{[f.expanded]:b})},i().createElement(u,{className:f.icon}),i().createElement("div",{className:f.mainInfo},i().createElement("div",{className:f.title},i().createElement("div",{className:m()(f.caption,f.flex)},d().text("Match review")),i().createElement(l.Z,{className:f.flag}),i().createElement("span",{className:f.date},d().date(t,"L")),i().createElement(s.Z,{isOpen:b,onClick:()=>{h(!b)}})),i().createElement("div",{className:f.infoBlock},i().createElement("div",{className:f.flex},i().createElement("div",{className:f.info},r),i().createElement("div",{className:f.info},d().text("Created by ${createdBy}",{createdBy:n})),i().createElement("div",{className:f.info},d().text("Step: ${step}",{step:o}))),p))),b?c:null)};b.propTypes={date:o().number,createdBy:o().string,type:o().string,step:o().string,children:o().oneOfType([o().node,o().arrayOf(o().node)]),Actions:o().node};const h=b},68977:(e,t,r)=>{r.d(t,{U:()=>c});var n=r(24328),o=r.n(n),a=r(87918),i=r.n(a),l=r(22241),s=r(72108);const c=(0,n.memo)((e=>{let{relationTypes:t,selectedRelationTypes:r,single:a,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d={},ListLabelProps:f={},disabled:m=!1}=e;const g=(0,n.useMemo)((()=>t.filter(l.Tt2)),[t]);return o().createElement(s.S,{items:g,selectedItemsUris:r,single:a,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d,ListLabelProps:f,disabled:m,label:i().text("Relation type"),dataReltioId:"relation-type-selector",selectionPopupTitle:i().text("Select relation types")})}));c.displayName="RelationTypesSelector"},7907:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),a=r(99152),i=r(6487),l=r(83088);const s=(0,r(79692).Z)({tabsRoot:{width:"100%"},tabsScrollButton:{flex:"0 0 24px"},tabRoot:{fontSize:"0.875rem",padding:"7px 18px 5px","@media (min-width: 960px)":{minWidth:"inherit"}},labelWrapper:{whiteSpace:"nowrap",letterSpacing:"normal",display:"flex",flexDirection:"row",width:"100%"},label:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:500}});function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const u=e=>{let{value:t,tabs:r=[],onChange:n,tabClasses:u}=e,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["value","tabs","onChange","tabClasses"]);const d=s(),f=(e,t)=>o().createElement("span",{className:d.labelWrapper},o().createElement(l.C,{value:e},o().createElement("span",{className:d.label},e)),t);return o().createElement(a.Z,c({value:t,onChange:(e,t)=>n(t),classes:{root:d.tabsRoot,scrollButtons:d.tabsScrollButton},indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"on"},p),r.map((e=>{let{label:t,value:r,additionalLabel:n,dataReltioId:a}=e;return o().createElement(i.Z,{classes:u||{root:d.tabRoot},key:r,value:r,label:f(t,n),"data-reltio-id":a})})))}},87356:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),a=r(33662),i=r(15311);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){c(e,t,r[t])}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=e=>{let{classes:t}=e,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes"]);const n=(0,i.y)({});return o().createElement(a.Z,l({classes:s({},t,{focused:n.white})},r))}},63079:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(24328),o=r.n(n),a=r(13980),i=r.n(a),l=r(90436);const s=(0,r(79692).Z)({onlyValue:{color:"rgba(0,0,0,.6)",fontSize:"13px",fontWeight:"normal",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},select:{fontSize:"13px",color:"rgba(0,0,0,.6)",paddingLeft:"15px","&&":{paddingRight:"35px"}},selectMenu:{"& li":{fontSize:"13px",height:"32px"}},textField:{maxWidth:"100%"}});var c=r(1128);const u=e=>{let{value:t,onChange:r,options:a,classes:i={},emptyLabel:u}=e;const p=s(),[d,...f]=a,m=0===f.length;(0,n.useEffect)((()=>{m&&t!==d.value&&r(d.value)}),[d.value]);const g=!!u;return o().createElement("div",{className:i.root},m?o().createElement(l.Z,{className:i.onlyValue||p.onlyValue,variant:"h6"},d.label):o().createElement(c.Z,{displayEmpty:g,disableUnderline:!0,classes:{select:i.select||p.select},TextFieldProps:{classes:{root:i.textField||p.textField}},MenuProps:{classes:{list:i.selectMenu||p.selectMenu}},value:t||"",entries:g?[{value:"",label:u},...a]:a,onChange:e=>r(e||null)}))};u.propTypes={value:i().string,onChange:i().func,options:i().arrayOf(i().shape({value:i().string,label:i().string})),classes:i().shape({root:i().string,onlyValue:i().string,select:i().string,selectMenu:i().string,textField:i().string}),emptyLabel:i().string};const p=u},57079:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),a=r(13980),i=r.n(a);const l=e=>{let{label:t}=e;return t||null},s=e=>{let{value:t}=e;return t||null},c=e=>{let{className:t,rowsData:r,columnsData:n,theadRowsNumber:a=0}=e;const i=e=>{const t=e.cellRenderer||s,r=e.headCellRenderer||l;return o().createElement("tr",{key:e.id},o().createElement("th",{key:e.id},o().createElement(r,e)),n.map(((r,n)=>o().createElement("td",{key:n},o().createElement(t,{value:r[e.id],columnValue:r,rowData:e})))))};return o().createElement("table",{className:t},a>0&&o().createElement("thead",null,r.slice(0,a).map(i)),o().createElement("tbody",null,r.slice(a).map(i)))};c.propTypes={rowsData:i().arrayOf(i().shape({id:i().string,label:i().string,headCellRenderer:i().func,cellRenderer:i().func})),columnsData:i().arrayOf(i().object),theadRowsNumber:i().number,className:i().string};const u=(0,n.memo)(c)},57412:(e,t,r)=>{r.d(t,{Z:()=>g});var n=r(24328),o=r.n(n),a=r(13980),i=r.n(a),l=r(86689),s=r(83543);const c=(0,r(79692).Z)((()=>({viewMoreLessLink:{display:"flex",alignItems:"center",cursor:"pointer"},arrow:{marginRight:"8px",marginLeft:"-2px",transform:"rotate(0deg)",transition:"transform 0.35s ease"},rotated:{transform:"rotate(-180deg)"}})));var u=r(71153),p=r.n(u),d=r(87918),f=r.n(d);const m=e=>{let{active:t,onClick:r,className:n}=e;const a=c();return o().createElement(l.Z,{className:p()(a.viewMoreLessLink,n),onClick:r,underline:"none"},o().createElement(s.Z,{className:p()(a.arrow,{[a.rotated]:t})}),t?f().text("View less"):f().text("View more"))};m.propTypes={active:i().bool,onClick:i().func,className:i().string};const g=m},89780:(e,t,r)=>{r.d(t,{b:()=>i});var n=r(24328),o=r(22241),a=r(54202);const i=e=>{let{filter:t,max:r,offset:i,entityUri:l}=e;return(0,n.useCallback)((async()=>{const e=(0,a.U)(t),n=await(0,o.k6v)({filter:e,max:r,offset:i,entityUri:l}),{total:s}=await(0,o.FEC)({filter:e,entityUri:l});return{data:n,total:s}}),[t,r,i,l])}},60824:(e,t,r)=>{r.d(t,{B:()=>o});var n=r(24328);const o=r.n(n)().createContext("");o.displayName="IdContext"},32794:(e,t,r)=>{r.d(t,{R:()=>u});var n=r(24328),o=r(22241),a=r(17440),i=r(52730),l=r(35674);function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){c(e,t,r[t])}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=e=>{let{connection:t,onConnectionChange:r,relatedEntity:c}=e;const u=(0,i.useSelector)(l.ZP.selectors.getMetadata),p=(0,n.useCallback)((e=>r(s({},t,{relation:e}))),[t,r]),d=(0,n.useCallback)((0,a.pipe)((0,o.zE1)(t.relation),p),[t.relation,p]),f=(0,n.useCallback)((0,a.pipe)((0,o.lIv)(t.relation),p),[t.relation,p]),m=(0,n.useCallback)((0,a.pipe)((0,o.Ilm)(t.relation),p),[t.relation,p]),g=(0,n.useCallback)((e=>{let{type:n,direction:a}=e;const i={entity:t.entity&&(0,o.eHk)(a===o.Nsj.OUT,t.entity,c,u,(0,o.V3K)(u,n))?t.entity:null,relation:s({},t.relation,{attributes:{},type:n,direction:a})};r(i)}),[t,r,c,u]);return{onAddAttributes:d,onChangeAttribute:f,onRemoveAttribute:m,onChangeEntity:(0,n.useCallback)((e=>r(s({},t,{entity:e}))),[t,r]),onChangeRelationType:g}}},308:(e,t,r)=>{r.d(t,{q:()=>o});var n=r(24328);const o=(e,t)=>{const r=(0,n.useRef)(!1);(0,n.useEffect)((()=>{t&&!r.current&&(r.current=!0,e())}),[e,t])}},8300:(e,t,r)=>{r.r(t),r.d(t,{ALWAYS_VISIBLE_TYPE_URIS:()=>rn.S,ActionButton:()=>Qr.K,ActionButtonMode:()=>Qr.N,ActivityLog:()=>n.Z,ActivityLogFilter:()=>o.Z,ActivityTypes:()=>a.I,AddWorkflowButton:()=>Lr.G,ArrowExpandButton:()=>ur.Z,AsyncMountContext:()=>Rn.g,AttributeGroupIcon:()=>Yr.Z,AttributeListItem:()=>c.Z,AttributeTitle:()=>$t.Z,AttributesFiltersBuilder:()=>Kr.Z,AttributesFiltersButton:()=>Jr.Z,AttributesList:()=>d.Z,AttributesPager:()=>Z.ZP,AttributesTable:()=>gr.Z,AttributesView:()=>u.Z,AutoSizeList:()=>B.Z,AvatarWithFallback:()=>D.Z,BarChart:()=>ee.Z,BasicAttributeSelector:()=>Xr.Z,BasicTable:()=>N.Z,BasicTableContext:()=>M.X,BasicTablePagination:()=>V.Z,BasicView:()=>J.Z,BasicViewContent:()=>K.Z,BasicViewHeader:()=>$.Z,BlockImageGalleryDialogContext:()=>Dn.P,BranchDecorator:()=>p.Z,COMMENTS_CONTAINER_VISIBILITY_AREA:()=>tn.U,CardinalityMessage:()=>w.Z,ChartsFactory:()=>oe.Z,ClickAwayProvider:()=>pe,CollaborationContext:()=>Nn.h,CollaborationItem:()=>de.J,CollapseButton:()=>fe.Z,CollapseRowButton:()=>Q.Z,ColorBar:()=>me.Z,ColumnFilterType:()=>en.Dq,ColumnsDataType:()=>en.uz,ColumnsSettings:()=>L.Z,CommentsContainer:()=>ge.Z,ConfigureColumnsPopup:()=>ve.Z,ConfirmDeleteDialog:()=>mr.Z,ConfirmationDialog:()=>fr.Z,ConnectionEditor:()=>$r.n,ConnectionRelationTypeSelector:()=>Ze.Z,CrosswalkDragLayer:()=>yr.Z,CrosswalkEditor:()=>Zr.Z,CrosswalkType:()=>wr.Y,CrosswalksDisplayProvider:()=>Vn.hR,DEFAULT_OVERLAY_OPTIONS:()=>nn.r,DataTypeValue:()=>we.Z,DataTypeValueEditor:()=>Be.Z,DateEditor:()=>Te.Z,DateRangeEditor:()=>Pe.Z,DateRangeTypes:()=>Qn.K,DefaultCellValueRenderer:()=>H.Z,DeltaTypes:()=>i.w,Drawer:()=>Ce.Z,DropDownEditor:()=>Ae.Z,DropDownMenuButton:()=>xe.Z,DropDownSelector:()=>Ee.Z,DropdownIndicator:()=>be.Z,DropdownIndicatorWithIconButton:()=>he.Z,EMPTY_STATE_ICONS:()=>je.B9,EMPTY_STATE_VARIANTS:()=>je.tC,EditableAttribute:()=>x.Z,EditableImageAttributesLine:()=>k.Z,EmptyState:()=>je.ZP,EmptyStub:()=>on.Vd,EntitiesMapContext:()=>Fn.X,EntityAvatar:()=>Le.Z,EntityContext:()=>_n.u,EntityCreator:()=>f.Z,EntityMarkerContext:()=>Wn.P,EntitySelector:()=>m.Z,EntityTypeBadge:()=>Fe.Z,EntityTypeIcon:()=>Ve.Z,EntityTypesSelector:()=>He.Q,EntityUriLink:()=>ze.Z,ErrorBoundary:()=>Ue.Z,ErrorMessage:()=>Er.Z,ErrorPopup:()=>_e.Z,ErrorWrapper:()=>Ge.Z,ExpandableSearchInput:()=>or.i,ExpandedAttributesProvider:()=>Hn.R,ExpandedValueTooltip:()=>Qe.C,FacetViewHeader:()=>qe.Z,FileTypeEditor:()=>Ne.Z,FilterButton:()=>F.Z,FilterValueEditor:()=>ke.Z,FlipCard:()=>ot,HideOnShrink:()=>at.Z,HierarchicalAttributeTooltip:()=>it.Z,Highlighter:()=>lt.Z,HistoryActivityType:()=>Dr.M,HistoryChangeTypes:()=>Nr.b,HistoryDiffContext:()=>Pn.m,HistoryHeader:()=>Pr.Z,HistoryPanelEmptyState:()=>Br.Z,HistoryView:()=>Rr.Z,IdContext:()=>Ln.B,ImageAttributesLine:()=>O.Z,ImageGalleryDialog:()=>st.C,ImportButton:()=>ct.Z,ImportModes:()=>ct.E,InlineAttributesPager:()=>lr.Z,InlineImageAttribute:()=>cr.Z,InlineNestedAttribute:()=>ir.Z,InlineReferenceAttribute:()=>sr.Z,LightArrowTooltip:()=>pr.Z,LinearLoadIndicator:()=>ut.Z,Link:()=>pt.Z,LoadingSpinner:()=>dt.Z,MAP_DRAWING_MODES:()=>nn.vl,MAP_MINIMUM_SCALE_RADIUS:()=>nn.Pi,Marginator:()=>dr.Z,MatchRulesBlock:()=>ft.Z,MenuWithPopper:()=>ye.Z,MergeButton:()=>_r.H,ModeSwitcher:()=>ht.Z,ModeSwitcherSelect:()=>yt.T,MoreAttributesButton:()=>g.Z,MultiSelect:()=>kt.Z,MultiValueChip:()=>Se.Z,MultipleInput:()=>vt.Z,NestedAttribute:()=>S.Z,NestedAttributeEditor:()=>b.Z,NoData:()=>Ie.J,NoResults:()=>Me.X,NotMatchButton:()=>Gr.i,NumberEditor:()=>Re.Z,OvIcon:()=>Ir.Z,PieChart:()=>te.Z,PivotingAttributeContext:()=>Mn.J,Popper:()=>Zt.Z,PopupBoundariesContext:()=>Tn.p,PopupWithArrow:()=>wt.Z,PotentialMatchReviewCard:()=>Ct.Z,ProfileBand:()=>xt.Z,ProfileBandHistory:()=>Tr.Z,ProfileBandNavigation:()=>Y.a,ProfileCard:()=>Et.Z,ProfileMatchCard:()=>Ur.M,ProfilePerspectiveViewContext:()=>jn.j,ProfilesList:()=>qr.Z,QueryBuilderAttributeDataType:()=>en.eB,QueryBuilderAttributeType:()=>en.Xw,QueryBuilderRow:()=>At.Z,QueryBuilderRowsGroup:()=>Ot.Z,ReactSelectOptionFilters:()=>St.Z,ReactSortableTree:()=>Rt.ZP,ReactSortableTreeHandlers:()=>Pt.ZP,ReactSortableTreeUtils:()=>Tt.ZP,ReadOnlyAttribute:()=>C.Z,ReadOnlyAttributeValuesBlock:()=>E.Z,ReadOnlyAttributesList:()=>A.Z,ReadOnlyAttributesPager:()=>T.Z,ReferenceAttribute:()=>R.Z,ReferenceAttributeEditor:()=>h.Z,RelatedObjectUrisContext:()=>Un.A,RelationEditor:()=>Mr.Z,RelationTypeSelector:()=>y.Z,RelationTypesSelector:()=>We.U,ReloadFacetProvider:()=>Gn.DX,ReltioGridLayout:()=>Bt.Z,ReltioMap:()=>xr.Z,RequestStates:()=>Qn.o,ResizablePanes:()=>Dt.Z,RowCellAutoSizer:()=>G.Z,ScrollableTabs:()=>ar.Z,SearchInput:()=>Nt.Z,SelectionPopup:()=>jt.Z,SelectionPopupPopper:()=>Wt,SelectorWithOnlyOptionAutoSelect:()=>zt.Z,SideButtonsPanel:()=>Ut.G,SidePanel:()=>Gt.h,SidePanelContentHeader:()=>Qt.P,SidePanelEmptyState:()=>_t.Z,SimpleAttribute:()=>P.Z,SimpleAttributeEditor:()=>v.Z,SimpleDropDownSelector:()=>qt.Z,SimpleMatchRulesBlock:()=>mt.Z,SimpleMatchRulesBuilder:()=>gt.Z,SmallIconButton:()=>Yt.Z,SmallIconButtonWithTooltip:()=>Xt.k,SortingType:()=>en.nI,SourceCrosswalksRow:()=>vr.Z,SourceIcon:()=>Jt.Z,Spacer:()=>Kt.Z,TableContext:()=>M.X,TableWithBars:()=>re.Z,TextEditor:()=>Oe.Z,TimestampEditor:()=>De.Z,TransitiveMatchBlock:()=>bt.Z,TreeChart:()=>ne.Z,UsersContext:()=>In.s,VerticalDivider:()=>er.Z,VerticalHeadingsTable:()=>tr.Z,ViewIdContext:()=>Bn.m,ViewMoreToggle:()=>rr.Z,VirtualGroupedList:()=>nr.Z,WhiteSearchInput:()=>It.Z,WorkflowComments:()=>Fr.V,WorkflowTaskCard:()=>jr.s,WorkflowTasksContext:()=>zn.O,basicTableViewState:()=>_.ZP,buildColumnsFilter:()=>U.Tz,columnFilterToMdmFilter:()=>U.su,createStandardAction:()=>on.zD,defaultGetRowCellHeight:()=>W.Z,defaultRenderRowCell:()=>z.Z,getChecked:()=>on.IR,getValue:()=>on.NA,groupCrosswalksByTypesAndSources:()=>Cr.o,isIE:()=>on.w1,mergeClasses:()=>on.ze,noop:()=>on.ZT,parseJSON:()=>on.Rx,stopPropagation:()=>on.UW,toggleSortOrder:()=>on.Dh,useActions:()=>cn.o,useActivitiesLoader:()=>l.d,useAsyncMount:()=>un.S,useAttributeExpanded:()=>Hn.Q,useBasicTableCellRenderer:()=>X.Z,useClickableStyle:()=>ie.d,useCollaboration:()=>pn.C,useConfigPermissions:()=>Cn.l,useCrosswalkActions:()=>hr.P,useCrosswalkColor:()=>Vn.nX,useCrosswalkFocus:()=>Vn.BF,useCrosswalkHighlight:()=>Vn.pu,useDidUpdateEffect:()=>dn.D,useDynamicRowCellHeight:()=>q.Z,useEditableConnection:()=>kn.R,useHighlightedCrosswalks:()=>Vn.RT,useHistory:()=>Or.k,useHistoryDiff:()=>kr.u,useHistoryEnabled:()=>Sr.C,useHistorySlice:()=>Ar.a,useKeyboardNavigation:()=>Mt.t,useMarkAsNotMatchRequest:()=>On.m,useMatchesLoader:()=>xn.s,useMergeAllRequest:()=>An._,useModifiedEntity:()=>br.Q,usePagingSimulator:()=>En.a,usePrevious:()=>fn.D,useProfileActivitiesLoader:()=>s.b,useReadableSearchState:()=>Sn.v,useRelationTypeSelector:()=>mn.n,useRelationsLoader:()=>gn.a,useReloadAllFacets:()=>Gn.Hc,useReloadFacet:()=>Gn.T,useRunOnceAfterValueInitialization:()=>bn.q,useSafePromise:()=>hn._,useSavedState:()=>yn.a,useUsers:()=>vn.U,useWhyDidYouUpdate:()=>wn,useWorkflowAssignee:()=>Vr.r,useWorkflowCheckPermission:()=>Wr.Z,useWorkflowComments:()=>Hr.W,useWorkflowTasks:()=>zr.v,withAsyncMount:()=>ln.Z,withContext:()=>sn.l,withFilterAtBottom:()=>j.Z,withPercents:()=>ae.Z,withTableContext:()=>I.Z,withTooltip:()=>an.Z});var n=r(19084),o=r(40023),a=r(20414),i=r(33992),l=r(7278),s=r(89780),c=r(33117),u=r(15177),p=r(52239),d=r(76141),f=r(54255),m=r(72283),g=r(89913),b=r(3853),h=r(10768),y=r(65629),v=r(39390),Z=r(92203),w=r(63928),C=r(11013),x=r(30410),E=r(45226),A=r(89978),O=r(61347),k=r(66078),S=r(88610),R=r(95492),P=r(81489),T=r(47972),B=r(44938),D=r(42639),N=r(45108),I=r(30488),M=r(38748),j=r(25843),L=r(54238),F=r(33903),V=r(42011),H=r(46728),W=r(85103),z=r(1928),U=r(9377),_=r(75975),G=r(66678),Q=r(91431),q=r(16809),X=r(49592),Y=r(76368),J=r(1730),K=r(82068),$=r(17998),ee=r(72668),te=r(38037),re=r(62321),ne=r(56215),oe=r(12960),ae=r(39878),ie=r(59383),le=r(24328),se=r.n(le),ce=r(1292);function ue(){return ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ue.apply(this,arguments)}const pe=e=>se().createElement(ce.Z,ue({mouseEvent:"onMouseDown"},e));var de=r(89925),fe=r(28831),me=r(89902),ge=r(72316),be=r(78501),he=r(59952),ye=r(51556),ve=r(80560),Ze=r(85596),we=r(67586),Ce=r(87086),xe=r(98538),Ee=r(84425),Ae=r(1128),Oe=r(43371),ke=r(15299),Se=r(92145),Re=r(19855),Pe=r(72466),Te=r(39600),Be=r(65314),De=r(91785),Ne=r(51594),Ie=r(19304),Me=r(6216),je=r(79002),Le=r(37573),Fe=r(20146),Ve=r(42662),He=r(92934),We=r(68977),ze=r(18527),Ue=r(7882),_e=r(97333),Ge=r(93555),Qe=r(83088),qe=r(52194),Xe=r(79692);const Ye=e=>`rotateY(${e?180:0}deg)`,Je=e=>`rotateX(${e?180:0}deg)`,Ke=e=>`rotateY(${e?0:-180}deg)`,$e=e=>`rotateX(${e?0:-180}deg)`,et=(0,Xe.Z)({back:e=>{let{isFlipped:t,direction:r}=e;return{WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",height:"100%",left:"0",position:t?"relative":"absolute",top:"0",transform:"horizontal"===r?Ke(t):$e(t),transformStyle:"preserve-3d",transition:"0.7s",width:"100%",display:"flex"}},container:e=>{let{cardZIndex:t}=e;return{perspective:"1000px",zIndex:t}},flipper:{height:"100%",position:"relative",width:"100%"},front:e=>{let{isFlipped:t,direction:r}=e;return{WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",height:"100%",left:"0",position:t?"absolute":"relative",top:"0",transform:"horizontal"===r?Ye(t):Je(t),transformStyle:"preserve-3d",transition:"0.7s",width:"100%",zIndex:2,display:"flex"}}});var tt=r(71153),rt=r.n(tt);const nt=(0,le.forwardRef)(((e,t)=>{let{cardZIndex:r="auto",direction:n="vertical",isCardFlipped:o=!1,children:a,className:i}=e;const[l,s]=(0,le.useState)(o),c=et({cardZIndex:r,direction:n,isFlipped:l});return(0,le.useEffect)((()=>{o!==l&&s(o)}),[o,l]),se().createElement("div",{className:rt()(c.flipper,i),ref:t},se().createElement("div",{"data-id":"front",className:c.front},a[0]),se().createElement("div",{"data-id":"back",className:c.back},a[1]))})),ot=nt;var at=r(10742),it=r(44363),lt=r(94792),st=r(95596),ct=r(76283),ut=r(87378),pt=r(48685),dt=r(64822),ft=r(10160),mt=r(35583),gt=r(3421),bt=r(70170),ht=r(4270),yt=r(36777),vt=r(16482),Zt=r(7421),wt=r(80233),Ct=r(19262),xt=r(33109),Et=r(91026),At=r(88357),Ot=r(51586),kt=r(15793),St=r(2633),Rt=r(37163),Pt=r(22506),Tt=r(98858),Bt=r(17822),Dt=r(64435),Nt=r(33662),It=r(87356),Mt=r(26638),jt=r(22311),Lt=r(54275),Ft=r(72654),Vt=r(27556);function Ht(){return Ht=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ht.apply(this,arguments)}const Wt=e=>{let{open:t,anchorEl:r,className:n,onClose:o,containerWidth:a,containerHeight:i,paperProps:l,listContent:s,externalInputField:c,classes:u={}}=e;const p=(0,Lt.Z)({containerWidth:a,containerHeight:i});return se().createElement("div",{className:u.root},c,se().createElement(Zt.Z,{open:t,onClose:o,anchorEl:r,placement:"bottom-start",transition:!0},(e=>{let{TransitionProps:t}=e;return se().createElement(Ft.Z,t,se().createElement(Vt.Z,Ht({elevation:2},l),se().createElement("div",{className:rt()(p.container,n),style:{width:a}},se().createElement("div",{className:p.list},s))))})))};var zt=r(63079),Ut=r(28101),_t=r(15422),Gt=r(11821),Qt=r(98273),qt=r(90590),Xt=r(39475),Yt=r(40435),Jt=r(21210),Kt=r(79935),$t=r(14699),er=r(55310),tr=r(57079),rr=r(57412),nr=r(63485),or=r(46804),ar=r(7907),ir=r(73149),lr=r(2002),sr=r(49402),cr=r(51557),ur=r(85777),pr=r(90143),dr=r(33286),fr=r(22118),mr=r(94059),gr=r(77194),br=r(82658),hr=r(73972),yr=r(10938),vr=r(71285),Zr=r(89468),wr=r(34802),Cr=r(10765),xr=r(62116),Er=r(55401),Ar=r(35722),Or=r(85457),kr=r(589),Sr=r(69409),Rr=r(32158),Pr=r(70675),Tr=r(75647),Br=r(95085),Dr=r(38323),Nr=r(21256),Ir=r(37457),Mr=r(821),jr=r(37193),Lr=r(37778),Fr=r(55932),Vr=r(4091),Hr=r(12132),Wr=r(36571),zr=r(27938),Ur=r(20200),_r=r(84236),Gr=r(48376),Qr=r(25601),qr=r(66072),Xr=r(12933),Yr=r(14625),Jr=r(83104),Kr=r(64684),$r=r(83415),en=r(53862),tn=r(62901),rn=r(86602),nn=r(53857),on=r(79573),an=r(78223),ln=r(67462),sn=r(50548),cn=r(17569),un=r(27536),pn=r(36852),dn=r(55962),fn=r(90690),mn=r(64651),gn=r(80225),bn=r(308),hn=r(29627),yn=r(11326),vn=r(10);function Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const wn=(e,t)=>{const r=(0,le.useRef)();(0,le.useEffect)((()=>{if(r.current){const n=Object.keys(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Zn(e,t,r[t])}))}return e}({},r.current,t)),o={};n.forEach((e=>{r.current[e]!==t[e]&&(o[e]={from:r.current[e],to:t[e]})})),Object.keys(o).length&&console.log("[why-did-you-update]",e,o)}r.current=t}))};var Cn=r(47081),xn=r(23044),En=r(18907),An=r(50447),On=r(19278),kn=r(32794),Sn=r(38806),Rn=r(76572),Pn=r(62228),Tn=r(8007),Bn=r(12212),Dn=r(65510),Nn=r(58142),In=r(89575),Mn=r(80687),jn=r(80231),Ln=r(60824),Fn=r(63929),Vn=r(23759),Hn=r(38361),Wn=r(3064),zn=r(14834),Un=r(38309),_n=r(10609),Gn=r(73093),Qn=r(39034)}}]);
|