avo 2.14.3.pre.7.polytranslations1 → 2.15.0
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 +1 -3
- data/app/assets/stylesheets/avo.base.css +1 -34
- data/app/assets/stylesheets/css/fields/progress.css +3 -3
- data/app/assets/stylesheets/css/fields/trix.css +10 -0
- data/app/assets/stylesheets/css/pagination.css +0 -4
- data/app/assets/stylesheets/css/search.css +1 -1
- data/app/assets/stylesheets/css/sidebar.css +1 -1
- data/app/assets/stylesheets/css/tags.css +7 -0
- data/app/assets/svgs/failed_to_load.svg +4 -5
- data/app/assets/svgs/grid-empty-state.svg +10 -11
- data/app/assets/svgs/table-empty-state.svg +11 -12
- data/app/components/avo/actions_component.html.erb +2 -2
- data/app/components/avo/actions_component.rb +1 -1
- data/app/components/avo/button_component.rb +2 -2
- data/app/components/avo/fields/boolean_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/common/progress_bar_component.html.erb +1 -1
- data/app/components/avo/fields/common/progress_bar_component.rb +11 -1
- data/app/components/avo/fields/progress_bar_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/progress_bar_field/show_component.html.erb +1 -1
- data/app/components/avo/fields/tags_field/edit_component.html.erb +1 -1
- data/app/components/avo/index/resource_grid_component.html.erb +2 -1
- data/app/components/avo/index/resource_table_component.html.erb +2 -1
- data/app/components/avo/profile_item_component.html.erb +1 -1
- data/app/components/avo/sidebar_component.html.erb +1 -1
- data/app/components/avo/sidebar_profile_component.html.erb +1 -1
- data/app/controllers/avo/base_controller.rb +2 -2
- data/app/helpers/avo/resources_helper.rb +20 -16
- data/app/javascript/avo.base.js +0 -1
- data/app/javascript/js/controllers/action_controller.js +6 -1
- data/app/javascript/js/controllers/fields/trix_field_controller.js +4 -3
- data/app/javascript/js/controllers/item_select_all_controller.js +16 -9
- data/app/javascript/js/controllers/item_selector_controller.js +1 -1
- data/app/views/avo/actions/show.html.erb +2 -2
- data/app/views/avo/associations/new.html.erb +2 -2
- data/app/views/avo/base/_multiple_select_filter.html.erb +1 -1
- data/app/views/avo/base/_text_filter.html.erb +1 -1
- data/app/views/avo/partials/_branding.html.erb +5 -0
- data/app/views/avo/partials/_header.html.erb +1 -1
- data/app/views/avo/partials/_logo.html.erb +2 -2
- data/app/views/avo/private/_links_and_buttons.html.erb +1 -1
- data/app/views/avo/private/design.html.erb +3 -3
- data/app/views/layouts/avo/application.html.erb +2 -0
- data/lib/avo/configuration/branding.rb +70 -0
- data/lib/avo/configuration.rb +5 -0
- data/lib/avo/dashboards/chartkick_card.rb +1 -1
- data/lib/avo/licensing/pro_license.rb +1 -0
- data/lib/avo/services/encryption_service.rb +1 -1
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/initializer/avo.tt +15 -0
- data/public/avo-assets/avo.base.css +310 -284
- data/public/avo-assets/avo.base.js +3 -3
- data/public/avo-assets/avo.base.js.map +2 -2
- metadata +6 -13
- data/app/components/avo/button_component.html.erb +0 -1
- data/app/helpers/avo/actions_helper.rb +0 -4
- data/app/helpers/avo/attachments_helper.rb +0 -4
- data/app/views/kaminari/_first_page.html.erb +0 -3
- data/app/views/kaminari/_last_page.html.erb +0 -3
- data/app/views/kaminari/_next_page.html.erb +0 -9
- data/app/views/kaminari/_page.html.erb +0 -12
- data/app/views/kaminari/_prev_page.html.erb +0 -9
- data/config/master.key +0 -1
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-09-
|
12
|
+
date: 2022-09-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -1384,7 +1384,6 @@ files:
|
|
1384
1384
|
- app/components/avo/base_component.rb
|
1385
1385
|
- app/components/avo/blank_field_component.html.erb
|
1386
1386
|
- app/components/avo/blank_field_component.rb
|
1387
|
-
- app/components/avo/button_component.html.erb
|
1388
1387
|
- app/components/avo/button_component.rb
|
1389
1388
|
- app/components/avo/card_component.html.erb
|
1390
1389
|
- app/components/avo/card_component.rb
|
@@ -1643,9 +1642,7 @@ files:
|
|
1643
1642
|
- app/controllers/avo/resources_controller.rb
|
1644
1643
|
- app/controllers/avo/search_controller.rb
|
1645
1644
|
- app/controllers/avo/team_users_controller.rb
|
1646
|
-
- app/helpers/avo/actions_helper.rb
|
1647
1645
|
- app/helpers/avo/application_helper.rb
|
1648
|
-
- app/helpers/avo/attachments_helper.rb
|
1649
1646
|
- app/helpers/avo/resources_helper.rb
|
1650
1647
|
- app/helpers/avo/url_helpers.rb
|
1651
1648
|
- app/javascript/avo.base.js
|
@@ -1713,6 +1710,7 @@ files:
|
|
1713
1710
|
- app/views/avo/home/failed_to_load.html copy.erb
|
1714
1711
|
- app/views/avo/home/failed_to_load.html.erb
|
1715
1712
|
- app/views/avo/home/index.html.erb
|
1713
|
+
- app/views/avo/partials/_branding.html.erb
|
1716
1714
|
- app/views/avo/partials/_custom_tools_alert.html.erb
|
1717
1715
|
- app/views/avo/partials/_footer.html.erb
|
1718
1716
|
- app/views/avo/partials/_global_search.html.erb
|
@@ -1731,11 +1729,6 @@ files:
|
|
1731
1729
|
- app/views/avo/private/design.html.erb
|
1732
1730
|
- app/views/avo/sidebar/_license_warning.html.erb
|
1733
1731
|
- app/views/avo/sidebar/_license_warnings.html.erb
|
1734
|
-
- app/views/kaminari/_first_page.html.erb
|
1735
|
-
- app/views/kaminari/_last_page.html.erb
|
1736
|
-
- app/views/kaminari/_next_page.html.erb
|
1737
|
-
- app/views/kaminari/_page.html.erb
|
1738
|
-
- app/views/kaminari/_prev_page.html.erb
|
1739
1732
|
- app/views/layouts/avo/_filter_wrapper.html.erb
|
1740
1733
|
- app/views/layouts/avo/application.html.erb
|
1741
1734
|
- avo.gemspec
|
@@ -1749,7 +1742,6 @@ files:
|
|
1749
1742
|
- config/cable.yml
|
1750
1743
|
- config/credentials.yml.enc
|
1751
1744
|
- config/initializers/pagy.rb
|
1752
|
-
- config/master.key
|
1753
1745
|
- config/routes.rb
|
1754
1746
|
- config/spring.rb
|
1755
1747
|
- db/factories.rb
|
@@ -1769,6 +1761,7 @@ files:
|
|
1769
1761
|
- lib/avo/concerns/is_resource_item.rb
|
1770
1762
|
- lib/avo/concerns/model_class_constantized.rb
|
1771
1763
|
- lib/avo/configuration.rb
|
1764
|
+
- lib/avo/configuration/branding.rb
|
1772
1765
|
- lib/avo/configuration/resource_configuration.rb
|
1773
1766
|
- lib/avo/dashboards/base_dashboard.rb
|
1774
1767
|
- lib/avo/dashboards/base_divider.rb
|
@@ -1981,9 +1974,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1981
1974
|
version: 2.4.0
|
1982
1975
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1983
1976
|
requirements:
|
1984
|
-
- - "
|
1977
|
+
- - ">="
|
1985
1978
|
- !ruby/object:Gem::Version
|
1986
|
-
version:
|
1979
|
+
version: '0'
|
1987
1980
|
requirements: []
|
1988
1981
|
rubygems_version: 3.3.3
|
1989
1982
|
signing_key:
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= output %>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<span class="first">
|
2
|
-
<%= link_to_unless current_page.first?, t('views.pagination.first').html_safe, url, remote: remote, class: 'relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150' %>
|
3
|
-
</span>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<span class="last">
|
2
|
-
<%= link_to_unless current_page.last?, t('views.pagination.last').html_safe, url, remote: remote, class: 'ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm leading-5 font-medium rounded-md text-gray-700 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150' %>
|
3
|
-
</span>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<% if !current_page.last? %>
|
2
|
-
<%= link_to url, :id => 'pnnext',:remote => remote do %>
|
3
|
-
<button type="button" class="-ml-px relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm leading-5 font-medium text-gray-500 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150">
|
4
|
-
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 20 20">
|
5
|
-
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"/>
|
6
|
-
</svg>
|
7
|
-
</button>
|
8
|
-
<% end %>
|
9
|
-
<% end %>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<% url = resources_path(resource: @resource, page: page, keep_query_params: true) %>
|
2
|
-
<% if page.current? %>
|
3
|
-
<button type="button" class="hidden md:inline-flex -ml-px relative items-center px-4 py-2 border bg-gray-100 text-sm leading-5 font-medium text-gray-700 hover:text-gray-500 z-10 outline-none border-primary-300 active:bg-gray-100 transition ease-in-out duration-150">
|
4
|
-
<%= page %>
|
5
|
-
</button>
|
6
|
-
<% else %>
|
7
|
-
<%= link_to url, :remote => remote do %>
|
8
|
-
<button type="button" class="hidden md:inline-flex -ml-px relative items-center px-4 py-2 border border-gray-300 bg-white text-sm leading-5 font-medium text-gray-700 hover:text-gray-500 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-700 transition ease-in-out duration-150">
|
9
|
-
<%= page %>
|
10
|
-
</button>
|
11
|
-
<% end %>
|
12
|
-
<% end %>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<% if !current_page.first? %>
|
2
|
-
<%= link_to url, :id => 'pnprev', :remote => remote do %>
|
3
|
-
<button type="button" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm leading-5 font-medium text-gray-500 hover:text-gray-400 focus:z-10 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-100 active:text-gray-500 transition ease-in-out duration-150">
|
4
|
-
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 20 20">
|
5
|
-
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd"/>
|
6
|
-
</svg>
|
7
|
-
</button>
|
8
|
-
<% end %>
|
9
|
-
<% end %>
|
data/config/master.key
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2aeb23d82b909d9c6b5abb62f7058c2a
|