avo 2.1.2.pre2 → 2.2.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 +4 -2
- data/Gemfile.lock +11 -5
- data/app/assets/svgs/{dashboards-icon.svg → dashboards.svg} +1 -1
- data/app/assets/svgs/{resources-icon.svg → resources.svg} +0 -0
- data/app/assets/svgs/{tools-icon.svg → tools.svg} +0 -0
- data/app/components/avo/button_component.rb +6 -2
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +1 -0
- data/app/components/avo/fields/belongs_to_field/edit_component.rb +5 -2
- data/app/components/avo/index/field_wrapper_component.rb +13 -0
- data/app/components/avo/index/grid_item_component.html.erb +3 -1
- data/app/components/avo/index/table_row_component.html.erb +7 -5
- data/app/components/avo/panel_component.html.erb +4 -4
- data/app/components/avo/profile_item_component.html.erb +2 -2
- data/app/components/avo/profile_item_component.rb +6 -0
- data/app/components/avo/sidebar/base_item_component.rb +31 -0
- data/app/components/avo/sidebar/group_component.html.erb +28 -0
- data/app/components/avo/sidebar/group_component.rb +4 -0
- data/app/components/avo/sidebar/heading_component.html.erb +14 -0
- data/app/components/avo/sidebar/heading_component.rb +15 -0
- data/app/components/avo/sidebar/item_switcher_component.html.erb +16 -0
- data/app/components/avo/sidebar/item_switcher_component.rb +15 -0
- data/app/components/avo/sidebar/link_component.html.erb +12 -0
- data/app/components/avo/sidebar/link_component.rb +28 -0
- data/app/components/avo/sidebar/section_component.html.erb +15 -0
- data/app/components/avo/sidebar/section_component.rb +9 -0
- data/app/components/avo/sidebar_component.html.erb +33 -24
- data/app/components/avo/sidebar_component.rb +3 -9
- data/app/components/avo/sidebar_profile_component.html.erb +10 -1
- data/app/components/avo/views/resource_edit_component.html.erb +2 -2
- data/app/components/avo/views/resource_new_component.html.erb +2 -2
- data/app/components/avo/views/resource_show_component.html.erb +2 -2
- data/app/controllers/avo/application_controller.rb +1 -2
- data/app/controllers/avo/base_controller.rb +1 -1
- data/app/helpers/avo/application_helper.rb +2 -0
- data/app/javascript/js/controllers/loading_button_controller.js +47 -10
- data/app/javascript/js/controllers/menu_controller.js +60 -0
- data/app/javascript/js/controllers/search_controller.js +28 -10
- data/app/javascript/js/controllers.js +2 -0
- data/app/views/avo/base/_boolean_filter.html.erb +1 -1
- data/app/views/avo/base/_multiple_select_filter.html.erb +7 -4
- data/app/views/avo/base/_select_filter.html.erb +1 -1
- data/app/views/avo/base/_text_filter.html.erb +1 -1
- data/app/views/avo/partials/_table_header.html.erb +12 -13
- data/app/views/layouts/avo/application.html.erb +3 -0
- data/avo.gemspec +1 -0
- data/bin/helpers.rb +7 -1
- data/bin/init +2 -2
- data/lib/avo/app.rb +8 -86
- data/lib/avo/base_resource.rb +1 -3
- data/lib/avo/concerns/fetches_things.rb +127 -0
- data/lib/avo/configuration.rb +4 -0
- data/lib/avo/dynamic_router.rb +1 -1
- data/lib/avo/engine.rb +0 -1
- data/lib/avo/fields/base_field.rb +2 -0
- data/lib/avo/fields/belongs_to_field.rb +2 -0
- data/lib/avo/hosts/base_host.rb +20 -0
- data/lib/avo/licensing/pro_license.rb +2 -1
- data/lib/avo/menu/base_item.rb +20 -0
- data/lib/avo/menu/builder.rb +77 -0
- data/lib/avo/menu/dashboard.rb +17 -0
- data/lib/avo/menu/group.rb +2 -0
- data/lib/avo/menu/link.rb +4 -0
- data/lib/avo/menu/menu.rb +2 -0
- data/lib/avo/menu/resource.rb +9 -0
- data/lib/avo/menu/section.rb +2 -0
- data/lib/avo/reloader.rb +15 -7
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/filter_generator.rb +2 -0
- data/lib/generators/avo/templates/filters/boolean_filter.tt +1 -1
- data/lib/generators/avo/templates/filters/multiple_select_filter.tt +11 -0
- data/lib/generators/avo/templates/filters/select_filter.tt +1 -1
- data/lib/generators/avo/templates/filters/text_filter.tt +1 -1
- data/lib/generators/avo/templates/tool/sidebar_item.tt +1 -1
- data/public/avo-assets/avo.css +23 -6
- data/public/avo-assets/avo.js +63 -63
- data/public/avo-assets/avo.js.map +3 -3
- metadata +44 -14
- data/app/assets/builds/avo.css +0 -8810
- data/app/assets/builds/avo.js +0 -423
- data/app/assets/builds/avo.js.map +0 -7
- data/app/components/avo/sidebar_heading_component.html.erb +0 -3
- data/app/components/avo/sidebar_heading_component.rb +0 -11
- data/app/components/avo/sidebar_item_component.html.erb +0 -3
- data/app/components/avo/sidebar_item_component.rb +0 -10
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.2.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-04-
|
12
|
+
date: 2022-04-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -221,6 +221,20 @@ dependencies:
|
|
221
221
|
- - ">="
|
222
222
|
- !ruby/object:Gem::Version
|
223
223
|
version: '0'
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: docile
|
226
|
+
requirement: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - ">="
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0'
|
231
|
+
type: :runtime
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - ">="
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
224
238
|
description: Avo abstracts away the common parts of building apps, letting your engineers
|
225
239
|
work on your app's essential components. The result is a full-featured admin panel
|
226
240
|
that works out of the box, ready to give to your end-users.
|
@@ -234,9 +248,6 @@ files:
|
|
234
248
|
- Gemfile.lock
|
235
249
|
- README.md
|
236
250
|
- Rakefile
|
237
|
-
- app/assets/builds/avo.css
|
238
|
-
- app/assets/builds/avo.js
|
239
|
-
- app/assets/builds/avo.js.map
|
240
251
|
- app/assets/config/avo_manifest.js
|
241
252
|
- app/assets/stylesheets/avo.css
|
242
253
|
- app/assets/stylesheets/css/active-storage.css
|
@@ -269,7 +280,7 @@ files:
|
|
269
280
|
- app/assets/svgs/chevron-up.svg
|
270
281
|
- app/assets/svgs/code.svg
|
271
282
|
- app/assets/svgs/color-swatch.svg
|
272
|
-
- app/assets/svgs/dashboards
|
283
|
+
- app/assets/svgs/dashboards.svg
|
273
284
|
- app/assets/svgs/detach.svg
|
274
285
|
- app/assets/svgs/document-text.svg
|
275
286
|
- app/assets/svgs/download-solid-reversed.svg
|
@@ -757,7 +768,7 @@ files:
|
|
757
768
|
- app/assets/svgs/plus-circle.svg
|
758
769
|
- app/assets/svgs/plus.svg
|
759
770
|
- app/assets/svgs/question-mark-circle.svg
|
760
|
-
- app/assets/svgs/resources
|
771
|
+
- app/assets/svgs/resources.svg
|
761
772
|
- app/assets/svgs/save.svg
|
762
773
|
- app/assets/svgs/selector.svg
|
763
774
|
- app/assets/svgs/sort-ascending.svg
|
@@ -770,7 +781,7 @@ files:
|
|
770
781
|
- app/assets/svgs/thumbs-down.svg
|
771
782
|
- app/assets/svgs/thumbs-up.svg
|
772
783
|
- app/assets/svgs/times.svg
|
773
|
-
- app/assets/svgs/tools
|
784
|
+
- app/assets/svgs/tools.svg
|
774
785
|
- app/assets/svgs/trash-sm.svg
|
775
786
|
- app/assets/svgs/trash.svg
|
776
787
|
- app/assets/svgs/user-circle.svg
|
@@ -991,12 +1002,19 @@ files:
|
|
991
1002
|
- app/components/avo/resource_component.rb
|
992
1003
|
- app/components/avo/show/field_wrapper_component.html.erb
|
993
1004
|
- app/components/avo/show/field_wrapper_component.rb
|
1005
|
+
- app/components/avo/sidebar/base_item_component.rb
|
1006
|
+
- app/components/avo/sidebar/group_component.html.erb
|
1007
|
+
- app/components/avo/sidebar/group_component.rb
|
1008
|
+
- app/components/avo/sidebar/heading_component.html.erb
|
1009
|
+
- app/components/avo/sidebar/heading_component.rb
|
1010
|
+
- app/components/avo/sidebar/item_switcher_component.html.erb
|
1011
|
+
- app/components/avo/sidebar/item_switcher_component.rb
|
1012
|
+
- app/components/avo/sidebar/link_component.html.erb
|
1013
|
+
- app/components/avo/sidebar/link_component.rb
|
1014
|
+
- app/components/avo/sidebar/section_component.html.erb
|
1015
|
+
- app/components/avo/sidebar/section_component.rb
|
994
1016
|
- app/components/avo/sidebar_component.html.erb
|
995
1017
|
- app/components/avo/sidebar_component.rb
|
996
|
-
- app/components/avo/sidebar_heading_component.html.erb
|
997
|
-
- app/components/avo/sidebar_heading_component.rb
|
998
|
-
- app/components/avo/sidebar_item_component.html.erb
|
999
|
-
- app/components/avo/sidebar_item_component.rb
|
1000
1018
|
- app/components/avo/sidebar_profile_component.html.erb
|
1001
1019
|
- app/components/avo/sidebar_profile_component.rb
|
1002
1020
|
- app/components/avo/turbo_frame_wrapper_component.html.erb
|
@@ -1045,6 +1063,7 @@ files:
|
|
1045
1063
|
- app/javascript/js/controllers/item_select_all_controller.js
|
1046
1064
|
- app/javascript/js/controllers/item_selector_controller.js
|
1047
1065
|
- app/javascript/js/controllers/loading_button_controller.js
|
1066
|
+
- app/javascript/js/controllers/menu_controller.js
|
1048
1067
|
- app/javascript/js/controllers/mobile_controller.js
|
1049
1068
|
- app/javascript/js/controllers/modal_controller.js
|
1050
1069
|
- app/javascript/js/controllers/multiple_select_filter_controller.js
|
@@ -1126,6 +1145,7 @@ files:
|
|
1126
1145
|
- lib/avo/base_action.rb
|
1127
1146
|
- lib/avo/base_card.rb
|
1128
1147
|
- lib/avo/base_resource.rb
|
1148
|
+
- lib/avo/concerns/fetches_things.rb
|
1129
1149
|
- lib/avo/configuration.rb
|
1130
1150
|
- lib/avo/dashboards/base_dashboard.rb
|
1131
1151
|
- lib/avo/dashboards/base_divider.rb
|
@@ -1180,6 +1200,7 @@ files:
|
|
1180
1200
|
- lib/avo/grid_fields/preview_field.rb
|
1181
1201
|
- lib/avo/grid_fields/title_field.rb
|
1182
1202
|
- lib/avo/has_context.rb
|
1203
|
+
- lib/avo/hosts/base_host.rb
|
1183
1204
|
- lib/avo/hosts/dashboard_card.rb
|
1184
1205
|
- lib/avo/hosts/dashboard_visibility.rb
|
1185
1206
|
- lib/avo/hosts/ordering.rb
|
@@ -1193,6 +1214,14 @@ files:
|
|
1193
1214
|
- lib/avo/loaders/fields_loader.rb
|
1194
1215
|
- lib/avo/loaders/filters_loader.rb
|
1195
1216
|
- lib/avo/loaders/loader.rb
|
1217
|
+
- lib/avo/menu/base_item.rb
|
1218
|
+
- lib/avo/menu/builder.rb
|
1219
|
+
- lib/avo/menu/dashboard.rb
|
1220
|
+
- lib/avo/menu/group.rb
|
1221
|
+
- lib/avo/menu/link.rb
|
1222
|
+
- lib/avo/menu/menu.rb
|
1223
|
+
- lib/avo/menu/resource.rb
|
1224
|
+
- lib/avo/menu/section.rb
|
1196
1225
|
- lib/avo/reloader.rb
|
1197
1226
|
- lib/avo/services/authorization_service.rb
|
1198
1227
|
- lib/avo/tools_manager.rb
|
@@ -1226,6 +1255,7 @@ files:
|
|
1226
1255
|
- lib/generators/avo/templates/field/components/show_component.html.erb.tt
|
1227
1256
|
- lib/generators/avo/templates/field/components/show_component.rb.tt
|
1228
1257
|
- lib/generators/avo/templates/filters/boolean_filter.tt
|
1258
|
+
- lib/generators/avo/templates/filters/multiple_select_filter.tt
|
1229
1259
|
- lib/generators/avo/templates/filters/select_filter.tt
|
1230
1260
|
- lib/generators/avo/templates/filters/text_filter.tt
|
1231
1261
|
- lib/generators/avo/templates/initializer/avo.tt
|
@@ -1286,9 +1316,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1286
1316
|
version: 2.4.0
|
1287
1317
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1288
1318
|
requirements:
|
1289
|
-
- - "
|
1319
|
+
- - ">="
|
1290
1320
|
- !ruby/object:Gem::Version
|
1291
|
-
version:
|
1321
|
+
version: '0'
|
1292
1322
|
requirements: []
|
1293
1323
|
rubygems_version: 3.3.3
|
1294
1324
|
signing_key:
|