Module: BlacklightRangeLimit
- Defined in:
- lib/blacklight_range_limit.rb,
lib/blacklight_range_limit/engine.rb,
lib/blacklight_range_limit/routes.rb,
lib/blacklight_range_limit/version.rb,
lib/blacklight_range_limit/route_sets.rb,
lib/blacklight_range_limit/controller_override.rb,
lib/blacklight_range_limit/range_limit_builder.rb,
lib/blacklight_range_limit/segment_calculation.rb,
app/presenters/blacklight_range_limit/filter_field.rb,
lib/blacklight_range_limit/routes/range_searchable.rb,
lib/blacklight_range_limit/facet_field_config_override.rb,
lib/generators/blacklight_range_limit/assets_generator.rb,
lib/generators/blacklight_range_limit/install_generator.rb,
app/components/blacklight_range_limit/range_form_component.rb,
app/presenters/blacklight_range_limit/facet_item_presenter.rb,
app/components/blacklight_range_limit/range_facet_component.rb,
app/presenters/blacklight_range_limit/facet_field_presenter.rb,
app/components/blacklight_range_limit/range_segments_component.rb,
lib/generators/blacklight_range_limit/jsbundling_bl7_fixup_generator.rb
Overview
FOR CI: NOT INTENDED FOR REAL APP
We hackily get a BL7 app into a state jsbundling-rails/esbuild will work with it.
May not work with all permutations of real-world apps, may do some hacks that get CI to run but would break a real app!
Defined Under Namespace
Modules: ControllerOverride, FacetFieldConfigOverride, RangeLimitBuilder, RouteSets, Routes, SegmentCalculation Classes: AssetsGenerator, Engine, FacetFieldPresenter, FacetItemPresenter, FilterField, InstallGenerator, InvalidRange, JsbundlingBl7FixupGenerator, RangeFacetComponent, RangeFormComponent, RangeSegmentsComponent
Constant Summary collapse
- VERSION =
self.version
Class Method Summary collapse
-
.config ⇒ Object
delegate for easier configability.
- .default_range_config ⇒ Object
- .version ⇒ Object
Class Method Details
.config ⇒ Object
delegate for easier configability
7 8 9 |
# File 'lib/blacklight_range_limit/engine.rb', line 7 def self.config Engine.config end |
.default_range_config ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/blacklight_range_limit.rb', line 22 def self.default_range_config { range: true, range_config: { num_segments: 10, chart_js: true, textual_facets: true, textual_facets_collapsible: true, show_missing_link: true, chart_segment_border_color: 'rgb(54, 162, 235)', chart_segment_bg_color: 'rgba(54, 162, 235, 0.5)', chart_aspect_ratio: 2, assumed_boundaries: nil, min_value: -2_147_483_648, # solr intfield min and max max_value: 2_147_483_648 }, filter_class: BlacklightRangeLimit::FilterField, presenter: BlacklightRangeLimit::FacetFieldPresenter, item_presenter: BlacklightRangeLimit::FacetItemPresenter, component: BlacklightRangeLimit::RangeFacetComponent } end |
.version ⇒ Object
3 4 5 |
# File 'lib/blacklight_range_limit/version.rb', line 3 def self.version @version ||= File.read(File.join(File.dirname(__FILE__), '..', '..', 'VERSION')).chomp end |