blacklight 7.40.0 → 8.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env +2 -3
- data/.github/workflows/ruby.yml +36 -114
- data/.rubocop.yml +243 -14
- data/.rubocop_todo.yml +137 -429
- data/Gemfile +11 -6
- data/README.md +11 -3
- data/VERSION +1 -1
- data/app/assets/javascripts/blacklight/blacklight.esm.js +384 -0
- data/app/assets/javascripts/blacklight/blacklight.esm.js.map +1 -0
- data/app/assets/javascripts/blacklight/blacklight.js +374 -493
- data/app/assets/javascripts/blacklight/blacklight.js.map +1 -0
- data/app/assets/stylesheets/blacklight/_autocomplete.scss +25 -0
- data/app/assets/stylesheets/blacklight/_blacklight_base.scss +1 -1
- data/app/assets/stylesheets/blacklight/_bookmark.scss +16 -0
- data/app/assets/stylesheets/blacklight/_bootstrap_overrides.scss +8 -0
- data/app/assets/stylesheets/blacklight/_constraints.scss +4 -4
- data/app/assets/stylesheets/blacklight/_facets.scss +72 -44
- data/app/assets/stylesheets/blacklight/_header.scss +0 -15
- data/app/assets/stylesheets/blacklight/_icons.scss +0 -14
- data/app/assets/stylesheets/blacklight/_mixins.scss +20 -0
- data/app/assets/stylesheets/blacklight/_modal.scss +8 -2
- data/app/assets/stylesheets/blacklight/_search_form.scss +30 -3
- data/app/assets/stylesheets/blacklight/_search_history.scss +10 -1
- data/app/assets/stylesheets/blacklight/_search_results.scss +6 -2
- data/app/assets/stylesheets/blacklight/blacklight_defaults.scss +4 -1
- data/app/builders/blacklight/action_builder.rb +18 -9
- data/app/components/blacklight/advanced_search_form_component.html.erb +3 -3
- data/app/components/blacklight/advanced_search_form_component.rb +8 -10
- data/app/components/blacklight/constraints_component.rb +27 -37
- data/app/components/blacklight/document/action_component.rb +9 -9
- data/app/components/blacklight/document/actions_component.rb +2 -2
- data/app/components/blacklight/document/bookmark_component.html.erb +9 -0
- data/app/components/blacklight/document/bookmark_component.rb +4 -2
- data/app/components/blacklight/document/citation_component.rb +5 -3
- data/app/components/blacklight/document/group_component.rb +7 -3
- data/app/components/blacklight/document/sidebar_component.html.erb +2 -0
- data/app/components/blacklight/document/sidebar_component.rb +16 -0
- data/app/components/blacklight/document/thumbnail_component.html.erb +2 -7
- data/app/components/blacklight/document/thumbnail_component.rb +1 -9
- data/app/components/blacklight/document_component.html.erb +1 -1
- data/app/components/blacklight/document_component.rb +16 -78
- data/app/components/blacklight/document_metadata_component.html.erb +2 -4
- data/app/components/blacklight/document_metadata_component.rb +5 -10
- data/app/components/blacklight/facet_component.rb +3 -3
- data/app/components/blacklight/facet_field_checkboxes_component.html.erb +4 -4
- data/app/components/blacklight/facet_field_checkboxes_component.rb +1 -1
- data/app/components/blacklight/facet_field_component.html.erb +4 -5
- data/app/components/blacklight/facet_field_component.rb +9 -2
- data/app/components/blacklight/facet_field_list_component.html.erb +3 -3
- data/app/components/blacklight/facet_field_list_component.rb +37 -5
- data/app/components/blacklight/facet_field_no_layout_component.rb +0 -2
- data/app/components/blacklight/facet_item_component.rb +1 -43
- data/app/components/blacklight/facet_item_pivot_component.rb +21 -23
- data/app/components/blacklight/header_component.rb +1 -1
- data/app/components/blacklight/hidden_search_state_component.rb +1 -2
- data/app/components/blacklight/icons/icon_component.rb +4 -9
- data/app/components/blacklight/icons/legacy_icon_component.rb +30 -0
- data/app/components/blacklight/icons/list_component.rb +16 -0
- data/app/components/blacklight/icons/search_component.rb +16 -0
- data/app/components/blacklight/metadata_field_component.html.erb +2 -2
- data/app/components/blacklight/metadata_field_component.rb +24 -8
- data/app/components/blacklight/metadata_field_layout_component.rb +4 -25
- data/app/components/blacklight/response/facet_group_component.html.erb +3 -5
- data/app/components/blacklight/response/facet_group_component.rb +29 -8
- data/app/components/blacklight/response/pagination_component.html.erb +1 -1
- data/app/components/blacklight/response/pagination_component.rb +2 -11
- data/app/components/blacklight/response/sort_component.html.erb +6 -1
- data/app/components/blacklight/response/sort_component.rb +1 -16
- data/app/components/blacklight/response/spellcheck_component.rb +18 -7
- data/app/components/blacklight/response/view_type_button_component.rb +3 -7
- data/app/components/blacklight/response/view_type_component.rb +4 -6
- data/app/components/blacklight/search/sidebar_component.html.erb +8 -0
- data/app/components/blacklight/search/sidebar_component.rb +17 -0
- data/app/components/blacklight/search_bar_component.html.erb +20 -15
- data/app/components/blacklight/search_bar_component.rb +2 -16
- data/app/components/blacklight/search_button_component.rb +3 -3
- data/app/components/blacklight/search_context_component.rb +43 -9
- data/app/components/blacklight/search_header_component.html.erb +2 -0
- data/app/components/blacklight/search_header_component.rb +6 -0
- data/app/components/blacklight/start_over_button_component.rb +5 -3
- data/app/components/blacklight/system/dropdown_component.rb +8 -5
- data/app/components/blacklight/system/flash_message_component.html.erb +4 -2
- data/app/components/blacklight/system/flash_message_component.rb +12 -3
- data/app/components/blacklight/system/modal_component.html.erb +1 -1
- data/app/components/blacklight/system/modal_component.rb +1 -3
- data/app/components/blacklight/top_navbar_component.html.erb +1 -1
- data/app/components/blacklight/top_navbar_component.rb +0 -4
- data/app/controllers/bookmarks_controller.rb +1 -0
- data/app/controllers/catalog_controller.rb +1 -0
- data/app/controllers/concerns/blacklight/bookmarks.rb +10 -9
- data/app/controllers/concerns/blacklight/catalog.rb +21 -83
- data/app/controllers/concerns/blacklight/controller.rb +3 -41
- data/app/controllers/concerns/blacklight/search_context.rb +25 -7
- data/app/controllers/concerns/blacklight/search_history.rb +2 -0
- data/app/controllers/concerns/blacklight/searchable.rb +12 -1
- data/app/controllers/concerns/blacklight/token_based_user.rb +13 -1
- data/app/controllers/search_history_controller.rb +1 -0
- data/app/helpers/blacklight/blacklight_helper_behavior.rb +12 -310
- data/app/helpers/blacklight/catalog_helper_behavior.rb +22 -139
- data/app/helpers/blacklight/component_helper_behavior.rb +2 -53
- data/app/helpers/blacklight/configuration_helper_behavior.rb +2 -119
- data/app/helpers/blacklight/facets_helper_behavior.rb +4 -321
- data/app/helpers/blacklight/icon_helper_behavior.rb +5 -7
- data/app/helpers/blacklight/layout_helper_behavior.rb +4 -3
- data/app/helpers/blacklight/render_partials_helper_behavior.rb +11 -31
- data/app/helpers/blacklight/url_helper_behavior.rb +12 -97
- data/app/helpers/blacklight_helper.rb +1 -0
- data/app/helpers/catalog_helper.rb +1 -0
- data/app/javascript/blacklight/bookmark_toggle.js +13 -19
- data/app/javascript/blacklight/button_focus.js +12 -10
- data/app/javascript/blacklight/checkbox_submit.js +68 -123
- data/app/javascript/blacklight/core.js +5 -7
- data/app/javascript/blacklight/index.js +13 -0
- data/app/javascript/blacklight/modal.js +99 -164
- data/app/javascript/blacklight/modalForm.js +60 -0
- data/app/javascript/blacklight/search_context.js +46 -54
- data/app/models/blacklight/facet_paginator.rb +3 -2
- data/app/models/blacklight/icon.rb +4 -2
- data/app/models/bookmark.rb +0 -2
- data/app/models/concerns/blacklight/configurable.rb +5 -4
- data/app/models/concerns/blacklight/document/active_model_shim.rb +1 -10
- data/app/models/concerns/blacklight/document/cache_key.rb +1 -0
- data/app/models/concerns/blacklight/document/dublin_core.rb +2 -1
- data/app/models/concerns/blacklight/document/email.rb +1 -0
- data/app/models/concerns/blacklight/document/export.rb +2 -1
- data/app/models/concerns/blacklight/document/extensions.rb +1 -0
- data/app/models/concerns/blacklight/document/schema_org.rb +1 -0
- data/app/models/concerns/blacklight/document/semantic_fields.rb +2 -1
- data/app/models/concerns/blacklight/document/sms.rb +1 -0
- data/app/models/concerns/blacklight/suggest/response.rb +1 -0
- data/app/models/concerns/blacklight/user.rb +17 -8
- data/app/models/record_mailer.rb +13 -12
- data/app/models/search.rb +1 -7
- data/app/models/solr_document.rb +1 -0
- data/app/presenters/blacklight/clause_presenter.rb +1 -1
- data/app/presenters/blacklight/document_presenter.rb +23 -50
- data/app/presenters/blacklight/facet_field_presenter.rb +39 -14
- data/app/presenters/blacklight/facet_grouped_item_presenter.rb +1 -5
- data/app/presenters/blacklight/facet_item_pivot_presenter.rb +60 -0
- data/app/presenters/blacklight/facet_item_presenter.rb +3 -9
- data/app/presenters/blacklight/field_presenter.rb +1 -0
- data/app/presenters/blacklight/index_presenter.rb +2 -40
- data/app/presenters/blacklight/json_presenter.rb +7 -5
- data/app/presenters/blacklight/rendering/link_to_facet.rb +2 -5
- data/app/presenters/blacklight/show_presenter.rb +1 -9
- data/app/presenters/blacklight/thumbnail_presenter.rb +1 -1
- data/app/services/blacklight/bookmarks_search_builder.rb +22 -0
- data/app/services/blacklight/field_retriever.rb +12 -21
- data/app/services/blacklight/search_service.rb +10 -17
- data/app/values/blacklight/types.rb +0 -18
- data/app/views/bookmarks/_clear_bookmarks_widget.html.erb +8 -1
- data/app/views/bookmarks/_tools.html.erb +7 -12
- data/app/views/catalog/_advanced_search_form.html.erb +0 -1
- data/app/views/catalog/_bookmark_control.html.erb +1 -1
- data/app/views/catalog/_citation.html.erb +1 -1
- data/app/views/catalog/_constraints.html.erb +1 -14
- data/app/views/catalog/_document.atom.builder +12 -14
- data/app/views/catalog/_document.html.erb +5 -3
- data/app/views/catalog/_document.rss.builder +2 -4
- data/app/views/catalog/_facet_layout.html.erb +2 -2
- data/app/views/catalog/_facets.html.erb +5 -4
- data/app/views/catalog/_home_text.html.erb +2 -14
- data/app/views/catalog/_per_page_widget.html.erb +10 -1
- data/app/views/catalog/_search_form.html.erb +2 -2
- data/app/views/catalog/_search_header.html.erb +1 -2
- data/app/views/catalog/_search_results.html.erb +2 -2
- data/app/views/catalog/_search_sidebar.html.erb +5 -1
- data/app/views/catalog/_show_main_content.html.erb +11 -16
- data/app/views/catalog/_show_sidebar.html.erb +2 -2
- data/app/views/catalog/_show_tools.html.erb +8 -14
- data/app/views/catalog/_view_type_group.html.erb +1 -1
- data/app/views/catalog/email.html.erb +2 -2
- data/app/views/catalog/email_success.html.erb +5 -6
- data/app/views/catalog/facet.html.erb +7 -5
- data/app/views/catalog/index.atom.builder +12 -14
- data/app/views/catalog/index.html.erb +4 -1
- data/app/views/catalog/index.json.jbuilder +19 -19
- data/app/views/catalog/index.rss.builder +1 -1
- data/app/views/catalog/opensearch.xml.builder +1 -1
- data/app/views/catalog/sms.html.erb +2 -2
- data/app/views/catalog/sms_success.html.erb +5 -6
- data/app/views/catalog/suggest.html.erb +3 -0
- data/app/views/kaminari/blacklight/_page.html.erb +2 -1
- data/app/views/layouts/blacklight/base.html.erb +13 -2
- data/app/views/search_history/index.html.erb +6 -2
- data/app/views/shared/_flash_messages.html.erb +1 -1
- data/app/views/shared/_modal.html.erb +3 -3
- data/blacklight.gemspec +7 -11
- data/config/importmap.rb +3 -0
- data/config/locales/blacklight.ar.yml +0 -1
- data/config/locales/blacklight.ca.yml +0 -1
- data/config/locales/blacklight.de.yml +0 -1
- data/config/locales/blacklight.en.yml +0 -2
- data/config/locales/blacklight.es.yml +0 -1
- data/config/locales/blacklight.fr.yml +0 -1
- data/config/locales/blacklight.hu.yml +0 -1
- data/config/locales/blacklight.it.yml +0 -1
- data/config/locales/blacklight.nl.yml +0 -1
- data/config/locales/blacklight.pt-BR.yml +0 -1
- data/config/locales/blacklight.sq.yml +0 -1
- data/config/locales/blacklight.zh.yml +0 -1
- data/config/routes.rb +3 -2
- data/db/migrate/20140202020201_create_searches.rb +1 -0
- data/db/migrate/20140202020202_create_bookmarks.rb +1 -0
- data/db/migrate/20140320000000_add_polymorphic_type_to_bookmarks.rb +1 -0
- data/docker-compose.yml +3 -2
- data/lib/blacklight/abstract_repository.rb +1 -6
- data/lib/blacklight/component.rb +47 -10
- data/lib/blacklight/configuration/context.rb +4 -4
- data/lib/blacklight/configuration/display_field.rb +7 -9
- data/lib/blacklight/configuration/facet_field.rb +17 -11
- data/lib/blacklight/configuration/field.rb +1 -0
- data/lib/blacklight/configuration/fields.rb +12 -15
- data/lib/blacklight/configuration/index_field.rb +1 -0
- data/lib/blacklight/configuration/null_display_field.rb +17 -0
- data/lib/blacklight/configuration/search_field.rb +1 -0
- data/lib/blacklight/configuration/show_field.rb +1 -0
- data/lib/blacklight/configuration/sort_field.rb +1 -0
- data/lib/blacklight/configuration/tool_config.rb +1 -0
- data/lib/blacklight/configuration/view_config.rb +14 -10
- data/lib/blacklight/configuration.rb +310 -365
- data/lib/blacklight/engine.rb +8 -24
- data/lib/blacklight/exceptions.rb +2 -2
- data/lib/blacklight/nested_open_struct_with_hash_access.rb +6 -12
- data/lib/blacklight/open_struct_with_hash_access.rb +23 -6
- data/lib/blacklight/parameters.rb +7 -21
- data/lib/blacklight/routes/exportable.rb +1 -0
- data/lib/blacklight/routes/searchable.rb +2 -1
- data/lib/blacklight/routes.rb +1 -0
- data/lib/blacklight/search_builder.rb +10 -10
- data/lib/blacklight/search_state/filter_field.rb +8 -25
- data/lib/blacklight/search_state/pivot_filter_field.rb +144 -0
- data/lib/blacklight/search_state.rb +23 -79
- data/lib/blacklight/solr/document.rb +1 -0
- data/lib/blacklight/solr/facet_paginator.rb +1 -0
- data/lib/blacklight/solr/repository.rb +4 -24
- data/lib/blacklight/solr/request.rb +1 -0
- data/lib/blacklight/solr/response/facets.rb +21 -5
- data/lib/blacklight/solr/response/group.rb +1 -0
- data/lib/blacklight/solr/response/group_response.rb +1 -0
- data/lib/blacklight/solr/response/more_like_this.rb +1 -0
- data/lib/blacklight/solr/response/pagination_methods.rb +4 -3
- data/lib/blacklight/solr/response/params.rb +5 -4
- data/lib/blacklight/solr/response/response.rb +1 -0
- data/lib/blacklight/solr/response/spelling.rb +1 -0
- data/lib/blacklight/solr/response.rb +16 -3
- data/lib/blacklight/solr/search_builder_behavior.rb +16 -35
- data/lib/blacklight/solr.rb +7 -0
- data/lib/blacklight/version.rb +1 -0
- data/lib/blacklight.rb +26 -14
- data/lib/generators/blacklight/assets/importmap_generator.rb +55 -0
- data/lib/generators/blacklight/assets/propshaft_generator.rb +25 -0
- data/lib/generators/blacklight/assets/sprockets_generator.rb +66 -0
- data/lib/generators/blacklight/assets_generator.rb +13 -86
- data/lib/generators/blacklight/controller_generator.rb +3 -2
- data/lib/generators/blacklight/document_generator.rb +1 -0
- data/lib/generators/blacklight/install_generator.rb +4 -3
- data/lib/generators/blacklight/models_generator.rb +1 -0
- data/lib/generators/blacklight/search_builder_generator.rb +1 -0
- data/lib/generators/blacklight/solr_generator.rb +1 -1
- data/lib/generators/blacklight/templates/catalog_controller.rb +34 -8
- data/lib/generators/blacklight/templates/solr/conf/solrconfig.xml +0 -69
- data/lib/generators/blacklight/test_support_generator.rb +4 -2
- data/lib/generators/blacklight/user_generator.rb +7 -9
- data/lib/railties/blacklight.rake +6 -7
- data/package.json +10 -13
- data/rollup.config.js +27 -0
- data/spec/components/blacklight/constraints_component_spec.rb +17 -13
- data/spec/components/blacklight/document/action_component_spec.rb +6 -1
- data/spec/components/blacklight/document_component_spec.rb +22 -131
- data/spec/components/blacklight/facet_component_spec.rb +3 -18
- data/spec/components/blacklight/facet_field_checkboxes_component_spec.rb +1 -2
- data/spec/components/blacklight/facet_field_list_component_spec.rb +7 -6
- data/spec/components/blacklight/facet_item_pivot_component_spec.rb +10 -9
- data/spec/components/blacklight/response/view_type_component_spec.rb +66 -0
- data/spec/components/blacklight/search_bar_component_spec.rb +1 -1
- data/spec/components/blacklight/search_context_component_spec.rb +40 -0
- data/spec/controllers/blacklight/catalog/component_configuration_spec.rb +1 -6
- data/spec/controllers/blacklight/{base_spec.rb → catalog_spec.rb} +2 -2
- data/spec/controllers/bookmarks_controller_spec.rb +2 -3
- data/spec/controllers/catalog_controller_spec.rb +13 -135
- data/spec/features/advanced_search_spec.rb +0 -56
- data/spec/features/autocomplete_spec.rb +1 -1
- data/spec/features/axe_spec.rb +1 -6
- data/spec/features/bookmarks_spec.rb +1 -1
- data/spec/features/facets_spec.rb +1 -1
- data/spec/features/search_context_spec.rb +4 -10
- data/spec/features/search_results_spec.rb +0 -33
- data/spec/features/sitelinks_search_box.rb +13 -0
- data/spec/helpers/blacklight/configuration_helper_behavior_spec.rb +2 -138
- data/spec/helpers/blacklight/facets_helper_behavior_spec.rb +0 -387
- data/spec/helpers/blacklight/icon_helper_behavior_spec.rb +8 -0
- data/spec/helpers/blacklight/layout_helper_behavior_spec.rb +3 -20
- data/spec/helpers/blacklight/render_partials_helper_behavior_spec.rb +5 -7
- data/spec/helpers/blacklight/url_helper_behavior_spec.rb +9 -131
- data/spec/helpers/blacklight_helper_spec.rb +8 -252
- data/spec/helpers/catalog_helper_spec.rb +7 -118
- data/spec/i18n_spec.rb +1 -0
- data/spec/integration/generators/blacklight/solr_generator_spec.rb +1 -1
- data/spec/lib/blacklight/component_spec.rb +27 -32
- data/spec/lib/blacklight/configuration/facet_field_spec.rb +27 -16
- data/spec/lib/blacklight/configuration/field_spec.rb +1 -1
- data/spec/lib/blacklight/configuration/view_config_spec.rb +1 -1
- data/spec/lib/blacklight/open_struct_with_hash_access_spec.rb +2 -2
- data/spec/lib/blacklight/parameters_spec.rb +1 -4
- data/spec/lib/blacklight/search_state/filter_field_spec.rb +4 -4
- data/spec/lib/blacklight/search_state/pivot_filter_field_spec.rb +117 -0
- data/spec/lib/blacklight/search_state_spec.rb +80 -198
- data/spec/lib/tasks/blacklight_task_spec.rb +1 -0
- data/spec/models/blacklight/configuration_spec.rb +17 -51
- data/spec/models/blacklight/document/active_model_shim_spec.rb +2 -2
- data/spec/models/blacklight/icon_spec.rb +31 -15
- data/spec/models/blacklight/search_builder_spec.rb +9 -9
- data/spec/models/blacklight/solr/document_spec.rb +3 -3
- data/spec/models/blacklight/solr/repository_spec.rb +0 -45
- data/spec/models/blacklight/solr/response/facets_spec.rb +27 -27
- data/spec/models/blacklight/solr/response/group_response_spec.rb +1 -0
- data/spec/models/blacklight/solr/response/group_spec.rb +1 -0
- data/spec/models/blacklight/solr/response_spec.rb +9 -2
- data/spec/models/blacklight/solr/search_builder_spec.rb +24 -44
- data/spec/models/blacklight/user_spec.rb +22 -0
- data/spec/models/solr_document_spec.rb +2 -6
- data/spec/presenters/blacklight/clause_presenter_spec.rb +1 -0
- data/spec/presenters/blacklight/document_presenter_spec.rb +2 -3
- data/spec/presenters/blacklight/facet_field_presenter_spec.rb +85 -12
- data/spec/presenters/blacklight/facet_grouped_item_presenter_spec.rb +1 -0
- data/spec/presenters/blacklight/facet_item_presenter_spec.rb +14 -13
- data/spec/presenters/blacklight/field_presenter_spec.rb +0 -14
- data/spec/presenters/blacklight/index_presenter_spec.rb +2 -5
- data/spec/presenters/blacklight/json_presenter_spec.rb +1 -0
- data/spec/presenters/blacklight/link_alternate_presenter_spec.rb +3 -2
- data/spec/presenters/blacklight/show_presenter_spec.rb +20 -30
- data/spec/presenters/thumbnail_presenter_spec.rb +1 -1
- data/spec/requests/load_suggestions_spec.rb +16 -0
- data/spec/routing/catalog_routing_spec.rb +2 -1
- data/spec/services/blacklight/search_service_spec.rb +39 -76
- data/spec/spec_helper.rb +6 -4
- data/spec/support/controller_level_helpers.rb +1 -2
- data/spec/support/features/search_helpers.rb +39 -0
- data/spec/support/features/session_helpers.rb +1 -0
- data/spec/support/features.rb +3 -0
- data/spec/support/view_component_capybara_test_helpers.rb +8 -0
- data/spec/test_app_templates/Gemfile.extra +1 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +9 -2
- data/spec/views/catalog/_document.html.erb_spec.rb +3 -34
- data/spec/views/catalog/_facet_index_navigation.html.erb_spec.rb +1 -1
- data/spec/views/catalog/_paginate_compact.html.erb_spec.rb +0 -2
- data/spec/views/catalog/_search_header.erb_spec.rb +1 -0
- data/spec/views/catalog/_show_sidebar.erb_spec.rb +1 -0
- data/spec/views/catalog/_show_tools.html.erb_spec.rb +5 -66
- data/spec/views/catalog/_view_type_group.html.erb_spec.rb +17 -9
- data/spec/views/catalog/email_success.html.erb_spec.rb +2 -2
- data/spec/views/catalog/facet.html.erb_spec.rb +6 -3
- data/spec/views/catalog/index.atom.builder_spec.rb +17 -11
- data/spec/views/catalog/index.html.erb_spec.rb +5 -6
- data/spec/views/catalog/index.json.jbuilder_spec.rb +2 -2
- data/spec/views/catalog/show.html.erb_spec.rb +3 -25
- data/spec/views/catalog/sms_success.html.erb_spec.rb +2 -2
- data/tasks/blacklight.rake +11 -9
- data/template.demo.rb +7 -7
- metadata +78 -180
- data/.babelrc +0 -11
- data/app/assets/images/blacklight/list.svg +0 -1
- data/app/assets/images/blacklight/search.svg +0 -1
- data/app/assets/stylesheets/blacklight/_twitter_typeahead.scss +0 -37
- data/app/components/blacklight/content_areas_shim.rb +0 -13
- data/app/components/blacklight/search/per_page_component.html.erb +0 -2
- data/app/components/blacklight/search/per_page_component.rb +0 -50
- data/app/components/blacklight/system/dropdown_button_component.rb +0 -18
- data/app/controllers/concerns/blacklight/base.rb +0 -12
- data/app/controllers/concerns/blacklight/default_component_configuration.rb +0 -64
- data/app/controllers/concerns/blacklight/facet.rb +0 -69
- data/app/controllers/concerns/blacklight/search_fields.rb +0 -46
- data/app/helpers/blacklight/hash_as_hidden_fields_helper_behavior.rb +0 -27
- data/app/helpers/blacklight/render_constraints_helper_behavior.rb +0 -188
- data/app/helpers/blacklight/search_history_constraints_helper_behavior.rb +0 -97
- data/app/helpers/blacklight/suggest_helper_behavior.rb +0 -13
- data/app/javascript/blacklight/autocomplete.js +0 -36
- data/app/javascript/blacklight/facet_load.js +0 -22
- data/app/presenters/blacklight/search_bar_presenter.rb +0 -47
- data/app/views/catalog/_constraints_element.html.erb +0 -14
- data/app/views/catalog/_document_action.html.erb +0 -5
- data/app/views/catalog/_facet_group.html.erb +0 -5
- data/app/views/catalog/_facet_limit.html.erb +0 -3
- data/app/views/catalog/_index.html.erb +0 -1
- data/app/views/catalog/_index_header.html.erb +0 -22
- data/app/views/catalog/_previous_next_doc.html.erb +0 -2
- data/app/views/catalog/_show.html.erb +0 -6
- data/app/views/catalog/_show_header.html.erb +0 -2
- data/app/views/catalog/_thumbnail.html.erb +0 -1
- data/lib/blacklight/deprecations/engine_configuration.rb +0 -66
- data/lib/blacklight/deprecations/search_state_normalization.rb +0 -52
- data/spec/components/blacklight/header_component_spec.rb +0 -20
- data/spec/components/blacklight/icons/icon_component_spec.rb +0 -42
- data/spec/components/blacklight/response/pagination_component_spec.rb +0 -53
- data/spec/controllers/blacklight/facet_spec.rb +0 -33
- data/spec/controllers/blacklight/search_fields_spec.rb +0 -62
- data/spec/features/citation_spec.rb +0 -10
- data/spec/features/sitelinks_search_box_spec.rb +0 -13
- data/spec/features/sms_spec.rb +0 -12
- data/spec/helpers/blacklight/hash_as_hidden_fields_behavior_spec.rb +0 -26
- data/spec/helpers/blacklight/render_constraints_helper_behavior_spec.rb +0 -92
- data/spec/helpers/blacklight/search_history_constraints_helper_behavior_spec.rb +0 -101
- data/spec/helpers/blacklight/suggest_helper_behavior_spec.rb +0 -48
- data/spec/lib/blacklight/engine_spec.rb +0 -41
- data/spec/presenters/blacklight/search_bar_presenter_spec.rb +0 -94
- data/spec/services/blacklight/field_retriever_spec.rb +0 -17
- data/spec/support/view_component_test_helpers.rb +0 -35
- data/spec/views/catalog/_constraints.html.erb_spec.rb +0 -33
- data/spec/views/catalog/_facet_group.html.erb_spec.rb +0 -84
- data/spec/views/catalog/_facets.html.erb_spec.rb +0 -15
- data/spec/views/catalog/_index.html.erb_spec.rb +0 -62
- data/spec/views/catalog/_index_header.html.erb_spec.rb +0 -35
- data/spec/views/catalog/_previous_next_doc.html.erb_spec.rb +0 -22
- data/spec/views/catalog/_show.html.erb_spec.rb +0 -62
- data/spec/views/catalog/_thumbnail.html.erb_spec.rb +0 -38
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: exe
|
19
19
|
cert_chain: []
|
20
|
-
date:
|
20
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '6.1'
|
29
29
|
- - "<"
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: '
|
31
|
+
version: '8'
|
32
32
|
type: :runtime
|
33
33
|
prerelease: false
|
34
34
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
version: '6.1'
|
39
39
|
- - "<"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '8'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: globalid
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,20 +81,6 @@ dependencies:
|
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0.15'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: deprecation
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0'
|
91
|
-
type: :runtime
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '0'
|
98
84
|
- !ruby/object:Gem::Dependency
|
99
85
|
name: i18n
|
100
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,50 +113,16 @@ dependencies:
|
|
127
113
|
name: view_component
|
128
114
|
requirement: !ruby/object:Gem::Requirement
|
129
115
|
requirements:
|
130
|
-
- - "
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '2.74'
|
133
|
-
- - "<"
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version: '4'
|
136
|
-
type: :runtime
|
137
|
-
prerelease: false
|
138
|
-
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
requirements:
|
140
|
-
- - ">="
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '2.74'
|
143
|
-
- - "<"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '4'
|
146
|
-
- !ruby/object:Gem::Dependency
|
147
|
-
name: hashdiff
|
148
|
-
requirement: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
type: :runtime
|
154
|
-
prerelease: false
|
155
|
-
version_requirements: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
- !ruby/object:Gem::Dependency
|
161
|
-
name: zeitwerk
|
162
|
-
requirement: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
116
|
+
- - "~>"
|
165
117
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
118
|
+
version: '2.66'
|
167
119
|
type: :runtime
|
168
120
|
prerelease: false
|
169
121
|
version_requirements: !ruby/object:Gem::Requirement
|
170
122
|
requirements:
|
171
|
-
- - "
|
123
|
+
- - "~>"
|
172
124
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
125
|
+
version: '2.66'
|
174
126
|
- !ruby/object:Gem::Dependency
|
175
127
|
name: rsolr
|
176
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -195,14 +147,14 @@ dependencies:
|
|
195
147
|
name: rspec-rails
|
196
148
|
requirement: !ruby/object:Gem::Requirement
|
197
149
|
requirements:
|
198
|
-
- - "
|
150
|
+
- - "~>"
|
199
151
|
- !ruby/object:Gem::Version
|
200
152
|
version: '6.0'
|
201
153
|
type: :development
|
202
154
|
prerelease: false
|
203
155
|
version_requirements: !ruby/object:Gem::Requirement
|
204
156
|
requirements:
|
205
|
-
- - "
|
157
|
+
- - "~>"
|
206
158
|
- !ruby/object:Gem::Version
|
207
159
|
version: '6.0'
|
208
160
|
- !ruby/object:Gem::Dependency
|
@@ -247,6 +199,20 @@ dependencies:
|
|
247
199
|
- - "~>"
|
248
200
|
- !ruby/object:Gem::Version
|
249
201
|
version: '3'
|
202
|
+
- !ruby/object:Gem::Dependency
|
203
|
+
name: webdrivers
|
204
|
+
requirement: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
type: :development
|
210
|
+
prerelease: false
|
211
|
+
version_requirements: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
250
216
|
- !ruby/object:Gem::Dependency
|
251
217
|
name: selenium-webdriver
|
252
218
|
requirement: !ruby/object:Gem::Requirement
|
@@ -309,70 +275,42 @@ dependencies:
|
|
309
275
|
requirements:
|
310
276
|
- - "~>"
|
311
277
|
- !ruby/object:Gem::Version
|
312
|
-
version: '1.
|
313
|
-
type: :development
|
314
|
-
prerelease: false
|
315
|
-
version_requirements: !ruby/object:Gem::Requirement
|
316
|
-
requirements:
|
317
|
-
- - "~>"
|
318
|
-
- !ruby/object:Gem::Version
|
319
|
-
version: '1.66'
|
320
|
-
- !ruby/object:Gem::Dependency
|
321
|
-
name: rubocop-capybara
|
322
|
-
requirement: !ruby/object:Gem::Requirement
|
323
|
-
requirements:
|
324
|
-
- - "~>"
|
325
|
-
- !ruby/object:Gem::Version
|
326
|
-
version: '2.21'
|
278
|
+
version: '1.0'
|
327
279
|
type: :development
|
328
280
|
prerelease: false
|
329
281
|
version_requirements: !ruby/object:Gem::Requirement
|
330
282
|
requirements:
|
331
283
|
- - "~>"
|
332
284
|
- !ruby/object:Gem::Version
|
333
|
-
version: '
|
285
|
+
version: '1.0'
|
334
286
|
- !ruby/object:Gem::Dependency
|
335
287
|
name: rubocop-rails
|
336
288
|
requirement: !ruby/object:Gem::Requirement
|
337
289
|
requirements:
|
338
|
-
- - "
|
290
|
+
- - ">="
|
339
291
|
- !ruby/object:Gem::Version
|
340
|
-
version: '
|
292
|
+
version: '0'
|
341
293
|
type: :development
|
342
294
|
prerelease: false
|
343
295
|
version_requirements: !ruby/object:Gem::Requirement
|
344
296
|
requirements:
|
345
|
-
- - "
|
297
|
+
- - ">="
|
346
298
|
- !ruby/object:Gem::Version
|
347
|
-
version: '
|
299
|
+
version: '0'
|
348
300
|
- !ruby/object:Gem::Dependency
|
349
301
|
name: rubocop-rspec
|
350
302
|
requirement: !ruby/object:Gem::Requirement
|
351
303
|
requirements:
|
352
|
-
- - "
|
353
|
-
- !ruby/object:Gem::Version
|
354
|
-
version: '3.0'
|
355
|
-
type: :development
|
356
|
-
prerelease: false
|
357
|
-
version_requirements: !ruby/object:Gem::Requirement
|
358
|
-
requirements:
|
359
|
-
- - "~>"
|
360
|
-
- !ruby/object:Gem::Version
|
361
|
-
version: '3.0'
|
362
|
-
- !ruby/object:Gem::Dependency
|
363
|
-
name: rubocop-rspec_rails
|
364
|
-
requirement: !ruby/object:Gem::Requirement
|
365
|
-
requirements:
|
366
|
-
- - "~>"
|
304
|
+
- - ">="
|
367
305
|
- !ruby/object:Gem::Version
|
368
|
-
version: '
|
306
|
+
version: '0'
|
369
307
|
type: :development
|
370
308
|
prerelease: false
|
371
309
|
version_requirements: !ruby/object:Gem::Requirement
|
372
310
|
requirements:
|
373
|
-
- - "
|
311
|
+
- - ">="
|
374
312
|
- !ruby/object:Gem::Version
|
375
|
-
version: '
|
313
|
+
version: '0'
|
376
314
|
- !ruby/object:Gem::Dependency
|
377
315
|
name: i18n-tasks
|
378
316
|
requirement: !ruby/object:Gem::Requirement
|
@@ -412,7 +350,6 @@ executables: []
|
|
412
350
|
extensions: []
|
413
351
|
extra_rdoc_files: []
|
414
352
|
files:
|
415
|
-
- ".babelrc"
|
416
353
|
- ".docker/app/Dockerfile"
|
417
354
|
- ".docker/app/entrypoint.sh"
|
418
355
|
- ".dockerignore"
|
@@ -432,11 +369,13 @@ files:
|
|
432
369
|
- README.md
|
433
370
|
- Rakefile
|
434
371
|
- VERSION
|
435
|
-
- app/assets/images/blacklight/list.svg
|
436
372
|
- app/assets/images/blacklight/logo.png
|
437
|
-
- app/assets/images/blacklight/search.svg
|
438
373
|
- app/assets/images/favicon.ico
|
374
|
+
- app/assets/javascripts/blacklight/blacklight.esm.js
|
375
|
+
- app/assets/javascripts/blacklight/blacklight.esm.js.map
|
439
376
|
- app/assets/javascripts/blacklight/blacklight.js
|
377
|
+
- app/assets/javascripts/blacklight/blacklight.js.map
|
378
|
+
- app/assets/stylesheets/blacklight/_autocomplete.scss
|
440
379
|
- app/assets/stylesheets/blacklight/_balanced_list.scss
|
441
380
|
- app/assets/stylesheets/blacklight/_blacklight_base.scss
|
442
381
|
- app/assets/stylesheets/blacklight/_bookmark.scss
|
@@ -454,7 +393,6 @@ files:
|
|
454
393
|
- app/assets/stylesheets/blacklight/_search_form.scss
|
455
394
|
- app/assets/stylesheets/blacklight/_search_history.scss
|
456
395
|
- app/assets/stylesheets/blacklight/_search_results.scss
|
457
|
-
- app/assets/stylesheets/blacklight/_twitter_typeahead.scss
|
458
396
|
- app/assets/stylesheets/blacklight/blacklight.scss
|
459
397
|
- app/assets/stylesheets/blacklight/blacklight_defaults.scss
|
460
398
|
- app/builders/blacklight/action_builder.rb
|
@@ -466,7 +404,6 @@ files:
|
|
466
404
|
- app/components/blacklight/constraint_layout_component.rb
|
467
405
|
- app/components/blacklight/constraints_component.html.erb
|
468
406
|
- app/components/blacklight/constraints_component.rb
|
469
|
-
- app/components/blacklight/content_areas_shim.rb
|
470
407
|
- app/components/blacklight/document/action_component.html.erb
|
471
408
|
- app/components/blacklight/document/action_component.rb
|
472
409
|
- app/components/blacklight/document/actions_component.html.erb
|
@@ -479,6 +416,8 @@ files:
|
|
479
416
|
- app/components/blacklight/document/group_component.rb
|
480
417
|
- app/components/blacklight/document/more_like_this_component.html.erb
|
481
418
|
- app/components/blacklight/document/more_like_this_component.rb
|
419
|
+
- app/components/blacklight/document/sidebar_component.html.erb
|
420
|
+
- app/components/blacklight/document/sidebar_component.rb
|
482
421
|
- app/components/blacklight/document/thumbnail_component.html.erb
|
483
422
|
- app/components/blacklight/document/thumbnail_component.rb
|
484
423
|
- app/components/blacklight/document_component.html.erb
|
@@ -507,6 +446,9 @@ files:
|
|
507
446
|
- app/components/blacklight/header_component.rb
|
508
447
|
- app/components/blacklight/hidden_search_state_component.rb
|
509
448
|
- app/components/blacklight/icons/icon_component.rb
|
449
|
+
- app/components/blacklight/icons/legacy_icon_component.rb
|
450
|
+
- app/components/blacklight/icons/list_component.rb
|
451
|
+
- app/components/blacklight/icons/search_component.rb
|
510
452
|
- app/components/blacklight/metadata_field_component.html.erb
|
511
453
|
- app/components/blacklight/metadata_field_component.rb
|
512
454
|
- app/components/blacklight/metadata_field_layout_component.html.erb
|
@@ -523,18 +465,19 @@ files:
|
|
523
465
|
- app/components/blacklight/response/view_type_button_component.rb
|
524
466
|
- app/components/blacklight/response/view_type_component.html.erb
|
525
467
|
- app/components/blacklight/response/view_type_component.rb
|
526
|
-
- app/components/blacklight/search/
|
527
|
-
- app/components/blacklight/search/
|
468
|
+
- app/components/blacklight/search/sidebar_component.html.erb
|
469
|
+
- app/components/blacklight/search/sidebar_component.rb
|
528
470
|
- app/components/blacklight/search_bar_component.html.erb
|
529
471
|
- app/components/blacklight/search_bar_component.rb
|
530
472
|
- app/components/blacklight/search_button_component.rb
|
531
473
|
- app/components/blacklight/search_context_component.html.erb
|
532
474
|
- app/components/blacklight/search_context_component.rb
|
475
|
+
- app/components/blacklight/search_header_component.html.erb
|
476
|
+
- app/components/blacklight/search_header_component.rb
|
533
477
|
- app/components/blacklight/search_history_constraint_layout_component.rb
|
534
478
|
- app/components/blacklight/search_navbar_component.html.erb
|
535
479
|
- app/components/blacklight/search_navbar_component.rb
|
536
480
|
- app/components/blacklight/start_over_button_component.rb
|
537
|
-
- app/components/blacklight/system/dropdown_button_component.rb
|
538
481
|
- app/components/blacklight/system/dropdown_component.html.erb
|
539
482
|
- app/components/blacklight/system/dropdown_component.rb
|
540
483
|
- app/components/blacklight/system/flash_message_component.html.erb
|
@@ -545,14 +488,10 @@ files:
|
|
545
488
|
- app/components/blacklight/top_navbar_component.rb
|
546
489
|
- app/controllers/bookmarks_controller.rb
|
547
490
|
- app/controllers/catalog_controller.rb
|
548
|
-
- app/controllers/concerns/blacklight/base.rb
|
549
491
|
- app/controllers/concerns/blacklight/bookmarks.rb
|
550
492
|
- app/controllers/concerns/blacklight/catalog.rb
|
551
493
|
- app/controllers/concerns/blacklight/controller.rb
|
552
|
-
- app/controllers/concerns/blacklight/default_component_configuration.rb
|
553
|
-
- app/controllers/concerns/blacklight/facet.rb
|
554
494
|
- app/controllers/concerns/blacklight/search_context.rb
|
555
|
-
- app/controllers/concerns/blacklight/search_fields.rb
|
556
495
|
- app/controllers/concerns/blacklight/search_history.rb
|
557
496
|
- app/controllers/concerns/blacklight/searchable.rb
|
558
497
|
- app/controllers/concerns/blacklight/token_based_user.rb
|
@@ -562,23 +501,19 @@ files:
|
|
562
501
|
- app/helpers/blacklight/component_helper_behavior.rb
|
563
502
|
- app/helpers/blacklight/configuration_helper_behavior.rb
|
564
503
|
- app/helpers/blacklight/facets_helper_behavior.rb
|
565
|
-
- app/helpers/blacklight/hash_as_hidden_fields_helper_behavior.rb
|
566
504
|
- app/helpers/blacklight/icon_helper_behavior.rb
|
567
505
|
- app/helpers/blacklight/layout_helper_behavior.rb
|
568
|
-
- app/helpers/blacklight/render_constraints_helper_behavior.rb
|
569
506
|
- app/helpers/blacklight/render_partials_helper_behavior.rb
|
570
|
-
- app/helpers/blacklight/search_history_constraints_helper_behavior.rb
|
571
|
-
- app/helpers/blacklight/suggest_helper_behavior.rb
|
572
507
|
- app/helpers/blacklight/url_helper_behavior.rb
|
573
508
|
- app/helpers/blacklight_helper.rb
|
574
509
|
- app/helpers/catalog_helper.rb
|
575
|
-
- app/javascript/blacklight/autocomplete.js
|
576
510
|
- app/javascript/blacklight/bookmark_toggle.js
|
577
511
|
- app/javascript/blacklight/button_focus.js
|
578
512
|
- app/javascript/blacklight/checkbox_submit.js
|
579
513
|
- app/javascript/blacklight/core.js
|
580
|
-
- app/javascript/blacklight/
|
514
|
+
- app/javascript/blacklight/index.js
|
581
515
|
- app/javascript/blacklight/modal.js
|
516
|
+
- app/javascript/blacklight/modalForm.js
|
582
517
|
- app/javascript/blacklight/search_context.js
|
583
518
|
- app/models/blacklight/facet_paginator.rb
|
584
519
|
- app/models/blacklight/icon.rb
|
@@ -606,6 +541,7 @@ files:
|
|
606
541
|
- app/presenters/blacklight/document_presenter.rb
|
607
542
|
- app/presenters/blacklight/facet_field_presenter.rb
|
608
543
|
- app/presenters/blacklight/facet_grouped_item_presenter.rb
|
544
|
+
- app/presenters/blacklight/facet_item_pivot_presenter.rb
|
609
545
|
- app/presenters/blacklight/facet_item_presenter.rb
|
610
546
|
- app/presenters/blacklight/field_presenter.rb
|
611
547
|
- app/presenters/blacklight/inclusive_facet_item_presenter.rb
|
@@ -619,9 +555,9 @@ files:
|
|
619
555
|
- app/presenters/blacklight/rendering/microdata.rb
|
620
556
|
- app/presenters/blacklight/rendering/pipeline.rb
|
621
557
|
- app/presenters/blacklight/rendering/terminator.rb
|
622
|
-
- app/presenters/blacklight/search_bar_presenter.rb
|
623
558
|
- app/presenters/blacklight/show_presenter.rb
|
624
559
|
- app/presenters/blacklight/thumbnail_presenter.rb
|
560
|
+
- app/services/blacklight/bookmarks_search_builder.rb
|
625
561
|
- app/services/blacklight/document_factory.rb
|
626
562
|
- app/services/blacklight/field_retriever.rb
|
627
563
|
- app/services/blacklight/search_params_yaml_coder.rb
|
@@ -637,18 +573,14 @@ files:
|
|
637
573
|
- app/views/catalog/_bookmark_control.html.erb
|
638
574
|
- app/views/catalog/_citation.html.erb
|
639
575
|
- app/views/catalog/_constraints.html.erb
|
640
|
-
- app/views/catalog/_constraints_element.html.erb
|
641
576
|
- app/views/catalog/_did_you_mean.html.erb
|
642
577
|
- app/views/catalog/_document.atom.builder
|
643
578
|
- app/views/catalog/_document.html.erb
|
644
579
|
- app/views/catalog/_document.rss.builder
|
645
|
-
- app/views/catalog/_document_action.html.erb
|
646
580
|
- app/views/catalog/_document_list.html.erb
|
647
581
|
- app/views/catalog/_email_form.html.erb
|
648
|
-
- app/views/catalog/_facet_group.html.erb
|
649
582
|
- app/views/catalog/_facet_index_navigation.html.erb
|
650
583
|
- app/views/catalog/_facet_layout.html.erb
|
651
|
-
- app/views/catalog/_facet_limit.html.erb
|
652
584
|
- app/views/catalog/_facet_pagination.html.erb
|
653
585
|
- app/views/catalog/_facet_pivot.html.erb
|
654
586
|
- app/views/catalog/_facets.html.erb
|
@@ -656,20 +588,15 @@ files:
|
|
656
588
|
- app/views/catalog/_group.html.erb
|
657
589
|
- app/views/catalog/_home.html.erb
|
658
590
|
- app/views/catalog/_home_text.html.erb
|
659
|
-
- app/views/catalog/_index.html.erb
|
660
|
-
- app/views/catalog/_index_header.html.erb
|
661
591
|
- app/views/catalog/_opensearch_response_metadata.html.erb
|
662
592
|
- app/views/catalog/_paginate_compact.html.erb
|
663
593
|
- app/views/catalog/_per_page_widget.html.erb
|
664
|
-
- app/views/catalog/_previous_next_doc.html.erb
|
665
594
|
- app/views/catalog/_results_pagination.html.erb
|
666
595
|
- app/views/catalog/_search_form.html.erb
|
667
596
|
- app/views/catalog/_search_header.html.erb
|
668
597
|
- app/views/catalog/_search_results.html.erb
|
669
598
|
- app/views/catalog/_search_results_header.html.erb
|
670
599
|
- app/views/catalog/_search_sidebar.html.erb
|
671
|
-
- app/views/catalog/_show.html.erb
|
672
|
-
- app/views/catalog/_show_header.html.erb
|
673
600
|
- app/views/catalog/_show_main_content.html.erb
|
674
601
|
- app/views/catalog/_show_more_like_this.html.erb
|
675
602
|
- app/views/catalog/_show_sidebar.html.erb
|
@@ -678,7 +605,6 @@ files:
|
|
678
605
|
- app/views/catalog/_sort_and_per_page.html.erb
|
679
606
|
- app/views/catalog/_sort_widget.html.erb
|
680
607
|
- app/views/catalog/_start_over.html.erb
|
681
|
-
- app/views/catalog/_thumbnail.html.erb
|
682
608
|
- app/views/catalog/_view_type_group.html.erb
|
683
609
|
- app/views/catalog/_zero_results.html.erb
|
684
610
|
- app/views/catalog/advanced_search.html.erb
|
@@ -698,6 +624,7 @@ files:
|
|
698
624
|
- app/views/catalog/show.json.jbuilder
|
699
625
|
- app/views/catalog/sms.html.erb
|
700
626
|
- app/views/catalog/sms_success.html.erb
|
627
|
+
- app/views/catalog/suggest.html.erb
|
701
628
|
- app/views/kaminari/blacklight/_first_page.html.erb
|
702
629
|
- app/views/kaminari/blacklight/_gap.html.erb
|
703
630
|
- app/views/kaminari/blacklight/_last_page.html.erb
|
@@ -723,6 +650,7 @@ files:
|
|
723
650
|
- app/views/shared/_user_util_links.html.erb
|
724
651
|
- blacklight.gemspec
|
725
652
|
- config/i18n-tasks.yml
|
653
|
+
- config/importmap.rb
|
726
654
|
- config/locales/blacklight.ar.yml
|
727
655
|
- config/locales/blacklight.ca.yml
|
728
656
|
- config/locales/blacklight.de.yml
|
@@ -750,14 +678,13 @@ files:
|
|
750
678
|
- lib/blacklight/configuration/field.rb
|
751
679
|
- lib/blacklight/configuration/fields.rb
|
752
680
|
- lib/blacklight/configuration/index_field.rb
|
681
|
+
- lib/blacklight/configuration/null_display_field.rb
|
753
682
|
- lib/blacklight/configuration/null_field.rb
|
754
683
|
- lib/blacklight/configuration/search_field.rb
|
755
684
|
- lib/blacklight/configuration/show_field.rb
|
756
685
|
- lib/blacklight/configuration/sort_field.rb
|
757
686
|
- lib/blacklight/configuration/tool_config.rb
|
758
687
|
- lib/blacklight/configuration/view_config.rb
|
759
|
-
- lib/blacklight/deprecations/engine_configuration.rb
|
760
|
-
- lib/blacklight/deprecations/search_state_normalization.rb
|
761
688
|
- lib/blacklight/engine.rb
|
762
689
|
- lib/blacklight/exceptions.rb
|
763
690
|
- lib/blacklight/nested_open_struct_with_hash_access.rb
|
@@ -770,6 +697,7 @@ files:
|
|
770
697
|
- lib/blacklight/search_builder.rb
|
771
698
|
- lib/blacklight/search_state.rb
|
772
699
|
- lib/blacklight/search_state/filter_field.rb
|
700
|
+
- lib/blacklight/search_state/pivot_filter_field.rb
|
773
701
|
- lib/blacklight/solr.rb
|
774
702
|
- lib/blacklight/solr/document.rb
|
775
703
|
- lib/blacklight/solr/facet_paginator.rb
|
@@ -786,6 +714,9 @@ files:
|
|
786
714
|
- lib/blacklight/solr/response/spelling.rb
|
787
715
|
- lib/blacklight/solr/search_builder_behavior.rb
|
788
716
|
- lib/blacklight/version.rb
|
717
|
+
- lib/generators/blacklight/assets/importmap_generator.rb
|
718
|
+
- lib/generators/blacklight/assets/propshaft_generator.rb
|
719
|
+
- lib/generators/blacklight/assets/sprockets_generator.rb
|
789
720
|
- lib/generators/blacklight/assets_generator.rb
|
790
721
|
- lib/generators/blacklight/controller_generator.rb
|
791
722
|
- lib/generators/blacklight/document_generator.rb
|
@@ -822,6 +753,7 @@ files:
|
|
822
753
|
- lib/generators/blacklight/user_generator.rb
|
823
754
|
- lib/railties/blacklight.rake
|
824
755
|
- package.json
|
756
|
+
- rollup.config.js
|
825
757
|
- spec/components/blacklight/advanced_search_form_component_spec.rb
|
826
758
|
- spec/components/blacklight/constraint_layout_component_spec.rb
|
827
759
|
- spec/components/blacklight/constraints_component_spec.rb
|
@@ -834,21 +766,18 @@ files:
|
|
834
766
|
- spec/components/blacklight/facet_field_list_component_spec.rb
|
835
767
|
- spec/components/blacklight/facet_item_component_spec.rb
|
836
768
|
- spec/components/blacklight/facet_item_pivot_component_spec.rb
|
837
|
-
- spec/components/blacklight/header_component_spec.rb
|
838
769
|
- spec/components/blacklight/hidden_search_state_component_spec.rb
|
839
|
-
- spec/components/blacklight/icons/icon_component_spec.rb
|
840
770
|
- spec/components/blacklight/metadata_field_component_spec.rb
|
841
|
-
- spec/components/blacklight/response/pagination_component_spec.rb
|
842
771
|
- spec/components/blacklight/response/spellcheck_component_spec.rb
|
772
|
+
- spec/components/blacklight/response/view_type_component_spec.rb
|
843
773
|
- spec/components/blacklight/search_bar_component_spec.rb
|
774
|
+
- spec/components/blacklight/search_context_component_spec.rb
|
844
775
|
- spec/components/blacklight/start_over_button_component_spec.rb
|
845
776
|
- spec/components/blacklight/system/flash_message_component_spec.rb
|
846
777
|
- spec/controllers/alternate_controller_spec.rb
|
847
778
|
- spec/controllers/application_controller_spec.rb
|
848
|
-
- spec/controllers/blacklight/base_spec.rb
|
849
779
|
- spec/controllers/blacklight/catalog/component_configuration_spec.rb
|
850
|
-
- spec/controllers/blacklight/
|
851
|
-
- spec/controllers/blacklight/search_fields_spec.rb
|
780
|
+
- spec/controllers/blacklight/catalog_spec.rb
|
852
781
|
- spec/controllers/bookmarks_controller_spec.rb
|
853
782
|
- spec/controllers/catalog_controller_spec.rb
|
854
783
|
- spec/controllers/search_history_controller_spec.rb
|
@@ -857,7 +786,6 @@ files:
|
|
857
786
|
- spec/features/autocomplete_spec.rb
|
858
787
|
- spec/features/axe_spec.rb
|
859
788
|
- spec/features/bookmarks_spec.rb
|
860
|
-
- spec/features/citation_spec.rb
|
861
789
|
- spec/features/did_you_mean_spec.rb
|
862
790
|
- spec/features/facet_missing_spec.rb
|
863
791
|
- spec/features/facets_spec.rb
|
@@ -871,18 +799,13 @@ files:
|
|
871
799
|
- spec/features/search_results_spec.rb
|
872
800
|
- spec/features/search_sort_spec.rb
|
873
801
|
- spec/features/search_spec.rb
|
874
|
-
- spec/features/
|
875
|
-
- spec/features/sms_spec.rb
|
802
|
+
- spec/features/sitelinks_search_box.rb
|
876
803
|
- spec/fixtures/sample_solr_documents.yml
|
877
804
|
- spec/helpers/blacklight/configuration_helper_behavior_spec.rb
|
878
805
|
- spec/helpers/blacklight/facets_helper_behavior_spec.rb
|
879
|
-
- spec/helpers/blacklight/hash_as_hidden_fields_behavior_spec.rb
|
880
806
|
- spec/helpers/blacklight/icon_helper_behavior_spec.rb
|
881
807
|
- spec/helpers/blacklight/layout_helper_behavior_spec.rb
|
882
|
-
- spec/helpers/blacklight/render_constraints_helper_behavior_spec.rb
|
883
808
|
- spec/helpers/blacklight/render_partials_helper_behavior_spec.rb
|
884
|
-
- spec/helpers/blacklight/search_history_constraints_helper_behavior_spec.rb
|
885
|
-
- spec/helpers/blacklight/suggest_helper_behavior_spec.rb
|
886
809
|
- spec/helpers/blacklight/url_helper_behavior_spec.rb
|
887
810
|
- spec/helpers/blacklight_helper_spec.rb
|
888
811
|
- spec/helpers/catalog_helper_spec.rb
|
@@ -892,11 +815,11 @@ files:
|
|
892
815
|
- spec/lib/blacklight/configuration/facet_field_spec.rb
|
893
816
|
- spec/lib/blacklight/configuration/field_spec.rb
|
894
817
|
- spec/lib/blacklight/configuration/view_config_spec.rb
|
895
|
-
- spec/lib/blacklight/engine_spec.rb
|
896
818
|
- spec/lib/blacklight/nested_open_struct_with_hash_access_spec.rb
|
897
819
|
- spec/lib/blacklight/open_struct_with_hash_access_spec.rb
|
898
820
|
- spec/lib/blacklight/parameters_spec.rb
|
899
821
|
- spec/lib/blacklight/search_state/filter_field_spec.rb
|
822
|
+
- spec/lib/blacklight/search_state/pivot_filter_field_spec.rb
|
900
823
|
- spec/lib/blacklight/search_state_spec.rb
|
901
824
|
- spec/lib/blacklight_spec.rb
|
902
825
|
- spec/lib/tasks/blacklight_task_spec.rb
|
@@ -937,40 +860,32 @@ files:
|
|
937
860
|
- spec/presenters/blacklight/index_presenter_spec.rb
|
938
861
|
- spec/presenters/blacklight/json_presenter_spec.rb
|
939
862
|
- spec/presenters/blacklight/link_alternate_presenter_spec.rb
|
940
|
-
- spec/presenters/blacklight/search_bar_presenter_spec.rb
|
941
863
|
- spec/presenters/blacklight/show_presenter_spec.rb
|
942
864
|
- spec/presenters/pipeline_spec.rb
|
943
865
|
- spec/presenters/thumbnail_presenter_spec.rb
|
866
|
+
- spec/requests/load_suggestions_spec.rb
|
944
867
|
- spec/routing/catalog_routing_spec.rb
|
945
868
|
- spec/routing/search_history_spec.rb
|
946
|
-
- spec/services/blacklight/field_retriever_spec.rb
|
947
869
|
- spec/services/blacklight/search_service_spec.rb
|
948
870
|
- spec/spec_helper.rb
|
949
871
|
- spec/support/controller_level_helpers.rb
|
950
872
|
- spec/support/features.rb
|
873
|
+
- spec/support/features/search_helpers.rb
|
951
874
|
- spec/support/features/session_helpers.rb
|
952
875
|
- spec/support/presenter_test_helpers.rb
|
953
|
-
- spec/support/
|
876
|
+
- spec/support/view_component_capybara_test_helpers.rb
|
954
877
|
- spec/test_app_templates/Gemfile.extra
|
955
878
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
956
|
-
- spec/views/catalog/_constraints.html.erb_spec.rb
|
957
879
|
- spec/views/catalog/_document.html.erb_spec.rb
|
958
880
|
- spec/views/catalog/_document_list.html.erb_spec.rb
|
959
|
-
- spec/views/catalog/_facet_group.html.erb_spec.rb
|
960
881
|
- spec/views/catalog/_facet_index_navigation.html.erb_spec.rb
|
961
882
|
- spec/views/catalog/_facet_layout.html.erb_spec.rb
|
962
|
-
- spec/views/catalog/_facets.html.erb_spec.rb
|
963
|
-
- spec/views/catalog/_index.html.erb_spec.rb
|
964
|
-
- spec/views/catalog/_index_header.html.erb_spec.rb
|
965
883
|
- spec/views/catalog/_paginate_compact.html.erb_spec.rb
|
966
|
-
- spec/views/catalog/_previous_next_doc.html.erb_spec.rb
|
967
884
|
- spec/views/catalog/_search_header.erb_spec.rb
|
968
|
-
- spec/views/catalog/_show.html.erb_spec.rb
|
969
885
|
- spec/views/catalog/_show_sidebar.erb_spec.rb
|
970
886
|
- spec/views/catalog/_show_tools.html.erb_spec.rb
|
971
887
|
- spec/views/catalog/_sort_and_per_page.html.erb_spec.rb
|
972
888
|
- spec/views/catalog/_sort_widget.html.erb_spec.rb
|
973
|
-
- spec/views/catalog/_thumbnail.html.erb_spec.rb
|
974
889
|
- spec/views/catalog/_view_type_group.html.erb_spec.rb
|
975
890
|
- spec/views/catalog/email_success.html.erb_spec.rb
|
976
891
|
- spec/views/catalog/facet.html.erb_spec.rb
|
@@ -1000,11 +915,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1000
915
|
version: '2.7'
|
1001
916
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1002
917
|
requirements:
|
1003
|
-
- - "
|
918
|
+
- - ">"
|
1004
919
|
- !ruby/object:Gem::Version
|
1005
|
-
version:
|
920
|
+
version: 1.3.1
|
1006
921
|
requirements: []
|
1007
|
-
rubygems_version: 3.
|
922
|
+
rubygems_version: 3.3.26
|
1008
923
|
signing_key:
|
1009
924
|
specification_version: 4
|
1010
925
|
summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)
|
@@ -1022,21 +937,18 @@ test_files:
|
|
1022
937
|
- spec/components/blacklight/facet_field_list_component_spec.rb
|
1023
938
|
- spec/components/blacklight/facet_item_component_spec.rb
|
1024
939
|
- spec/components/blacklight/facet_item_pivot_component_spec.rb
|
1025
|
-
- spec/components/blacklight/header_component_spec.rb
|
1026
940
|
- spec/components/blacklight/hidden_search_state_component_spec.rb
|
1027
|
-
- spec/components/blacklight/icons/icon_component_spec.rb
|
1028
941
|
- spec/components/blacklight/metadata_field_component_spec.rb
|
1029
|
-
- spec/components/blacklight/response/pagination_component_spec.rb
|
1030
942
|
- spec/components/blacklight/response/spellcheck_component_spec.rb
|
943
|
+
- spec/components/blacklight/response/view_type_component_spec.rb
|
1031
944
|
- spec/components/blacklight/search_bar_component_spec.rb
|
945
|
+
- spec/components/blacklight/search_context_component_spec.rb
|
1032
946
|
- spec/components/blacklight/start_over_button_component_spec.rb
|
1033
947
|
- spec/components/blacklight/system/flash_message_component_spec.rb
|
1034
948
|
- spec/controllers/alternate_controller_spec.rb
|
1035
949
|
- spec/controllers/application_controller_spec.rb
|
1036
|
-
- spec/controllers/blacklight/base_spec.rb
|
1037
950
|
- spec/controllers/blacklight/catalog/component_configuration_spec.rb
|
1038
|
-
- spec/controllers/blacklight/
|
1039
|
-
- spec/controllers/blacklight/search_fields_spec.rb
|
951
|
+
- spec/controllers/blacklight/catalog_spec.rb
|
1040
952
|
- spec/controllers/bookmarks_controller_spec.rb
|
1041
953
|
- spec/controllers/catalog_controller_spec.rb
|
1042
954
|
- spec/controllers/search_history_controller_spec.rb
|
@@ -1045,7 +957,6 @@ test_files:
|
|
1045
957
|
- spec/features/autocomplete_spec.rb
|
1046
958
|
- spec/features/axe_spec.rb
|
1047
959
|
- spec/features/bookmarks_spec.rb
|
1048
|
-
- spec/features/citation_spec.rb
|
1049
960
|
- spec/features/did_you_mean_spec.rb
|
1050
961
|
- spec/features/facet_missing_spec.rb
|
1051
962
|
- spec/features/facets_spec.rb
|
@@ -1059,18 +970,13 @@ test_files:
|
|
1059
970
|
- spec/features/search_results_spec.rb
|
1060
971
|
- spec/features/search_sort_spec.rb
|
1061
972
|
- spec/features/search_spec.rb
|
1062
|
-
- spec/features/
|
1063
|
-
- spec/features/sms_spec.rb
|
973
|
+
- spec/features/sitelinks_search_box.rb
|
1064
974
|
- spec/fixtures/sample_solr_documents.yml
|
1065
975
|
- spec/helpers/blacklight/configuration_helper_behavior_spec.rb
|
1066
976
|
- spec/helpers/blacklight/facets_helper_behavior_spec.rb
|
1067
|
-
- spec/helpers/blacklight/hash_as_hidden_fields_behavior_spec.rb
|
1068
977
|
- spec/helpers/blacklight/icon_helper_behavior_spec.rb
|
1069
978
|
- spec/helpers/blacklight/layout_helper_behavior_spec.rb
|
1070
|
-
- spec/helpers/blacklight/render_constraints_helper_behavior_spec.rb
|
1071
979
|
- spec/helpers/blacklight/render_partials_helper_behavior_spec.rb
|
1072
|
-
- spec/helpers/blacklight/search_history_constraints_helper_behavior_spec.rb
|
1073
|
-
- spec/helpers/blacklight/suggest_helper_behavior_spec.rb
|
1074
980
|
- spec/helpers/blacklight/url_helper_behavior_spec.rb
|
1075
981
|
- spec/helpers/blacklight_helper_spec.rb
|
1076
982
|
- spec/helpers/catalog_helper_spec.rb
|
@@ -1080,11 +986,11 @@ test_files:
|
|
1080
986
|
- spec/lib/blacklight/configuration/facet_field_spec.rb
|
1081
987
|
- spec/lib/blacklight/configuration/field_spec.rb
|
1082
988
|
- spec/lib/blacklight/configuration/view_config_spec.rb
|
1083
|
-
- spec/lib/blacklight/engine_spec.rb
|
1084
989
|
- spec/lib/blacklight/nested_open_struct_with_hash_access_spec.rb
|
1085
990
|
- spec/lib/blacklight/open_struct_with_hash_access_spec.rb
|
1086
991
|
- spec/lib/blacklight/parameters_spec.rb
|
1087
992
|
- spec/lib/blacklight/search_state/filter_field_spec.rb
|
993
|
+
- spec/lib/blacklight/search_state/pivot_filter_field_spec.rb
|
1088
994
|
- spec/lib/blacklight/search_state_spec.rb
|
1089
995
|
- spec/lib/blacklight_spec.rb
|
1090
996
|
- spec/lib/tasks/blacklight_task_spec.rb
|
@@ -1125,40 +1031,32 @@ test_files:
|
|
1125
1031
|
- spec/presenters/blacklight/index_presenter_spec.rb
|
1126
1032
|
- spec/presenters/blacklight/json_presenter_spec.rb
|
1127
1033
|
- spec/presenters/blacklight/link_alternate_presenter_spec.rb
|
1128
|
-
- spec/presenters/blacklight/search_bar_presenter_spec.rb
|
1129
1034
|
- spec/presenters/blacklight/show_presenter_spec.rb
|
1130
1035
|
- spec/presenters/pipeline_spec.rb
|
1131
1036
|
- spec/presenters/thumbnail_presenter_spec.rb
|
1037
|
+
- spec/requests/load_suggestions_spec.rb
|
1132
1038
|
- spec/routing/catalog_routing_spec.rb
|
1133
1039
|
- spec/routing/search_history_spec.rb
|
1134
|
-
- spec/services/blacklight/field_retriever_spec.rb
|
1135
1040
|
- spec/services/blacklight/search_service_spec.rb
|
1136
1041
|
- spec/spec_helper.rb
|
1137
1042
|
- spec/support/controller_level_helpers.rb
|
1138
1043
|
- spec/support/features.rb
|
1044
|
+
- spec/support/features/search_helpers.rb
|
1139
1045
|
- spec/support/features/session_helpers.rb
|
1140
1046
|
- spec/support/presenter_test_helpers.rb
|
1141
|
-
- spec/support/
|
1047
|
+
- spec/support/view_component_capybara_test_helpers.rb
|
1142
1048
|
- spec/test_app_templates/Gemfile.extra
|
1143
1049
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
1144
|
-
- spec/views/catalog/_constraints.html.erb_spec.rb
|
1145
1050
|
- spec/views/catalog/_document.html.erb_spec.rb
|
1146
1051
|
- spec/views/catalog/_document_list.html.erb_spec.rb
|
1147
|
-
- spec/views/catalog/_facet_group.html.erb_spec.rb
|
1148
1052
|
- spec/views/catalog/_facet_index_navigation.html.erb_spec.rb
|
1149
1053
|
- spec/views/catalog/_facet_layout.html.erb_spec.rb
|
1150
|
-
- spec/views/catalog/_facets.html.erb_spec.rb
|
1151
|
-
- spec/views/catalog/_index.html.erb_spec.rb
|
1152
|
-
- spec/views/catalog/_index_header.html.erb_spec.rb
|
1153
1054
|
- spec/views/catalog/_paginate_compact.html.erb_spec.rb
|
1154
|
-
- spec/views/catalog/_previous_next_doc.html.erb_spec.rb
|
1155
1055
|
- spec/views/catalog/_search_header.erb_spec.rb
|
1156
|
-
- spec/views/catalog/_show.html.erb_spec.rb
|
1157
1056
|
- spec/views/catalog/_show_sidebar.erb_spec.rb
|
1158
1057
|
- spec/views/catalog/_show_tools.html.erb_spec.rb
|
1159
1058
|
- spec/views/catalog/_sort_and_per_page.html.erb_spec.rb
|
1160
1059
|
- spec/views/catalog/_sort_widget.html.erb_spec.rb
|
1161
|
-
- spec/views/catalog/_thumbnail.html.erb_spec.rb
|
1162
1060
|
- spec/views/catalog/_view_type_group.html.erb_spec.rb
|
1163
1061
|
- spec/views/catalog/email_success.html.erb_spec.rb
|
1164
1062
|
- spec/views/catalog/facet.html.erb_spec.rb
|