{{#link-to 'package' model}}{{model.id}}{{/link-to}} {{#input-with-autocomplete onSubmit=(action 'searchIdentifier') createSearchUrlFunction=createSearchUrlFunction maxItems=10 selectItem=(action 'showIdentifier') searchButtonText="Search" placeholder="Identifier" as |identifier|}} {{identifier.demangledOccName}} :: {{type-signature-text components=identifier.idType.components}}
{{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}} {{#if identifier.locationInfo.modulePath}} {{identifier.locationInfo.modulePath}} {{else}} {{identifier.locationInfo.moduleName}} {{/if}}
{{/input-with-autocomplete}}
{{#radio-button value="currentPackage" groupValue=searchMode}} in {{model.id}} {{/radio-button}} {{#radio-button value="allPackages" groupValue=searchMode}} in all packages {{/radio-button}} {{#if currentFile}} {{currentFile}} {{/if}}
{{#resizable-panel class="left-panel" alsoResizeElementId="#right-panel" as |hide|}}
{{file-tree directoryTree=model.directoryTree openFile="openFile" currentFile=currentFile packageId=model.id hide=hide}}
{{/resizable-panel}}
{{outlet}}
{{#bottom-panel visible=bottomPanelVisible topPanelElementId="#file-container" containerElementId="#right-panel" as |section|}} {{#if (eq section "header")}} References to {{occName}} {{#if locationInfo.packageId}} (defined in {{locationInfo.packageId.name}}-{{locationInfo.packageId.version}} / {{locationInfo.moduleName}}) {{/if}} {{else}}
{{#if globalReferences}} {{#each globalReferences as |ref|}}
{{ref.packageId}} ({{ref.count}})
{{/each}}
{{/if}}
{{#paginated-list url=referencesUrl foundWhere=(concat "in " packageId "") as |files|}} {{/paginated-list}}
{{/if}} {{/bottom-panel}}