File

src/lib/entity/detail/sz-entity-detail.component.ts

Description

The Entity Detail Component. Generates a complex detail page from input parameters.

Example :
<!-- (Angular) -->
<sz-entity-detail
  [showGraphMatchKeys]="true"
  (entityIdChanged)="entityChangedHandler($event)"
  [entityId]="currentlySelectedEntityId"></sz-entity-detail>
Example :
<!-- (WC) by attribute -->
<sz-wc-entity-detail
  show-graph-match-keys="true"
  entity-id="1002"></sz-wc-entity-detail>
Example :
<!-- (WC) by DOM -->
<sz-wc-entity-detail id="sz-ent-detail"></sz-wc-entity-detail>
<script>
document.getElementById('sz-ent-detail').entityId = 1002;
document.getElementById('sz-ent-detail').addEventListener('entityIdChanged', (entId) => { console.log('entity id changed!', entId); })
</script>

Implements

OnInit OnDestroy AfterViewInit

Metadata

Index

Properties
Methods
Inputs
Outputs
Accessors

Constructor

constructor(cd: ChangeDetectorRef, dialog: MatDialog, howUIService: SzHowUIService, entityDataService: SzEntityDataService, overlay: Overlay, prefs: SzPrefsService, searchService: SzSearchService, viewContainerRef: ViewContainerRef)
Parameters :
Name Type Optional
cd ChangeDetectorRef No
dialog MatDialog No
howUIService SzHowUIService No
entityDataService SzEntityDataService No
overlay Overlay No
prefs SzPrefsService No
searchService SzSearchService No
viewContainerRef ViewContainerRef No

Inputs

data
Type : SzEntityData

set the entity data directly, instead of via entityId lookup.

disclosedRelationshipsSectionCollapsed
Type : any

show or hide the "Disclosed Relationships" section.

dynamicHowFeatures
Type : boolean

if the entity's how report has no resolution steps and this value is set to true the button for the how report in the header will be disabled and will not emit the click event when the user clicks it

enableReEvaluateFunction
Type : boolean

whether or not to show the "re-evaluate" button AND/OR message when needed

entityId
Type : number

set the entity data by passing in an entity id number.

forceLayout
Type : string | []

Takes a collection or a single value of layout enum css classnames to pass to all children components. this value overrides auto-responsive css adjustments.

Example :
graphAllowScrollingZoom
Type : boolean
Default value : false

Allow users to scroll to zoom the graph area

graphMatchKeyTokenSelectionScope
Type : SzMatchKeyTokenFilterScope | string

sets the depth of what entities are shown when they match the match key token filters. possible values are "CORE" and "EXTRANEOUS". when "CORE" is selected only entities that are directly related to queried entity/entities are filtered by match key tokens. when "EXTRANEOUS" is selected ALL entities no matter how they are related are filtered by match key tokens.

graphPopOutIconPosition
Type : string
Default value : 'bottom-left'

what position the pop-out icon should be displayed ('top-left' | 'top-right' | 'bottom-right' | 'bottom-left')

graphSectionCollapsed
Type : any

collapse or expand the "At a Glance" section.

graphShowFiltersControl
Type : boolean
Default value : false

show the pop-out icon control

graphShowMatchKeyControl
Type : boolean
Default value : true

show the small 'show match keys' control in the bottom right

graphShowPopOutIcon
Type : boolean
Default value : false

show the pop-out icon control

graphShowZoomControl
Type : boolean
Default value : false

show the pop-out icon control

graphTitle
Type : string

graph section title

graphZoomControlPosition
Type : string
Default value : 'top-left'

what position the pop-out icon should be displayed ('top-left' | 'top-right' | 'bottom-right' | 'bottom-left')

howFunctionDisabled
Type : boolean

when "dynamicHowFeatures" or "showHowFunctionWarnings" is set to true an api request to the entity's how report is made and this value is set to true.

openWhyComparisonModalOnClick
Type : (value: boolean) => void

whether or not to automatically open a modal with the entity comparison on "Why" button click. (disable for custom implementation/action)

possibleMatchesSectionCollapsed
Type : any

show or hide the "Possible Matches" section.

possibleRelationshipsSectionCollapsed
Type : any

show or hide the "Possible Relationships" section.

recordsSectionCollapsed
Type : any

show or hide the "Records" section.

reEvaluateButtonDisabled
Type : boolean
reEvaluateMessage
Type : string

message to show when re-evalution is required

requestDataOnIdChange
Type : any

