@reltio/remotes 1.4.1547 → 1.4.1549

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/4843.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4843],{34843:(e,t,r)=>{r.r(t),r.d(t,{ACTIVENESS_ATTR_TYPES:()=>i.ViP,ACTIVITY_TYPES:()=>i.IL3,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,AllDateRangeValues:()=>i.XYV,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,CustomAction:()=>i.W0P,CustomScriptPlatform:()=>i.X1H,DCRChangeRequestState:()=>i.hdG,DCROperationTypes:()=>i.ws7,DCRTypes:()=>i.VI$,DQDataLevel:()=>i.yn8,DQMetric:()=>i.N0y,DashboardViewTypes:()=>i.dZX,DataTenantType:()=>i.bQt,DataTypes:()=>i.oS0,DateRangeTypes:()=>i.KfU,DateRangeValue:()=>i.bZE,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,GlobalContextValue:()=>i.eVu,GraphLayout:()=>i.YGb,GraphTypeType:()=>i.mNm,HistoryOperations:()=>i.Y1q,InteractionTypeType:()=>i.RgZ,KeywordSearchType:()=>i.Qy0,LOCALE_ATTRIBUTE_PRESENTATION:()=>i.Q26,LookupValueType:()=>i.pYu,MAP_SEARCH_TYPES:()=>i.wIJ,MapSearch:()=>i.GFH,MatchRulesAttrNames:()=>i.Ury,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,NOT_MATCH:()=>i.h_8,NO_LABEL:()=>i._XL,NestedAttributeType:()=>i.j2V,NestedAttributeValueType:()=>i.dMV,Node:()=>i.NBX,Operation:()=>i.OXy,Operations:()=>i.BXd,Order:()=>i.KM9,PagingType:()=>i.CJB,PerspectiveClass:()=>i.lXI,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,RelationTypeDirection:()=>i.MCv,RelationTypeType:()=>i.IYE,RelationsConfigType:()=>i.PiC,RequestAction:()=>i.MVv,ScreenItemType:()=>i.h_m,SearchDrivenDateRangeValues:()=>i.DUe,SearchOperator:()=>i.tJI,SearchResultMode:()=>i.fDt,SimpleAttributeValueType:()=>i.cNQ,SimpleLookupType:()=>i.SwE,SortOrderType:()=>i.ZHR,SortingStrategy:()=>i.PYu,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,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$,addDefaultValuesToComplexAttribute:()=>i.$vY,addEntityAttributes:()=>i.zE1,addEntitySpecialAttribute:()=>i.Wm5,addGlobalFilterToQuery:()=>i.vyX,addNewAttribute:()=>i.wLZ,addProtocolToLink:()=>i.W4V,addReferencedRelationCrosswalks:()=>i.EtK,addToEntityRequiredAttributes:()=>i.ayi,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,buildDateRangeFilterClause:()=>i.lPZ,buildEntityTypeFilterClause:()=>i.bG8,buildEntityUriFilterClause:()=>i._LJ,buildError:()=>i.RPM,buildFilterHierarchyList:()=>i.h27,buildFilterQueryString:()=>i.Uqd,buildHierarchyAttributesReadableQuery:()=>i.xG,buildLookupRecord:()=>i.Z2f,buildOperationsToString:()=>i.fgW,buildReadableQuery:()=>i.I69,buildReadableQueryToString:()=>i.ZxB,buildSourceFilterClause:()=>i.dwd,buildUserFilterClause:()=>i.F$g,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,checkMatchRuleSummaryRelevance:()=>i.KB$,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,cloneEntity:()=>i.VtG,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,convertPivotingValueToSearchFilters:()=>i.BlA,convertReferencedEntityForAttrValue:()=>i.fmQ,convertTransitionAttributes:()=>i.yRD,convertValidationServiceErrors:()=>i.NcL,countPercents:()=>i.QK6,createActivity:()=>i.ymd,createAttribute:()=>i.JV_,createCommandExecutor:()=>i.XiW,createComment:()=>i.Yrx,createDCRProcessor:()=>i.BiY,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,deleteReply:()=>i.Mfr,deleteSavedSearch:()=>i.k9j,durationToTimestamp:()=>i.EjS,editAttribute:()=>i.ww$,editCrosswalkAttribute:()=>i.WVU,editEntitySpecialAttribute:()=>i.hxF,enhanceDCREntitiesFromResponse:()=>i.n6p,enrichEntityWithDataTenant:()=>i.E7G,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,findSiblingsAttributeValues:()=>i.i5L,findSourceSystemByUri:()=>i.PWK,findValueInAttributesByUriSuffix:()=>i.IM5,fixLayout:()=>i.Aup,fixNonUniqViewsIds:()=>i.Mfk,flatAttributeTreeNode:()=>i.HQx,flatAttributeTreeNodeWithSimplesOnly:()=>i.oN$,formatDataTypeValue:()=>i.mB6,formatDate:()=>i.p6d,formatDateTime:()=>i.o0x,formatNumber:()=>i.ufS,formatNumberAsMetric:()=>i.k7L,formatRelevanceScore:()=>i.ped,formatTime:()=>i.mrB,generateEntityUrlForOldMode:()=>i.OuZ,generateNewRelationUri:()=>i.ncP,generatePivotingUrlForOldMode:()=>i.FQ2,generateTagUrlForOldMode:()=>i.W$R,generateTempDCRUri:()=>i.JOV,generateTempUri:()=>i.Zmi,generateUri:()=>i.hm5,generateValuableQueryString:()=>i.ECL,getAbsoluteImageUrl:()=>i.vPL,getAbsoluteValueUriFromPath:()=>i.qmL,getAccessToken:()=>i.hPi,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,getAttributeValuesByPathWithOvFlag:()=>i.pfb,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,getConnectionRelationUriForLink:()=>i.gjS,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,getDateRangeByDatePeriod:()=>i.RHh,getDateRangeByValue:()=>i.VQ1,getDateRangeOptions:()=>i.cGG,getDefaultRelationTypeObject:()=>i.z7d,getDefaultSurvivorshipStrategy:()=>i.Xaq,getDependentLookupStateForValueUri:()=>i.Sj8,getDependentLookups:()=>i.PJj,getDescendantEntityTypes:()=>i.k3T,getDirectionalLabelFromObject:()=>i.PjQ,getDtssEntityUrl:()=>i.s7l,getDvfColor:()=>i.jLA,getEditableAttributeTypeSubAttributes:()=>i.BoX,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,getEntityBySurvivorshipGroupUri:()=>i.BXy,getEntityColor:()=>i.fX,getEntityId:()=>i.BTI,getEntityImage:()=>i.uie,getEntityMatchRules:()=>i.q27,getEntityPerspectiveScreenItem:()=>i.vrC,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,getEntityUriFromDCRUri:()=>i.$Rg,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,getFirstLevelSearchUri:()=>i.hWO,getFontColor:()=>i.nHA,getFullObjectsHierarchy:()=>i.nVD,getGlobalContextValue:()=>i._tF,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,getHistoryAppearanceBySpecialAttributeValue:()=>i.YNv,getHistoryAppearanceByUri:()=>i.IFm,getHistoryAttributeClassName:()=>i.o_F,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,getIntervalUnitLabel:()=>i.wsP,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,getMatchGroups:()=>i.KbW,getMatchRuleLabel:()=>i.wId,getMatchRuleSummary:()=>i.TAC,getMatchRules:()=>i.LS0,getMatchesForDataTenantEntity:()=>i.bFH,getMatchesFromDataTenants:()=>i.Rgl,getMaxItemWidth:()=>i.fW1,getMlDqData:()=>i.GFW,getNotAppliedTreeCommands:()=>i.Ywp,getNotMatch:()=>i.pg,getNotMatchesFromDataTenants:()=>i.WSA,getOldRangeFacetValues:()=>i.fed,getOvAttributeValuesByPath:()=>i.tT_,getOvAttributeValuesByPathWithOvFlag:()=>i.BgZ,getOvAttributeValuesByPathWithUri:()=>i.xIV,getPagedEntity:()=>i.KbL,getParentUri:()=>i.JBA,getPathByEntityUri:()=>i.aNC,getPathsTree:()=>i.RFJ,getPathsWithTempUri:()=>i.Zeh,getPayloadForNodeApplyEditing:()=>i.OT5,getPinnedAttributesForUser:()=>i.mC3,getPivotingLabel:()=>i.kR6,getPotentialMatchesColor:()=>i.gFw,getPotentialMatchesObjectIdsForCollaboration:()=>i.NVY,getProfileActivities:()=>i.k6v,getProfileActivitiesTotal:()=>i.FEC,getProfileBandObjectIdsForCollaboration:()=>i.L5S,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,getReferencedRelationAttrTypesUris:()=>i.tF$,getReferencedRelationFromAttrValue:()=>i.o96,getReferencedRelationUriFromAttrValue:()=>i.M4S,getRelation:()=>i._vs,getRelationAttributesList:()=>i.xF8,getRelationCrosswalks:()=>i.PUO,getRelationEditorActiveError:()=>i.ATu,getRelationEntityTypesUris:()=>i.j1S,getRelationType:()=>i.V3K,getRelationTypeLabelFromMetadata:()=>i.Lmx,getRelationTypePropWithInheritance:()=>i.oSN,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,getSingleAttributeEntity:()=>i.PeS,getSourceColor:()=>i.kW2,getSourceSystemLabel:()=>i.tH7,getSpecialAttrTypeByFieldName:()=>i.Yxg,getStartObjectTypeUri:()=>i.MaZ,getStartObjectUri:()=>i.nqN,getSuitableEntityTypeUrisForRelationTypes:()=>i.jWj,getSurvivorshipStrategy:()=>i.o_J,getTaskById:()=>i.yW4,getTasksForEntity:()=>i.uT0,getTasksForTenant:()=>i.C82,getTenantIconColor:()=>i.bsH,getTenantName:()=>i.u9Z,getTenantPermissions:()=>i.LCU,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,hasEntityInTree:()=>i.fbl,hasMatchRulesWithoutML:()=>i.Ir,hasMlMatchRule:()=>i.XQO,hasNonImportedRelations:()=>i.QXb,historyPalettes:()=>i.zXF,ignoreAttribute:()=>i.P8_,ignoreSuggestedRelation:()=>i.iiD,importDTConnections:()=>i.MOC,importEntityFromDataTenant:()=>i.WF,inOutRelationsDeduplicator:()=>i.xE1,initDependentLookups:()=>i.idW,initializeWebWorker:()=>i.QWZ,insertDefaultImageByAttrUri:()=>i.YL3,intl:()=>i.NW9,isAbortError:()=>i.D_E,isActiveObject:()=>i.Fn9,isActivenessAttrType:()=>i.j2U,isAllowedReferencedSubAttribute:()=>i.MpE,isAnalyticAttribute:()=>i.kQw,isAndOperator:()=>i.mfm,isAttributeSearchUri:()=>i.vZp,isAttributeTypeError:()=>i.Wah,isAttributeTypeInDependentLookups:()=>i.E8K,isAttributeValueLink:()=>i.VSb,isAutoGeneratedAttribute:()=>i.vr_,isAutopopulationEnabled:()=>i.Vmh,isAvailableAttributeTypeForProfile:()=>i.FgW,isAvailableEntityType:()=>i.oDv,isAvailableEntityTypeForDataTenant:()=>i.fGG,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,isAvailableRelationTypeUri:()=>i.pQZ,isAvailableTenantForEntityType:()=>i.oZ7,isBooleanType:()=>i.T6Y,isChangeRequestUri:()=>i.VRd,isCompatibleFilters:()=>i._26,isComplexAttribute:()=>i.YkM,isCompositeFilterOption:()=>i.J6y,isCountFilterOption:()=>i.njU,isCreatableEntityType:()=>i.TBP,isCriticalError:()=>i.IT0,isCrosswalkDisabled:()=>i.x_,isDCRUri:()=>i.FP6,isDataTenantEntity:()=>i.biM,isDataTenantEntityUri:()=>i.TMl,isDateFilterOption:()=>i.Vkd,isDateRangeFacet:()=>i.WiY,isDateRangeFilterOption:()=>i._zi,isDateRangeValid:()=>i.RZp,isDateRangeValue:()=>i.J6D,isDateType:()=>i.Lt4,isDependentLookupAttrType:()=>i.QEi,isEditMode:()=>i.whI,isEditableMode:()=>i.KIu,isEmail:()=>i.JhM,isEmailType:()=>i.C_0,isEmptyEntity:()=>i.lzc,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,isOutdatedDateRangeValue:()=>i.Qgr,isOv:()=>i.OXP,isPartOfErrorAttributeTypeUri:()=>i.nsY,isPartOfErrorParentUri:()=>i.vyG,isRDMLookupAttrType:()=>i.lS4,isRangeFacet:()=>i.g5f,isRangeFilterOption:()=>i.fp6,isReadableAttribute:()=>i.Uty,isReference:()=>i.YkG,isRelationAttrType:()=>i.xdS,isRelationCommandForUri:()=>i.kMF,isRelationTypeUri:()=>i.$NE,isRelationUri:()=>i.bC9,isRelationWithEntityType:()=>i.Ian,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,looseEquals:()=>i.l22,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,mergeDataEntityWithCustomerEntity:()=>i.Jwg,mergeDataTenantEntity:()=>i.uJQ,mergeLookupsLists:()=>i.qWg,mergeSameEntities:()=>i.i96,multiValueFilter:()=>i.NPd,normalizeMetadata:()=>i.MrZ,omitMarks:()=>i.zhn,operatorOptions:()=>i.G8q,optimizeCommands:()=>i.Jct,orderByArrayComparator:()=>i.A9Y,parseAdvancedSearch:()=>i.Y5F,parseBoolean:()=>i.gxP,parseCompositeFilterOption:()=>i.c$P,parseCompositeFilters:()=>i.M7o,parseMetadata:()=>i.BBN,parseRelationsConfig:()=>i.fS6,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,setGlobalContextValue:()=>i.RAb,setLookupStrategy:()=>i.nL,setMinHeightForDashboardWidgets:()=>i.k$p,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,updateReply:()=>i.ufV,updateSavedSearch:()=>i._6y,updateTreesWithNewEntity:()=>i.XTh,uploadFileForSearch:()=>i.AJo,uploadImage:()=>i.Ixr,userPreferencesComparator:()=>i.oss,utils:()=>i.P6Y,validateComplexAttribute:()=>i.q5j,validateConnection:()=>i.Bd_,validateConnectionRelation:()=>i.xkB,validateEntity:()=>i.W41,validateEntityChanges:()=>i.WkI,validateEntityLocally:()=>i.sSE,validateFilter:()=>i.GMd,validateFilterValue:()=>i.jtL,validateHierarchyConnection:()=>i.Bxm,validateRequiredAttributes:()=>i.FVh,walkTree:()=>i.inb,withDtssPotentialItems:()=>i.U_T,wrapInArray:()=>i.FTe,wrapInArrayIfNeeded:()=>i.VGB,wrapInBrackets:()=>i.tM8,wrapInDoubleQuotes:()=>i.Wfe,wrapInQuotes:()=>i.Ls5,wrapQueryWithBrackets:()=>i.$bd});var i=r(94815)}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4843],{34843:(e,t,r)=>{r.r(t),r.d(t,{ACTIVENESS_ATTR_TYPES:()=>i.ViP,ACTIVITY_TYPES:()=>i.IL3,ActivenessAttrTypes:()=>i.PY2,ActivityFilter:()=>i.Ng6,ActivityFilters:()=>i.YJ7,AdditionalFilterOptionsValues:()=>i.NlI,AllDateRangeValues:()=>i.XYV,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,CustomAction:()=>i.W0P,CustomScriptPlatform:()=>i.X1H,DCRChangeRequestState:()=>i.hdG,DCROperationTypes:()=>i.ws7,DCRTypes:()=>i.VI$,DQDataLevel:()=>i.yn8,DQMetric:()=>i.N0y,DashboardViewTypes:()=>i.dZX,DataTenantType:()=>i.bQt,DataTypes:()=>i.oS0,DateRangeTypes:()=>i.KfU,DateRangeValue:()=>i.bZE,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,GlobalContextValue:()=>i.eVu,GraphLayout:()=>i.YGb,GraphTypeType:()=>i.mNm,HistoryOperations:()=>i.Y1q,InteractionTypeType:()=>i.RgZ,KeywordSearchType:()=>i.Qy0,LOCALE_ATTRIBUTE_PRESENTATION:()=>i.Q26,LookupValueType:()=>i.pYu,MAP_SEARCH_TYPES:()=>i.wIJ,MapSearch:()=>i.GFH,MatchRulesAttrNames:()=>i.Ury,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,NOT_MATCH:()=>i.h_8,NO_LABEL:()=>i._XL,NestedAttributeType:()=>i.j2V,NestedAttributeValueType:()=>i.dMV,Node:()=>i.NBX,Operation:()=>i.OXy,Operations:()=>i.BXd,Order:()=>i.KM9,PagingType:()=>i.CJB,PerspectiveClass:()=>i.lXI,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,RelationTypeDirection:()=>i.MCv,RelationTypeType:()=>i.IYE,RelationsConfigType:()=>i.PiC,RequestAction:()=>i.MVv,STATUS_CODE_FIELD:()=>i.Q_m,ScreenItemType:()=>i.h_m,SearchDrivenDateRangeValues:()=>i.DUe,SearchOperator:()=>i.tJI,SearchResultMode:()=>i.fDt,SimpleAttributeValueType:()=>i.cNQ,SimpleLookupType:()=>i.SwE,SortOrderType:()=>i.ZHR,SortingStrategy:()=>i.PYu,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,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$,addDefaultValuesToComplexAttribute:()=>i.$vY,addEntityAttributes:()=>i.zE1,addEntitySpecialAttribute:()=>i.Wm5,addGlobalFilterToQuery:()=>i.vyX,addNewAttribute:()=>i.wLZ,addProtocolToLink:()=>i.W4V,addReferencedRelationCrosswalks:()=>i.EtK,addToEntityRequiredAttributes:()=>i.ayi,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,buildDateRangeFilterClause:()=>i.lPZ,buildEntityTypeFilterClause:()=>i.bG8,buildEntityUriFilterClause:()=>i._LJ,buildError:()=>i.RPM,buildFilterHierarchyList:()=>i.h27,buildFilterQueryString:()=>i.Uqd,buildHierarchyAttributesReadableQuery:()=>i.xG,buildLookupRecord:()=>i.Z2f,buildOperationsToString:()=>i.fgW,buildReadableQuery:()=>i.I69,buildReadableQueryToString:()=>i.ZxB,buildSourceFilterClause:()=>i.dwd,buildUserFilterClause:()=>i.F$g,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,checkMatchRuleSummaryRelevance:()=>i.KB$,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,cloneEntity:()=>i.VtG,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,convertPivotingValueToSearchFilters:()=>i.BlA,convertReferencedEntityForAttrValue:()=>i.fmQ,convertTransitionAttributes:()=>i.yRD,convertValidationServiceErrors:()=>i.NcL,countPercents:()=>i.QK6,createActivity:()=>i.ymd,createAttribute:()=>i.JV_,createCommandExecutor:()=>i.XiW,createComment:()=>i.Yrx,createDCRProcessor:()=>i.BiY,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,deleteReply:()=>i.Mfr,deleteSavedSearch:()=>i.k9j,durationToTimestamp:()=>i.EjS,editAttribute:()=>i.ww$,editCrosswalkAttribute:()=>i.WVU,editEntitySpecialAttribute:()=>i.hxF,enhanceDCREntitiesFromResponse:()=>i.n6p,enrichEntityWithDataTenant:()=>i.E7G,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,findSiblingsAttributeValues:()=>i.i5L,findSourceSystemByUri:()=>i.PWK,findValueInAttributesByUriSuffix:()=>i.IM5,fixLayout:()=>i.Aup,fixNonUniqViewsIds:()=>i.Mfk,flatAttributeTreeNode:()=>i.HQx,flatAttributeTreeNodeWithSimplesOnly:()=>i.oN$,formatDataTypeValue:()=>i.mB6,formatDate:()=>i.p6d,formatDateTime:()=>i.o0x,formatNumber:()=>i.ufS,formatNumberAsMetric:()=>i.k7L,formatRelevanceScore:()=>i.ped,formatTime:()=>i.mrB,generateEntityUrlForOldMode:()=>i.OuZ,generateNewRelationUri:()=>i.ncP,generatePivotingUrlForOldMode:()=>i.FQ2,generateTagUrlForOldMode:()=>i.W$R,generateTempDCRUri:()=>i.JOV,generateTempUri:()=>i.Zmi,generateUri:()=>i.hm5,generateValuableQueryString:()=>i.ECL,getAbsoluteImageUrl:()=>i.vPL,getAbsoluteValueUriFromPath:()=>i.qmL,getAccessToken:()=>i.hPi,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,getAttributeValuesByPathWithOvFlag:()=>i.pfb,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,getConnectionRelationUriForLink:()=>i.gjS,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,getDateRangeByDatePeriod:()=>i.RHh,getDateRangeByValue:()=>i.VQ1,getDateRangeOptions:()=>i.cGG,getDefaultRelationTypeObject:()=>i.z7d,getDefaultSurvivorshipStrategy:()=>i.Xaq,getDependentLookupStateForValueUri:()=>i.Sj8,getDependentLookups:()=>i.PJj,getDescendantEntityTypes:()=>i.k3T,getDirectionalLabelFromObject:()=>i.PjQ,getDtssEntityUrl:()=>i.s7l,getDvfColor:()=>i.jLA,getEditableAttributeTypeSubAttributes:()=>i.BoX,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,getEntityBySurvivorshipGroupUri:()=>i.BXy,getEntityColor:()=>i.fX,getEntityId:()=>i.BTI,getEntityImage:()=>i.uie,getEntityMatchRules:()=>i.q27,getEntityPerspectiveScreenItem:()=>i.vrC,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,getEntityUriFromDCRUri:()=>i.$Rg,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,getFirstLevelSearchUri:()=>i.hWO,getFontColor:()=>i.nHA,getFullObjectsHierarchy:()=>i.nVD,getGlobalContextValue:()=>i._tF,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,getHistoryAppearanceBySpecialAttributeValue:()=>i.YNv,getHistoryAppearanceByUri:()=>i.IFm,getHistoryAttributeClassName:()=>i.o_F,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,getIntervalUnitLabel:()=>i.wsP,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,getMatchGroups:()=>i.KbW,getMatchRuleLabel:()=>i.wId,getMatchRuleSummary:()=>i.TAC,getMatchRules:()=>i.LS0,getMatchesForDataTenantEntity:()=>i.bFH,getMatchesFromDataTenants:()=>i.Rgl,getMaxItemWidth:()=>i.fW1,getMlDqData:()=>i.GFW,getNotAppliedTreeCommands:()=>i.Ywp,getNotMatch:()=>i.pg,getNotMatchesFromDataTenants:()=>i.WSA,getOldRangeFacetValues:()=>i.fed,getOvAttributeValuesByPath:()=>i.tT_,getOvAttributeValuesByPathWithOvFlag:()=>i.BgZ,getOvAttributeValuesByPathWithUri:()=>i.xIV,getPagedEntity:()=>i.KbL,getParentUri:()=>i.JBA,getPathByEntityUri:()=>i.aNC,getPathsTree:()=>i.RFJ,getPathsWithTempUri:()=>i.Zeh,getPayloadForNodeApplyEditing:()=>i.OT5,getPinnedAttributesForUser:()=>i.mC3,getPivotingLabel:()=>i.kR6,getPotentialMatchesColor:()=>i.gFw,getPotentialMatchesObjectIdsForCollaboration:()=>i.NVY,getProfileActivities:()=>i.k6v,getProfileActivitiesTotal:()=>i.FEC,getProfileBandObjectIdsForCollaboration:()=>i.L5S,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,getReferencedRelationAttrTypesUris:()=>i.tF$,getReferencedRelationFromAttrValue:()=>i.o96,getReferencedRelationUriFromAttrValue:()=>i.M4S,getRelation:()=>i._vs,getRelationAttributesList:()=>i.xF8,getRelationCrosswalks:()=>i.PUO,getRelationEditorActiveError:()=>i.ATu,getRelationEntityTypesUris:()=>i.j1S,getRelationType:()=>i.V3K,getRelationTypeLabelFromMetadata:()=>i.Lmx,getRelationTypePropWithInheritance:()=>i.oSN,getRelationTypeUriFromAttrType:()=>i.ZaZ,getRelationsForDataTenantEntity:()=>i.n_1,getRelationsForEntity:()=>i.N6e,getRelationshipTypeUrisFromGraphType:()=>i.SxO,getRelationshipsObjectIdsForCollaboration:()=>i.w3p,getRequestErrorMessage:()=>i.xU7,getRequestErrorStatusCode:()=>i.hAq,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,getSingleAttributeEntity:()=>i.PeS,getSourceColor:()=>i.kW2,getSourceSystemLabel:()=>i.tH7,getSpecialAttrTypeByFieldName:()=>i.Yxg,getStartObjectTypeUri:()=>i.MaZ,getStartObjectUri:()=>i.nqN,getSuitableEntityTypeUrisForRelationTypes:()=>i.jWj,getSurvivorshipStrategy:()=>i.o_J,getTaskById:()=>i.yW4,getTasksForEntity:()=>i.uT0,getTasksForTenant:()=>i.C82,getTenantIconColor:()=>i.bsH,getTenantName:()=>i.u9Z,getTenantPermissions:()=>i.LCU,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,hasEntityInTree:()=>i.fbl,hasMatchRulesWithoutML:()=>i.Ir,hasMlMatchRule:()=>i.XQO,hasNonImportedRelations:()=>i.QXb,historyPalettes:()=>i.zXF,ignoreAttribute:()=>i.P8_,ignoreSuggestedRelation:()=>i.iiD,importDTConnections:()=>i.MOC,importEntityFromDataTenant:()=>i.WF,inOutRelationsDeduplicator:()=>i.xE1,initDependentLookups:()=>i.idW,initializeWebWorker:()=>i.QWZ,insertDefaultImageByAttrUri:()=>i.YL3,intl:()=>i.NW9,isAbortError:()=>i.D_E,isActiveObject:()=>i.Fn9,isActivenessAttrType:()=>i.j2U,isAllowedReferencedSubAttribute:()=>i.MpE,isAnalyticAttribute:()=>i.kQw,isAndOperator:()=>i.mfm,isAttributeSearchUri:()=>i.vZp,isAttributeTypeError:()=>i.Wah,isAttributeTypeInDependentLookups:()=>i.E8K,isAttributeValueLink:()=>i.VSb,isAutoGeneratedAttribute:()=>i.vr_,isAutopopulationEnabled:()=>i.Vmh,isAvailableAttributeTypeForProfile:()=>i.FgW,isAvailableEntityType:()=>i.oDv,isAvailableEntityTypeForDataTenant:()=>i.fGG,isAvailableEntityTypeUri:()=>i.kuw,isAvailableRelationBetweenEntities:()=>i.eHk,isAvailableRelationType:()=>i.Tt2,isAvailableRelationTypeUri:()=>i.pQZ,isAvailableTenantForEntityType:()=>i.oZ7,isBooleanType:()=>i.T6Y,isChangeRequestUri:()=>i.VRd,isCompatibleFilters:()=>i._26,isComplexAttribute:()=>i.YkM,isCompositeFilterOption:()=>i.J6y,isCountFilterOption:()=>i.njU,isCreatableEntityType:()=>i.TBP,isCriticalError:()=>i.IT0,isCrosswalkDisabled:()=>i.x_,isDCRUri:()=>i.FP6,isDataTenantEntity:()=>i.biM,isDataTenantEntityUri:()=>i.TMl,isDateFilterOption:()=>i.Vkd,isDateRangeFacet:()=>i.WiY,isDateRangeFilterOption:()=>i._zi,isDateRangeValid:()=>i.RZp,isDateRangeValue:()=>i.J6D,isDateType:()=>i.Lt4,isDependentLookupAttrType:()=>i.QEi,isEditMode:()=>i.whI,isEditableMode:()=>i.KIu,isEmail:()=>i.JhM,isEmailType:()=>i.C_0,isEmptyEntity:()=>i.lzc,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,isOutdatedDateRangeValue:()=>i.Qgr,isOv:()=>i.OXP,isPartOfErrorAttributeTypeUri:()=>i.nsY,isPartOfErrorParentUri:()=>i.vyG,isRDMLookupAttrType:()=>i.lS4,isRangeFacet:()=>i.g5f,isRangeFilterOption:()=>i.fp6,isReadableAttribute:()=>i.Uty,isReference:()=>i.YkG,isRelationAttrType:()=>i.xdS,isRelationCommandForUri:()=>i.kMF,isRelationTypeUri:()=>i.$NE,isRelationUri:()=>i.bC9,isRelationWithEntityType:()=>i.Ian,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,looseEquals:()=>i.l22,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,mergeDataEntityWithCustomerEntity:()=>i.Jwg,mergeDataTenantEntity:()=>i.uJQ,mergeLookupsLists:()=>i.qWg,mergeSameEntities:()=>i.i96,multiValueFilter:()=>i.NPd,normalizeMetadata:()=>i.MrZ,omitMarks:()=>i.zhn,operatorOptions:()=>i.G8q,optimizeCommands:()=>i.Jct,orderByArrayComparator:()=>i.A9Y,parseAdvancedSearch:()=>i.Y5F,parseBoolean:()=>i.gxP,parseCompositeFilterOption:()=>i.c$P,parseCompositeFilters:()=>i.M7o,parseMetadata:()=>i.BBN,parseRelationsConfig:()=>i.fS6,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,setGlobalContextValue:()=>i.RAb,setLookupStrategy:()=>i.nL,setMinHeightForDashboardWidgets:()=>i.k$p,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,updateReply:()=>i.ufV,updateSavedSearch:()=>i._6y,updateTreesWithNewEntity:()=>i.XTh,uploadFileForSearch:()=>i.AJo,uploadImage:()=>i.Ixr,userPreferencesComparator:()=>i.oss,utils:()=>i.P6Y,validateComplexAttribute:()=>i.q5j,validateConnection:()=>i.Bd_,validateConnectionRelation:()=>i.xkB,validateEntity:()=>i.W41,validateEntityChanges:()=>i.WkI,validateEntityLocally:()=>i.sSE,validateFilter:()=>i.GMd,validateFilterValue:()=>i.jtL,validateHierarchyConnection:()=>i.Bxm,validateRequiredAttributes:()=>i.FVh,walkTree:()=>i.inb,withDtssPotentialItems:()=>i.U_T,wrapInArray:()=>i.FTe,wrapInArrayIfNeeded:()=>i.VGB,wrapInBrackets:()=>i.tM8,wrapInDoubleQuotes:()=>i.Wfe,wrapInQuotes:()=>i.Ls5,wrapQueryWithBrackets:()=>i.$bd});var i=r(65503)}}]);
package/514.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[514],{12714:(e,t,n)=>{n.d(t,{Z:()=>O});var r=n(24328),o=n.n(r),l=n(52730),a=n(17440),i=n(49885),c=n(94815),s=n(39148),u=n(64731),d=n(87918),m=n.n(d),p=n(87685),g=n(74443),f=n(8818);function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}const h=e=>o().createElement("svg",v({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"}))));var b=n(79692);const x=(0,b.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:{}}))),y=(0,r.memo)((e=>{let{rowData:t,rowContext:n}=e;const l=x(),{id:a,attribute:i}=t||{},{addRowAfterIndex:c,removeRow:s,duplicateRow:u}=n,d=(0,r.useCallback)((()=>{c(a)}),[c,a]),v=(0,r.useCallback)((()=>{u(a)}),[u,a]),b=(0,r.useCallback)((()=>{s(a)}),[a,s]);return o().createElement("div",{className:l.actions},o().createElement(f.k,{tooltipTitle:m().text("Add"),icon:g.Z,size:"M",onClick:d}),i&&o().createElement(f.k,{tooltipTitle:m().text("Duplicate"),icon:h,size:"M",onClick:v}),o().createElement(f.k,{tooltipTitle:m().text("Delete"),icon:p.default,size:"M",onClick:b}))}));var C=n(41315),w=n(99757);const E=(0,r.memo)((e=>{let{rowData:t,rowContext:n,attributeSelectorProps:l}=e;const{attribute:a,id:i,filter:s}=t||{},{changeFilter:u,addNewFilter:d,attributesGroup:m}=n,p=(0,r.useCallback)((e=>(0,c.e6O)({data:e})),[]),g=(0,r.useMemo)((()=>[{id:"",title:"",attributes:m}]),[m]),f=(0,r.useCallback)((e=>{if(t){const t={fieldName:e.attribute.fieldName,filter:s,values:[]};u(t,i)}else d({fieldName:e.attribute.fieldName,filter:null,values:[]})}),[d,u,i,t,s]);return o().createElement(w.Z,{itemsGroups:g,ungroup:!0,single:!0,value:a,getLabel:p,onSelect:f,onOpenPopup:l.onOpen})}));var D=n(70215);const I=(0,b.Z)((()=>({attrSelector:{width:"222px",height:"40px",flexShrink:0},filterSelector:{width:"180px",flexShrink:0,marginTop:0,marginBottom:0},actionContainer:{alignItems:"center",marginRight:"15px"}}))),R={fieldName:null,filter:null,values:[]},k=()=>null,O=(0,r.memo)((e=>{let{attributeTypes:t,filters:n,onChange:d,components:m={}}=e;const{ValuesEditor:p,FilterSelector:g}=m,f=(0,l.useSelector)(i.ZP.selectors.getMetadata),v=(0,c.nt9)(f,(0,s.gZ)(t)),{attrSelector:h,filterSelector:b,actionContainer:x}=I(),w=(0,r.useRef)(n);w.current=n;const O=(0,r.useRef)(null),N=(0,r.useRef)(null),Z=(0,r.useRef)(null),S=(0,r.useMemo)((()=>({attributeSelectorContainer:h,filterSelectorContainer:b,actionsContainer:x})),[h,b,x]),T=(0,r.useMemo)((()=>(0,s.Uk)(t,v,f)),[t,f,v]),H=(0,r.useMemo)((()=>n.length?(0,s.QB)(n,T):[]),[T,n]);Z.current=H.length,(0,r.useEffect)((()=>{O.current&&N.current!==Z.current&&(O.current.querySelector("input").focus(),N.current=null)}),[H.length]);const M=(0,r.useCallback)((()=>{N.current=H.length}),[H.length]),P=(0,r.useMemo)((()=>({onOpen:M})),[M]),j=(0,r.useCallback)((e=>{const t=[...w.current];t.splice(e+1,0,R),d(t)}),[d]),B=(0,r.useCallback)((e=>{const t=[...w.current];t.splice(e,1),d(t)}),[d]),F=(0,r.useCallback)((e=>{const t=[...w.current];t.splice(e+1,0,{fieldName:w.current[e].fieldName,filter:w.current[e].filter,values:w.current[e].values}),d(t)}),[d]),z=(0,r.useCallback)(((e,t)=>{const n=(0,a.evolve)({[t]:(0,a.always)(e)},w.current);d(n)}),[d]),V=(0,r.useCallback)((e=>{d([...w.current,e])}),[d]);return o().createElement(C.Z,{rowClasses:S,rowsData:H,AttributeSelectorComponent:E,FilterSelectorComponent:g||u.Z,ValuesEditorComponent:p||D.Z,ActionsComponent:y,LogicOperatorComponent:k,filterSelectorRefIndex:N.current,filterSelectorRef:O,lastRowAttributeSelectorProps:P,attributesGroup:T,changeFilter:z,addNewFilter:V,addRowAfterIndex:j,removeRow:B,duplicateRow:F,entityType:v})}))},64731:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),l=n(87918),a=n.n(l),i=n(17440),c=n(6782),s=n(94815),u=n(31517),d=n(39148);const m=(0,n(79692).Z)({dropDownSelector:{width:"100%"}}),p=(0,r.memo)((e=>{let{rowData:t,rowContext:n,textFieldInputRef:l,options:p}=e;const g=m(),{attribute:{attrType:f={},fieldName:v=null}={},filter:h,id:b}=t||{},{changeFilter:x}=n,y=p||f&&v&&(0,i.pipe)(s.d3Y,(0,i.map)((e=>({value:e,label:(0,c.Z)((0,s.XS2)(e))}))))(f,v),C=(0,r.useCallback)((e=>{const t={fieldName:v,filter:e.value,values:[]};x(t,b)}),[x,b,v]);return(0,r.useEffect)((()=>{(v&&!h||v&&!(0,d.dG)(y,h))&&C(y[0])}),[v,h,C,y]),o().createElement(u.Z,{label:"",height:40,isDisabled:!y,placeholder:a().text("Equals"),value:(0,d.dG)(y,h),options:y,onChange:C,className:g.dropDownSelector,textFieldInputRef:l})}))},70215:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),o=n.n(r),l=n(94815),a=n(24754);const i=(0,n(79692).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:{display:"flex",alignItems:"center",width:"222px!important",minHeight:"40px",flexShrink:0}}),c=(0,r.memo)((e=>{let{rowData:t,rowContext:n}=e;const c=i(),s=(null==t?void 0:t.attribute)&&(0,l.wNf)(t.filter),{changeFilter:u}=n,{values:d=[],attribute:{attrType:m,fieldName:p=null}={},filter:g,id:f}=t||{},v=m&&(0,l.PFL)(m),h=v&&(0,l.l1V)(v,g),b=(0,r.useMemo)((()=>({filter:g,fieldName:p,values:d||[]})),[g,p,d]),x=(0,r.useMemo)((()=>({InputProps:{classes:{root:c.input}}})),[c]),y=(0,r.useMemo)((()=>({root:c.root})),[c]),C=(0,r.useCallback)((e=>{u({fieldName:p,filter:g,values:e},f)}),[u,f,p,g]);return o().createElement("div",{className:c.valuesEditor},(null==t?void 0:t.attribute)&&s&&o().createElement(a.Z,{filter:b,onChange:C,dataTypeDefinition:h,fullWidth:!0,TextFieldProps:x,color:"primary",classes:y,orientation:"horizontal"}))}))},39148:(e,t,n)=>{n.d(t,{Uk:()=>c,dG:()=>u,QB:()=>d,gZ:()=>m});var r=n(94815);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}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 a=(e,t,n,l)=>{const a=(0,r.jFi)(e,{type:n}),i=t.label||t.name;return o({attrType:t,title:i},(0,r.kqr)(t)?{fieldName:t.name}:{entityTypeUri:n,pathToTitle:Array.isArray(l)?[a,...l,i]:[a,i],fieldName:(0,r.Tde)(t.uri)})},i=function(e,t,n,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const a=o({},r(e,t,n,l),{uri:t.uri}),c=t.children?t.children.map((o=>i(e,o,n,r,l.concat(t.label)))):[];return c.length&&(a.children=c),a},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(0,r.kkq)(e,n).map((e=>{const o=(0,r.kqr)(e)?null:t.uri;return i(n,e,o,a)}))},s=(e,t)=>{let n;const r=(e,t)=>{for(const o of t){if(e===o.fieldName)return void(n=o);"children"in o&&r(e,o.children)}};return r(e,t),n},u=(e,t)=>e?e.find((e=>e.value===t)):null,d=(e,t)=>e.map(((e,n)=>({attribute:e.fieldName?s(e.fieldName,t):void 0,filter:e.filter,id:n,values:e.values}))),m=e=>{const t=e.find((e=>!(0,r.kqr)(e)));return t?(0,r.u5q)(t.uri):null}},63172:(e,t,n)=>{n.d(t,{Z:()=>x});var r=n(24328),o=n.n(r),l=n(87918),a=n.n(l),i=n(94079),c=n(36444),s=n(94815),u=n(12714),d=n(79692);function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.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 g={alignSelf:"center"},f=(0,d.Z)((()=>({buttonsWrapper:{display:"flex"},applyButton:m({},g,{marginRight:"16px"}),cancelButton:m({},g,{marginLeft:"auto"}),clearButon:m({},g)}))),v=e=>{let{onClear:t,onCancel:n,onApply:r}=e;const l=f();return o().createElement("div",{className:l.buttonsWrapper},o().createElement(i.Button,{onClick:t,variant:"text",color:"default",className:l.clearButon},a().text("Clear all")),o().createElement(i.Button,{onClick:n,variant:"text",color:"default",className:l.cancelButton},a().text("Cancel")),o().createElement(i.Button,{onClick:r,variant:"text",color:"primary",className:l.applyButton},a().text("Apply")))};var h=n(41128);const b=(0,d.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,h.U1)(e.palette.primary.main,.12)}}))),x=(0,r.memo)((e=>{let{filters:t,attributeTypes:n,onChange:l,components:d,children:m,onTogglePopup:p,isFiltersApplied:g,dataReltioId:f}=e;const h=b(),x=(0,r.useRef)(),[y,C]=(0,r.useState)(!1),[w,E]=(0,r.useState)([]),D=(null!=g?g:(0,s.Uqd)()(t))?"primary":"inherit",I=()=>{p&&p(!y),C((e=>!e))};(0,r.useEffect)((()=>{y&&E(t)}),[t,y]);const R=(0,r.useCallback)((()=>{l(w),I()}),[w,l]),k=(0,r.useCallback)((()=>{I()}),[]),O=(0,r.useCallback)((()=>{E([])}),[]);return o().createElement(o().Fragment,null,o().createElement(i.Button,{"data-reltio-id":f,ref:x,color:D,classes:{root:h.triggerButton,textPrimary:h.changedFiltersIndicator},onClick:I},o().createElement(c.Z,{color:D})),o().createElement(i.Popover,{open:y,classes:{paper:h.popupContent},anchorEl:x.current,onClose:I,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}},o().createElement(o().Fragment,null,o().createElement(i.Typography,{variant:"h6"},a().text("Filter")),o().createElement("div",{className:h.filtersBuilderWrapper},m,o().createElement(u.Z,{attributeTypes:n,filters:w,onChange:E,components:d})),o().createElement(i.Divider,{className:h.divider}),o().createElement(v,{onApply:R,onCancel:k,onClear:O}))))}))},46177:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),o=n.n(r),l=n(13980),a=n.n(l),i=n(21697),c=n(14838),s=n(25461),u=n(17440),d=n(22273),m=n(73038);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const g=e=>{let{rowsData:t,columnsData:n,renderRowCell:l=c.Z,getRowCellHeight:g=s.Z,defaultRowHeight:f=48,maxRowValuesCount:v=1/0}=e;const{tableRowsData:h,collapseContextValue:b}=(0,d.Z)({rowsData:t,columnsData:n,renderRowCell:l,getRowCellHeight:g,maxRowValuesCount:v});return(0,r.useMemo)((()=>{const e=h.reduce(((e,t,n)=>{const{data:r}=t;return e[n]=(0,i.calculateRowHeight)(r,f),e}),{}),t=(t,n,r)=>{const o=[t,"subRowHeight",n,r,"height"];return(0,u.pathOr)(0,o,e)},r=t=>(0,u.pathOr)(0,[t,"height"],e),l=e=>{let{columnId:l,rowIndex:a}=e,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["columnId","rowIndex"]);return o().createElement(m.x.Provider,{value:b},o().createElement("div",p({},c,{style:{height:r(a)}}),h.length>0&&(0,i.getCellContentFromRowsData)({columnIndex:n.findIndex((0,u.propEq)("id",l)),headData:n,rowsData:h,rowIndex:a,getHeightForSubRow:t})))};return l.propTypes={columnId:a().string,rowIndex:a().number},{getRowHeight:r,CellRenderer:l}}),[h,f,b,n])}},86776:(e,t,n)=>{n.d(t,{R:()=>f});var r=n(24328),o=n.n(r),l=n(71153),a=n.n(l),i=n(52730),c=n(17440),s=n(49885),u=n(94079),d=n(79692),m=n(94815);const p=(0,d.Z)({root:e=>{let{dataTenantId:t}=e;const n=(0,m.bsH)(t);return{backgroundColor:n,color:(0,m.nHA)(n),height:"18px",padding:"0 3px"}}}),g=e=>`DT:${(0,c.slice)(0,1,e)}`,f=e=>{let{dataTenantId:t,className:n}=e;const r=p({dataTenantId:t}),l=(0,i.useSelector)(s.ZP.selectors.getDataTenants),d=(0,c.pipe)((0,c.defaultTo)([]),(0,c.find)((0,c.propEq)("id",t)))(l),m=(0,c.pipe)((0,c.propOr)("","label"),c.toUpper,(0,c.ifElse)((0,c.startsWith)("DT:"),(0,c.slice)(0,4),g))(d),f=o().createElement("div",{className:a()(r.root,n)},o().createElement(u.Typography,{variant:"body2"},m));return null!=d&&d.label?o().createElement(u.Tooltip,{title:d.label},f):f}},58970:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(24328),o=n.n(r),l=n(52730),a=n(49885),i=n(94815),c=n(52309);const s=e=>{let{name:t,values:n,onChange:s,entityType:u,TextFieldProps:d,fullWidth:m}=e;const p=(0,l.useSelector)(a.ZP.selectors.getMetadata),[g,f]=(0,r.useMemo)((()=>(0,i.UkJ)((0,i.KbW)(p,null==u?void 0:u.uri))),[null==u?void 0:u.uri,p]),v=(0,r.useMemo)((()=>function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>{let{label:t,uri:n}=e;return{label:t,value:n}}))}(t===i.Ury.matchRules?f:g)),[t,f,g]);return o().createElement(c.Z,{values:n,onChange:s,options:v,TextFieldProps:d,fullWidth:m})};s.displayName="MatchRulesSelector";const u=s},52309:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),o=n.n(r),l=n(17440),a=n(94815),i=n(96808),c=n(12079),s=n(36179),u=n(82455),d=n(92575),m=n(31276);function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.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=(0,n(79692).Z)((e=>({option:{paddingLeft:"35px"},dropdownIndicator:{cursor:"pointer",color:e.palette.text.secondary,marginTop:0,marginBottom:0},clearIndicator:{display:"none"}}))),v={input:e=>p({},e,{fontSize:"14px"}),menuPortal:e=>p({},e,{zIndex:1300}),menuList:e=>p({},e,{maxHeight:"240px",padding:"8px 0"}),menu:e=>p({},e,{maxHeight:"240px"})};function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){b(e,t,n[t])}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const x=e=>{let{values:t=[],onChange:n,options:p,fullWidth:g,TextFieldProps:b={}}=e;const x=f(),y=(0,r.useRef)(null),C=(0,r.useCallback)((e=>p.find((t=>t.value===e))||{value:e,label:e}),[p]),w=(0,r.useMemo)((()=>t.map(C)),[C,t]),{InputProps:E={},className:D}=b,I=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(b,["InputProps","className"]);return o().createElement(d.Z,{value:w,onChange:(0,l.pipe)((0,l.defaultTo)([]),(0,l.pluck)("value"),n),options:p,TextFieldProps:h({InputProps:h({disableUnderline:(0,a.O27)(t)},E),variant:"filled",className:D,ref:y},I),components:{DropdownIndicator:i.Z,Option:c.Z,Menu:s.Z,MultiValue:u.Z,IndicatorSeparator:m.Vd},inputRef:y,classes:x,styles:h({},v,{container:e=>h({},e,g?{width:"100%"}:{})}),menuPortalTarget:document.body})};x.displayName="MultiValueSelector";const y=(0,r.memo)(x)},35071:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(13980),o=n.n(r),l=n(24328),a=n.n(l),i=n(73272),c=n(58241);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const u=e=>a().createElement("svg",s({viewBox:"0 0 20 20"},e),a().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 d=n(87918),m=n.n(d),p=n(71153),g=n.n(p);const f=(0,n(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}}))),v=e=>{let{date:t,type:n,createdBy:r,step:o,children:s,Actions:d}=e;const p=f(),[v,h]=(0,l.useState)(!1);return a().createElement("div",{className:p.pmReviewCard},a().createElement("div",{className:g()(p.header,{[p.expanded]:v})},a().createElement(u,{className:p.icon}),a().createElement("div",{className:p.mainInfo},a().createElement("div",{className:p.title},a().createElement("div",{className:g()(p.caption,p.flex)},m().text("Match review")),a().createElement(i.Z,{className:p.flag}),a().createElement("span",{className:p.date},m().date(t,"L")),a().createElement(c.Z,{isOpen:v,onClick:()=>{h(!v)}})),a().createElement("div",{className:p.infoBlock},a().createElement("div",{className:p.flex},a().createElement("div",{className:p.info},n),a().createElement("div",{className:p.info},m().text("Created by ${createdBy}",{createdBy:r})),a().createElement("div",{className:p.info},m().text("Step: ${step}",{step:o}))),d))),v?s:null)};v.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=v},14377:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(24328),o=n.n(r),l=n(47603),a=n(87918),i=n.n(a),c=n(8818),s=n(55847),u=n(17440),d=n(94079);const m=(0,n(79692).Z)((e=>({menuItem:{height:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px"},checkbox:{padding:0,marginRight:"15px"}}))),p=(0,r.forwardRef)(((e,t)=>{let{item:n,onMenuClose:r=u.identity}=e;const l=m(),{text:a,onClick:i,id:c,selected:s}=n;return o().createElement(d.MenuItem,{classes:{root:l.menuItem},onClick:e=>{r(e),i(e)},ref:t,"data-modal":!0,"data-reltio-id":`reltio-settings-menu-item${c}`},o().createElement(d.Checkbox,{checked:s,className:l.checkbox,color:"primary"}),o().createElement(d.Typography,{classes:{root:l.menuText}},a))}));p.displayName="SettingsMenuItemRenderer";const g=p,f=e=>{let{items:t,menuId:n}=e;return o().createElement(s.Z,{buttonComponent:c.k,buttonProps:{icon:l.Z,tooltipTitle:i().text("Settings"),size:"L"},menuId:n,menuItems:t,MenuItemRenderer:g})}},54337:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(24328),o=n.n(r),l=n(52730),a=n(17440),i=n(49885),c=n(94815),s=n(52309);const u=e=>{let{values:t,onChange:n,TextFieldProps:u,fullWidth:d}=e;const m=(0,l.useSelector)(i.ZP.selectors.getMetadata),p=(0,r.useMemo)((()=>(0,a.pipe)((0,a.sortBy)((e=>e.label)),(0,a.map)((e=>{let{label:t,uri:n}=e;return{label:t,value:(0,c.nIW)(n)}})))(m.sources)),[m.sources]);return o().createElement(s.Z,{values:t,onChange:n,options:p,TextFieldProps:u,fullWidth:d})};u.displayName="SourceSystemsSelector";const d=u},59651:(e,t,n)=>{n.d(t,{c:()=>s});var r=n(94815),o=n(24328),l=n.n(o),a=n(17440),i=n(94079);const c=(0,n(79692).Z)({root:{height:"18px",width:"18px",textAlign:"center"}}),s=e=>{let{tenant:t}=e;const n=c(),s=(0,o.useMemo)((()=>{const e=(0,r.bsH)(null==t?void 0:t.id);return{backgroundColor:e,color:(0,r.nHA)(e)}}),[null==t?void 0:t.id]);return l().createElement("div",{style:s,className:n.root},l().createElement(i.Typography,{variant:"body2"},(0,a.toUpper)((0,a.head)(null==t?void 0:t.name))))}},95474:(e,t,n)=>{n.d(t,{H:()=>x});var r=n(24328),o=n.n(r),l=n(52730),a=n(17440),i=n(83543),c=n(49885),s=n(94815),u=n(55847),d=n(59651),m=n(94079),p=n(31276),g=n(79692);const f=(0,g.Z)({root:{minHeight:"48px",gap:"30px"}}),v=(0,r.forwardRef)(((e,t)=>{let{item:n,onMenuClose:r=p.ZT}=e;const l=f(),{tenant:a,onClick:i}=n,c=a.label?`${a.label} : ${a.name}`:a.name;return o().createElement(m.MenuItem,{onClick:()=>{r(),i(a)},ref:t,className:l.root},o().createElement(d.c,{tenant:a}),o().createElement(m.Typography,null,c))}));v.displayName="TenantMenuItem";const h=v,b=(0,g.Z)({menuButtonRoot:{padding:0}}),x=e=>{let{entityTypeUri:t,onChangeTenant:n,selectedTenant:m}=e;const p=b(),g=(0,l.useSelector)(c.ZP.selectors.getDataTenants),f=(0,l.useSelector)(c.ZP.selectors.getTenantObject),v=(0,r.useMemo)((()=>(0,a.pipe)((0,a.defaultTo)([]),(0,a.filter)((0,s.oZ7)(t)),(0,a.map)((e=>({tenant:e,onClick:n}))),(0,a.prepend)({tenant:f,onClick:n}))(g)),[g,t,n,f]);return(0,s.O27)(g)||!n?null:o().createElement(u.Z,{menuId:"tenantSelector",MenuItemRenderer:h,buttonContent:o().createElement(d.c,{tenant:m}),menuItems:v,buttonProps:{variant:"outlined",endIcon:o().createElement(i.Z,null),classes:{root:p.menuButtonRoot}},popoverProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}})}},34635:(e,t,n)=>{n.d(t,{Z:()=>R});var r=n(24328),o=n.n(r),l=n(71153),a=n.n(l);const i=e=>{let{value:t}=e;return t||null},c=e=>{let{label:t}=e;return t||null};var s=n(79692);const u=(0,s.Z)((()=>({hidden:{display:"none"}}))),d=e=>{let{columnValue:t,rowData:n,setHoveredColumn:r,resetHoveredColumn:l,someRowIsDragging:c}=e;const s=u(),d=n.cellRenderer||i,m=r?()=>r(t):void 0;return o().createElement("td",{onMouseOver:m,onMouseLeave:l},o().createElement("div",{className:a()({[s.hidden]:c})},o().createElement(d,{value:t[n.id]})))};var m=n(14940),p=n(13896),g=n(42484);let f;!function(e){e.Column="Column",e.Row="Row"}(f||(f={}));const v=(0,s.Z)((e=>({tableData:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{opacity:0,position:"absolute",top:0,left:"50%",cursor:"move",transition:"opacity 0.3s",transform:"translateX(-50%) rotate(90deg)",zIndex:5},dragIndicatorIcon:{width:"14.4px",height:"18px",color:e.palette.text.secondary},hidden:{display:"none"}}))),h=e=>{let{columnValue:t,rowData:n,index:l,onMoveColumn:c,onDropColumn:s,shouldRenderDragIndicator:u,setHoveredColumn:d,resetHoveredColumn:h,someRowIsDragging:b}=e;const x=v(),y=o().useRef(null),C=o().useRef(null),w=n.cellRenderer||i,[{targetId:E},D]=(0,p.useDrop)({accept:f.Column,hover:(e,n)=>{var r;if(!y.current)return;const o=e.index,a=l;if(o===a)return;const i=null===(r=y.current)||void 0===r?void 0:r.getBoundingClientRect(),s=(i.right-i.left)/2,u=n.getClientOffset().x-i.left;o<a&&u<s||o>a&&u>s||(c(e.columnValue.id,t.id),e.index=a)},drop:()=>{s&&s()},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:I,sourceId:R},k,O]=(0,p.useDrag)({item:{type:f.Column,index:l,getColumnWidth:()=>{var e;return null==y||null===(e=y.current)||void 0===e?void 0:e.offsetWidth},columnValue:t,rowData:n},isDragging:e=>e.getItem().index===l,collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});(0,r.useEffect)((()=>{O((0,g.r)(),{captureDraggingState:!0}),D(y),k(C)}),[]);const N=d?()=>d(t):void 0;return o().createElement("td",{style:{opacity:I},ref:y,className:x.tableData,"data-source-id":R,"data-target-id":E,onMouseOver:N,onMouseLeave:h},o().createElement("div",{className:a()({[x.hidden]:b})},u&&o().createElement("div",{ref:C,className:x.dragIndicator},o().createElement(m.Z,{className:x.dragIndicatorIcon})),o().createElement(w,{value:t[n.id]})))},b=(0,s.Z)((e=>({tableHead:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{height:"100%",opacity:0,position:"absolute",top:0,left:0,cursor:"move",transition:"opacity 0.3s"},dragIndicatorIcon:{top:"15px",width:"14.4px",height:"18px",color:e.palette.text.secondary,position:"relative"}}))),x=e=>{let{rowData:t,isDraggable:n,dragRef:r}=e;const l=b(),a=t.headCellRenderer||c;return o().createElement("th",{className:l.tableHead},n&&o().createElement("div",{ref:r,className:l.dragIndicator},o().createElement(m.Z,{className:l.dragIndicatorIcon})),o().createElement(a,t))},y=e=>{let{rowData:t,columnsData:n,index:r,onMoveColumn:l,onDropColumn:a,setHoveredColumn:i,resetHoveredColumn:c}=e;const s=0===r;return o().createElement("tr",{className:t.rowClassName},o().createElement(x,{rowData:t,isDraggable:!1}),n.map(((e,n)=>{const r=e.isDraggable,u=s&&r;return l?o().createElement(h,{key:e.id||n,columnValue:e,rowData:t,index:n,onMoveColumn:l,onDropColumn:a,shouldRenderDragIndicator:u,setHoveredColumn:i,resetHoveredColumn:c}):o().createElement(d,{key:e.id||n,rowData:t,columnValue:e,setHoveredColumn:i,resetHoveredColumn:c})})))},C=e=>{let{rowData:t,index:n,columnsData:l,onMoveRow:a,onDropRow:i,onMoveColumn:c,onDropColumn:s,setHoveredColumn:u,resetHoveredColumn:m,someRowIsDragging:g,setSomeRowIsDragging:v}=e;const b=o().useRef(null),y=o().useRef(null),[{targetId:C},w]=(0,p.useDrop)({accept:f.Row,hover:(e,r)=>{if(!b.current)return;const o=e.index,l=n;if(o===l)return;const i=b.current.getBoundingClientRect(),c=(i.bottom-i.top)/2,s=r.getClientOffset().y-i.top;o<l&&s<c||o>l&&s>c||(a(e.id,t.id),e.index=l)},drop:()=>{i&&i()},collect:e=>({targetId:e.getHandlerId()})}),[{isDragging:E,sourceId:D},I,R]=(0,p.useDrag)({item:{type:f.Row,index:n,id:t.id},collect:e=>({sourceId:e.getHandlerId(),isDragging:e.isDragging()})});(0,r.useEffect)((()=>{R(w(b)),I(y)}),[]),(0,r.useEffect)((()=>{v(E)}),[E,v]);const k=E?0:1;return o().createElement("tr",{className:t.rowClassName,style:{opacity:k},ref:b,"data-target-id":C,"data-source-id":D},o().createElement(x,{rowData:t,isDraggable:!0,dragRef:y}),l.map(((e,n)=>c?o().createElement(h,{key:e.id||n,columnValue:e,rowData:t,index:n,onMoveColumn:c,onDropColumn:s,shouldRenderDragIndicator:!1,setHoveredColumn:u,resetHoveredColumn:m,someRowIsDragging:g}):o().createElement(d,{key:e.id||n,columnValue:e,rowData:t,setHoveredColumn:u,resetHoveredColumn:m,someRowIsDragging:g}))))},w=e=>{let{columnWidth:t,columnHeight:n,item:r}=e;const{rowData:l,columnValue:a}=r,c=l.cellRenderer||i;return o().createElement("div",{style:{width:t,height:n,background:"rgba(245,245,245, .5)"}},o().createElement(c,{value:a[l.id]}))},E=(0,s.Z)({dragLayer:{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1300,pointerEvents:"none"}}),D=(e,t,n)=>{const r=(null==e?void 0:e.getBoundingClientRect())||{x:0,y:0},o=`translate(${(null==t?void 0:t.x)-(null==r?void 0:r.x)-n/2}px, ${(null==t?void 0:t.y)-(null==r?void 0:r.y)}px`;return{display:"flex",transform:o,WebkitTransform:o}},I=e=>{var t;let{columnHeight:n}=e;const l=E(),a=(0,r.useRef)(),{isDragging:i,clientOffset:c,item:s}=(0,p.useDragLayer)((e=>({isDragging:e.isDragging(),clientOffset:e.getClientOffset(),item:e.getItem()})));if(!i||!s)return null;const u=null===(t=s.getColumnWidth)||void 0===t?void 0:t.call(s);return o().createElement("div",{className:l.dragLayer,ref:a},o().createElement("div",{style:D(a.current,c,u)},s.type===f.Column&&o().createElement(w,{columnWidth:u,columnHeight:n,item:s})))},R=(0,r.memo)((e=>{var t;let{className:n,rowsData:l,columnsData:a,theadRowsNumber:i=0,onMoveRow:c,onDropRow:s,onMoveColumn:u,onDropColumn:d,setHoveredColumn:m,resetHoveredColumn:p}=e;const[g,f]=(0,r.useState)(!1),v=(0,r.useRef)(null),h=null==v||null===(t=v.current)||void 0===t?void 0:t.offsetHeight,b=!!c||!!u;return o().createElement(o().Fragment,null,b&&o().createElement(I,{columnHeight:h}),o().createElement("table",{ref:v,className:n},i>0&&o().createElement("thead",null,l.slice(0,i).map(((e,t)=>o().createElement(y,{key:e.id||t,rowData:e,columnsData:a,index:t,onMoveColumn:u,onDropColumn:d,setHoveredColumn:m,resetHoveredColumn:p})))),o().createElement("tbody",null,l.slice(i).map(((e,t)=>c?o().createElement(C,{key:e.id||t,index:t+i,rowData:e,columnsData:a,onMoveRow:c,onDropRow:s,onMoveColumn:u,onDropColumn:d,setHoveredColumn:m,resetHoveredColumn:p,someRowIsDragging:g,setSomeRowIsDragging:f}):o().createElement(y,{key:e.id||t,index:t+i,rowData:e,columnsData:a,onMoveColumn:u,onDropColumn:d,setHoveredColumn:m,resetHoveredColumn:p}))))))}))},52049:(e,t,n)=>{n.d(t,{B:()=>o});var r=n(24328);const o=n.n(r)().createContext("");o.displayName="IdContext"}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[514],{12714:(e,t,n)=>{n.d(t,{Z:()=>O});var r=n(24328),o=n.n(r),l=n(52730),a=n(17440),i=n(49885),c=n(65503),s=n(39148),u=n(64731),d=n(87918),m=n.n(d),p=n(87685),g=n(74443),f=n(8818);function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}const h=e=>o().createElement("svg",v({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"}))));var b=n(79692);const x=(0,b.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:{}}))),y=(0,r.memo)((e=>{let{rowData:t,rowContext:n}=e;const l=x(),{id:a,attribute:i}=t||{},{addRowAfterIndex:c,removeRow:s,duplicateRow:u}=n,d=(0,r.useCallback)((()=>{c(a)}),[c,a]),v=(0,r.useCallback)((()=>{u(a)}),[u,a]),b=(0,r.useCallback)((()=>{s(a)}),[a,s]);return o().createElement("div",{className:l.actions},o().createElement(f.k,{tooltipTitle:m().text("Add"),icon:g.Z,size:"M",onClick:d}),i&&o().createElement(f.k,{tooltipTitle:m().text("Duplicate"),icon:h,size:"M",onClick:v}),o().createElement(f.k,{tooltipTitle:m().text("Delete"),icon:p.default,size:"M",onClick:b}))}));var C=n(41315),w=n(99757);const E=(0,r.memo)((e=>{let{rowData:t,rowContext:n,attributeSelectorProps:l}=e;const{attribute:a,id:i,filter:s}=t||{},{changeFilter:u,addNewFilter:d,attributesGroup:m}=n,p=(0,r.useCallback)((e=>(0,c.e6O)({data:e})),[]),g=(0,r.useMemo)((()=>[{id:"",title:"",attributes:m}]),[m]),f=(0,r.useCallback)((e=>{if(t){const t={fieldName:e.attribute.fieldName,filter:s,values:[]};u(t,i)}else d({fieldName:e.attribute.fieldName,filter:null,values:[]})}),[d,u,i,t,s]);return o().createElement(w.Z,{itemsGroups:g,ungroup:!0,single:!0,value:a,getLabel:p,onSelect:f,onOpenPopup:l.onOpen})}));var D=n(70215);const I=(0,b.Z)((()=>({attrSelector:{width:"222px",height:"40px",flexShrink:0},filterSelector:{width:"180px",flexShrink:0,marginTop:0,marginBottom:0},actionContainer:{alignItems:"center",marginRight:"15px"}}))),R={fieldName:null,filter:null,values:[]},k=()=>null,O=(0,r.memo)((e=>{let{attributeTypes:t,filters:n,onChange:d,components:m={}}=e;const{ValuesEditor:p,FilterSelector:g}=m,f=(0,l.useSelector)(i.ZP.selectors.getMetadata),v=(0,c.nt9)(f,(0,s.gZ)(t)),{attrSelector:h,filterSelector:b,actionContainer:x}=I(),w=(0,r.useRef)(n);w.current=n;const O=(0,r.useRef)(null),N=(0,r.useRef)(null),Z=(0,r.useRef)(null),S=(0,r.useMemo)((()=>({attributeSelectorContainer:h,filterSelectorContainer:b,actionsContainer:x})),[h,b,x]),T=(0,r.useMemo)((()=>(0,s.Uk)(t,v,f)),[t,f,v]),H=(0,r.useMemo)((()=>n.length?(0,s.QB)(n,T):[]),[T,n]);Z.current=H.length,(0,r.useEffect)((()=>{O.current&&N.current!==Z.current&&(O.current.querySelector("input").focus(),N.current=null)}),[H.length]);const M=(0,r.useCallback)((()=>{N.current=H.length}),[H.length]),P=(0,r.useMemo)((()=>({onOpen:M})),[M]),j=(0,r.useCallback)((e=>{const t=[...w.current];t.splice(e+1,0,R),d(t)}),[d]),B=(0,r.useCallback)((e=>{const t=[...w.current];t.splice(e,1),d(t)}),[d]),F=(0,r.useCallback)((e=>{const t=[...w.current];t.splice(e+1,0,{fieldName:w.current[e].fieldName,filter:w.current[e].filter,values:w.current[e].values}),d(t)}),[d]),z=(0,r.useCallback)(((e,t)=>{const n=(0,a.evolve)({[t]:(0,a.always)(e)},w.current);d(n)}),[d]),V=(0,r.useCallback)((e=>{d([...w.current,e])}),[d]);return o().createElement(C.Z,{rowClasses:S,rowsData:H,AttributeSelectorComponent:E,FilterSelectorComponent:g||u.Z,ValuesEditorComponent:p||D.Z,ActionsComponent:y,LogicOperatorComponent:k,filterSelectorRefIndex:N.current,filterSelectorRef:O,lastRowAttributeSelectorProps:P,attributesGroup:T,changeFilter:z,addNewFilter:V,addRowAfterIndex:j,removeRow:B,duplicateRow:F,entityType:v})}))},64731:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),l=n(87918),a=n.n(l),i=n(17440),c=n(6782),s=n(65503),u=n(31517),d=n(39148);const m=(0,n(79692).Z)({dropDownSelector:{width:"100%"}}),p=(0,r.memo)((e=>{let{rowData:t,rowContext:n,textFieldInputRef:l,options:p}=e;const g=m(),{attribute:{attrType:f={},fieldName:v=null}={},filter:h,id:b}=t||{},{changeFilter:x}=n,y=p||f&&v&&(0,i.pipe)(s.d3Y,(0,i.map)((e=>({value:e,label:(0,c.Z)((0,s.XS2)(e))}))))(f,v),C=(0,r.useCallback)((e=>{const t={fieldName:v,filter:e.value,values:[]};x(t,b)}),[x,b,v]);return(0,r.useEffect)((()=>{(v&&!h||v&&!(0,d.dG)(y,h))&&C(y[0])}),[v,h,C,y]),o().createElement(u.Z,{label:"",height:40,isDisabled:!y,placeholder:a().text("Equals"),value:(0,d.dG)(y,h),options:y,onChange:C,className:g.dropDownSelector,textFieldInputRef:l})}))},70215:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),o=n.n(r),l=n(65503),a=n(24754);const i=(0,n(79692).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:{display:"flex",alignItems:"center",width:"222px!important",minHeight:"40px",flexShrink:0}}),c=(0,r.memo)((e=>{let{rowData:t,rowContext:n}=e;const c=i(),s=(null==t?void 0:t.attribute)&&(0,l.wNf)(t.filter),{changeFilter:u}=n,{values:d=[],attribute:{attrType:m,fieldName:p=null}={},filter:g,id:f}=t||{},v=m&&(0,l.PFL)(m),h=v&&(0,l.l1V)(v,g),b=(0,r.useMemo)((()=>({filter:g,fieldName:p,values:d||[]})),[g,p,d]),x=(0,r.useMemo)((()=>({InputProps:{classes:{root:c.input}}})),[c]),y=(0,r.useMemo)((()=>({root:c.root})),[c]),C=(0,r.useCallback)((e=>{u({fieldName:p,filter:g,values:e},f)}),[u,f,p,g]);return o().createElement("div",{className:c.valuesEditor},(null==t?void 0:t.attribute)&&s&&o().createElement(a.Z,{filter:b,onChange:C,dataTypeDefinition:h,fullWidth:!0,TextFieldProps:x,color:"primary",classes:y,orientation:"horizontal"}))}))},39148:(e,t,n)=>{n.d(t,{Uk:()=>c,dG:()=>u,QB:()=>d,gZ:()=>m});var r=n(65503);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}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 a=(e,t,n,l)=>{const a=(0,r.jFi)(e,{type:n}),i=t.label||t.name;return o({attrType:t,title:i},(0,r.kqr)(t)?{fieldName:t.name}:{entityTypeUri:n,pathToTitle:Array.isArray(l)?[a,...l,i]:[a,i],fieldName:(0,r.Tde)(t.uri)})},i=function(e,t,n,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];const a=o({},r(e,t,n,l),{uri:t.uri}),c=t.children?t.children.map((o=>i(e,o,n,r,l.concat(t.label)))):[];return c.length&&(a.children=c),a},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(0,r.kkq)(e,n).map((e=>{const o=(0,r.kqr)(e)?null:t.uri;return i(n,e,o,a)}))},s=(e,t)=>{let n;const r=(e,t)=>{for(const o of t){if(e===o.fieldName)return void(n=o);"children"in o&&r(e,o.children)}};return r(e,t),n},u=(e,t)=>e?e.find((e=>e.value===t)):null,d=(e,t)=>e.map(((e,n)=>({attribute:e.fieldName?s(e.fieldName,t):void 0,filter:e.filter,id:n,values:e.values}))),m=e=>{const t=e.find((e=>!(0,r.kqr)(e)));return t?(0,r.u5q)(t.uri):null}},63172:(e,t,n)=>{n.d(t,{Z:()=>x});var r=n(24328),o=n.n(r),l=n(87918),a=n.n(l),i=n(94079),c=n(36444),s=n(65503),u=n(12714),d=n(79692);function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.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 g={alignSelf:"center"},f=(0,d.Z)((()=>({buttonsWrapper:{display:"flex"},applyButton:m({},g,{marginRight:"16px"}),cancelButton:m({},g,{marginLeft:"auto"}),clearButon:m({},g)}))),v=e=>{let{onClear:t,onCancel:n,onApply:r}=e;const l=f();return o().createElement("div",{className:l.buttonsWrapper},o().createElement(i.Button,{onClick:t,variant:"text",color:"default",className:l.clearButon},a().text("Clear all")),o().createElement(i.Button,{onClick:n,variant:"text",color:"default",className:l.cancelButton},a().text("Cancel")),o().createElement(i.Button,{onClick:r,variant:"text",color:"primary",className:l.applyButton},a().text("Apply")))};var h=n(41128);const b=(0,d.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,h.U1)(e.palette.primary.main,.12)}}))),x=(0,r.memo)((e=>{let{filters:t,attributeTypes:n,onChange:l,components:d,children:m,onTogglePopup:p,isFiltersApplied:g,dataReltioId:f}=e;const h=b(),x=(0,r.useRef)(),[y,C]=(0,r.useState)(!1),[w,E]=(0,r.useState)([]),D=(null!=g?g:(0,s.Uqd)()(t))?"primary":"inherit",I=()=>{p&&p(!y),C((e=>!e))};(0,r.useEffect)((()=>{y&&E(t)}),[t,y]);const R=(0,r.useCallback)((()=>{l(w),I()}),[w,l]),k=(0,r.useCallback)((()=>{I()}),[]),O=(0,r.useCallback)((()=>{E([])}),[]);return o().createElement(o().Fragment,null,o().createElement(i.Button,{"data-reltio-id":f,ref:x,color:D,classes:{root:h.triggerButton,textPrimary:h.changedFiltersIndicator},onClick:I},o().createElement(c.Z,{color:D})),o().createElement(i.Popover,{open:y,classes:{paper:h.popupContent},anchorEl:x.current,onClose:I,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}},o().createElement(o().Fragment,null,o().createElement(i.Typography,{variant:"h6"},a().text("Filter")),o().createElement("div",{className:h.filtersBuilderWrapper},m,o().createElement(u.Z,{attributeTypes:n,filters:w,onChange:E,components:d})),o().createElement(i.Divider,{className:h.divider}),o().createElement(v,{onApply:R,onCancel:k,onClear:O}))))}))},46177:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),o=n.n(r),l=n(13980),a=n.n(l),i=n(21697),c=n(14838),s=n(25461),u=n(17440),d=n(22273),m=n(73038);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const g=e=>{let{rowsData:t,columnsData:n,renderRowCell:l=c.Z,getRowCellHeight:g=s.Z,defaultRowHeight:f=48,maxRowValuesCount:v=1/0}=e;const{tableRowsData:h,collapseContextValue:b}=(0,d.Z)({rowsData:t,columnsData:n,renderRowCell:l,getRowCellHeight:g,maxRowValuesCount:v});return(0,r.useMemo)((()=>{const e=h.reduce(((e,t,n)=>{const{data:r}=t;return e[n]=(0,i.calculateRowHeight)(r,f),e}),{}),t=(t,n,r)=>{const o=[t,"subRowHeight",n,r,"height"];return(0,u.pathOr)(0,o,e)},r=t=>(0,u.pathOr)(0,[t,"height"],e),l=e=>{let{columnId:l,rowIndex:a}=e,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["columnId","rowIndex"]);return o().createElement(m.x.Provider,{value:b},o().createElement("div",p({},c,{style:{height:r(a)}}),h.length>0&&(0,i.getCellContentFromRowsData)({columnIndex:n.findIndex((0,u.propEq)("id",l)),headData:n,rowsData:h,rowIndex:a,getHeightForSubRow:t})))};return l.propTypes={columnId:a().string,rowIndex:a().number},{getRowHeight:r,CellRenderer:l}}),[h,f,b,n])}},86776:(e,t,n)=>{n.d(t,{R:()=>f});var r=n(24328),o=n.n(r),l=n(71153),a=n.n(l),i=n(52730),c=n(17440),s=n(49885),u=n(94079),d=n(79692),m=n(65503);const p=(0,d.Z)({root:e=>{let{dataTenantId:t}=e;const n=(0,m.bsH)(t);return{backgroundColor:n,color:(0,m.nHA)(n),height:"18px",padding:"0 3px"}}}),g=e=>`DT:${(0,c.slice)(0,1,e)}`,f=e=>{let{dataTenantId:t,className:n}=e;const r=p({dataTenantId:t}),l=(0,i.useSelector)(s.ZP.selectors.getDataTenants),d=(0,c.pipe)((0,c.defaultTo)([]),(0,c.find)((0,c.propEq)("id",t)))(l),m=(0,c.pipe)((0,c.propOr)("","label"),c.toUpper,(0,c.ifElse)((0,c.startsWith)("DT:"),(0,c.slice)(0,4),g))(d),f=o().createElement("div",{className:a()(r.root,n)},o().createElement(u.Typography,{variant:"body2"},m));return null!=d&&d.label?o().createElement(u.Tooltip,{title:d.label},f):f}},58970:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(24328),o=n.n(r),l=n(52730),a=n(49885),i=n(65503),c=n(52309);const s=e=>{let{name:t,values:n,onChange:s,entityType:u,TextFieldProps:d,fullWidth:m}=e;const p=(0,l.useSelector)(a.ZP.selectors.getMetadata),[g,f]=(0,r.useMemo)((()=>(0,i.UkJ)((0,i.KbW)(p,null==u?void 0:u.uri))),[null==u?void 0:u.uri,p]),v=(0,r.useMemo)((()=>function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>{let{label:t,uri:n}=e;return{label:t,value:n}}))}(t===i.Ury.matchRules?f:g)),[t,f,g]);return o().createElement(c.Z,{values:n,onChange:s,options:v,TextFieldProps:d,fullWidth:m})};s.displayName="MatchRulesSelector";const u=s},52309:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),o=n.n(r),l=n(17440),a=n(65503),i=n(96808),c=n(12079),s=n(36179),u=n(82455),d=n(92575),m=n(31276);function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.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=(0,n(79692).Z)((e=>({option:{paddingLeft:"35px"},dropdownIndicator:{cursor:"pointer",color:e.palette.text.secondary,marginTop:0,marginBottom:0},clearIndicator:{display:"none"}}))),v={input:e=>p({},e,{fontSize:"14px"}),menuPortal:e=>p({},e,{zIndex:1300}),menuList:e=>p({},e,{maxHeight:"240px",padding:"8px 0"}),menu:e=>p({},e,{maxHeight:"240px"})};function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){b(e,t,n[t])}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const x=e=>{let{values:t=[],onChange:n,options:p,fullWidth:g,TextFieldProps:b={}}=e;const x=f(),y=(0,r.useRef)(null),C=(0,r.useCallback)((e=>p.find((t=>t.value===e))||{value:e,label:e}),[p]),w=(0,r.useMemo)((()=>t.map(C)),[C,t]),{InputProps:E={},className:D}=b,I=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(b,["InputProps","className"]);return o().createElement(d.Z,{value:w,onChange:(0,l.pipe)((0,l.defaultTo)([]),(0,l.pluck)("value"),n),options:p,TextFieldProps:h({InputProps:h({disableUnderline:(0,a.O27)(t)},E),variant:"filled",className:D,ref:y},I),components:{DropdownIndicator:i.Z,Option:c.Z,Menu:s.Z,MultiValue:u.Z,IndicatorSeparator:m.Vd},inputRef:y,classes:x,styles:h({},v,{container:e=>h({},e,g?{width:"100%"}:{})}),menuPortalTarget:document.body})};x.displayName="MultiValueSelector";const y=(0,r.memo)(x)},35071:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(13980),o=n.n(r),l=n(24328),a=n.n(l),i=n(73272),c=n(58241);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const u=e=>a().createElement("svg",s({viewBox:"0 0 20 20"},e),a().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 d=n(87918),m=n.n(d),p=n(71153),g=n.n(p);const f=(0,n(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}}))),v=e=>{let{date:t,type:n,createdBy:r,step:o,children:s,Actions:d}=e;const p=f(),[v,h]=(0,l.useState)(!1);return a().createElement("div",{className:p.pmReviewCard},a().createElement("div",{className:g()(p.header,{[p.expanded]:v})},a().createElement(u,{className:p.icon}),a().createElement("div",{className:p.mainInfo},a().createElement("div",{className:p.title},a().createElement("div",{className:g()(p.caption,p.flex)},m().text("Match review")),a().createElement(i.Z,{className:p.flag}),a().createElement("span",{className:p.date},m().date(t,"L")),a().createElement(c.Z,{isOpen:v,onClick:()=>{h(!v)}})),a().createElement("div",{className:p.infoBlock},a().createElement("div",{className:p.flex},a().createElement("div",{className:p.info},n),a().createElement("div",{className:p.info},m().text("Created by ${createdBy}",{createdBy:r})),a().createElement("div",{className:p.info},m().text("Step: ${step}",{step:o}))),d))),v?s:null)};v.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=v},14377:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(24328),o=n.n(r),l=n(47603),a=n(87918),i=n.n(a),c=n(8818),s=n(55847),u=n(17440),d=n(94079);const m=(0,n(79692).Z)((e=>({menuItem:{height:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px"},checkbox:{padding:0,marginRight:"15px"}}))),p=(0,r.forwardRef)(((e,t)=>{let{item:n,onMenuClose:r=u.identity}=e;const l=m(),{text:a,onClick:i,id:c,selected:s}=n;return o().createElement(d.MenuItem,{classes:{root:l.menuItem},onClick:e=>{r(e),i(e)},ref:t,"data-modal":!0,"data-reltio-id":`reltio-settings-menu-item${c}`},o().createElement(d.Checkbox,{checked:s,className:l.checkbox,color:"primary"}),o().createElement(d.Typography,{classes:{root:l.menuText}},a))}));p.displayName="SettingsMenuItemRenderer";const g=p,f=e=>{let{items:t,menuId:n}=e;return o().createElement(s.Z,{buttonComponent:c.k,buttonProps:{icon:l.Z,tooltipTitle:i().text("Settings"),size:"L"},menuId:n,menuItems:t,MenuItemRenderer:g})}},54337:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(24328),o=n.n(r),l=n(52730),a=n(17440),i=n(49885),c=n(65503),s=n(52309);const u=e=>{let{values:t,onChange:n,TextFieldProps:u,fullWidth:d}=e;const m=(0,l.useSelector)(i.ZP.selectors.getMetadata),p=(0,r.useMemo)((()=>(0,a.pipe)((0,a.sortBy)((e=>e.label)),(0,a.map)((e=>{let{label:t,uri:n}=e;return{label:t,value:(0,c.nIW)(n)}})))(m.sources)),[m.sources]);return o().createElement(s.Z,{values:t,onChange:n,options:p,TextFieldProps:u,fullWidth:d})};u.displayName="SourceSystemsSelector";const d=u},59651:(e,t,n)=>{n.d(t,{c:()=>s});var r=n(65503),o=n(24328),l=n.n(o),a=n(17440),i=n(94079);const c=(0,n(79692).Z)({root:{height:"18px",width:"18px",textAlign:"center"}}),s=e=>{let{tenant:t}=e;const n=c(),s=(0,o.useMemo)((()=>{const e=(0,r.bsH)(null==t?void 0:t.id);return{backgroundColor:e,color:(0,r.nHA)(e)}}),[null==t?void 0:t.id]);return l().createElement("div",{style:s,className:n.root},l().createElement(i.Typography,{variant:"body2"},(0,a.toUpper)((0,a.head)(null==t?void 0:t.name))))}},95474:(e,t,n)=>{n.d(t,{H:()=>x});var r=n(24328),o=n.n(r),l=n(52730),a=n(17440),i=n(83543),c=n(49885),s=n(65503),u=n(55847),d=n(59651),m=n(94079),p=n(31276),g=n(79692);const f=(0,g.Z)({root:{minHeight:"48px",gap:"30px"}}),v=(0,r.forwardRef)(((e,t)=>{let{item:n,onMenuClose:r=p.ZT}=e;const l=f(),{tenant:a,onClick:i}=n,c=a.label?`${a.label} : ${a.name}`:a.name;return o().createElement(m.MenuItem,{onClick:()=>{r(),i(a)},ref:t,className:l.root},o().createElement(d.c,{tenant:a}),o().createElement(m.Typography,null,c))}));v.displayName="TenantMenuItem";const h=v,b=(0,g.Z)({menuButtonRoot:{padding:0}}),x=e=>{let{entityTypeUri:t,onChangeTenant:n,selectedTenant:m}=e;const p=b(),g=(0,l.useSelector)(c.ZP.selectors.getDataTenants),f=(0,l.useSelector)(c.ZP.selectors.getTenantObject),v=(0,r.useMemo)((()=>(0,a.pipe)((0,a.defaultTo)([]),(0,a.filter)((0,s.oZ7)(t)),(0,a.map)((e=>({tenant:e,onClick:n}))),(0,a.prepend)({tenant:f,onClick:n}))(g)),[g,t,n,f]);return(0,s.O27)(g)||!n?null:o().createElement(u.Z,{menuId:"tenantSelector",MenuItemRenderer:h,buttonContent:o().createElement(d.c,{tenant:m}),menuItems:v,buttonProps:{variant:"outlined",endIcon:o().createElement(i.Z,null),classes:{root:p.menuButtonRoot}},popoverProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}})}},34635:(e,t,n)=>{n.d(t,{Z:()=>R});var r=n(24328),o=n.n(r),l=n(71153),a=n.n(l);const i=e=>{let{value:t}=e;return t||null},c=e=>{let{label:t}=e;return t||null};var s=n(79692);const u=(0,s.Z)((()=>({hidden:{display:"none"}}))),d=e=>{let{columnValue:t,rowData:n,setHoveredColumn:r,resetHoveredColumn:l,someRowIsDragging:c}=e;const s=u(),d=n.cellRenderer||i,m=r?()=>r(t):void 0;return o().createElement("td",{onMouseOver:m,onMouseLeave:l},o().createElement("div",{className:a()({[s.hidden]:c})},o().createElement(d,{value:t[n.id]})))};var m=n(14940),p=n(13896),g=n(42484);let f;!function(e){e.Column="Column",e.Row="Row"}(f||(f={}));const v=(0,s.Z)((e=>({tableData:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{opacity:0,position:"absolute",top:0,left:"50%",cursor:"move",transition:"opacity 0.3s",transform:"translateX(-50%) rotate(90deg)",zIndex:5},dragIndicatorIcon:{width:"14.4px",height:"18px",color:e.palette.text.secondary},hidden:{display:"none"}}))),h=e=>{let{columnValue:t,rowData:n,index:l,onMoveColumn:c,onDropColumn:s,shouldRenderDragIndicator:u,setHoveredColumn:d,resetHoveredColumn:h,someRowIsDragging:b}=e;const x=v(),y=o().useRef(null),C=o().useRef(null),w=n.cellRenderer||i,[{targetId:E},D]=(0,p.useDrop)({accept:f.Column,hover:(e,n)=>{var r;if(!y.current)return;const o=e.index,a=l;if(o===a)return;const i=null===(r=y.current)||void 0===r?void 0:r.getBoundingClientRect(),s=(i.right-i.left)/2,u=n.getClientOffset().x-i.left;o<a&&u<s||o>a&&u>s||(c(e.columnValue.id,t.id),e.index=a)},drop:()=>{s&&s()},collect:e=>({targetId:e.getHandlerId()})}),[{opacity:I,sourceId:R},k,O]=(0,p.useDrag)({item:{type:f.Column,index:l,getColumnWidth:()=>{var e;return null==y||null===(e=y.current)||void 0===e?void 0:e.offsetWidth},columnValue:t,rowData:n},isDragging:e=>e.getItem().index===l,collect:e=>({opacity:e.isDragging()?0:1,sourceId:e.getHandlerId()})});(0,r.useEffect)((()=>{O((0,g.r)(),{captureDraggingState:!0}),D(y),k(C)}),[]);const N=d?()=>d(t):void 0;return o().createElement("td",{style:{opacity:I},ref:y,className:x.tableData,"data-source-id":R,"data-target-id":E,onMouseOver:N,onMouseLeave:h},o().createElement("div",{className:a()({[x.hidden]:b})},u&&o().createElement("div",{ref:C,className:x.dragIndicator},o().createElement(m.Z,{className:x.dragIndicatorIcon})),o().createElement(w,{value:t[n.id]})))},b=(0,s.Z)((e=>({tableHead:{position:"relative","&:hover":{"& $dragIndicator":{opacity:1}}},dragIndicator:{height:"100%",opacity:0,position:"absolute",top:0,left:0,cursor:"move",transition:"opacity 0.3s"},dragIndicatorIcon:{top:"15px",width:"14.4px",height:"18px",color:e.palette.text.secondary,position:"relative"}}))),x=e=>{let{rowData:t,isDraggable:n,dragRef:r}=e;const l=b(),a=t.headCellRenderer||c;return o().createElement("th",{className:l.tableHead},n&&o().createElement("div",{ref:r,className:l.dragIndicator},o().createElement(m.Z,{className:l.dragIndicatorIcon})),o().createElement(a,t))},y=e=>{let{rowData:t,columnsData:n,index:r,onMoveColumn:l,onDropColumn:a,setHoveredColumn:i,resetHoveredColumn:c}=e;const s=0===r;return o().createElement("tr",{className:t.rowClassName},o().createElement(x,{rowData:t,isDraggable:!1}),n.map(((e,n)=>{const r=e.isDraggable,u=s&&r;return l?o().createElement(h,{key:e.id||n,columnValue:e,rowData:t,index:n,onMoveColumn:l,onDropColumn:a,shouldRenderDragIndicator:u,setHoveredColumn:i,resetHoveredColumn:c}):o().createElement(d,{key:e.id||n,rowData:t,columnValue:e,setHoveredColumn:i,resetHoveredColumn:c})})))},C=e=>{let{rowData:t,index:n,columnsData:l,onMoveRow:a,onDropRow:i,onMoveColumn:c,onDropColumn:s,setHoveredColumn:u,resetHoveredColumn:m,someRowIsDragging:g,setSomeRowIsDragging:v}=e;const b=o().useRef(null),y=o().useRef(null),[{targetId:C},w]=(0,p.useDrop)({accept:f.Row,hover:(e,r)=>{if(!b.current)return;const o=e.index,l=n;if(o===l)return;const i=b.current.getBoundingClientRect(),c=(i.bottom-i.top)/2,s=r.getClientOffset().y-i.top;o<l&&s<c||o>l&&s>c||(a(e.id,t.id),e.index=l)},drop:()=>{i&&i()},collect:e=>({targetId:e.getHandlerId()})}),[{isDragging:E,sourceId:D},I,R]=(0,p.useDrag)({item:{type:f.Row,index:n,id:t.id},collect:e=>({sourceId:e.getHandlerId(),isDragging:e.isDragging()})});(0,r.useEffect)((()=>{R(w(b)),I(y)}),[]),(0,r.useEffect)((()=>{v(E)}),[E,v]);const k=E?0:1;return o().createElement("tr",{className:t.rowClassName,style:{opacity:k},ref:b,"data-target-id":C,"data-source-id":D},o().createElement(x,{rowData:t,isDraggable:!0,dragRef:y}),l.map(((e,n)=>c?o().createElement(h,{key:e.id||n,columnValue:e,rowData:t,index:n,onMoveColumn:c,onDropColumn:s,shouldRenderDragIndicator:!1,setHoveredColumn:u,resetHoveredColumn:m,someRowIsDragging:g}):o().createElement(d,{key:e.id||n,columnValue:e,rowData:t,setHoveredColumn:u,resetHoveredColumn:m,someRowIsDragging:g}))))},w=e=>{let{columnWidth:t,columnHeight:n,item:r}=e;const{rowData:l,columnValue:a}=r,c=l.cellRenderer||i;return o().createElement("div",{style:{width:t,height:n,background:"rgba(245,245,245, .5)"}},o().createElement(c,{value:a[l.id]}))},E=(0,s.Z)({dragLayer:{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:1300,pointerEvents:"none"}}),D=(e,t,n)=>{const r=(null==e?void 0:e.getBoundingClientRect())||{x:0,y:0},o=`translate(${(null==t?void 0:t.x)-(null==r?void 0:r.x)-n/2}px, ${(null==t?void 0:t.y)-(null==r?void 0:r.y)}px`;return{display:"flex",transform:o,WebkitTransform:o}},I=e=>{var t;let{columnHeight:n}=e;const l=E(),a=(0,r.useRef)(),{isDragging:i,clientOffset:c,item:s}=(0,p.useDragLayer)((e=>({isDragging:e.isDragging(),clientOffset:e.getClientOffset(),item:e.getItem()})));if(!i||!s)return null;const u=null===(t=s.getColumnWidth)||void 0===t?void 0:t.call(s);return o().createElement("div",{className:l.dragLayer,ref:a},o().createElement("div",{style:D(a.current,c,u)},s.type===f.Column&&o().createElement(w,{columnWidth:u,columnHeight:n,item:s})))},R=(0,r.memo)((e=>{var t;let{className:n,rowsData:l,columnsData:a,theadRowsNumber:i=0,onMoveRow:c,onDropRow:s,onMoveColumn:u,onDropColumn:d,setHoveredColumn:m,resetHoveredColumn:p}=e;const[g,f]=(0,r.useState)(!1),v=(0,r.useRef)(null),h=null==v||null===(t=v.current)||void 0===t?void 0:t.offsetHeight,b=!!c||!!u;return o().createElement(o().Fragment,null,b&&o().createElement(I,{columnHeight:h}),o().createElement("table",{ref:v,className:n},i>0&&o().createElement("thead",null,l.slice(0,i).map(((e,t)=>o().createElement(y,{key:e.id||t,rowData:e,columnsData:a,index:t,onMoveColumn:u,onDropColumn:d,setHoveredColumn:m,resetHoveredColumn:p})))),o().createElement("tbody",null,l.slice(i).map(((e,t)=>c?o().createElement(C,{key:e.id||t,index:t+i,rowData:e,columnsData:a,onMoveRow:c,onDropRow:s,onMoveColumn:u,onDropColumn:d,setHoveredColumn:m,resetHoveredColumn:p,someRowIsDragging:g,setSomeRowIsDragging:f}):o().createElement(y,{key:e.id||t,index:t+i,rowData:e,columnsData:a,onMoveColumn:u,onDropColumn:d,setHoveredColumn:m,resetHoveredColumn:p}))))))}))},52049:(e,t,n)=>{n.d(t,{B:()=>o});var r=n(24328);const o=n.n(r)().createContext("");o.displayName="IdContext"}}]);
2
2
  //# sourceMappingURL=514.js.map
