Sha256: 43c473f23e1d58ef2d6274becce1a67f0f7fd6a6bcb7747e4aa122b6ad9e690b

Contents?: true

Size: 535 Bytes

Versions: 21

Compression:

Stored size: 535 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  module Search
    class SidebarComponent < Blacklight::Component
      def initialize(blacklight_config:, response:, view_config:)
        @blacklight_config = blacklight_config
        @response = response
        @group_component_class = view_config.facet_group_component || Blacklight::Response::FacetGroupComponent
      end

      attr_reader :group_component_class, :response

      delegate :facet_group_names, :facet_fields_in_group, to: :@blacklight_config
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
blacklight-8.6.1 app/components/blacklight/search/sidebar_component.rb
blacklight-8.6.0 app/components/blacklight/search/sidebar_component.rb
blacklight-8.5.1 app/components/blacklight/search/sidebar_component.rb
blacklight-8.5.0 app/components/blacklight/search/sidebar_component.rb
blacklight-8.4.0 app/components/blacklight/search/sidebar_component.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/app/components/blacklight/search/sidebar_component.rb
blacklight-8.3.0 app/components/blacklight/search/sidebar_component.rb
blacklight-8.2.2 app/components/blacklight/search/sidebar_component.rb
blacklight-8.2.1 app/components/blacklight/search/sidebar_component.rb
blacklight-8.2.0 app/components/blacklight/search/sidebar_component.rb
blacklight-8.1.0 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.1 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.0 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.0.beta8 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.0.beta7 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.0.beta6 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.0.beta5 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.0.beta4 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.0.beta3 app/components/blacklight/search/sidebar_component.rb
blacklight-8.0.0.beta2 app/components/blacklight/search/sidebar_component.rb