@internetarchive/collection-browser 3.4.2-alpha-webdev7761.0 → 3.5.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/collection-browser.d.ts +1 -1
- package/dist/src/collection-browser.js +6 -6
- package/dist/src/collection-browser.js.map +1 -1
- package/dist/src/collection-facets/more-facets-content.js +121 -121
- package/dist/src/collection-facets/more-facets-content.js.map +1 -1
- package/package.json +2 -2
- package/src/collection-browser.ts +5 -5
- package/src/collection-facets/more-facets-content.ts +642 -642
|
@@ -211,7 +211,7 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
|
|
|
211
211
|
private selectedTVNetwork?;
|
|
212
212
|
private selectedTVShow?;
|
|
213
213
|
private tvMapsPopulated;
|
|
214
|
-
private
|
|
214
|
+
private tvMapsLoading;
|
|
215
215
|
private tvMapsErrored;
|
|
216
216
|
private contentContainer;
|
|
217
217
|
private leftColumn?;
|
|
@@ -168,7 +168,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
168
168
|
this.selectedTVNetwork = undefined;
|
|
169
169
|
this.selectedTVShow = undefined;
|
|
170
170
|
this.tvMapsPopulated = false;
|
|
171
|
-
this.
|
|
171
|
+
this.tvMapsLoading = false;
|
|
172
172
|
this.tvMapsErrored = false;
|
|
173
173
|
/** Whether layout size analytics have been sent already. */
|
|
174
174
|
this.layoutSizeAnalyticsSent = false;
|
|
@@ -978,7 +978,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
978
978
|
return; // Only run when toggled open
|
|
979
979
|
if (this.tvMapsPopulated)
|
|
980
980
|
return;
|
|
981
|
-
this.
|
|
981
|
+
this.tvMapsLoading = true;
|
|
982
982
|
this.tvMapsErrored = false;
|
|
983
983
|
try {
|
|
984
984
|
await this.dataSource.populateTVChannelMaps();
|
|
@@ -987,7 +987,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
987
987
|
catch (err) {
|
|
988
988
|
this.tvMapsErrored = true;
|
|
989
989
|
}
|
|
990
|
-
this.
|
|
990
|
+
this.tvMapsLoading = false;
|
|
991
991
|
}
|
|
992
992
|
async networksDropdownChanged() {
|
|
993
993
|
const previousNetwork = this.selectedTVNetwork;
|
|
@@ -1074,7 +1074,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
1074
1074
|
@change=${this.networksDropdownChanged}
|
|
1075
1075
|
>
|
|
1076
1076
|
<span slot="label" class="sr-only">${filterByNetworkLabel}</span>
|
|
1077
|
-
${this.
|
|
1077
|
+
${this.tvMapsLoading ? loadingIndicator : nothing}
|
|
1078
1078
|
${this.tvMapsErrored ? errorMessage : nothing}
|
|
1079
1079
|
</ia-combo-box>
|
|
1080
1080
|
<ia-combo-box
|
|
@@ -1090,7 +1090,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
1090
1090
|
@change=${this.showsDropdownChanged}
|
|
1091
1091
|
>
|
|
1092
1092
|
<span slot="label" class="sr-only">${filterByShowLabel}</span>
|
|
1093
|
-
${this.
|
|
1093
|
+
${this.tvMapsLoading ? loadingIndicator : nothing}
|
|
1094
1094
|
${this.tvMapsErrored ? errorMessage : nothing}
|
|
1095
1095
|
</ia-combo-box>
|
|
1096
1096
|
</div>
|
|
@@ -2701,7 +2701,7 @@ __decorate([
|
|
|
2701
2701
|
], CollectionBrowser.prototype, "tvMapsPopulated", void 0);
|
|
2702
2702
|
__decorate([
|
|
2703
2703
|
state()
|
|
2704
|
-
], CollectionBrowser.prototype, "
|
|
2704
|
+
], CollectionBrowser.prototype, "tvMapsLoading", void 0);
|
|
2705
2705
|
__decorate([
|
|
2706
2706
|
state()
|
|
2707
2707
|
], CollectionBrowser.prototype, "tvMapsErrored", void 0);
|