@internetarchive/collection-browser 2.13.2-alpha-webdev7687.4 → 2.13.2-alpha-webdev7687.6
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 -1
- package/dist/src/collection-browser.js +2 -2
- package/dist/src/collection-browser.js.map +1 -1
- package/dist/src/models.d.ts +2 -0
- package/dist/src/models.js +11 -0
- package/dist/src/models.js.map +1 -1
- package/dist/src/restoration-state-handler.js +10 -27
- package/dist/src/restoration-state-handler.js.map +1 -1
- package/dist/src/tiles/grid/item-tile.js +1 -0
- package/dist/src/tiles/grid/item-tile.js.map +1 -1
- package/dist/src/tiles/grid/tile-stats.d.ts +3 -0
- package/dist/src/tiles/grid/tile-stats.js +4 -0
- package/dist/src/tiles/grid/tile-stats.js.map +1 -1
- package/dist/src/tiles/list/tile-list-compact.js +1 -0
- package/dist/src/tiles/list/tile-list-compact.js.map +1 -1
- package/dist/src/tiles/list/tile-list.js +1 -0
- package/dist/src/tiles/list/tile-list.js.map +1 -1
- package/dist/src/tiles/tile-mediatype-icon.d.ts +5 -0
- package/dist/src/tiles/tile-mediatype-icon.js +22 -6
- package/dist/src/tiles/tile-mediatype-icon.js.map +1 -1
- package/package.json +1 -1
- package/src/collection-browser.ts +2 -2
- package/src/models.ts +14 -1
- package/src/restoration-state-handler.ts +10 -23
- package/src/tiles/grid/item-tile.ts +1 -0
- package/src/tiles/grid/tile-stats.ts +5 -0
- package/src/tiles/list/tile-list-compact.ts +1 -0
- package/src/tiles/list/tile-list.ts +1 -0
- package/src/tiles/tile-mediatype-icon.ts +21 -7
|
@@ -50,7 +50,7 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
|
|
|
50
50
|
selectedSort: SortField;
|
|
51
51
|
selectedTitleFilter: string | null;
|
|
52
52
|
selectedCreatorFilter: string | null;
|
|
53
|
-
tvClipFilter
|
|
53
|
+
tvClipFilter: TvClipFilterType;
|
|
54
54
|
sortDirection: SortDirection | null;
|
|
55
55
|
defaultSortField: Exclude<SortField, SortField.default>;
|
|
56
56
|
defaultSortDirection: SortDirection | null;
|
|
@@ -1476,7 +1476,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
1476
1476
|
this.restoreState();
|
|
1477
1477
|
}
|
|
1478
1478
|
restoreState() {
|
|
1479
|
-
var _a, _b, _c, _d, _e;
|
|
1479
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1480
1480
|
const restorationState = this.restorationStateHandler.getRestorationState();
|
|
1481
1481
|
this.displayMode = restorationState.displayMode;
|
|
1482
1482
|
if (restorationState.searchType != null)
|
|
@@ -1491,7 +1491,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
1491
1491
|
this.currentPage = (_e = restorationState.currentPage) !== null && _e !== void 0 ? _e : 1;
|
|
1492
1492
|
this.minSelectedDate = restorationState.minSelectedDate;
|
|
1493
1493
|
this.maxSelectedDate = restorationState.maxSelectedDate;
|
|
1494
|
-
this.tvClipFilter = restorationState.tvClipFilter;
|
|
1494
|
+
this.tvClipFilter = (_f = restorationState.tvClipFilter) !== null && _f !== void 0 ? _f : 'all';
|
|
1495
1495
|
if (this.currentPage > 1) {
|
|
1496
1496
|
this.goToPage(this.currentPage);
|
|
1497
1497
|
}
|