package/5400.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5400],{79821:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(52730),i=r(49885),a=r(94815),s=r(97991);const c=(0,r(79692).Z)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),u=e=>{let{group:t,metadata:r}=e;const n=c(),u=(0,l.useSelector)(i.ZP.selectors.getAbsoluteImagePath),p=(0,a.XH8)(r,{type:t.id}),d=(0,a.vPL)(u,p);return o().createElement(s.Z,{className:n.icon,icon:d,avatarText:t.title[0]})}},99757:(e,t,r)=>{r.d(t,{Z:()=>V});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(71153),s=r.n(a),c=r(17440),u=r(97820),p=r(54763),d=r(45767),m=r(95613),b=r(22385),f=r(79692);const h=(0,f.Z)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:r=g,onSelectAttributeClick:n,disabled:l=!1}=e;const a=h(),c=t&&r(t);return o().createElement("div",{onClick:l?void 0:n,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.Z,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(b.Z,{size:"M",icon:d.Z,disabled:l}))};var x=r(94815);function w(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){v(e,t,r[t])}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),j=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,n);return[{item:n?w({},e,{filterText:n}):e,level:o,groupId:t,groupName:r}].concat(e.children?e.children.filter((e=>l||i||I(e,n))).flatMap((e=>j(e,t,r,n,o+1,l||i))):[]).flat()},P=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((r=>j(r,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=r(52730),N=r(94079),L=r(49885),R=r(7785),Z=r(44890),D=r(27239),A=r(79821);const F=(0,f.Z)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function B(){return B=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},B.apply(this,arguments)}function W(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){$(e,t,r[t])}))}return e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z=(0,n.memo)((e=>{let{selectedAttributes:t,onItemClick:r,focusIndex:n,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=F(),s=(0,T.useSelector)(L.ZP.selectors.getMetadata);return o().createElement(Z.Z,B({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:u,groupName:p}=i;const d=C(s,t),m=a===n;return o().createElement(R.Z,{key:`item-${u}-${s.fieldName}`,onClick:r,checked:d,data:W({},s,{groupName:p}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(D.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:u,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(N.ListItem,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(A.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:n},i))}));var M=r(56656);const H=(0,f.Z)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),V=(0,n.memo)((e=>{let{className:t,itemsGroups:r,value:l,getLabel:a,onSelect:d,onRestoreFocus:m=c.identity,onOpenPopup:b=c.identity,disableRestoreFocus:f=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[j,T]=(0,n.useState)(null),N=(0,n.useCallback)((()=>T(null)),[]),L=!!j,[R,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),[A,F]=(0,n.useState)([]),B=(0,n.useCallback)((()=>F([])),[]),W=(0,n.useMemo)((()=>P(R,r)),[r,R]),$=(0,n.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),M.LG)(W)),[x,W]),V=(0,n.useMemo)((()=>Math.max(k(W),308)),[W]),G=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,D,N)),m),U=(0,n.useRef)(),K=(0,n.useCallback)(((e,t)=>{d({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),G({})):(F((e=>{let{attribute:t,selectedAttributes:r,checked:n}=e;return n?r.concat(t):r.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),U.current&&U.current.focus())}),[A,d,g,G,U]),X=(0,n.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:r}=e;return e=>{let{item:n,groupData:o}=e;const l=C(n,r);t(w({},n,{groupName:o.groupName}),!l)}})({onListItemClick:K,selectedAttributes:A}),[K,A]),{focusIndex:_,handleKeyDown:q}=(0,p.t)({items:$,open:L,onSelectFocusedItem:X,selectedItems:A,onClose:G});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{b(),T(e.currentTarget)},disabled:v}),o().createElement(u.Z,{open:L,anchorEl:j,onClose:G,onSearch:Z,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:U,disableRestoreFocus:f,disableEnforceFocus:h},o().createElement(z,{items:$,onItemClick:K,selectedAttributes:A,width:V,height:400,focusIndex:_,hideCheckBox:S})))}))},74566:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(73038),s=r(58241),c=r(71153),u=r.n(c);const p=(0,r(79692).Z)((()=>({hidden:{visibility:"hidden"}}))),d=e=>{let{rowIndex:t,rowValue:r,className:l}=e;const i=p(),{toggleRowCollapse:c,getIsRowCollapsible:d,getIsRowCollapsed:m}=(0,n.useContext)(a.x),b=d(r),f=m(t);return o().createElement(s.Z,{className:u()(l,{[i.hidden]:!b}),isOpen:!f,onClick:e=>{c(t),e.stopPropagation()}})};d.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=d},43290:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440);const s=(0,r(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,a.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:l}=e;const a=s(),u=(0,n.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return r?o().createElement("div",{className:i()(a.bar,t),style:{width:c(r)?u(r):r}}):null}},89119:(e,t,r)=>{r.d(t,{Z:()=>S});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(87918),s=r.n(a),c=r(71153),u=r.n(c),p=r(17440),d=r(94815),m=r(97820),b=r(7785),f=r(56656),h=r(44890),g=r(54763),y=r(27239);const x=(0,r(79692).Z)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));function w(){return w=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},w.apply(this,arguments)}function v(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){O(e,t,r[t])}))}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>{let{open:t,anchorEl:r,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,n.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),j=(0,n.useCallback)((e=>k(e)||(e.children||[]).some(j)),[k]),P=(0,n.useMemo)((()=>{const e=(0,p.curry)(((e,r,n,o)=>[{item:v({},r,{filterText:c}),level:e,groupId:n,groupName:o},...t(r.children||[],n,o,e+1)])),t=function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,r,n),i=t.filter(j);return(I?p.map:p.chain)(l,i)};return t}),[c,I,j]),T=(0,n.useCallback)((e=>e.map((e=>({item:e,items:P(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[P]),N=(0,n.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),L=(0,n.useMemo)((()=>(I?T:P)(l)),[l,I,T,P]),R=(0,n.useMemo)((()=>(0,f.LG)(L)),[L]),{focusIndex:Z,handleKeyDown:D}=(0,g.t)({items:R,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,n.useRef)(null);A.current=Z;const F=(0,n.useCallback)(((e,t,r)=>{let{item:n,level:l=0}=t;const i=!!C.find((e=>e.id===n.id||e.id.includes(`${n.id}.`))),a=A.current===r;return o().createElement(b.Z,{key:n.id,onClick:O,checked:i,level:l,data:n,label:o().createElement(y.Z,{text:n.label,highlight:n.filterText}),labelInText:n.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:n.notSelectable,LogoIcon:n.LogoIcon})}),[S,O,C]),B=(0,d.fW1)("label")(L)||308,W=x();return o().createElement(m.Z,w({open:t,className:u()(W.container,W.popupContainer),anchorEl:r,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:D},E),o().createElement(h.Z,{height:300,renderItem:F,items:R,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:Z,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},27652:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(24328),o=r.n(n),l=r(4190),i=r(60364);function a(){return a=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},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:r}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","children"]);const[c,u]=(0,n.useState)(t),p=(0,i.Z)().transitions.duration.leavingScreen;return(0,n.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{u(!1)}),p);return()=>clearTimeout(e)}u(!0)}}),[t,p,c]),o().createElement(l.ZP,a({open:t},s),c&&r)};s.displayName="Drawer";const c=s},59725:(e,t,r)=>{r.d(t,{Q:()=>c});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(94815),s=r(42520);const c=(0,n.memo)((e=>{let{entityTypes:t,selectedEntityTypes:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d={},ListLabelProps:m={},disabled:b=!1}=e;const f=(0,n.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:f,selectedItemsUris:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d,ListLabelProps:m,disabled:b,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},42520:(e,t,r)=>{r.d(t,{S:()=>T});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440),s=r(94815),c=r(94079),u=r(83543),p=r(79692);const d=(0,p.Z)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),m=(e,t)=>{const{childNodes:r,clientLeft:n,clientWidth:o}=t;if(r.length>0){const[t]=Array.from(r),l=document.createRange();l.setStart(t,0);for(let r=0;r<e.length;r++){l.setEnd(t,l.endOffset+e[r].length);const{width:i}=l.getBoundingClientRect();if(n+i>o)return r;r!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},b=e=>e.join(", "),f=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,h=e=>{let{list:t,maxWidth:r}=e;const l=d(),i=(0,n.useRef)(),[a,s]=(0,n.useState)(0);(0,n.useEffect)((()=>{s(((e,t)=>{const r=e.length,n=((e,t)=>{if(t){const r=m(e,t);return-1===r?0:e.length-r}return 0})(e,t);return r-Math.max(1,r-n)})(t,i.current))}),[t]);const u=b(t),p=a>0,h=p?b(t.slice(0,-a)):u;return o().createElement(c.Tooltip,{title:p?u:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:f(r)},className:l.listLabel,ref:i},u),o().createElement("div",{className:l.visibleItemsLabel},h),p&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var g=r(22385),y=r(97820),x=r(54763),w=r(7785),v=r(27239),O=r(44890);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 S=(0,a.always)(32),I=(0,n.memo)((e=>{let{selectedItems:t,onItemClick:r,focusIndex:n,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(O.Z,C({getItemSize:S,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===n;return o().createElement(w.Z,{key:a.uri,onClick:r,checked:s,data:a,label:o().createElement(v.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:n,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));I.displayName="SelectMetadataTypesList";const E=(0,p.Z)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&[disabled]":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function k(){return k=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},k.apply(this,arguments)}function j(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 T=(0,n.memo)((e=>{let{placeholder:t,classes:r={},items:l,selectedItemsUris:p,onChange:d,ListLabelProps:m={},disabled:b,enableEmptyValueUnderline:f,single:w,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=E(),[P,T]=(0,n.useState)(!1),N=(0,n.useCallback)((()=>T(!0)),[]),L=(0,n.useCallback)((()=>T(!1)),[]),[R,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),A=(0,n.useCallback)((0,a.pipe)(D,L),[L,D]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,R)})).map(((e,t)=>({item:{item:j({},e,{filterText:R})},index:t}))),B=(0,n.useMemo)((()=>p.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[p,l]),W=(0,n.useCallback)(((e,t)=>{w?(d(t?[e.uri]:[]),A()):d(t?p.concat(e.uri):p.filter((t=>t!==e.uri)))}),[p,d,w,A]),$=(0,n.useCallback)((e=>{let{item:t}=e;const r=!p.includes(t.uri);W(t,r)}),[p,W]),{focusIndex:z,handleKeyDown:M}=(0,x.t)({items:F,open:P,onSelectFocusedItem:$,selectedItems:p,onClose:A}),H=(0,n.useRef)(),V=H.current?H.current.getBoundingClientRect().width:0,G=Math.max(V,255),U=0===p.length;return o().createElement(o().Fragment,null,o().createElement(c.TextField,{label:v,ref:H,InputProps:{startAdornment:U&&!t?null:o().createElement("div",{className:i()(S.inputText,r.inputText)},U?o().createElement("div",null,t):o().createElement(h,k({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,r.input,{[S.emptyInput]:U&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:b}),underline:S.disabledUnderline},endAdornment:o().createElement(g.Z,{size:"L",icon:u.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:P}),disabled:b}),readOnly:!0,disabled:!0,disableUnderline:U&&!f},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,r.label)}},value:"",onClick:b?void 0:N,classes:{root:i()(S.root,r.root)},margin:"dense",variant:"filled",disabled:b,"data-reltio-id":O}),o().createElement(y.Z,{open:P,anchorEl:H.current,onClose:A,onSearch:Z,title:C,containerWidth:G,containerHeight:355,searchInputOnKeyDown:M,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(I,{items:F,onItemClick:W,selectedItems:p,width:G,height:245,focusIndex:z})))}));T.displayName="MetadataTypesSelector"},17349:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(71153),s=r.n(a),c=r(87918),u=r.n(c),p=r(6782),d=r(79692);const m="46px",b=(0,d.Z)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:m},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:m}}))),f=e=>{let{className:t,rowData:r}=e;const n=b();return o().createElement("div",{className:s()(n.readOnlyLogicOperatorContainer,t)},r&&r.operator?(0,p.Z)(r.operator):u().text("Where"))};f.propTypes={className:i().string,rowData:i().object};const h=f;var g=r(94815);const y=e=>{let{className:t,rowData:r}=e;const n=b();return o().createElement("div",{className:s()(n.readOnlyFilter,t)},r&&r.filter?(0,g.XS2)(r.filter):u().text("equals"))};var x=r(94656);const w=(0,d.Z)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));const v=e=>{let{classes:t={},rowData:r,previousRowData:n,LogicOperatorComponent:l=h,AttributeSelectorComponent:i,FilterSelectorComponent:a=y,ValuesEditorComponent:c,ActionsComponent:u,filterSelectorRef:p,attributeSelectorProps:d={}}=e,m=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const b=w();return o().createElement("div",{className:s()(b.row,t.root)},o().createElement(l,{className:t.logicOperatorContainer,rowContext:m,rowData:n}),o().createElement("div",{className:s()(b.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:d,rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:p,rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,b.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,t.actionsContainer,{[b.hidden]:!r})},o().createElement(u,{rowContext:m,rowData:r})))};v.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:x.Xw,previousRowData:x.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const O=(0,n.memo)(v)},41315:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(17440),s=r(17349),c=r(94656);function u(){return u=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},u.apply(this,arguments)}const p=e=>{let{className:t,rowClasses:r,rowsData:n,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const d=(e,t,n)=>{const d=t>0?(0,a.path)([t-1],n):null,m=t===n.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,u({key:e&&e.id,rowData:e,previousRowData:d,classes:r,filterSelectorRef:t===c?i:void 0},p,m))};return o().createElement("div",{className:t},n.map(d),d(null,n.length,n))};p.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const d=(0,n.memo)(p)},50905:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(54573),o=r(17440);const l={BY_LABEL:(0,n.c)({stringify:(0,o.prop)("label")})}}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5400],{79821:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(52730),i=r(49885),a=r(65503),s=r(97991);const c=(0,r(79692).Z)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),u=e=>{let{group:t,metadata:r}=e;const n=c(),u=(0,l.useSelector)(i.ZP.selectors.getAbsoluteImagePath),p=(0,a.XH8)(r,{type:t.id}),d=(0,a.vPL)(u,p);return o().createElement(s.Z,{className:n.icon,icon:d,avatarText:t.title[0]})}},99757:(e,t,r)=>{r.d(t,{Z:()=>V});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(71153),s=r.n(a),c=r(17440),u=r(97820),p=r(54763),d=r(45767),m=r(95613),b=r(22385),f=r(79692);const h=(0,f.Z)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:r=g,onSelectAttributeClick:n,disabled:l=!1}=e;const a=h(),c=t&&r(t);return o().createElement("div",{onClick:l?void 0:n,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.Z,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(b.Z,{size:"M",icon:d.Z,disabled:l}))};var x=r(65503);function w(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){v(e,t,r[t])}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),j=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,n);return[{item:n?w({},e,{filterText:n}):e,level:o,groupId:t,groupName:r}].concat(e.children?e.children.filter((e=>l||i||I(e,n))).flatMap((e=>j(e,t,r,n,o+1,l||i))):[]).flat()},P=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((r=>j(r,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=r(52730),N=r(94079),L=r(49885),R=r(7785),Z=r(44890),D=r(27239),A=r(79821);const F=(0,f.Z)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function B(){return B=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},B.apply(this,arguments)}function W(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){$(e,t,r[t])}))}return e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z=(0,n.memo)((e=>{let{selectedAttributes:t,onItemClick:r,focusIndex:n,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=F(),s=(0,T.useSelector)(L.ZP.selectors.getMetadata);return o().createElement(Z.Z,B({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:u,groupName:p}=i;const d=C(s,t),m=a===n;return o().createElement(R.Z,{key:`item-${u}-${s.fieldName}`,onClick:r,checked:d,data:W({},s,{groupName:p}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(D.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:u,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(N.ListItem,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(A.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:n},i))}));var M=r(56656);const H=(0,f.Z)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),V=(0,n.memo)((e=>{let{className:t,itemsGroups:r,value:l,getLabel:a,onSelect:d,onRestoreFocus:m=c.identity,onOpenPopup:b=c.identity,disableRestoreFocus:f=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[j,T]=(0,n.useState)(null),N=(0,n.useCallback)((()=>T(null)),[]),L=!!j,[R,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),[A,F]=(0,n.useState)([]),B=(0,n.useCallback)((()=>F([])),[]),W=(0,n.useMemo)((()=>P(R,r)),[r,R]),$=(0,n.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),M.LG)(W)),[x,W]),V=(0,n.useMemo)((()=>Math.max(k(W),308)),[W]),G=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,D,N)),m),U=(0,n.useRef)(),K=(0,n.useCallback)(((e,t)=>{d({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),G({})):(F((e=>{let{attribute:t,selectedAttributes:r,checked:n}=e;return n?r.concat(t):r.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),U.current&&U.current.focus())}),[A,d,g,G,U]),X=(0,n.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:r}=e;return e=>{let{item:n,groupData:o}=e;const l=C(n,r);t(w({},n,{groupName:o.groupName}),!l)}})({onListItemClick:K,selectedAttributes:A}),[K,A]),{focusIndex:_,handleKeyDown:q}=(0,p.t)({items:$,open:L,onSelectFocusedItem:X,selectedItems:A,onClose:G});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{b(),T(e.currentTarget)},disabled:v}),o().createElement(u.Z,{open:L,anchorEl:j,onClose:G,onSearch:Z,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:U,disableRestoreFocus:f,disableEnforceFocus:h},o().createElement(z,{items:$,onItemClick:K,selectedAttributes:A,width:V,height:400,focusIndex:_,hideCheckBox:S})))}))},74566:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(73038),s=r(58241),c=r(71153),u=r.n(c);const p=(0,r(79692).Z)((()=>({hidden:{visibility:"hidden"}}))),d=e=>{let{rowIndex:t,rowValue:r,className:l}=e;const i=p(),{toggleRowCollapse:c,getIsRowCollapsible:d,getIsRowCollapsed:m}=(0,n.useContext)(a.x),b=d(r),f=m(t);return o().createElement(s.Z,{className:u()(l,{[i.hidden]:!b}),isOpen:!f,onClick:e=>{c(t),e.stopPropagation()}})};d.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=d},43290:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440);const s=(0,r(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,a.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:l}=e;const a=s(),u=(0,n.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return r?o().createElement("div",{className:i()(a.bar,t),style:{width:c(r)?u(r):r}}):null}},89119:(e,t,r)=>{r.d(t,{Z:()=>S});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(87918),s=r.n(a),c=r(71153),u=r.n(c),p=r(17440),d=r(65503),m=r(97820),b=r(7785),f=r(56656),h=r(44890),g=r(54763),y=r(27239);const x=(0,r(79692).Z)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));function w(){return w=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},w.apply(this,arguments)}function v(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){O(e,t,r[t])}))}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>{let{open:t,anchorEl:r,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,n.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),j=(0,n.useCallback)((e=>k(e)||(e.children||[]).some(j)),[k]),P=(0,n.useMemo)((()=>{const e=(0,p.curry)(((e,r,n,o)=>[{item:v({},r,{filterText:c}),level:e,groupId:n,groupName:o},...t(r.children||[],n,o,e+1)])),t=function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,r,n),i=t.filter(j);return(I?p.map:p.chain)(l,i)};return t}),[c,I,j]),T=(0,n.useCallback)((e=>e.map((e=>({item:e,items:P(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[P]),N=(0,n.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),L=(0,n.useMemo)((()=>(I?T:P)(l)),[l,I,T,P]),R=(0,n.useMemo)((()=>(0,f.LG)(L)),[L]),{focusIndex:Z,handleKeyDown:D}=(0,g.t)({items:R,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,n.useRef)(null);A.current=Z;const F=(0,n.useCallback)(((e,t,r)=>{let{item:n,level:l=0}=t;const i=!!C.find((e=>e.id===n.id||e.id.includes(`${n.id}.`))),a=A.current===r;return o().createElement(b.Z,{key:n.id,onClick:O,checked:i,level:l,data:n,label:o().createElement(y.Z,{text:n.label,highlight:n.filterText}),labelInText:n.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:n.notSelectable,LogoIcon:n.LogoIcon})}),[S,O,C]),B=(0,d.fW1)("label")(L)||308,W=x();return o().createElement(m.Z,w({open:t,className:u()(W.container,W.popupContainer),anchorEl:r,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:D},E),o().createElement(h.Z,{height:300,renderItem:F,items:R,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:Z,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},27652:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(24328),o=r.n(n),l=r(4190),i=r(60364);function a(){return a=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},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:r}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","children"]);const[c,u]=(0,n.useState)(t),p=(0,i.Z)().transitions.duration.leavingScreen;return(0,n.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{u(!1)}),p);return()=>clearTimeout(e)}u(!0)}}),[t,p,c]),o().createElement(l.ZP,a({open:t},s),c&&r)};s.displayName="Drawer";const c=s},59725:(e,t,r)=>{r.d(t,{Q:()=>c});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(65503),s=r(42520);const c=(0,n.memo)((e=>{let{entityTypes:t,selectedEntityTypes:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d={},ListLabelProps:m={},disabled:b=!1}=e;const f=(0,n.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:f,selectedItemsUris:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d,ListLabelProps:m,disabled:b,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},42520:(e,t,r)=>{r.d(t,{S:()=>T});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440),s=r(65503),c=r(94079),u=r(83543),p=r(79692);const d=(0,p.Z)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),m=(e,t)=>{const{childNodes:r,clientLeft:n,clientWidth:o}=t;if(r.length>0){const[t]=Array.from(r),l=document.createRange();l.setStart(t,0);for(let r=0;r<e.length;r++){l.setEnd(t,l.endOffset+e[r].length);const{width:i}=l.getBoundingClientRect();if(n+i>o)return r;r!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},b=e=>e.join(", "),f=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,h=e=>{let{list:t,maxWidth:r}=e;const l=d(),i=(0,n.useRef)(),[a,s]=(0,n.useState)(0);(0,n.useEffect)((()=>{s(((e,t)=>{const r=e.length,n=((e,t)=>{if(t){const r=m(e,t);return-1===r?0:e.length-r}return 0})(e,t);return r-Math.max(1,r-n)})(t,i.current))}),[t]);const u=b(t),p=a>0,h=p?b(t.slice(0,-a)):u;return o().createElement(c.Tooltip,{title:p?u:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:f(r)},className:l.listLabel,ref:i},u),o().createElement("div",{className:l.visibleItemsLabel},h),p&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var g=r(22385),y=r(97820),x=r(54763),w=r(7785),v=r(27239),O=r(44890);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 S=(0,a.always)(32),I=(0,n.memo)((e=>{let{selectedItems:t,onItemClick:r,focusIndex:n,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(O.Z,C({getItemSize:S,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===n;return o().createElement(w.Z,{key:a.uri,onClick:r,checked:s,data:a,label:o().createElement(v.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:n,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));I.displayName="SelectMetadataTypesList";const E=(0,p.Z)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&[disabled]":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function k(){return k=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},k.apply(this,arguments)}function j(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 T=(0,n.memo)((e=>{let{placeholder:t,classes:r={},items:l,selectedItemsUris:p,onChange:d,ListLabelProps:m={},disabled:b,enableEmptyValueUnderline:f,single:w,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=E(),[P,T]=(0,n.useState)(!1),N=(0,n.useCallback)((()=>T(!0)),[]),L=(0,n.useCallback)((()=>T(!1)),[]),[R,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),A=(0,n.useCallback)((0,a.pipe)(D,L),[L,D]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,R)})).map(((e,t)=>({item:{item:j({},e,{filterText:R})},index:t}))),B=(0,n.useMemo)((()=>p.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[p,l]),W=(0,n.useCallback)(((e,t)=>{w?(d(t?[e.uri]:[]),A()):d(t?p.concat(e.uri):p.filter((t=>t!==e.uri)))}),[p,d,w,A]),$=(0,n.useCallback)((e=>{let{item:t}=e;const r=!p.includes(t.uri);W(t,r)}),[p,W]),{focusIndex:z,handleKeyDown:M}=(0,x.t)({items:F,open:P,onSelectFocusedItem:$,selectedItems:p,onClose:A}),H=(0,n.useRef)(),V=H.current?H.current.getBoundingClientRect().width:0,G=Math.max(V,255),U=0===p.length;return o().createElement(o().Fragment,null,o().createElement(c.TextField,{label:v,ref:H,InputProps:{startAdornment:U&&!t?null:o().createElement("div",{className:i()(S.inputText,r.inputText)},U?o().createElement("div",null,t):o().createElement(h,k({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,r.input,{[S.emptyInput]:U&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:b}),underline:S.disabledUnderline},endAdornment:o().createElement(g.Z,{size:"L",icon:u.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:P}),disabled:b}),readOnly:!0,disabled:!0,disableUnderline:U&&!f},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,r.label)}},value:"",onClick:b?void 0:N,classes:{root:i()(S.root,r.root)},margin:"dense",variant:"filled",disabled:b,"data-reltio-id":O}),o().createElement(y.Z,{open:P,anchorEl:H.current,onClose:A,onSearch:Z,title:C,containerWidth:G,containerHeight:355,searchInputOnKeyDown:M,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(I,{items:F,onItemClick:W,selectedItems:p,width:G,height:245,focusIndex:z})))}));T.displayName="MetadataTypesSelector"},17349:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(71153),s=r.n(a),c=r(87918),u=r.n(c),p=r(6782),d=r(79692);const m="46px",b=(0,d.Z)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:m},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:m}}))),f=e=>{let{className:t,rowData:r}=e;const n=b();return o().createElement("div",{className:s()(n.readOnlyLogicOperatorContainer,t)},r&&r.operator?(0,p.Z)(r.operator):u().text("Where"))};f.propTypes={className:i().string,rowData:i().object};const h=f;var g=r(65503);const y=e=>{let{className:t,rowData:r}=e;const n=b();return o().createElement("div",{className:s()(n.readOnlyFilter,t)},r&&r.filter?(0,g.XS2)(r.filter):u().text("equals"))};var x=r(94656);const w=(0,d.Z)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));const v=e=>{let{classes:t={},rowData:r,previousRowData:n,LogicOperatorComponent:l=h,AttributeSelectorComponent:i,FilterSelectorComponent:a=y,ValuesEditorComponent:c,ActionsComponent:u,filterSelectorRef:p,attributeSelectorProps:d={}}=e,m=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const b=w();return o().createElement("div",{className:s()(b.row,t.root)},o().createElement(l,{className:t.logicOperatorContainer,rowContext:m,rowData:n}),o().createElement("div",{className:s()(b.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:d,rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:p,rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,b.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:m,rowData:r})),o().createElement("div",{className:s()(b.rowItem,t.actionsContainer,{[b.hidden]:!r})},o().createElement(u,{rowContext:m,rowData:r})))};v.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:x.Xw,previousRowData:x.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const O=(0,n.memo)(v)},41315:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(17440),s=r(17349),c=r(94656);function u(){return u=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},u.apply(this,arguments)}const p=e=>{let{className:t,rowClasses:r,rowsData:n,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const d=(e,t,n)=>{const d=t>0?(0,a.path)([t-1],n):null,m=t===n.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,u({key:e&&e.id,rowData:e,previousRowData:d,classes:r,filterSelectorRef:t===c?i:void 0},p,m))};return o().createElement("div",{className:t},n.map(d),d(null,n.length,n))};p.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const d=(0,n.memo)(p)},50905:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(54573),o=r(17440);const l={BY_LABEL:(0,n.c)({stringify:(0,o.prop)("label")})}}}]);
2
2
  //# sourceMappingURL=5400.js.map