set the entity data by passing in an entity id number.

showBestNameOnlyInDisclosedSection
Type : any
showBestNameOnlyInMatchesSection
Type : any
showBestNameOnlyInPossibleMatchesSection
Type : any
showBestNameOnlyInPossibleRelationshipsSection
Type : any
showDisclosedSection
Type : any

show or hide the "Disclosed Relationships" section.

showEntityHowFunction
Type : boolean

whether or not to show the "how" button for the entire entity

showEntityWhyFunction
Type : boolean

whether or not to show the "why" comparison button for the entire entity

showGraphContextMenu
Type : boolean

whether or not to show the built-in context menu on graph entity right-click

showGraphLinkContextMenu
Type : boolean

whether or not to show the built-in context menu on graph link right-click

showGraphMatchKeys
Type : any

show or hide the "At a Glance" section.

showGraphSection
Type : any

show or hide the "At a Glance" section.

showHowFunctionWarnings
Type : boolean

when set to true a request to the how report for the entity is made to check whether or not anything would be displayed and if the result has no steps in it's "resolutionSteps" collection when the user clicks the how report button an alert will be displayed telling the user that the report is unavailable.

showHowSection
Type : any

show or hide the "At a Glance" section.

showMatchesSection
Type : any

show or hide the "Records" section.

showNameDataInDisclosedSection
Type : any
showNameDataInMatchesSection
Type : any
showNameDataInPossibleMatchesSection
Type : any
showNameDataInPossibleRelationshipsSection
Type : any
showOtherDataInDisclosedSection
Type : any
showOtherDataInMatchesSection
Type : any
showOtherDataInPossibleMatchesSection
Type : any
showOtherDataInPossibleRelationshipsSection
Type : any
showPossibleMatchesSection
Type : any

show or hide the "Possible Matches" section.

showPossibleRelationshipsSection
Type : any

show or hide the "Possible Relationships" section.

showRecordWhyUtilities
Type : boolean

whether or not to show the "why" comparison button for records

showReEvaluateButton
Type : boolean

whether or not the "reevaluate" button shows when needed

showReEvaluateMessage
Type : boolean

whether or not the "reevaluate" messaging shows when needed

showRelatedWhyNotFunction
Type : boolean

whether or not to show the "why not" comparison button on "possible matches"

updatePrefsOnChange
Type : boolean

update prefs values when setter values change. useful when you have multiple component instances but not all of them should be setting prefs state. OR if you have a specific instance that shouldnt be updating pref state.

whySelectionMode
Type : SzWhySelectionModeBehavior

if "showRecordWhyUtilities" set to true there is a "single-record" select behavior, and a "multi-select" behavior. possible values are SINGLE and MUTLI

Outputs

dataChanged
Type : Subject<SzEntityData>

emmitted when the entity data to display has been changed.

dataSourceRecordsSelected
Type : EventEmitter

(Event Emitter) when the user clicks on a datasource record for either single-select or multi-select operations.

entityIdChanged
Type : EventEmitter<number>

emmitted when the entity id has been changed.

exception
Type : EventEmitter<Error>

emitted when a search encounters an exception

graphContextMenuClick
Type : EventEmitter<any>

emitted when the user right clicks a graph entity node.

graphEntityClick
Type : EventEmitter<any>

emitted when the user clicks a graph entity node.

graphEntityDblClick
Type : EventEmitter<any>

emitted when the user double clicks a graph entity node.

graphPopOutClick
Type : EventEmitter<any>

emitted when the user double clicks a graph entity node.

graphRelationshipClick
Type : EventEmitter<any>

emitted when the user clicks a relationship link line or label.

graphRelationshipContextMenuClick
Type : EventEmitter<any>

emitted when the user right clicks a relationship link line or label.

graphScrollWheelEvent
Type : EventEmitter<any>

emitted when the user double clicks a graph entity node.

headerReEvaluateButtonClick
Type : EventEmitter

(Event Emitter) when the user clicks on the "Re-Evaluate* button in header under the icon

headerWhyButtonClick
Type : EventEmitter

(Event Emitter) when the user clicks on the "Why" button in header under the icon

howButtonClick
Type : EventEmitter

(Event Emitter) when the user clicks on the "How" button in header under the icon

howReportUnavailable
Type : EventEmitter

(Event Emitter) when the how report would have no resolution steps resulting in an empty report

recordsWhyButtonClick
Type : EventEmitter

(Event Emitter) when the user clicks on the "Why" button in records section

