@internetarchive/collection-browser 2.20.1-alpha-webdev7822.1 → 2.21.1-alpha-webdev7886.0
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/app-root.js +606 -606
- package/dist/src/app-root.js.map +1 -1
- package/dist/src/data-source/collection-browser-data-source-interface.d.ts +6 -0
- package/dist/src/data-source/collection-browser-data-source-interface.js.map +1 -1
- package/dist/src/data-source/collection-browser-data-source.d.ts +4 -0
- package/dist/src/data-source/collection-browser-data-source.js +6 -0
- package/dist/src/data-source/collection-browser-data-source.js.map +1 -1
- package/dist/src/models.js.map +1 -1
- package/dist/src/sort-filter-bar/sort-filter-bar.js +376 -376
- package/dist/src/sort-filter-bar/sort-filter-bar.js.map +1 -1
- package/dist/test/collection-browser.test.js +202 -183
- package/dist/test/collection-browser.test.js.map +1 -1
- package/dist/test/sort-filter-bar/sort-filter-bar.test.js +37 -37
- package/dist/test/sort-filter-bar/sort-filter-bar.test.js.map +1 -1
- package/package.json +1 -1
- package/src/app-root.ts +1140 -1140
- package/src/data-source/collection-browser-data-source-interface.ts +7 -0
- package/src/data-source/collection-browser-data-source.ts +7 -0
- package/src/models.ts +870 -870
- package/src/sort-filter-bar/sort-filter-bar.ts +1283 -1283
- package/test/collection-browser.test.ts +2359 -2332
- package/test/sort-filter-bar/sort-filter-bar.test.ts +885 -885
|
@@ -283,6 +283,13 @@ export interface CollectionBrowserDataSourceInterface
|
|
|
283
283
|
*/
|
|
284
284
|
setFetchesSuppressed(suppressed: boolean): void;
|
|
285
285
|
|
|
286
|
+
/**
|
|
287
|
+
* Sets whether the end of the current data has been reached, indicating whether further
|
|
288
|
+
* pages should be looked up.
|
|
289
|
+
* @param reached Whether we are at the end of the data for the current query state
|
|
290
|
+
*/
|
|
291
|
+
setEndOfDataReached(reached: boolean): void;
|
|
292
|
+
|
|
286
293
|
/**
|
|
287
294
|
* Notifies the data source that a query change has occurred, which may trigger a data
|
|
288
295
|
* reset & new fetches.
|
|
@@ -399,6 +399,13 @@ export class CollectionBrowserDataSource
|
|
|
399
399
|
this.suppressFetches = suppressed;
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
+
/**
|
|
403
|
+
* @inheritdoc
|
|
404
|
+
*/
|
|
405
|
+
setEndOfDataReached(reached: boolean): void {
|
|
406
|
+
this.endOfDataReached = reached;
|
|
407
|
+
}
|
|
408
|
+
|
|
402
409
|
/**
|
|
403
410
|
* @inheritdoc
|
|
404
411
|
*/
|