@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.
- package/dist/src/collection-browser.d.ts +1 -0
- package/dist/src/collection-browser.js +5 -1
- package/dist/src/collection-browser.js.map +1 -1
- package/dist/test/collection-browser.test.js +6 -8
- package/dist/test/collection-browser.test.js.map +1 -1
- package/dist/test/tile-stats.test.js +7 -8
- package/dist/test/tile-stats.test.js.map +1 -1
- package/package.json +1 -1
- package/src/collection-browser.ts +3 -1
- package/test/collection-browser.test.ts +7 -12
- package/test/tile-stats.test.ts +9 -8
|
@@ -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);
|