avo 2.11.2.pre.3 → 2.11.3.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.lock +1 -1
- data/app/assets/stylesheets/avo.css +1 -0
- data/app/assets/stylesheets/css/scrollbar.css +30 -0
- data/app/components/avo/actions_component.html.erb +3 -3
- data/app/components/avo/actions_component.rb +12 -3
- data/app/components/avo/button_component.rb +1 -3
- data/app/components/avo/paginator_component.html.erb +35 -33
- data/app/components/avo/paginator_component.rb +3 -1
- data/app/components/avo/panel_component.html.erb +1 -1
- data/app/components/avo/resource_component.rb +6 -4
- data/app/components/avo/sidebar_component.html.erb +1 -1
- data/app/components/avo/tab_switcher_component.html.erb +1 -1
- data/app/components/avo/views/resource_index_component.html.erb +3 -3
- data/app/components/avo/views/resource_show_component.html.erb +143 -52
- data/app/components/avo/views/resource_show_component.rb +1 -0
- data/app/controllers/avo/base_controller.rb +8 -7
- data/app/javascript/avo.js +1 -1
- data/app/javascript/js/controllers/fields/date_field_controller.js +7 -3
- data/app/views/avo/debug/report.html.erb +1 -0
- data/app/views/avo/private/design.html.erb +1 -1
- data/lib/avo/base_resource.rb +5 -1
- data/lib/avo/concerns/has_editable_controls.rb +34 -0
- data/lib/avo/fields/date_time_field.rb +2 -2
- data/lib/avo/fields/has_base_field.rb +2 -0
- data/lib/avo/licensing/pro_license.rb +1 -0
- data/lib/avo/resources/controls/action.rb +32 -0
- data/lib/avo/resources/controls/actions_list.rb +19 -0
- data/lib/avo/resources/controls/back_button.rb +13 -0
- data/lib/avo/resources/controls/base_control.rb +59 -0
- data/lib/avo/resources/controls/delete_button.rb +13 -0
- data/lib/avo/resources/controls/detach_button.rb +13 -0
- data/lib/avo/resources/controls/edit_button.rb +13 -0
- data/lib/avo/resources/controls/execution_context.rb +59 -0
- data/lib/avo/resources/controls/items_holder.rb +19 -0
- data/lib/avo/resources/controls/link_to.rb +27 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/action.tt +1 -1
- data/lib/generators/avo/templates/resource_tools/partial.tt +1 -1
- data/lib/generators/avo/templates/standalone_action.tt +1 -1
- data/public/avo-assets/avo.css +602 -43
- data/public/avo-assets/avo.js +2 -2
- data/public/avo-assets/avo.js.map +2 -2
- metadata +14 -3
- data/lib/avo/concerns/has_model.rb +0 -11
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.11.
|
4
|
+
version: 2.11.3.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-
|
12
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -260,6 +260,7 @@ files:
|
|
260
260
|
- app/assets/stylesheets/css/fonts.css
|
261
261
|
- app/assets/stylesheets/css/loader.css
|
262
262
|
- app/assets/stylesheets/css/pagination.css
|
263
|
+
- app/assets/stylesheets/css/scrollbar.css
|
263
264
|
- app/assets/stylesheets/css/search.css
|
264
265
|
- app/assets/stylesheets/css/sidebar.css
|
265
266
|
- app/assets/stylesheets/css/spinner.css
|
@@ -1175,9 +1176,9 @@ files:
|
|
1175
1176
|
- lib/avo/base_resource_tool.rb
|
1176
1177
|
- lib/avo/concerns/fetches_things.rb
|
1177
1178
|
- lib/avo/concerns/handles_field_args.rb
|
1179
|
+
- lib/avo/concerns/has_editable_controls.rb
|
1178
1180
|
- lib/avo/concerns/has_fields.rb
|
1179
1181
|
- lib/avo/concerns/has_html_attributes.rb
|
1180
|
-
- lib/avo/concerns/has_model.rb
|
1181
1182
|
- lib/avo/concerns/has_stimulus_controllers.rb
|
1182
1183
|
- lib/avo/concerns/is_resource_item.rb
|
1183
1184
|
- lib/avo/concerns/model_class_constantized.rb
|
@@ -1268,6 +1269,16 @@ files:
|
|
1268
1269
|
- lib/avo/panel.rb
|
1269
1270
|
- lib/avo/panel_builder.rb
|
1270
1271
|
- lib/avo/reloader.rb
|
1272
|
+
- lib/avo/resources/controls/action.rb
|
1273
|
+
- lib/avo/resources/controls/actions_list.rb
|
1274
|
+
- lib/avo/resources/controls/back_button.rb
|
1275
|
+
- lib/avo/resources/controls/base_control.rb
|
1276
|
+
- lib/avo/resources/controls/delete_button.rb
|
1277
|
+
- lib/avo/resources/controls/detach_button.rb
|
1278
|
+
- lib/avo/resources/controls/edit_button.rb
|
1279
|
+
- lib/avo/resources/controls/execution_context.rb
|
1280
|
+
- lib/avo/resources/controls/items_holder.rb
|
1281
|
+
- lib/avo/resources/controls/link_to.rb
|
1271
1282
|
- lib/avo/services/authorization_service.rb
|
1272
1283
|
- lib/avo/services/uri_service.rb
|
1273
1284
|
- lib/avo/tab.rb
|