@internetarchive/collection-browser 4.5.0 → 4.5.1

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.
@@ -533,10 +533,6 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
533
533
  * Handler for when the date picker's date range is changed.
534
534
  */
535
535
  private histogramDateRangeUpdated;
536
- /**
537
- * The Lucene query corresponding to the current date range.
538
- */
539
- private get dateRangeQueryClause();
540
536
  /**
541
537
  * Emits an event indicating a change in whether the manage mode is shown.
542
538
  */
@@ -1311,18 +1311,9 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
1311
1311
  this.analyticsHandler?.sendEvent({
1312
1312
  category: this.searchContext,
1313
1313
  action: analyticsActions.histogramChanged,
1314
- label: this.dateRangeQueryClause,
1314
+ label: this.dataSource.dateRangeQueryClause,
1315
1315
  });
1316
1316
  }
1317
- /**
1318
- * The Lucene query corresponding to the current date range.
1319
- */
1320
- get dateRangeQueryClause() {
1321
- if (!this.minSelectedDate || !this.maxSelectedDate) {
1322
- return undefined;
1323
- }
1324
- return `year:[${this.minSelectedDate} TO ${this.maxSelectedDate}]`;
1325
- }
1326
1317
  /**
1327
1318
  * Emits an event indicating a change in whether the manage mode is shown.
1328
1319
  */