avo 1.19.1.pre.10 → 1.20.2.pre.2
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 +3 -1
- data/Gemfile.lock +5 -3
- data/app/assets/builds/avo.css +16 -0
- data/app/assets/builds/avo.js +317 -234
- data/app/assets/builds/avo.js.map +2 -2
- data/app/assets/svgs/x.svg +3 -0
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +22 -0
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.rb +33 -0
- data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +39 -33
- data/app/components/avo/fields/common/files_list_viewer_component.html.erb +1 -1
- data/app/components/avo/fields/common/multiple_file_viewer_component.html.erb +2 -0
- data/app/components/avo/fields/common/multiple_file_viewer_component.rb +2 -1
- data/app/components/avo/fields/common/single_file_viewer_component.html.erb +2 -0
- data/app/components/avo/fields/common/single_file_viewer_component.rb +2 -1
- data/app/components/avo/fields/file_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/file_field/index_component.html.erb +3 -1
- data/app/components/avo/fields/file_field/show_component.html.erb +1 -1
- data/app/components/avo/resource_component.rb +1 -0
- data/app/components/avo/views/resource_edit_component.html.erb +5 -2
- data/app/components/avo/views/resource_index_component.html.erb +3 -3
- data/app/components/avo/views/resource_index_component.rb +8 -0
- data/app/components/avo/views/resource_new_component.html.erb +8 -1
- data/app/controllers/avo/application_controller.rb +11 -14
- data/app/controllers/avo/base_controller.rb +1 -5
- data/app/controllers/avo/relations_controller.rb +4 -4
- data/app/controllers/avo/search_controller.rb +0 -1
- data/app/javascript/js/controllers/fields/belongs_to_field_controller.js +96 -33
- data/app/javascript/js/controllers/search_controller.js +83 -17
- data/app/views/avo/partials/_global_search.html.erb +0 -1
- data/app/views/avo/partials/_javascript.html.erb +1 -0
- data/app/views/avo/partials/_resource_search.html.erb +0 -1
- data/db/factories.rb +12 -0
- data/lib/avo/fields/base_field.rb +1 -1
- data/lib/avo/fields/belongs_to_field.rb +19 -2
- data/lib/avo/fields/file_field.rb +2 -0
- data/lib/avo/fields/files_field.rb +2 -0
- data/lib/avo/licensing/pro_license.rb +2 -1
- data/lib/avo/services/authorization_service.rb +3 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/locales/avo.en.yml +1 -0
- data/public/avo-assets/avo.css +16 -0
- data/public/avo-assets/avo.js +317 -234
- data/public/avo-assets/avo.js.map +2 -2
- metadata +5 -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: 1.
|
4
|
+
version: 1.20.2.pre.2
|
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-02-
|
12
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -273,12 +273,15 @@ files:
|
|
273
273
|
- app/assets/svgs/view-list.svg
|
274
274
|
- app/assets/svgs/x-circle-sm.svg
|
275
275
|
- app/assets/svgs/x-circle.svg
|
276
|
+
- app/assets/svgs/x.svg
|
276
277
|
- app/components/avo/edit/field_wrapper_component.html.erb
|
277
278
|
- app/components/avo/edit/field_wrapper_component.rb
|
278
279
|
- app/components/avo/fields/badge_field/index_component.html.erb
|
279
280
|
- app/components/avo/fields/badge_field/index_component.rb
|
280
281
|
- app/components/avo/fields/badge_field/show_component.html.erb
|
281
282
|
- app/components/avo/fields/badge_field/show_component.rb
|
283
|
+
- app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb
|
284
|
+
- app/components/avo/fields/belongs_to_field/autocomplete_component.rb
|
282
285
|
- app/components/avo/fields/belongs_to_field/edit_component.html.erb
|
283
286
|
- app/components/avo/fields/belongs_to_field/edit_component.rb
|
284
287
|
- app/components/avo/fields/belongs_to_field/index_component.html.erb
|