reEvaluateButtonClick
Type : EventEmitter
relatedEntitiesWhyNotButtonClick
Type : EventEmitter

(Event Emitter) when the user clicks on the "Why Not" button in a related entity card

requestEnd
Type : EventEmitter<SzEntityData | Error>

emitted when a search is done being performed.

requestStart
Type : EventEmitter<number>

emitted when the component begins a request for an entities data.

requiresReEvaluation
Type : EventEmitter

Methods

Public hideGraphEntity
hideGraphEntity(entityId: SzEntityIdentifier)

remove single node and any directly related nodes that are only related to the entity specified

Parameters :
Name Type Optional
entityId SzEntityIdentifier No
Returns : void
Public hideGraphEntityRelationships
hideGraphEntityRelationships(entityId: SzEntityIdentifier)

hide all visible(expanded) entities related to a specific entity that are themselves not related to any other visible entities

Parameters :
Name Type Optional
entityId SzEntityIdentifier No
Returns : void
Public isGraphEntityRemovable
isGraphEntityRemovable(entityId: SzEntityIdentifier)

can a specific entity node be removed from canvas

Parameters :
Name Type Optional
entityId SzEntityIdentifier No
Returns : boolean
ngAfterViewInit
ngAfterViewInit()
Returns : void
ngOnDestroy
ngOnDestroy()

unsubscribe when component is destroyed

Returns : void
ngOnInit
ngOnInit()
Returns : void
Public onCompareEntitiesForWhyNot
onCompareEntitiesForWhyNot(entityIds: any)
Parameters :
Name Type Optional
entityIds any No
Returns : void
Public onCompareRecordsForWhy
onCompareRecordsForWhy(records: SzRecordId[])
Parameters :
Name Type Optional
records SzRecordId[] No
Returns : void
Public onDataSourceRecordsSelected
onDataSourceRecordsSelected(records: SzDataSourceRecordsSelection)
Parameters :
Name Type Optional
records SzDataSourceRecordsSelection No
Returns : void
Public onEntityIdChange
onEntityIdChange()

when entityId property is changed, request the data from the api and display the result.

Returns : void
Public onEntityRecordClick
onEntityRecordClick(entityId: number)

internal handler for when a entity record displayed inside of widget is clicked on.

Parameters :
Name Type Optional
entityId number No
Returns : void
Public onGraphEntityClick
onGraphEntityClick(event: any)

proxies internal graph component entity click to "graphEntityClick" event.

Parameters :
Name Type Optional
event any No
Returns : void
Public onGraphEntityDblClick
onGraphEntityDblClick(event: any)

proxies internal graph component entity double click to "graphEntityDblClick" event.

Parameters :
Name Type Optional
event any No
Returns : void
Public onGraphPopoutClick
onGraphPopoutClick(event: any)

proxies internal graph component pop-out click to "graphPopOutClick" event.

Parameters :
Name Type Optional
event any No
Returns : void
Public onGraphRelationshipClick
onGraphRelationshipClick(event: any)

proxies internal graph component relationship link click to "graphRelationshipClick" event.

Parameters :
Name Type Optional
event any No
Returns : void
Public onGraphRelationshipRightClick
onGraphRelationshipRightClick(event: any)

proxies internal graph component relationship link right-click to "graphRelationshipContextClick" event.

Parameters :
Name Type Optional
event any No
Returns : void
Public onGraphRightClick
onGraphRightClick(event: any)

proxies internal graph component entity right-click to "graphContextMenuClick" event.

Parameters :
Name Type Optional
event any No
Returns : void
Public onHeaderHowButtonClick
onHeaderHowButtonClick(event: howClickEvent)

proxies internal "how button" header click to "headerHowButtonClick" event.

Parameters :
Name Type Optional
event howClickEvent No
Returns : void
Public onHeaderReEvaluateButtonClick
onHeaderReEvaluateButtonClick(event: howClickEvent)

proxies internal "reevaluate button" header click to "onHeaderReEvaluateButtonClick" event.

Parameters :
Name Type Optional
event howClickEvent No
Returns : void
Public onHeaderWhyButtonClick
onHeaderWhyButtonClick(entityId: SzEntityIdentifier)

proxies internal "why button" header click to "onHeaderWhyButtonClick" event.

Parameters :
Name Type Optional
entityId SzEntityIdentifier No
Returns : void
Public onSectionCollapsedChange
onSectionCollapsedChange(prefsKey: string, isCollapsed: boolean)
Parameters :
Name Type Optional
prefsKey string No
isCollapsed boolean No
Returns : void
openWhyComparisonModalOnClick
openWhyComparisonModalOnClick(value: boolean)
Decorators :
@Input()

