avo 3.0.0.pre19 → 3.0.1.beta1
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 -2
- data/Gemfile.lock +25 -23
- data/Rakefile +0 -2
- data/app/assets/stylesheets/avo.base.css +0 -1
- data/app/components/avo/actions_component.rb +1 -1
- data/app/components/avo/field_wrapper_component.html.erb +1 -1
- data/app/components/avo/field_wrapper_component.rb +7 -1
- data/app/components/avo/fields/boolean_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/common/badge_viewer_component.html.erb +24 -1
- data/app/components/avo/fields/common/badge_viewer_component.rb +0 -24
- data/app/components/avo/fields/common/boolean_check_component.html.erb +12 -1
- data/app/components/avo/fields/common/boolean_check_component.rb +1 -2
- data/app/components/avo/fields/common/gravatar_viewer_component.html.erb +1 -1
- data/app/components/avo/fields/common/gravatar_viewer_component.rb +2 -2
- data/app/components/avo/fields/common/heading_component.html.erb +8 -3
- data/app/components/avo/fields/common/heading_component.rb +3 -1
- data/app/components/avo/fields/common/key_value_component.html.erb +2 -2
- data/app/components/avo/fields/common/key_value_component.rb +2 -2
- data/app/components/avo/fields/common/progress_bar_component.rb +9 -3
- data/app/components/avo/fields/common/status_viewer_component.html.erb +0 -3
- data/app/components/avo/fields/edit_component.rb +1 -1
- data/app/components/avo/fields/external_image_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/file_field/index_component.html.erb +2 -2
- data/app/components/avo/fields/gravatar_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/heading_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/heading_field/show_component.html.erb +1 -1
- data/app/components/avo/fields/id_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/index_component.rb +1 -1
- data/app/components/avo/fields/show_component.rb +1 -1
- data/app/components/avo/fields/text_field/index_component.html.erb +1 -1
- data/app/components/avo/index/field_wrapper_component.rb +1 -1
- data/app/components/avo/index/resource_controls_component.rb +1 -1
- data/app/components/avo/index/resource_table_component.rb +9 -3
- data/app/components/avo/resource_component.rb +4 -9
- data/app/components/avo/sidebar_profile_component.html.erb +4 -4
- data/app/components/avo/tab_group_component.html.erb +1 -1
- data/app/components/avo/tab_switcher_component.rb +2 -2
- data/app/components/avo/views/resource_edit_component.html.erb +20 -9
- data/app/components/avo/views/resource_edit_component.rb +5 -5
- data/app/components/avo/views/resource_index_component.rb +1 -1
- data/app/components/avo/views/resource_show_component.html.erb +1 -1
- data/app/components/avo/views/resource_show_component.rb +1 -1
- data/app/controllers/avo/actions_controller.rb +20 -9
- data/app/controllers/avo/application_controller.rb +5 -5
- data/app/controllers/avo/base_controller.rb +1 -39
- data/app/controllers/avo/search_controller.rb +2 -19
- data/app/controllers/concerns/avo/initializes_avo.rb +0 -1
- data/app/helpers/avo/resources_helper.rb +1 -1
- data/app/helpers/avo/url_helpers.rb +1 -1
- data/app/views/avo/base/edit.html.erb +1 -1
- data/app/views/avo/base/index.html.erb +1 -1
- data/app/views/avo/base/new.html.erb +1 -1
- data/app/views/avo/base/show.html.erb +1 -1
- data/app/views/layouts/avo/application.html.erb +2 -10
- data/bin/dev +0 -2
- data/config/master.key +1 -0
- data/config/routes.rb +3 -4
- data/db/factories.rb +1 -1
- data/lib/avo/base_action.rb +26 -21
- data/lib/avo/base_resource.rb +7 -13
- data/lib/avo/concerns/filters_session_handler.rb +3 -3
- data/lib/avo/concerns/has_items.rb +5 -1
- data/lib/avo/concerns/visible_in_different_views.rb +1 -7
- data/lib/avo/configuration.rb +4 -28
- data/lib/avo/current.rb +6 -1
- data/lib/avo/dsl/field_parser.rb +1 -1
- data/lib/avo/execution_context.rb +1 -4
- data/lib/avo/fields/badge_field.rb +1 -1
- data/lib/avo/fields/base_field.rb +44 -21
- data/lib/avo/fields/belongs_to_field.rb +1 -1
- data/lib/avo/fields/concerns/has_html_attributes.rb +0 -2
- data/lib/avo/fields/external_image_field.rb +2 -2
- data/lib/avo/fields/file_field.rb +2 -2
- data/lib/avo/fields/gravatar_field.rb +2 -2
- data/lib/avo/fields/has_base_field.rb +2 -2
- data/lib/avo/fields/heading_field.rb +13 -5
- data/lib/avo/fields/id_field.rb +2 -2
- data/lib/avo/fields/status_field.rb +1 -3
- data/lib/avo/fields/text_field.rb +2 -2
- data/lib/avo/filters/base_filter.rb +1 -1
- data/lib/avo/html/builder.rb +1 -1
- data/lib/avo/licensing/h_q.rb +1 -1
- data/lib/avo/licensing/license_manager.rb +1 -1
- data/lib/avo/resources/items/holder.rb +6 -0
- data/lib/avo/resources/items/item_group.rb +2 -2
- data/lib/avo/resources/items/row.rb +3 -3
- data/lib/avo/resources/items/sidebar.rb +1 -1
- data/lib/avo/resources/items/tab.rb +2 -2
- data/lib/avo/resources/items/tab_group.rb +1 -1
- data/lib/avo/resources/resource_manager.rb +1 -6
- data/lib/avo/version.rb +1 -1
- data/lib/avo.rb +0 -9
- data/lib/generators/avo/controller_generator.rb +0 -3
- data/lib/generators/avo/eject_generator.rb +15 -180
- data/lib/generators/avo/field_generator.rb +2 -49
- data/lib/generators/avo/js/install_generator.rb +2 -2
- data/lib/generators/avo/resource_generator.rb +7 -10
- data/lib/generators/avo/tailwindcss/install_generator.rb +12 -58
- data/lib/generators/avo/templates/initializer/avo.tt +1 -6
- data/lib/generators/avo/templates/resource/controller.tt +1 -1
- data/lib/generators/avo/templates/tailwindcss/avo.tailwind.css +3 -5
- data/lib/tasks/avo_tasks.rake +5 -33
- data/public/avo-assets/avo.base.css +4146 -75
- data/{app/assets/builds/avo.base.css → public/avo-assets/avo.css} +3808 -547
- data/public/avo-assets/avo.js +513 -0
- data/public/avo-assets/avo.js.map +7 -0
- metadata +6 -14
- data/app/assets/builds/avo.base.js +0 -124556
- data/app/assets/builds/avo.base.js.map +0 -7
- data/app/assets/builds/avo.custom.js +0 -6
- data/app/assets/builds/avo.custom.js.map +0 -7
- data/app/assets/stylesheets/css/fields/tags.css +0 -32
- data/lib/avo/concerns/has_helpers.rb +0 -18
- data/lib/avo/concerns/visible_items.rb +0 -43
- data/lib/avo/fields/concerns/use_view_components.rb +0 -45
- data/lib/avo/view_inquirer.rb +0 -36
- data/lib/generators/avo/concerns/parent_controller.rb +0 -20
- data/lib/generators/avo/templates/tailwindcss/tailwind.config.js +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: 3.0.
|
4
|
+
version: 3.0.1.beta1
|
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: 2023-
|
12
|
+
date: 2023-08-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -220,11 +220,6 @@ files:
|
|
220
220
|
- Gemfile.lock
|
221
221
|
- README.md
|
222
222
|
- Rakefile
|
223
|
-
- app/assets/builds/avo.base.css
|
224
|
-
- app/assets/builds/avo.base.js
|
225
|
-
- app/assets/builds/avo.base.js.map
|
226
|
-
- app/assets/builds/avo.custom.js
|
227
|
-
- app/assets/builds/avo.custom.js.map
|
228
223
|
- app/assets/config/avo_manifest.js
|
229
224
|
- app/assets/stylesheets/avo.base.css
|
230
225
|
- app/assets/stylesheets/css/active-storage.css
|
@@ -233,7 +228,6 @@ files:
|
|
233
228
|
- app/assets/stylesheets/css/fields/code.css
|
234
229
|
- app/assets/stylesheets/css/fields/progress.css
|
235
230
|
- app/assets/stylesheets/css/fields/status.css
|
236
|
-
- app/assets/stylesheets/css/fields/tags.css
|
237
231
|
- app/assets/stylesheets/css/fields/trix.css
|
238
232
|
- app/assets/stylesheets/css/fonts.css
|
239
233
|
- app/assets/stylesheets/css/loader.css
|
@@ -1718,6 +1712,7 @@ files:
|
|
1718
1712
|
- config/credentials.yml.enc
|
1719
1713
|
- config/i18n-tasks.yml
|
1720
1714
|
- config/initializers/pagy.rb
|
1715
|
+
- config/master.key
|
1721
1716
|
- config/routes.rb
|
1722
1717
|
- config/spring.rb
|
1723
1718
|
- db/factories.rb
|
@@ -1732,7 +1727,6 @@ files:
|
|
1732
1727
|
- lib/avo/concerns/filters_session_handler.rb
|
1733
1728
|
- lib/avo/concerns/has_controls.rb
|
1734
1729
|
- lib/avo/concerns/has_description.rb
|
1735
|
-
- lib/avo/concerns/has_helpers.rb
|
1736
1730
|
- lib/avo/concerns/has_item_type.rb
|
1737
1731
|
- lib/avo/concerns/has_items.rb
|
1738
1732
|
- lib/avo/concerns/has_stimulus_controllers.rb
|
@@ -1740,7 +1734,6 @@ files:
|
|
1740
1734
|
- lib/avo/concerns/is_visible.rb
|
1741
1735
|
- lib/avo/concerns/model_class_constantized.rb
|
1742
1736
|
- lib/avo/concerns/visible_in_different_views.rb
|
1743
|
-
- lib/avo/concerns/visible_items.rb
|
1744
1737
|
- lib/avo/configuration.rb
|
1745
1738
|
- lib/avo/configuration/branding.rb
|
1746
1739
|
- lib/avo/configuration/resource_configuration.rb
|
@@ -1767,7 +1760,6 @@ files:
|
|
1767
1760
|
- lib/avo/fields/concerns/is_required.rb
|
1768
1761
|
- lib/avo/fields/concerns/is_searchable.rb
|
1769
1762
|
- lib/avo/fields/concerns/use_resource.rb
|
1770
|
-
- lib/avo/fields/concerns/use_view_components.rb
|
1771
1763
|
- lib/avo/fields/country_field.rb
|
1772
1764
|
- lib/avo/fields/date_field.rb
|
1773
1765
|
- lib/avo/fields/date_time_field.rb
|
@@ -1851,11 +1843,9 @@ files:
|
|
1851
1843
|
- lib/avo/test_helpers.rb
|
1852
1844
|
- lib/avo/tools/tool_manager.rb
|
1853
1845
|
- lib/avo/version.rb
|
1854
|
-
- lib/avo/view_inquirer.rb
|
1855
1846
|
- lib/generators/avo/action_generator.rb
|
1856
1847
|
- lib/generators/avo/base_generator.rb
|
1857
1848
|
- lib/generators/avo/card_generator.rb
|
1858
|
-
- lib/generators/avo/concerns/parent_controller.rb
|
1859
1849
|
- lib/generators/avo/controller_generator.rb
|
1860
1850
|
- lib/generators/avo/dashboard_generator.rb
|
1861
1851
|
- lib/generators/avo/eject_generator.rb
|
@@ -1909,7 +1899,6 @@ files:
|
|
1909
1899
|
- lib/generators/avo/templates/scope.tt
|
1910
1900
|
- lib/generators/avo/templates/tailwindcss/Procfile.dev
|
1911
1901
|
- lib/generators/avo/templates/tailwindcss/avo.tailwind.css
|
1912
|
-
- lib/generators/avo/templates/tailwindcss/tailwind.config.js
|
1913
1902
|
- lib/generators/avo/templates/tool/controller.tt
|
1914
1903
|
- lib/generators/avo/templates/tool/sidebar_item.tt
|
1915
1904
|
- lib/generators/avo/templates/tool/view.tt
|
@@ -1922,6 +1911,9 @@ files:
|
|
1922
1911
|
- public/avo-assets/avo.base.css
|
1923
1912
|
- public/avo-assets/avo.base.js
|
1924
1913
|
- public/avo-assets/avo.base.js.map
|
1914
|
+
- public/avo-assets/avo.css
|
1915
|
+
- public/avo-assets/avo.js
|
1916
|
+
- public/avo-assets/avo.js.map
|
1925
1917
|
- public/avo-assets/favicon.ico
|
1926
1918
|
- public/avo-assets/fonts/inter-v7-latin-500.eot
|
1927
1919
|
- public/avo-assets/fonts/inter-v7-latin-500.svg
|