From d0b6f28fb22c5d8264ca494ee8bb4313f90c7ad5 Mon Sep 17 00:00:00 2001 From: Ihor Sviziev Date: Thu, 9 Mar 2023 13:47:01 +0200 Subject: [PATCH 1/4] Add dependency to jQuery UI Widget module --- view/adminhtml/web/js/view/address-validation-modal.js | 3 ++- view/frontend/web/js/addressValidation.js | 2 +- view/frontend/web/js/multishipping-address-validation.js | 4 ++-- view/frontend/web/js/view/address-validation-modal.js | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/view/adminhtml/web/js/view/address-validation-modal.js b/view/adminhtml/web/js/view/address-validation-modal.js index 274c0ae9..56dcac50 100644 --- a/view/adminhtml/web/js/view/address-validation-modal.js +++ b/view/adminhtml/web/js/view/address-validation-modal.js @@ -23,7 +23,8 @@ define([ 'ClassyLlama_AvaTax/js/lib/serialize-form', 'ClassyLlama_AvaTax/js/lib/event.simulate', 'Magento_Ui/js/modal/modal', - 'prototype' + 'prototype', + 'jquery-ui-modules/widget' ], function( jQuery, alert, diff --git a/view/frontend/web/js/addressValidation.js b/view/frontend/web/js/addressValidation.js index e974b769..9d5e365f 100644 --- a/view/frontend/web/js/addressValidation.js +++ b/view/frontend/web/js/addressValidation.js @@ -4,7 +4,7 @@ */ define([ 'jquery', - 'jquery/ui', + 'jquery-ui-modules/widget', 'validation' ], function ($) { 'use strict'; diff --git a/view/frontend/web/js/multishipping-address-validation.js b/view/frontend/web/js/multishipping-address-validation.js index 752562b3..6ea0e444 100755 --- a/view/frontend/web/js/multishipping-address-validation.js +++ b/view/frontend/web/js/multishipping-address-validation.js @@ -4,8 +4,8 @@ */ define([ 'jquery', - 'ClassyLlama_AvaTax/js/action/multishipping-save-address', - 'jquery/ui', + 'ClassyLlama_AvaTax/js/action/multishipping-save-address',, + 'jquery-ui-modules/widget', 'validation' ], function ($, multishippingSaveAddressAction) { 'use strict'; diff --git a/view/frontend/web/js/view/address-validation-modal.js b/view/frontend/web/js/view/address-validation-modal.js index c9bd794a..321141d9 100644 --- a/view/frontend/web/js/view/address-validation-modal.js +++ b/view/frontend/web/js/view/address-validation-modal.js @@ -18,7 +18,8 @@ define([ 'ClassyLlama_AvaTax/js/action/set-customer-address', 'ClassyLlama_AvaTax/js/model/address-converter', 'ClassyLlama_AvaTax/js/view/address-validation-form', - 'Magento_Ui/js/modal/modal' + 'Magento_Ui/js/modal/modal', + 'jquery-ui-modules/widget' ], function( $, ko, From ce4d7721f58bd6a356dddf31facf2103a264b4ba Mon Sep 17 00:00:00 2001 From: Ihor Sviziev Date: Fri, 10 Mar 2023 10:04:24 +0200 Subject: [PATCH 2/4] Add dependency to jQuery UI Widget module --- .../web/js/view/checkout-billing-address-validation-modal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/view/frontend/web/js/view/checkout-billing-address-validation-modal.js b/view/frontend/web/js/view/checkout-billing-address-validation-modal.js index 45d5baee..86bb2a76 100644 --- a/view/frontend/web/js/view/checkout-billing-address-validation-modal.js +++ b/view/frontend/web/js/view/checkout-billing-address-validation-modal.js @@ -18,7 +18,8 @@ define([ 'ClassyLlama_AvaTax/js/view/address-validation-form', 'Magento_Checkout/js/model/checkout-data-resolver', 'Magento_Checkout/js/action/select-billing-address', - 'Magento_Checkout/js/action/create-billing-address' + 'Magento_Checkout/js/action/create-billing-address', + 'jquery-ui-modules/widget' ], function ( $, ko, From 60c48979e32a92d3be89861c4fb0685fa6477eeb Mon Sep 17 00:00:00 2001 From: Ihor Sviziev Date: Fri, 10 Mar 2023 10:27:45 +0200 Subject: [PATCH 3/4] Add dependency to jQuery UI Widget module --- .../web/js/view/checkout-billing-address-validation-modal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/view/frontend/web/js/view/checkout-billing-address-validation-modal.js b/view/frontend/web/js/view/checkout-billing-address-validation-modal.js index 86bb2a76..c89e8876 100644 --- a/view/frontend/web/js/view/checkout-billing-address-validation-modal.js +++ b/view/frontend/web/js/view/checkout-billing-address-validation-modal.js @@ -19,6 +19,7 @@ define([ 'Magento_Checkout/js/model/checkout-data-resolver', 'Magento_Checkout/js/action/select-billing-address', 'Magento_Checkout/js/action/create-billing-address', + 'Magento_Ui/js/modal/modal', 'jquery-ui-modules/widget' ], function ( $, From 071b956f6d0c2309a2ef406d4d04e6c3c42223e2 Mon Sep 17 00:00:00 2001 From: Ihor Sviziev Date: Mon, 13 Mar 2023 22:45:27 +0200 Subject: [PATCH 4/4] Update view/frontend/web/js/multishipping-address-validation.js --- view/frontend/web/js/multishipping-address-validation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/web/js/multishipping-address-validation.js b/view/frontend/web/js/multishipping-address-validation.js index 6ea0e444..338be39b 100755 --- a/view/frontend/web/js/multishipping-address-validation.js +++ b/view/frontend/web/js/multishipping-address-validation.js @@ -4,7 +4,7 @@ */ define([ 'jquery', - 'ClassyLlama_AvaTax/js/action/multishipping-save-address',, + 'ClassyLlama_AvaTax/js/action/multishipping-save-address', 'jquery-ui-modules/widget', 'validation' ], function ($, multishippingSaveAddressAction) {