From a50cad6daa56dca20654463c6d63576f126c6fc2 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 6 Jan 2023 16:11:58 -0500 Subject: [PATCH] v6.4.0 updates --- LabelStoreMax/CHANGELOG.md | 7 ++ LabelStoreMax/LICENSE | 2 +- LabelStoreMax/README.md | 2 +- .../account_order_detail_controller.dart | 2 +- .../browse_category_controller.dart | 2 +- .../controllers/browse_search_controller.dart | 2 +- .../checkout_status_controller.dart | 2 +- .../lib/app/controllers/controller.dart | 2 +- .../customer_orders_loader_controller.dart | 2 +- .../controllers/leave_review_controller.dart | 2 +- ...uct_category_search_loader_controller.dart | 2 +- .../product_detail_controller.dart | 2 +- .../product_image_viewer_controller.dart | 2 +- .../product_loader_controller.dart | 2 +- .../product_reviews_controller.dart | 2 +- .../product_reviews_loader_controller.dart | 2 +- .../product_search_loader_controller.dart | 2 +- .../woosignal_api_loader_controller.dart | 2 +- .../lib/app/models/billing_details.dart | 2 +- .../lib/app/models/bottom_nav_item.dart | 2 +- LabelStoreMax/lib/app/models/cart.dart | 2 +- .../lib/app/models/cart_line_item.dart | 2 +- .../lib/app/models/checkout_session.dart | 2 +- .../lib/app/models/customer_address.dart | 22 ++--- .../lib/app/models/customer_country.dart | 2 +- .../lib/app/models/default_shipping.dart | 2 +- .../lib/app/models/payment_type.dart | 2 +- .../lib/app/models/shipping_type.dart | 2 +- LabelStoreMax/lib/app/models/user.dart | 2 +- .../lib/app/networking/api_service.dart | 2 +- .../app/networking/dio/base_api_service.dart | 6 +- .../dio/interceptors/logging_interceptor.dart | 20 ++-- .../lib/app/providers/app_provider.dart | 8 ++ .../providers/payments/cash_on_delivery.dart | 2 +- .../app/providers/payments/example_pay.dart | 2 +- .../app/providers/payments/paypal_pay.dart | 2 +- .../app/providers/payments/razorpay_pay.dart | 2 +- .../app/providers/payments/stripe_pay.dart | 2 +- LabelStoreMax/lib/bootstrap/app_helper.dart | 2 +- .../lib/bootstrap/data/order_wc.dart | 2 +- .../lib/bootstrap/enums/sort_enums.dart | 2 +- .../enums/symbol_position_enums.dart | 2 +- .../enums/wishlist_action_enums.dart | 2 +- LabelStoreMax/lib/bootstrap/helpers.dart | 2 +- .../lib/bootstrap/shared_pref/shared_key.dart | 2 +- .../lib/bootstrap/shared_pref/sp_auth.dart | 2 +- LabelStoreMax/lib/config/decoders.dart | 7 +- LabelStoreMax/lib/config/design.dart | 13 +++ LabelStoreMax/lib/config/events.dart | 2 +- LabelStoreMax/lib/config/providers.dart | 5 +- LabelStoreMax/lib/main.dart | 6 +- .../resources/pages/account_delete_page.dart | 10 ++ .../resources/pages/account_detail_page.dart | 2 +- .../resources/pages/account_landing_page.dart | 2 +- .../pages/account_order_detail_page.dart | 2 +- .../pages/account_profile_update_page.dart | 2 +- .../pages/account_register_page.dart | 2 +- .../pages/account_shipping_details_page.dart | 4 +- .../resources/pages/browse_category_page.dart | 2 +- .../resources/pages/browse_search_page.dart | 2 +- .../lib/resources/pages/cart_page.dart | 2 +- .../pages/checkout_confirmation_page.dart | 2 +- .../pages/checkout_details_page.dart | 4 +- .../pages/checkout_payment_type_page.dart | 2 +- .../pages/checkout_shipping_type_page.dart | 2 +- .../resources/pages/checkout_status_page.dart | 2 +- .../lib/resources/pages/coupon_page.dart | 10 ++ .../pages/customer_countries_page.dart | 2 +- .../lib/resources/pages/home_page.dart | 2 +- .../lib/resources/pages/home_search_page.dart | 2 +- .../resources/pages/leave_review_page.dart | 2 +- .../resources/pages/no_connection_page.dart | 2 +- .../resources/pages/product_detail_page.dart | 2 +- .../pages/product_image_viewer_page.dart | 2 +- .../resources/pages/product_reviews_page.dart | 2 +- .../resources/pages/wishlist_page_widget.dart | 10 ++ .../lib/resources/themes/dark_theme.dart | 4 +- .../lib/resources/themes/light_theme.dart | 4 +- .../widgets/account_detail_orders_widget.dart | 2 +- .../account_detail_settings_widget.dart | 2 +- .../resources/widgets/app_loader_widget.dart | 2 +- .../resources/widgets/app_version_widget.dart | 2 +- .../lib/resources/widgets/buttons.dart | 2 +- .../widgets/cached_image_widget.dart | 2 +- .../resources/widgets/cart_icon_widget.dart | 2 +- .../category_subcategory_scroll_widget.dart | 10 ++ .../checkout_coupon_amount_widget.dart | 10 ++ .../widgets/checkout_payment_type_widget.dart | 10 ++ .../resources/widgets/checkout_paypal.dart | 11 ++- .../checkout_select_coupon_widget.dart | 10 ++ .../checkout_shipping_type_widget.dart | 10 ++ .../checkout_store_heading_widget.dart | 10 ++ .../widgets/checkout_user_details_widget.dart | 10 ++ .../resources/widgets/compo_home_widget.dart | 10 ++ .../resources/widgets/compo_theme_widget.dart | 2 +- .../widgets/customer_address_input.dart | 2 +- .../widgets/future_build_widget.dart | 2 +- .../resources/widgets/home_drawer_widget.dart | 2 +- .../resources/widgets/mello_theme_widget.dart | 10 ++ .../no_results_for_products_widget.dart | 2 +- .../resources/widgets/notic_home_widget.dart | 10 ++ .../resources/widgets/notic_theme_widget.dart | 2 +- .../widgets/product_detail_body_widget.dart | 2 +- .../product_detail_description_widget.dart | 2 +- .../product_detail_footer_actions_widget.dart | 2 +- .../widgets/product_detail_header_widget.dart | 2 +- .../product_detail_image_swiper_widget.dart | 2 +- ...roduct_detail_related_products_widget.dart | 2 +- .../product_detail_review_tile_widget.dart | 2 +- .../product_detail_reviews_widget.dart | 2 +- .../widgets/product_detail_upsell_widget.dart | 2 +- .../product_review_item_container_widget.dart | 2 +- .../resources/widgets/safearea_widget.dart | 2 +- .../resources/widgets/switch_address_tab.dart | 2 +- .../resources/widgets/text_row_widget.dart | 2 +- .../lib/resources/widgets/top_nav_widget.dart | 2 +- .../lib/resources/widgets/woosignal_ui.dart | 2 +- LabelStoreMax/pubspec.lock | 92 +++++++++---------- LabelStoreMax/pubspec.yaml | 22 ++--- 119 files changed, 353 insertions(+), 192 deletions(-) create mode 100644 LabelStoreMax/lib/config/design.dart diff --git a/LabelStoreMax/CHANGELOG.md b/LabelStoreMax/CHANGELOG.md index ec2b72b..dd2c4ad 100644 --- a/LabelStoreMax/CHANGELOG.md +++ b/LabelStoreMax/CHANGELOG.md @@ -1,3 +1,10 @@ +## [6.4.0] - 2023-01-06 + +* Upgrade to Nylo v4.0.0 +* Update copyright +* Refactor wp_json_api metadata +* Pubspec.yaml dependency updates + ## [6.3.1] - 2022-11-04 * Fix email address bug in customer_address_input.dart diff --git a/LabelStoreMax/LICENSE b/LabelStoreMax/LICENSE index adb4f6b..d20bf1a 100644 --- a/LabelStoreMax/LICENSE +++ b/LabelStoreMax/LICENSE @@ -1,6 +1,6 @@ BSD 2-Clause License -Copyright (c) 2022, WooSignal Ltd +Copyright (c) 2023, WooSignal Ltd All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/LabelStoreMax/README.md b/LabelStoreMax/README.md index 3c13879..94e40db 100644 --- a/LabelStoreMax/README.md +++ b/LabelStoreMax/README.md @@ -4,7 +4,7 @@ # WooCommerce App: Label StoreMax -### Label StoreMax - v6.3.1 +### Label StoreMax - v6.4.0 [Official WooSignal WooCommerce App](https://woosignal.com) diff --git a/LabelStoreMax/lib/app/controllers/account_order_detail_controller.dart b/LabelStoreMax/lib/app/controllers/account_order_detail_controller.dart index 697a715..6c9cf7a 100644 --- a/LabelStoreMax/lib/app/controllers/account_order_detail_controller.dart +++ b/LabelStoreMax/lib/app/controllers/account_order_detail_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/browse_category_controller.dart b/LabelStoreMax/lib/app/controllers/browse_category_controller.dart index 4ed3d45..a7c151f 100644 --- a/LabelStoreMax/lib/app/controllers/browse_category_controller.dart +++ b/LabelStoreMax/lib/app/controllers/browse_category_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/browse_search_controller.dart b/LabelStoreMax/lib/app/controllers/browse_search_controller.dart index 3c53c24..0e0cdca 100644 --- a/LabelStoreMax/lib/app/controllers/browse_search_controller.dart +++ b/LabelStoreMax/lib/app/controllers/browse_search_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/checkout_status_controller.dart b/LabelStoreMax/lib/app/controllers/checkout_status_controller.dart index 1ebcd69..2f6df94 100644 --- a/LabelStoreMax/lib/app/controllers/checkout_status_controller.dart +++ b/LabelStoreMax/lib/app/controllers/checkout_status_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/controller.dart b/LabelStoreMax/lib/app/controllers/controller.dart index 6faa510..e6ea793 100644 --- a/LabelStoreMax/lib/app/controllers/controller.dart +++ b/LabelStoreMax/lib/app/controllers/controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/customer_orders_loader_controller.dart b/LabelStoreMax/lib/app/controllers/customer_orders_loader_controller.dart index 2e121f8..cd639e5 100644 --- a/LabelStoreMax/lib/app/controllers/customer_orders_loader_controller.dart +++ b/LabelStoreMax/lib/app/controllers/customer_orders_loader_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/leave_review_controller.dart b/LabelStoreMax/lib/app/controllers/leave_review_controller.dart index b97e7e4..238fcb3 100644 --- a/LabelStoreMax/lib/app/controllers/leave_review_controller.dart +++ b/LabelStoreMax/lib/app/controllers/leave_review_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/product_category_search_loader_controller.dart b/LabelStoreMax/lib/app/controllers/product_category_search_loader_controller.dart index 1e8dd83..55accd6 100644 --- a/LabelStoreMax/lib/app/controllers/product_category_search_loader_controller.dart +++ b/LabelStoreMax/lib/app/controllers/product_category_search_loader_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/product_detail_controller.dart b/LabelStoreMax/lib/app/controllers/product_detail_controller.dart index 27cee47..f3ca298 100644 --- a/LabelStoreMax/lib/app/controllers/product_detail_controller.dart +++ b/LabelStoreMax/lib/app/controllers/product_detail_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/product_image_viewer_controller.dart b/LabelStoreMax/lib/app/controllers/product_image_viewer_controller.dart index f4d99e3..fa765b9 100644 --- a/LabelStoreMax/lib/app/controllers/product_image_viewer_controller.dart +++ b/LabelStoreMax/lib/app/controllers/product_image_viewer_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/product_loader_controller.dart b/LabelStoreMax/lib/app/controllers/product_loader_controller.dart index 7d3e498..b9fa13b 100644 --- a/LabelStoreMax/lib/app/controllers/product_loader_controller.dart +++ b/LabelStoreMax/lib/app/controllers/product_loader_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/product_reviews_controller.dart b/LabelStoreMax/lib/app/controllers/product_reviews_controller.dart index cd238ab..27d5690 100644 --- a/LabelStoreMax/lib/app/controllers/product_reviews_controller.dart +++ b/LabelStoreMax/lib/app/controllers/product_reviews_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/product_reviews_loader_controller.dart b/LabelStoreMax/lib/app/controllers/product_reviews_loader_controller.dart index a3c5f31..b35a0ae 100644 --- a/LabelStoreMax/lib/app/controllers/product_reviews_loader_controller.dart +++ b/LabelStoreMax/lib/app/controllers/product_reviews_loader_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/product_search_loader_controller.dart b/LabelStoreMax/lib/app/controllers/product_search_loader_controller.dart index 75712d5..558c300 100644 --- a/LabelStoreMax/lib/app/controllers/product_search_loader_controller.dart +++ b/LabelStoreMax/lib/app/controllers/product_search_loader_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/controllers/woosignal_api_loader_controller.dart b/LabelStoreMax/lib/app/controllers/woosignal_api_loader_controller.dart index 11e669a..eb5746e 100644 --- a/LabelStoreMax/lib/app/controllers/woosignal_api_loader_controller.dart +++ b/LabelStoreMax/lib/app/controllers/woosignal_api_loader_controller.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/billing_details.dart b/LabelStoreMax/lib/app/models/billing_details.dart index f21f781..53a82f4 100644 --- a/LabelStoreMax/lib/app/models/billing_details.dart +++ b/LabelStoreMax/lib/app/models/billing_details.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/bottom_nav_item.dart b/LabelStoreMax/lib/app/models/bottom_nav_item.dart index ef109d5..81dfc6a 100644 --- a/LabelStoreMax/lib/app/models/bottom_nav_item.dart +++ b/LabelStoreMax/lib/app/models/bottom_nav_item.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/cart.dart b/LabelStoreMax/lib/app/models/cart.dart index e66df9d..c6e339b 100644 --- a/LabelStoreMax/lib/app/models/cart.dart +++ b/LabelStoreMax/lib/app/models/cart.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/cart_line_item.dart b/LabelStoreMax/lib/app/models/cart_line_item.dart index c1bd09b..6974848 100644 --- a/LabelStoreMax/lib/app/models/cart_line_item.dart +++ b/LabelStoreMax/lib/app/models/cart_line_item.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/checkout_session.dart b/LabelStoreMax/lib/app/models/checkout_session.dart index 08c14dd..0c021ff 100644 --- a/LabelStoreMax/lib/app/models/checkout_session.dart +++ b/LabelStoreMax/lib/app/models/checkout_session.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/customer_address.dart b/LabelStoreMax/lib/app/models/customer_address.dart index 4d1aca1..3bd61f2 100644 --- a/LabelStoreMax/lib/app/models/customer_address.dart +++ b/LabelStoreMax/lib/app/models/customer_address.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software @@ -157,19 +157,19 @@ class CustomerAddress { } } - List toUserMetaDataItem(String type) { + List toUserMetaDataItem(String type) { return [ - UserMetaDataItem(key: "${type}_first_name", value: firstName), - UserMetaDataItem(key: "${type}_last_name", value: lastName), - UserMetaDataItem(key: "${type}_address_1", value: addressLine), - UserMetaDataItem(key: "${type}_city", value: city), - UserMetaDataItem(key: "${type}_postcode", value: postalCode), - UserMetaDataItem(key: "${type}_phone", value: phoneNumber), + WpMetaData(key: "${type}_first_name", value: firstName), + WpMetaData(key: "${type}_last_name", value: lastName), + WpMetaData(key: "${type}_address_1", value: addressLine), + WpMetaData(key: "${type}_city", value: city), + WpMetaData(key: "${type}_postcode", value: postalCode), + WpMetaData(key: "${type}_phone", value: phoneNumber), if (type != "shipping") - UserMetaDataItem(key: "${type}_email", value: emailAddress), - UserMetaDataItem( + WpMetaData(key: "${type}_email", value: emailAddress), + WpMetaData( key: "${type}_country", value: customerCountry?.countryCode), - UserMetaDataItem( + WpMetaData( key: "${type}_state", value: customerCountry?.state?.code ?.replaceAll("${customerCountry?.countryCode}:", "")), diff --git a/LabelStoreMax/lib/app/models/customer_country.dart b/LabelStoreMax/lib/app/models/customer_country.dart index 427897a..b23177c 100644 --- a/LabelStoreMax/lib/app/models/customer_country.dart +++ b/LabelStoreMax/lib/app/models/customer_country.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/default_shipping.dart b/LabelStoreMax/lib/app/models/default_shipping.dart index 820e8e8..4af0601 100644 --- a/LabelStoreMax/lib/app/models/default_shipping.dart +++ b/LabelStoreMax/lib/app/models/default_shipping.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/payment_type.dart b/LabelStoreMax/lib/app/models/payment_type.dart index 50dcdb0..1cfbc04 100644 --- a/LabelStoreMax/lib/app/models/payment_type.dart +++ b/LabelStoreMax/lib/app/models/payment_type.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/shipping_type.dart b/LabelStoreMax/lib/app/models/shipping_type.dart index 004798b..a25fa82 100644 --- a/LabelStoreMax/lib/app/models/shipping_type.dart +++ b/LabelStoreMax/lib/app/models/shipping_type.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/models/user.dart b/LabelStoreMax/lib/app/models/user.dart index 1a8d7ef..f6975a0 100644 --- a/LabelStoreMax/lib/app/models/user.dart +++ b/LabelStoreMax/lib/app/models/user.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/networking/api_service.dart b/LabelStoreMax/lib/app/networking/api_service.dart index 67e6b2d..ae204d4 100644 --- a/LabelStoreMax/lib/app/networking/api_service.dart +++ b/LabelStoreMax/lib/app/networking/api_service.dart @@ -8,7 +8,7 @@ import 'package:nylo_framework/nylo_framework.dart'; | ApiService | ------------------------------------------------------------------------- | Define your API endpoints -| Learn more https://nylo.dev/docs/3.x/networking +| Learn more https://nylo.dev/docs/4.x/networking |-------------------------------------------------------------------------- */ diff --git a/LabelStoreMax/lib/app/networking/dio/base_api_service.dart b/LabelStoreMax/lib/app/networking/dio/base_api_service.dart index 70956ec..d9c1495 100644 --- a/LabelStoreMax/lib/app/networking/dio/base_api_service.dart +++ b/LabelStoreMax/lib/app/networking/dio/base_api_service.dart @@ -2,6 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_app/app/networking/dio/interceptors/logging_interceptor.dart'; import 'package:flutter_app/config/decoders.dart'; import 'package:nylo_framework/networking/ny_base_networking.dart'; +import 'package:nylo_framework/nylo_framework.dart'; class BaseApiService extends NyBaseApiService { BaseApiService(BuildContext? context) : super(context); @@ -12,5 +13,8 @@ class BaseApiService extends NyBaseApiService { /// Default interceptors @override - final interceptors = {LoggingInterceptor: LoggingInterceptor()}; + final interceptors = { + if (getEnv('APP_DEBUG') == true) + LoggingInterceptor: LoggingInterceptor() + }; } diff --git a/LabelStoreMax/lib/app/networking/dio/interceptors/logging_interceptor.dart b/LabelStoreMax/lib/app/networking/dio/interceptors/logging_interceptor.dart index 2aa5ffb..8ca0cb4 100644 --- a/LabelStoreMax/lib/app/networking/dio/interceptors/logging_interceptor.dart +++ b/LabelStoreMax/lib/app/networking/dio/interceptors/logging_interceptor.dart @@ -4,29 +4,23 @@ import 'package:nylo_framework/nylo_framework.dart'; class LoggingInterceptor extends Interceptor { @override void onRequest(RequestOptions options, RequestInterceptorHandler handler) { - if (getEnv('APP_DEBUG') == true) { - print('REQUEST[${options.method}] => PATH: ${options.path}'); - } + print('REQUEST[${options.method}] => PATH: ${options.path}'); return super.onRequest(options, handler); } @override void onResponse(Response response, ResponseInterceptorHandler handler) { - if (getEnv('APP_DEBUG') == true) { - print( - 'RESPONSE[${response.statusCode}] => PATH: ${response.requestOptions.path}'); - print('DATA: ${response.requestOptions.path}'); - log(response.data.toString()); - } + print( + 'RESPONSE[${response.statusCode}] => PATH: ${response.requestOptions.path}'); + print('DATA: ${response.requestOptions.path}'); + log(response.data.toString()); handler.next(response); } @override void onError(DioError err, ErrorInterceptorHandler handler) { - if (getEnv('APP_DEBUG') == true) { - print( - 'ERROR[${err.response?.statusCode}] => PATH: ${err.requestOptions.path}'); - } + print( + 'ERROR[${err.response?.statusCode}] => PATH: ${err.requestOptions.path}'); handler.next(err); } } diff --git a/LabelStoreMax/lib/app/providers/app_provider.dart b/LabelStoreMax/lib/app/providers/app_provider.dart index 0ec02c9..e0125ae 100644 --- a/LabelStoreMax/lib/app/providers/app_provider.dart +++ b/LabelStoreMax/lib/app/providers/app_provider.dart @@ -4,6 +4,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_app/bootstrap/app_helper.dart'; import 'package:flutter_app/bootstrap/helpers.dart'; +import 'package:flutter_app/config/design.dart'; import 'package:flutter_app/config/theme.dart'; import 'package:nylo_framework/nylo_framework.dart'; import 'package:flutter_app/config/localization.dart'; @@ -108,6 +109,13 @@ class AppProvider implements NyProvider { valuesAsMap: valuesAsMap); nylo.appThemes = appThemes; + nylo.appLoader = loader; + + String initialRoute = AppHelper.instance.appConfig!.appStatus != null + ? '/home' + : '/no-connection'; + + nylo.initialRoute = initialRoute; return nylo; } diff --git a/LabelStoreMax/lib/app/providers/payments/cash_on_delivery.dart b/LabelStoreMax/lib/app/providers/payments/cash_on_delivery.dart index 3314f91..854096e 100644 --- a/LabelStoreMax/lib/app/providers/payments/cash_on_delivery.dart +++ b/LabelStoreMax/lib/app/providers/payments/cash_on_delivery.dart @@ -3,7 +3,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/providers/payments/example_pay.dart b/LabelStoreMax/lib/app/providers/payments/example_pay.dart index ba45722..d5782f8 100644 --- a/LabelStoreMax/lib/app/providers/payments/example_pay.dart +++ b/LabelStoreMax/lib/app/providers/payments/example_pay.dart @@ -3,7 +3,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/providers/payments/paypal_pay.dart b/LabelStoreMax/lib/app/providers/payments/paypal_pay.dart index bb62299..ed0fb7b 100644 --- a/LabelStoreMax/lib/app/providers/payments/paypal_pay.dart +++ b/LabelStoreMax/lib/app/providers/payments/paypal_pay.dart @@ -3,7 +3,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/providers/payments/razorpay_pay.dart b/LabelStoreMax/lib/app/providers/payments/razorpay_pay.dart index 00af414..a1ebcfb 100644 --- a/LabelStoreMax/lib/app/providers/payments/razorpay_pay.dart +++ b/LabelStoreMax/lib/app/providers/payments/razorpay_pay.dart @@ -3,7 +3,7 @@ // Label StoreMAX // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/app/providers/payments/stripe_pay.dart b/LabelStoreMax/lib/app/providers/payments/stripe_pay.dart index 6e2ff16..668f93c 100644 --- a/LabelStoreMax/lib/app/providers/payments/stripe_pay.dart +++ b/LabelStoreMax/lib/app/providers/payments/stripe_pay.dart @@ -3,7 +3,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/bootstrap/app_helper.dart b/LabelStoreMax/lib/bootstrap/app_helper.dart index 2c88fe2..adb447a 100644 --- a/LabelStoreMax/lib/bootstrap/app_helper.dart +++ b/LabelStoreMax/lib/bootstrap/app_helper.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/bootstrap/data/order_wc.dart b/LabelStoreMax/lib/bootstrap/data/order_wc.dart index 7753723..074cd8c 100644 --- a/LabelStoreMax/lib/bootstrap/data/order_wc.dart +++ b/LabelStoreMax/lib/bootstrap/data/order_wc.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/bootstrap/enums/sort_enums.dart b/LabelStoreMax/lib/bootstrap/enums/sort_enums.dart index b001c12..04c8fad 100644 --- a/LabelStoreMax/lib/bootstrap/enums/sort_enums.dart +++ b/LabelStoreMax/lib/bootstrap/enums/sort_enums.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/bootstrap/enums/symbol_position_enums.dart b/LabelStoreMax/lib/bootstrap/enums/symbol_position_enums.dart index c016f4f..952044a 100644 --- a/LabelStoreMax/lib/bootstrap/enums/symbol_position_enums.dart +++ b/LabelStoreMax/lib/bootstrap/enums/symbol_position_enums.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/bootstrap/enums/wishlist_action_enums.dart b/LabelStoreMax/lib/bootstrap/enums/wishlist_action_enums.dart index 934e4fc..be818a0 100644 --- a/LabelStoreMax/lib/bootstrap/enums/wishlist_action_enums.dart +++ b/LabelStoreMax/lib/bootstrap/enums/wishlist_action_enums.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/bootstrap/helpers.dart b/LabelStoreMax/lib/bootstrap/helpers.dart index 6cea2ab..9538775 100644 --- a/LabelStoreMax/lib/bootstrap/helpers.dart +++ b/LabelStoreMax/lib/bootstrap/helpers.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/bootstrap/shared_pref/shared_key.dart b/LabelStoreMax/lib/bootstrap/shared_pref/shared_key.dart index 92818c3..46fa75f 100644 --- a/LabelStoreMax/lib/bootstrap/shared_pref/shared_key.dart +++ b/LabelStoreMax/lib/bootstrap/shared_pref/shared_key.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/bootstrap/shared_pref/sp_auth.dart b/LabelStoreMax/lib/bootstrap/shared_pref/sp_auth.dart index de0c392..27a8ac6 100644 --- a/LabelStoreMax/lib/bootstrap/shared_pref/sp_auth.dart +++ b/LabelStoreMax/lib/bootstrap/shared_pref/sp_auth.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/config/decoders.dart b/LabelStoreMax/lib/config/decoders.dart index 14c27d6..cd2665f 100644 --- a/LabelStoreMax/lib/config/decoders.dart +++ b/LabelStoreMax/lib/config/decoders.dart @@ -1,11 +1,12 @@ import 'package:flutter_app/app/networking/api_service.dart'; +import 'package:flutter_app/app/networking/dio/base_api_service.dart'; /* |-------------------------------------------------------------------------- | Model Decoders | ------------------------------------------------------------------------- | Model decoders are used in 'app/networking/' for morphing json payloads -| into Models. Learn more https://nylo.dev/docs/3.x/decoders#model-decoders +| into Models. Learn more https://nylo.dev/docs/4.x/decoders#model-decoders |-------------------------------------------------------------------------- */ @@ -19,11 +20,11 @@ final Map modelDecoders = { | ------------------------------------------------------------------------- | API decoders are used when you need to access an API service using the | 'api' helper. E.g. api((request) => request.fetchData()); -| Learn more https://nylo.dev/docs/3.x/decoders#api-decoders +| Learn more https://nylo.dev/docs/4.x/decoders#api-decoders |-------------------------------------------------------------------------- */ -final Map apiDecoders = { +final Map apiDecoders = { ApiService: ApiService(), // ... diff --git a/LabelStoreMax/lib/config/design.dart b/LabelStoreMax/lib/config/design.dart new file mode 100644 index 0000000..549d563 --- /dev/null +++ b/LabelStoreMax/lib/config/design.dart @@ -0,0 +1,13 @@ +import 'package:flutter/cupertino.dart'; +import 'package:flutter_app/resources/widgets/app_loader_widget.dart'; + +/* +|-------------------------------------------------------------------------- +| Design +| Contains widgets used in the Nylo framework. +| +| Learn more: https://nylo.dev/docs/4.x/themes +|-------------------------------------------------------------------------- +*/ + +Widget loader = AppLoaderWidget(); diff --git a/LabelStoreMax/lib/config/events.dart b/LabelStoreMax/lib/config/events.dart index 6c92907..172b33e 100644 --- a/LabelStoreMax/lib/config/events.dart +++ b/LabelStoreMax/lib/config/events.dart @@ -8,7 +8,7 @@ import 'package:nylo_framework/nylo_framework.dart'; | Add your "app/events" here. | Events can be fired using: event(); | -| Learn more: https://nylo.dev/docs/3.x/events +| Learn more: https://nylo.dev/docs/4.x/events |-------------------------------------------------------------------------- */ diff --git a/LabelStoreMax/lib/config/providers.dart b/LabelStoreMax/lib/config/providers.dart index baf3b70..d22ece0 100644 --- a/LabelStoreMax/lib/config/providers.dart +++ b/LabelStoreMax/lib/config/providers.dart @@ -1,6 +1,7 @@ import 'package:flutter_app/app/providers/app_provider.dart'; import 'package:flutter_app/app/providers/event_provider.dart'; import 'package:flutter_app/app/providers/route_provider.dart'; +import 'package:nylo_framework/nylo_framework.dart'; /* |-------------------------------------------------------------------------- @@ -8,11 +9,11 @@ import 'package:flutter_app/app/providers/route_provider.dart'; | Add your "app/providers" here. | Providers are booted when your application start. | -| Learn more: https://nylo.dev/docs/3.x/providers +| Learn more: https://nylo.dev/docs/4.x/providers |-------------------------------------------------------------------------- */ -final providers = { +final Map providers = { AppProvider: AppProvider(), RouteProvider: RouteProvider(), EventProvider: EventProvider(), diff --git a/LabelStoreMax/lib/main.dart b/LabelStoreMax/lib/main.dart index 5313d7b..6a1c63a 100644 --- a/LabelStoreMax/lib/main.dart +++ b/LabelStoreMax/lib/main.dart @@ -8,15 +8,11 @@ void main() async { WidgetsFlutterBinding.ensureInitialized(); Nylo nylo = await Nylo.init(setup: Boot.nylo, setupFinished: Boot.finished); - String initialRoute = AppHelper.instance.appConfig!.appStatus != null - ? '/home' - : '/no-connection'; - runApp( AppBuild( navigatorKey: NyNavigator.instance.router.navigatorKey, onGenerateRoute: nylo.router!.generator(), - initialRoute: initialRoute, + initialRoute: nylo.initialRoute, debugShowCheckedModeBanner: false, ), ); diff --git a/LabelStoreMax/lib/resources/pages/account_delete_page.dart b/LabelStoreMax/lib/resources/pages/account_delete_page.dart index e637279..21aca83 100644 --- a/LabelStoreMax/lib/resources/pages/account_delete_page.dart +++ b/LabelStoreMax/lib/resources/pages/account_delete_page.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/bootstrap/shared_pref/sp_auth.dart'; import 'package:flutter_app/resources/widgets/buttons.dart'; diff --git a/LabelStoreMax/lib/resources/pages/account_detail_page.dart b/LabelStoreMax/lib/resources/pages/account_detail_page.dart index 5c9f0ee..8c4b551 100644 --- a/LabelStoreMax/lib/resources/pages/account_detail_page.dart +++ b/LabelStoreMax/lib/resources/pages/account_detail_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/account_landing_page.dart b/LabelStoreMax/lib/resources/pages/account_landing_page.dart index 9794d5d..2aeb9b7 100644 --- a/LabelStoreMax/lib/resources/pages/account_landing_page.dart +++ b/LabelStoreMax/lib/resources/pages/account_landing_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/account_order_detail_page.dart b/LabelStoreMax/lib/resources/pages/account_order_detail_page.dart index 2388e51..414133c 100644 --- a/LabelStoreMax/lib/resources/pages/account_order_detail_page.dart +++ b/LabelStoreMax/lib/resources/pages/account_order_detail_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/account_profile_update_page.dart b/LabelStoreMax/lib/resources/pages/account_profile_update_page.dart index 29a4ff5..537bf68 100644 --- a/LabelStoreMax/lib/resources/pages/account_profile_update_page.dart +++ b/LabelStoreMax/lib/resources/pages/account_profile_update_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/account_register_page.dart b/LabelStoreMax/lib/resources/pages/account_register_page.dart index 48d0c35..246be5a 100644 --- a/LabelStoreMax/lib/resources/pages/account_register_page.dart +++ b/LabelStoreMax/lib/resources/pages/account_register_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/account_shipping_details_page.dart b/LabelStoreMax/lib/resources/pages/account_shipping_details_page.dart index 01e6366..6cf33f0 100644 --- a/LabelStoreMax/lib/resources/pages/account_shipping_details_page.dart +++ b/LabelStoreMax/lib/resources/pages/account_shipping_details_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software @@ -279,7 +279,7 @@ class _AccountShippingDetailsPageState WPUserInfoUpdatedResponse? wpUserInfoUpdatedResponse; try { wpUserInfoUpdatedResponse = await WPJsonAPI.instance.api( - (request) => request.wpUpdateUserInfo(userToken, wpUserMetaData: [ + (request) => request.wpUpdateUserInfo(userToken, metaData: [ ...userBillingAddress.toUserMetaDataItem('billing'), ...userShippingAddress.toUserMetaDataItem('shipping'), ]), diff --git a/LabelStoreMax/lib/resources/pages/browse_category_page.dart b/LabelStoreMax/lib/resources/pages/browse_category_page.dart index 4bcc794..d9748e9 100644 --- a/LabelStoreMax/lib/resources/pages/browse_category_page.dart +++ b/LabelStoreMax/lib/resources/pages/browse_category_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/browse_search_page.dart b/LabelStoreMax/lib/resources/pages/browse_search_page.dart index 12edf78..e9b50d3 100644 --- a/LabelStoreMax/lib/resources/pages/browse_search_page.dart +++ b/LabelStoreMax/lib/resources/pages/browse_search_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/cart_page.dart b/LabelStoreMax/lib/resources/pages/cart_page.dart index bf6c298..8d071c4 100644 --- a/LabelStoreMax/lib/resources/pages/cart_page.dart +++ b/LabelStoreMax/lib/resources/pages/cart_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/checkout_confirmation_page.dart b/LabelStoreMax/lib/resources/pages/checkout_confirmation_page.dart index c799756..31893f7 100644 --- a/LabelStoreMax/lib/resources/pages/checkout_confirmation_page.dart +++ b/LabelStoreMax/lib/resources/pages/checkout_confirmation_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/checkout_details_page.dart b/LabelStoreMax/lib/resources/pages/checkout_details_page.dart index b144e98..ec1fe1c 100644 --- a/LabelStoreMax/lib/resources/pages/checkout_details_page.dart +++ b/LabelStoreMax/lib/resources/pages/checkout_details_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software @@ -395,7 +395,7 @@ class _CheckoutDetailsPageState extends NyState { try { await WPJsonAPI.instance.api( - (request) => request.wpUpdateUserInfo(userToken, wpUserMetaData: [ + (request) => request.wpUpdateUserInfo(userToken, metaData: [ ...?billingDetails.billingAddress?.toUserMetaDataItem('billing'), ...?billingDetails.shippingAddress ?.toUserMetaDataItem('shipping'), diff --git a/LabelStoreMax/lib/resources/pages/checkout_payment_type_page.dart b/LabelStoreMax/lib/resources/pages/checkout_payment_type_page.dart index beccb1b..79f4eca 100644 --- a/LabelStoreMax/lib/resources/pages/checkout_payment_type_page.dart +++ b/LabelStoreMax/lib/resources/pages/checkout_payment_type_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/checkout_shipping_type_page.dart b/LabelStoreMax/lib/resources/pages/checkout_shipping_type_page.dart index 4b179a2..616213b 100644 --- a/LabelStoreMax/lib/resources/pages/checkout_shipping_type_page.dart +++ b/LabelStoreMax/lib/resources/pages/checkout_shipping_type_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/checkout_status_page.dart b/LabelStoreMax/lib/resources/pages/checkout_status_page.dart index dd8b2e8..84dfc6a 100644 --- a/LabelStoreMax/lib/resources/pages/checkout_status_page.dart +++ b/LabelStoreMax/lib/resources/pages/checkout_status_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/coupon_page.dart b/LabelStoreMax/lib/resources/pages/coupon_page.dart index 712bb10..aec3b1a 100644 --- a/LabelStoreMax/lib/resources/pages/coupon_page.dart +++ b/LabelStoreMax/lib/resources/pages/coupon_page.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/app/models/cart.dart'; import 'package:flutter_app/app/models/cart_line_item.dart'; diff --git a/LabelStoreMax/lib/resources/pages/customer_countries_page.dart b/LabelStoreMax/lib/resources/pages/customer_countries_page.dart index a98d320..cceefbd 100644 --- a/LabelStoreMax/lib/resources/pages/customer_countries_page.dart +++ b/LabelStoreMax/lib/resources/pages/customer_countries_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/home_page.dart b/LabelStoreMax/lib/resources/pages/home_page.dart index 1b6a5ac..f04d5d9 100644 --- a/LabelStoreMax/lib/resources/pages/home_page.dart +++ b/LabelStoreMax/lib/resources/pages/home_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/home_search_page.dart b/LabelStoreMax/lib/resources/pages/home_search_page.dart index 84413cb..8161fe3 100644 --- a/LabelStoreMax/lib/resources/pages/home_search_page.dart +++ b/LabelStoreMax/lib/resources/pages/home_search_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/leave_review_page.dart b/LabelStoreMax/lib/resources/pages/leave_review_page.dart index 0c6f3d5..45e2f06 100644 --- a/LabelStoreMax/lib/resources/pages/leave_review_page.dart +++ b/LabelStoreMax/lib/resources/pages/leave_review_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/no_connection_page.dart b/LabelStoreMax/lib/resources/pages/no_connection_page.dart index a64eef4..81933e7 100644 --- a/LabelStoreMax/lib/resources/pages/no_connection_page.dart +++ b/LabelStoreMax/lib/resources/pages/no_connection_page.dart @@ -1,7 +1,7 @@ // StoreMob // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/product_detail_page.dart b/LabelStoreMax/lib/resources/pages/product_detail_page.dart index 9722eec..7a0fbd7 100644 --- a/LabelStoreMax/lib/resources/pages/product_detail_page.dart +++ b/LabelStoreMax/lib/resources/pages/product_detail_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/product_image_viewer_page.dart b/LabelStoreMax/lib/resources/pages/product_image_viewer_page.dart index 0edd01d..51715f3 100644 --- a/LabelStoreMax/lib/resources/pages/product_image_viewer_page.dart +++ b/LabelStoreMax/lib/resources/pages/product_image_viewer_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/product_reviews_page.dart b/LabelStoreMax/lib/resources/pages/product_reviews_page.dart index f3e5428..1e4e7ea 100644 --- a/LabelStoreMax/lib/resources/pages/product_reviews_page.dart +++ b/LabelStoreMax/lib/resources/pages/product_reviews_page.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/pages/wishlist_page_widget.dart b/LabelStoreMax/lib/resources/pages/wishlist_page_widget.dart index 24ebc9d..3f7e3dd 100644 --- a/LabelStoreMax/lib/resources/pages/wishlist_page_widget.dart +++ b/LabelStoreMax/lib/resources/pages/wishlist_page_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/bootstrap/helpers.dart'; import 'package:flutter_app/resources/widgets/app_loader_widget.dart'; diff --git a/LabelStoreMax/lib/resources/themes/dark_theme.dart b/LabelStoreMax/lib/resources/themes/dark_theme.dart index a421bf6..7b5b73e 100644 --- a/LabelStoreMax/lib/resources/themes/dark_theme.dart +++ b/LabelStoreMax/lib/resources/themes/dark_theme.dart @@ -47,11 +47,11 @@ ThemeData darkTheme(ColorStyles darkColors) { colorScheme: ColorScheme.light(primary: darkColors.buttonBackground), ), textButtonTheme: TextButtonThemeData( - style: TextButton.styleFrom(primary: darkColors.primaryContent), + style: TextButton.styleFrom(foregroundColor: darkColors.primaryContent), ), elevatedButtonTheme: ElevatedButtonThemeData( style: TextButton.styleFrom( - primary: darkColors.buttonPrimaryContent, + foregroundColor: darkColors.buttonPrimaryContent, backgroundColor: darkColors.buttonBackground), ), bottomNavigationBarTheme: BottomNavigationBarThemeData( diff --git a/LabelStoreMax/lib/resources/themes/light_theme.dart b/LabelStoreMax/lib/resources/themes/light_theme.dart index 9547afd..1af8c97 100644 --- a/LabelStoreMax/lib/resources/themes/light_theme.dart +++ b/LabelStoreMax/lib/resources/themes/light_theme.dart @@ -49,11 +49,11 @@ ThemeData lightTheme(ColorStyles lightColors) { colorScheme: ColorScheme.light(primary: lightColors.buttonBackground), ), textButtonTheme: TextButtonThemeData( - style: TextButton.styleFrom(primary: lightColors.primaryContent), + style: TextButton.styleFrom(foregroundColor: lightColors.primaryContent), ), elevatedButtonTheme: ElevatedButtonThemeData( style: TextButton.styleFrom( - primary: lightColors.buttonPrimaryContent, + foregroundColor: lightColors.buttonPrimaryContent, backgroundColor: lightColors.buttonBackground), ), bottomNavigationBarTheme: BottomNavigationBarThemeData( diff --git a/LabelStoreMax/lib/resources/widgets/account_detail_orders_widget.dart b/LabelStoreMax/lib/resources/widgets/account_detail_orders_widget.dart index 857c8f6..c47c01d 100644 --- a/LabelStoreMax/lib/resources/widgets/account_detail_orders_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/account_detail_orders_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/account_detail_settings_widget.dart b/LabelStoreMax/lib/resources/widgets/account_detail_settings_widget.dart index 3b69649..29b5407 100644 --- a/LabelStoreMax/lib/resources/widgets/account_detail_settings_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/account_detail_settings_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/app_loader_widget.dart b/LabelStoreMax/lib/resources/widgets/app_loader_widget.dart index 09f6a32..3f9a699 100644 --- a/LabelStoreMax/lib/resources/widgets/app_loader_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/app_loader_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/app_version_widget.dart b/LabelStoreMax/lib/resources/widgets/app_version_widget.dart index f2e0868..6e341b4 100644 --- a/LabelStoreMax/lib/resources/widgets/app_version_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/app_version_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/buttons.dart b/LabelStoreMax/lib/resources/widgets/buttons.dart index 3cb5977..d16903f 100644 --- a/LabelStoreMax/lib/resources/widgets/buttons.dart +++ b/LabelStoreMax/lib/resources/widgets/buttons.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/cached_image_widget.dart b/LabelStoreMax/lib/resources/widgets/cached_image_widget.dart index 06d668f..6e50851 100644 --- a/LabelStoreMax/lib/resources/widgets/cached_image_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/cached_image_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/cart_icon_widget.dart b/LabelStoreMax/lib/resources/widgets/cart_icon_widget.dart index 02e12ef..2504b26 100644 --- a/LabelStoreMax/lib/resources/widgets/cart_icon_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/cart_icon_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/category_subcategory_scroll_widget.dart b/LabelStoreMax/lib/resources/widgets/category_subcategory_scroll_widget.dart index 4ea73c1..e1e54c5 100644 --- a/LabelStoreMax/lib/resources/widgets/category_subcategory_scroll_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/category_subcategory_scroll_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; class CategorySubcategoryScrollWidget extends StatefulWidget { diff --git a/LabelStoreMax/lib/resources/widgets/checkout_coupon_amount_widget.dart b/LabelStoreMax/lib/resources/widgets/checkout_coupon_amount_widget.dart index bb4737b..174f90f 100644 --- a/LabelStoreMax/lib/resources/widgets/checkout_coupon_amount_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/checkout_coupon_amount_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/app/models/cart.dart'; import 'package:flutter_app/app/models/checkout_session.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/checkout_payment_type_widget.dart b/LabelStoreMax/lib/resources/widgets/checkout_payment_type_widget.dart index db8464b..d64e1ba 100644 --- a/LabelStoreMax/lib/resources/widgets/checkout_payment_type_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/checkout_payment_type_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/app/models/checkout_session.dart'; import 'package:flutter_app/resources/widgets/woosignal_ui.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/checkout_paypal.dart b/LabelStoreMax/lib/resources/widgets/checkout_paypal.dart index 844656e..2fc225c 100644 --- a/LabelStoreMax/lib/resources/widgets/checkout_paypal.dart +++ b/LabelStoreMax/lib/resources/widgets/checkout_paypal.dart @@ -1,5 +1,14 @@ -import 'dart:io'; +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +import 'dart:io'; import 'package:flutter/material.dart'; import 'package:flutter_app/app/models/cart_line_item.dart'; import 'package:flutter_app/app/models/checkout_session.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/checkout_select_coupon_widget.dart b/LabelStoreMax/lib/resources/widgets/checkout_select_coupon_widget.dart index 89c0e61..f25835d 100644 --- a/LabelStoreMax/lib/resources/widgets/checkout_select_coupon_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/checkout_select_coupon_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/app/models/checkout_session.dart'; import 'package:nylo_framework/nylo_framework.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/checkout_shipping_type_widget.dart b/LabelStoreMax/lib/resources/widgets/checkout_shipping_type_widget.dart index 4f2764c..8fa1cd8 100644 --- a/LabelStoreMax/lib/resources/widgets/checkout_shipping_type_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/checkout_shipping_type_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/app/models/checkout_session.dart'; import 'package:flutter_app/app/models/customer_address.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/checkout_store_heading_widget.dart b/LabelStoreMax/lib/resources/widgets/checkout_store_heading_widget.dart index ad013f4..3896faf 100644 --- a/LabelStoreMax/lib/resources/widgets/checkout_store_heading_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/checkout_store_heading_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/resources/widgets/woosignal_ui.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/checkout_user_details_widget.dart b/LabelStoreMax/lib/resources/widgets/checkout_user_details_widget.dart index 0e31fb8..9fb3fe6 100644 --- a/LabelStoreMax/lib/resources/widgets/checkout_user_details_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/checkout_user_details_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/app/models/checkout_session.dart'; import 'package:flutter_app/resources/widgets/woosignal_ui.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/compo_home_widget.dart b/LabelStoreMax/lib/resources/widgets/compo_home_widget.dart index eb63767..20d5ad6 100644 --- a/LabelStoreMax/lib/resources/widgets/compo_home_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/compo_home_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:auto_size_text/auto_size_text.dart'; import 'package:flutter/material.dart'; import 'package:flutter_app/bootstrap/helpers.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/compo_theme_widget.dart b/LabelStoreMax/lib/resources/widgets/compo_theme_widget.dart index 1278ac8..e962bc5 100644 --- a/LabelStoreMax/lib/resources/widgets/compo_theme_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/compo_theme_widget.dart @@ -3,7 +3,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/customer_address_input.dart b/LabelStoreMax/lib/resources/widgets/customer_address_input.dart index b1e5228..7d250b0 100644 --- a/LabelStoreMax/lib/resources/widgets/customer_address_input.dart +++ b/LabelStoreMax/lib/resources/widgets/customer_address_input.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/future_build_widget.dart b/LabelStoreMax/lib/resources/widgets/future_build_widget.dart index 920be8c..df9f696 100644 --- a/LabelStoreMax/lib/resources/widgets/future_build_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/future_build_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/home_drawer_widget.dart b/LabelStoreMax/lib/resources/widgets/home_drawer_widget.dart index 73c79cd..0e44522 100644 --- a/LabelStoreMax/lib/resources/widgets/home_drawer_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/home_drawer_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/mello_theme_widget.dart b/LabelStoreMax/lib/resources/widgets/mello_theme_widget.dart index 9696726..73f8624 100644 --- a/LabelStoreMax/lib/resources/widgets/mello_theme_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/mello_theme_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/material.dart'; import 'package:flutter_app/app/controllers/product_loader_controller.dart'; import 'package:flutter_app/bootstrap/helpers.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/no_results_for_products_widget.dart b/LabelStoreMax/lib/resources/widgets/no_results_for_products_widget.dart index 1d1dabd..f845e61 100644 --- a/LabelStoreMax/lib/resources/widgets/no_results_for_products_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/no_results_for_products_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/notic_home_widget.dart b/LabelStoreMax/lib/resources/widgets/notic_home_widget.dart index 0fe3cf1..6d10fa6 100644 --- a/LabelStoreMax/lib/resources/widgets/notic_home_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/notic_home_widget.dart @@ -1,3 +1,13 @@ +// Label StoreMax +// +// Created by Anthony Gordon. +// 2023, WooSignal Ltd. All rights reserved. +// + +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_app/app/controllers/product_loader_controller.dart'; diff --git a/LabelStoreMax/lib/resources/widgets/notic_theme_widget.dart b/LabelStoreMax/lib/resources/widgets/notic_theme_widget.dart index e42e32d..d0ae109 100644 --- a/LabelStoreMax/lib/resources/widgets/notic_theme_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/notic_theme_widget.dart @@ -3,7 +3,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_body_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_body_widget.dart index 4c750d9..74c5a94 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_body_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_body_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_description_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_description_widget.dart index 9c32902..42f0ff5 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_description_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_description_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_footer_actions_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_footer_actions_widget.dart index 2031ce5..dcc9bd6 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_footer_actions_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_footer_actions_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_header_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_header_widget.dart index f1f8ac9..502cc7c 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_header_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_header_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_image_swiper_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_image_swiper_widget.dart index 30ef3d8..828f4cc 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_image_swiper_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_image_swiper_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_related_products_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_related_products_widget.dart index 0114dce..47c18f3 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_related_products_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_related_products_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_review_tile_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_review_tile_widget.dart index bdec53c..cfba72f 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_review_tile_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_review_tile_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_reviews_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_reviews_widget.dart index 032f612..e1e5caf 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_reviews_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_reviews_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_detail_upsell_widget.dart b/LabelStoreMax/lib/resources/widgets/product_detail_upsell_widget.dart index 9dea762..ef3cb34 100644 --- a/LabelStoreMax/lib/resources/widgets/product_detail_upsell_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_detail_upsell_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/product_review_item_container_widget.dart b/LabelStoreMax/lib/resources/widgets/product_review_item_container_widget.dart index bb912d2..709cdf8 100644 --- a/LabelStoreMax/lib/resources/widgets/product_review_item_container_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/product_review_item_container_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/safearea_widget.dart b/LabelStoreMax/lib/resources/widgets/safearea_widget.dart index 1915e70..cc408bf 100644 --- a/LabelStoreMax/lib/resources/widgets/safearea_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/safearea_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/switch_address_tab.dart b/LabelStoreMax/lib/resources/widgets/switch_address_tab.dart index a52dbd9..3573fc0 100644 --- a/LabelStoreMax/lib/resources/widgets/switch_address_tab.dart +++ b/LabelStoreMax/lib/resources/widgets/switch_address_tab.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/text_row_widget.dart b/LabelStoreMax/lib/resources/widgets/text_row_widget.dart index 4b70020..eed907f 100644 --- a/LabelStoreMax/lib/resources/widgets/text_row_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/text_row_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/top_nav_widget.dart b/LabelStoreMax/lib/resources/widgets/top_nav_widget.dart index a45a87c..dd9c4ea 100644 --- a/LabelStoreMax/lib/resources/widgets/top_nav_widget.dart +++ b/LabelStoreMax/lib/resources/widgets/top_nav_widget.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/lib/resources/widgets/woosignal_ui.dart b/LabelStoreMax/lib/resources/widgets/woosignal_ui.dart index 96611cc..65ded3b 100644 --- a/LabelStoreMax/lib/resources/widgets/woosignal_ui.dart +++ b/LabelStoreMax/lib/resources/widgets/woosignal_ui.dart @@ -1,7 +1,7 @@ // Label StoreMax // // Created by Anthony Gordon. -// 2022, WooSignal Ltd. All rights reserved. +// 2023, WooSignal Ltd. All rights reserved. // // Unless required by applicable law or agreed to in writing, software diff --git a/LabelStoreMax/pubspec.lock b/LabelStoreMax/pubspec.lock index 5379492..2db655b 100644 --- a/LabelStoreMax/pubspec.lock +++ b/LabelStoreMax/pubspec.lock @@ -14,7 +14,7 @@ packages: name: _flutterfire_internals url: "https://pub.dartlang.org" source: hosted - version: "1.0.6" + version: "1.0.12" analyzer: dependency: "direct main" description: @@ -23,12 +23,12 @@ packages: source: hosted version: "4.2.0" animate_do: - dependency: "direct main" + dependency: transitive description: name: animate_do url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "3.0.2" archive: dependency: transitive description: @@ -77,7 +77,7 @@ packages: name: cached_network_image url: "https://pub.dartlang.org" source: hosted - version: "3.2.2" + version: "3.2.3" cached_network_image_platform_interface: dependency: transitive description: @@ -127,20 +127,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.1.1" - cloud_firestore_platform_interface: - dependency: transitive - description: - name: cloud_firestore_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "5.8.3" - cloud_firestore_web: - dependency: transitive - description: - name: cloud_firestore_web - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.3" collection: dependency: "direct main" description: @@ -176,6 +162,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.5" + dart_style: + dependency: transitive + description: + name: dart_style + url: "https://pub.dartlang.org" + source: hosted + version: "2.2.3" device_info_plus: dependency: transitive description: @@ -231,7 +224,7 @@ packages: name: firebase_core url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.4.1" firebase_core_platform_interface: dependency: transitive description: @@ -245,28 +238,28 @@ packages: name: firebase_core_web url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.1.0" firebase_messaging: dependency: "direct main" description: name: firebase_messaging url: "https://pub.dartlang.org" source: hosted - version: "14.0.3" + version: "14.2.1" firebase_messaging_platform_interface: dependency: transitive description: name: firebase_messaging_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "4.2.4" + version: "4.2.10" firebase_messaging_web: dependency: transitive description: name: firebase_messaging_web url: "https://pub.dartlang.org" source: hosted - version: "3.2.4" + version: "3.2.11" flare_flutter: dependency: transitive description: @@ -306,7 +299,7 @@ packages: name: flutter_launcher_icons url: "https://pub.dartlang.org" source: hosted - version: "0.10.0" + version: "0.11.0" flutter_localizations: dependency: "direct main" description: flutter @@ -325,42 +318,42 @@ packages: name: flutter_secure_storage url: "https://pub.dartlang.org" source: hosted - version: "6.0.0" + version: "7.0.1" flutter_secure_storage_linux: dependency: transitive description: name: flutter_secure_storage_linux url: "https://pub.dartlang.org" source: hosted - version: "1.1.1" + version: "1.1.2" flutter_secure_storage_macos: dependency: transitive description: name: flutter_secure_storage_macos url: "https://pub.dartlang.org" source: hosted - version: "1.1.1" + version: "2.0.1" flutter_secure_storage_platform_interface: dependency: transitive description: name: flutter_secure_storage_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.0.1" flutter_secure_storage_web: dependency: transitive description: name: flutter_secure_storage_web url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.1.1" flutter_secure_storage_windows: dependency: transitive description: name: flutter_secure_storage_windows url: "https://pub.dartlang.org" source: hosted - version: "1.1.2" + version: "1.1.3" flutter_spinkit: dependency: "direct main" description: @@ -381,9 +374,9 @@ packages: name: flutter_stripe url: "https://pub.dartlang.org" source: hosted - version: "6.0.0" + version: "7.0.0" flutter_styled_toast: - dependency: "direct main" + dependency: transitive description: name: flutter_styled_toast url: "https://pub.dartlang.org" @@ -419,7 +412,7 @@ packages: name: flutter_widget_from_html_core url: "https://pub.dartlang.org" source: hosted - version: "0.9.0" + version: "0.9.0+2" fluttertoast: dependency: transitive description: @@ -468,7 +461,7 @@ packages: name: http url: "https://pub.dartlang.org" source: hosted - version: "0.13.4" + version: "0.13.5" http_parser: dependency: transitive description: @@ -504,6 +497,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "4.5.0" + json_dart_generator: + dependency: transitive + description: + name: json_dart_generator + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0+1" lints: dependency: "direct dev" description: @@ -559,14 +559,14 @@ packages: name: nylo_framework url: "https://pub.dartlang.org" source: hosted - version: "3.4.0" + version: "4.0.0" nylo_support: dependency: transitive description: name: nylo_support url: "https://pub.dartlang.org" source: hosted - version: "3.5.0" + version: "4.0.0" octo_image: dependency: transitive description: @@ -755,7 +755,7 @@ packages: name: recase url: "https://pub.dartlang.org" source: hosted - version: "4.0.0" + version: "4.1.0" rxdart: dependency: transitive description: @@ -879,21 +879,21 @@ packages: name: stripe_android url: "https://pub.dartlang.org" source: hosted - version: "6.0.0" + version: "7.0.1" stripe_ios: dependency: transitive description: name: stripe_ios url: "https://pub.dartlang.org" source: hosted - version: "6.0.0" + version: "7.0.0" stripe_platform_interface: dependency: transitive description: name: stripe_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "6.0.0" + version: "7.0.0" synchronized: dependency: transitive description: @@ -935,7 +935,7 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "6.1.6" + version: "6.1.7" url_launcher_android: dependency: transitive description: @@ -1026,21 +1026,21 @@ packages: name: webview_flutter_android url: "https://pub.dartlang.org" source: hosted - version: "2.8.2" + version: "2.10.4" webview_flutter_platform_interface: dependency: transitive description: name: webview_flutter_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.9.5" webview_flutter_wkwebview: dependency: transitive description: name: webview_flutter_wkwebview url: "https://pub.dartlang.org" source: hosted - version: "2.7.1" + version: "2.9.5" win32: dependency: transitive description: @@ -1054,14 +1054,14 @@ packages: name: woosignal url: "https://pub.dartlang.org" source: hosted - version: "3.2.0" + version: "3.2.1" wp_json_api: dependency: "direct main" description: name: wp_json_api url: "https://pub.dartlang.org" source: hosted - version: "3.2.0" + version: "3.3.1" xdg_directories: dependency: transitive description: diff --git a/LabelStoreMax/pubspec.yaml b/LabelStoreMax/pubspec.yaml index e1dcc1b..e9bf653 100644 --- a/LabelStoreMax/pubspec.yaml +++ b/LabelStoreMax/pubspec.yaml @@ -1,7 +1,7 @@ # Official WooSignal App Template for WooCommerce # Label StoreMax -# Version: 6.3.1 +# Version: 6.4.0 # Author: Anthony Gordon # Homepage: https://woosignal.com # Documentation: https://woosignal.com/docs/app/label-storemax @@ -28,19 +28,17 @@ dependencies: google_fonts: ^3.0.1 analyzer: ^4.2.0 intl: ^0.17.0 - nylo_framework: ^3.4.0 - woosignal: ^3.2.0 - flutter_stripe: ^6.0.0 - wp_json_api: ^3.2.0 - cached_network_image: ^3.2.2 + nylo_framework: ^4.0.0 + woosignal: ^3.2.1 + flutter_stripe: ^7.0.0 + wp_json_api: ^3.3.1 + cached_network_image: ^3.2.3 package_info: ^2.0.2 money_formatter: ^0.0.3 flutter_web_browser: ^0.17.1 webview_flutter: ^3.0.4 pull_to_refresh_flutter3: 2.0.1 url_launcher: ^6.1.6 - flutter_styled_toast: ^2.1.3 - animate_do: ^2.1.0 bubble_tab_indicator: ^0.1.5 razorpay_flutter: ^1.3.4 status_alert: ^1.0.1 @@ -49,12 +47,12 @@ dependencies: flutter_spinkit: ^5.1.0 auto_size_text: ^3.0.0 html: ^0.15.1 - flutter_widget_from_html_core: ^0.9.0 + flutter_widget_from_html_core: ^0.9.0+2 flutter_rating_bar: ^4.0.1 flutter_staggered_grid_view: ^0.6.2 flutter_swiper_view: ^1.1.8 - firebase_messaging: ^14.0.3 - firebase_core: ^2.1.1 + firebase_messaging: ^14.2.1 + firebase_core: ^2.4.1 flutter: sdk: flutter flutter_localizations: @@ -66,7 +64,7 @@ dependencies: collection: ^1.15.0 dev_dependencies: - flutter_launcher_icons: ^0.10.0 + flutter_launcher_icons: ^0.11.0 lints: ^2.0.0 flutter_test: sdk: flutter