avo 2.45.0 → 3.0.0.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 +26 -25
- data/Gemfile.lock +179 -147
- data/README.md +1 -1
- data/app/assets/stylesheets/avo.base.css +0 -1
- data/app/assets/svgs/font.svg +1 -0
- data/app/assets/svgs/triangle-up.svg +1 -0
- data/app/components/avo/actions_component.html.erb +19 -5
- data/app/components/avo/actions_component.rb +37 -17
- data/app/components/avo/asset_manager/javascript_component.html.erb +3 -0
- data/app/components/avo/asset_manager/javascript_component.rb +13 -0
- data/app/components/avo/asset_manager/stylesheet_component.html.erb +3 -0
- data/app/components/avo/asset_manager/stylesheet_component.rb +13 -0
- data/app/components/avo/base_component.rb +15 -12
- data/app/components/avo/button_component.rb +20 -3
- data/app/components/avo/empty_state_component.rb +1 -1
- data/app/components/avo/field_wrapper_component.html.erb +1 -1
- data/app/components/avo/field_wrapper_component.rb +8 -8
- data/app/components/avo/fields/area_field/edit_component.html.erb +2 -2
- data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +96 -118
- data/app/components/avo/fields/belongs_to_field/edit_component.rb +6 -17
- data/app/components/avo/fields/belongs_to_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/belongs_to_field/show_component.rb +2 -2
- data/app/components/avo/fields/boolean_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/boolean_group_field/edit_component.html.erb +3 -3
- 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_group_component.html.erb +2 -2
- data/app/components/avo/fields/common/files/list_viewer_component.rb +3 -3
- data/app/components/avo/fields/common/files/view_type/{grid_item_component.html.erb → grid_component.html.erb} +2 -2
- data/app/components/avo/fields/common/files/view_type/{grid_item_component.rb → grid_component.rb} +4 -5
- data/app/components/avo/fields/common/files/view_type/{list_item_component.rb → list_component.rb} +1 -1
- data/app/components/avo/fields/edit_component.rb +1 -1
- data/app/components/avo/fields/file_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/file_field/show_component.html.erb +1 -1
- data/app/components/avo/fields/has_one_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/has_one_field/show_component.html.erb +3 -2
- data/app/components/avo/fields/has_one_field/show_component.rb +2 -2
- data/app/components/avo/fields/index_component.rb +5 -5
- data/app/components/avo/fields/preview_field/index_component.html.erb +10 -0
- data/app/components/avo/fields/preview_field/index_component.rb +4 -0
- data/app/components/avo/fields/select_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/show_component.rb +4 -1
- data/app/components/avo/fields/trix_field/edit_component.rb +1 -1
- data/app/components/avo/filters_component.html.erb +9 -3
- data/app/components/avo/filters_component.rb +4 -4
- data/app/components/avo/index/field_wrapper_component.rb +0 -12
- data/app/components/avo/index/grid_item_component.html.erb +13 -36
- data/app/components/avo/index/grid_item_component.rb +43 -16
- data/app/components/avo/index/resource_controls_component.html.erb +3 -81
- data/app/components/avo/index/resource_controls_component.rb +124 -17
- data/app/components/avo/index/resource_grid_component.html.erb +5 -3
- data/app/components/avo/index/resource_grid_component.rb +5 -2
- data/app/components/avo/index/resource_map_component.html.erb +1 -1
- data/app/components/avo/index/resource_map_component.rb +3 -3
- data/app/components/avo/index/resource_table_component.html.erb +5 -4
- data/app/components/avo/index/resource_table_component.rb +14 -20
- data/app/components/avo/index/table_row_component.html.erb +8 -4
- data/app/components/avo/index/table_row_component.rb +3 -2
- data/app/components/avo/item_switcher_component.rb +2 -2
- data/app/components/avo/modal_component.html.erb +7 -12
- data/app/components/avo/modal_component.rb +0 -21
- data/app/components/avo/paginator_component.html.erb +40 -29
- data/app/components/avo/paginator_component.rb +5 -23
- data/app/components/avo/panel_component.html.erb +8 -6
- data/app/components/avo/referrer_params_component.html.erb +1 -2
- data/app/components/avo/resource_component.rb +189 -14
- data/app/components/avo/resource_sidebar_component.html.erb +6 -2
- data/app/components/avo/resource_sidebar_component.rb +1 -1
- data/app/components/avo/sidebar/link_component.rb +1 -1
- data/app/components/avo/sidebar_component.html.erb +10 -3
- data/app/components/avo/sidebar_component.rb +5 -3
- data/app/components/avo/sidebar_profile_component.html.erb +15 -8
- data/app/components/avo/tab_group_component.html.erb +13 -7
- data/app/components/avo/tab_group_component.rb +1 -6
- data/app/components/avo/tab_switcher_component.html.erb +17 -40
- data/app/components/avo/tab_switcher_component.rb +4 -39
- data/app/components/avo/views/resource_edit_component.html.erb +12 -48
- data/app/components/avo/views/resource_edit_component.rb +7 -18
- data/app/components/avo/views/resource_index_component.html.erb +41 -47
- data/app/components/avo/views/resource_index_component.rb +62 -12
- data/app/components/avo/views/resource_show_component.html.erb +6 -149
- data/app/components/avo/views/resource_show_component.rb +6 -11
- data/app/controllers/avo/actions_controller.rb +27 -24
- data/app/controllers/avo/application_controller.rb +105 -151
- data/app/controllers/avo/associations_controller.rb +34 -43
- data/app/controllers/avo/attachments_controller.rb +4 -4
- data/app/controllers/avo/base_controller.rb +102 -102
- data/app/controllers/avo/debug_controller.rb +17 -5
- data/app/controllers/avo/home_controller.rb +1 -1
- data/app/controllers/avo/search_controller.rb +30 -51
- data/app/controllers/avo/team_users_controller.rb +4 -0
- data/app/controllers/concerns/avo/initializes_avo.rb +21 -0
- data/app/helpers/avo/application_helper.rb +15 -9
- data/app/helpers/avo/resources_helper.rb +1 -1
- data/app/helpers/avo/url_helpers.rb +27 -11
- data/app/javascript/avo.base.js +1 -0
- data/app/javascript/js/application.js +0 -3
- data/app/javascript/js/controllers/action_controller.js +5 -3
- data/app/javascript/js/controllers/actions_overflow_controller.js +62 -0
- data/app/javascript/js/controllers/filter_controller.js +1 -1
- data/app/javascript/js/controllers/input_autofocus_controller.js +12 -0
- data/app/javascript/js/controllers/preview_controller.js +24 -0
- data/app/javascript/js/controllers/search_controller.js +2 -2
- data/app/javascript/js/controllers/self_destroy_controller.js +7 -0
- data/app/javascript/js/controllers/toggle_controller.js +48 -0
- data/app/javascript/js/controllers.js +10 -6
- data/app/javascript/js/custom-stream-actions.js +15 -0
- data/app/views/avo/actions/keep_modal_open.turbo_stream.erb +5 -0
- data/app/views/avo/actions/show.html.erb +9 -6
- data/app/views/avo/associations/new.html.erb +2 -2
- data/app/views/avo/base/index.html.erb +3 -2
- data/app/views/avo/base/new.html.erb +2 -1
- data/app/views/avo/base/preview.html.erb +19 -0
- data/app/views/avo/base/show.html.erb +1 -1
- data/app/views/avo/debug/_valid_indicator.html.erb +9 -0
- data/app/views/avo/debug/report.html.erb +32 -17
- data/app/views/avo/debug/{index.html.erb → status.html.erb} +31 -14
- data/app/views/avo/partials/_custom_tools_alert.html.erb +2 -2
- data/app/views/avo/partials/_footer.html.erb +1 -1
- data/app/views/avo/partials/_javascript.html.erb +5 -0
- data/app/views/avo/partials/_logo.html.erb +1 -1
- data/app/views/avo/partials/_navbar.html.erb +3 -5
- data/app/views/avo/partials/_table_header.html.erb +5 -11
- data/app/views/layouts/avo/application.html.erb +4 -2
- data/avo.gemspec +7 -7
- data/bin/dev +1 -1
- data/bin/prod +0 -0
- data/config/i18n-tasks.yml +1 -1
- data/config/initializers/pagy.rb +0 -2
- data/config/master.key +1 -0
- data/config/routes.rb +6 -10
- data/db/factories.rb +7 -1
- data/lib/avo/action_model.rb +20 -0
- data/lib/avo/asset_manager.rb +30 -0
- data/lib/avo/base_action.rb +57 -41
- data/lib/avo/base_resource.rb +263 -226
- data/lib/avo/base_resource_tool.rb +9 -16
- data/lib/avo/concerns/breadcrumbs.rb +2 -2
- data/lib/avo/concerns/{can_replace_fields.rb → can_replace_items.rb} +5 -9
- data/lib/avo/concerns/filters_session_handler.rb +5 -3
- data/lib/avo/concerns/has_controls.rb +37 -0
- data/lib/avo/concerns/has_description.rb +23 -0
- data/lib/avo/concerns/has_item_type.rb +42 -0
- data/lib/avo/concerns/has_items.rb +325 -0
- data/lib/avo/concerns/is_resource_item.rb +24 -36
- data/lib/avo/concerns/is_visible.rb +15 -0
- data/lib/avo/concerns/model_class_constantized.rb +0 -2
- data/lib/avo/concerns/visible_in_different_views.rb +126 -0
- data/lib/avo/configuration/branding.rb +0 -12
- data/lib/avo/configuration.rb +1 -37
- data/lib/avo/current.rb +39 -0
- data/lib/avo/dsl/field_parser.rb +1 -1
- data/lib/avo/dynamic_router.rb +18 -3
- data/lib/avo/engine.rb +35 -30
- data/lib/avo/error_manager.rb +25 -0
- data/lib/avo/execution_context.rb +10 -14
- data/lib/avo/fields/badge_field.rb +1 -1
- data/lib/avo/fields/base_field.rb +91 -105
- data/lib/avo/fields/belongs_to_field.rb +18 -22
- data/lib/avo/fields/concerns/file_authorization.rb +2 -2
- data/lib/avo/fields/concerns/handles_field_args.rb +49 -0
- data/lib/avo/fields/concerns/has_default.rb +1 -5
- data/lib/avo/fields/concerns/has_field_name.rb +22 -0
- data/lib/avo/fields/concerns/has_html_attributes.rb +110 -0
- data/lib/avo/fields/concerns/is_disabled.rb +1 -5
- data/lib/avo/fields/concerns/is_readonly.rb +1 -5
- data/lib/avo/fields/concerns/is_required.rb +5 -7
- data/lib/avo/fields/concerns/is_searchable.rb +13 -0
- data/lib/avo/fields/concerns/use_resource.rb +5 -1
- data/lib/avo/fields/country_field.rb +4 -0
- data/lib/avo/fields/date_time_field.rb +1 -5
- data/lib/avo/fields/field_manager.rb +55 -0
- data/lib/avo/fields/has_and_belongs_to_many_field.rb +1 -2
- data/lib/avo/fields/has_base_field.rb +12 -15
- data/lib/avo/fields/has_many_field.rb +5 -2
- data/lib/avo/fields/has_one_field.rb +6 -10
- data/lib/avo/fields/heading_field.rb +4 -1
- data/lib/avo/fields/hidden_field.rb +1 -1
- data/lib/avo/fields/id_field.rb +1 -1
- data/lib/avo/fields/location_field.rb +8 -8
- data/lib/avo/fields/password_field.rb +1 -1
- data/lib/avo/fields/preview_field.rb +14 -0
- data/lib/avo/fields/select_field.rb +12 -8
- data/lib/avo/fields/status_field.rb +4 -0
- data/lib/avo/filters/base_filter.rb +8 -4
- data/lib/avo/html/builder.rb +7 -8
- data/lib/avo/item_grapher.rb +78 -0
- data/lib/avo/licensing/h_q.rb +7 -66
- data/lib/avo/licensing/license.rb +1 -1
- data/lib/avo/licensing/pro_license.rb +1 -7
- data/lib/avo/loaders/fields_loader.rb +7 -1
- data/lib/avo/plugin.rb +16 -0
- data/lib/avo/plugin_manager.rb +56 -0
- data/lib/avo/prefixed_test_helpers.rb +20 -0
- data/lib/avo/reloader.rb +3 -0
- data/lib/avo/resources/controls/actions_list.rb +7 -12
- data/lib/avo/resources/controls/attach_button.rb +15 -0
- data/lib/avo/resources/controls/back_button.rb +1 -1
- data/lib/avo/resources/controls/base_control.rb +15 -49
- data/lib/avo/resources/controls/create_button.rb +15 -0
- data/lib/avo/resources/controls/delete_button.rb +5 -1
- data/lib/avo/resources/controls/detach_button.rb +4 -1
- data/lib/avo/resources/controls/edit_button.rb +4 -1
- data/lib/avo/resources/controls/order_controls.rb +8 -0
- data/lib/avo/resources/controls/save_button.rb +13 -0
- data/lib/avo/resources/controls/show_button.rb +15 -0
- data/lib/avo/resources/items/holder.rb +84 -0
- data/lib/avo/resources/items/item_group.rb +49 -0
- data/lib/avo/resources/items/main_panel.rb +2 -0
- data/lib/avo/resources/items/panel.rb +2 -0
- data/lib/avo/resources/items/row.rb +54 -0
- data/lib/avo/resources/items/sidebar.rb +47 -0
- data/lib/avo/resources/items/tab.rb +60 -0
- data/lib/avo/resources/items/tab_group.rb +68 -0
- data/lib/avo/resources/resource_manager.rb +174 -0
- data/lib/avo/services/authorization_service.rb +11 -110
- data/lib/avo/services/debug_service.rb +93 -0
- data/lib/avo/services/telemetry_service.rb +85 -0
- data/lib/avo/test_helpers.rb +362 -0
- data/lib/avo/tools/tool_manager.rb +30 -0
- data/lib/avo/version.rb +1 -1
- data/lib/avo.rb +115 -24
- data/lib/generators/avo/action_generator.rb +8 -8
- data/lib/generators/avo/card_generator.rb +27 -0
- data/lib/generators/avo/filter_generator.rb +8 -8
- data/lib/generators/avo/resource_generator.rb +4 -4
- data/lib/generators/avo/scope_generator.rb +15 -0
- data/lib/generators/avo/tailwindcss/install_generator.rb +1 -15
- data/lib/generators/avo/templates/action.tt +8 -6
- 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/cards/partial_card.tt +1 -1
- data/lib/generators/avo/templates/cards/partial_card_sample.tt +1 -1
- data/lib/generators/avo/templates/dashboards/dashboard.tt +5 -3
- data/lib/generators/avo/templates/field/%singular_name%_field.rb.tt +1 -1
- data/lib/generators/avo/templates/filters/boolean_filter.tt +1 -1
- data/lib/generators/avo/templates/filters/multiple_select_filter.tt +1 -1
- 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/initializer/avo.tt +1 -9
- data/lib/generators/avo/templates/locales/avo.ar.yml +5 -5
- data/lib/generators/avo/templates/locales/avo.en.yml +4 -5
- data/lib/generators/avo/templates/locales/avo.fr.yml +1 -2
- data/lib/generators/avo/templates/locales/avo.nb.yml +1 -2
- data/lib/generators/avo/templates/locales/avo.nn.yml +1 -2
- data/lib/generators/avo/templates/locales/avo.pt-BR.yml +1 -2
- data/lib/generators/avo/templates/locales/avo.pt.yml +1 -2
- data/lib/generators/avo/templates/locales/avo.ro.yml +6 -7
- data/lib/generators/avo/templates/locales/avo.tr.yml +1 -2
- data/lib/generators/avo/templates/resource/resource.tt +7 -7
- data/lib/generators/avo/templates/resource_tools/partial.tt +4 -4
- data/lib/generators/avo/templates/resource_tools/resource_tool.tt +1 -1
- data/lib/generators/avo/templates/scope.tt +6 -0
- data/lib/generators/avo/templates/tool/view.tt +2 -2
- data/lib/tasks/avo_tasks.rake +27 -0
- data/public/avo-assets/avo.base.css +1810 -1189
- data/public/avo-assets/avo.base.js +217 -305
- data/public/avo-assets/avo.base.js.map +3 -3
- data/public/avo-assets/avo.css +9744 -0
- data/public/avo-assets/avo.js +513 -0
- data/public/avo-assets/avo.js.map +7 -0
- metadata +96 -137
- data/app/assets/stylesheets/css/tags.css +0 -32
- data/app/components/avo/card_component.html.erb +0 -46
- data/app/components/avo/card_component.rb +0 -25
- data/app/components/avo/dashboards/divider_component.html.erb +0 -9
- data/app/components/avo/dashboards/divider_component.rb +0 -19
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +0 -47
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.rb +0 -95
- data/app/components/avo/fields/tags_field/edit_component.html.erb +0 -35
- data/app/components/avo/fields/tags_field/edit_component.rb +0 -4
- data/app/components/avo/fields/tags_field/index_component.html.erb +0 -10
- data/app/components/avo/fields/tags_field/index_component.rb +0 -9
- data/app/components/avo/fields/tags_field/show_component.html.erb +0 -7
- data/app/components/avo/fields/tags_field/show_component.rb +0 -5
- data/app/components/avo/fields/tags_field/tag_component.html.erb +0 -9
- data/app/components/avo/fields/tags_field/tag_component.rb +0 -11
- data/app/components/avo/index/ordering/base_component.rb +0 -9
- data/app/components/avo/index/ordering/button_component.html.erb +0 -11
- data/app/components/avo/index/ordering/button_component.rb +0 -23
- data/app/components/avo/index/ordering/buttons_component.html.erb +0 -32
- data/app/components/avo/index/ordering/buttons_component.rb +0 -47
- data/app/components/avo/sidebar/item_switcher_component.html.erb +0 -16
- data/app/components/avo/sidebar/item_switcher_component.rb +0 -15
- data/app/controllers/avo/dashboards/cards_controller.rb +0 -37
- data/app/controllers/avo/dashboards_controller.rb +0 -22
- data/app/controllers/avo/reorder_controller.rb +0 -25
- data/app/javascript/js/controllers/base_controller.js +0 -22
- data/app/javascript/js/controllers/fields/reload_belongs_to_field_controller.js +0 -51
- data/app/javascript/js/controllers/fields/tags_field_controller.js +0 -127
- data/app/javascript/js/controllers/toggle_panel_controller.js +0 -18
- data/app/views/avo/base/_new_via_belongs_to.html.erb +0 -12
- data/app/views/avo/base/close_modal_and_reload_field.turbo_stream.erb +0 -8
- data/app/views/avo/base/create_fail_action.turbo_stream.erb +0 -13
- data/app/views/avo/dashboards/cards/_chartkick_card.html.erb +0 -3
- data/app/views/avo/dashboards/cards/_metric_card.html.erb +0 -5
- data/app/views/avo/dashboards/cards/chartkick_missing.html.erb +0 -14
- data/app/views/avo/dashboards/cards/show.html.erb +0 -3
- data/app/views/avo/dashboards/show.html.erb +0 -38
- data/app/views/avo/partials/_flash_alerts.turbo_stream.erb +0 -3
- data/app/views/avo/partials/_global_search.html.erb +0 -19
- data/app/views/avo/sidebar/_license_warnings.html.erb +0 -6
- data/lib/avo/app.rb +0 -237
- data/lib/avo/base_card.rb +0 -161
- data/lib/avo/concerns/fetches_things.rb +0 -150
- data/lib/avo/concerns/handles_field_args.rb +0 -47
- data/lib/avo/concerns/has_editable_controls.rb +0 -34
- data/lib/avo/concerns/has_fields.rb +0 -334
- data/lib/avo/concerns/has_html_attributes.rb +0 -108
- data/lib/avo/concerns/pagination.rb +0 -53
- data/lib/avo/concerns/policy_helpers.rb +0 -31
- data/lib/avo/concerns/visible_in_dashboard.rb +0 -31
- data/lib/avo/concerns/visible_items.rb +0 -51
- data/lib/avo/dashboards/base_dashboard.rb +0 -89
- data/lib/avo/dashboards/base_divider.rb +0 -35
- data/lib/avo/dashboards/chartkick_card.rb +0 -77
- data/lib/avo/dashboards/dashboard_card.rb +0 -6
- data/lib/avo/dashboards/metric_card.rb +0 -9
- data/lib/avo/dashboards/partial_card.rb +0 -7
- data/lib/avo/fields/field_extensions/has_field_name.rb +0 -19
- data/lib/avo/fields/field_extensions/visible_in_different_views.rb +0 -111
- data/lib/avo/fields/tags_field.rb +0 -102
- data/lib/avo/grid_collector.rb +0 -42
- data/lib/avo/hosts/association_scope_host.rb +0 -8
- data/lib/avo/hosts/base_host.rb +0 -25
- data/lib/avo/hosts/card_visibility.rb +0 -20
- data/lib/avo/hosts/dashboard_card.rb +0 -22
- data/lib/avo/hosts/dashboard_visibility.rb +0 -19
- data/lib/avo/hosts/ordering.rb +0 -22
- data/lib/avo/hosts/record_host.rb +0 -7
- data/lib/avo/hosts/resource_record_host.rb +0 -7
- data/lib/avo/hosts/resource_view_record_host.rb +0 -7
- data/lib/avo/hosts/search_scope_host.rb +0 -7
- data/lib/avo/hosts/view_record_host.rb +0 -7
- data/lib/avo/hosts/visibility_host.rb +0 -12
- data/lib/avo/items_holder.rb +0 -96
- data/lib/avo/main_panel.rb +0 -3
- data/lib/avo/menu/base_item.rb +0 -25
- data/lib/avo/menu/builder.rb +0 -82
- data/lib/avo/menu/dashboard.rb +0 -22
- data/lib/avo/menu/group.rb +0 -2
- data/lib/avo/menu/link.rb +0 -6
- data/lib/avo/menu/menu.rb +0 -2
- data/lib/avo/menu/resource.rb +0 -22
- data/lib/avo/menu/section.rb +0 -2
- data/lib/avo/panel.rb +0 -24
- data/lib/avo/panel_builder.rb +0 -25
- data/lib/avo/resources/controls/action.rb +0 -38
- data/lib/avo/resources/controls/execution_context.rb +0 -58
- data/lib/avo/resources/controls/items_holder.rb +0 -19
- data/lib/avo/resources/controls/link_to.rb +0 -27
- data/lib/avo/row.rb +0 -26
- data/lib/avo/row_builder.rb +0 -24
- data/lib/avo/services/authorization_clients/nil_client.rb +0 -37
- data/lib/avo/services/authorization_clients/pundit_client.rb +0 -51
- data/lib/avo/sidebar.rb +0 -30
- data/lib/avo/sidebar_builder.rb +0 -24
- data/lib/avo/tab.rb +0 -72
- data/lib/avo/tab_builder.rb +0 -25
- data/lib/avo/tab_group.rb +0 -42
- data/lib/avo/tab_group_builder.rb +0 -43
- data/lib/avo/tools_manager.rb +0 -11
- data/lib/generators/avo/card/chartkick_generator.rb +0 -18
- data/lib/generators/avo/card/metric_generator.rb +0 -18
- data/lib/generators/avo/card/partial_generator.rb +0 -19
- data/lib/generators/avo/templates/locales/avo.es.yml +0 -126
- data/lib/generators/avo/templates/standalone_action.tt +0 -8
- /data/app/components/avo/fields/common/files/view_type/{list_item_component.html.erb → list_component.html.erb} +0 -0
data/Gemfile.lock
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (
|
5
|
-
actionview (>= 6.
|
4
|
+
avo (3.0.0.beta1)
|
5
|
+
actionview (>= 6.1)
|
6
6
|
active_link_to
|
7
|
-
activerecord (>= 6.
|
7
|
+
activerecord (>= 6.1)
|
8
|
+
activesupport (>= 6.1)
|
8
9
|
addressable
|
9
10
|
docile
|
10
11
|
dry-initializer
|
@@ -13,47 +14,51 @@ PATH
|
|
13
14
|
meta-tags
|
14
15
|
pagy
|
15
16
|
turbo-rails
|
16
|
-
|
17
|
-
view_component (>= 2.54.0)
|
17
|
+
view_component (>= 3.0.0)
|
18
18
|
zeitwerk (>= 2.6.2)
|
19
19
|
|
20
|
+
PATH
|
21
|
+
remote: pluggy
|
22
|
+
specs:
|
23
|
+
pluggy (0.0.1)
|
24
|
+
|
20
25
|
GEM
|
21
26
|
remote: https://rubygems.org/
|
22
27
|
specs:
|
23
|
-
actioncable (6.1.7.
|
24
|
-
actionpack (= 6.1.7.
|
25
|
-
activesupport (= 6.1.7.
|
28
|
+
actioncable (6.1.7.3)
|
29
|
+
actionpack (= 6.1.7.3)
|
30
|
+
activesupport (= 6.1.7.3)
|
26
31
|
nio4r (~> 2.0)
|
27
32
|
websocket-driver (>= 0.6.1)
|
28
|
-
actionmailbox (6.1.7.
|
29
|
-
actionpack (= 6.1.7.
|
30
|
-
activejob (= 6.1.7.
|
31
|
-
activerecord (= 6.1.7.
|
32
|
-
activestorage (= 6.1.7.
|
33
|
-
activesupport (= 6.1.7.
|
33
|
+
actionmailbox (6.1.7.3)
|
34
|
+
actionpack (= 6.1.7.3)
|
35
|
+
activejob (= 6.1.7.3)
|
36
|
+
activerecord (= 6.1.7.3)
|
37
|
+
activestorage (= 6.1.7.3)
|
38
|
+
activesupport (= 6.1.7.3)
|
34
39
|
mail (>= 2.7.1)
|
35
|
-
actionmailer (6.1.7.
|
36
|
-
actionpack (= 6.1.7.
|
37
|
-
actionview (= 6.1.7.
|
38
|
-
activejob (= 6.1.7.
|
39
|
-
activesupport (= 6.1.7.
|
40
|
+
actionmailer (6.1.7.3)
|
41
|
+
actionpack (= 6.1.7.3)
|
42
|
+
actionview (= 6.1.7.3)
|
43
|
+
activejob (= 6.1.7.3)
|
44
|
+
activesupport (= 6.1.7.3)
|
40
45
|
mail (~> 2.5, >= 2.5.4)
|
41
46
|
rails-dom-testing (~> 2.0)
|
42
|
-
actionpack (6.1.7.
|
43
|
-
actionview (= 6.1.7.
|
44
|
-
activesupport (= 6.1.7.
|
47
|
+
actionpack (6.1.7.3)
|
48
|
+
actionview (= 6.1.7.3)
|
49
|
+
activesupport (= 6.1.7.3)
|
45
50
|
rack (~> 2.0, >= 2.0.9)
|
46
51
|
rack-test (>= 0.6.3)
|
47
52
|
rails-dom-testing (~> 2.0)
|
48
53
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
49
|
-
actiontext (6.1.7.
|
50
|
-
actionpack (= 6.1.7.
|
51
|
-
activerecord (= 6.1.7.
|
52
|
-
activestorage (= 6.1.7.
|
53
|
-
activesupport (= 6.1.7.
|
54
|
+
actiontext (6.1.7.3)
|
55
|
+
actionpack (= 6.1.7.3)
|
56
|
+
activerecord (= 6.1.7.3)
|
57
|
+
activestorage (= 6.1.7.3)
|
58
|
+
activesupport (= 6.1.7.3)
|
54
59
|
nokogiri (>= 1.8.5)
|
55
|
-
actionview (6.1.7.
|
56
|
-
activesupport (= 6.1.7.
|
60
|
+
actionview (6.1.7.3)
|
61
|
+
activesupport (= 6.1.7.3)
|
57
62
|
builder (~> 3.1)
|
58
63
|
erubi (~> 1.4)
|
59
64
|
rails-dom-testing (~> 2.0)
|
@@ -63,22 +68,22 @@ GEM
|
|
63
68
|
addressable
|
64
69
|
active_median (0.3.3)
|
65
70
|
activesupport (>= 5.2)
|
66
|
-
activejob (6.1.7.
|
67
|
-
activesupport (= 6.1.7.
|
71
|
+
activejob (6.1.7.3)
|
72
|
+
activesupport (= 6.1.7.3)
|
68
73
|
globalid (>= 0.3.6)
|
69
|
-
activemodel (6.1.7.
|
70
|
-
activesupport (= 6.1.7.
|
71
|
-
activerecord (6.1.7.
|
72
|
-
activemodel (= 6.1.7.
|
73
|
-
activesupport (= 6.1.7.
|
74
|
-
activestorage (6.1.7.
|
75
|
-
actionpack (= 6.1.7.
|
76
|
-
activejob (= 6.1.7.
|
77
|
-
activerecord (= 6.1.7.
|
78
|
-
activesupport (= 6.1.7.
|
74
|
+
activemodel (6.1.7.3)
|
75
|
+
activesupport (= 6.1.7.3)
|
76
|
+
activerecord (6.1.7.3)
|
77
|
+
activemodel (= 6.1.7.3)
|
78
|
+
activesupport (= 6.1.7.3)
|
79
|
+
activestorage (6.1.7.3)
|
80
|
+
actionpack (= 6.1.7.3)
|
81
|
+
activejob (= 6.1.7.3)
|
82
|
+
activerecord (= 6.1.7.3)
|
83
|
+
activesupport (= 6.1.7.3)
|
79
84
|
marcel (~> 1.0)
|
80
85
|
mini_mime (>= 1.1.0)
|
81
|
-
activesupport (6.1.7.
|
86
|
+
activesupport (6.1.7.3)
|
82
87
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
83
88
|
i18n (>= 1.6, < 2)
|
84
89
|
minitest (>= 5.1)
|
@@ -86,9 +91,9 @@ GEM
|
|
86
91
|
zeitwerk (~> 2.3)
|
87
92
|
acts-as-taggable-on (9.0.1)
|
88
93
|
activerecord (>= 6.0, < 7.1)
|
89
|
-
acts_as_list (1.
|
94
|
+
acts_as_list (1.0.4)
|
90
95
|
activerecord (>= 4.2)
|
91
|
-
addressable (2.8.
|
96
|
+
addressable (2.8.1)
|
92
97
|
public_suffix (>= 2.0.2, < 6.0)
|
93
98
|
annotate (3.2.0)
|
94
99
|
activerecord (>= 3.2, < 8.0)
|
@@ -109,30 +114,31 @@ GEM
|
|
109
114
|
aws-sdk-kms (1.58.0)
|
110
115
|
aws-sdk-core (~> 3, >= 3.127.0)
|
111
116
|
aws-sigv4 (~> 1.1)
|
112
|
-
aws-sdk-s3 (1.
|
117
|
+
aws-sdk-s3 (1.114.0)
|
113
118
|
aws-sdk-core (~> 3, >= 3.127.0)
|
114
119
|
aws-sdk-kms (~> 1)
|
115
120
|
aws-sigv4 (~> 1.4)
|
116
121
|
aws-sigv4 (1.5.1)
|
117
122
|
aws-eventstream (~> 1, >= 1.0.2)
|
123
|
+
backport (1.2.0)
|
118
124
|
bcrypt (3.1.18)
|
119
|
-
|
120
|
-
|
121
|
-
|
125
|
+
benchmark (0.2.0)
|
126
|
+
better_html (2.0.1)
|
127
|
+
actionview (>= 6.0)
|
128
|
+
activesupport (>= 6.0)
|
122
129
|
ast (~> 2.0)
|
123
130
|
erubi (~> 1.4)
|
124
|
-
html_tokenizer (~> 0.0.6)
|
125
131
|
parser (>= 2.4)
|
126
132
|
smart_properties
|
127
133
|
bindex (0.8.1)
|
128
|
-
bootsnap (1.
|
134
|
+
bootsnap (1.13.0)
|
129
135
|
msgpack (~> 1.2)
|
130
|
-
brakeman (5.
|
136
|
+
brakeman (5.3.1)
|
131
137
|
builder (3.2.4)
|
132
138
|
bump (0.10.0)
|
133
139
|
bundler-integrity (1.0.9)
|
134
140
|
byebug (11.1.3)
|
135
|
-
capybara (3.
|
141
|
+
capybara (3.38.0)
|
136
142
|
addressable
|
137
143
|
matrix
|
138
144
|
mini_mime (>= 0.1.3)
|
@@ -142,9 +148,9 @@ GEM
|
|
142
148
|
regexp_parser (>= 1.5, < 3.0)
|
143
149
|
xpath (~> 3.2)
|
144
150
|
chartkick (4.2.1)
|
151
|
+
childprocess (4.1.0)
|
145
152
|
concurrent-ruby (1.2.2)
|
146
|
-
countries (
|
147
|
-
i18n_data (~> 0.16.0)
|
153
|
+
countries (5.1.2)
|
148
154
|
sixarm_ruby_unaccent (~> 1.1)
|
149
155
|
crack (0.4.5)
|
150
156
|
rexml
|
@@ -158,19 +164,21 @@ GEM
|
|
158
164
|
database_cleaner-core (~> 2.0.0)
|
159
165
|
database_cleaner-core (2.0.1)
|
160
166
|
date (3.3.3)
|
161
|
-
devise (4.
|
167
|
+
devise (4.8.1)
|
162
168
|
bcrypt (~> 3.0)
|
163
169
|
orm_adapter (~> 0.1)
|
164
170
|
railties (>= 4.1.0)
|
165
171
|
responders
|
166
172
|
warden (~> 1.2.3)
|
167
173
|
diff-lcs (1.5.0)
|
174
|
+
digest (3.1.1)
|
168
175
|
docile (1.4.0)
|
169
176
|
dotenv (2.8.1)
|
170
177
|
dotenv-rails (2.8.1)
|
171
178
|
dotenv (= 2.8.1)
|
172
179
|
railties (>= 3.2)
|
173
180
|
dry-initializer (3.1.1)
|
181
|
+
e2mmap (0.1.0)
|
174
182
|
erb-formatter (0.3.0)
|
175
183
|
erubi (1.12.0)
|
176
184
|
factory_bot (6.2.1)
|
@@ -193,18 +201,17 @@ GEM
|
|
193
201
|
activesupport (>= 5.2)
|
194
202
|
hashdiff (1.0.1)
|
195
203
|
hashids (1.0.6)
|
196
|
-
highline (2.
|
204
|
+
highline (2.0.3)
|
197
205
|
hightop (0.3.0)
|
198
206
|
activesupport (>= 5.2)
|
199
207
|
hotwire-livereload (1.2.3)
|
200
208
|
listen (>= 3.0.0)
|
201
209
|
rails (>= 6.0.0)
|
202
|
-
html_tokenizer (0.0.7)
|
203
210
|
htmlbeautifier (1.4.2)
|
204
|
-
httparty (0.
|
205
|
-
|
211
|
+
httparty (0.20.0)
|
212
|
+
mime-types (~> 3.0)
|
206
213
|
multi_xml (>= 0.5.2)
|
207
|
-
i18n (1.
|
214
|
+
i18n (1.12.0)
|
208
215
|
concurrent-ruby (~> 1.0)
|
209
216
|
i18n-tasks (1.0.12)
|
210
217
|
activesupport (>= 4.0.2)
|
@@ -217,8 +224,6 @@ GEM
|
|
217
224
|
rails-i18n
|
218
225
|
rainbow (>= 2.2.2, < 4.0)
|
219
226
|
terminal-table (>= 1.5.1)
|
220
|
-
i18n_data (0.16.0)
|
221
|
-
simple_po_parser (~> 1.1)
|
222
227
|
image_processing (1.12.2)
|
223
228
|
mini_magick (>= 4.9.5, < 5)
|
224
229
|
ruby-vips (>= 2.0.17, < 3)
|
@@ -227,124 +232,130 @@ GEM
|
|
227
232
|
nokogiri (>= 1.6)
|
228
233
|
iso (0.4.0)
|
229
234
|
i18n
|
235
|
+
jaro_winkler (1.5.4)
|
230
236
|
jmespath (1.6.1)
|
231
237
|
jsbundling-rails (1.0.3)
|
232
238
|
railties (>= 6.0.0)
|
233
239
|
json (2.6.2)
|
234
|
-
|
235
|
-
|
236
|
-
|
240
|
+
kramdown (2.4.0)
|
241
|
+
rexml
|
242
|
+
kramdown-parser-gfm (1.1.0)
|
243
|
+
kramdown (~> 2.0)
|
244
|
+
launchy (2.5.0)
|
245
|
+
addressable (~> 2.7)
|
246
|
+
listen (3.7.1)
|
237
247
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
238
248
|
rb-inotify (~> 0.9, >= 0.9.10)
|
239
|
-
loofah (2.
|
249
|
+
loofah (2.20.0)
|
240
250
|
crass (~> 1.0.2)
|
241
|
-
nokogiri (>= 1.
|
251
|
+
nokogiri (>= 1.5.9)
|
242
252
|
mail (2.8.1)
|
243
253
|
mini_mime (>= 0.1.1)
|
244
254
|
net-imap
|
245
255
|
net-pop
|
246
256
|
net-smtp
|
247
|
-
manifester (0.1.8)
|
248
|
-
rails (>= 6.0)
|
249
|
-
zeitwerk
|
250
257
|
mapkick-rb (0.1.4)
|
251
258
|
marcel (1.0.2)
|
252
259
|
matrix (0.4.2)
|
253
|
-
meta-tags (2.
|
260
|
+
meta-tags (2.17.0)
|
254
261
|
actionpack (>= 3.2.0, < 7.1)
|
255
262
|
method_source (1.0.0)
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
263
|
+
mime-types (3.4.1)
|
264
|
+
mime-types-data (~> 3.2015)
|
265
|
+
mime-types-data (3.2022.0105)
|
266
|
+
mini_magick (4.11.0)
|
267
|
+
mini_mime (1.1.2)
|
268
|
+
mini_portile2 (2.8.1)
|
269
|
+
minitest (5.18.0)
|
260
270
|
msgpack (1.5.6)
|
261
271
|
multi_xml (0.6.0)
|
262
|
-
net-imap (0.3.
|
272
|
+
net-imap (0.3.4)
|
263
273
|
date
|
264
274
|
net-protocol
|
265
275
|
net-pop (0.1.2)
|
266
276
|
net-protocol
|
267
|
-
net-protocol (0.
|
277
|
+
net-protocol (0.1.3)
|
268
278
|
timeout
|
269
|
-
net-smtp (0.3.
|
279
|
+
net-smtp (0.3.1)
|
280
|
+
digest
|
270
281
|
net-protocol
|
282
|
+
timeout
|
271
283
|
nio4r (2.5.9)
|
272
|
-
nokogiri (1.
|
273
|
-
mini_portile2 (~> 2.8.
|
284
|
+
nokogiri (1.14.3)
|
285
|
+
mini_portile2 (~> 2.8.0)
|
274
286
|
racc (~> 1.4)
|
275
|
-
nokogiri (1.
|
287
|
+
nokogiri (1.14.3-x86_64-linux)
|
276
288
|
racc (~> 1.4)
|
277
289
|
orm_adapter (0.5.0)
|
278
|
-
pagy (6.0.
|
290
|
+
pagy (6.0.3)
|
279
291
|
parallel (1.22.1)
|
280
|
-
parser (3.2.
|
292
|
+
parser (3.1.2.1)
|
281
293
|
ast (~> 2.4.1)
|
282
|
-
pg (1.4.
|
294
|
+
pg (1.4.3)
|
283
295
|
prefixed_ids (1.4.0)
|
284
296
|
hashids (>= 1.0.0, < 2.0.0)
|
285
297
|
rails (>= 6.0.0)
|
286
|
-
public_suffix (5.0.
|
287
|
-
puma (
|
298
|
+
public_suffix (5.0.1)
|
299
|
+
puma (6.0.2)
|
288
300
|
nio4r (~> 2.0)
|
289
|
-
|
290
|
-
|
291
|
-
racc (1.7.1)
|
292
|
-
rack (2.2.8)
|
301
|
+
racc (1.6.2)
|
302
|
+
rack (2.2.6.4)
|
293
303
|
rack-test (2.1.0)
|
294
304
|
rack (>= 1.3)
|
295
|
-
rails (6.1.7.
|
296
|
-
actioncable (= 6.1.7.
|
297
|
-
actionmailbox (= 6.1.7.
|
298
|
-
actionmailer (= 6.1.7.
|
299
|
-
actionpack (= 6.1.7.
|
300
|
-
actiontext (= 6.1.7.
|
301
|
-
actionview (= 6.1.7.
|
302
|
-
activejob (= 6.1.7.
|
303
|
-
activemodel (= 6.1.7.
|
304
|
-
activerecord (= 6.1.7.
|
305
|
-
activestorage (= 6.1.7.
|
306
|
-
activesupport (= 6.1.7.
|
305
|
+
rails (6.1.7.3)
|
306
|
+
actioncable (= 6.1.7.3)
|
307
|
+
actionmailbox (= 6.1.7.3)
|
308
|
+
actionmailer (= 6.1.7.3)
|
309
|
+
actionpack (= 6.1.7.3)
|
310
|
+
actiontext (= 6.1.7.3)
|
311
|
+
actionview (= 6.1.7.3)
|
312
|
+
activejob (= 6.1.7.3)
|
313
|
+
activemodel (= 6.1.7.3)
|
314
|
+
activerecord (= 6.1.7.3)
|
315
|
+
activestorage (= 6.1.7.3)
|
316
|
+
activesupport (= 6.1.7.3)
|
307
317
|
bundler (>= 1.15.0)
|
308
|
-
railties (= 6.1.7.
|
318
|
+
railties (= 6.1.7.3)
|
309
319
|
sprockets-rails (>= 2.0.0)
|
310
320
|
rails-controller-testing (1.0.5)
|
311
321
|
actionpack (>= 5.0.1.rc1)
|
312
322
|
actionview (>= 5.0.1.rc1)
|
313
323
|
activesupport (>= 5.0.1.rc1)
|
314
|
-
rails-dom-testing (2.
|
315
|
-
activesupport (>=
|
316
|
-
minitest
|
324
|
+
rails-dom-testing (2.0.3)
|
325
|
+
activesupport (>= 4.2.0)
|
317
326
|
nokogiri (>= 1.6)
|
318
|
-
rails-html-sanitizer (1.
|
319
|
-
loofah (~> 2.
|
320
|
-
nokogiri (~> 1.14)
|
327
|
+
rails-html-sanitizer (1.5.0)
|
328
|
+
loofah (~> 2.19, >= 2.19.1)
|
321
329
|
rails-i18n (7.0.5)
|
322
330
|
i18n (>= 0.7, < 2)
|
323
331
|
railties (>= 6.0.0, < 8)
|
324
|
-
railties (6.1.7.
|
325
|
-
actionpack (= 6.1.7.
|
326
|
-
activesupport (= 6.1.7.
|
332
|
+
railties (6.1.7.3)
|
333
|
+
actionpack (= 6.1.7.3)
|
334
|
+
activesupport (= 6.1.7.3)
|
327
335
|
method_source
|
328
336
|
rake (>= 12.2)
|
329
337
|
thor (~> 1.0)
|
330
338
|
rainbow (3.1.1)
|
331
339
|
rake (13.0.6)
|
332
|
-
ransack (
|
333
|
-
activerecord (>= 6.
|
334
|
-
activesupport (>= 6.
|
340
|
+
ransack (3.1.0)
|
341
|
+
activerecord (>= 6.0.4)
|
342
|
+
activesupport (>= 6.0.4)
|
335
343
|
i18n
|
336
|
-
rb-fsevent (0.11.
|
344
|
+
rb-fsevent (0.11.1)
|
337
345
|
rb-inotify (0.10.1)
|
338
346
|
ffi (~> 1.0)
|
339
|
-
redis (4.8.
|
340
|
-
regexp_parser (2.
|
347
|
+
redis (4.8.0)
|
348
|
+
regexp_parser (2.6.1)
|
341
349
|
responders (3.0.1)
|
342
350
|
actionpack (>= 5.0)
|
343
351
|
railties (>= 5.0)
|
344
|
-
|
352
|
+
reverse_markdown (2.1.1)
|
353
|
+
nokogiri
|
354
|
+
rexml (3.2.5)
|
355
|
+
ripper-tags (0.9.1)
|
345
356
|
rspec-core (3.11.0)
|
346
357
|
rspec-support (~> 3.11.0)
|
347
|
-
rspec-expectations (3.11.
|
358
|
+
rspec-expectations (3.11.0)
|
348
359
|
diff-lcs (>= 1.2.0, < 2.0)
|
349
360
|
rspec-support (~> 3.11.0)
|
350
361
|
rspec-mocks (3.11.1)
|
@@ -359,7 +370,7 @@ GEM
|
|
359
370
|
rspec-mocks (~> 3.10)
|
360
371
|
rspec-support (~> 3.10)
|
361
372
|
rspec-support (3.11.0)
|
362
|
-
rubocop (1.35.
|
373
|
+
rubocop (1.35.0)
|
363
374
|
json (~> 2.3)
|
364
375
|
parallel (~> 1.10)
|
365
376
|
parser (>= 3.1.2.1)
|
@@ -374,20 +385,20 @@ GEM
|
|
374
385
|
rubocop-performance (1.14.3)
|
375
386
|
rubocop (>= 1.7.0, < 2.0)
|
376
387
|
rubocop-ast (>= 0.4.0)
|
377
|
-
rubocop-shopify (2.
|
378
|
-
rubocop (~> 1.
|
388
|
+
rubocop-shopify (2.9.0)
|
389
|
+
rubocop (~> 1.33)
|
379
390
|
ruby-debug-ide (0.7.3)
|
380
391
|
rake (>= 0.8.1)
|
381
392
|
ruby-progressbar (1.11.0)
|
382
393
|
ruby-vips (2.1.4)
|
383
394
|
ffi (~> 1.12)
|
384
395
|
rubyzip (2.3.2)
|
385
|
-
selenium-webdriver (4.
|
396
|
+
selenium-webdriver (4.5.0)
|
397
|
+
childprocess (>= 0.5, < 5.0)
|
386
398
|
rexml (~> 3.2, >= 3.2.5)
|
387
399
|
rubyzip (>= 1.2.2, < 3.0)
|
388
400
|
websocket (~> 1.0)
|
389
|
-
|
390
|
-
simplecov (0.22.0)
|
401
|
+
simplecov (0.21.2)
|
391
402
|
docile (~> 1.1)
|
392
403
|
simplecov-html (~> 0.11)
|
393
404
|
simplecov_json_formatter (~> 0.1)
|
@@ -398,7 +409,25 @@ GEM
|
|
398
409
|
simplecov_json_formatter (0.1.4)
|
399
410
|
sixarm_ruby_unaccent (1.2.0)
|
400
411
|
smart_properties (1.17.0)
|
401
|
-
|
412
|
+
solargraph (0.44.3)
|
413
|
+
backport (~> 1.2)
|
414
|
+
benchmark
|
415
|
+
bundler (>= 1.17.2)
|
416
|
+
diff-lcs (~> 1.4)
|
417
|
+
e2mmap
|
418
|
+
jaro_winkler (~> 1.5)
|
419
|
+
kramdown (~> 2.3)
|
420
|
+
kramdown-parser-gfm (~> 1.1)
|
421
|
+
parser (~> 3.0)
|
422
|
+
reverse_markdown (>= 1.0.5, < 3)
|
423
|
+
rubocop (>= 0.52)
|
424
|
+
thor (~> 1.0)
|
425
|
+
tilt (~> 2.0)
|
426
|
+
yard (~> 0.9, >= 0.9.24)
|
427
|
+
solargraph-rails (1.1.0)
|
428
|
+
activesupport
|
429
|
+
solargraph
|
430
|
+
spring (4.0.0)
|
402
431
|
spring-commands-rspec (1.0.4)
|
403
432
|
spring (>= 0.9.1)
|
404
433
|
sprockets (4.2.0)
|
@@ -408,24 +437,23 @@ GEM
|
|
408
437
|
actionpack (>= 5.2)
|
409
438
|
activesupport (>= 5.2)
|
410
439
|
sprockets (>= 3.0.0)
|
411
|
-
standard (1.16.
|
412
|
-
rubocop (= 1.35.
|
440
|
+
standard (1.16.0)
|
441
|
+
rubocop (= 1.35.0)
|
413
442
|
rubocop-performance (= 1.14.3)
|
414
443
|
terminal-table (3.0.2)
|
415
444
|
unicode-display_width (>= 1.1.1, < 3)
|
416
445
|
test-prof (1.0.10)
|
417
|
-
thor (1.2.
|
418
|
-
|
446
|
+
thor (1.2.1)
|
447
|
+
tilt (2.0.11)
|
448
|
+
timeout (0.3.0)
|
419
449
|
turbo-rails (1.4.0)
|
420
450
|
actionpack (>= 6.0.0)
|
421
451
|
activejob (>= 6.0.0)
|
422
452
|
railties (>= 6.0.0)
|
423
|
-
turbo_power (0.5.0)
|
424
|
-
turbo-rails (~> 1.3)
|
425
453
|
tzinfo (2.0.6)
|
426
454
|
concurrent-ruby (~> 1.0)
|
427
|
-
unicode-display_width (2.
|
428
|
-
view_component (3.
|
455
|
+
unicode-display_width (2.2.0)
|
456
|
+
view_component (3.0.0)
|
429
457
|
activesupport (>= 5.2.0, < 8.0)
|
430
458
|
concurrent-ruby (~> 1.0)
|
431
459
|
method_source (~> 1.0)
|
@@ -436,21 +464,24 @@ GEM
|
|
436
464
|
activemodel (>= 6.0.0)
|
437
465
|
bindex (>= 0.4.0)
|
438
466
|
railties (>= 6.0.0)
|
439
|
-
webdrivers (5.
|
467
|
+
webdrivers (5.2.0)
|
440
468
|
nokogiri (~> 1.6)
|
441
469
|
rubyzip (>= 1.3.0)
|
442
|
-
selenium-webdriver (~> 4.0
|
470
|
+
selenium-webdriver (~> 4.0)
|
443
471
|
webmock (3.18.1)
|
444
472
|
addressable (>= 2.8.0)
|
445
473
|
crack (>= 0.3.2)
|
446
474
|
hashdiff (>= 0.4.0, < 2.0.0)
|
475
|
+
webrick (1.7.0)
|
447
476
|
websocket (1.2.9)
|
448
|
-
websocket-driver (0.7.
|
477
|
+
websocket-driver (0.7.5)
|
449
478
|
websocket-extensions (>= 0.1.0)
|
450
479
|
websocket-extensions (0.1.5)
|
451
480
|
xpath (3.2.0)
|
452
481
|
nokogiri (~> 1.8)
|
453
|
-
|
482
|
+
yard (0.9.28)
|
483
|
+
webrick (~> 1.7.0)
|
484
|
+
zeitwerk (2.6.7)
|
454
485
|
|
455
486
|
PLATFORMS
|
456
487
|
ruby
|
@@ -488,7 +519,7 @@ DEPENDENCIES
|
|
488
519
|
gem-release
|
489
520
|
groupdate
|
490
521
|
hightop
|
491
|
-
hotwire-livereload (~> 1.2)
|
522
|
+
hotwire-livereload (~> 1.2.3)
|
492
523
|
htmlbeautifier
|
493
524
|
httparty
|
494
525
|
i18n-tasks (~> 1.0.12)
|
@@ -497,18 +528,18 @@ DEPENDENCIES
|
|
497
528
|
jsbundling-rails
|
498
529
|
launchy
|
499
530
|
listen (>= 3.5.1)
|
500
|
-
manifester
|
501
531
|
mapkick-rb (~> 0.1.4)
|
502
532
|
meta-tags
|
503
533
|
net-smtp
|
504
534
|
pg (>= 0.18, < 2.0)
|
535
|
+
pluggy!
|
505
536
|
prefixed_ids
|
506
|
-
puma (~>
|
507
|
-
pundit
|
537
|
+
puma (~> 6.0.2)
|
508
538
|
rails (~> 6.1.0)
|
509
539
|
rails-controller-testing
|
510
|
-
ransack
|
540
|
+
ransack (~> 3.1.0)
|
511
541
|
redis (~> 4.0)
|
542
|
+
ripper-tags
|
512
543
|
rspec-rails (~> 4.0.0)
|
513
544
|
rubocop
|
514
545
|
rubocop-shopify
|
@@ -516,17 +547,18 @@ DEPENDENCIES
|
|
516
547
|
selenium-webdriver
|
517
548
|
simplecov
|
518
549
|
simplecov-cobertura
|
550
|
+
solargraph
|
551
|
+
solargraph-rails
|
519
552
|
spring
|
520
553
|
spring-commands-rspec
|
521
554
|
sprockets-rails
|
522
555
|
standard
|
523
556
|
test-prof
|
524
|
-
turbo_power (~> 0.5.0)
|
525
557
|
tzinfo-data
|
526
558
|
web-console (>= 3.3.0)
|
527
|
-
webdrivers
|
559
|
+
webdrivers
|
528
560
|
webmock
|
529
561
|
zeitwerk
|
530
562
|
|
531
563
|
BUNDLED WITH
|
532
|
-
2.4.
|
564
|
+
2.4.6
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ Avo is a beautiful next-generation framework that empowers you, the developer, t
|
|
17
17
|
✨ **Website**: [avohq.io](https://avohq.io)\
|
18
18
|
📚 **Documentation**: [docs.avohq.io](https://docs.avohq.io)\
|
19
19
|
🗺 **Roadmap**: [GitHub Roadmap](https://github.com/orgs/avo-hq/projects/3)\
|
20
|
-
🎸 **Demo app**: [Avodemo](https://
|
20
|
+
🎸 **Demo app**: [Avodemo](https://avodemo.herokuapp.com/)\
|
21
21
|
🐤 **Twitter**: [avo_hq](https://twitter.com/avo_hq)\
|
22
22
|
💬 **Community chat**: [discord](https://discord.gg/pkTF6y8)\
|
23
23
|
🔧 **Issue tracker**: [GitHub issues](http://github.com/avo-hq/avo/issues)\
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor"><path d="M432 432h-33.32l-135-389.24A16 16 0 0 0 248.55 32h-49.1a16 16 0 0 0-15.12 10.76L49.32 432H16a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-16a16 16 0 0 0-16-16h-35.44l33.31-96h164.26l33.31 96H304a16 16 0 0 0-16 16v16a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-16a16 16 0 0 0-16-16zM158.53 288L224 99.31 289.47 288z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="9" role="presentation"><g fill="none" fill-rule="evenodd"><path fill="#C9CBCF" fill-opacity="1" d="M1 9.092h19l-6.402-6.74c-1.717-1.806-4.485-1.8-6.196 0L1 9.093zM20.342 8l-6.02-6.336c-2.108-2.22-5.538-2.218-7.645 0L.658 8h19.684z"></path><path fill="currentcolor" d="M7.402 2.353c1.711-1.801 4.48-1.807 6.196 0L20 9.093H1l6.402-6.74z"></path></g></svg>
|
@@ -1,26 +1,40 @@
|
|
1
1
|
<div class="relative flex flex-col w-full sm:w-auto js-actions-dropdown"
|
2
|
-
data-
|
2
|
+
data-component-name="<%= self.class.to_s.underscore %>"
|
3
|
+
data-controller="toggle actions-picker"
|
3
4
|
data-actions-picker-enabled-class="text-black hover:bg-primary-500 hover:text-white"
|
4
5
|
data-actions-picker-disabled-class="cursor-wait text-gray-500"
|
6
|
+
data-resource-name="<%= @resource.class.to_s %>"
|
7
|
+
<% if @resource.record.present? %> data-record-id="<%= @resource.record.id %>" <% end %>
|
5
8
|
>
|
6
9
|
<%= a_button style: @style,
|
7
10
|
type: :button,
|
8
11
|
color: @color,
|
12
|
+
size: size,
|
9
13
|
class: "focus:outline-none",
|
10
14
|
icon: 'arrow-circle-right',
|
11
15
|
icon_class: 'transform rotate-90',
|
12
|
-
'data-action': "click->toggle
|
16
|
+
'data-action': "click->toggle#togglePanel",
|
13
17
|
'data-actions-dropdown-button': @resource.model_key do %>
|
14
18
|
<%= label %>
|
15
19
|
<% end %>
|
16
20
|
<div
|
17
21
|
class="absolute flex inset-auto xl:right-0 top-full bg-white w-full sm:w-auto sm:min-w-[300px] mt-2 z-40 shadow-modal rounded overflow-hidden hidden"
|
18
|
-
data-toggle-
|
22
|
+
data-toggle-target="panel"
|
23
|
+
data-controller="actions-overflow"
|
24
|
+
data-actions-overflow-panel-list-value="<%= !@as_row_control %>"
|
25
|
+
data-actions-overflow-target="content"
|
26
|
+
data-transition-enter="transition ease-out duration-100"
|
27
|
+
data-transition-enter-start="transform opacity-0 -translate-y-1"
|
28
|
+
data-transition-enter-end="transform opacity-100 translate-y-0"
|
29
|
+
data-transition-leave="transition ease-in duration-75"
|
30
|
+
data-transition-leave-start="transform opacity-100 translate-y-0"
|
31
|
+
data-transition-leave-end="transform opacity-0 -translate-y-1"
|
19
32
|
>
|
20
|
-
<div class="w-full space divide-y">
|
33
|
+
<div data-target="actions-list" class="w-full space divide-y">
|
21
34
|
<% actions.each_with_index do |action, index| %>
|
22
|
-
<%= link_to action_path(action
|
35
|
+
<%= link_to action_path(action),
|
23
36
|
data: {
|
37
|
+
action_name: action.action_name,
|
24
38
|
'turbo-frame': 'actions_show',
|
25
39
|
'action': 'click->actions-picker#visitAction',
|
26
40
|
'actions-picker-target': action.standalone ? 'standaloneAction' : 'resourceAction',
|