whether or not to automatically open a modal with the entity comparison on "Why" button click. (disable for custom implementation/action)

Parameters :
Name Type Optional
value boolean No
Returns : void
Public showGraphEntityRelationships
showGraphEntityRelationships(entityId: SzEntityIdentifier)

show any entities that are related to a specific entity that are currently not on the canvas

Parameters :
Name Type Optional
entityId SzEntityIdentifier No
Returns : void

Properties

_disclosedRelationships
Type : SzRelatedEntity[]
_discoveredRelationships
Type : SzRelatedEntity[]
Public _graphTitle
Type : string
Default value : "Relationships at a Glance"
_matches
Type : SzEntityRecord[]
_possibleMatches
Type : SzRelatedEntity[]
Public _showGraphLinkLabels
Type : boolean
Default value : true
Public dialog
Type : MatDialog
Public entity
Type : SzEntityData
Public graphComponent
Type : SzEntityDetailGraphComponent
Decorators :
@ViewChild(SzEntityDetailGraphComponent)
graphLinkContextMenu
Type : TemplateRef<any>
Decorators :
@ViewChild('graphLinkContextMenu')
graphNodeContextMenu
Type : TemplateRef<any>
Decorators :
@ViewChild('graphNodeContextMenu')

built-in graph context menus

Public headerHowButtonClicked
Default value : this._headerHowButtonClicked.asObservable()

(Observeable) when the user clicks on the "how" button in header under the icon

Public headerReEvaluateButtonClicked
Default value : this._headerReEvaluateButtonClicked.asObservable()

(Observeable) when the user clicks on the "reevalute" button in header under the icon

Public headerWhyButtonClicked
Default value : this._headerWhyButtonClicked.asObservable()

(Observeable) when the user clicks on the "Why" button in header under the icon

nativeElementRef
Type : ElementRef
Decorators :
@ViewChild('nativeElementRef')

used for print and pdf support, allows fetching DOM HTMLElement

Public overlay
Type : Overlay
Public prefs
Type : SzPrefsService
Public unsubscribe$
Default value : new Subject<void>()

subscription to notify subscribers to unbind

Public viewContainerRef
Type : ViewContainerRef

Accessors

forceLayout
setforceLayout(value: string | string[])

Takes a collection or a single value of layout enum css classnames to pass to all children components. this value overrides auto-responsive css adjustments.

Example :
Parameters :
Name Type Optional
value string | string[] No
Example :
forceLayout=&#39;layout-narrow&#39;
Returns : void
updatePrefsOnChange
setupdatePrefsOnChange(value: boolean)

update prefs values when setter values change. useful when you have multiple component instances but not all of them should be setting prefs state. OR if you have a specific instance that shouldnt be updating pref state.

Parameters :
Name Type Optional
value boolean No
Returns : void
showGraphLinkContextMenu
getshowGraphLinkContextMenu()

whether or not to show the built-in context menu on graph link right-click

Returns : boolean
setshowGraphLinkContextMenu(value: boolean)

whether or not to show the built-in context menu on graph link right-click

Parameters :
Name Type Optional
value boolean No
Returns : void
showGraphContextMenu
getshowGraphContextMenu()

whether or not to show the built-in context menu on graph entity right-click

Returns : boolean
setshowGraphContextMenu(value: boolean)

whether or not to show the built-in context menu on graph entity right-click

Parameters :
Name Type Optional
value boolean No
Returns : void
graphMatchKeyTokenSelectionScope
getgraphMatchKeyTokenSelectionScope()

get the value of match key token filterings scope. possible values are "CORE" and "EXTRANEOUS". core means the filtering is only being applied to entities that are directly related to the primary entity/entities being displayed.

setgraphMatchKeyTokenSelectionScope(value: SzMatchKeyTokenFilterScope | string)

sets the depth of what entities are shown when they match the match key token filters. possible values are "CORE" and "EXTRANEOUS". when "CORE" is selected only entities that are directly related to queried entity/entities are filtered by match key tokens. when "EXTRANEOUS" is selected ALL entities no matter how they are related are filtered by match key tokens.

Parameters :
Name Type Optional
value SzMatchKeyTokenFilterScope | string No
Returns : void
showRecordWhyUtilities
getshowRecordWhyUtilities()

