avo 1.12.4 → 1.13.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/app/packs/js/controllers/search_controller.js +4 -1
- data/app/views/avo/base/_filters.html.erb +4 -0
- data/app/views/avo/partials/_global_search.html.erb +1 -1
- data/app/views/avo/sidebar/_sidebar.html.erb +1 -1
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/locales/avo.en.yml +3 -0
- data/lib/generators/avo/templates/locales/avo.nb-NO.yml +2 -0
- data/lib/generators/avo/templates/locales/avo.pt-BR.yml +3 -0
- data/lib/generators/avo/templates/locales/avo.ro.yml +3 -0
- data/public/avo-packs/css/{application-7eb08582.css → application-2b4685ca.css} +4 -4
- data/public/avo-packs/css/application-2b4685ca.css.br +0 -0
- data/public/avo-packs/css/{application-7eb08582.css.gz → application-2b4685ca.css.gz} +0 -0
- data/public/avo-packs/css/{application-7eb08582.css.map → application-2b4685ca.css.map} +1 -1
- data/public/avo-packs/css/application-2b4685ca.css.map.br +0 -0
- data/public/avo-packs/css/application-2b4685ca.css.map.gz +0 -0
- data/public/avo-packs/js/application-6dbb940fca2e811fb7d5.js +26 -0
- data/public/avo-packs/js/{application-24899bdd53fce059b07e.js.LICENSE.txt → application-6dbb940fca2e811fb7d5.js.LICENSE.txt} +0 -0
- data/public/avo-packs/js/application-6dbb940fca2e811fb7d5.js.br +0 -0
- data/public/avo-packs/js/application-6dbb940fca2e811fb7d5.js.gz +0 -0
- data/public/avo-packs/js/application-6dbb940fca2e811fb7d5.js.map +1 -0
- data/public/avo-packs/js/application-6dbb940fca2e811fb7d5.js.map.br +0 -0
- data/public/avo-packs/js/application-6dbb940fca2e811fb7d5.js.map.gz +0 -0
- data/public/avo-packs/manifest.json +15 -15
- metadata +15 -15
- data/public/avo-packs/css/application-7eb08582.css.br +0 -0
- data/public/avo-packs/css/application-7eb08582.css.map.br +0 -0
- data/public/avo-packs/css/application-7eb08582.css.map.gz +0 -0
- data/public/avo-packs/js/application-24899bdd53fce059b07e.js +0 -26
- data/public/avo-packs/js/application-24899bdd53fce059b07e.js.br +0 -0
- data/public/avo-packs/js/application-24899bdd53fce059b07e.js.gz +0 -0
- data/public/avo-packs/js/application-24899bdd53fce059b07e.js.map +0 -1
- data/public/avo-packs/js/application-24899bdd53fce059b07e.js.map.br +0 -0
- data/public/avo-packs/js/application-24899bdd53fce059b07e.js.map.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f8f8a16bb27f36fe69f33aa950e7250aed0faf2f7ca7aa9e9e77058ddc95ea9
|
4
|
+
data.tar.gz: 90dceb9b36ca44a2be8382c9f285bbece7c34141280b7bb704341f1cd77a31bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc1ee697399f753ff66d1a6f4d08bb2561d1ba6daf4d25557cd6d504fdd6bb66d30c68557f5dce79d4f5463f18fb54b449bd7fc111fbddfcce0850b2ad8fc61f
|
7
|
+
data.tar.gz: a82b35d6f342e7edbaf1ec51ad67133bb33c64b4f641eefb433b00d68145545eb73ba3bd8241f9670ae395017deecc2aff19023fd2040a9f0a2183e3c7f00210
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (1.
|
4
|
+
avo (1.13.3)
|
5
5
|
active_link_to
|
6
6
|
addressable
|
7
7
|
breadcrumbs_on_rails
|
@@ -212,7 +212,7 @@ GEM
|
|
212
212
|
nokogiri (1.11.7-x86_64-linux)
|
213
213
|
racc (~> 1.4)
|
214
214
|
orm_adapter (0.5.0)
|
215
|
-
pagy (4.
|
215
|
+
pagy (4.11.0)
|
216
216
|
parallel (1.20.1)
|
217
217
|
parser (3.0.0.0)
|
218
218
|
ast (~> 2.4.1)
|
@@ -105,7 +105,10 @@ export default class extends Controller {
|
|
105
105
|
|
106
106
|
autocomplete({
|
107
107
|
container: this.autocompleteTarget,
|
108
|
-
placeholder:
|
108
|
+
placeholder: this.translationKeys.placeholder,
|
109
|
+
translations: {
|
110
|
+
detachedCancelButtonText: this.translationKeys.cancel_button,
|
111
|
+
},
|
109
112
|
openOnFocus: true,
|
110
113
|
detachedMediaQuery: '',
|
111
114
|
getSources: ({ query }) => {
|
@@ -7,7 +7,11 @@
|
|
7
7
|
'data-action': 'click->toggle-panel#togglePanel',
|
8
8
|
'data-tippy': 'tooltip' do
|
9
9
|
%>
|
10
|
+
|
10
11
|
<%= svg 'filter' %> <%= t 'avo.filters' %>
|
12
|
+
<% if params[:filters].present? %>
|
13
|
+
<div class="ml-1">(<%=JSON.parse(Base64.decode64(params[:filters])).count%> applied)</div>
|
14
|
+
<% end %>
|
11
15
|
<% end %>
|
12
16
|
|
13
17
|
<div
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="inline-block"
|
3
3
|
data-search-target="autocomplete"
|
4
4
|
data-search-resource="global"
|
5
|
-
data-translation-keys='{"no_item_found": "<%= I18n.translate 'avo.no_item_found' %>"}'
|
5
|
+
data-translation-keys='{"no_item_found": "<%= I18n.translate 'avo.no_item_found' %>", "placeholder": "<%= I18n.translate 'avo.search.placeholder' %>", "cancel_button": "<%= I18n.translate 'avo.search.cancel_button' %>"}'
|
6
6
|
data-debounce-timeout='<%= Avo.configuration.search_debounce %>'
|
7
7
|
>
|
8
8
|
</div>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
<div class="w-full">
|
14
14
|
<% Avo::App.resources_navigation(_current_user).each do |resource| %>
|
15
|
-
<%= render Avo::NavigationLinkComponent.new label: resource.
|
15
|
+
<%= render Avo::NavigationLinkComponent.new label: resource.plural_name.humanize, path: resources_path(resource.model_class) %>
|
16
16
|
<% end %>
|
17
17
|
|
18
18
|
<% sidebar_partials = Avo::App.get_sidebar_partials %>
|
data/lib/avo/version.rb
CHANGED
@@ -4848,6 +4848,9 @@ progress[value]::-moz-progress-bar {
|
|
4848
4848
|
.mr-2 {
|
4849
4849
|
margin-right: 0.5rem
|
4850
4850
|
}
|
4851
|
+
.ml-1 {
|
4852
|
+
margin-left: 0.25rem
|
4853
|
+
}
|
4851
4854
|
.mb-0 {
|
4852
4855
|
margin-bottom: 0px
|
4853
4856
|
}
|
@@ -4881,9 +4884,6 @@ progress[value]::-moz-progress-bar {
|
|
4881
4884
|
.-mt-10 {
|
4882
4885
|
margin-top: -2.5rem
|
4883
4886
|
}
|
4884
|
-
.ml-1 {
|
4885
|
-
margin-left: 0.25rem
|
4886
|
-
}
|
4887
4887
|
.mr-6 {
|
4888
4888
|
margin-right: 1.5rem
|
4889
4889
|
}
|
@@ -6246,4 +6246,4 @@ html, body{
|
|
6246
6246
|
}
|
6247
6247
|
|
6248
6248
|
|
6249
|
-
/*# sourceMappingURL=application-
|
6249
|
+
/*# sourceMappingURL=application-2b4685ca.css.map*/
|
Binary file
|