blacklight-spotlight 3.6.0.beta10 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spotlight/spotlight.esm.js +30 -30
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +30 -30
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +0 -8
- data/app/assets/stylesheets/spotlight/_blacklight_overrides.scss +2 -1
- data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +0 -5
- data/app/assets/stylesheets/spotlight/_catalog.scss +6 -3
- data/app/assets/stylesheets/spotlight/_mixins.scss +2 -1
- data/app/assets/stylesheets/spotlight/_pages.scss +2 -1
- data/app/assets/stylesheets/spotlight/_report_a_problem.scss +2 -1
- data/app/assets/stylesheets/spotlight/_translations.scss +0 -6
- data/app/assets/stylesheets/spotlight/_utilities.scss +0 -4
- data/app/components/spotlight/document_component.rb +1 -1
- data/app/javascript/spotlight/admin/block_mixins/plustextable.js +1 -1
- data/app/javascript/spotlight/admin/blocks/browse_block.js +2 -2
- data/app/javascript/spotlight/admin/blocks/browse_group_categories_block.js +1 -1
- data/app/javascript/spotlight/admin/blocks/oembed_block.js +1 -1
- data/app/javascript/spotlight/admin/blocks/resources_block.js +3 -3
- data/app/javascript/spotlight/admin/blocks/solr_documents_carousel_block.js +5 -5
- data/app/javascript/spotlight/admin/blocks/solr_documents_features_block.js +5 -5
- data/app/javascript/spotlight/admin/blocks/uploaded_items_block.js +5 -5
- data/app/javascript/spotlight/admin/users.js +2 -2
- data/app/javascript/spotlight/user/report_a_problem.js +1 -1
- data/app/javascript/spotlight/user/zpr_links.js +3 -3
- data/app/models/sir_trevor_rails/blocks/solr_documents_carousel_block.rb +5 -2
- data/app/models/spotlight/resources/upload.rb +2 -2
- data/app/views/catalog/_add_tags.html.erb +4 -4
- data/app/views/catalog/_bulk_actions.html.erb +2 -2
- data/app/views/catalog/_change_visibility.html.erb +3 -3
- data/app/views/catalog/_remove_tags.html.erb +5 -5
- data/app/views/catalog/_save_search.html.erb +5 -5
- data/app/views/shared/_curated_features_navbar.html.erb +1 -1
- data/app/views/shared/_exhibit_navbar.html.erb +1 -1
- data/app/views/shared/_header_navbar.html.erb +1 -1
- data/app/views/shared/_user_util_links.html.erb +2 -2
- data/app/views/spotlight/admin_users/index.html.erb +6 -6
- data/app/views/spotlight/appearances/edit.html.erb +4 -4
- data/app/views/spotlight/browse/_search_box.html.erb +2 -2
- data/app/views/spotlight/browse/index.html.erb +1 -1
- data/app/views/spotlight/browse/show.html.erb +1 -1
- data/app/views/spotlight/bulk_updates/_download.html.erb +2 -2
- data/app/views/spotlight/bulk_updates/_upload.html.erb +17 -7
- data/app/views/spotlight/bulk_updates/edit.html.erb +3 -3
- data/app/views/spotlight/catalog/_admin_header.html.erb +1 -1
- data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +1 -1
- data/app/views/spotlight/catalog/_document_visibility_control.html.erb +1 -1
- data/app/views/spotlight/catalog/_edit_default.html.erb +1 -1
- data/app/views/spotlight/contacts/_form.html.erb +3 -3
- data/app/views/spotlight/custom_fields/_form.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_text.html.erb +3 -3
- data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +3 -3
- data/app/views/spotlight/custom_search_fields/_form.html.erb +1 -1
- data/app/views/spotlight/dashboards/_analytics.html.erb +2 -2
- data/app/views/spotlight/exhibits/_contact.html.erb +1 -1
- data/app/views/spotlight/exhibits/_exhibit_card.html.erb +1 -1
- data/app/views/spotlight/exhibits/_form.html.erb +4 -4
- data/app/views/spotlight/exhibits/_import.html.erb +1 -1
- data/app/views/spotlight/exhibits/_languages.html.erb +1 -1
- data/app/views/spotlight/exhibits/edit.html.erb +6 -6
- data/app/views/spotlight/exhibits/index.html.erb +3 -3
- data/app/views/spotlight/featured_images/_form.html.erb +4 -4
- data/app/views/spotlight/featured_images/_upload_form.html.erb +3 -3
- data/app/views/spotlight/home_pages/_edit_page_link.html.erb +1 -1
- data/app/views/spotlight/job_trackers/show.html.erb +3 -3
- data/app/views/spotlight/locks/_lock.html.erb +1 -1
- data/app/views/spotlight/metadata_configurations/_metadata_field.html.erb +6 -2
- data/app/views/spotlight/pages/_edit_page_link.html.erb +1 -1
- data/app/views/spotlight/pages/_form.html.erb +8 -8
- data/app/views/spotlight/pages/_order_pages.html.erb +1 -1
- data/app/views/spotlight/pages/_view_type_group.html.erb +1 -1
- data/app/views/spotlight/resources/_external_resources_form.html.erb +1 -0
- data/app/views/spotlight/resources/_form.html.erb +1 -1
- data/app/views/spotlight/resources/csv_upload/_form.html.erb +1 -1
- data/app/views/spotlight/resources/iiif/_form.html.erb +1 -1
- data/app/views/spotlight/resources/json_upload/_form.html.erb +1 -1
- data/app/views/spotlight/resources/new.html.erb +1 -0
- data/app/views/spotlight/resources/upload/_form.html.erb +1 -1
- data/app/views/spotlight/roles/index.html.erb +4 -4
- data/app/views/spotlight/search_configurations/_default_per_page.html.erb +1 -1
- data/app/views/spotlight/search_configurations/_document_index_view_types.html.erb +7 -2
- data/app/views/spotlight/search_configurations/_facets.html.erb +1 -1
- data/app/views/spotlight/search_configurations/edit.html.erb +3 -3
- data/app/views/spotlight/searches/_form.html.erb +6 -6
- data/app/views/spotlight/searches/index.html.erb +4 -4
- data/app/views/spotlight/shared/_dd3_item.html.erb +2 -2
- data/app/views/spotlight/shared/_exhibit_sidebar.html.erb +1 -1
- data/app/views/spotlight/shared/_locale_picker.html.erb +1 -1
- data/app/views/spotlight/shared/_report_a_problem.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_browse_group_categories_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +4 -4
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +1 -1
- data/app/views/spotlight/sites/_exhibit.html.erb +4 -4
- data/app/views/spotlight/sites/edit.html.erb +2 -2
- data/app/views/spotlight/sites/edit_exhibits.html.erb +4 -4
- data/app/views/spotlight/tags/index.html.erb +1 -1
- data/app/views/spotlight/translations/_browse_categories.html.erb +8 -8
- data/app/views/spotlight/translations/_general.html.erb +18 -18
- data/app/views/spotlight/translations/_groups.html.erb +1 -1
- data/app/views/spotlight/translations/_import.html.erb +31 -18
- data/app/views/spotlight/translations/_metadata.html.erb +6 -6
- data/app/views/spotlight/translations/_page.html.erb +1 -1
- data/app/views/spotlight/translations/_search_fields.html.erb +9 -9
- data/app/views/spotlight/translations/edit.html.erb +6 -6
- data/config/locales/spotlight.en.yml +7 -2
- data/lib/generators/spotlight/templates/catalog_controller.rb +4 -0
- data/lib/spotlight/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-tagsinput.js +1 -1
- data/vendor/assets/javascripts/sir-trevor.js +1 -1
- metadata +12 -6
@@ -1,24 +1,37 @@
|
|
1
1
|
<% if can? :import_translations, Spotlight::Exhibit %>
|
2
|
-
<div class="row
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
2
|
+
<div class="row">
|
3
|
+
<div class="col-md-12 mb-5">
|
4
|
+
<h2><%= t(:'.header') %></h2>
|
5
|
+
<p class="instructions"><%= t(:'.description') %></p>
|
6
|
+
<%= bootstrap_form_for current_exhibit, url: spotlight.import_exhibit_translations_path(current_exhibit), html: { class: 'mb-3', multipart: true } do |f| %>
|
7
|
+
<div class="container-fluid">
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-12 col-md-3 text-md-right text-md-end">
|
10
|
+
<%= f.label :value, t(".import_label"), class: 'col-form-label' %>
|
11
|
+
</div>
|
12
|
+
<div class="col-12 col-md-9">
|
13
|
+
<div class="input-group">
|
14
|
+
<%= file_field_tag :file, class: 'form-control' %>
|
15
|
+
<%= hidden_field_tag :tab, 'import', id: nil %>
|
16
|
+
<div class="input-group-append">
|
17
|
+
<%= f.submit t(:'.import_submit'), class: 'btn btn-primary' %>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<% end %>
|
24
|
+
<div class="container-fluid">
|
25
|
+
<div class="row">
|
26
|
+
<div class="col-form-label col-12 col-md-3 text-md-right text-md-end">
|
27
|
+
<%= content_tag :span, t(".export_label") %>
|
28
|
+
</div>
|
29
|
+
<div class="col-12 col-md-9">
|
30
|
+
<%= link_to t(:'.export_current_locale', language: t(:"locales.#{@language}")), spotlight.exhibit_translations_path(current_exhibit, format: "yaml", locale: @language), class: 'btn btn-primary mr-3 me-3' %>
|
31
|
+
<%= link_to t(:'.export_default_locale', language: t(:"locales.#{I18n.default_locale}")), spotlight.exhibit_translations_path(current_exhibit, format: "yaml", locale: I18n.default_locale), class: 'btn btn-primary' %>
|
32
|
+
</div>
|
14
33
|
</div>
|
15
34
|
</div>
|
16
|
-
<% end %>
|
17
|
-
<div class="row col-md-12 align-items-center">
|
18
|
-
<%= content_tag :span, t(".export_label"), class: 'col-form-label col-12 col-sm-3 pl-0 translation-import-export-label' %>
|
19
|
-
|
20
|
-
<%= link_to t(:'.export_current_locale', language: t(:"locales.#{@language}")), spotlight.exhibit_translations_path(current_exhibit, format: "yaml", locale: @language), class: 'btn btn-primary mr-3' %>
|
21
|
-
<%= link_to t(:'.export_default_locale', language: t(:"locales.#{I18n.default_locale}")), spotlight.exhibit_translations_path(current_exhibit, format: "yaml", locale: I18n.default_locale), class: 'btn btn-primary' %>
|
22
35
|
</div>
|
23
36
|
</div>
|
24
37
|
<% end %>
|
@@ -10,13 +10,13 @@
|
|
10
10
|
<%= translation_fields.hidden_field :key %>
|
11
11
|
<%= translation_fields.hidden_field :locale %>
|
12
12
|
|
13
|
-
<div data-translation-progress-item='true' class='row form-group translation-form'>
|
13
|
+
<div data-translation-progress-item='true' class='row form-group mb-3 translation-form'>
|
14
14
|
<%= translation_fields.label :value, t("spotlight.search.fields.#{key}", default: field_config.label, locale: I18n.default_locale), class: 'col-form-label col-12 col-sm-2' %>
|
15
15
|
<div class='col-11 col-sm-9 card card-body panel-translation'>
|
16
16
|
<%= translation_fields.text_field_without_bootstrap :value, class: 'form-control' %>
|
17
|
-
<
|
17
|
+
<div class="form-text text-muted mb-3">
|
18
18
|
<%= field_config.label %>
|
19
|
-
</
|
19
|
+
</div>
|
20
20
|
</div>
|
21
21
|
<div class='col-1'>
|
22
22
|
<% if translation.value.present? %>
|
@@ -41,13 +41,13 @@
|
|
41
41
|
<%= translation_fields.hidden_field :key %>
|
42
42
|
<%= translation_fields.hidden_field :locale %>
|
43
43
|
|
44
|
-
<div data-translation-progress-item='true' class='row form-group translation-form'>
|
44
|
+
<div data-translation-progress-item='true' class='row form-group mb-3 translation-form'>
|
45
45
|
<%= translation_fields.label :value, t("spotlight.search.fields.#{custom_field.field}", default: custom_field.configuration['label'], locale: I18n.default_locale), class: 'col-form-label col-12 col-sm-2' %>
|
46
46
|
<div class='col-11 col-sm-9 card card-body panel-translation'>
|
47
47
|
<%= translation_fields.text_field_without_bootstrap :value, class: 'form-control' %>
|
48
|
-
<
|
48
|
+
<div class="form-text text-muted mb-3">
|
49
49
|
<%= custom_field.configuration['label'] %>
|
50
|
-
</
|
50
|
+
</div>
|
51
51
|
</div>
|
52
52
|
<div class='col-1'>
|
53
53
|
<% if translation.value.present? %>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<td class="text-center">
|
31
31
|
<%= f.fields_for :pages, translated_page do |p| %>
|
32
32
|
<%= p.hidden_field :id %>
|
33
|
-
<%= p.label :published, class: 'sr-only' %>
|
33
|
+
<%= p.label :published, class: 'sr-only visually-hidden' %>
|
34
34
|
<%= p.check_box_without_bootstrap :published, disabled: p.object.home_page? %>
|
35
35
|
<% end if translated_page %>
|
36
36
|
</td>
|
@@ -14,13 +14,13 @@
|
|
14
14
|
<%= f.fields_for :translations, translation do |translation_fields| %>
|
15
15
|
<%= translation_fields.hidden_field :key %>
|
16
16
|
<%= translation_fields.hidden_field :locale %>
|
17
|
-
<div data-translation-progress-item='true' class='row form-group translation-form'>
|
17
|
+
<div data-translation-progress-item='true' class='row form-group mb-3 translation-form'>
|
18
18
|
<%= translation_fields.label :value, t("spotlight.search.fields.search.#{key}", locale: I18n.default_locale), class: 'col-form-label col-12 col-sm-2' %>
|
19
19
|
<div class='col-11 col-sm-9 card card-body panel-translation'>
|
20
20
|
<%= translation_fields.text_field_without_bootstrap :value, class: 'form-control' %>
|
21
|
-
<
|
21
|
+
<div class="form-text text-muted mb-3">
|
22
22
|
<%= search_config.label %>
|
23
|
-
</
|
23
|
+
</div>
|
24
24
|
</div>
|
25
25
|
<div class='col-1'>
|
26
26
|
<% if translation.value.present? %>
|
@@ -44,13 +44,13 @@
|
|
44
44
|
<%= f.fields_for :translations, translation do |translation_fields| %>
|
45
45
|
<%= translation_fields.hidden_field :key %>
|
46
46
|
<%= translation_fields.hidden_field :locale %>
|
47
|
-
<div data-translation-progress-item='true' class='row form-group translation-form'>
|
47
|
+
<div data-translation-progress-item='true' class='row form-group mb-3 translation-form'>
|
48
48
|
<%= translation_fields.label :value, t("spotlight.search.fields.facet.#{key}", locale: I18n.default_locale), class: 'col-form-label col-12 col-sm-2' %>
|
49
49
|
<div class='col-11 col-sm-9 card card-body panel-translation'>
|
50
50
|
<%= translation_fields.text_field_without_bootstrap :value, class: 'form-control' %>
|
51
|
-
<
|
51
|
+
<div class="form-text text-muted mb-3">
|
52
52
|
<%= facet_config.label %>
|
53
|
-
</
|
53
|
+
</div>
|
54
54
|
</div>
|
55
55
|
<div class='col-1'>
|
56
56
|
<% if translation.value.present? %>
|
@@ -74,13 +74,13 @@
|
|
74
74
|
<%= f.fields_for :translations, translation do |translation_fields| %>
|
75
75
|
<%= translation_fields.hidden_field :key %>
|
76
76
|
<%= translation_fields.hidden_field :locale %>
|
77
|
-
<div data-translation-progress-item='true' class='row form-group translation-form'>
|
77
|
+
<div data-translation-progress-item='true' class='row form-group mb-3 translation-form'>
|
78
78
|
<%= translation_fields.label :value, t("spotlight.search.fields.sort.#{key}", locale: I18n.default_locale), class: 'col-form-label col-12 col-sm-2' %>
|
79
79
|
<div class='col-11 col-sm-9 card card-body panel-translation'>
|
80
80
|
<%= translation_fields.text_field_without_bootstrap :value, class: 'form-control' %>
|
81
|
-
<
|
81
|
+
<div class="form-text text-muted mb-3">
|
82
82
|
<%= sort_config.label %>
|
83
|
-
</
|
83
|
+
</div>
|
84
84
|
</div>
|
85
85
|
<div class='col-1'>
|
86
86
|
<% if translation.value.present? %>
|
@@ -22,32 +22,32 @@
|
|
22
22
|
<div role="tabpanel">
|
23
23
|
<ul class='nav nav-tabs' role="tablist">
|
24
24
|
<li role="presentation" class="nav-item">
|
25
|
-
<a href='#general' class="nav-link <%= 'active' if @tab.blank? %>" aria-controls="general" role="tab" data-toggle="tab" data-behavior="translation-progress">
|
25
|
+
<a href='#general' class="nav-link <%= 'active' if @tab.blank? %>" aria-controls="general" role="tab" data-toggle="tab" data-bs-toggle="tab" data-behavior="translation-progress">
|
26
26
|
<%= t('spotlight.translations.general.label') %> <span class="badge"></span>
|
27
27
|
</a>
|
28
28
|
</li>
|
29
29
|
<li class="nav-item">
|
30
|
-
<a href="#metadata" class="nav-link <%= 'active' if @tab == 'metadata' %>" aria-controls="metadata" role="tab" data-toggle="tab" data-behavior="translation-progress">
|
30
|
+
<a href="#metadata" class="nav-link <%= 'active' if @tab == 'metadata' %>" aria-controls="metadata" role="tab" data-toggle="tab" data-bs-toggle="tab" data-behavior="translation-progress">
|
31
31
|
<%= t('spotlight.translations.metadata.label') %> <span class="badge"></span>
|
32
32
|
</a>
|
33
33
|
</li>
|
34
34
|
<li class="nav-item" >
|
35
|
-
<a href="#search_fields" class="nav-link <%= 'active' if @tab == 'search_fields' %>" aria-controls="search_fields" role="tab" data-toggle="tab" data-behavior="translation-progress">
|
35
|
+
<a href="#search_fields" class="nav-link <%= 'active' if @tab == 'search_fields' %>" aria-controls="search_fields" role="tab" data-toggle="tab" data-bs-toggle="tab" data-behavior="translation-progress">
|
36
36
|
<%= t('spotlight.translations.search_fields.label') %> <span class="badge"></span>
|
37
37
|
</a>
|
38
38
|
</li>
|
39
39
|
<li class="nav-item">
|
40
|
-
<a href="#browse" class="nav-link <%= 'active' if @tab == 'browse' %>" aria-controls="browse" role="tab" data-toggle="tab" data-behavior="translation-progress">
|
40
|
+
<a href="#browse" class="nav-link <%= 'active' if @tab == 'browse' %>" aria-controls="browse" role="tab" data-toggle="tab" data-bs-toggle="tab" data-behavior="translation-progress">
|
41
41
|
<%= t('spotlight.translations.browse_categories.label') %> <span class="badge"></span>
|
42
42
|
</a>
|
43
43
|
</li>
|
44
44
|
<li class="nav-item">
|
45
|
-
<a href="#groups" class="nav-link <%= 'active' if @tab == 'groups' %>" aria-controls="groups" role="tab" data-toggle="tab" data-behavior="translation-progress">
|
45
|
+
<a href="#groups" class="nav-link <%= 'active' if @tab == 'groups' %>" aria-controls="groups" role="tab" data-toggle="tab" data-bs-toggle="tab" data-behavior="translation-progress">
|
46
46
|
<%= t('spotlight.translations.groups.label') %> <span class="badge"></span>
|
47
47
|
</a>
|
48
48
|
</li>
|
49
49
|
<li class="nav-item">
|
50
|
-
<a href="#pages" class="nav-link <%= 'active' if @tab == 'pages' %>" aria-controls="pages" role="tab" data-toggle="tab" data-behavior="translation-progress">
|
50
|
+
<a href="#pages" class="nav-link <%= 'active' if @tab == 'pages' %>" aria-controls="pages" role="tab" data-toggle="tab" data-bs-toggle="tab" data-behavior="translation-progress">
|
51
51
|
<%= t('spotlight.translations.pages.label') %> <span class="badge"></span>
|
52
52
|
</a>
|
53
53
|
</li>
|
@@ -1,5 +1,10 @@
|
|
1
1
|
---
|
2
2
|
en:
|
3
|
+
activemodel:
|
4
|
+
attributes:
|
5
|
+
spotlight/contact_form:
|
6
|
+
email: Your email
|
7
|
+
name: Your name
|
3
8
|
activerecord:
|
4
9
|
attributes:
|
5
10
|
spotlight/contact:
|
@@ -932,9 +937,9 @@ en:
|
|
932
937
|
one: "%{count} item"
|
933
938
|
other: "%{count} items"
|
934
939
|
solr_documents_block:
|
935
|
-
zpr_link_html: View <span class="sr-only">%{title}</span> larger
|
940
|
+
zpr_link_html: View <span class="sr-only visually-hidden">%{title}</span> larger
|
936
941
|
uploaded_items_block:
|
937
|
-
zpr_link_html: View <span class="sr-only">%{title}</span> larger
|
942
|
+
zpr_link_html: View <span class="sr-only visually-hidden">%{title}</span> larger
|
938
943
|
sites:
|
939
944
|
edit:
|
940
945
|
basic_settings:
|
@@ -19,6 +19,10 @@ class CatalogController < ApplicationController
|
|
19
19
|
# solr field configuration for search results/index views
|
20
20
|
config.index.title_field = 'full_title_tesim'
|
21
21
|
|
22
|
+
config.add_results_collection_tool(:sort_widget)
|
23
|
+
config.add_results_collection_tool(:per_page_widget)
|
24
|
+
config.add_results_collection_tool(:view_type_group)
|
25
|
+
|
22
26
|
config.add_search_field 'all_fields', label: I18n.t('spotlight.search.fields.search.all_fields')
|
23
27
|
|
24
28
|
config.add_sort_field 'relevance', sort: 'score desc', label: I18n.t('spotlight.search.fields.sort.relevance')
|
data/lib/spotlight/version.rb
CHANGED
@@ -29,7 +29,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
29
29
|
|
30
30
|
var defaultOptions = {
|
31
31
|
tagClass: function(item) {
|
32
|
-
return 'badge badge-info';
|
32
|
+
return 'badge badge-info bg-info';
|
33
33
|
},
|
34
34
|
itemValue: function(item) {
|
35
35
|
return item ? item.toString() : item;
|
@@ -5647,7 +5647,7 @@ Object.assign(Block.prototype, SimpleBlock.fn, __webpack_require__(84), {
|
|
5647
5647
|
} else if (input.getAttribute('type') === 'checkbox') {
|
5648
5648
|
var value = "";
|
5649
5649
|
|
5650
|
-
if (input.getAttribute('data-toggle')) {
|
5650
|
+
if (input.getAttribute('data-toggle') || input.getAttribute('data-bs-toggle')) {
|
5651
5651
|
value = "off";
|
5652
5652
|
|
5653
5653
|
if (input.checked === true) {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight-spotlight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2024-08-
|
14
|
+
date: 2024-08-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activejob-status
|
@@ -105,16 +105,22 @@ dependencies:
|
|
105
105
|
name: bootstrap_form
|
106
106
|
requirement: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '4.1'
|
111
|
+
- - "<"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '6'
|
111
114
|
type: :runtime
|
112
115
|
prerelease: false
|
113
116
|
version_requirements: !ruby/object:Gem::Requirement
|
114
117
|
requirements:
|
115
|
-
- - "
|
118
|
+
- - ">="
|
116
119
|
- !ruby/object:Gem::Version
|
117
120
|
version: '4.1'
|
121
|
+
- - "<"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '6'
|
118
124
|
- !ruby/object:Gem::Dependency
|
119
125
|
name: breadcrumbs_on_rails
|
120
126
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1562,9 +1568,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1562
1568
|
version: '2.6'
|
1563
1569
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1564
1570
|
requirements:
|
1565
|
-
- - "
|
1571
|
+
- - ">="
|
1566
1572
|
- !ruby/object:Gem::Version
|
1567
|
-
version:
|
1573
|
+
version: '0'
|
1568
1574
|
requirements: []
|
1569
1575
|
rubygems_version: 3.4.19
|
1570
1576
|
signing_key:
|