avo 2.6.0 → 2.7.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 +2 -0
- data/Gemfile.lock +3 -1
- data/app/assets/svgs/heroicons/solid/user-remove.svg +1 -1
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +3 -0
- data/app/components/avo/fields/has_one_field/show_component.html.erb +2 -2
- data/app/components/avo/fields/tags_field/index_component.html.erb +1 -1
- data/app/components/avo/index/resource_controls_component.rb +2 -1
- data/app/components/avo/paginator_component.html.erb +2 -2
- data/app/components/avo/resource_component.rb +7 -0
- data/app/components/avo/sidebar_component.html.erb +1 -1
- data/app/components/avo/views/resource_edit_component.html.erb +5 -0
- data/app/components/avo/views/resource_edit_component.rb +9 -3
- data/app/components/avo/views/resource_show_component.html.erb +7 -2
- data/app/components/avo/views/resource_show_component.rb +5 -2
- data/app/controllers/avo/search_controller.rb +33 -13
- data/app/javascript/js/controllers/search_controller.js +9 -1
- data/app/views/avo/partials/_custom_tools_alert.html.erb +16 -5
- data/app/views/avo/partials/_global_search.html.erb +1 -1
- data/app/views/avo/partials/_resource_search.html.erb +1 -1
- data/app/views/layouts/avo/application.html.erb +1 -1
- data/lib/avo/app.rb +2 -0
- data/lib/avo/base_resource.rb +1 -0
- data/lib/avo/base_resource_tool.rb +34 -0
- data/lib/avo/concerns/has_tools.rb +47 -0
- data/lib/avo/engine.rb +2 -1
- data/lib/avo/hosts/base_host.rb +2 -0
- data/lib/avo/licensing/pro_license.rb +1 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/install_generator.rb +3 -0
- data/lib/generators/avo/resource_tool_generator.rb +40 -0
- data/lib/generators/avo/templates/resource_tools/partial.tt +37 -0
- data/lib/generators/avo/templates/resource_tools/resource_tool.tt +4 -0
- data/public/avo-assets/avo.css +4 -8
- data/public/avo-assets/avo.js +1 -1
- data/public/avo-assets/avo.js.map +2 -2
- metadata +7 -2
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.7.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-05-
|
12
|
+
date: 2022-05-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -1159,8 +1159,10 @@ files:
|
|
1159
1159
|
- lib/avo/base_action.rb
|
1160
1160
|
- lib/avo/base_card.rb
|
1161
1161
|
- lib/avo/base_resource.rb
|
1162
|
+
- lib/avo/base_resource_tool.rb
|
1162
1163
|
- lib/avo/concerns/fetches_things.rb
|
1163
1164
|
- lib/avo/concerns/handles_field_args.rb
|
1165
|
+
- lib/avo/concerns/has_tools.rb
|
1164
1166
|
- lib/avo/configuration.rb
|
1165
1167
|
- lib/avo/dashboards/base_dashboard.rb
|
1166
1168
|
- lib/avo/dashboards/base_divider.rb
|
@@ -1256,6 +1258,7 @@ files:
|
|
1256
1258
|
- lib/generators/avo/metric_card_generator.rb
|
1257
1259
|
- lib/generators/avo/partial_card_generator.rb
|
1258
1260
|
- lib/generators/avo/resource_generator.rb
|
1261
|
+
- lib/generators/avo/resource_tool_generator.rb
|
1259
1262
|
- lib/generators/avo/templates/action.tt
|
1260
1263
|
- lib/generators/avo/templates/cards/chartkick_card.tt
|
1261
1264
|
- lib/generators/avo/templates/cards/chartkick_card_sample.tt
|
@@ -1283,6 +1286,8 @@ files:
|
|
1283
1286
|
- lib/generators/avo/templates/locales/avo.ro.yml
|
1284
1287
|
- lib/generators/avo/templates/resource/controller.tt
|
1285
1288
|
- lib/generators/avo/templates/resource/resource.tt
|
1289
|
+
- lib/generators/avo/templates/resource_tools/partial.tt
|
1290
|
+
- lib/generators/avo/templates/resource_tools/resource_tool.tt
|
1286
1291
|
- lib/generators/avo/templates/standalone_action.tt
|
1287
1292
|
- lib/generators/avo/templates/tool/controller.tt
|
1288
1293
|
- lib/generators/avo/templates/tool/sidebar_item.tt
|