@internetarchive/collection-browser 2.10.1-alpha-webdev7090.14 → 2.10.1-alpha-webdev7090.15

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.
@@ -131,6 +131,7 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
131
131
  enableSortOptionsSlot: boolean;
132
132
  /** Whether to display a smart results carousel above the full results */
133
133
  showSmartResults: boolean;
134
+ resultsHeader?: string;
134
135
  /**
135
136
  * The maximum number of pages we will load when a privileged user clicks
136
137
  * the "Manage" button on the search page. Limited to 15 pages.
@@ -499,6 +499,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
499
499
  * tiles and sort/filter bar are shown.
500
500
  */
501
501
  get rightColumnTemplate() {
502
+ var _a;
502
503
  return html `
503
504
  <div
504
505
  id="right-column"
@@ -510,7 +511,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
510
511
  <section id="results">
511
512
  ${this.showSmartResults
512
513
  ? html `<h2 class="results-section-heading">
513
- ${msg('All results')}
514
+ ${(_a = this.resultsHeader) !== null && _a !== void 0 ? _a : msg('All results')}
514
515
  </h2>`
515
516
  : nothing}
516
517
  <div id="cb-top-view">
@@ -2281,6 +2282,9 @@ __decorate([
2281
2282
  __decorate([
2282
2283
  property({ type: Boolean, reflect: true })
2283
2284
  ], CollectionBrowser.prototype, "showSmartResults", void 0);
2285
+ __decorate([
2286
+ property({ type: String })
2287
+ ], CollectionBrowser.prototype, "resultsHeader", void 0);
2284
2288
  __decorate([
2285
2289
  property({ type: Number })
2286
2290
  ], CollectionBrowser.prototype, "maxPagesToManage", void 0);