whether or not to show the "why" comparison button for records

Returns : boolean
setshowRecordWhyUtilities(value: boolean)

whether or not to show the "why" comparison button for records

Parameters :
Name Type Optional
value boolean No
Returns : void
whySelectionMode
getwhySelectionMode()

if "showRecordWhyUtilities" set to true there is a "single-record" select behavior, and a "multi-select" behavior. possible values are SINGLE and MUTLI

setwhySelectionMode(value: SzWhySelectionModeBehavior)

if "showRecordWhyUtilities" set to true there is a "single-record" select behavior, and a "multi-select" behavior. possible values are SINGLE and MUTLI

Parameters :
Name Type Optional
value SzWhySelectionModeBehavior No
Returns : void
howFunctionDisabled
gethowFunctionDisabled()

when "dynamicHowFeatures" or "showHowFunctionWarnings" is set to true an api request to the entity's how report is made and this value is set to true.

Returns : boolean
sethowFunctionDisabled(value: boolean)

when "dynamicHowFeatures" or "showHowFunctionWarnings" is set to true an api request to the entity's how report is made and this value is set to true.

Parameters :
Name Type Optional
value boolean No
Returns : void
reEvaluateButtonDisabled
getreEvaluateButtonDisabled()
setreEvaluateButtonDisabled(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void
dynamicHowFeatures
getdynamicHowFeatures()

if the entity's how report has no resolution steps and this value is set to true the button for the how report in the header will be disabled and will not emit the click event when the user clicks it

Returns : boolean
setdynamicHowFeatures(value: boolean)

if the entity's how report has no resolution steps and this value is set to true the button for the how report in the header will be disabled and will not emit the click event when the user clicks it

Parameters :
Name Type Optional
value boolean No
Returns : void
showEntityHowFunction
getshowEntityHowFunction()

whether or not the "how" button for the entire entity is shown

Returns : boolean
setshowEntityHowFunction(value: boolean)

whether or not to show the "how" button for the entire entity

Parameters :
Name Type Optional
value boolean No
Returns : void
enableReEvaluateFunction
getenableReEvaluateFunction()

whether or not to show the "re-evaluate" button AND/OR message when needed

Returns : boolean
setenableReEvaluateFunction(value: boolean)

whether or not to show the "re-evaluate" button AND/OR message when needed

Parameters :
Name Type Optional
value boolean No
Returns : void
showReEvaluateMessage
getshowReEvaluateMessage()

whether or not the "reevaluate" messaging shows when needed

Returns : boolean
setshowReEvaluateMessage(value: boolean)

whether or not the "reevaluate" messaging shows when needed

Parameters :
Name Type Optional
value boolean No
Returns : void
showReEvaluateButton
getshowReEvaluateButton()

whether or not the "reevaluate" button shows when needed

Returns : boolean
setshowReEvaluateButton(value: boolean)

whether or not the "reevaluate" button shows when needed

Parameters :
Name Type Optional
value boolean No
Returns : void
entityRequiresReEvaluation
getentityRequiresReEvaluation()

whether or not the "reevaluate" messaging

Returns : boolean
reEvaluateMessage
getreEvaluateMessage()

message to show when re-evalution is required

Returns : string
setreEvaluateMessage(value: string)

message to show when re-evalution is required

Parameters :
Name Type Optional
value string No
Returns : void
showHowFunctionWarnings
getshowHowFunctionWarnings()

when set to true a request to the how report for the entity is made to check whether or not anything would be displayed and if the result has no steps in it's "resolutionSteps" collection when the user clicks the how report button an alert will be displayed telling the user that the report is unavailable.

Returns : boolean
setshowHowFunctionWarnings(value: boolean)

when set to true a request to the how report for the entity is made to check whether or not anything would be displayed and if the result has no steps in it's "resolutionSteps" collection when the user clicks the how report button an alert will be displayed telling the user that the report is unavailable.

Parameters :
Name Type Optional
value boolean No
Returns : void
showEntityWhyFunction
getshowEntityWhyFunction()

whether or not the "why" comparison button for the entire entity is shown

Returns : boolean
setshowEntityWhyFunction(value: boolean)

whether or not to show the "why" comparison button for the entire entity

Parameters :
Name Type Optional
value boolean No
Returns : void
showRelatedWhyNotFunction
getshowRelatedWhyNotFunction()

whether or not the "why" comparison button on "possible matches"

Returns : boolean
setshowRelatedWhyNotFunction(value: boolean)

whether or not to show the "why not" comparison button on "possible matches"

Parameters :
Name Type Optional
value boolean No
Returns : void
nativeElement
getnativeElement()
entityData
setentityData(value: SzEntityData)

set the entity data directly, instead of via entityId lookup.

Parameters :
Name Type Optional
value SzEntityData No
Returns : void
entityId
getentityId()

Get the entity Id of the current entity being displayed.

Returns : number
setentityId(value: number)

set the entity data by passing in an entity id number.

Parameters :
Name Type Optional
value number No
Returns : void
showGraphSection
getshowGraphSection()
setshowGraphSection(value: any)

show or hide the "At a Glance" section.

Parameters :
Name Type Optional
value any No
Returns : void
showHowSection
getshowHowSection()
setshowHowSection(value: any)

show or hide the "At a Glance" section.

Parameters :
Name Type Optional
value any No
Returns : void
showMatchesSection
getshowMatchesSection()
setshowMatchesSection(value: any)

show or hide the "Records" section.

Parameters :
Name Type Optional
value any No
Returns : void
showPossibleMatchesSection
getshowPossibleMatchesSection()
setshowPossibleMatchesSection(value: any)

show or hide the "Possible Matches" section.

Parameters :
Name Type Optional
value any No
Returns : void
showPossibleRelationshipsSection
getshowPossibleRelationshipsSection()
setshowPossibleRelationshipsSection(value: any)

show or hide the "Possible Relationships" section.

Parameters :
Name Type Optional
value any No
Returns : void
showDisclosedSection
getshowDisclosedSection()
setshowDisclosedSection(value: any)

show or hide the "Disclosed Relationships" section.

Parameters :
Name Type Optional
value any No
Returns : void
showBestNameOnlyInMatchesSection
getshowBestNameOnlyInMatchesSection()
setshowBestNameOnlyInMatchesSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showBestNameOnlyInDisclosedSection
getshowBestNameOnlyInDisclosedSection()
setshowBestNameOnlyInDisclosedSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showBestNameOnlyInPossibleMatchesSection
getshowBestNameOnlyInPossibleMatchesSection()
setshowBestNameOnlyInPossibleMatchesSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showBestNameOnlyInPossibleRelationshipsSection
getshowBestNameOnlyInPossibleRelationshipsSection()
setshowBestNameOnlyInPossibleRelationshipsSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showNameDataInMatchesSection
getshowNameDataInMatchesSection()
setshowNameDataInMatchesSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showNameDataInDisclosedSection
getshowNameDataInDisclosedSection()
setshowNameDataInDisclosedSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showNameDataInPossibleMatchesSection
getshowNameDataInPossibleMatchesSection()
setshowNameDataInPossibleMatchesSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showNameDataInPossibleRelationshipsSection
getshowNameDataInPossibleRelationshipsSection()
setshowNameDataInPossibleRelationshipsSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showOtherDataInMatchesSection
getshowOtherDataInMatchesSection()
setshowOtherDataInMatchesSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showOtherDataInDisclosedSection
getshowOtherDataInDisclosedSection()
setshowOtherDataInDisclosedSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showOtherDataInPossibleMatchesSection
getshowOtherDataInPossibleMatchesSection()
setshowOtherDataInPossibleMatchesSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
showOtherDataInPossibleRelationshipsSection
getshowOtherDataInPossibleRelationshipsSection()
setshowOtherDataInPossibleRelationshipsSection(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
graphSectionCollapsed
getgraphSectionCollapsed()
setgraphSectionCollapsed(value: any)

collapse or expand the "At a Glance" section.

Parameters :
Name Type Optional
value any No
Returns : void
recordsSectionCollapsed
getrecordsSectionCollapsed()
setrecordsSectionCollapsed(value: any)

show or hide the "Records" section.

Parameters :
Name Type Optional
value any No
Returns : void
possibleMatchesSectionCollapsed
getpossibleMatchesSectionCollapsed()
setpossibleMatchesSectionCollapsed(value: any)

show or hide the "Possible Matches" section.

Parameters :
Name Type Optional
value any No
Returns : void
possibleRelationshipsSectionCollapsed
getpossibleRelationshipsSectionCollapsed()
setpossibleRelationshipsSectionCollapsed(value: any)

show or hide the "Possible Relationships" section.

Parameters :
Name Type Optional
value any No
Returns : void
disclosedRelationshipsSectionCollapsed
getdisclosedRelationshipsSectionCollapsed()
setdisclosedRelationshipsSectionCollapsed(value: any)

show or hide the "Disclosed Relationships" section.

Parameters :
Name Type Optional
value any No
Returns : void
graphTitle
getgraphTitle()

graph section title

setgraphTitle(value: string)

graph section title

Parameters :
Name Type Optional
value string No
Returns : void
showGraphMatchKeys
getshowGraphMatchKeys()

whether or not the graph component is displaying match keys

setshowGraphMatchKeys(value: any)

show or hide the "At a Glance" section.

Parameters :
Name Type Optional
value any No
Returns : void
requestDataOnIdChange
setrequestDataOnIdChange(value: any)

set the entity data by passing in an entity id number.

Parameters :
Name Type Optional
value any No
Returns : void
graphData
getgraphData()

Gets the data in the model shape used by the relationship network graph.

matches
getmatches()

A list of the search results that are matches.

Returns : SzEntityRecord[]
possibleMatches
getpossibleMatches()

A list of the search results that are possible matches.

Returns : SzRelatedEntity[]
discoveredRelationships
getdiscoveredRelationships()

A list of the search results that are related.

Returns : SzRelatedEntity[]
disclosedRelationships
getdisclosedRelationships()

A list of the search results that are name only matches.

Returns : SzRelatedEntity[]

<!-- @senzing/sdk/entity/detail/sz-entity-detail -->
<!-- start graph entity context menu template -->
<ng-template #graphNodeContextMenu let-entityEvt>
  <ul class="graph-context-menu">
      <li>#{{entityEvt?.entityId}}</li>
      <li [class.disabled]="!isGraphEntityRemovable(entityEvt)" (click)="hideGraphEntity(entityEvt)">Hide Entity</li>
  </ul>
</ng-template>
<!-- end graph entity context menu template -->
<!-- start graph link context menu template -->
<ng-template #graphLinkContextMenu let-linkEvt>
<ul class="graph-context-menu">
    <li (click)="openWhyReportForGraphRelationship(linkEvt)">Show "Why Not" Report</li>
</ul>
</ng-template>
<!-- end graph link context menu template -->
<div #nativeElementRef>
  <sz-entity-detail-header
  [entity]="entity"
  [forceLayout]="_forceLayout"
  [showWhyFunction]="showEntityWhyFunction"
  [showHowFunction]="showEntityHowFunction"
  [requiresReEvaluation]="entityRequiresReEvaluation"
  [showReEvaluateButton]="showReEvaluateButton"
  [showReEvaluateMessage]="showReEvaluateMessage"
  [reEvaluationMessage]="reEvaluateMessage"
  [howButtonDisabled]="howFunctionDisabled"
  [reEvaluateButtonDisabled]="reEvaluateButtonDisabled"
  (onWhyButtonClick)="this.onHeaderWhyButtonClick($event)"
  (onHowButtonClick)="this.onHeaderHowButtonClick($event)"
  (onReEvaluateButtonClick)="this.onHeaderReEvaluateButtonClick($event)"
  [layoutClasses]="_layoutEnforcers">
  </sz-entity-detail-header>
  
  <sz-entity-detail-graph data-html2canvas-ignore
    *ngIf="graphData && this.showGraphSection"
    [data]="graphData"
    [title]="this.graphTitle"
    [captureMouseWheel]="graphAllowScrollingZoom"
    [showPopOutIcon]="graphShowPopOutIcon"
    [popOutIconPosition]="graphPopOutIconPosition"
    [showZoomControl]="graphShowZoomControl"
    [zoomControlPosition]="graphZoomControlPosition"
    (popoutClick)="onGraphPopoutClick($event)"
    [showMatchKeyControl]="graphShowMatchKeyControl"
    [showFiltersControl]="graphShowFiltersControl"
    [matchKeyTokenSelectionScope]="graphMatchKeyTokenSelectionScope"
    [showLinkLabels]="this._showGraphLinkLabels"
    (contextMenuClick)="onGraphRightClick($event)"
    (relationshipContextMenuClick)="onGraphRelationshipRightClick($event)"
    (scrollWheelEvent)="graphScrollWheelEvent.emit($event)"
    (entityClick)="onGraphEntityClick($event)"
    (relationshipClick)="onGraphRelationshipClick($event)"
  ></sz-entity-detail-graph>

  <sz-entity-detail-section-how-report class="details-section how-report"
    *ngIf="entityId && this.showHowSection"
    collapsedStatePrefsKey="howSectionCollapsed"
    (onCollapsedChange)="this.onSectionCollapsedChange('howSectionCollapsed', $event)"
    [entityId]="entityId"
    [forceLayout]="_forceLayout"
    [layoutClasses]="_layoutEnforcers">
  </sz-entity-detail-section-how-report>

  <sz-entity-details-section class="details-section datasources"
    *ngIf="entity?.resolvedEntity?.records?.length && this.showMatchesSection"
    collapsedStatePrefsKey="recordsSectionCollapsed"
    (onCollapsedChange)="this.onSectionCollapsedChange('recordsSectionCollapsed', $event)"
    [sectionData]="entity?.resolvedEntity?.records"
    [sectionTitle]="'Matched Records'"
    sectionId="detail-section-1"
    [sectionCount]="entity?.resolvedEntity?.records?.length"
    [showWhyUtilities]="showRecordWhyUtilities"
    [whySelectionMode]="whySelectionMode"
    (onCompareRecordsForWhy)="onCompareRecordsForWhy($event)"
    [forceLayout]="_forceLayout"
    [layoutClasses]="_layoutEnforcers"
    [showNameDataInEntities]="showNameDataInMatchesSection"
    (dataSourceRecordsSelected)="onDataSourceRecordsSelected($event)"
    (entityRecordClick)="onEntityRecordClick($event)">
  </sz-entity-details-section>

  <sz-entity-details-section class="details-section possible"
    *ngIf="this._possibleMatches?.length && this.showPossibleMatchesSection"
    collapsedStatePrefsKey="possibleMatchesSectionCollapsed"
    (onCollapsedChange)="this.onSectionCollapsedChange('possibleMatchesSectionCollapsed', $event)"
    [sectionData]="this._possibleMatches"
    [sectionTitle]="'Possible Matches'"
    sectionId="detail-section-2"
    [sectionCount]="this._possibleMatches?.length"
    [showWhyUtilities]="showRelatedWhyNotFunction"
    [whySelectionMode]="whySelectionMode"
    [forceLayout]="_forceLayout"
    [layoutClasses]="_layoutEnforcers"
    [showNameDataInEntities]="showNameDataInPossibleMatchesSection"
    (onCollapsedChange)="this.onSectionCollapsedChange('possibleMatches', $event)"
    (entityRecordClick)="onEntityRecordClick($event)"
    (onCompareEntitiesForWhyNot)="onCompareEntitiesForWhyNot($event)">
  </sz-entity-details-section>
  <sz-entity-details-section class="details-section discovered"
    *ngIf="this._discoveredRelationships?.length && this.showPossibleRelationshipsSection"
    collapsedStatePrefsKey="possibleRelationshipsSectionCollapsed"
    (onCollapsedChange)="this.onSectionCollapsedChange('possibleRelationshipsSectionCollapsed', $event)"
    [sectionData]="this._discoveredRelationships"
    [sectionTitle]="'Possible Relationships'"
    sectionId="detail-section-3"
    [sectionCount]="this._discoveredRelationships?.length"
    [forceLayout]="_forceLayout"
    [layoutClasses]="_layoutEnforcers"
    [showNameDataInEntities]="showNameDataInPossibleRelationshipsSection"
    [showWhyUtilities]="showRelatedWhyNotFunction"
    [whySelectionMode]="whySelectionMode"
    (entityRecordClick)="onEntityRecordClick($event)"
    (onCompareEntitiesForWhyNot)="onCompareEntitiesForWhyNot($event)">
  </sz-entity-details-section>
  <sz-entity-details-section class="details-section disclosed"
    *ngIf="this._disclosedRelationships?.length && this.showDisclosedSection"
    collapsedStatePrefsKey="disclosedRelationshipsSectionCollapsed"
    (onCollapsedChange)="this.onSectionCollapsedChange('disclosedRelationshipsSectionCollapsed', $event)"
    [sectionData]="this._disclosedRelationships"
    [sectionTitle]="'Disclosed Relationships'"
    sectionId="detail-section-4"
    [sectionCount]="this._disclosedRelationships?.length"
    [forceLayout]="_forceLayout"
    [layoutClasses]="_layoutEnforcers"
    [showNameDataInEntities]="showNameDataInDisclosedSection"
    (entityRecordClick)="onEntityRecordClick($event)">
  </sz-entity-details-section>
</div>

./sz-entity-detail.component.scss


:host {
  display: block;

  textarea {
    width: 1000px;
    height: 400px;
  }
}

results matching ""

    No results matching ""