spree_admin 5.0.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.md +13 -0
- data/README.md +4 -0
- data/Rakefile +15 -0
- data/app/assets/config/spree_admin_manifest.js +10 -0
- data/app/assets/images/favicon_256x256.png +0 -0
- data/app/assets/stylesheets/spree/admin/actiontext.css +36 -0
- data/app/assets/stylesheets/spree/admin/application.scss +43 -0
- data/app/assets/stylesheets/spree/admin/components/_alerts.scss +48 -0
- data/app/assets/stylesheets/spree/admin/components/_badges.scss +117 -0
- data/app/assets/stylesheets/spree/admin/components/_bulk_panel.scss +31 -0
- data/app/assets/stylesheets/spree/admin/components/_buttons.scss +198 -0
- data/app/assets/stylesheets/spree/admin/components/_cards.scss +126 -0
- data/app/assets/stylesheets/spree/admin/components/_dropdowns.scss +148 -0
- data/app/assets/stylesheets/spree/admin/components/_filters.scss +41 -0
- data/app/assets/stylesheets/spree/admin/components/_line_items_form.scss +32 -0
- data/app/assets/stylesheets/spree/admin/components/_main.scss +148 -0
- data/app/assets/stylesheets/spree/admin/components/_media_form.scss +91 -0
- data/app/assets/stylesheets/spree/admin/components/_modals.scss +42 -0
- data/app/assets/stylesheets/spree/admin/components/_navbar.scss +10 -0
- data/app/assets/stylesheets/spree/admin/components/_navigation.scss +53 -0
- data/app/assets/stylesheets/spree/admin/components/_offcanvas.scss +26 -0
- data/app/assets/stylesheets/spree/admin/components/_search_picker.scss +55 -0
- data/app/assets/stylesheets/spree/admin/components/_seo_form.scss +16 -0
- data/app/assets/stylesheets/spree/admin/components/_sortable_tree.scss +58 -0
- data/app/assets/stylesheets/spree/admin/components/_tables.scss +187 -0
- data/app/assets/stylesheets/spree/admin/components/_variants_form.scss +203 -0
- data/app/assets/stylesheets/spree/admin/global/_variables.scss +190 -0
- data/app/assets/stylesheets/spree/admin/plugins/_dropdown.scss +102 -0
- data/app/assets/stylesheets/spree/admin/plugins/_items.scss +115 -0
- data/app/assets/stylesheets/spree/admin/plugins/_tinymce_custom.scss +74 -0
- data/app/assets/stylesheets/spree/admin/plugins/_trix_custom.scss +110 -0
- data/app/assets/stylesheets/spree/admin/plugins/flatfile.scss +4 -0
- data/app/assets/stylesheets/spree/admin/plugins/plugins/checkbox_options.scss +5 -0
- data/app/assets/stylesheets/spree/admin/plugins/plugins/clear_button.scss +30 -0
- data/app/assets/stylesheets/spree/admin/plugins/plugins/drag_drop.scss +16 -0
- data/app/assets/stylesheets/spree/admin/plugins/plugins/dropdown_header.scss +23 -0
- data/app/assets/stylesheets/spree/admin/plugins/plugins/dropdown_input.scss +47 -0
- data/app/assets/stylesheets/spree/admin/plugins/plugins/input_autogrow.scss +18 -0
- data/app/assets/stylesheets/spree/admin/plugins/plugins/optgroup_columns.scss +23 -0
- data/app/assets/stylesheets/spree/admin/plugins/plugins/remove_button.scss +44 -0
- data/app/assets/stylesheets/spree/admin/plugins/tom-select.bootstrap4.scss +219 -0
- data/app/assets/stylesheets/spree/admin/plugins/tom-select.bootstrap5.scss +274 -0
- data/app/assets/stylesheets/spree/admin/plugins/tom-select.default.scss +87 -0
- data/app/assets/stylesheets/spree/admin/plugins/tom-select.scss +175 -0
- data/app/assets/stylesheets/spree/admin/plugins/uppy_fixes.scss +25 -0
- data/app/assets/stylesheets/spree/admin/shared/_base.scss +674 -0
- data/app/assets/stylesheets/spree/admin/shared/_forms.scss +184 -0
- data/app/assets/stylesheets/spree/admin/views/_dashboard.scss +34 -0
- data/app/assets/stylesheets/spree/admin/views/_page_builder.scss +237 -0
- data/app/controllers/concerns/spree/admin/analytics_concern.rb +51 -0
- data/app/controllers/concerns/spree/admin/bulk_operations_concern.rb +38 -0
- data/app/controllers/concerns/spree/admin/order_concern.rb +24 -0
- data/app/controllers/concerns/spree/admin/page_builder_concern.rb +44 -0
- data/app/controllers/spree/admin/action_text/video_embeds_controller.rb +44 -0
- data/app/controllers/spree/admin/addresses_controller.rb +86 -0
- data/app/controllers/spree/admin/assets_controller.rb +70 -0
- data/app/controllers/spree/admin/base_controller.rb +131 -0
- data/app/controllers/spree/admin/checkouts_controller.rb +23 -0
- data/app/controllers/spree/admin/classifications_controller.rb +74 -0
- data/app/controllers/spree/admin/coupon_codes_controller.rb +21 -0
- data/app/controllers/spree/admin/custom_domains_controller.rb +19 -0
- data/app/controllers/spree/admin/customer_returns_controller.rb +20 -0
- data/app/controllers/spree/admin/dashboard_controller.rb +145 -0
- data/app/controllers/spree/admin/digital_assets_controller.rb +45 -0
- data/app/controllers/spree/admin/errors_controller.rb +11 -0
- data/app/controllers/spree/admin/exports_controller.rb +48 -0
- data/app/controllers/spree/admin/line_items_controller.rb +121 -0
- data/app/controllers/spree/admin/oauth_applications_controller.rb +27 -0
- data/app/controllers/spree/admin/option_types_controller.rb +23 -0
- data/app/controllers/spree/admin/option_values_controller.rb +21 -0
- data/app/controllers/spree/admin/orders/billing_address_controller.rb +103 -0
- data/app/controllers/spree/admin/orders/contact_information_controller.rb +45 -0
- data/app/controllers/spree/admin/orders/customer_returns_controller.rb +81 -0
- data/app/controllers/spree/admin/orders/payment_links_controller.rb +33 -0
- data/app/controllers/spree/admin/orders/return_authorizations_controller.rb +90 -0
- data/app/controllers/spree/admin/orders/shipping_address_controller.rb +85 -0
- data/app/controllers/spree/admin/orders/user_controller.rb +94 -0
- data/app/controllers/spree/admin/orders_controller.rb +87 -0
- data/app/controllers/spree/admin/page_blocks_controller.rb +40 -0
- data/app/controllers/spree/admin/page_links_controller.rb +43 -0
- data/app/controllers/spree/admin/page_sections_controller.rb +57 -0
- data/app/controllers/spree/admin/pages_controller.rb +40 -0
- data/app/controllers/spree/admin/payment_methods_controller.rb +45 -0
- data/app/controllers/spree/admin/payments_controller.rb +122 -0
- data/app/controllers/spree/admin/post_categories_controller.rb +6 -0
- data/app/controllers/spree/admin/posts_controller.rb +23 -0
- data/app/controllers/spree/admin/products_controller.rb +366 -0
- data/app/controllers/spree/admin/profile_controller.rb +31 -0
- data/app/controllers/spree/admin/promotion_actions_controller.rb +47 -0
- data/app/controllers/spree/admin/promotion_rules_controller.rb +39 -0
- data/app/controllers/spree/admin/promotions_controller.rb +61 -0
- data/app/controllers/spree/admin/properties_controller.rb +23 -0
- data/app/controllers/spree/admin/refund_reasons_controller.rb +6 -0
- data/app/controllers/spree/admin/refunds_controller.rb +43 -0
- data/app/controllers/spree/admin/reimbursement_types_controller.rb +6 -0
- data/app/controllers/spree/admin/reimbursements_controller.rb +47 -0
- data/app/controllers/spree/admin/reports_controller.rb +52 -0
- data/app/controllers/spree/admin/resource_controller.rb +325 -0
- data/app/controllers/spree/admin/return_authorization_reasons_controller.rb +6 -0
- data/app/controllers/spree/admin/return_authorizations_controller.rb +29 -0
- data/app/controllers/spree/admin/return_items_controller.rb +9 -0
- data/app/controllers/spree/admin/roles_controller.rb +6 -0
- data/app/controllers/spree/admin/shipments_controller.rb +102 -0
- data/app/controllers/spree/admin/shipping_categories_controller.rb +6 -0
- data/app/controllers/spree/admin/shipping_methods_controller.rb +29 -0
- data/app/controllers/spree/admin/stock_items_controller.rb +25 -0
- data/app/controllers/spree/admin/stock_locations_controller.rb +24 -0
- data/app/controllers/spree/admin/stock_transfers_controller.rb +48 -0
- data/app/controllers/spree/admin/store_credit_categories_controller.rb +6 -0
- data/app/controllers/spree/admin/store_credits_controller.rb +93 -0
- data/app/controllers/spree/admin/storefront_controller.rb +38 -0
- data/app/controllers/spree/admin/stores_controller.rb +87 -0
- data/app/controllers/spree/admin/tax_categories_controller.rb +6 -0
- data/app/controllers/spree/admin/tax_rates_controller.rb +20 -0
- data/app/controllers/spree/admin/taxonomies_controller.rb +21 -0
- data/app/controllers/spree/admin/taxons_controller.rb +98 -0
- data/app/controllers/spree/admin/themes_controller.rb +75 -0
- data/app/controllers/spree/admin/translations_controller.rb +74 -0
- data/app/controllers/spree/admin/users_controller.rb +91 -0
- data/app/controllers/spree/admin/variants_controller.rb +90 -0
- data/app/controllers/spree/admin/webhooks_subscribers_controller.rb +48 -0
- data/app/controllers/spree/admin/zones_controller.rb +37 -0
- data/app/helpers/spree/admin/base_helper.rb +246 -0
- data/app/helpers/spree/admin/custom_domains_helper.rb +9 -0
- data/app/helpers/spree/admin/customer_returns_helper.rb +18 -0
- data/app/helpers/spree/admin/flash_helper.rb +15 -0
- data/app/helpers/spree/admin/navigation_helper.rb +195 -0
- data/app/helpers/spree/admin/onboarding_helper.rb +18 -0
- data/app/helpers/spree/admin/orders_filters_helper.rb +68 -0
- data/app/helpers/spree/admin/orders_helper.rb +179 -0
- data/app/helpers/spree/admin/page_builder_helper.rb +130 -0
- data/app/helpers/spree/admin/payments_helper.rb +24 -0
- data/app/helpers/spree/admin/posts_helper.rb +9 -0
- data/app/helpers/spree/admin/products_helper.rb +127 -0
- data/app/helpers/spree/admin/promotion_actions_helper.rb +10 -0
- data/app/helpers/spree/admin/promotion_rules_helper.rb +17 -0
- data/app/helpers/spree/admin/promotions_helper.rb +25 -0
- data/app/helpers/spree/admin/reimbursement_type_helper.rb +9 -0
- data/app/helpers/spree/admin/session_assets_helper.rb +24 -0
- data/app/helpers/spree/admin/shipment_helper.rb +27 -0
- data/app/helpers/spree/admin/sortable_tree_helper.rb +31 -0
- data/app/helpers/spree/admin/stock_locations_helper.rb +22 -0
- data/app/helpers/spree/admin/store_helper.rb +46 -0
- data/app/helpers/spree/admin/stores_helper.rb +86 -0
- data/app/helpers/spree/admin/tags_helper.rb +35 -0
- data/app/helpers/spree/admin/taxons_helper.rb +27 -0
- data/app/helpers/spree/admin/themes_helper.rb +9 -0
- data/app/helpers/spree/admin/translations_helper.rb +14 -0
- data/app/helpers/spree/admin/turbo_helper.rb +41 -0
- data/app/helpers/spree/admin/users_helper.rb +37 -0
- data/app/helpers/spree/admin/webhooks_subscribers_helper.rb +31 -0
- data/app/helpers/tom_select_helper.rb +42 -0
- data/app/javascript/spree/admin/application.js +157 -0
- data/app/javascript/spree/admin/controllers/active_storage_upload_controller.js +168 -0
- data/app/javascript/spree/admin/controllers/address_form_controller.js +98 -0
- data/app/javascript/spree/admin/controllers/asset_uploader_controller.js +58 -0
- data/app/javascript/spree/admin/controllers/autocomplete_select_controller.js +36 -0
- data/app/javascript/spree/admin/controllers/better_slider_controller.js +23 -0
- data/app/javascript/spree/admin/controllers/block_form_controller.js +11 -0
- data/app/javascript/spree/admin/controllers/bootstrap_tabs_controller.js +9 -0
- data/app/javascript/spree/admin/controllers/bulk_operation_controller.js +78 -0
- data/app/javascript/spree/admin/controllers/calculator_fields_controller.js +24 -0
- data/app/javascript/spree/admin/controllers/calendar_range_controller.js +52 -0
- data/app/javascript/spree/admin/controllers/clipboard_controller.js +17 -0
- data/app/javascript/spree/admin/controllers/color_palette_controller.js +22 -0
- data/app/javascript/spree/admin/controllers/color_picker_controller.js +52 -0
- data/app/javascript/spree/admin/controllers/enable_button_controller.js +29 -0
- data/app/javascript/spree/admin/controllers/filters_controller.js +66 -0
- data/app/javascript/spree/admin/controllers/font_picker_controller.js +55 -0
- data/app/javascript/spree/admin/controllers/media_form_controller.js +38 -0
- data/app/javascript/spree/admin/controllers/multi_input_controller.js +75 -0
- data/app/javascript/spree/admin/controllers/multi_tom_select_controller.js +80 -0
- data/app/javascript/spree/admin/controllers/order_billing_address_controller.js +39 -0
- data/app/javascript/spree/admin/controllers/page_builder_controller.js +316 -0
- data/app/javascript/spree/admin/controllers/password_toggle_controller.js +14 -0
- data/app/javascript/spree/admin/controllers/product_form_controller.js +70 -0
- data/app/javascript/spree/admin/controllers/range_input_controller.js +9 -0
- data/app/javascript/spree/admin/controllers/replace_controller.js +15 -0
- data/app/javascript/spree/admin/controllers/return_items_controller.js +47 -0
- data/app/javascript/spree/admin/controllers/row_link_controller.js +18 -0
- data/app/javascript/spree/admin/controllers/rule_form_controller.js +17 -0
- data/app/javascript/spree/admin/controllers/search_picker_controller.js +38 -0
- data/app/javascript/spree/admin/controllers/section_form_controller.js +14 -0
- data/app/javascript/spree/admin/controllers/select_controller.js +117 -0
- data/app/javascript/spree/admin/controllers/seo_form_controller.js +116 -0
- data/app/javascript/spree/admin/controllers/slug_form_controller.js +17 -0
- data/app/javascript/spree/admin/controllers/sortable_tree_controller.js +55 -0
- data/app/javascript/spree/admin/controllers/stock_transfer_controller.js +87 -0
- data/app/javascript/spree/admin/controllers/store_form_controller.js +17 -0
- data/app/javascript/spree/admin/controllers/unit_system_controller.js +27 -0
- data/app/javascript/spree/admin/controllers/variants_form_controller.js +1048 -0
- data/app/javascript/spree/admin/controllers/webhook_subscriber_events_controller.js +19 -0
- data/app/javascript/spree/admin/helpers/bootstrap.js +49 -0
- data/app/javascript/spree/admin/helpers/canvas.js +29 -0
- data/app/javascript/spree/admin/helpers/index.js +0 -0
- data/app/javascript/spree/admin/helpers/tinymce.js +65 -0
- data/app/javascript/spree/admin/helpers/trix/video_embed.js +182 -0
- data/app/javascript/spree/admin/helpers/uppy_active_storage.js +210 -0
- data/app/models/spree/admin/resource.rb +36 -0
- data/app/models/spree/admin/updater.rb +42 -0
- data/app/views/active_storage/_upload_form.html.erb +65 -0
- data/app/views/kaminari/admin-twitter-bootstrap-4/_first_page.html.erb +13 -0
- data/app/views/kaminari/admin-twitter-bootstrap-4/_gap.html.erb +12 -0
- data/app/views/kaminari/admin-twitter-bootstrap-4/_last_page.html.erb +13 -0
- data/app/views/kaminari/admin-twitter-bootstrap-4/_next_page.html.erb +13 -0
- data/app/views/kaminari/admin-twitter-bootstrap-4/_page.html.erb +18 -0
- data/app/views/kaminari/admin-twitter-bootstrap-4/_paginator.html.erb +17 -0
- data/app/views/kaminari/admin-twitter-bootstrap-4/_prev_page.html.erb +13 -0
- data/app/views/layouts/spree/admin.html.erb +21 -0
- data/app/views/layouts/spree/page_builder.html.erb +45 -0
- data/app/views/spree/admin/addresses/edit.html.erb +12 -0
- data/app/views/spree/admin/addresses/new.html.erb +16 -0
- data/app/views/spree/admin/assets/bulk_destroy.turbo_stream.erb +3 -0
- data/app/views/spree/admin/assets/create.turbo_stream.erb +5 -0
- data/app/views/spree/admin/assets/destroy.turbo_stream.erb +4 -0
- data/app/views/spree/admin/assets/edit.html.erb +27 -0
- data/app/views/spree/admin/assets/update.turbo_stream.erb +7 -0
- data/app/views/spree/admin/classifications/_classification.html.erb +38 -0
- data/app/views/spree/admin/classifications/create.turbo_stream.erb +7 -0
- data/app/views/spree/admin/classifications/destroy.turbo_stream.erb +2 -0
- data/app/views/spree/admin/classifications/index.html.erb +20 -0
- data/app/views/spree/admin/classifications/new.html.erb +1 -0
- data/app/views/spree/admin/coupon_codes/_coupon_code.html.erb +12 -0
- data/app/views/spree/admin/coupon_codes/index.csv.erb +14 -0
- data/app/views/spree/admin/coupon_codes/index.html.erb +70 -0
- data/app/views/spree/admin/custom_domains/_custom_domain.html.erb +13 -0
- data/app/views/spree/admin/custom_domains/_custom_domains.html.erb +24 -0
- data/app/views/spree/admin/custom_domains/_form.html.erb +19 -0
- data/app/views/spree/admin/custom_domains/create.turbo_stream.erb +3 -0
- data/app/views/spree/admin/custom_domains/edit.html.erb +15 -0
- data/app/views/spree/admin/custom_domains/index.html.erb +50 -0
- data/app/views/spree/admin/custom_domains/new.html.erb +15 -0
- data/app/views/spree/admin/customer_returns/_customer_return.html.erb +31 -0
- data/app/views/spree/admin/customer_returns/index.html.erb +57 -0
- data/app/views/spree/admin/dashboard/_analytics.html.erb +3 -0
- data/app/views/spree/admin/dashboard/_setup_progress.html.erb +17 -0
- data/app/views/spree/admin/dashboard/_setup_tasks.html.erb +24 -0
- data/app/views/spree/admin/dashboard/_store_preview.html.erb +45 -0
- data/app/views/spree/admin/dashboard/_top_products.html.erb +71 -0
- data/app/views/spree/admin/dashboard/_updater.html.erb +9 -0
- data/app/views/spree/admin/dashboard/_visits.html.erb +112 -0
- data/app/views/spree/admin/dashboard/analytics.html.erb +118 -0
- data/app/views/spree/admin/dashboard/getting_started.html.erb +22 -0
- data/app/views/spree/admin/dashboard/setup_tasks/_add_products.html.erb +22 -0
- data/app/views/spree/admin/dashboard/setup_tasks/_set_customer_support_email.html.erb +23 -0
- data/app/views/spree/admin/dashboard/setup_tasks/_setup_payment_method.html.erb +6 -0
- data/app/views/spree/admin/dashboard/setup_tasks/_setup_taxes_collection.html.erb +6 -0
- data/app/views/spree/admin/dashboard/show.html.erb +33 -0
- data/app/views/spree/admin/digital_assets/_digital_asset.html.erb +30 -0
- data/app/views/spree/admin/digital_assets/_form.html.erb +18 -0
- data/app/views/spree/admin/digital_assets/_table.html.erb +40 -0
- data/app/views/spree/admin/digital_assets/create.turbo_stream.erb +2 -0
- data/app/views/spree/admin/digital_assets/edit.html.erb +22 -0
- data/app/views/spree/admin/digital_assets/index.html.erb +27 -0
- data/app/views/spree/admin/digital_assets/new.html.erb +22 -0
- data/app/views/spree/admin/digital_assets/update.turbo_stream.erb +2 -0
- data/app/views/spree/admin/exports/_export.html.erb +42 -0
- data/app/views/spree/admin/exports/create.turbo_stream.erb +2 -0
- data/app/views/spree/admin/exports/index.html.erb +30 -0
- data/app/views/spree/admin/exports/new.html.erb +42 -0
- data/app/views/spree/admin/line_items/edit.html.erb +20 -0
- data/app/views/spree/admin/line_items/new.html.erb +32 -0
- data/app/views/spree/admin/oauth_applications/_form.html.erb +11 -0
- data/app/views/spree/admin/oauth_applications/create.turbo_stream.erb +41 -0
- data/app/views/spree/admin/oauth_applications/edit.html.erb +19 -0
- data/app/views/spree/admin/oauth_applications/index.html.erb +75 -0
- data/app/views/spree/admin/oauth_applications/new.html.erb +25 -0
- data/app/views/spree/admin/option_types/_filter.html.erb +7 -0
- data/app/views/spree/admin/option_types/_form.html.erb +87 -0
- data/app/views/spree/admin/option_types/_option_type.html.erb +19 -0
- data/app/views/spree/admin/option_types/_option_value_fields.html.erb +29 -0
- data/app/views/spree/admin/option_types/edit.html.erb +11 -0
- data/app/views/spree/admin/option_types/index.html.erb +63 -0
- data/app/views/spree/admin/option_types/new.html.erb +11 -0
- data/app/views/spree/admin/option_types/update.turbo_stream.erb +1 -0
- data/app/views/spree/admin/option_values/destroy.turbo_stream.erb +1 -0
- data/app/views/spree/admin/orders/_body_custom.html.erb +0 -0
- data/app/views/spree/admin/orders/_customer.html.erb +79 -0
- data/app/views/spree/admin/orders/_customer_returns.html.erb +26 -0
- data/app/views/spree/admin/orders/_customer_summary.html.erb +22 -0
- data/app/views/spree/admin/orders/_extra_filters.html.erb +0 -0
- data/app/views/spree/admin/orders/_filters.html.erb +106 -0
- data/app/views/spree/admin/orders/_header.html.erb +76 -0
- data/app/views/spree/admin/orders/_header_custom.html.erb +0 -0
- data/app/views/spree/admin/orders/_line_item.html.erb +61 -0
- data/app/views/spree/admin/orders/_line_items.html.erb +68 -0
- data/app/views/spree/admin/orders/_list.html.erb +30 -0
- data/app/views/spree/admin/orders/_order.html.erb +28 -0
- data/app/views/spree/admin/orders/_payments.html.erb +35 -0
- data/app/views/spree/admin/orders/_refunds.html.erb +49 -0
- data/app/views/spree/admin/orders/_return_authorizations.html.erb +26 -0
- data/app/views/spree/admin/orders/_risk_analysis.html.erb +26 -0
- data/app/views/spree/admin/orders/_shipment.html.erb +104 -0
- data/app/views/spree/admin/orders/_shipment_manifest_item.html.erb +17 -0
- data/app/views/spree/admin/orders/_shipments.html.erb +22 -0
- data/app/views/spree/admin/orders/_summary.html.erb +100 -0
- data/app/views/spree/admin/orders/_summary_custom.html.erb +0 -0
- data/app/views/spree/admin/orders/_table_filter_dropdown.html.erb +34 -0
- data/app/views/spree/admin/orders/_tax_lines.html.erb +11 -0
- data/app/views/spree/admin/orders/_user_overview.html.erb +13 -0
- data/app/views/spree/admin/orders/billing_address/_form.html.erb +14 -0
- data/app/views/spree/admin/orders/billing_address/create.turbo_stream.erb +35 -0
- data/app/views/spree/admin/orders/billing_address/edit.html.erb +42 -0
- data/app/views/spree/admin/orders/billing_address/new.html.erb +35 -0
- data/app/views/spree/admin/orders/billing_address/update.turbo_stream.erb +35 -0
- data/app/views/spree/admin/orders/contact_information/edit.html.erb +20 -0
- data/app/views/spree/admin/orders/customer_returns/_customer_return.html.erb +70 -0
- data/app/views/spree/admin/orders/customer_returns/_reimbursements_table.html.erb +40 -0
- data/app/views/spree/admin/orders/customer_returns/_return_item_decision.html.erb +54 -0
- data/app/views/spree/admin/orders/customer_returns/_return_item_selection.html.erb +72 -0
- data/app/views/spree/admin/orders/customer_returns/edit.html.erb +144 -0
- data/app/views/spree/admin/orders/customer_returns/new.html.erb +67 -0
- data/app/views/spree/admin/orders/edit.html.erb +23 -0
- data/app/views/spree/admin/orders/index.html.erb +23 -0
- data/app/views/spree/admin/orders/return_authorizations/_form.html.erb +176 -0
- data/app/views/spree/admin/orders/return_authorizations/_return_authorization.html.erb +36 -0
- data/app/views/spree/admin/orders/return_authorizations/edit.html.erb +44 -0
- data/app/views/spree/admin/orders/return_authorizations/new.html.erb +13 -0
- data/app/views/spree/admin/orders/return_authorizations/show.html.erb +128 -0
- data/app/views/spree/admin/orders/shipping_address/_form.html.erb +13 -0
- data/app/views/spree/admin/orders/shipping_address/create.turbo_stream.erb +17 -0
- data/app/views/spree/admin/orders/shipping_address/edit.html.erb +17 -0
- data/app/views/spree/admin/orders/shipping_address/new.html.erb +17 -0
- data/app/views/spree/admin/orders/shipping_address/update.turbo_stream.erb +17 -0
- data/app/views/spree/admin/orders/user/create.turbo_stream.erb +12 -0
- data/app/views/spree/admin/orders/user/edit.html.erb +3 -0
- data/app/views/spree/admin/orders/user/new.html.erb +30 -0
- data/app/views/spree/admin/orders/user/update.turbo_stream.erb +5 -0
- data/app/views/spree/admin/page_blocks/_form_tab_buttons.html.erb +7 -0
- data/app/views/spree/admin/page_blocks/create.turbo_stream.erb +4 -0
- data/app/views/spree/admin/page_blocks/destroy.turbo_stream.erb +9 -0
- data/app/views/spree/admin/page_blocks/edit.html.erb +48 -0
- data/app/views/spree/admin/page_blocks/forms/_brand.html.erb +15 -0
- data/app/views/spree/admin/page_blocks/forms/_brand_logo.html.erb +4 -0
- data/app/views/spree/admin/page_blocks/forms/_buttons.html.erb +13 -0
- data/app/views/spree/admin/page_blocks/forms/_buy_buttons.html.erb +10 -0
- data/app/views/spree/admin/page_blocks/forms/_heading.html.erb +28 -0
- data/app/views/spree/admin/page_blocks/forms/_image.html.erb +1 -0
- data/app/views/spree/admin/page_blocks/forms/_link.html.erb +19 -0
- data/app/views/spree/admin/page_blocks/forms/_mega_nav.html.erb +14 -0
- data/app/views/spree/admin/page_blocks/forms/_mega_nav_with_subcategories.html.erb +9 -0
- data/app/views/spree/admin/page_blocks/forms/_nav.html.erb +6 -0
- data/app/views/spree/admin/page_blocks/forms/_newsletter_form.html.erb +20 -0
- data/app/views/spree/admin/page_blocks/forms/_price.html.erb +15 -0
- data/app/views/spree/admin/page_blocks/forms/_quantity_selector.html.erb +10 -0
- data/app/views/spree/admin/page_blocks/forms/_share.html.erb +5 -0
- data/app/views/spree/admin/page_blocks/forms/_subheading.html.erb +26 -0
- data/app/views/spree/admin/page_blocks/forms/_text.html.erb +21 -0
- data/app/views/spree/admin/page_blocks/forms/_title.html.erb +20 -0
- data/app/views/spree/admin/page_blocks/forms/_variant_picker.html.erb +10 -0
- data/app/views/spree/admin/page_blocks/move_higher.turbo_stream.erb +4 -0
- data/app/views/spree/admin/page_blocks/move_lower.turbo_stream.erb +4 -0
- data/app/views/spree/admin/page_blocks/show.html.erb +1 -0
- data/app/views/spree/admin/page_blocks/update.turbo_stream.erb +6 -0
- data/app/views/spree/admin/page_builder/_add_block.html.erb +20 -0
- data/app/views/spree/admin/page_builder/_color_palette.html.erb +17 -0
- data/app/views/spree/admin/page_builder/_color_picker.html.erb +26 -0
- data/app/views/spree/admin/page_builder/_header.html.erb +99 -0
- data/app/views/spree/admin/page_builder/_labeled_range_input.html.erb +10 -0
- data/app/views/spree/admin/page_builder/_pages_dropdown.html.erb +23 -0
- data/app/views/spree/admin/page_builder/_range_input.html.erb +12 -0
- data/app/views/spree/admin/page_builder/_sidebar.html.erb +14 -0
- data/app/views/spree/admin/page_builder/_sidebar_block.html.erb +29 -0
- data/app/views/spree/admin/page_builder/_sidebar_colors.html.erb +84 -0
- data/app/views/spree/admin/page_builder/_sidebar_fonts.html.erb +85 -0
- data/app/views/spree/admin/page_builder/_sidebar_section.html.erb +46 -0
- data/app/views/spree/admin/page_builder/_sidebar_sections.html.erb +33 -0
- data/app/views/spree/admin/page_builder/_sidebar_sections_toolbar.html.erb +65 -0
- data/app/views/spree/admin/page_links/_form.html.erb +19 -0
- data/app/views/spree/admin/page_links/_linkable_type_dropdown.html.erb +15 -0
- data/app/views/spree/admin/page_links/_list.html.erb +36 -0
- data/app/views/spree/admin/page_links/_refresh_theme_preview.turbo_stream.erb +5 -0
- data/app/views/spree/admin/page_links/create.turbo_stream.erb +4 -0
- data/app/views/spree/admin/page_links/destroy.turbo_stream.erb +11 -0
- data/app/views/spree/admin/page_links/edit.html.erb +18 -0
- data/app/views/spree/admin/page_links/update.turbo_stream.erb +6 -0
- data/app/views/spree/admin/page_sections/_form_tab_buttons.html.erb +12 -0
- data/app/views/spree/admin/page_sections/create.turbo_stream.erb +11 -0
- data/app/views/spree/admin/page_sections/destroy.turbo_stream.erb +16 -0
- data/app/views/spree/admin/page_sections/edit.html.erb +42 -0
- data/app/views/spree/admin/page_sections/fields/_background_color.html.erb +6 -0
- data/app/views/spree/admin/page_sections/fields/_border_bottom_width.html.erb +5 -0
- data/app/views/spree/admin/page_sections/fields/_border_color.html.erb +7 -0
- data/app/views/spree/admin/page_sections/fields/_border_top_width.html.erb +6 -0
- data/app/views/spree/admin/page_sections/fields/_bottom_padding.html.erb +5 -0
- data/app/views/spree/admin/page_sections/fields/_button.html.erb +15 -0
- data/app/views/spree/admin/page_sections/fields/_header_layout.html.erb +26 -0
- data/app/views/spree/admin/page_sections/fields/_height.html.erb +6 -0
- data/app/views/spree/admin/page_sections/fields/_text_color.html.erb +7 -0
- data/app/views/spree/admin/page_sections/fields/_top_padding.html.erb +6 -0
- data/app/views/spree/admin/page_sections/forms/_announcement_bar.html.erb +5 -0
- data/app/views/spree/admin/page_sections/forms/_brand_story.html.erb +0 -0
- data/app/views/spree/admin/page_sections/forms/_collection_banner.html.erb +0 -0
- data/app/views/spree/admin/page_sections/forms/_custom_code.html.erb +4 -0
- data/app/views/spree/admin/page_sections/forms/_featured_posts.html.erb +38 -0
- data/app/views/spree/admin/page_sections/forms/_featured_product.html.erb +4 -0
- data/app/views/spree/admin/page_sections/forms/_featured_taxon.html.erb +59 -0
- data/app/views/spree/admin/page_sections/forms/_featured_taxons.html.erb +13 -0
- data/app/views/spree/admin/page_sections/forms/_footer.html.erb +20 -0
- data/app/views/spree/admin/page_sections/forms/_header.html.erb +14 -0
- data/app/views/spree/admin/page_sections/forms/_image_banner.html.erb +13 -0
- data/app/views/spree/admin/page_sections/forms/_image_with_text.html.erb +31 -0
- data/app/views/spree/admin/page_sections/forms/_main_password_footer.html.erb +9 -0
- data/app/views/spree/admin/page_sections/forms/_main_password_header.erb +13 -0
- data/app/views/spree/admin/page_sections/forms/_newsletter.html.erb +15 -0
- data/app/views/spree/admin/page_sections/forms/_page_title.html.erb +4 -0
- data/app/views/spree/admin/page_sections/forms/_post_details.html.erb +0 -0
- data/app/views/spree/admin/page_sections/forms/_post_grid.html.erb +0 -0
- data/app/views/spree/admin/page_sections/forms/_product_details.html.erb +1 -0
- data/app/views/spree/admin/page_sections/forms/_product_grid.html.erb +1 -0
- data/app/views/spree/admin/page_sections/forms/_related_products.html.erb +32 -0
- data/app/views/spree/admin/page_sections/forms/_rich_text.html.erb +0 -0
- data/app/views/spree/admin/page_sections/forms/_taxon_banner.html.erb +0 -0
- data/app/views/spree/admin/page_sections/forms/_taxon_grid.html.erb +5 -0
- data/app/views/spree/admin/page_sections/forms/_video.html.erb +15 -0
- data/app/views/spree/admin/page_sections/move_higher.turbo_stream.erb +7 -0
- data/app/views/spree/admin/page_sections/move_lower.turbo_stream.erb +7 -0
- data/app/views/spree/admin/page_sections/new.html.erb +28 -0
- data/app/views/spree/admin/page_sections/remove_attachment.turbo_stream.erb +4 -0
- data/app/views/spree/admin/page_sections/restore_design_settings_to_defaults.turbo_stream.erb +4 -0
- data/app/views/spree/admin/page_sections/show.html.erb +1 -0
- data/app/views/spree/admin/page_sections/update.turbo_stream.erb +10 -0
- data/app/views/spree/admin/pages/_filters.html.erb +7 -0
- data/app/views/spree/admin/pages/_form.html.erb +29 -0
- data/app/views/spree/admin/pages/_page.erb +8 -0
- data/app/views/spree/admin/pages/edit.html.erb +18 -0
- data/app/views/spree/admin/pages/index.html.erb +28 -0
- data/app/views/spree/admin/pages/new.html.erb +11 -0
- data/app/views/spree/admin/payment_methods/_available_payment_method.html.erb +21 -0
- data/app/views/spree/admin/payment_methods/_check.html.erb +0 -0
- data/app/views/spree/admin/payment_methods/_form.html.erb +71 -0
- data/app/views/spree/admin/payment_methods/_payment_method.html.erb +38 -0
- data/app/views/spree/admin/payment_methods/descriptions/_check.html.erb +0 -0
- data/app/views/spree/admin/payment_methods/descriptions/_gateway.html.erb +1 -0
- data/app/views/spree/admin/payment_methods/descriptions/_store_credit.html.erb +1 -0
- data/app/views/spree/admin/payment_methods/edit.html.erb +10 -0
- data/app/views/spree/admin/payment_methods/index.html.erb +38 -0
- data/app/views/spree/admin/payment_methods/new.html.erb +12 -0
- data/app/views/spree/admin/payment_methods/update.turbo_stream.erb +1 -0
- data/app/views/spree/admin/payments/_payment.html.erb +89 -0
- data/app/views/spree/admin/payments/new.html.erb +64 -0
- data/app/views/spree/admin/payments/source_forms/_gateway.html.erb +54 -0
- data/app/views/spree/admin/payments/source_forms/_previous_cards.html.erb +21 -0
- data/app/views/spree/admin/payments/source_forms/_spree_stripe.html.erb +7 -0
- data/app/views/spree/admin/payments/source_forms/_store_credit.html.erb +22 -0
- data/app/views/spree/admin/payments/source_views/_check.html.erb +0 -0
- data/app/views/spree/admin/payments/source_views/_gateway.html.erb +22 -0
- data/app/views/spree/admin/payments/source_views/_storecredit.html.erb +31 -0
- data/app/views/spree/admin/post_categories/_form.html.erb +15 -0
- data/app/views/spree/admin/post_categories/_post_category.html.erb +6 -0
- data/app/views/spree/admin/post_categories/edit.html.erb +15 -0
- data/app/views/spree/admin/post_categories/index.html.erb +27 -0
- data/app/views/spree/admin/post_categories/new.html.erb +15 -0
- data/app/views/spree/admin/posts/_extra_actions.html.erb +0 -0
- data/app/views/spree/admin/posts/_filters.html.erb +40 -0
- data/app/views/spree/admin/posts/_form.html.erb +81 -0
- data/app/views/spree/admin/posts/_post.html.erb +32 -0
- data/app/views/spree/admin/posts/edit.html.erb +15 -0
- data/app/views/spree/admin/posts/index.html.erb +36 -0
- data/app/views/spree/admin/posts/new.html.erb +11 -0
- data/app/views/spree/admin/preferences/_password_field.html.erb +26 -0
- data/app/views/spree/admin/products/_bulk_operations.html.erb +122 -0
- data/app/views/spree/admin/products/_edit_page_title.html.erb +3 -0
- data/app/views/spree/admin/products/_empty_list.html.erb +1 -0
- data/app/views/spree/admin/products/_filters.html.erb +60 -0
- data/app/views/spree/admin/products/_form.html.erb +29 -0
- data/app/views/spree/admin/products/_import_button.html.erb +0 -0
- data/app/views/spree/admin/products/_index_header.html.erb +7 -0
- data/app/views/spree/admin/products/_list.html.erb +50 -0
- data/app/views/spree/admin/products/_product.html.erb +30 -0
- data/app/views/spree/admin/products/_product_status.html.erb +3 -0
- data/app/views/spree/admin/products/_search_result.html.erb +9 -0
- data/app/views/spree/admin/products/_search_results.html.erb +9 -0
- data/app/views/spree/admin/products/_table_filter_dropdown.html.erb +42 -0
- data/app/views/spree/admin/products/bulk_modal.html.erb +23 -0
- data/app/views/spree/admin/products/bulk_status_update.turbo_stream.erb +7 -0
- data/app/views/spree/admin/products/edit.html.erb +38 -0
- data/app/views/spree/admin/products/form/_base.html.erb +16 -0
- data/app/views/spree/admin/products/form/_categorization.html.erb +35 -0
- data/app/views/spree/admin/products/form/_extra_filters.html.erb +0 -0
- data/app/views/spree/admin/products/form/_extra_form.html.erb +0 -0
- data/app/views/spree/admin/products/form/_extra_form_sidebar.erb +0 -0
- data/app/views/spree/admin/products/form/_inventory.html.erb +63 -0
- data/app/views/spree/admin/products/form/_properties.html.erb +46 -0
- data/app/views/spree/admin/products/form/_shipping.html.erb +16 -0
- data/app/views/spree/admin/products/form/_status.html.erb +52 -0
- data/app/views/spree/admin/products/form/_stores.html.erb +27 -0
- data/app/views/spree/admin/products/form/_variants.html.erb +171 -0
- data/app/views/spree/admin/products/form/variants/_option_template.html.erb +59 -0
- data/app/views/spree/admin/products/form/variants/_variant_template.html.erb +44 -0
- data/app/views/spree/admin/products/index.html.erb +18 -0
- data/app/views/spree/admin/products/new.html.erb +9 -0
- data/app/views/spree/admin/profile/edit.html.erb +79 -0
- data/app/views/spree/admin/promotion_actions/_promotion_action.html.erb +45 -0
- data/app/views/spree/admin/promotion_actions/edit.html.erb +17 -0
- data/app/views/spree/admin/promotion_actions/forms/_create_adjustment.html.erb +1 -0
- data/app/views/spree/admin/promotion_actions/forms/_create_item_adjustments.html.erb +1 -0
- data/app/views/spree/admin/promotion_actions/forms/_create_line_items.html.erb +35 -0
- data/app/views/spree/admin/promotion_actions/forms/_create_line_items_row.html.erb +28 -0
- data/app/views/spree/admin/promotion_actions/forms/_free_shipping.html.erb +0 -0
- data/app/views/spree/admin/promotion_actions/new.html.erb +48 -0
- data/app/views/spree/admin/promotion_rules/_promotion_rule.html.erb +53 -0
- data/app/views/spree/admin/promotion_rules/edit.html.erb +17 -0
- data/app/views/spree/admin/promotion_rules/forms/_country.html.erb +7 -0
- data/app/views/spree/admin/promotion_rules/forms/_currency.html.erb +10 -0
- data/app/views/spree/admin/promotion_rules/forms/_first_order.html.erb +0 -0
- data/app/views/spree/admin/promotion_rules/forms/_item_total.html.erb +26 -0
- data/app/views/spree/admin/promotion_rules/forms/_one_use_per_user.html.erb +0 -0
- data/app/views/spree/admin/promotion_rules/forms/_option_value.html.erb +9 -0
- data/app/views/spree/admin/promotion_rules/forms/_product.html.erb +9 -0
- data/app/views/spree/admin/promotion_rules/forms/_taxon.html.erb +9 -0
- data/app/views/spree/admin/promotion_rules/forms/_user.html.erb +7 -0
- data/app/views/spree/admin/promotion_rules/forms/_user_logged_in.html.erb +0 -0
- data/app/views/spree/admin/promotion_rules/new.html.erb +48 -0
- data/app/views/spree/admin/promotions/_actions.html.erb +30 -0
- data/app/views/spree/admin/promotions/_form.html.erb +47 -0
- data/app/views/spree/admin/promotions/_header.html.erb +16 -0
- data/app/views/spree/admin/promotions/_promotion.html.erb +34 -0
- data/app/views/spree/admin/promotions/_rules.html.erb +44 -0
- data/app/views/spree/admin/promotions/_sidebar.html.erb +117 -0
- data/app/views/spree/admin/promotions/_status.html.erb +16 -0
- data/app/views/spree/admin/promotions/_table_filter_dropdown.html.erb +17 -0
- data/app/views/spree/admin/promotions/_usage_limit.html.erb +13 -0
- data/app/views/spree/admin/promotions/edit.html.erb +59 -0
- data/app/views/spree/admin/promotions/form/_kind.html.erb +57 -0
- data/app/views/spree/admin/promotions/form/_settings.html.erb +24 -0
- data/app/views/spree/admin/promotions/index.html.erb +62 -0
- data/app/views/spree/admin/promotions/new.html.erb +11 -0
- data/app/views/spree/admin/promotions/show.html.erb +12 -0
- data/app/views/spree/admin/properties/_form.html.erb +22 -0
- data/app/views/spree/admin/properties/_property.html.erb +25 -0
- data/app/views/spree/admin/properties/edit.html.erb +15 -0
- data/app/views/spree/admin/properties/index.html.erb +53 -0
- data/app/views/spree/admin/properties/new.html.erb +14 -0
- data/app/views/spree/admin/properties/update.turbo_stream.erb +1 -0
- data/app/views/spree/admin/refund_reasons/edit.html.erb +3 -0
- data/app/views/spree/admin/refund_reasons/index.html.erb +40 -0
- data/app/views/spree/admin/refund_reasons/new.html.erb +4 -0
- data/app/views/spree/admin/refunds/_form.html.erb +17 -0
- data/app/views/spree/admin/refunds/edit.html.erb +20 -0
- data/app/views/spree/admin/refunds/new.html.erb +29 -0
- data/app/views/spree/admin/reimbursement_types/_form.html.erb +30 -0
- data/app/views/spree/admin/reimbursement_types/edit.html.erb +15 -0
- data/app/views/spree/admin/reimbursement_types/index.html.erb +44 -0
- data/app/views/spree/admin/reimbursement_types/new.html.erb +16 -0
- data/app/views/spree/admin/reimbursements/edit.html.erb +130 -0
- data/app/views/spree/admin/reimbursements/show.html.erb +113 -0
- data/app/views/spree/admin/reports/_report.html.erb +22 -0
- data/app/views/spree/admin/reports/create.turbo_stream.erb +1 -0
- data/app/views/spree/admin/reports/index.html.erb +28 -0
- data/app/views/spree/admin/reports/new.html.erb +39 -0
- data/app/views/spree/admin/return_authorization_reasons/edit.html.erb +3 -0
- data/app/views/spree/admin/return_authorization_reasons/index.html.erb +45 -0
- data/app/views/spree/admin/return_authorization_reasons/new.html.erb +4 -0
- data/app/views/spree/admin/return_authorizations/_filters.html.erb +39 -0
- data/app/views/spree/admin/return_authorizations/_list.html.erb +30 -0
- data/app/views/spree/admin/return_authorizations/_return_authorization.html.erb +40 -0
- data/app/views/spree/admin/return_authorizations/index.html.erb +14 -0
- data/app/views/spree/admin/roles/_form.html.erb +6 -0
- data/app/views/spree/admin/roles/edit.html.erb +13 -0
- data/app/views/spree/admin/roles/index.html.erb +32 -0
- data/app/views/spree/admin/roles/new.html.erb +15 -0
- data/app/views/spree/admin/shared/_address.html.erb +42 -0
- data/app/views/spree/admin/shared/_alerts.html.erb +22 -0
- data/app/views/spree/admin/shared/_analytics_loader_skeleton.html.erb +76 -0
- data/app/views/spree/admin/shared/_audit_nav.html.erb +3 -0
- data/app/views/spree/admin/shared/_bulk_modal.html.erb +21 -0
- data/app/views/spree/admin/shared/_calculator_fields.html.erb +34 -0
- data/app/views/spree/admin/shared/_calendar_range_picker.html.erb +28 -0
- data/app/views/spree/admin/shared/_close_bulk_modal.turbo_stream.erb +2 -0
- data/app/views/spree/admin/shared/_content_header.html.erb +81 -0
- data/app/views/spree/admin/shared/_custom_head.html.erb +0 -0
- data/app/views/spree/admin/shared/_developers_nav.html.erb +7 -0
- data/app/views/spree/admin/shared/_edit_resource_links.html.erb +6 -0
- data/app/views/spree/admin/shared/_error_messages.html.erb +22 -0
- data/app/views/spree/admin/shared/_filter_badge_template.erb +3 -0
- data/app/views/spree/admin/shared/_filters_button.html.erb +8 -0
- data/app/views/spree/admin/shared/_filters_search_bar.html.erb +15 -0
- data/app/views/spree/admin/shared/_footer.html.erb +2 -0
- data/app/views/spree/admin/shared/_growth_rate_badge.html.erb +17 -0
- data/app/views/spree/admin/shared/_head.html.erb +52 -0
- data/app/views/spree/admin/shared/_header.html.erb +28 -0
- data/app/views/spree/admin/shared/_index_table_options.html.erb +22 -0
- data/app/views/spree/admin/shared/_map.html.erb +9 -0
- data/app/views/spree/admin/shared/_modal.html.erb +37 -0
- data/app/views/spree/admin/shared/_multi_product_picker.html.erb +26 -0
- data/app/views/spree/admin/shared/_new_resource_links.html.erb +3 -0
- data/app/views/spree/admin/shared/_no_image.html.erb +6 -0
- data/app/views/spree/admin/shared/_no_resource_found.html.erb +6 -0
- data/app/views/spree/admin/shared/_offcanvas_nav.html.erb +25 -0
- data/app/views/spree/admin/shared/_page_section_image.html.erb +1 -0
- data/app/views/spree/admin/shared/_page_section_logo.html.erb +1 -0
- data/app/views/spree/admin/shared/_posts_tabs.html.erb +8 -0
- data/app/views/spree/admin/shared/_preferences.html.erb +9 -0
- data/app/views/spree/admin/shared/_product_image.html.erb +21 -0
- data/app/views/spree/admin/shared/_refunds.html.erb +30 -0
- data/app/views/spree/admin/shared/_returns_and_refunds_nav.html.erb +9 -0
- data/app/views/spree/admin/shared/_seo.html.erb +39 -0
- data/app/views/spree/admin/shared/_shipping_nav.html.erb +4 -0
- data/app/views/spree/admin/shared/_sidebar.html.erb +15 -0
- data/app/views/spree/admin/shared/_spinner.html.erb +7 -0
- data/app/views/spree/admin/shared/_stock_nav.html.erb +4 -0
- data/app/views/spree/admin/shared/_tax_nav.html.erb +4 -0
- data/app/views/spree/admin/shared/_user.html.erb +24 -0
- data/app/views/spree/admin/shared/_user_dropdown.html.erb +41 -0
- data/app/views/spree/admin/shared/named_types/_edit.html.erb +15 -0
- data/app/views/spree/admin/shared/named_types/_form.html.erb +15 -0
- data/app/views/spree/admin/shared/named_types/_new.html.erb +15 -0
- data/app/views/spree/admin/shared/sidebar/_custom_nav.html.erb +0 -0
- data/app/views/spree/admin/shared/sidebar/_enterprise_edition_notice.html.erb +10 -0
- data/app/views/spree/admin/shared/sidebar/_integrations_nav.html.erb +7 -0
- data/app/views/spree/admin/shared/sidebar/_orders_nav.html.erb +35 -0
- data/app/views/spree/admin/shared/sidebar/_products_nav.html.erb +41 -0
- data/app/views/spree/admin/shared/sidebar/_returns_nav.html.erb +20 -0
- data/app/views/spree/admin/shared/sidebar/_store_dropdown.html.erb +67 -0
- data/app/views/spree/admin/shared/sidebar/_store_nav.html.erb +176 -0
- data/app/views/spree/admin/shared/sidebar/_storefront_nav.html.erb +29 -0
- data/app/views/spree/admin/shared/sidebar/_vendors_nav.html.erb +8 -0
- data/app/views/spree/admin/shared/sortable_tree/_taxonomy.html.erb +66 -0
- data/app/views/spree/admin/shipments/edit.html.erb +28 -0
- data/app/views/spree/admin/shipments/split.html.erb +16 -0
- data/app/views/spree/admin/shipping_categories/_form.html.erb +9 -0
- data/app/views/spree/admin/shipping_categories/edit.html.erb +11 -0
- data/app/views/spree/admin/shipping_categories/index.html.erb +36 -0
- data/app/views/spree/admin/shipping_categories/new.html.erb +13 -0
- data/app/views/spree/admin/shipping_methods/_actions.html.erb +5 -0
- data/app/views/spree/admin/shipping_methods/_form.html.erb +141 -0
- data/app/views/spree/admin/shipping_methods/_shipping_method.html.erb +33 -0
- data/app/views/spree/admin/shipping_methods/edit.html.erb +12 -0
- data/app/views/spree/admin/shipping_methods/index.html.erb +34 -0
- data/app/views/spree/admin/shipping_methods/new.html.erb +13 -0
- data/app/views/spree/admin/shipping_methods/update.turbo_stream.erb +1 -0
- data/app/views/spree/admin/stock_items/_filters.html.erb +39 -0
- data/app/views/spree/admin/stock_items/_stock_item.html.erb +43 -0
- data/app/views/spree/admin/stock_items/index.html.erb +38 -0
- data/app/views/spree/admin/stock_items/update.turbo_stream.erb +1 -0
- data/app/views/spree/admin/stock_locations/_form.html.erb +56 -0
- data/app/views/spree/admin/stock_locations/_stock_location.html.erb +30 -0
- data/app/views/spree/admin/stock_locations/edit.html.erb +9 -0
- data/app/views/spree/admin/stock_locations/index.html.erb +26 -0
- data/app/views/spree/admin/stock_locations/new.html.erb +11 -0
- data/app/views/spree/admin/stock_transfers/_destination_movement_form.html.erb +36 -0
- data/app/views/spree/admin/stock_transfers/_filters.html.erb +46 -0
- data/app/views/spree/admin/stock_transfers/_new_variant_modal.html.erb +30 -0
- data/app/views/spree/admin/stock_transfers/_new_variant_template.html.erb +8 -0
- data/app/views/spree/admin/stock_transfers/_source_movement_form.html.erb +8 -0
- data/app/views/spree/admin/stock_transfers/_stock_movement.html.erb +5 -0
- data/app/views/spree/admin/stock_transfers/_stock_transfer.html.erb +11 -0
- data/app/views/spree/admin/stock_transfers/index.html.erb +38 -0
- data/app/views/spree/admin/stock_transfers/new.html.erb +85 -0
- data/app/views/spree/admin/stock_transfers/show.html.erb +58 -0
- data/app/views/spree/admin/store_credit_categories/_form.html.erb +5 -0
- data/app/views/spree/admin/store_credit_categories/edit.html.erb +13 -0
- data/app/views/spree/admin/store_credit_categories/index.html.erb +32 -0
- data/app/views/spree/admin/store_credit_categories/new.html.erb +15 -0
- data/app/views/spree/admin/store_credits/_form.html.erb +24 -0
- data/app/views/spree/admin/store_credits/_list.html.erb +41 -0
- data/app/views/spree/admin/store_credits/edit.html.erb +36 -0
- data/app/views/spree/admin/store_credits/index.html.erb +20 -0
- data/app/views/spree/admin/store_credits/new.html.erb +26 -0
- data/app/views/spree/admin/storefront/edit.html.erb +146 -0
- data/app/views/spree/admin/stores/create.turbo_stream.erb +5 -0
- data/app/views/spree/admin/stores/edit.html.erb +13 -0
- data/app/views/spree/admin/stores/edit_emails.html.erb +11 -0
- data/app/views/spree/admin/stores/form/_basic.html.erb +160 -0
- data/app/views/spree/admin/stores/form/_buttons.html.erb +3 -0
- data/app/views/spree/admin/stores/form/_checkout.html.erb +50 -0
- data/app/views/spree/admin/stores/form/_custom.html.erb +0 -0
- data/app/views/spree/admin/stores/form/_emails.html.erb +59 -0
- data/app/views/spree/admin/stores/form/_policies.html.erb +85 -0
- data/app/views/spree/admin/stores/new.html.erb +135 -0
- data/app/views/spree/admin/stores/new.turbo_stream.erb +1 -0
- data/app/views/spree/admin/stores/update.turbo_stream.erb +11 -0
- data/app/views/spree/admin/tax_categories/_form.html.erb +25 -0
- data/app/views/spree/admin/tax_categories/_tax_category.html.erb +13 -0
- data/app/views/spree/admin/tax_categories/edit.html.erb +11 -0
- data/app/views/spree/admin/tax_categories/index.html.erb +30 -0
- data/app/views/spree/admin/tax_categories/new.html.erb +11 -0
- data/app/views/spree/admin/tax_rates/_form.html.erb +48 -0
- data/app/views/spree/admin/tax_rates/_tax_rate.html.erb +15 -0
- data/app/views/spree/admin/tax_rates/edit.html.erb +11 -0
- data/app/views/spree/admin/tax_rates/index.html.erb +32 -0
- data/app/views/spree/admin/tax_rates/new.html.erb +14 -0
- data/app/views/spree/admin/taxonomies/_taxonomy.html.erb +16 -0
- data/app/views/spree/admin/taxonomies/edit.html.erb +28 -0
- data/app/views/spree/admin/taxonomies/index.html.erb +40 -0
- data/app/views/spree/admin/taxonomies/new.html.erb +23 -0
- data/app/views/spree/admin/taxonomies/show.html.erb +28 -0
- data/app/views/spree/admin/taxons/_form.html.erb +148 -0
- data/app/views/spree/admin/taxons/_rule_form.html.erb +24 -0
- data/app/views/spree/admin/taxons/_rules_form.html.erb +34 -0
- data/app/views/spree/admin/taxons/destroy.turbo_stream.erb +1 -0
- data/app/views/spree/admin/taxons/edit.html.erb +19 -0
- data/app/views/spree/admin/taxons/new.html.erb +12 -0
- data/app/views/spree/admin/taxons/rule_forms/_available_on.html.erb +4 -0
- data/app/views/spree/admin/taxons/rule_forms/_sale.html.erb +4 -0
- data/app/views/spree/admin/taxons/rule_forms/_tag.html.erb +1 -0
- data/app/views/spree/admin/themes/_theme.html.erb +53 -0
- data/app/views/spree/admin/themes/_theme_preview_image.html.erb +24 -0
- data/app/views/spree/admin/themes/edit.html.erb +14 -0
- data/app/views/spree/admin/themes/index.html.erb +79 -0
- data/app/views/spree/admin/themes/update.turbo_stream.erb +1 -0
- data/app/views/spree/admin/translations/_translations_unavailable.html.erb +10 -0
- data/app/views/spree/admin/translations/edit.html.erb +47 -0
- data/app/views/spree/admin/translations/products/_form.html.erb +23 -0
- data/app/views/spree/admin/translations/stores/_form.html.erb +23 -0
- data/app/views/spree/admin/translations/taxonomies/_form.html.erb +20 -0
- data/app/views/spree/admin/translations/taxons/_form.html.erb +37 -0
- data/app/views/spree/admin/users/_billing.html.erb +78 -0
- data/app/views/spree/admin/users/_details.html.erb +52 -0
- data/app/views/spree/admin/users/_extra_actions.html.erb +0 -0
- data/app/views/spree/admin/users/_filters.html.erb +85 -0
- data/app/views/spree/admin/users/_form.html.erb +36 -0
- data/app/views/spree/admin/users/_last_order.html.erb +33 -0
- data/app/views/spree/admin/users/_last_order_line_item.html.erb +19 -0
- data/app/views/spree/admin/users/_lifetime_stats.html.erb +65 -0
- data/app/views/spree/admin/users/_shipping.html.erb +33 -0
- data/app/views/spree/admin/users/_tabs.html.erb +74 -0
- data/app/views/spree/admin/users/_user.html.erb +20 -0
- data/app/views/spree/admin/users/bulk_modal.html.erb +21 -0
- data/app/views/spree/admin/users/edit.html.erb +17 -0
- data/app/views/spree/admin/users/index.csv.erb +43 -0
- data/app/views/spree/admin/users/index.html.erb +102 -0
- data/app/views/spree/admin/users/new.html.erb +14 -0
- data/app/views/spree/admin/users/show.html.erb +38 -0
- data/app/views/spree/admin/variants/_search_result.html.erb +28 -0
- data/app/views/spree/admin/variants/_search_results.html.erb +9 -0
- data/app/views/spree/admin/variants/_variant.html.erb +13 -0
- data/app/views/spree/admin/variants/edit.html.erb +20 -0
- data/app/views/spree/admin/variants/form/_basic.html.erb +31 -0
- data/app/views/spree/admin/variants/form/_dimensions.html.erb +33 -0
- data/app/views/spree/admin/variants/form/_inventory.html.erb +45 -0
- data/app/views/spree/admin/variants/form/_media.html.erb +32 -0
- data/app/views/spree/admin/variants/form/_media_asset.html.erb +21 -0
- data/app/views/spree/admin/variants/form/_pricing.html.erb +48 -0
- data/app/views/spree/admin/webhook_events/_webhook_event.html.erb +17 -0
- data/app/views/spree/admin/webhooks_subscribers/_form.html.erb +66 -0
- data/app/views/spree/admin/webhooks_subscribers/_webhooks_subscriber.html.erb +16 -0
- data/app/views/spree/admin/webhooks_subscribers/edit.html.erb +9 -0
- data/app/views/spree/admin/webhooks_subscribers/index.html.erb +26 -0
- data/app/views/spree/admin/webhooks_subscribers/new.html.erb +11 -0
- data/app/views/spree/admin/webhooks_subscribers/show.html.erb +54 -0
- data/app/views/spree/admin/zones/_country_members.html.erb +16 -0
- data/app/views/spree/admin/zones/_form.html.erb +52 -0
- data/app/views/spree/admin/zones/_state_members.html.erb +21 -0
- data/app/views/spree/admin/zones/edit.html.erb +12 -0
- data/app/views/spree/admin/zones/index.html.erb +45 -0
- data/app/views/spree/admin/zones/new.html.erb +11 -0
- data/config/i18n-tasks.yml +190 -0
- data/config/importmap.rb +149 -0
- data/config/initializers/action_text.rb +8 -0
- data/config/initializers/assets.rb +1 -0
- data/config/initializers/chartkick.rb +5 -0
- data/config/initializers/dartsass.rb +3 -0
- data/config/initializers/form_builder.rb +10 -0
- data/config/initializers/ransack.rb +19 -0
- data/config/locales/en.yml +304 -0
- data/config/routes.rb +240 -0
- data/lib/generators/spree/admin/install/install_generator.rb +42 -0
- data/lib/generators/spree/admin/install/templates/dev +16 -0
- data/lib/spree/admin/action_callbacks.rb +27 -0
- data/lib/spree/admin/callbacks.rb +51 -0
- data/lib/spree/admin/engine.rb +51 -0
- data/lib/spree/admin/runtime_configuration.rb +12 -0
- data/lib/spree/admin/testing_support/capybara_utils.rb +45 -0
- data/lib/spree/admin.rb +23 -0
- data/lib/spree_admin.rb +18 -0
- data/vendor/javascript/@easepick--base-plugin.js +4 -0
- data/vendor/javascript/@easepick--core.js +4 -0
- data/vendor/javascript/@easepick--datetime.js +4 -0
- data/vendor/javascript/@easepick--preset-plugin.js +4 -0
- data/vendor/javascript/@easepick--range-plugin.js +4 -0
- data/vendor/javascript/@orchidjs--sifter.js +17 -0
- data/vendor/javascript/@orchidjs--unicode-variants.js +11 -0
- data/vendor/javascript/@rails--actiontext@7.2.201.js +4 -0
- data/vendor/javascript/@simonwep--pickr.js +4 -0
- data/vendor/javascript/@stimulus-components--rails-nested-form.js +4 -0
- data/vendor/javascript/bootstrap--dist--js--bootstrap.bundle.min.js.js +8 -0
- data/vendor/javascript/dompurify.js +139 -0
- data/vendor/javascript/hotkeys-js.js +4 -0
- data/vendor/javascript/jquery.min.js +2 -0
- data/vendor/javascript/local-time.js +4 -0
- data/vendor/javascript/sortablejs.js +136 -0
- data/vendor/javascript/stimulus-checkbox-select-all.js +4 -0
- data/vendor/javascript/stimulus-clipboard.js +4 -0
- data/vendor/javascript/stimulus-notification.js +4 -0
- data/vendor/javascript/stimulus-password-visibility.js +4 -0
- data/vendor/javascript/stimulus-reveal-controller.js +4 -0
- data/vendor/javascript/stimulus-sortable.js +4 -0
- data/vendor/javascript/stimulus-textarea-autogrow.js +4 -0
- data/vendor/javascript/stimulus-use.js +4 -0
- data/vendor/javascript/tom-select--dist--esm--tom-select.complete.js.js +32 -0
- data/vendor/javascript/trix@2.1.12.js +5 -0
- metadata +1084 -0
@@ -0,0 +1,304 @@
|
|
1
|
+
---
|
2
|
+
en:
|
3
|
+
spree:
|
4
|
+
admin:
|
5
|
+
active: Active
|
6
|
+
amount_spent: Amount spent
|
7
|
+
audit_log: Audit Log
|
8
|
+
avg_order_value: Avg. Order Value
|
9
|
+
back_to_dashboard: Back to Dashboard
|
10
|
+
bulk_ops:
|
11
|
+
products:
|
12
|
+
body:
|
13
|
+
add_tags: 'Select tags to add to the products:'
|
14
|
+
add_to_brand: 'Select which brand to add the products to:'
|
15
|
+
add_to_taxons: 'Select which taxons to add the products to:'
|
16
|
+
remove_from_taxons: 'Select which taxons to remove the products from:'
|
17
|
+
remove_tags: 'Select tags to remove from the products:'
|
18
|
+
set_return_rule: Select return rule for products
|
19
|
+
set_status:
|
20
|
+
active: Setting products to active will make those products available on the storefront.
|
21
|
+
archived: Setting products to archived will hide them from storefront.
|
22
|
+
draft: Setting products to draft will hide them from storefront.
|
23
|
+
ready_for_review: We will notify your partners that these products are ready for review. Your partners will be able to review and publish these products.
|
24
|
+
status_updated: Status updated
|
25
|
+
title:
|
26
|
+
add_tags: Add tags
|
27
|
+
add_to_brand: Add to brand
|
28
|
+
add_to_taxons: Add to taxons
|
29
|
+
remove_from_brand: Remove from brand
|
30
|
+
remove_from_taxons: Remove from taxons
|
31
|
+
remove_tags: Remove tags
|
32
|
+
set_return_rule: Set Return Rule
|
33
|
+
set_size_chart: Set Size Chart
|
34
|
+
set_status: Set as %{status}
|
35
|
+
users:
|
36
|
+
body:
|
37
|
+
add_tags: 'Select tags to add to the customers:'
|
38
|
+
remove_tags: 'Select tags to remove from the customers:'
|
39
|
+
title:
|
40
|
+
add_tags: Add tags
|
41
|
+
remove_tags: Remove tags
|
42
|
+
checkout_settings:
|
43
|
+
checkout_message_description: Visible to your customers on the checkout page in the right sidebar.
|
44
|
+
guest_checkout:
|
45
|
+
description: Allow customers to checkout without creating an account.
|
46
|
+
label: Allow guest checkout
|
47
|
+
policy_copy: Checkout footer links are added automatically based on the %{policies_link} content.
|
48
|
+
copied: Copied!
|
49
|
+
copy_payment_link: Copy Payment Link
|
50
|
+
copy_to_clipboard: Copy to clipboard
|
51
|
+
coupon_codes:
|
52
|
+
unused: Unused
|
53
|
+
used: Used
|
54
|
+
created_at: Created At
|
55
|
+
dashboard:
|
56
|
+
getting_started:
|
57
|
+
description: Everything you need to set up to start selling.
|
58
|
+
hi: Hi
|
59
|
+
top_products: Top products
|
60
|
+
view_report: View report
|
61
|
+
whats_happening_on: Here's what's happening on <strong>%{store_name}</strong> today.
|
62
|
+
digital_shipment_fulfillment_note: This shipment will be marked as fulfilled once the user downloads the digital product
|
63
|
+
display_on_options:
|
64
|
+
back_end: Only on admin panel
|
65
|
+
both: On both admin panel & storefront
|
66
|
+
front_end: Only on storefront
|
67
|
+
edit_billing_address: Edit billing address
|
68
|
+
edit_contact_information: Edit contact information
|
69
|
+
edit_profile: Edit Profile
|
70
|
+
edit_shipping_address: Edit shipping address
|
71
|
+
edit_theme: Edit theme
|
72
|
+
errors: Errors
|
73
|
+
execution_time: Execution Time
|
74
|
+
export_all: Export all records (can be slow for large datasets)
|
75
|
+
export_created: Your export was started. You will receive an email with a download link when it is ready!
|
76
|
+
export_only_filtered_records: Export only filtered records, matching the search criteria
|
77
|
+
filters: Filters
|
78
|
+
getting_started: Getting started
|
79
|
+
manage_currencies: Manage Currencies
|
80
|
+
manage_properties: Manage Properties
|
81
|
+
manage_stock_locations: Manage Stock Locations
|
82
|
+
manage_taxons: Manage Taxons
|
83
|
+
manage_zones: Manage Zones
|
84
|
+
member_since: Member since
|
85
|
+
name: Name
|
86
|
+
navigation:
|
87
|
+
nested_under: Nested under
|
88
|
+
not_tracking_inventory: Not tracking inventory
|
89
|
+
notifications: Notifications
|
90
|
+
num_orders: No. of Orders
|
91
|
+
oauth_applications:
|
92
|
+
last_used: Last used
|
93
|
+
list: API keys
|
94
|
+
never: Never
|
95
|
+
new: New API key
|
96
|
+
read_and_write: Read & Write
|
97
|
+
read_only: Read Only
|
98
|
+
scopes: Scopes
|
99
|
+
order:
|
100
|
+
events:
|
101
|
+
approve: Approve
|
102
|
+
cancel: Cancel
|
103
|
+
resend: Resend
|
104
|
+
resume: Resume
|
105
|
+
orders:
|
106
|
+
add_user_to_this_order: Add customer to this order
|
107
|
+
all_orders: All Orders
|
108
|
+
canceled: Canceled
|
109
|
+
fulfilled: Fulfilled
|
110
|
+
no_email_present: Please add an email address to send the payment link
|
111
|
+
orders_to_fulfill: Orders to fulfill
|
112
|
+
partially_refunded: Partially Refunded
|
113
|
+
payment_link_sent: Payment link was sent to the customer
|
114
|
+
refunded: Refunded
|
115
|
+
remove_user_from_this_order: Remove customer from this order
|
116
|
+
unfulfilled: Unfulfilled
|
117
|
+
page_builder:
|
118
|
+
background_color: Background color
|
119
|
+
border_bottom_width: Border bottom width
|
120
|
+
border_color: Border color
|
121
|
+
border_top_width: Border top width
|
122
|
+
bottom_padding: Bottom padding
|
123
|
+
button_alignment: Button alignment
|
124
|
+
button_background_color: Button background color
|
125
|
+
button_style: Button style
|
126
|
+
button_text: Button's text
|
127
|
+
button_text_color: Button text color
|
128
|
+
category: Category
|
129
|
+
description: Description
|
130
|
+
description_alignment: Description alignment
|
131
|
+
desktop_image_alignment: Image alignment for desktop
|
132
|
+
desktop_logo_height: Logo height (desktop)
|
133
|
+
heading: Heading
|
134
|
+
heading_alignment: Heading alignment
|
135
|
+
heading_size: Heading size
|
136
|
+
height: Height
|
137
|
+
left_aligned: Left aligned
|
138
|
+
logo_centered: Logo centered
|
139
|
+
max_video_width_on_desktop: Max video width on desktop
|
140
|
+
maximum_posts_to_show: Maximum posts to show
|
141
|
+
maximum_products_to_show: Maximum products to show
|
142
|
+
nav_centered: Nav centered
|
143
|
+
not_set: Not set
|
144
|
+
posts_to_show: Posts to show
|
145
|
+
separated: Separated
|
146
|
+
show_more_button: Show explore category button
|
147
|
+
show_taxon_image: Show taxon image
|
148
|
+
text_color: Text color
|
149
|
+
title: Title
|
150
|
+
top_padding: Top padding
|
151
|
+
use_description_from_admin: Use description from admin
|
152
|
+
vertical_alignment: Vertical alignment
|
153
|
+
youtube_video_url: Youtube video URL
|
154
|
+
personal_details: Personal Details
|
155
|
+
products:
|
156
|
+
active: Active
|
157
|
+
all_statuses: All statuses
|
158
|
+
any_stock: Any stock
|
159
|
+
archived: Archived
|
160
|
+
by_status: By status
|
161
|
+
by_stock: By stock
|
162
|
+
deleted: Deleted
|
163
|
+
draft: Draft
|
164
|
+
help_bubble: Draft & Ready for Review statuses mean that the product isn't available for purchase. Active means that the product is live. Vendors can move product from draft to ready for review, but only marketplace operators can move product from ready for review to active
|
165
|
+
in_stock: In Stock
|
166
|
+
inventory:
|
167
|
+
barcode: Barcode (ISBN, UPC, GTIN, etc.)
|
168
|
+
sku: SKU (Stock Keeping Unit)
|
169
|
+
out_of_stock: Out of Stock
|
170
|
+
paused: Paused
|
171
|
+
search_results:
|
172
|
+
no_products: We couldn't find any products matching your search :(
|
173
|
+
selected: products selected
|
174
|
+
seo:
|
175
|
+
placeholder: Add a title and description to see how this product might appear in a search engine listing
|
176
|
+
status_form:
|
177
|
+
available_on: Marks when the product will be released, put a future date to indicate that this is a pre-order
|
178
|
+
discontinue_on: Marks when the product should be automatically taken off from your site
|
179
|
+
make_active_at: Marks when the product should be automatically promoted to "active" state
|
180
|
+
status: Draft - initial status. Ready For Review - inform store owner that product can be checked before activation
|
181
|
+
stores:
|
182
|
+
choose_stores: Choose which stores this product should be available in
|
183
|
+
variants:
|
184
|
+
option_types_link: To add more option types please go to <a href="%{link}">Option Types</a>
|
185
|
+
report_created: Your report is being generated. You will receive an email with a download link when it is ready!
|
186
|
+
reset_digital_link_download_limits: Reset download limits
|
187
|
+
response_code: Response Code
|
188
|
+
send_payment_link: Send Payment Link
|
189
|
+
shipment_transfer:
|
190
|
+
wrong_destination: Wrong destination
|
191
|
+
stock_transfers:
|
192
|
+
add_products_tip: You need to select a destination location first
|
193
|
+
store_credit:
|
194
|
+
amount_remaining_of_total: "<strong>%{amount}</strong> remaining (<strong>%{total}</strong> total)"
|
195
|
+
store_form:
|
196
|
+
customer_support_email_help: This email is visible to your Store visitors in the Footer section
|
197
|
+
new_order_notifications_email_help: If you want to receive an email notification every time someone places an Order please provide an email address for that notification to be sent to
|
198
|
+
store_setup_tasks:
|
199
|
+
add_billing_address: Add billing address
|
200
|
+
add_products: Add products
|
201
|
+
payment_methods:
|
202
|
+
copy: In order to collect payments, please setup at least one online payment provider.
|
203
|
+
done: You're all set! You can always manage your Payment Methods on <a href="%{link}" data-turbo-frame="_top">this</a> page.
|
204
|
+
setup: Setup Payment Methods
|
205
|
+
title: Please setup Payment Methods for your store
|
206
|
+
set_customer_support_email: Set customer support email
|
207
|
+
setup_taxes_collection: Setup taxes collection
|
208
|
+
taxes:
|
209
|
+
copy: In order to collect taxes, please setup your tax rates.
|
210
|
+
done: You're all set! You can always manage your taxes on the <a href="%{link}" data-turbo-frame="_top">settings</a> page.
|
211
|
+
setup: Setup Tax Rates
|
212
|
+
storefront: Storefront
|
213
|
+
successful: Successful
|
214
|
+
successfully_reset_digital_links_limit: Download limits have been reset
|
215
|
+
taxon_rules:
|
216
|
+
all_conditions: all conditions
|
217
|
+
any_condition: any condition
|
218
|
+
available_on: Available on
|
219
|
+
match_policies:
|
220
|
+
contains: contains
|
221
|
+
does_not_contain: does not contain
|
222
|
+
is_equal_to: is equal to
|
223
|
+
is_not_equal_to: is not equal to
|
224
|
+
on_sale: On sale
|
225
|
+
products_must_match: 'Products must match:'
|
226
|
+
tag: Product tag
|
227
|
+
taxon_type: Taxon type
|
228
|
+
taxon_types:
|
229
|
+
automatic: Automatic
|
230
|
+
automatic_info: Automatically match products to this taxon based on the conditions you set.
|
231
|
+
manual: Manual
|
232
|
+
manual_info: Curate products manually. You can add or remove them in bulk.
|
233
|
+
upload_new_asset: Upload new asset
|
234
|
+
url: URL
|
235
|
+
user:
|
236
|
+
last_order_placed: Last order placed
|
237
|
+
no_store_credit: Customer has no Store Credit available
|
238
|
+
users:
|
239
|
+
filters:
|
240
|
+
search_placeholder: Search customers by email or name
|
241
|
+
utilities:
|
242
|
+
preview: Preview
|
243
|
+
variants:
|
244
|
+
search_results:
|
245
|
+
no_variants: We couldn't find any variants matching your search :(
|
246
|
+
variants_form:
|
247
|
+
add_option:
|
248
|
+
empty: Add options like size or color
|
249
|
+
not_empty: Add another option
|
250
|
+
compare_at_price_description: This price is used to show marked down price on the product page.
|
251
|
+
stock_locations_link: To add more stock locations please go to <a href="%{link}">Stock Locations</a>
|
252
|
+
total_inventory_html: 'Total inventory at %{stock_location} location: %{count} available'
|
253
|
+
webhooks_subscribers:
|
254
|
+
addresses: Addresses
|
255
|
+
all_events: All Events
|
256
|
+
assets: Assets
|
257
|
+
credit_cards: Credit Cards
|
258
|
+
customer_returns: Customer Returns
|
259
|
+
digital_links: Digital Links
|
260
|
+
digitals: Digitals
|
261
|
+
inventory_units: Inventory Units
|
262
|
+
line_items: Line Items
|
263
|
+
new_webhooks_subscriber: New Webhooks Subscriber
|
264
|
+
no_events: No Events
|
265
|
+
option_types: Option Types
|
266
|
+
option_values: Option Values
|
267
|
+
orders: Orders
|
268
|
+
payment_capture_events: Payment Capture Events
|
269
|
+
payments: Payments
|
270
|
+
prices: Prices
|
271
|
+
products: Products
|
272
|
+
promotions: Promotions
|
273
|
+
properties: Properties
|
274
|
+
prototypes: Prototypes
|
275
|
+
refunds: Refunds
|
276
|
+
reimbursements: Reimbursements
|
277
|
+
return_authorizations: Return Authorizations
|
278
|
+
return_items: Return Items
|
279
|
+
roles: Roles
|
280
|
+
select_events: Select events
|
281
|
+
shipment_transfer:
|
282
|
+
wrong_destination: Selected location is not a valid destination
|
283
|
+
shipments: Shipments
|
284
|
+
shipping_categories: Shipping Categories
|
285
|
+
shipping_methods: Shipping Methods
|
286
|
+
shipping_rates: Shipping Rates
|
287
|
+
stock_items: Stock Items
|
288
|
+
stock_locations: Stock Locations
|
289
|
+
stock_movements: Stock Movements
|
290
|
+
stock_transfers: Stock Transfers
|
291
|
+
store_credits: Store Credits
|
292
|
+
stores: Stores
|
293
|
+
subscribe_to_all_events: Subscribe to all events
|
294
|
+
subscriptions: Subscriptions
|
295
|
+
tax_rates: Tax Rates
|
296
|
+
taxonomies: Taxonomies
|
297
|
+
taxons: Taxons
|
298
|
+
time_of_last_event: Time of Last Event
|
299
|
+
variants: Variants
|
300
|
+
webhooks_events: Webhooks Events
|
301
|
+
webhooks_subscribers: Webhooks Subscribers
|
302
|
+
wished_items: Wished Items
|
303
|
+
wishlists: Wishlists
|
304
|
+
zones: Zones
|
data/config/routes.rb
ADDED
@@ -0,0 +1,240 @@
|
|
1
|
+
Spree::Core::Engine.add_routes do
|
2
|
+
namespace :admin, path: Spree.admin_path do
|
3
|
+
# product catalog
|
4
|
+
resources :properties, except: :show
|
5
|
+
resources :option_types, except: :show do
|
6
|
+
resources :option_values, only: [:update] do
|
7
|
+
collection do
|
8
|
+
get :select_options
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
resources :products do
|
13
|
+
collection do
|
14
|
+
get :select_options, defaults: { format: :json }
|
15
|
+
post :search
|
16
|
+
get :bulk_modal
|
17
|
+
put :bulk_status_update
|
18
|
+
put :bulk_add_to_taxons
|
19
|
+
put :bulk_remove_from_taxons
|
20
|
+
put :bulk_add_tags
|
21
|
+
put :bulk_remove_tags
|
22
|
+
end
|
23
|
+
member do
|
24
|
+
post :clone
|
25
|
+
end
|
26
|
+
resources :variants, only: [:edit, :update, :destroy]
|
27
|
+
resources :digital_assets, except: [:show]
|
28
|
+
end
|
29
|
+
# variant search
|
30
|
+
post 'variants/search'
|
31
|
+
get 'variants/search', defaults: { format: :json }
|
32
|
+
# stock
|
33
|
+
resources :stock_items, only: [:index, :update, :destroy]
|
34
|
+
resources :stock_transfers, except: [:edit, :update]
|
35
|
+
# taxonomies and taxons
|
36
|
+
resources :taxonomies do
|
37
|
+
resources :taxons do
|
38
|
+
member do
|
39
|
+
put :reposition
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
resources :taxons, except: [:show] do |_taxon|
|
44
|
+
resources :classifications, only: %i[index new create update destroy]
|
45
|
+
end
|
46
|
+
get '/taxons/select_options' => 'taxons#select_options', as: :taxons_select_options, defaults: { format: :json }
|
47
|
+
|
48
|
+
# media library
|
49
|
+
resources :assets, only: [:create, :edit, :update, :destroy] do
|
50
|
+
collection do
|
51
|
+
delete :bulk_destroy
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# orders
|
56
|
+
resources :checkouts, only: %i[index]
|
57
|
+
resources :orders, only: [:index, :edit, :create] do
|
58
|
+
member do
|
59
|
+
post :resend
|
60
|
+
put :cancel
|
61
|
+
end
|
62
|
+
resource :shipping_address, except: [:index, :show], controller: 'orders/shipping_address'
|
63
|
+
resource :billing_address, except: [:index, :show], controller: 'orders/billing_address'
|
64
|
+
resource :contact_information, only: [:edit, :update], controller: 'orders/contact_information'
|
65
|
+
resource :user, except: [:edit, :show, :index], controller: 'orders/user'
|
66
|
+
resources :shipments, only: [:edit, :update, :create], controller: 'shipments' do
|
67
|
+
member do
|
68
|
+
post :ship
|
69
|
+
get :split
|
70
|
+
post :transfer
|
71
|
+
end
|
72
|
+
end
|
73
|
+
resources :line_items, except: :show do
|
74
|
+
member do
|
75
|
+
post :reset_digital_links_limit
|
76
|
+
end
|
77
|
+
end
|
78
|
+
resources :customer_returns, except: [:index, :destroy], controller: 'orders/customer_returns'
|
79
|
+
resources :return_authorizations, except: [:index, :destroy], controller: 'orders/return_authorizations'
|
80
|
+
resources :payments, except: [:index, :show] do
|
81
|
+
member do
|
82
|
+
put :capture
|
83
|
+
put :void
|
84
|
+
end
|
85
|
+
resources :refunds, only: [:new, :create, :edit, :update]
|
86
|
+
end
|
87
|
+
resources :payment_links, only: [:create], controller: 'orders/payment_links'
|
88
|
+
resources :reimbursements, except: [:destroy, :index] do
|
89
|
+
member do
|
90
|
+
post :perform
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# customers
|
96
|
+
resources :users do
|
97
|
+
resources :store_credits
|
98
|
+
resources :orders, only: [:index]
|
99
|
+
resources :checkouts, only: [:index]
|
100
|
+
|
101
|
+
collection do
|
102
|
+
get :bulk_modal
|
103
|
+
post :bulk_add_tags
|
104
|
+
post :bulk_remove_tags
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
resources :addresses, except: [:index, :show]
|
109
|
+
|
110
|
+
# promotions
|
111
|
+
resources :promotions do
|
112
|
+
member do
|
113
|
+
post :clone
|
114
|
+
end
|
115
|
+
resources :promotion_actions, as: :actions, except: [:index, :show]
|
116
|
+
resources :promotion_rules, as: :rules, except: [:index, :show]
|
117
|
+
resources :coupon_codes, only: :index
|
118
|
+
end
|
119
|
+
get 'promotion_rules/option_values_search', defaults: { format: :json }
|
120
|
+
|
121
|
+
# returns
|
122
|
+
resources :return_authorizations, only: [:index, :destroy] do
|
123
|
+
member do
|
124
|
+
patch :cancel
|
125
|
+
end
|
126
|
+
end
|
127
|
+
resources :customer_returns, only: :index
|
128
|
+
resources :return_items, only: [:update]
|
129
|
+
|
130
|
+
# translations
|
131
|
+
resources :translations, only: [:edit, :update], path: '/translations/:resource_type'
|
132
|
+
|
133
|
+
# audit log
|
134
|
+
resources :exports, only: [:index, :new, :create, :show]
|
135
|
+
|
136
|
+
# reporting
|
137
|
+
resources :reports, only: [:index, :new, :create, :show]
|
138
|
+
|
139
|
+
# profile settings
|
140
|
+
resource :profile, controller: 'profile', only: %i[edit update]
|
141
|
+
|
142
|
+
# store settings
|
143
|
+
resource :store, only: [:edit, :update], controller: 'stores' do
|
144
|
+
# needed for the getting started set customer support email step
|
145
|
+
member do
|
146
|
+
get :edit_emails
|
147
|
+
end
|
148
|
+
end
|
149
|
+
# setting up a new store
|
150
|
+
resources :stores, only: [:new, :create]
|
151
|
+
resources :payment_methods, except: :show
|
152
|
+
resources :shipping_methods, except: :show
|
153
|
+
resources :shipping_categories, except: :show
|
154
|
+
resources :store_credit_categories
|
155
|
+
resources :tax_rates, except: :show
|
156
|
+
resources :tax_categories, except: :show
|
157
|
+
resources :reimbursement_types
|
158
|
+
resources :refund_reasons, except: :show
|
159
|
+
resources :return_authorization_reasons, except: :show
|
160
|
+
resources :zones
|
161
|
+
resources :stock_locations, except: :show do
|
162
|
+
member do
|
163
|
+
put :mark_as_default
|
164
|
+
end
|
165
|
+
end
|
166
|
+
resources :custom_domains, except: :show
|
167
|
+
|
168
|
+
# storefront / page builder
|
169
|
+
resource :storefront, only: [:edit, :update], controller: :storefront
|
170
|
+
resources :themes, except: [:new, :show] do
|
171
|
+
member do
|
172
|
+
put :update_with_page
|
173
|
+
put :publish
|
174
|
+
post :clone
|
175
|
+
end
|
176
|
+
resources :sections, controller: 'page_sections', only: %i[new create] do
|
177
|
+
member do
|
178
|
+
patch :move_higher
|
179
|
+
patch :move_lower
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
resources :pages, except: [:show] do
|
184
|
+
resources :sections, controller: 'page_sections', only: %i[new create] do
|
185
|
+
member do
|
186
|
+
patch :move_higher
|
187
|
+
patch :move_lower
|
188
|
+
end
|
189
|
+
end
|
190
|
+
end
|
191
|
+
resources :page_sections, only: %i[edit update destroy] do
|
192
|
+
member do
|
193
|
+
patch :restore_design_settings_to_defaults
|
194
|
+
end
|
195
|
+
|
196
|
+
resources :blocks, controller: 'page_blocks' do
|
197
|
+
member do
|
198
|
+
patch :move_higher
|
199
|
+
patch :move_lower
|
200
|
+
end
|
201
|
+
|
202
|
+
resources :links, controller: 'page_links', only: [:create]
|
203
|
+
end
|
204
|
+
resources :links, controller: 'page_links', only: [:create]
|
205
|
+
end
|
206
|
+
resources :page_links, only: [:edit, :update, :destroy]
|
207
|
+
|
208
|
+
resources :posts do
|
209
|
+
collection do
|
210
|
+
get :select_options, defaults: { format: :json }
|
211
|
+
end
|
212
|
+
end
|
213
|
+
resources :post_categories
|
214
|
+
|
215
|
+
# account management
|
216
|
+
resources :roles, except: :show
|
217
|
+
|
218
|
+
# Action Text
|
219
|
+
namespace :action_text do
|
220
|
+
resources :video_embeds, only: [:create, :destroy]
|
221
|
+
end
|
222
|
+
|
223
|
+
# developer tools
|
224
|
+
resources :oauth_applications
|
225
|
+
resources :webhooks_subscribers
|
226
|
+
|
227
|
+
# errors
|
228
|
+
get '/forbidden', to: 'errors#forbidden', as: :forbidden
|
229
|
+
|
230
|
+
# dashboard
|
231
|
+
resource :dashboard, controller: 'dashboard'
|
232
|
+
get '/dashboard/analytics', to: 'dashboard#analytics', as: :dashboard_analytics
|
233
|
+
get '/getting-started', to: 'dashboard#getting_started', as: :getting_started
|
234
|
+
get '/dismiss_enterprise_edition_notice', to: 'dashboard#dismiss_enterprise_edition_notice', as: :dismiss_enterprise_edition_notice
|
235
|
+
|
236
|
+
root to: 'dashboard#show'
|
237
|
+
end
|
238
|
+
|
239
|
+
get Spree.admin_path, to: 'admin/dashboard#show', as: :admin
|
240
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module Spree
|
4
|
+
module Admin
|
5
|
+
module Generators
|
6
|
+
class InstallGenerator < Rails::Generators::Base
|
7
|
+
desc 'Installs Spree Admin Dashboard'
|
8
|
+
|
9
|
+
def self.source_paths
|
10
|
+
[
|
11
|
+
File.expand_path('templates', __dir__),
|
12
|
+
File.expand_path('../templates', "../#{__FILE__}"),
|
13
|
+
File.expand_path('../templates', "../../#{__FILE__}")
|
14
|
+
]
|
15
|
+
end
|
16
|
+
|
17
|
+
def install
|
18
|
+
if Rails.root && Rails.root.join("Procfile.dev").exist?
|
19
|
+
append_to_file 'Procfile.dev', "\nadmin_css: bin/rails dartsass:watch" unless File.read('Procfile.dev').include?('admin_css:')
|
20
|
+
else
|
21
|
+
create_file 'Procfile.dev', "admin_css: bin/rails dartsass:watch\n"
|
22
|
+
end
|
23
|
+
|
24
|
+
say "Add bin/dev to start foreman"
|
25
|
+
copy_file "dev", "bin/dev", force: true
|
26
|
+
chmod "bin/dev", 0755, verbose: false
|
27
|
+
|
28
|
+
empty_directory Rails.root.join('app/assets/builds') if Rails.root
|
29
|
+
|
30
|
+
unless File.exist?('app/assets/config/manifest.js')
|
31
|
+
create_file 'app/assets/config/manifest.js', "//= link_tree ../builds\n"
|
32
|
+
|
33
|
+
say "Ensure foreman is installed"
|
34
|
+
run "gem install foreman"
|
35
|
+
else
|
36
|
+
append_to_file 'app/assets/config/manifest.js', "\n//= link_tree ../builds" unless File.read('app/assets/config/manifest.js').include?('//= link_tree ../builds')
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env sh
|
2
|
+
|
3
|
+
if ! gem list foreman -i --silent; then
|
4
|
+
echo "Installing foreman..."
|
5
|
+
gem install foreman
|
6
|
+
fi
|
7
|
+
|
8
|
+
# Default to port 3000 if not specified
|
9
|
+
export PORT="${PORT:-3000}"
|
10
|
+
|
11
|
+
# Let the debug gem allow remote connections,
|
12
|
+
# but avoid loading until `debugger` is called
|
13
|
+
export RUBY_DEBUG_OPEN="true"
|
14
|
+
export RUBY_DEBUG_LAZY="true"
|
15
|
+
|
16
|
+
exec foreman start -f Procfile.dev "$@"
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Spree
|
2
|
+
module Admin
|
3
|
+
class ActionCallbacks
|
4
|
+
attr_reader :before_methods
|
5
|
+
attr_reader :after_methods
|
6
|
+
attr_reader :fails_methods
|
7
|
+
|
8
|
+
def initialize
|
9
|
+
@before_methods = []
|
10
|
+
@after_methods = []
|
11
|
+
@fails_methods = []
|
12
|
+
end
|
13
|
+
|
14
|
+
def before(method)
|
15
|
+
@before_methods << method
|
16
|
+
end
|
17
|
+
|
18
|
+
def after(method)
|
19
|
+
@after_methods << method
|
20
|
+
end
|
21
|
+
|
22
|
+
def fails(method)
|
23
|
+
@fails_methods << method
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require_relative 'action_callbacks'
|
2
|
+
|
3
|
+
module Spree
|
4
|
+
module Admin
|
5
|
+
module Callbacks
|
6
|
+
extend ActiveSupport::Concern
|
7
|
+
|
8
|
+
module ClassMethods
|
9
|
+
attr_accessor :callbacks
|
10
|
+
|
11
|
+
def new_action
|
12
|
+
custom_callback(:new_action)
|
13
|
+
end
|
14
|
+
|
15
|
+
def edit_action
|
16
|
+
custom_callback(:edit_action)
|
17
|
+
end
|
18
|
+
|
19
|
+
def create
|
20
|
+
custom_callback(:create)
|
21
|
+
end
|
22
|
+
|
23
|
+
def update
|
24
|
+
custom_callback(:update)
|
25
|
+
end
|
26
|
+
|
27
|
+
def destroy
|
28
|
+
custom_callback(:destroy)
|
29
|
+
end
|
30
|
+
|
31
|
+
def custom_callback(action)
|
32
|
+
@callbacks ||= {}
|
33
|
+
@callbacks[action] ||= Spree::Admin::ActionCallbacks.new
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
protected
|
38
|
+
|
39
|
+
def invoke_callbacks(action, callback_type)
|
40
|
+
callbacks = self.class.callbacks || {}
|
41
|
+
return if callbacks[action].nil?
|
42
|
+
|
43
|
+
case callback_type.to_sym
|
44
|
+
when :before then callbacks[action].before_methods.each { |method| send method }
|
45
|
+
when :after then callbacks[action].after_methods.each { |method| send method }
|
46
|
+
when :fails then callbacks[action].fails_methods.each { |method| send method }
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|