@internetarchive/collection-browser 3.3.1 → 3.3.2
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/package.json +1 -1
- package/dist/index.d.ts +0 -16
- package/dist/index.js.map +0 -1
- package/dist/src/app-root.d.ts +0 -105
- package/dist/src/app-root.js +0 -1076
- package/dist/src/app-root.js.map +0 -1
- package/dist/src/assets/img/icons/arrow-left.d.ts +0 -2
- package/dist/src/assets/img/icons/arrow-left.js +0 -10
- package/dist/src/assets/img/icons/arrow-left.js.map +0 -1
- package/dist/src/assets/img/icons/arrow-right.d.ts +0 -2
- package/dist/src/assets/img/icons/arrow-right.js +0 -10
- package/dist/src/assets/img/icons/arrow-right.js.map +0 -1
- package/dist/src/assets/img/icons/chevron.d.ts +0 -2
- package/dist/src/assets/img/icons/chevron.js +0 -4
- package/dist/src/assets/img/icons/chevron.js.map +0 -1
- package/dist/src/assets/img/icons/close-circle-dark.d.ts +0 -2
- package/dist/src/assets/img/icons/close-circle-dark.js +0 -5
- package/dist/src/assets/img/icons/close-circle-dark.js.map +0 -1
- package/dist/src/assets/img/icons/contract.d.ts +0 -2
- package/dist/src/assets/img/icons/contract.js +0 -9
- package/dist/src/assets/img/icons/contract.js.map +0 -1
- package/dist/src/assets/img/icons/empty-query.d.ts +0 -2
- package/dist/src/assets/img/icons/empty-query.js +0 -5
- package/dist/src/assets/img/icons/empty-query.js.map +0 -1
- package/dist/src/assets/img/icons/expand.d.ts +0 -2
- package/dist/src/assets/img/icons/expand.js +0 -9
- package/dist/src/assets/img/icons/expand.js.map +0 -1
- package/dist/src/assets/img/icons/eye-closed.d.ts +0 -2
- package/dist/src/assets/img/icons/eye-closed.js +0 -5
- package/dist/src/assets/img/icons/eye-closed.js.map +0 -1
- package/dist/src/assets/img/icons/eye.d.ts +0 -2
- package/dist/src/assets/img/icons/eye.js +0 -5
- package/dist/src/assets/img/icons/eye.js.map +0 -1
- package/dist/src/assets/img/icons/favorite-filled.d.ts +0 -1
- package/dist/src/assets/img/icons/favorite-filled.js +0 -10
- package/dist/src/assets/img/icons/favorite-filled.js.map +0 -1
- package/dist/src/assets/img/icons/favorite-unfilled.d.ts +0 -1
- package/dist/src/assets/img/icons/favorite-unfilled.js +0 -9
- package/dist/src/assets/img/icons/favorite-unfilled.js.map +0 -1
- package/dist/src/assets/img/icons/filter.d.ts +0 -2
- package/dist/src/assets/img/icons/filter.js +0 -10
- package/dist/src/assets/img/icons/filter.js.map +0 -1
- package/dist/src/assets/img/icons/login-required.d.ts +0 -1
- package/dist/src/assets/img/icons/login-required.js +0 -18
- package/dist/src/assets/img/icons/login-required.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/account.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/account.js +0 -14
- package/dist/src/assets/img/icons/mediatype/account.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/audio.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/audio.js +0 -14
- package/dist/src/assets/img/icons/mediatype/audio.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/collection.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/collection.js +0 -12
- package/dist/src/assets/img/icons/mediatype/collection.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/data.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/data.js +0 -15
- package/dist/src/assets/img/icons/mediatype/data.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/etree.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/etree.js +0 -14
- package/dist/src/assets/img/icons/mediatype/etree.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/film.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/film.js +0 -14
- package/dist/src/assets/img/icons/mediatype/film.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/images.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/images.js +0 -13
- package/dist/src/assets/img/icons/mediatype/images.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/radio.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/radio.js +0 -15
- package/dist/src/assets/img/icons/mediatype/radio.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/search.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/search.js +0 -14
- package/dist/src/assets/img/icons/mediatype/search.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/software.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/software.js +0 -13
- package/dist/src/assets/img/icons/mediatype/software.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/texts.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/texts.js +0 -13
- package/dist/src/assets/img/icons/mediatype/texts.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/tv-commercial.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/tv-commercial.js +0 -12
- package/dist/src/assets/img/icons/mediatype/tv-commercial.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/tv-fact-check.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/tv-fact-check.js +0 -12
- package/dist/src/assets/img/icons/mediatype/tv-fact-check.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/tv-quote.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/tv-quote.js +0 -12
- package/dist/src/assets/img/icons/mediatype/tv-quote.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/tv.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/tv.js +0 -14
- package/dist/src/assets/img/icons/mediatype/tv.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/video.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/video.js +0 -14
- package/dist/src/assets/img/icons/mediatype/video.js.map +0 -1
- package/dist/src/assets/img/icons/mediatype/web.d.ts +0 -1
- package/dist/src/assets/img/icons/mediatype/web.js +0 -13
- package/dist/src/assets/img/icons/mediatype/web.js.map +0 -1
- package/dist/src/assets/img/icons/null-result.d.ts +0 -2
- package/dist/src/assets/img/icons/null-result.js +0 -5
- package/dist/src/assets/img/icons/null-result.js.map +0 -1
- package/dist/src/assets/img/icons/quote.d.ts +0 -1
- package/dist/src/assets/img/icons/quote.js +0 -7
- package/dist/src/assets/img/icons/quote.js.map +0 -1
- package/dist/src/assets/img/icons/restricted.d.ts +0 -1
- package/dist/src/assets/img/icons/restricted.js +0 -13
- package/dist/src/assets/img/icons/restricted.js.map +0 -1
- package/dist/src/assets/img/icons/reviews.d.ts +0 -1
- package/dist/src/assets/img/icons/reviews.js +0 -11
- package/dist/src/assets/img/icons/reviews.js.map +0 -1
- package/dist/src/assets/img/icons/upload.d.ts +0 -1
- package/dist/src/assets/img/icons/upload.js +0 -12
- package/dist/src/assets/img/icons/upload.js.map +0 -1
- package/dist/src/assets/img/icons/views.d.ts +0 -1
- package/dist/src/assets/img/icons/views.js +0 -11
- package/dist/src/assets/img/icons/views.js.map +0 -1
- package/dist/src/circular-activity-indicator.d.ts +0 -5
- package/dist/src/circular-activity-indicator.js +0 -66
- package/dist/src/circular-activity-indicator.js.map +0 -1
- package/dist/src/collection-browser.d.ts +0 -684
- package/dist/src/collection-browser.js +0 -2567
- package/dist/src/collection-browser.js.map +0 -1
- package/dist/src/collection-facets/facet-row.d.ts +0 -30
- package/dist/src/collection-facets/facet-row.js +0 -265
- package/dist/src/collection-facets/facet-row.js.map +0 -1
- package/dist/src/collection-facets/facet-tombstone-row.d.ts +0 -5
- package/dist/src/collection-facets/facet-tombstone-row.js +0 -43
- package/dist/src/collection-facets/facet-tombstone-row.js.map +0 -1
- package/dist/src/collection-facets/facets-template.d.ts +0 -13
- package/dist/src/collection-facets/facets-template.js +0 -68
- package/dist/src/collection-facets/facets-template.js.map +0 -1
- package/dist/src/collection-facets/models.d.ts +0 -9
- package/dist/src/collection-facets/models.js +0 -10
- package/dist/src/collection-facets/models.js.map +0 -1
- package/dist/src/collection-facets/more-facets-content.d.ts +0 -109
- package/dist/src/collection-facets/more-facets-content.js +0 -547
- package/dist/src/collection-facets/more-facets-content.js.map +0 -1
- package/dist/src/collection-facets/more-facets-pagination.d.ts +0 -36
- package/dist/src/collection-facets/more-facets-pagination.js +0 -264
- package/dist/src/collection-facets/more-facets-pagination.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/dedupe.d.ts +0 -10
- package/dist/src/collection-facets/smart-facets/dedupe.js +0 -35
- package/dist/src/collection-facets/smart-facets/dedupe.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/heuristics/browser-language/browser-language-heuristic.d.ts +0 -5
- package/dist/src/collection-facets/smart-facets/heuristics/browser-language/browser-language-heuristic.js +0 -24
- package/dist/src/collection-facets/smart-facets/heuristics/browser-language/browser-language-heuristic.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/heuristics/index.d.ts +0 -3
- package/dist/src/collection-facets/smart-facets/heuristics/index.js +0 -4
- package/dist/src/collection-facets/smart-facets/heuristics/index.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/heuristics/query-keywords/query-keywords-heuristic.d.ts +0 -4
- package/dist/src/collection-facets/smart-facets/heuristics/query-keywords/query-keywords-heuristic.js +0 -14
- package/dist/src/collection-facets/smart-facets/heuristics/query-keywords/query-keywords-heuristic.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/heuristics/query-keywords/query-keywords-map.d.ts +0 -6
- package/dist/src/collection-facets/smart-facets/heuristics/query-keywords/query-keywords-map.js +0 -68
- package/dist/src/collection-facets/smart-facets/heuristics/query-keywords/query-keywords-map.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/heuristics/wikidata/wikidata-entity-map.d.ts +0 -9
- package/dist/src/collection-facets/smart-facets/heuristics/wikidata/wikidata-entity-map.js +0 -69
- package/dist/src/collection-facets/smart-facets/heuristics/wikidata/wikidata-entity-map.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/heuristics/wikidata/wikidata-heuristic.d.ts +0 -21
- package/dist/src/collection-facets/smart-facets/heuristics/wikidata/wikidata-heuristic.js +0 -76
- package/dist/src/collection-facets/smart-facets/heuristics/wikidata/wikidata-heuristic.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/models.d.ts +0 -30
- package/dist/src/collection-facets/smart-facets/models.js +0 -2
- package/dist/src/collection-facets/smart-facets/models.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/smart-facet-bar.d.ts +0 -54
- package/dist/src/collection-facets/smart-facets/smart-facet-bar.js +0 -383
- package/dist/src/collection-facets/smart-facets/smart-facet-bar.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/smart-facet-button.d.ts +0 -11
- package/dist/src/collection-facets/smart-facets/smart-facet-button.js +0 -133
- package/dist/src/collection-facets/smart-facets/smart-facet-button.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/smart-facet-dropdown.d.ts +0 -28
- package/dist/src/collection-facets/smart-facets/smart-facet-dropdown.js +0 -172
- package/dist/src/collection-facets/smart-facets/smart-facet-dropdown.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/smart-facet-equals.d.ts +0 -2
- package/dist/src/collection-facets/smart-facets/smart-facet-equals.js +0 -13
- package/dist/src/collection-facets/smart-facets/smart-facet-equals.js.map +0 -1
- package/dist/src/collection-facets/smart-facets/smart-facet-heuristics.d.ts +0 -5
- package/dist/src/collection-facets/smart-facets/smart-facet-heuristics.js +0 -18
- package/dist/src/collection-facets/smart-facets/smart-facet-heuristics.js.map +0 -1
- package/dist/src/collection-facets/toggle-switch.d.ts +0 -41
- package/dist/src/collection-facets/toggle-switch.js +0 -174
- package/dist/src/collection-facets/toggle-switch.js.map +0 -1
- package/dist/src/collection-facets.d.ts +0 -113
- package/dist/src/collection-facets.js +0 -873
- package/dist/src/collection-facets.js.map +0 -1
- package/dist/src/data-source/collection-browser-data-source-interface.d.ts +0 -261
- package/dist/src/data-source/collection-browser-data-source-interface.js +0 -2
- package/dist/src/data-source/collection-browser-data-source-interface.js.map +0 -1
- package/dist/src/data-source/collection-browser-data-source.d.ts +0 -400
- package/dist/src/data-source/collection-browser-data-source.js +0 -1103
- package/dist/src/data-source/collection-browser-data-source.js.map +0 -1
- package/dist/src/data-source/collection-browser-query-state.d.ts +0 -49
- package/dist/src/data-source/collection-browser-query-state.js +0 -2
- package/dist/src/data-source/collection-browser-query-state.js.map +0 -1
- package/dist/src/data-source/models.d.ts +0 -32
- package/dist/src/data-source/models.js +0 -9
- package/dist/src/data-source/models.js.map +0 -1
- package/dist/src/empty-placeholder.d.ts +0 -23
- package/dist/src/empty-placeholder.js +0 -165
- package/dist/src/empty-placeholder.js.map +0 -1
- package/dist/src/expanded-date-picker.d.ts +0 -50
- package/dist/src/expanded-date-picker.js +0 -182
- package/dist/src/expanded-date-picker.js.map +0 -1
- package/dist/src/language-code-handler/language-code-handler.d.ts +0 -37
- package/dist/src/language-code-handler/language-code-handler.js +0 -27
- package/dist/src/language-code-handler/language-code-handler.js.map +0 -1
- package/dist/src/language-code-handler/language-code-mapping.d.ts +0 -1
- package/dist/src/language-code-handler/language-code-mapping.js +0 -563
- package/dist/src/language-code-handler/language-code-mapping.js.map +0 -1
- package/dist/src/manage/manage-bar.d.ts +0 -58
- package/dist/src/manage/manage-bar.js +0 -237
- package/dist/src/manage/manage-bar.js.map +0 -1
- package/dist/src/manage/remove-items-modal-content.d.ts +0 -9
- package/dist/src/manage/remove-items-modal-content.js +0 -104
- package/dist/src/manage/remove-items-modal-content.js.map +0 -1
- package/dist/src/mediatype/mediatype-config.d.ts +0 -11
- package/dist/src/mediatype/mediatype-config.js +0 -116
- package/dist/src/mediatype/mediatype-config.js.map +0 -1
- package/dist/src/models.d.ts +0 -302
- package/dist/src/models.js +0 -511
- package/dist/src/models.js.map +0 -1
- package/dist/src/restoration-state-handler.d.ts +0 -75
- package/dist/src/restoration-state-handler.js +0 -403
- package/dist/src/restoration-state-handler.js.map +0 -1
- package/dist/src/sort-filter-bar/alpha-bar-tooltip.d.ts +0 -6
- package/dist/src/sort-filter-bar/alpha-bar-tooltip.js +0 -60
- package/dist/src/sort-filter-bar/alpha-bar-tooltip.js.map +0 -1
- package/dist/src/sort-filter-bar/alpha-bar.d.ts +0 -21
- package/dist/src/sort-filter-bar/alpha-bar.js +0 -241
- package/dist/src/sort-filter-bar/alpha-bar.js.map +0 -1
- package/dist/src/sort-filter-bar/img/compact.d.ts +0 -1
- package/dist/src/sort-filter-bar/img/compact.js +0 -5
- package/dist/src/sort-filter-bar/img/compact.js.map +0 -1
- package/dist/src/sort-filter-bar/img/list.d.ts +0 -1
- package/dist/src/sort-filter-bar/img/list.js +0 -5
- package/dist/src/sort-filter-bar/img/list.js.map +0 -1
- package/dist/src/sort-filter-bar/img/sort-toggle-disabled.d.ts +0 -1
- package/dist/src/sort-filter-bar/img/sort-toggle-disabled.js +0 -15
- package/dist/src/sort-filter-bar/img/sort-toggle-disabled.js.map +0 -1
- package/dist/src/sort-filter-bar/img/sort-toggle-down.d.ts +0 -1
- package/dist/src/sort-filter-bar/img/sort-toggle-down.js +0 -17
- package/dist/src/sort-filter-bar/img/sort-toggle-down.js.map +0 -1
- package/dist/src/sort-filter-bar/img/sort-toggle-up.d.ts +0 -1
- package/dist/src/sort-filter-bar/img/sort-toggle-up.js +0 -17
- package/dist/src/sort-filter-bar/img/sort-toggle-up.js.map +0 -1
- package/dist/src/sort-filter-bar/img/sort-triangle.d.ts +0 -1
- package/dist/src/sort-filter-bar/img/sort-triangle.js +0 -5
- package/dist/src/sort-filter-bar/img/sort-triangle.js.map +0 -1
- package/dist/src/sort-filter-bar/img/tile.d.ts +0 -1
- package/dist/src/sort-filter-bar/img/tile.js +0 -5
- package/dist/src/sort-filter-bar/img/tile.js.map +0 -1
- package/dist/src/sort-filter-bar/sort-filter-bar.d.ts +0 -278
- package/dist/src/sort-filter-bar/sort-filter-bar.js +0 -1161
- package/dist/src/sort-filter-bar/sort-filter-bar.js.map +0 -1
- package/dist/src/styles/ia-button.d.ts +0 -2
- package/dist/src/styles/ia-button.js +0 -134
- package/dist/src/styles/ia-button.js.map +0 -1
- package/dist/src/styles/item-image-styles.d.ts +0 -8
- package/dist/src/styles/item-image-styles.js +0 -123
- package/dist/src/styles/item-image-styles.js.map +0 -1
- package/dist/src/styles/sr-only.d.ts +0 -1
- package/dist/src/styles/sr-only.js +0 -18
- package/dist/src/styles/sr-only.js.map +0 -1
- package/dist/src/tiles/base-tile-component.d.ts +0 -27
- package/dist/src/tiles/base-tile-component.js +0 -82
- package/dist/src/tiles/base-tile-component.js.map +0 -1
- package/dist/src/tiles/collection-browser-loading-tile.d.ts +0 -5
- package/dist/src/tiles/collection-browser-loading-tile.js +0 -29
- package/dist/src/tiles/collection-browser-loading-tile.js.map +0 -1
- package/dist/src/tiles/grid/account-tile.d.ts +0 -18
- package/dist/src/tiles/grid/account-tile.js +0 -111
- package/dist/src/tiles/grid/account-tile.js.map +0 -1
- package/dist/src/tiles/grid/collection-tile.d.ts +0 -15
- package/dist/src/tiles/grid/collection-tile.js +0 -160
- package/dist/src/tiles/grid/collection-tile.js.map +0 -1
- package/dist/src/tiles/grid/item-tile.d.ts +0 -41
- package/dist/src/tiles/grid/item-tile.js +0 -321
- package/dist/src/tiles/grid/item-tile.js.map +0 -1
- package/dist/src/tiles/grid/search-tile.d.ts +0 -10
- package/dist/src/tiles/grid/search-tile.js +0 -95
- package/dist/src/tiles/grid/search-tile.js.map +0 -1
- package/dist/src/tiles/grid/styles/tile-grid-shared-styles.d.ts +0 -1
- package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js +0 -128
- package/dist/src/tiles/grid/styles/tile-grid-shared-styles.js.map +0 -1
- package/dist/src/tiles/grid/tile-stats.d.ts +0 -58
- package/dist/src/tiles/grid/tile-stats.js +0 -204
- package/dist/src/tiles/grid/tile-stats.js.map +0 -1
- package/dist/src/tiles/hover/hover-pane-controller.d.ts +0 -220
- package/dist/src/tiles/hover/hover-pane-controller.js +0 -378
- package/dist/src/tiles/hover/hover-pane-controller.js.map +0 -1
- package/dist/src/tiles/hover/tile-hover-pane.d.ts +0 -19
- package/dist/src/tiles/hover/tile-hover-pane.js +0 -182
- package/dist/src/tiles/hover/tile-hover-pane.js.map +0 -1
- package/dist/src/tiles/image-block.d.ts +0 -19
- package/dist/src/tiles/image-block.js +0 -175
- package/dist/src/tiles/image-block.js.map +0 -1
- package/dist/src/tiles/item-image.d.ts +0 -40
- package/dist/src/tiles/item-image.js +0 -191
- package/dist/src/tiles/item-image.js.map +0 -1
- package/dist/src/tiles/list/tile-list-compact-header.d.ts +0 -6
- package/dist/src/tiles/list/tile-list-compact-header.js +0 -85
- package/dist/src/tiles/list/tile-list-compact-header.js.map +0 -1
- package/dist/src/tiles/list/tile-list-compact.d.ts +0 -19
- package/dist/src/tiles/list/tile-list-compact.js +0 -223
- package/dist/src/tiles/list/tile-list-compact.js.map +0 -1
- package/dist/src/tiles/list/tile-list.d.ts +0 -54
- package/dist/src/tiles/list/tile-list.js +0 -621
- package/dist/src/tiles/list/tile-list.js.map +0 -1
- package/dist/src/tiles/models.d.ts +0 -1
- package/dist/src/tiles/models.js +0 -2
- package/dist/src/tiles/models.js.map +0 -1
- package/dist/src/tiles/overlay/icon-overlay.d.ts +0 -8
- package/dist/src/tiles/overlay/icon-overlay.js +0 -55
- package/dist/src/tiles/overlay/icon-overlay.js.map +0 -1
- package/dist/src/tiles/overlay/text-overlay.d.ts +0 -9
- package/dist/src/tiles/overlay/text-overlay.js +0 -74
- package/dist/src/tiles/overlay/text-overlay.js.map +0 -1
- package/dist/src/tiles/review-block.d.ts +0 -12
- package/dist/src/tiles/review-block.js +0 -134
- package/dist/src/tiles/review-block.js.map +0 -1
- package/dist/src/tiles/text-snippet-block.d.ts +0 -27
- package/dist/src/tiles/text-snippet-block.js +0 -132
- package/dist/src/tiles/text-snippet-block.js.map +0 -1
- package/dist/src/tiles/tile-dispatcher.d.ts +0 -68
- package/dist/src/tiles/tile-dispatcher.js +0 -445
- package/dist/src/tiles/tile-dispatcher.js.map +0 -1
- package/dist/src/tiles/tile-display-value-provider.d.ts +0 -47
- package/dist/src/tiles/tile-display-value-provider.js +0 -95
- package/dist/src/tiles/tile-display-value-provider.js.map +0 -1
- package/dist/src/tiles/tile-mediatype-icon.d.ts +0 -27
- package/dist/src/tiles/tile-mediatype-icon.js +0 -130
- package/dist/src/tiles/tile-mediatype-icon.js.map +0 -1
- package/dist/src/utils/analytics-events.d.ts +0 -28
- package/dist/src/utils/analytics-events.js +0 -31
- package/dist/src/utils/analytics-events.js.map +0 -1
- package/dist/src/utils/array-equals.d.ts +0 -4
- package/dist/src/utils/array-equals.js +0 -11
- package/dist/src/utils/array-equals.js.map +0 -1
- package/dist/src/utils/collapse-repeated-quotes.d.ts +0 -11
- package/dist/src/utils/collapse-repeated-quotes.js +0 -14
- package/dist/src/utils/collapse-repeated-quotes.js.map +0 -1
- package/dist/src/utils/facet-utils.d.ts +0 -83
- package/dist/src/utils/facet-utils.js +0 -152
- package/dist/src/utils/facet-utils.js.map +0 -1
- package/dist/src/utils/format-count.d.ts +0 -7
- package/dist/src/utils/format-count.js +0 -76
- package/dist/src/utils/format-count.js.map +0 -1
- package/dist/src/utils/format-date.d.ts +0 -16
- package/dist/src/utils/format-date.js +0 -33
- package/dist/src/utils/format-date.js.map +0 -1
- package/dist/src/utils/format-unit-size.d.ts +0 -2
- package/dist/src/utils/format-unit-size.js +0 -34
- package/dist/src/utils/format-unit-size.js.map +0 -1
- package/dist/src/utils/local-date-from-utc.d.ts +0 -9
- package/dist/src/utils/local-date-from-utc.js +0 -16
- package/dist/src/utils/local-date-from-utc.js.map +0 -1
- package/dist/src/utils/log.d.ts +0 -7
- package/dist/src/utils/log.js +0 -14
- package/dist/src/utils/log.js.map +0 -1
- package/dist/src/utils/resolve-mediatype.d.ts +0 -8
- package/dist/src/utils/resolve-mediatype.js +0 -24
- package/dist/src/utils/resolve-mediatype.js.map +0 -1
- package/dist/src/utils/sha1.d.ts +0 -2
- package/dist/src/utils/sha1.js +0 -9
- package/dist/src/utils/sha1.js.map +0 -1
- package/dist/test/collection-browser.test.d.ts +0 -1
- package/dist/test/collection-browser.test.js +0 -1711
- package/dist/test/collection-browser.test.js.map +0 -1
- package/dist/test/collection-facets/facet-row.test.d.ts +0 -1
- package/dist/test/collection-facets/facet-row.test.js +0 -274
- package/dist/test/collection-facets/facet-row.test.js.map +0 -1
- package/dist/test/collection-facets/facets-template.test.d.ts +0 -1
- package/dist/test/collection-facets/facets-template.test.js +0 -101
- package/dist/test/collection-facets/facets-template.test.js.map +0 -1
- package/dist/test/collection-facets/more-facets-content.test.d.ts +0 -1
- package/dist/test/collection-facets/more-facets-content.test.js +0 -169
- package/dist/test/collection-facets/more-facets-content.test.js.map +0 -1
- package/dist/test/collection-facets/more-facets-pagination.test.d.ts +0 -1
- package/dist/test/collection-facets/more-facets-pagination.test.js +0 -132
- package/dist/test/collection-facets/more-facets-pagination.test.js.map +0 -1
- package/dist/test/collection-facets/toggle-switch.test.d.ts +0 -1
- package/dist/test/collection-facets/toggle-switch.test.js +0 -96
- package/dist/test/collection-facets/toggle-switch.test.js.map +0 -1
- package/dist/test/collection-facets.test.d.ts +0 -2
- package/dist/test/collection-facets.test.js +0 -745
- package/dist/test/collection-facets.test.js.map +0 -1
- package/dist/test/data-source/collection-browser-data-source.test.d.ts +0 -1
- package/dist/test/data-source/collection-browser-data-source.test.js +0 -102
- package/dist/test/data-source/collection-browser-data-source.test.js.map +0 -1
- package/dist/test/empty-placeholder.test.d.ts +0 -1
- package/dist/test/empty-placeholder.test.js +0 -63
- package/dist/test/empty-placeholder.test.js.map +0 -1
- package/dist/test/expanded-date-picker.test.d.ts +0 -1
- package/dist/test/expanded-date-picker.test.js +0 -130
- package/dist/test/expanded-date-picker.test.js.map +0 -1
- package/dist/test/icon-overlay.test.d.ts +0 -1
- package/dist/test/icon-overlay.test.js +0 -30
- package/dist/test/icon-overlay.test.js.map +0 -1
- package/dist/test/image-block.test.d.ts +0 -1
- package/dist/test/image-block.test.js +0 -218
- package/dist/test/image-block.test.js.map +0 -1
- package/dist/test/item-image.test.d.ts +0 -1
- package/dist/test/item-image.test.js +0 -196
- package/dist/test/item-image.test.js.map +0 -1
- package/dist/test/manage/manage-bar.test.d.ts +0 -2
- package/dist/test/manage/manage-bar.test.js +0 -106
- package/dist/test/manage/manage-bar.test.js.map +0 -1
- package/dist/test/manage/remove-items-modal-content.test.d.ts +0 -1
- package/dist/test/manage/remove-items-modal-content.test.js +0 -65
- package/dist/test/manage/remove-items-modal-content.test.js.map +0 -1
- package/dist/test/mediatype-config.test.d.ts +0 -1
- package/dist/test/mediatype-config.test.js +0 -11
- package/dist/test/mediatype-config.test.js.map +0 -1
- package/dist/test/mocks/mock-analytics-handler.d.ts +0 -10
- package/dist/test/mocks/mock-analytics-handler.js +0 -16
- package/dist/test/mocks/mock-analytics-handler.js.map +0 -1
- package/dist/test/mocks/mock-search-responses.d.ts +0 -31
- package/dist/test/mocks/mock-search-responses.js +0 -1241
- package/dist/test/mocks/mock-search-responses.js.map +0 -1
- package/dist/test/mocks/mock-search-service.d.ts +0 -16
- package/dist/test/mocks/mock-search-service.js +0 -65
- package/dist/test/mocks/mock-search-service.js.map +0 -1
- package/dist/test/restoration-state-handler.test.d.ts +0 -1
- package/dist/test/restoration-state-handler.test.js +0 -375
- package/dist/test/restoration-state-handler.test.js.map +0 -1
- package/dist/test/review-block.test.d.ts +0 -1
- package/dist/test/review-block.test.js +0 -48
- package/dist/test/review-block.test.js.map +0 -1
- package/dist/test/sort-filter-bar/alpha-bar-tooltip.test.d.ts +0 -1
- package/dist/test/sort-filter-bar/alpha-bar-tooltip.test.js +0 -13
- package/dist/test/sort-filter-bar/alpha-bar-tooltip.test.js.map +0 -1
- package/dist/test/sort-filter-bar/alpha-bar.test.d.ts +0 -1
- package/dist/test/sort-filter-bar/alpha-bar.test.js +0 -74
- package/dist/test/sort-filter-bar/alpha-bar.test.js.map +0 -1
- package/dist/test/sort-filter-bar/sort-filter-bar.test.d.ts +0 -1
- package/dist/test/sort-filter-bar/sort-filter-bar.test.js +0 -609
- package/dist/test/sort-filter-bar/sort-filter-bar.test.js.map +0 -1
- package/dist/test/text-overlay.test.d.ts +0 -1
- package/dist/test/text-overlay.test.js +0 -42
- package/dist/test/text-overlay.test.js.map +0 -1
- package/dist/test/text-snippet-block.test.d.ts +0 -1
- package/dist/test/text-snippet-block.test.js +0 -63
- package/dist/test/text-snippet-block.test.js.map +0 -1
- package/dist/test/tile-stats.test.d.ts +0 -1
- package/dist/test/tile-stats.test.js +0 -128
- package/dist/test/tile-stats.test.js.map +0 -1
- package/dist/test/tiles/grid/account-tile.test.d.ts +0 -1
- package/dist/test/tiles/grid/account-tile.test.js +0 -96
- package/dist/test/tiles/grid/account-tile.test.js.map +0 -1
- package/dist/test/tiles/grid/collection-tile.test.d.ts +0 -1
- package/dist/test/tiles/grid/collection-tile.test.js +0 -96
- package/dist/test/tiles/grid/collection-tile.test.js.map +0 -1
- package/dist/test/tiles/grid/item-tile.test.d.ts +0 -1
- package/dist/test/tiles/grid/item-tile.test.js +0 -427
- package/dist/test/tiles/grid/item-tile.test.js.map +0 -1
- package/dist/test/tiles/grid/search-tile.test.d.ts +0 -1
- package/dist/test/tiles/grid/search-tile.test.js +0 -66
- package/dist/test/tiles/grid/search-tile.test.js.map +0 -1
- package/dist/test/tiles/hover/hover-pane-controller.test.d.ts +0 -1
- package/dist/test/tiles/hover/hover-pane-controller.test.js +0 -282
- package/dist/test/tiles/hover/hover-pane-controller.test.js.map +0 -1
- package/dist/test/tiles/hover/tile-hover-pane.test.d.ts +0 -1
- package/dist/test/tiles/hover/tile-hover-pane.test.js +0 -57
- package/dist/test/tiles/hover/tile-hover-pane.test.js.map +0 -1
- package/dist/test/tiles/list/tile-list-compact.test.d.ts +0 -1
- package/dist/test/tiles/list/tile-list-compact.test.js +0 -251
- package/dist/test/tiles/list/tile-list-compact.test.js.map +0 -1
- package/dist/test/tiles/list/tile-list.test.d.ts +0 -1
- package/dist/test/tiles/list/tile-list.test.js +0 -469
- package/dist/test/tiles/list/tile-list.test.js.map +0 -1
- package/dist/test/tiles/tile-dispatcher.test.d.ts +0 -1
- package/dist/test/tiles/tile-dispatcher.test.js +0 -153
- package/dist/test/tiles/tile-dispatcher.test.js.map +0 -1
- package/dist/test/tiles/tile-display-value-provider.test.d.ts +0 -1
- package/dist/test/tiles/tile-display-value-provider.test.js +0 -142
- package/dist/test/tiles/tile-display-value-provider.test.js.map +0 -1
- package/dist/test/tiles/tile-mediatype-icon.test.d.ts +0 -1
- package/dist/test/tiles/tile-mediatype-icon.test.js +0 -145
- package/dist/test/tiles/tile-mediatype-icon.test.js.map +0 -1
- package/dist/test/utils/array-equals.test.d.ts +0 -1
- package/dist/test/utils/array-equals.test.js +0 -27
- package/dist/test/utils/array-equals.test.js.map +0 -1
- package/dist/test/utils/format-count.test.d.ts +0 -1
- package/dist/test/utils/format-count.test.js +0 -24
- package/dist/test/utils/format-count.test.js.map +0 -1
- package/dist/test/utils/format-date.test.d.ts +0 -1
- package/dist/test/utils/format-date.test.js +0 -61
- package/dist/test/utils/format-date.test.js.map +0 -1
- package/dist/test/utils/format-unit-size.test.d.ts +0 -1
- package/dist/test/utils/format-unit-size.test.js +0 -18
- package/dist/test/utils/format-unit-size.test.js.map +0 -1
- package/dist/test/utils/local-date-from-utc.test.d.ts +0 -1
- package/dist/test/utils/local-date-from-utc.test.js +0 -27
- package/dist/test/utils/local-date-from-utc.test.js.map +0 -1
|
@@ -1,684 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
2
|
-
import type { AnalyticsManagerInterface } from '@internetarchive/analytics-manager';
|
|
3
|
-
import type { InfiniteScrollerCellProviderInterface } from '@internetarchive/infinite-scroller';
|
|
4
|
-
import { CollectionExtraInfo, PageElementName, SearchServiceInterface, SearchType, SortDirection, SortParam } from '@internetarchive/search-service';
|
|
5
|
-
import type { SharedResizeObserverInterface, SharedResizeObserverResizeHandlerInterface } from '@internetarchive/shared-resize-observer';
|
|
6
|
-
import '@internetarchive/infinite-scroller';
|
|
7
|
-
import type { ModalManagerInterface } from '@internetarchive/modal-manager';
|
|
8
|
-
import type { FeatureFeedbackServiceInterface } from '@internetarchive/feature-feedback';
|
|
9
|
-
import type { RecaptchaManagerInterface } from '@internetarchive/recaptcha-manager';
|
|
10
|
-
import { SelectedFacets, SortField, CollectionBrowserContext, TileModel, CollectionDisplayMode, FacetEventDetails, FacetLoadStrategy, TvClipFilterType } from './models';
|
|
11
|
-
import { RestorationStateHandlerInterface } from './restoration-state-handler';
|
|
12
|
-
import type { CollectionBrowserQueryState, CollectionBrowserSearchInterface } from './data-source/collection-browser-query-state';
|
|
13
|
-
import type { CollectionBrowserDataSourceInterface } from './data-source/collection-browser-data-source-interface';
|
|
14
|
-
import './empty-placeholder';
|
|
15
|
-
import './tiles/tile-dispatcher';
|
|
16
|
-
import './tiles/collection-browser-loading-tile';
|
|
17
|
-
import './sort-filter-bar/sort-filter-bar';
|
|
18
|
-
import './manage/manage-bar';
|
|
19
|
-
import './collection-facets';
|
|
20
|
-
import './circular-activity-indicator';
|
|
21
|
-
import './collection-facets/smart-facets/smart-facet-bar';
|
|
22
|
-
export declare class CollectionBrowser extends LitElement implements InfiniteScrollerCellProviderInterface, SharedResizeObserverResizeHandlerInterface, CollectionBrowserSearchInterface {
|
|
23
|
-
baseNavigationUrl?: string;
|
|
24
|
-
baseImageUrl: string;
|
|
25
|
-
searchService?: SearchServiceInterface;
|
|
26
|
-
/**
|
|
27
|
-
* Which backend should be targeted by searches (e.g., metadata or FTS)
|
|
28
|
-
*/
|
|
29
|
-
searchType: SearchType;
|
|
30
|
-
/**
|
|
31
|
-
* The identifier of the collection that searches should be performed within
|
|
32
|
-
*/
|
|
33
|
-
withinCollection?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The identifier (e.g., @person) of the user whose profile is being searched within
|
|
36
|
-
*/
|
|
37
|
-
withinProfile?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Which section of the profile page searches are for (e.g., uploads, reviews, ...)
|
|
40
|
-
*/
|
|
41
|
-
profileElement?: PageElementName;
|
|
42
|
-
/**
|
|
43
|
-
* The base query to use for all searches, updated to match the current user query.
|
|
44
|
-
*/
|
|
45
|
-
baseQuery?: string;
|
|
46
|
-
/**
|
|
47
|
-
* The base list of identifiers to fetch, if using the client_document_fetch feature
|
|
48
|
-
* of the search service.
|
|
49
|
-
*
|
|
50
|
-
* This approach allows many more identifiers to be retrieved than a query like
|
|
51
|
-
* `identifier:(foo OR bar OR ...)` would, but still may be more limited in what
|
|
52
|
-
* content is returned by the backend
|
|
53
|
-
*/
|
|
54
|
-
identifiers?: string[];
|
|
55
|
-
/**
|
|
56
|
-
* Which mode to display result tiles in (grid, extended list, or compact list)
|
|
57
|
-
*/
|
|
58
|
-
displayMode?: CollectionDisplayMode;
|
|
59
|
-
selectedSort: SortField;
|
|
60
|
-
selectedTitleFilter: string | null;
|
|
61
|
-
selectedCreatorFilter: string | null;
|
|
62
|
-
tvClipFilter: TvClipFilterType;
|
|
63
|
-
sortDirection: SortDirection | null;
|
|
64
|
-
defaultSortField: Exclude<SortField, SortField.default>;
|
|
65
|
-
defaultSortDirection: SortDirection | null;
|
|
66
|
-
pageSize: number;
|
|
67
|
-
currentPage?: number;
|
|
68
|
-
minSelectedDate?: string;
|
|
69
|
-
maxSelectedDate?: string;
|
|
70
|
-
selectedFacets?: SelectedFacets;
|
|
71
|
-
/**
|
|
72
|
-
* Set of filters to be applied internally to searches, but not included in URL params or
|
|
73
|
-
* visibly selected facets. Use when this instance of collection browser is being shown
|
|
74
|
-
* in a filtered context, such as a single-mediatype tab, but the corresponding filters
|
|
75
|
-
* should not be exposed/changeable within that context.
|
|
76
|
-
*/
|
|
77
|
-
internalFilters?: SelectedFacets;
|
|
78
|
-
/**
|
|
79
|
-
* Whether to show smart facets (bubbles) along the top of the component
|
|
80
|
-
*/
|
|
81
|
-
showSmartFacetBar: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Sets the label that is shown in front of the smart facets, if present.
|
|
84
|
-
*/
|
|
85
|
-
smartFacetBarLabel?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Whether to show the date picker (above the facets)
|
|
88
|
-
*/
|
|
89
|
-
showHistogramDatePicker: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Whether placeholder views should be suppressed. If true, searches that produce an
|
|
92
|
-
* error or empty result set will simply show a blank results view instead of a placeholder.
|
|
93
|
-
*/
|
|
94
|
-
suppressPlaceholders: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Whether the result count text should be suppressed.
|
|
97
|
-
* If true, no "X Results" message will be shown.
|
|
98
|
-
*/
|
|
99
|
-
suppressResultCount: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Whether the scrolling result view should be suppressed entirely.
|
|
102
|
-
* If true, no infinite scroller (and thus no result tiles) will be rendered.
|
|
103
|
-
*/
|
|
104
|
-
suppressResultTiles: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Whether to suppress persistence of the query to the URL.
|
|
107
|
-
* If true, the `query` param will not be added to the URL or updated on query changes.
|
|
108
|
-
*/
|
|
109
|
-
suppressURLQuery: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Whether to suppress persistence of the `sin` search type param to the URL.
|
|
112
|
-
* If true, the `sin` param will not be added to the URL or updated on query changes.
|
|
113
|
-
*/
|
|
114
|
-
suppressURLSinParam: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Whether to suppress display of the sort bar.
|
|
117
|
-
* If true, the entire sort bar (incl. display modes) will be omitted from rendering.
|
|
118
|
-
*/
|
|
119
|
-
suppressSortBar: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Whether to suppress showing the display mode options in the sort bar.
|
|
122
|
-
* If true, those options will be omitted (though the rest of the sort bar may still render).
|
|
123
|
-
*/
|
|
124
|
-
suppressDisplayModes: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Whether to suppress the display of the `mediatype` facet group, e.g., because this instance
|
|
127
|
-
* of collection browser is being shown in a filtered single-mediatype context.
|
|
128
|
-
*/
|
|
129
|
-
suppressMediatypeFacets: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* What strategy to use for when/whether to load facet data for a search.
|
|
132
|
-
*
|
|
133
|
-
* Defaults to `eager`, always loading facets immediately alongside search results.
|
|
134
|
-
*
|
|
135
|
-
* To eliminate facets that are never seen, this can be reduced to `lazy-mobile`, which
|
|
136
|
-
* will delay loading facets in the mobile view until the "Filters" accordion is opened.
|
|
137
|
-
* Facets are still loaded eagerly when viewing the desktop layout.
|
|
138
|
-
*
|
|
139
|
-
* To further reduce facet requests for patrons who do not need to use them, this can be
|
|
140
|
-
* again reduced to `opt-in`, which will also require desktop users to explicitly request
|
|
141
|
-
* that they be loaded (in addition to the lazy mobile behavior described above).
|
|
142
|
-
*
|
|
143
|
-
* To entirely suppress facets from being loaded, this may be set to `off`.
|
|
144
|
-
*/
|
|
145
|
-
facetLoadStrategy: FacetLoadStrategy;
|
|
146
|
-
facetPaneVisible: boolean;
|
|
147
|
-
clearResultsOnEmptyQuery: boolean;
|
|
148
|
-
collectionPagePath: string;
|
|
149
|
-
/** describes where this component is being used */
|
|
150
|
-
searchContext: string;
|
|
151
|
-
pageContext: CollectionBrowserContext;
|
|
152
|
-
restorationStateHandler: RestorationStateHandlerInterface;
|
|
153
|
-
mobileBreakpoint: number;
|
|
154
|
-
loggedIn: boolean;
|
|
155
|
-
resizeObserver?: SharedResizeObserverInterface;
|
|
156
|
-
modalManager?: ModalManagerInterface;
|
|
157
|
-
featureFeedbackService?: FeatureFeedbackServiceInterface;
|
|
158
|
-
recaptchaManager?: RecaptchaManagerInterface;
|
|
159
|
-
/**
|
|
160
|
-
* Whether we are representing a TV collection, needing slightly different tile handling.
|
|
161
|
-
*/
|
|
162
|
-
isTVCollection: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* If item management UI active
|
|
165
|
-
*/
|
|
166
|
-
isManageView: boolean;
|
|
167
|
-
manageViewLabel: string;
|
|
168
|
-
/** Whether to replace the default sort options with a slot for customization (default: false) */
|
|
169
|
-
enableSortOptionsSlot: boolean;
|
|
170
|
-
/** Whether to expose a slot for a smart results carousel above the full results */
|
|
171
|
-
showSmartResults: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* The maximum number of pages we will load when a privileged user clicks
|
|
174
|
-
* the "Manage" button on the search page. Limited to 15 pages.
|
|
175
|
-
*/
|
|
176
|
-
maxPagesToManage: number;
|
|
177
|
-
/**
|
|
178
|
-
* The results per page so we can paginate.
|
|
179
|
-
*
|
|
180
|
-
* This allows us to start in the middle of the search results and
|
|
181
|
-
* fetch data before or after the current page. If we don't have a key
|
|
182
|
-
* for the previous/next page, we'll fetch the next/previous page to populate it
|
|
183
|
-
*/
|
|
184
|
-
dataSource: CollectionBrowserDataSourceInterface;
|
|
185
|
-
/**
|
|
186
|
-
* The page that the consumer wants to load.
|
|
187
|
-
*/
|
|
188
|
-
initialPageNumber: number;
|
|
189
|
-
/**
|
|
190
|
-
* This the the number of pages that we want to show.
|
|
191
|
-
*
|
|
192
|
-
* The data isn't necessarily loaded for all of the pages, but this lets us
|
|
193
|
-
* know how many cells we should render.
|
|
194
|
-
*/
|
|
195
|
-
private pagesToRender;
|
|
196
|
-
/**
|
|
197
|
-
* Whether the initial page fetch for a new query is currently in progress.
|
|
198
|
-
*/
|
|
199
|
-
private searchResultsLoading;
|
|
200
|
-
private facetsLoading;
|
|
201
|
-
private totalResults?;
|
|
202
|
-
private mobileView;
|
|
203
|
-
/**
|
|
204
|
-
* Any temporarily overridden `on`/`off` state for the user's tile blurring preference if they
|
|
205
|
-
* have chosen to override it, or `no-override` if they have not.
|
|
206
|
-
*/
|
|
207
|
-
private tileBlurOverrideState;
|
|
208
|
-
private collapsibleFacetsVisible;
|
|
209
|
-
private contentWidth?;
|
|
210
|
-
private placeholderType;
|
|
211
|
-
private contentContainer;
|
|
212
|
-
private leftColumn?;
|
|
213
|
-
private collectionFacets?;
|
|
214
|
-
private manageBar?;
|
|
215
|
-
private smartFacetBar?;
|
|
216
|
-
analyticsHandler?: AnalyticsManagerInterface;
|
|
217
|
-
/** Whether layout size analytics have been sent already. */
|
|
218
|
-
private layoutSizeAnalyticsSent;
|
|
219
|
-
/**
|
|
220
|
-
* When we're animated scrolling to the page, we don't want to fetch
|
|
221
|
-
* all of the pages as it scrolls so this lets us know if we're scrolling
|
|
222
|
-
*/
|
|
223
|
-
private isScrollingToCell;
|
|
224
|
-
/**
|
|
225
|
-
* When page width resizes from desktop to mobile, set true to
|
|
226
|
-
* disable expand/collapse transition when loading.
|
|
227
|
-
*/
|
|
228
|
-
private isResizeToMobile;
|
|
229
|
-
/**
|
|
230
|
-
* Flag indicating that a new data source is currently being installed.
|
|
231
|
-
* During the install, any URL persistence operation should replace the current entry
|
|
232
|
-
* instead of creating a new one.
|
|
233
|
-
*/
|
|
234
|
-
private dataSourceInstallInProgress;
|
|
235
|
-
private leftColIntersectionObserver?;
|
|
236
|
-
private facetsIntersectionObserver?;
|
|
237
|
-
private placeholderCellTemplate;
|
|
238
|
-
constructor();
|
|
239
|
-
private tileModelAtCellIndex;
|
|
240
|
-
private get estimatedTileCount();
|
|
241
|
-
private infiniteScroller?;
|
|
242
|
-
private sessionIdGenPromise?;
|
|
243
|
-
/**
|
|
244
|
-
* Returns a promise resolving to a unique string that persists for the current browser session.
|
|
245
|
-
* Used in generating unique IDs for search requests, so that multiple requests coming from the
|
|
246
|
-
* same browser session can be identified.
|
|
247
|
-
*/
|
|
248
|
-
getSessionId(): Promise<string>;
|
|
249
|
-
/**
|
|
250
|
-
* Go to the given page of results
|
|
251
|
-
*
|
|
252
|
-
* @param pageNumber
|
|
253
|
-
*/
|
|
254
|
-
goToPage(pageNumber: number): Promise<void>;
|
|
255
|
-
/**
|
|
256
|
-
* Sets the state for whether the initial set of search results is loading in.
|
|
257
|
-
*/
|
|
258
|
-
setSearchResultsLoading(loading: boolean): void;
|
|
259
|
-
/**
|
|
260
|
-
* Sets the state for whether facet data is loading in
|
|
261
|
-
*/
|
|
262
|
-
setFacetsLoading(loading: boolean): void;
|
|
263
|
-
/**
|
|
264
|
-
* Sets the total number of results to be displayed for the current search
|
|
265
|
-
*/
|
|
266
|
-
setTotalResultCount(totalResults: number): void;
|
|
267
|
-
/**
|
|
268
|
-
* Clears all selected/negated facets, date ranges, and letter filters.
|
|
269
|
-
*
|
|
270
|
-
* By default, the current sort field/direction are not cleared,
|
|
271
|
-
* but this can be overridden by setting the `sort` option to `true`.
|
|
272
|
-
*
|
|
273
|
-
* Similarly, it is possible to finely control what is cleared by
|
|
274
|
-
* setting any of the `facets`, `dateRange`, or `letterFilters` flags
|
|
275
|
-
* in the options object.
|
|
276
|
-
*/
|
|
277
|
-
clearFilters({ facets, dateRange, letterFilters, sort, }?: {
|
|
278
|
-
facets?: boolean | undefined;
|
|
279
|
-
dateRange?: boolean | undefined;
|
|
280
|
-
letterFilters?: boolean | undefined;
|
|
281
|
-
sort?: boolean | undefined;
|
|
282
|
-
}): void;
|
|
283
|
-
/**
|
|
284
|
-
* Returns true if the current value of `this.selectedFacets` contains
|
|
285
|
-
* any facet buckets than have been selected or negated, or false otherwise.
|
|
286
|
-
*/
|
|
287
|
-
private get hasCheckedFacets();
|
|
288
|
-
/**
|
|
289
|
-
* Returns true if there are any currently selected/negated facet buckets,
|
|
290
|
-
* any selected date range, or any selected letter filters. False otherwise.
|
|
291
|
-
*
|
|
292
|
-
* Ignores sorting options.
|
|
293
|
-
*/
|
|
294
|
-
private get hasActiveFilters();
|
|
295
|
-
willUpdate(): void;
|
|
296
|
-
render(): TemplateResult<1>;
|
|
297
|
-
/**
|
|
298
|
-
* Determines what type of placeholder content should be shown instead of result tiles, if applicable.
|
|
299
|
-
* The placeholders indicate states where we have no results to show, which could be the result of:
|
|
300
|
-
* - No query is set (on the search page)
|
|
301
|
-
* - No results were returned for the most recent search
|
|
302
|
-
* - The collection being searched within has no viewable items
|
|
303
|
-
* - An error occurred on the most recent search attempt
|
|
304
|
-
*/
|
|
305
|
-
private setPlaceholderType;
|
|
306
|
-
/**
|
|
307
|
-
* Template for the placeholder content to show when no results are available.
|
|
308
|
-
*/
|
|
309
|
-
private get emptyPlaceholderTemplate();
|
|
310
|
-
/**
|
|
311
|
-
* Top-level template for rendering the left (facets) and right (results) columns.
|
|
312
|
-
*/
|
|
313
|
-
private get collectionBrowserTemplate();
|
|
314
|
-
/**
|
|
315
|
-
* Template for either the mobile or desktop version of the left column, depending
|
|
316
|
-
* on current component state.
|
|
317
|
-
*/
|
|
318
|
-
private get leftColumnTemplate();
|
|
319
|
-
/**
|
|
320
|
-
* Template for the mobile version of the "left column" (which in this case, appears
|
|
321
|
-
* *above* the search results rather than beside them), for rendering the
|
|
322
|
-
* accordion-style facets.
|
|
323
|
-
*/
|
|
324
|
-
private get mobileLeftColumnTemplate();
|
|
325
|
-
/**
|
|
326
|
-
* Template for the desktop version of the left column, displaying the facets sidebar.
|
|
327
|
-
*/
|
|
328
|
-
private get desktopLeftColumnTemplate();
|
|
329
|
-
/**
|
|
330
|
-
* Slot which is placed at top of the facets area for user-profile page
|
|
331
|
-
* - mainly used to render userlists
|
|
332
|
-
*/
|
|
333
|
-
private get facetTopViewSlot();
|
|
334
|
-
/**
|
|
335
|
-
* Template for the "X Results" count at the top of the search results.
|
|
336
|
-
* Changes to the "Searching..." label if the search results are still loading.
|
|
337
|
-
*/
|
|
338
|
-
private get resultsCountTemplate();
|
|
339
|
-
/**
|
|
340
|
-
* Template for the right column of the collection browser, where the result
|
|
341
|
-
* tiles and sort/filter bar are shown.
|
|
342
|
-
*/
|
|
343
|
-
private get rightColumnTemplate();
|
|
344
|
-
/**
|
|
345
|
-
* Template for the infinite scroller widget that contains the result tiles.
|
|
346
|
-
*/
|
|
347
|
-
private get infiniteScrollerTemplate();
|
|
348
|
-
/**
|
|
349
|
-
* Produces a `classMap` indicating which classes the infinite scroller should have
|
|
350
|
-
* given the current display mode & placeholder case.
|
|
351
|
-
*/
|
|
352
|
-
private get infiniteScrollerClasses();
|
|
353
|
-
/**
|
|
354
|
-
* Template for the sort & filtering bar that appears atop the search results.
|
|
355
|
-
*/
|
|
356
|
-
private get sortFilterBarTemplate();
|
|
357
|
-
/**
|
|
358
|
-
* Template for the Blurring toggle for admins to enable/disable blurring of
|
|
359
|
-
* sensitive content in result tiles.
|
|
360
|
-
*/
|
|
361
|
-
private get tileBlurCheckboxTemplate();
|
|
362
|
-
/**
|
|
363
|
-
* Message to show in the manage view modal, depending on context.
|
|
364
|
-
*/
|
|
365
|
-
private get manageViewModalMsg();
|
|
366
|
-
/**
|
|
367
|
-
* Template for the manage bar UI that appears atop the search results when we are
|
|
368
|
-
* showing the management view. This generally replaces the sort bar when present.
|
|
369
|
-
*/
|
|
370
|
-
private get manageBarTemplate();
|
|
371
|
-
/**
|
|
372
|
-
* Handler for when the user requests to remove all checked items via the manage bar.
|
|
373
|
-
* Emits an `itemRemovalRequested` event with all checked tile models.
|
|
374
|
-
*/
|
|
375
|
-
private handleRemoveItems;
|
|
376
|
-
/**
|
|
377
|
-
* Handler when user request to bulk edit from /search/ page
|
|
378
|
-
*/
|
|
379
|
-
private handleManageItems;
|
|
380
|
-
refreshSmartFacets(): void;
|
|
381
|
-
/**
|
|
382
|
-
* Handler to show processing modal while removing item
|
|
383
|
-
*/
|
|
384
|
-
showRemoveItemsProcessingModal(): void;
|
|
385
|
-
/**
|
|
386
|
-
* Handler to show error modal when item removal failed
|
|
387
|
-
*/
|
|
388
|
-
showRemoveItemsErrorModal(): void;
|
|
389
|
-
/**
|
|
390
|
-
* Removes all tile models that are currently checked & adjusts the paging
|
|
391
|
-
* of the data source to account for any new gaps in the data.
|
|
392
|
-
*/
|
|
393
|
-
removeCheckedTiles(): void;
|
|
394
|
-
/**
|
|
395
|
-
* Handler for when the tile blurring checkbox state is toggled
|
|
396
|
-
*/
|
|
397
|
-
private tileBlurCheckboxChanged;
|
|
398
|
-
/**
|
|
399
|
-
* Whether result tiles should have the default blurring of sensitive content suppressed.
|
|
400
|
-
* First considers any override specified by the user, falling back to the setting in
|
|
401
|
-
* user preferences if not overridden.
|
|
402
|
-
*/
|
|
403
|
-
private get shouldSuppressTileBlurring();
|
|
404
|
-
/**
|
|
405
|
-
* Handler for when the user changes the selected sort option or direction.
|
|
406
|
-
*/
|
|
407
|
-
private userChangedSort;
|
|
408
|
-
/**
|
|
409
|
-
* Fires an analytics event for sorting changes.
|
|
410
|
-
* @param prevSortDirection Which sort direction was previously set.
|
|
411
|
-
*/
|
|
412
|
-
private sendSortByAnalytics;
|
|
413
|
-
/**
|
|
414
|
-
* Handler for when the selected sort option is updated, whether by the user
|
|
415
|
-
* themselves or programmatically.
|
|
416
|
-
*/
|
|
417
|
-
private selectedSortChanged;
|
|
418
|
-
/**
|
|
419
|
-
* An object representing the current sort field & direction.
|
|
420
|
-
*/
|
|
421
|
-
get sortParam(): SortParam | null;
|
|
422
|
-
/**
|
|
423
|
-
* An object representing the default sort field & direction, if none are explicitly set.
|
|
424
|
-
*/
|
|
425
|
-
get defaultSortParam(): SortParam | null;
|
|
426
|
-
/**
|
|
427
|
-
* Handler for when the display mode option is changed (grid/list/compact-list views).
|
|
428
|
-
*/
|
|
429
|
-
private displayModeChanged;
|
|
430
|
-
/**
|
|
431
|
-
* Returns a query clause identifying the currently selected title filter,
|
|
432
|
-
* e.g., `firstTitle:X`.
|
|
433
|
-
*/
|
|
434
|
-
private get titleQuery();
|
|
435
|
-
/**
|
|
436
|
-
* Returns a query clause identifying the currently selected creator filter,
|
|
437
|
-
* e.g., `firstCreator:X`.
|
|
438
|
-
*/
|
|
439
|
-
private get creatorQuery();
|
|
440
|
-
/**
|
|
441
|
-
* Send Analytics when sorting by title's first letter
|
|
442
|
-
* labels: 'start-<ToLetter>' | 'clear-<FromLetter>' | '<FromLetter>-<ToLetter>'
|
|
443
|
-
*/
|
|
444
|
-
private sendFilterByTitleAnalytics;
|
|
445
|
-
/**
|
|
446
|
-
* Send Analytics when filtering by creator's first letter
|
|
447
|
-
* labels: 'start-<ToLetter>' | 'clear-<FromLetter>' | '<FromLetter>-<ToLetter>'
|
|
448
|
-
*/
|
|
449
|
-
private sendFilterByCreatorAnalytics;
|
|
450
|
-
/**
|
|
451
|
-
* Handler for changes to which letter is selected in the title alphabet bar.
|
|
452
|
-
*/
|
|
453
|
-
private titleLetterSelected;
|
|
454
|
-
/**
|
|
455
|
-
* Handler for changes to which letter is selected in the creator alphabet bar.
|
|
456
|
-
*/
|
|
457
|
-
private creatorLetterSelected;
|
|
458
|
-
/**
|
|
459
|
-
* The full template for how the facets should be structured in mobile view,
|
|
460
|
-
* including the collapsible container (with header) and the facets themselves.
|
|
461
|
-
*/
|
|
462
|
-
private get mobileFacetsTemplate();
|
|
463
|
-
/**
|
|
464
|
-
* The template for the facets component alone, without any surrounding wrappers.
|
|
465
|
-
*/
|
|
466
|
-
private get facetsTemplate();
|
|
467
|
-
/**
|
|
468
|
-
* The HTML template for the "Clear all filters" button, or `nothing` if no
|
|
469
|
-
* filters are currently active.
|
|
470
|
-
*
|
|
471
|
-
* @param mobile Whether to style/shorten the button for mobile view
|
|
472
|
-
*/
|
|
473
|
-
private clearFiltersBtnTemplate;
|
|
474
|
-
/**
|
|
475
|
-
* Template for the table header content that appears atop the compact list view.
|
|
476
|
-
*/
|
|
477
|
-
private get listHeaderTemplate();
|
|
478
|
-
/**
|
|
479
|
-
* Handler for when the date picker's date range is changed.
|
|
480
|
-
*/
|
|
481
|
-
private histogramDateRangeUpdated;
|
|
482
|
-
/**
|
|
483
|
-
* The Lucene query corresponding to the current date range.
|
|
484
|
-
*/
|
|
485
|
-
private get dateRangeQueryClause();
|
|
486
|
-
/**
|
|
487
|
-
* Emits an event indicating a change in whether the manage mode is shown.
|
|
488
|
-
*/
|
|
489
|
-
private emitManageModeChangedEvent;
|
|
490
|
-
/**
|
|
491
|
-
* Installs a new data source component and associated query state parameters into
|
|
492
|
-
* this component, causing it to efficiently update its views to represent the
|
|
493
|
-
* newly-provided data. In this way, one can reuse a single instance of
|
|
494
|
-
* <collection-browser> to handle multiple different sets of search results on
|
|
495
|
-
* a single page, each set of results being loaded & updated by its own data
|
|
496
|
-
* source.
|
|
497
|
-
*
|
|
498
|
-
* @param dataSource The data source component containing (or prepared to fetch)
|
|
499
|
-
* the tile data to be displayed.
|
|
500
|
-
* @param queryState The new query-related state that this component should
|
|
501
|
-
* represent, such as the search query, sort option, and any filters applied.
|
|
502
|
-
*/
|
|
503
|
-
installDataSourceAndQueryState(dataSource: CollectionBrowserDataSourceInterface, queryState: CollectionBrowserQueryState): Promise<void>;
|
|
504
|
-
firstUpdated(): void;
|
|
505
|
-
/**
|
|
506
|
-
* Determines the initial size of the content container and whether or not
|
|
507
|
-
* the mobile layout should be used.
|
|
508
|
-
*/
|
|
509
|
-
setInitialSize(): void;
|
|
510
|
-
/**
|
|
511
|
-
* Fires an analytics event indicating which type of layout was rendered:
|
|
512
|
-
* mobile or desktop.
|
|
513
|
-
*/
|
|
514
|
-
private sendLayoutSizeAnalytics;
|
|
515
|
-
updated(changed: PropertyValues): void;
|
|
516
|
-
connectedCallback(): void;
|
|
517
|
-
disconnectedCallback(): void;
|
|
518
|
-
handleResize(entry: ResizeObserverEntry): void;
|
|
519
|
-
/**
|
|
520
|
-
* Ensures that if we have new results from the data source that are not yet
|
|
521
|
-
* displayed in the infinite scroller, that they are immediately reflected
|
|
522
|
-
* in the tile count.
|
|
523
|
-
*/
|
|
524
|
-
private ensureAvailableTilesDisplayed;
|
|
525
|
-
/**
|
|
526
|
-
* Updates the data source with the current state of facet readiness for loading,
|
|
527
|
-
* so that they will begin to load in at the appropriate time according to the
|
|
528
|
-
* current facet loading strategy.
|
|
529
|
-
*/
|
|
530
|
-
private updateFacetReadiness;
|
|
531
|
-
/**
|
|
532
|
-
* Sets up listeners for events that may require updating the left column height.
|
|
533
|
-
*/
|
|
534
|
-
private setupLeftColumnScrollListeners;
|
|
535
|
-
/**
|
|
536
|
-
* Sets up listeners to control whether the facet sidebar shows its bottom fade-out.
|
|
537
|
-
* Note this uses a separate IntersectionObserver from the left column, because we
|
|
538
|
-
* don't need granular intersection thresholds for this.
|
|
539
|
-
*/
|
|
540
|
-
private setupFacetsScrollListeners;
|
|
541
|
-
/**
|
|
542
|
-
* Updates the height of the left column according to its position on the page.
|
|
543
|
-
* Arrow function ensures proper `this` binding.
|
|
544
|
-
*/
|
|
545
|
-
private updateLeftColumnHeight;
|
|
546
|
-
/**
|
|
547
|
-
* Toggles whether the fade-out is visible at the bottom of the facets.
|
|
548
|
-
* It should only be visible if the facets are not scrolled to the bottom.
|
|
549
|
-
* Arrow function ensures proper `this` binding.
|
|
550
|
-
*/
|
|
551
|
-
private updateFacetFadeOut;
|
|
552
|
-
/**
|
|
553
|
-
* Emits a `baseQueryChanged` event indicating an update to the search query.
|
|
554
|
-
*/
|
|
555
|
-
private emitBaseQueryChanged;
|
|
556
|
-
/**
|
|
557
|
-
* Emits a `searchTypeChanged` event indicating an update to the search type
|
|
558
|
-
* (e.g., metadata vs. full-text).
|
|
559
|
-
*/
|
|
560
|
-
private emitSearchTypeChanged;
|
|
561
|
-
/**
|
|
562
|
-
* Emits a `facetPaneVisibilityChanged` event indicating that the facet pane has
|
|
563
|
-
* been toggled open or closed.
|
|
564
|
-
*/
|
|
565
|
-
private emitFacetPaneVisibilityChanged;
|
|
566
|
-
/**
|
|
567
|
-
* Emits a `searchError` event indicating that the most recent search has encountered
|
|
568
|
-
* an error from the backend.
|
|
569
|
-
*/
|
|
570
|
-
emitSearchError(): void;
|
|
571
|
-
/**
|
|
572
|
-
* Emits a `queryStateChanged` event indicating that one or more of this component's
|
|
573
|
-
* properties have changed in a way that could affect the set of search results.
|
|
574
|
-
*/
|
|
575
|
-
emitQueryStateChanged(): void;
|
|
576
|
-
/**
|
|
577
|
-
* Emits an `emptyResults` event indicating that we have received an empty result set
|
|
578
|
-
* for the most recent query.
|
|
579
|
-
*/
|
|
580
|
-
emitEmptyResults(): void;
|
|
581
|
-
private disconnectResizeObserver;
|
|
582
|
-
private setupResizeObserver;
|
|
583
|
-
/**
|
|
584
|
-
* When the visible cells change from the infinite scroller, we want to emit
|
|
585
|
-
* which page is currently visible so the consumer can update its UI or the URL
|
|
586
|
-
*
|
|
587
|
-
* @param e
|
|
588
|
-
* @returns
|
|
589
|
-
*/
|
|
590
|
-
private visibleCellsChanged;
|
|
591
|
-
private initialQueryChangeHappened;
|
|
592
|
-
private historyPopOccurred;
|
|
593
|
-
private previousQueryKey?;
|
|
594
|
-
/**
|
|
595
|
-
* A Promise which, after each query change, resolves once the fetches for the initial
|
|
596
|
-
* search have completed. Waits for *both* the hits and aggregations fetches to finish.
|
|
597
|
-
*
|
|
598
|
-
* Ensure you await this component's `updateComplete` promise before awaiting this
|
|
599
|
-
* one, to ensure you do not await an obsolete promise from the previous update.
|
|
600
|
-
*/
|
|
601
|
-
get initialSearchComplete(): Promise<boolean>;
|
|
602
|
-
/**
|
|
603
|
-
* Handler for whenever the component's properties change in a way that may require
|
|
604
|
-
* fetching new results.
|
|
605
|
-
*/
|
|
606
|
-
private handleQueryChange;
|
|
607
|
-
private setupStateRestorationObserver;
|
|
608
|
-
private boundNavigationHandler?;
|
|
609
|
-
private historyNavigationHandler;
|
|
610
|
-
private restoreState;
|
|
611
|
-
private persistState;
|
|
612
|
-
/**
|
|
613
|
-
* Emits a `searchResultsLoadingChanged` event indicating that our loading state has
|
|
614
|
-
* changed (either we have started loading new results, or we have finished loading them).
|
|
615
|
-
*/
|
|
616
|
-
private emitSearchResultsLoadingChanged;
|
|
617
|
-
/**
|
|
618
|
-
* Handler for when the set of selected facets changes.
|
|
619
|
-
*/
|
|
620
|
-
facetsChanged(e: CustomEvent<SelectedFacets>): void;
|
|
621
|
-
/**
|
|
622
|
-
* Handler for when any facet is selected/unselected/hidden/unhidden.
|
|
623
|
-
* Fires analytics indicating the type of facet event that took place.
|
|
624
|
-
*/
|
|
625
|
-
facetClickHandler({ detail: { facetType, bucket, negative }, }: CustomEvent<FacetEventDetails>): void;
|
|
626
|
-
private scrollToPage;
|
|
627
|
-
/**
|
|
628
|
-
* Whether sorting by relevance makes sense for the current state.
|
|
629
|
-
* Currently equivalent to having a non-empty query.
|
|
630
|
-
*/
|
|
631
|
-
private get isRelevanceSortAvailable();
|
|
632
|
-
/**
|
|
633
|
-
* Sets the total number of tiles displayed in the infinite scroller.
|
|
634
|
-
*/
|
|
635
|
-
setTileCount(count: number): void;
|
|
636
|
-
/**
|
|
637
|
-
* Applies any default sort option for the current collection, by checking
|
|
638
|
-
* for one in the collection's metadata. If none is found, defaults to sorting
|
|
639
|
-
* descending by:
|
|
640
|
-
* - Date Favorited for fav-* collections
|
|
641
|
-
* - Weekly views for all other collections
|
|
642
|
-
*/
|
|
643
|
-
applyDefaultCollectionSort(collectionInfo?: CollectionExtraInfo): void;
|
|
644
|
-
/**
|
|
645
|
-
* Applies the default sort option for the current profile element
|
|
646
|
-
*/
|
|
647
|
-
applyDefaultProfileSort(): void;
|
|
648
|
-
/**
|
|
649
|
-
* This is useful for determining whether we need to reload the scroller.
|
|
650
|
-
*
|
|
651
|
-
* When the fetch completes, we need to reload the scroller if the cells for that
|
|
652
|
-
* page are visible, but if the page is not currenlty visible, we don't need to reload
|
|
653
|
-
*/
|
|
654
|
-
get currentVisiblePageNumbers(): number[];
|
|
655
|
-
/**
|
|
656
|
-
* Whether we are currently displaying results for a radio collection
|
|
657
|
-
*/
|
|
658
|
-
private get isRadioCollection();
|
|
659
|
-
/**
|
|
660
|
-
* Refreshes all visible result cells in the infinite scroller.
|
|
661
|
-
*/
|
|
662
|
-
refreshVisibleResults(): void;
|
|
663
|
-
/**
|
|
664
|
-
* Callback when a result is selected
|
|
665
|
-
*/
|
|
666
|
-
resultSelected(event: CustomEvent<TileModel>): void;
|
|
667
|
-
cellForIndex(index: number): TemplateResult | undefined;
|
|
668
|
-
/**
|
|
669
|
-
* When the user scrolls near to the bottom of the page, fetch the next page
|
|
670
|
-
* increase the number of pages to render and start fetching data for the new page
|
|
671
|
-
*/
|
|
672
|
-
private scrollThresholdReached;
|
|
673
|
-
/**
|
|
674
|
-
* Fetches search results for privileged users when in manage view.
|
|
675
|
-
*
|
|
676
|
-
* This method:
|
|
677
|
-
* 1. Checks if we're in search context and either haven't loaded results yet, or have already finished loading with > 100 total results
|
|
678
|
-
* 2. Resets the datasource pagination state
|
|
679
|
-
* 3. Fetches first page with limit based on maxPagesToManage threshold
|
|
680
|
-
* 4. Reloads the infinite scroller to display new results
|
|
681
|
-
*/
|
|
682
|
-
private fetchManageableSearchResults;
|
|
683
|
-
static get styles(): import("lit").CSSResult[];
|
|
684
|
-
}
|