avo 2.5.2.pre.6 → 2.6.1.pre.1
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 +4 -0
- data/Gemfile.lock +8 -1
- data/app/assets/builds/action_cable.js +2 -0
- data/app/assets/builds/action_cable.js.map +7 -0
- data/app/assets/builds/avo.css +725 -203
- data/app/assets/builds/avo.js +211 -122
- data/app/assets/builds/avo.js.map +3 -3
- data/app/assets/stylesheets/avo.css +2 -0
- data/app/assets/stylesheets/css/tags.css +16 -0
- data/app/components/avo/actions_component.html.erb +1 -1
- data/app/components/avo/button_component.rb +8 -14
- data/app/components/avo/card_component.rb +12 -0
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +2 -0
- data/app/components/avo/fields/concerns/item_labels.rb +40 -0
- data/app/components/avo/fields/tags_field/edit_component.html.erb +27 -0
- data/app/components/avo/fields/tags_field/edit_component.rb +4 -0
- data/app/components/avo/fields/tags_field/index_component.html.erb +10 -0
- data/app/components/avo/fields/tags_field/index_component.rb +9 -0
- data/app/components/avo/fields/tags_field/show_component.html.erb +7 -0
- data/app/components/avo/fields/tags_field/show_component.rb +7 -0
- data/app/components/avo/fields/tags_field/tag_component.html.erb +9 -0
- data/app/components/avo/fields/tags_field/tag_component.rb +11 -0
- data/app/components/avo/index/resource_table_component.html.erb +1 -1
- data/app/components/avo/paginator_component.html.erb +2 -2
- 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 +0 -19
- data/app/controllers/avo/search_controller.rb +11 -4
- data/app/javascript/js/application.js +1 -1
- data/app/javascript/js/controllers/base_controller.js +22 -0
- data/app/javascript/js/controllers/fields/tags_field_controller.js +86 -0
- data/app/javascript/js/controllers/fields/tags_field_helpers.js +47 -0
- data/app/javascript/js/controllers/search_controller.js +7 -1
- data/app/javascript/js/controllers.js +2 -0
- data/app/views/avo/dashboards/_chartkick_card.html.erb +1 -1
- data/app/views/avo/dashboards/_metric_card.html.erb +1 -1
- data/app/views/avo/partials/_global_search.html.erb +1 -1
- data/app/views/avo/partials/_navbar.html.erb +3 -3
- data/app/views/avo/partials/_resource_search.html.erb +1 -1
- data/db/factories.rb +2 -0
- data/lib/avo/base_resource.rb +6 -0
- data/lib/avo/concerns/handles_field_args.rb +36 -0
- data/lib/avo/fields/base_field.rb +2 -1
- data/lib/avo/fields/tags_field.rb +82 -0
- data/lib/avo/hosts/association_scope_host.rb +1 -0
- data/lib/avo/hosts/base_host.rb +2 -0
- data/lib/avo/hosts/record_host.rb +7 -0
- data/lib/avo/licensing/pro_license.rb +2 -1
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/cards/chartkick_card.tt +1 -1
- data/lib/generators/avo/templates/cards/chartkick_card_sample.tt +1 -1
- data/lib/generators/avo/templates/cards/metric_card.tt +1 -1
- data/lib/generators/avo/templates/cards/metric_card_sample.tt +1 -1
- data/lib/generators/avo/templates/locales/avo.en.yml +4 -0
- data/lib/tasks/avo_tasks.rake +7 -3
- data/public/avo-assets/avo.css +694 -78
- data/public/avo-assets/avo.js +211 -122
- data/public/avo-assets/avo.js.map +3 -3
- metadata +20 -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.6.1.pre.1
|
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-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -248,6 +248,8 @@ files:
|
|
248
248
|
- Gemfile.lock
|
249
249
|
- README.md
|
250
250
|
- Rakefile
|
251
|
+
- app/assets/builds/action_cable.js
|
252
|
+
- app/assets/builds/action_cable.js.map
|
251
253
|
- app/assets/builds/avo.css
|
252
254
|
- app/assets/builds/avo.js
|
253
255
|
- app/assets/builds/avo.js.map
|
@@ -264,6 +266,7 @@ files:
|
|
264
266
|
- app/assets/stylesheets/css/pagination.css
|
265
267
|
- app/assets/stylesheets/css/search.css
|
266
268
|
- app/assets/stylesheets/css/spinner.css
|
269
|
+
- app/assets/stylesheets/css/tags.css
|
267
270
|
- app/assets/stylesheets/css/tailwindcss/base.css
|
268
271
|
- app/assets/stylesheets/css/tailwindcss/components.css
|
269
272
|
- app/assets/stylesheets/css/tailwindcss/utilities.css
|
@@ -857,6 +860,7 @@ files:
|
|
857
860
|
- app/components/avo/fields/common/single_file_viewer_component.rb
|
858
861
|
- app/components/avo/fields/common/status_viewer_component.html.erb
|
859
862
|
- app/components/avo/fields/common/status_viewer_component.rb
|
863
|
+
- app/components/avo/fields/concerns/item_labels.rb
|
860
864
|
- app/components/avo/fields/country_field/edit_component.html.erb
|
861
865
|
- app/components/avo/fields/country_field/edit_component.rb
|
862
866
|
- app/components/avo/fields/country_field/index_component.html.erb
|
@@ -952,6 +956,14 @@ files:
|
|
952
956
|
- app/components/avo/fields/status_field/index_component.rb
|
953
957
|
- app/components/avo/fields/status_field/show_component.html.erb
|
954
958
|
- app/components/avo/fields/status_field/show_component.rb
|
959
|
+
- app/components/avo/fields/tags_field/edit_component.html.erb
|
960
|
+
- app/components/avo/fields/tags_field/edit_component.rb
|
961
|
+
- app/components/avo/fields/tags_field/index_component.html.erb
|
962
|
+
- app/components/avo/fields/tags_field/index_component.rb
|
963
|
+
- app/components/avo/fields/tags_field/show_component.html.erb
|
964
|
+
- app/components/avo/fields/tags_field/show_component.rb
|
965
|
+
- app/components/avo/fields/tags_field/tag_component.html.erb
|
966
|
+
- app/components/avo/fields/tags_field/tag_component.rb
|
955
967
|
- app/components/avo/fields/text_field/edit_component.html.erb
|
956
968
|
- app/components/avo/fields/text_field/edit_component.rb
|
957
969
|
- app/components/avo/fields/text_field/index_component.html.erb
|
@@ -1052,6 +1064,7 @@ files:
|
|
1052
1064
|
- app/javascript/js/controllers/action_controller.js
|
1053
1065
|
- app/javascript/js/controllers/actions_picker_controller.js
|
1054
1066
|
- app/javascript/js/controllers/attachments_controller.js
|
1067
|
+
- app/javascript/js/controllers/base_controller.js
|
1055
1068
|
- app/javascript/js/controllers/boolean_filter_controller.js
|
1056
1069
|
- app/javascript/js/controllers/copy_to_clipboard_controller.js
|
1057
1070
|
- app/javascript/js/controllers/dashboard_card_controller.js
|
@@ -1060,6 +1073,8 @@ files:
|
|
1060
1073
|
- app/javascript/js/controllers/fields/date_field_controller.js
|
1061
1074
|
- app/javascript/js/controllers/fields/key_value_controller.js
|
1062
1075
|
- app/javascript/js/controllers/fields/simple_mde_controller.js
|
1076
|
+
- app/javascript/js/controllers/fields/tags_field_controller.js
|
1077
|
+
- app/javascript/js/controllers/fields/tags_field_helpers.js
|
1063
1078
|
- app/javascript/js/controllers/fields/trix_field_controller.js
|
1064
1079
|
- app/javascript/js/controllers/filter_controller.js
|
1065
1080
|
- app/javascript/js/controllers/hidden_input_controller.js
|
@@ -1150,6 +1165,7 @@ files:
|
|
1150
1165
|
- lib/avo/base_card.rb
|
1151
1166
|
- lib/avo/base_resource.rb
|
1152
1167
|
- lib/avo/concerns/fetches_things.rb
|
1168
|
+
- lib/avo/concerns/handles_field_args.rb
|
1153
1169
|
- lib/avo/configuration.rb
|
1154
1170
|
- lib/avo/dashboards/base_dashboard.rb
|
1155
1171
|
- lib/avo/dashboards/base_divider.rb
|
@@ -1189,6 +1205,7 @@ files:
|
|
1189
1205
|
- lib/avo/fields/progress_bar_field.rb
|
1190
1206
|
- lib/avo/fields/select_field.rb
|
1191
1207
|
- lib/avo/fields/status_field.rb
|
1208
|
+
- lib/avo/fields/tags_field.rb
|
1192
1209
|
- lib/avo/fields/text_field.rb
|
1193
1210
|
- lib/avo/fields/textarea_field.rb
|
1194
1211
|
- lib/avo/fields/trix_field.rb
|
@@ -1209,6 +1226,7 @@ files:
|
|
1209
1226
|
- lib/avo/hosts/dashboard_card.rb
|
1210
1227
|
- lib/avo/hosts/dashboard_visibility.rb
|
1211
1228
|
- lib/avo/hosts/ordering.rb
|
1229
|
+
- lib/avo/hosts/record_host.rb
|
1212
1230
|
- lib/avo/licensing/community_license.rb
|
1213
1231
|
- lib/avo/licensing/h_q.rb
|
1214
1232
|
- lib/avo/licensing/license.rb
|