@newskit-render/my-account 2.10.0 → 3.0.0-alpha.1

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.
Files changed (186) hide show
  1. package/dist/cjs/Components/Elements/Head/Head.js +1 -1
  2. package/dist/cjs/Components/Elements/Head/Head.js.map +1 -1
  3. package/dist/cjs/Components/Elements/Loqate/index.js +5 -1
  4. package/dist/cjs/Components/Elements/Loqate/index.js.map +1 -1
  5. package/dist/cjs/Components/Elements/PaymentIcon/PaymentIcon.js +1 -1
  6. package/dist/cjs/Components/Elements/PaymentIcon/PaymentIcon.js.map +1 -1
  7. package/dist/cjs/Components/Elements/PaymentIcon/index.js +5 -1
  8. package/dist/cjs/Components/Elements/PaymentIcon/index.js.map +1 -1
  9. package/dist/cjs/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js +3 -1
  10. package/dist/cjs/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js.map +1 -1
  11. package/dist/cjs/Components/Elements/StandaloneLinkComponent/index.js +5 -1
  12. package/dist/cjs/Components/Elements/StandaloneLinkComponent/index.js.map +1 -1
  13. package/dist/cjs/Components/Elements/Toast/Toast.d.ts +1 -1
  14. package/dist/cjs/Components/Elements/Toast/Toast.js +9 -3
  15. package/dist/cjs/Components/Elements/Toast/Toast.js.map +1 -1
  16. package/dist/cjs/Components/Elements/Toast/index.js +5 -1
  17. package/dist/cjs/Components/Elements/Toast/index.js.map +1 -1
  18. package/dist/cjs/Components/Elements/Toast/sendToast.d.ts +1 -1
  19. package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js +7 -3
  20. package/dist/cjs/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
  21. package/dist/cjs/Components/Sections/ContentContainer/index.js +5 -1
  22. package/dist/cjs/Components/Sections/ContentContainer/index.js.map +1 -1
  23. package/dist/cjs/Components/Sections/Form/Address/FormAddress.d.ts +1 -1
  24. package/dist/cjs/Components/Sections/Form/Address/FormAddress.js +87 -82
  25. package/dist/cjs/Components/Sections/Form/Address/FormAddress.js.map +1 -1
  26. package/dist/cjs/Components/Sections/Form/Address/index.js +5 -1
  27. package/dist/cjs/Components/Sections/Form/Address/index.js.map +1 -1
  28. package/dist/cjs/Components/Sections/Form/CancellationReason/index.js +5 -1
  29. package/dist/cjs/Components/Sections/Form/CancellationReason/index.js.map +1 -1
  30. package/dist/cjs/Components/Sections/Form/CommentingNotifications/CommentingNotifications.js +6 -2
  31. package/dist/cjs/Components/Sections/Form/CommentingNotifications/CommentingNotifications.js.map +1 -1
  32. package/dist/cjs/Components/Sections/Form/CommentingNotifications/index.js +5 -1
  33. package/dist/cjs/Components/Sections/Form/CommentingNotifications/index.js.map +1 -1
  34. package/dist/cjs/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js +9 -3
  35. package/dist/cjs/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js.map +1 -1
  36. package/dist/cjs/Components/Sections/Form/ConfirmCancellation/index.js +5 -1
  37. package/dist/cjs/Components/Sections/Form/ConfirmCancellation/index.js.map +1 -1
  38. package/dist/cjs/Components/Sections/Form/DeliveryInstructions/DeliveryInstructions.js +6 -2
  39. package/dist/cjs/Components/Sections/Form/DeliveryInstructions/DeliveryInstructions.js.map +1 -1
  40. package/dist/cjs/Components/Sections/Form/DeliveryInstructions/index.js +5 -1
  41. package/dist/cjs/Components/Sections/Form/DeliveryInstructions/index.js.map +1 -1
  42. package/dist/cjs/Components/Sections/Form/Password/Password.js +5 -1
  43. package/dist/cjs/Components/Sections/Form/Password/Password.js.map +1 -1
  44. package/dist/cjs/Components/Sections/Form/Password/index.js +5 -1
  45. package/dist/cjs/Components/Sections/Form/Password/index.js.map +1 -1
  46. package/dist/cjs/Components/Sections/Form/Payment/Stripe/index.js +10 -4
  47. package/dist/cjs/Components/Sections/Form/Payment/Stripe/index.js.map +1 -1
  48. package/dist/cjs/Components/Sections/Form/Payment/Zuora/index.js +7 -3
  49. package/dist/cjs/Components/Sections/Form/Payment/Zuora/index.js.map +1 -1
  50. package/dist/cjs/Components/Sections/Form/Phone/Phone.d.ts +0 -20
  51. package/dist/cjs/Components/Sections/Form/Phone/Phone.js +21 -14
  52. package/dist/cjs/Components/Sections/Form/Phone/Phone.js.map +1 -1
  53. package/dist/cjs/Components/Sections/Form/Phone/index.js +5 -1
  54. package/dist/cjs/Components/Sections/Form/Phone/index.js.map +1 -1
  55. package/dist/cjs/Components/Sections/Form/onFormSubmit.js +1 -1
  56. package/dist/cjs/Components/Sections/Form/onFormSubmit.js.map +1 -1
  57. package/dist/cjs/Components/Sections/NavigationSecondary/index.js +5 -1
  58. package/dist/cjs/Components/Sections/NavigationSecondary/index.js.map +1 -1
  59. package/dist/cjs/Components/Sections/NoSubscription/SubscriptionStatus.js +5 -1
  60. package/dist/cjs/Components/Sections/NoSubscription/SubscriptionStatus.js.map +1 -1
  61. package/dist/cjs/Components/Sections/NoSubscription/index.js +5 -1
  62. package/dist/cjs/Components/Sections/NoSubscription/index.js.map +1 -1
  63. package/dist/cjs/Components/Templates/CancellationRender.js +5 -1
  64. package/dist/cjs/Components/Templates/CancellationRender.js.map +1 -1
  65. package/dist/cjs/Components/Templates/EditRenderer.js +3 -3
  66. package/dist/cjs/Components/Templates/EditRenderer.js.map +1 -1
  67. package/dist/cjs/Components/Templates/HolidayStopRender.js +3 -1
  68. package/dist/cjs/Components/Templates/HolidayStopRender.js.map +1 -1
  69. package/dist/cjs/Components/Templates/PaymentRenderer.js +2 -2
  70. package/dist/cjs/Components/Templates/PaymentRenderer.js.map +1 -1
  71. package/dist/cjs/Components/Templates/index.js +5 -1
  72. package/dist/cjs/Components/Templates/index.js.map +1 -1
  73. package/dist/cjs/api/index.js +5 -1
  74. package/dist/cjs/api/index.js.map +1 -1
  75. package/dist/cjs/api/resetPassword.js +1 -1
  76. package/dist/cjs/api/resetPassword.js.map +1 -1
  77. package/dist/cjs/config/index.js +1 -1
  78. package/dist/cjs/config/index.js.map +1 -1
  79. package/dist/cjs/context/baseContext.js +7 -3
  80. package/dist/cjs/context/baseContext.js.map +1 -1
  81. package/dist/cjs/context/index.js +5 -1
  82. package/dist/cjs/context/index.js.map +1 -1
  83. package/dist/cjs/helpers/dataUtils.d.ts +2 -2
  84. package/dist/cjs/helpers/dataUtils.js +13 -16
  85. package/dist/cjs/helpers/dataUtils.js.map +1 -1
  86. package/dist/cjs/helpers/getAcsCookie.js +1 -1
  87. package/dist/cjs/helpers/getAcsCookie.js.map +1 -1
  88. package/dist/cjs/helpers/getQuery.d.ts +1 -1
  89. package/dist/cjs/helpers/getQuery.js +1 -1
  90. package/dist/cjs/helpers/getQuery.js.map +1 -1
  91. package/dist/cjs/helpers/index.js +5 -1
  92. package/dist/cjs/helpers/index.js.map +1 -1
  93. package/dist/cjs/helpers/paymentUtils.d.ts +1 -1
  94. package/dist/cjs/helpers/providerUtils.d.ts +0 -1
  95. package/dist/cjs/helpers/providerUtils.js +2 -3
  96. package/dist/cjs/helpers/providerUtils.js.map +1 -1
  97. package/dist/cjs/helpers/toastFunctions.d.ts +2 -2
  98. package/dist/cjs/hooks/index.js +5 -1
  99. package/dist/cjs/hooks/index.js.map +1 -1
  100. package/dist/cjs/index.js +5 -1
  101. package/dist/cjs/index.js.map +1 -1
  102. package/dist/cjs/pages/Cancellation.js +5 -1
  103. package/dist/cjs/pages/Cancellation.js.map +1 -1
  104. package/dist/cjs/pages/EditField.js +15 -7
  105. package/dist/cjs/pages/EditField.js.map +1 -1
  106. package/dist/cjs/pages/NewslettersAndAlerts.js +5 -1
  107. package/dist/cjs/pages/NewslettersAndAlerts.js.map +1 -1
  108. package/dist/cjs/pages/Payment.js +8 -2
  109. package/dist/cjs/pages/Payment.js.map +1 -1
  110. package/dist/cjs/pages/PersonalDetails.js +9 -3
  111. package/dist/cjs/pages/PersonalDetails.js.map +1 -1
  112. package/dist/cjs/pages/SubscriptionAndBilling.js +8 -2
  113. package/dist/cjs/pages/SubscriptionAndBilling.js.map +1 -1
  114. package/dist/cjs/providers/index.js +5 -1
  115. package/dist/cjs/providers/index.js.map +1 -1
  116. package/dist/cjs/providers/newslettersAndAlertsProvider.js +1 -1
  117. package/dist/cjs/providers/newslettersAndAlertsProvider.js.map +1 -1
  118. package/dist/cjs/queries/index.js +5 -1
  119. package/dist/cjs/queries/index.js.map +1 -1
  120. package/dist/esm/Components/Elements/Head/Head.js +1 -1
  121. package/dist/esm/Components/Elements/Head/Head.js.map +1 -1
  122. package/dist/esm/Components/Elements/PaymentIcon/PaymentIcon.js +1 -1
  123. package/dist/esm/Components/Elements/PaymentIcon/PaymentIcon.js.map +1 -1
  124. package/dist/esm/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js +3 -1
  125. package/dist/esm/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.js.map +1 -1
  126. package/dist/esm/Components/Elements/Toast/Toast.d.ts +1 -1
  127. package/dist/esm/Components/Elements/Toast/Toast.js +7 -1
  128. package/dist/esm/Components/Elements/Toast/Toast.js.map +1 -1
  129. package/dist/esm/Components/Elements/Toast/sendToast.d.ts +1 -1
  130. package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js +2 -2
  131. package/dist/esm/Components/Sections/ContentContainer/ContentContainer.js.map +1 -1
  132. package/dist/esm/Components/Sections/Form/Address/FormAddress.d.ts +1 -1
  133. package/dist/esm/Components/Sections/Form/Address/FormAddress.js +82 -81
  134. package/dist/esm/Components/Sections/Form/Address/FormAddress.js.map +1 -1
  135. package/dist/esm/Components/Sections/Form/CommentingNotifications/CommentingNotifications.js +1 -1
  136. package/dist/esm/Components/Sections/Form/CommentingNotifications/CommentingNotifications.js.map +1 -1
  137. package/dist/esm/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js +4 -2
  138. package/dist/esm/Components/Sections/Form/ConfirmCancellation/ConfirmCancellation.js.map +1 -1
  139. package/dist/esm/Components/Sections/Form/DeliveryInstructions/DeliveryInstructions.js +1 -1
  140. package/dist/esm/Components/Sections/Form/DeliveryInstructions/DeliveryInstructions.js.map +1 -1
  141. package/dist/esm/Components/Sections/Form/Password/Password.js.map +1 -1
  142. package/dist/esm/Components/Sections/Form/Payment/Stripe/index.js +5 -3
  143. package/dist/esm/Components/Sections/Form/Payment/Stripe/index.js.map +1 -1
  144. package/dist/esm/Components/Sections/Form/Payment/Zuora/index.js +2 -2
  145. package/dist/esm/Components/Sections/Form/Payment/Zuora/index.js.map +1 -1
  146. package/dist/esm/Components/Sections/Form/Phone/Phone.d.ts +0 -20
  147. package/dist/esm/Components/Sections/Form/Phone/Phone.js +12 -8
  148. package/dist/esm/Components/Sections/Form/Phone/Phone.js.map +1 -1
  149. package/dist/esm/Components/Sections/Form/onFormSubmit.js +1 -1
  150. package/dist/esm/Components/Sections/Form/onFormSubmit.js.map +1 -1
  151. package/dist/esm/Components/Templates/EditRenderer.js +3 -3
  152. package/dist/esm/Components/Templates/EditRenderer.js.map +1 -1
  153. package/dist/esm/Components/Templates/HolidayStopRender.js +3 -1
  154. package/dist/esm/Components/Templates/HolidayStopRender.js.map +1 -1
  155. package/dist/esm/Components/Templates/PaymentRenderer.js +2 -2
  156. package/dist/esm/Components/Templates/PaymentRenderer.js.map +1 -1
  157. package/dist/esm/api/resetPassword.js +1 -1
  158. package/dist/esm/api/resetPassword.js.map +1 -1
  159. package/dist/esm/config/index.js +1 -1
  160. package/dist/esm/config/index.js.map +1 -1
  161. package/dist/esm/context/baseContext.js +6 -2
  162. package/dist/esm/context/baseContext.js.map +1 -1
  163. package/dist/esm/helpers/dataUtils.d.ts +2 -2
  164. package/dist/esm/helpers/dataUtils.js +14 -17
  165. package/dist/esm/helpers/dataUtils.js.map +1 -1
  166. package/dist/esm/helpers/getAcsCookie.js +1 -1
  167. package/dist/esm/helpers/getAcsCookie.js.map +1 -1
  168. package/dist/esm/helpers/getQuery.d.ts +1 -1
  169. package/dist/esm/helpers/getQuery.js +1 -1
  170. package/dist/esm/helpers/getQuery.js.map +1 -1
  171. package/dist/esm/helpers/paymentUtils.d.ts +1 -1
  172. package/dist/esm/helpers/providerUtils.d.ts +0 -1
  173. package/dist/esm/helpers/providerUtils.js +1 -1
  174. package/dist/esm/helpers/providerUtils.js.map +1 -1
  175. package/dist/esm/helpers/toastFunctions.d.ts +2 -2
  176. package/dist/esm/pages/EditField.js +6 -2
  177. package/dist/esm/pages/EditField.js.map +1 -1
  178. package/dist/esm/pages/Payment.js +3 -1
  179. package/dist/esm/pages/Payment.js.map +1 -1
  180. package/dist/esm/pages/PersonalDetails.js +4 -2
  181. package/dist/esm/pages/PersonalDetails.js.map +1 -1
  182. package/dist/esm/pages/SubscriptionAndBilling.js +3 -1
  183. package/dist/esm/pages/SubscriptionAndBilling.js.map +1 -1
  184. package/dist/esm/providers/newslettersAndAlertsProvider.js +1 -1
  185. package/dist/esm/providers/newslettersAndAlertsProvider.js.map +1 -1
  186. package/package.json +24 -19
@@ -11,7 +11,7 @@ var AccountHead = function (_a) {
11
11
  var head = (0, context_1.useAccountContext)(contextName).head;
12
12
  return (react_1.default.createElement(head_1.default, null,
13
13
  react_1.default.createElement("title", null, head
14
- ? "\n " + (head.pageTitle ? head.pageTitle : '') + "\n " + (head.pageTitle && head.siteTitle ? ' | ' : '') + " \n " + (head.siteTitle ? head.siteTitle : '')
14
+ ? "\n ".concat(head.pageTitle ? head.pageTitle : '', "\n ").concat(head.pageTitle && head.siteTitle ? ' | ' : '', " \n ").concat(head.siteTitle ? head.siteTitle : '')
15
15
  : null)));
16
16
  };
17
17
  exports.default = AccountHead;
@@ -1 +1 @@
1
- {"version":3,"file":"Head.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Head/Head.tsx"],"names":[],"mappings":";;;;;AAAA,gDAAyB;AACzB,mDAA4B;AAC5B,4CAAoD;AAGpD,IAAM,WAAW,GAA+B,UAAC,EAAe;QAAb,WAAW,iBAAA;IACpD,IAAA,IAAI,GAAK,IAAA,2BAAiB,EAAC,WAAW,CAAC,KAAnC,CAAmC;IAC/C,OAAO,CACL,8BAAC,cAAI;QACH,6CACG,IAAI;YACH,CAAC,CAAC,gBACF,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,oBACpC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,qBAC7C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAE;YACtC,CAAC,CAAC,IAAI,CACF,CACH,CACR,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"Head.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Head/Head.tsx"],"names":[],"mappings":";;;;;AAAA,gDAAyB;AACzB,mDAA4B;AAC5B,4CAAoD;AAGpD,IAAM,WAAW,GAA+B,UAAC,EAAe;QAAb,WAAW,iBAAA;IACpD,IAAA,IAAI,GAAK,IAAA,2BAAiB,EAAC,WAAW,CAAC,KAAnC,CAAmC;IAC/C,OAAO,CACL,8BAAC,cAAI;QACH,6CACG,IAAI;YACH,CAAC,CAAC,oBACF,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,uBACpC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,wBAC7C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAE;YACtC,CAAC,CAAC,IAAI,CACF,CACH,CACR,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,WAAW,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Loqate/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Loqate/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
@@ -91,7 +91,7 @@ var PaymentIcon = function (_a) {
91
91
  var getIcon = function () {
92
92
  return iconMapper[type];
93
93
  };
94
- return react_1.default.createElement(StyledBlock, null, getIcon());
94
+ return react_1.default.createElement(StyledBlock, { as: "span" }, getIcon());
95
95
  };
96
96
  exports.PaymentIcon = PaymentIcon;
97
97
  exports.default = exports.PaymentIcon;
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentIcon.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/PaymentIcon/PaymentIcon.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,mCAAuC;AACvC,gDAAyB;AAEzB,2DAAgE;AAEzD,IAAM,WAAW,GAA+B,UAAC,EAAQ;;QAAN,IAAI,UAAA;IAC5D,IAAM,UAAU,GAAG,CACjB,uCAAK,OAAO,EAAC,aAAa,EAAC,KAAK,EAAC,4BAA4B;QAC3D,qCAAG,QAAQ,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM;YAC/B,wCAAM,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,EAAE,EAAC,IAAI,GAAG;YACrD,wCACE,CAAC,EAAC,i9EAAi9E,EACn9E,IAAI,EAAC,MAAM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AC,oBAAY,CAAC,eAAe,IAAG,eAAe;QAC/C,GAAC,oBAAY,CAAC,GAAG,IAAG,GAAG;QACvB,GAAC,oBAAY,CAAC,QAAQ,IAAG,QAAQ;QACjC,GAAC,oBAAY,CAAC,MAAM,IAAG,MAAM;WAC9B,CAAA;IACD,IAAM,OAAO,GAAG;QACd,OAAO,UAAU,CAAC,IAAI,CAAC,CAAA;IACzB,CAAC,CAAA;IACD,OAAO,8BAAC,WAAW,IAAC,EAAE,EAAC,MAAM,IAAE,OAAO,EAAE,CAAe,CAAA;AACzD,CAAC,CAAA;AA9OY,QAAA,WAAW,eA8OvB;AAED,kBAAe,mBAAW,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/PaymentIcon/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8DAAuC;AAEvC,0CAAuB;AACvB,kBAAe,qBAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/PaymentIcon/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,8DAAuC;AAEvC,0CAAuB;AACvB,kBAAe,qBAAW,CAAA"}
@@ -8,6 +8,8 @@ var react_1 = __importDefault(require("react"));
8
8
  var newskit_1 = require("newskit");
9
9
  var shared_components_1 = require("@newskit-render/shared-components");
10
10
  var helpers_1 = require("../../../helpers");
11
+ var ArrowForwardIos_1 = require("@emotion-icons/material-outlined/ArrowForwardIos");
12
+ var IconOutlinedArrowForwardIos = (0, newskit_1.toNewsKitIcon)(ArrowForwardIos_1.ArrowForwardIos);
11
13
  var StandaloneLinkComponent = function (_a) {
12
14
  var children = _a.children, href = _a.href, baseUrl = _a.baseUrl, onClick = _a.onClick;
13
15
  return (react_1.default.createElement(newskit_1.Stack, { flow: { xs: 'vertical-center', md: 'vertical-right' } },
@@ -15,7 +17,7 @@ var StandaloneLinkComponent = function (_a) {
15
17
  react_1.default.createElement(newskit_1.Block, { spaceStack: { xs: 'space080' } },
16
18
  react_1.default.createElement(shared_components_1.NextLink, { href: (0, helpers_1.replaceBaseURL)(baseUrl, href), type: "standalone", onClick: onClick },
17
19
  children,
18
- react_1.default.createElement(newskit_1.IconOutlinedArrowForwardIos, { overrides: {
20
+ react_1.default.createElement(IconOutlinedArrowForwardIos, { overrides: {
19
21
  size: 'sizing030',
20
22
  stylePreset: 'baseInteractivePrimary030',
21
23
  } }))))));
@@ -1 +1 @@
1
- {"version":3,"file":"StandaloneLinkComponent.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.tsx"],"names":[],"mappings":";;;;;;AAAA,gDAAyB;AACzB,mCAA+E;AAC/E,uEAA4D;AAE5D,4CAAiD;AAE1C,IAAM,uBAAuB,GAAkC,UAAC,EAKtE;QAJC,QAAQ,cAAA,EACR,IAAI,UAAA,EACJ,OAAO,aAAA,EACP,OAAO,aAAA;IAEP,OAAO,CACL,8BAAC,eAAK,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE,gBAAgB,EAAE;QAC1D,8BAAC,oBAAU;YACT,8BAAC,eAAK,IAAC,UAAU,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE;gBACnC,8BAAC,4BAAQ,IACP,IAAI,EAAE,IAAA,wBAAc,EAAC,OAAO,EAAE,IAAI,CAAC,EACnC,IAAI,EAAC,YAAY,EACjB,OAAO,EAAE,OAAO;oBAEf,QAAQ;oBACT,8BAAC,qCAA2B,IAC1B,SAAS,EAAE;4BACT,IAAI,EAAE,WAAW;4BACjB,WAAW,EAAE,2BAA2B;yBACzC,GACD,CACO,CACL,CACG,CACP,CACT,CAAA;AACH,CAAC,CAAA;AA3BY,QAAA,uBAAuB,2BA2BnC"}
1
+ {"version":3,"file":"StandaloneLinkComponent.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/StandaloneLinkComponent/StandaloneLinkComponent.tsx"],"names":[],"mappings":";;;;;;AAAA,gDAAyB;AACzB,mCAAiE;AACjE,uEAA4D;AAE5D,4CAAiD;AAEjD,oFAA6G;AAC7G,IAAM,2BAA2B,GAAG,IAAA,uBAAa,EAAC,iCAAuB,CAAC,CAAA;AAEnE,IAAM,uBAAuB,GAAkC,UAAC,EAKtE;QAJC,QAAQ,cAAA,EACR,IAAI,UAAA,EACJ,OAAO,aAAA,EACP,OAAO,aAAA;IAEP,OAAO,CACL,8BAAC,eAAK,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE,gBAAgB,EAAE;QAC1D,8BAAC,oBAAU;YACT,8BAAC,eAAK,IAAC,UAAU,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE;gBACnC,8BAAC,4BAAQ,IACP,IAAI,EAAE,IAAA,wBAAc,EAAC,OAAO,EAAE,IAAI,CAAC,EACnC,IAAI,EAAC,YAAY,EACjB,OAAO,EAAE,OAAO;oBAEf,QAAQ;oBACT,8BAAC,2BAA2B,IAC1B,SAAS,EAAE;4BACT,IAAI,EAAE,WAAW;4BACjB,WAAW,EAAE,2BAA2B;yBACzC,GACD,CACO,CACL,CACG,CACP,CACT,CAAA;AACH,CAAC,CAAA;AA3BY,QAAA,uBAAuB,2BA2BnC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/StandaloneLinkComponent/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4DAAyC;AACzC,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/StandaloneLinkComponent/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,0CAAuB"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ToastProps, ToastType } from './types';
3
- export declare const getToast: (type: ToastType, fieldType: string, messageOverride?: string | undefined, errorMessages?: {
3
+ export declare const getToast: (type: ToastType, fieldType: string, messageOverride?: string, errorMessages?: {
4
4
  [key: string]: {
5
5
  success?: string | undefined;
6
6
  error?: string | undefined;
@@ -7,21 +7,27 @@ exports.getMessage = exports.getToast = void 0;
7
7
  var react_1 = __importDefault(require("react"));
8
8
  var newskit_1 = require("newskit");
9
9
  var helpers_1 = require("../../../helpers");
10
+ var Error_1 = require("@emotion-icons/material/Error");
11
+ var Info_1 = require("@emotion-icons/material/Info");
12
+ var CheckCircle_1 = require("@emotion-icons/material/CheckCircle");
13
+ var IconFilledError = (0, newskit_1.toNewsKitIcon)(Error_1.Error);
14
+ var IconFilledInfo = (0, newskit_1.toNewsKitIcon)(Info_1.Info);
15
+ var IconFilledCheckCircle = (0, newskit_1.toNewsKitIcon)(CheckCircle_1.CheckCircle);
10
16
  var getToast = function (type, fieldType, messageOverride, errorMessages, genericErrorMessage) {
11
17
  switch (type) {
12
18
  case 'success':
13
- return (react_1.default.createElement(newskit_1.Toast, { icon: react_1.default.createElement(newskit_1.IconFilledCheckCircle, { overrides: {
19
+ return (react_1.default.createElement(newskit_1.Toast, { icon: react_1.default.createElement(IconFilledCheckCircle, { overrides: {
14
20
  size: 'iconSize020',
15
21
  } }), overrides: { stylePreset: 'toastPositive' } }, messageOverride ||
16
22
  (0, exports.getMessage)(fieldType, type, genericErrorMessage, errorMessages)));
17
23
  case 'error':
18
24
  case 'custom':
19
- return (react_1.default.createElement(newskit_1.Toast, { icon: react_1.default.createElement(newskit_1.IconFilledError, { overrides: {
25
+ return (react_1.default.createElement(newskit_1.Toast, { icon: react_1.default.createElement(IconFilledError, { overrides: {
20
26
  size: 'iconSize020',
21
27
  } }), overrides: { stylePreset: 'toastNegative' } }, messageOverride ||
22
28
  (0, exports.getMessage)(fieldType, type, genericErrorMessage, errorMessages)));
23
29
  case 'pending':
24
- return (react_1.default.createElement(newskit_1.Toast, { icon: react_1.default.createElement(newskit_1.IconFilledInfo, { overrides: {
30
+ return (react_1.default.createElement(newskit_1.Toast, { icon: react_1.default.createElement(IconFilledInfo, { overrides: {
25
31
  size: 'iconSize020',
26
32
  } }), overrides: { stylePreset: 'toastNeutral' } }, messageOverride ||
27
33
  (0, exports.getMessage)(fieldType, type, genericErrorMessage, errorMessages)));
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Toast/Toast.tsx"],"names":[],"mappings":";;;;;;AAAA,gDAAyB;AAEzB,mCAKgB;AAChB,4CAA+C;AAExC,IAAM,QAAQ,GAAG,UACtB,IAAe,EACf,SAAiB,EACjB,eAAwB,EACxB,aAEC,EACD,mBAAqD;IAErD,QAAQ,IAAI,EAAE;QACZ,KAAK,SAAS;YACZ,OAAQ,CACN,8BAAC,eAAK,IACJ,IAAI,EACF,8BAAC,+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CAAA;AAnBY,QAAA,UAAU,cAmBtB;AACD,IAAM,cAAc,GAAyB,UAAC,EAM7C;QALC,IAAI,UAAA,EACJ,SAAS,eAAA,EACT,WAAW,iBAAA,EACX,iBAAiB,uBAAA,EACjB,eAAe,qBAAA;IAEf,IAAM,KAAK,GAAG,IAAA,gBAAQ,EACpB,IAAI,EACJ,SAAS,EACT,eAAe,EACf,WAAW,EACX,iBAAiB,CAClB,CAAA;IAED,OAAO,8DAAG,KAAK,CAAI,CAAA;AACrB,CAAC,CAAA;AAED,kBAAe,cAAc,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Toast/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA2B;AAE3B,0CAAuB;AACvB,0CAAuB;AACvB,8CAA2B;AAC3B,kBAAe,eAAK,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Elements/Toast/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,kDAA2B;AAE3B,0CAAuB;AACvB,0CAAuB;AACvB,8CAA2B;AAC3B,kBAAe,eAAK,CAAA"}
@@ -7,5 +7,5 @@ export declare type MessageMap = {
7
7
  export declare type GenericMessageMap = {
8
8
  [key in ToastType]?: string;
9
9
  };
10
- declare const sendToast: (fieldName: string, type: ToastType, messageMap?: MessageMap | undefined, genericMessageMap?: GenericMessageMap | undefined, messageOverride?: string | undefined, autoHideDuration?: number | undefined) => Promise<any>;
10
+ declare const sendToast: (fieldName: string, type: ToastType, messageMap?: MessageMap, genericMessageMap?: GenericMessageMap, messageOverride?: string, autoHideDuration?: number) => Promise<any>;
11
11
  export default sendToast;
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
14
  if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
16
20
  }) : (function(o, m, k, k2) {
17
21
  if (k2 === undefined) k2 = k;
18
22
  o[k2] = m[k];
@@ -64,8 +68,8 @@ var ContentContainer = function (_a) {
64
68
  description: description || '',
65
69
  }, listItemProps: __assign(__assign({}, describedBy), { overrides: {
66
70
  minHeight: 'sizing090',
67
- }, 'data-testid': "content-list-item-" + i, 'aria-label': (0, helpers_1.getListItemArialLabel)(userData, item) || '', onClick: function () {
68
- fireEvent((0, shared_components_1.createClickEvent)('content-list-view', pageTitle + ":" + item.label));
71
+ }, 'data-testid': "content-list-item-".concat(i), 'aria-label': (0, helpers_1.getListItemArialLabel)(userData, item) || '', onClick: function () {
72
+ fireEvent((0, shared_components_1.createClickEvent)('content-list-view', "".concat(pageTitle, ":").concat(item.label)));
69
73
  } }) }));
70
74
  })),
71
75
  link && link.props && (react_1.default.createElement(newskit_1.Cell, { xs: 12 }, subscriptionCancelled ? (infoPanel && (react_1.default.createElement(react_1.default.Fragment, null,
@@ -1 +1 @@
1
- {"version":3,"file":"ContentContainer.js","sourceRoot":"","sources":["../../../../../src/Components/Sections/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,CAAE,cAAc,KACxB,IAAI,EAAE,IAAA,wBAAc,EAAC,OAAO,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,0CAAE,IAAI,CAAC,OAE5D,CACD,CACJ,CACI,CACR,CACI,CACR,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"ContentContainer.js","sourceRoot":"","sources":["../../../../../src/Components/Sections/ContentContainer/ContentContainer.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuC;AACvC,mCAA8E;AAE9E,uEAM0C;AAC1C,4CAGyB;AACzB,4CAQyB;AACzB,kFAAgF;AAGhF,IAAM,gBAAgB,GAAuD,UAAC,EAS7E;;QARC,iBAAiB,uBAAA,EACjB,SAAS,eAAA,EACT,KAAK,WAAA,EACL,cAAc,oBAAA,EACd,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,SAAS,eAAA,EACT,WAAW,iBAAA;IAEL,IAAA,KAKF,IAAA,2BAAiB,EAAC,WAAW,CAAqC,EAJpE,QAAQ,cAAA,EACR,iBAAiB,uBAAA,EACjB,OAAO,aAAA,EACC,SAAS,oBACmD,CAAA;IAEhE,IAAA,KAA4B,IAAA,gBAAQ,EAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,KAAK,CAAC,EAAzD,SAAS,QAAA,EAAE,YAAY,QAAkC,CAAA;IAExD,IAAA,SAAS,GAAK,IAAA,4BAAkB,GAAE,UAAzB,CAAyB;IAE1C,IAAM,oBAAoB,yBACrB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI,CAAC,cAAc,GACtC,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,cAAc,CACrC,CAAA;IACD,IAAM,0BAA0B,yBAC3B,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI,CAAC,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,IAAI,CAAC,CAAA;qBACnB;gBACH,CAAC,IACD;YACF,8BAAC,yBAAK,eACA,KAAK,IACT,aAAa,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,KAAI,OAAO,EAC9C,IAAI,EAAE,SAAS,EACf,SAAS,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,KAAI,YAAY,EAC3C,cAAc,wBACT,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,KACxB,IAAI,EAAE,IAAA,wBAAc,EAAC,OAAO,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,cAAc,0CAAE,IAAI,CAAC,OAE5D,CACD,CACJ,CACI,CACR,CACI,CACR,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,gBAAgB,CAAA"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Sections/ContentContainer/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,wEAAiD;AACjD,0CAAuB;AAEvB,kBAAe,0BAAgB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Components/Sections/ContentContainer/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,wEAAiD;AACjD,0CAAuB;AAEvB,kBAAe,0BAAgB,CAAA"}
@@ -8,6 +8,6 @@ declare global {
8
8
  }
9
9
  }
10
10
  export declare const populateCallback: (inputRefs: InputRefs, formRef: React.RefObject<FormRef>, setCountryCode: React.Dispatch<React.SetStateAction<string>>) => () => void;
11
- export declare const addressSubmit: (disable: boolean | undefined, e: any, validationSchemaKey?: string | undefined, router?: NextRouter | undefined, handleFormError?: (() => void) | undefined, handleSuccessForm?: (() => void) | undefined, redirectUrl?: string | undefined, setShowModal?: React.Dispatch<React.SetStateAction<boolean>> | undefined, subscriptions?: Subscription[] | undefined) => void;
11
+ export declare const addressSubmit: (disable: boolean | undefined, e: any, validationSchemaKey?: string, router?: NextRouter, handleFormError?: () => void, handleSuccessForm?: () => void, redirectUrl?: string, setShowModal?: Dispatch<SetStateAction<boolean>>, subscriptions?: Array<Subscription>) => void;
12
12
  declare const FormAddress: React.FC<AddressProps>;
13
13
  export default FormAddress;
@@ -16,7 +16,11 @@ var __assign = (this && this.__assign) || function () {
16
16
  };
17
17
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
18
  if (k2 === undefined) k2 = k;
19
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
19
+ var desc = Object.getOwnPropertyDescriptor(m, k);
20
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
+ desc = { enumerable: true, get: function() { return m[k]; } };
22
+ }
23
+ Object.defineProperty(o, k2, desc);
20
24
  }) : (function(o, m, k, k2) {
21
25
  if (k2 === undefined) k2 = k;
22
26
  o[k2] = m[k];
@@ -69,7 +73,7 @@ var populateCallback = function (inputRefs, formRef, setCountryCode) { return fu
69
73
  setCountryCode(((_b = (_a = inputRefs === null || inputRefs === void 0 ? void 0 : inputRefs.country) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.value) || '');
70
74
  Object.keys(inputRefs).forEach(function (name) {
71
75
  var _a;
72
- return (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.setValue("" + name, inputRefs["" + name].current.value || '');
76
+ return (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.setValue("".concat(name), inputRefs["".concat(name)].current.value || '');
73
77
  });
74
78
  }; };
75
79
  exports.populateCallback = populateCallback;
@@ -175,86 +179,87 @@ var FormAddress = function (_a) {
175
179
  return (react_1.default.createElement(react_1.default.Fragment, null,
176
180
  react_1.default.createElement(newskit_1.Global, { styles: (0, newskit_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n form {\n width: 100%;\n }\n\n .pca .pcaautocomplete {\n z-index: 0;\n }\n\n .pca .pcaautocomplete:first-child {\n display: none;\n }\n\n @media screen and (max-width: 480px) {\n .pca .pcaautocomplete {\n width: 50%;\n }\n }\n\n .pca .pcaselected {\n background-color: #e4e4e4;\n }\n\n :focus-visible {\n outline: none;\n }\n "], ["\n form {\n width: 100%;\n }\n\n .pca .pcaautocomplete {\n z-index: 0;\n }\n\n .pca .pcaautocomplete:first-child {\n display: none;\n }\n\n @media screen and (max-width: 480px) {\n .pca .pcaautocomplete {\n width: 50%;\n }\n }\n\n .pca .pcaselected {\n background-color: #e4e4e4;\n }\n\n :focus-visible {\n outline: none;\n }\n "]))) }),
177
181
  react_1.default.createElement(shared_components_1.FormGrid, { xsMargin: "space000", xsColumnGutter: "space000", xsRowGutter: "space000" },
178
- react_1.default.createElement(newskit_1.Form, { ref: formRef, resolver: resolver, onSubmit: function (e) {
179
- setLoading(true);
180
- if (handleLoading)
181
- handleLoading(data.validationSchemaKey || '', errorMessages, genericErrorMessage);
182
- (0, exports.addressSubmit)(disable, __assign(__assign({}, e), { country: countryCode }), data.validationSchemaKey || '', router, handleFormError, handleSuccess, baseUrl, setShowModal, subscriptions);
183
- }, reValidationMode: "onBlur", validationMode: "onBlur" },
184
- react_1.default.createElement(react_1.default.Fragment, null, (env === null || env === void 0 ? void 0 : env.LOQACCOUNT_KEY) && (react_1.default.createElement(newskit_1.Cell, __assign({}, ((fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
185
- react_1.default.createElement(newskit_1.Block, { stylePreset: (fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
186
- react_1.default.createElement(newskit_1.FormInput, { name: "search" },
187
- react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.labelProps), (_b = fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.labelProps) === null || _b === void 0 ? void 0 : _b.text),
188
- react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "pca-override", size: "medium", "aria-describedby": "search-description", "data-testid": "full-address", ref: inputRefs.line1 }, fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.formInputTextFieldProps, { onClick: function () {
189
- var _a;
190
- return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:" + ((_a = fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
191
- } })),
192
- react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.assistiveTextProps), (_c = fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.assistiveTextProps) === null || _c === void 0 ? void 0 : _c.text)),
193
- react_1.default.createElement(newskit_1.ScreenReaderOnly, null,
194
- react_1.default.createElement("p", { id: "search-description" }, "Start by typing any part of an address or postcode. Then move through the list using the up and down arrow keys and press enter to select the address.")))))),
195
- react_1.default.createElement(newskit_1.Cell, __assign({}, ((line1Input === null || line1Input === void 0 ? void 0 : line1Input.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
196
- react_1.default.createElement(newskit_1.Block, { stylePreset: (line1Input === null || line1Input === void 0 ? void 0 : line1Input.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (line1Input === null || line1Input === void 0 ? void 0 : line1Input.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (line1Input === null || line1Input === void 0 ? void 0 : line1Input.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
197
- react_1.default.createElement(newskit_1.FormInput, { name: "line1" },
198
- react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, line1Input === null || line1Input === void 0 ? void 0 : line1Input.labelProps), (_d = line1Input === null || line1Input === void 0 ? void 0 : line1Input.labelProps) === null || _d === void 0 ? void 0 : _d.text),
199
- react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-line1", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.line1, "data-testid": "line1", ref: inputRefs.line1 }, line1Input === null || line1Input === void 0 ? void 0 : line1Input.formInputTextFieldProps, { onClick: function () {
200
- var _a;
201
- return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:" + ((_a = line1Input === null || line1Input === void 0 ? void 0 : line1Input.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
202
- } })),
203
- react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, line1Input === null || line1Input === void 0 ? void 0 : line1Input.assistiveTextProps), (_e = line1Input === null || line1Input === void 0 ? void 0 : line1Input.assistiveTextProps) === null || _e === void 0 ? void 0 : _e.text)))),
204
- react_1.default.createElement(newskit_1.Cell, __assign({}, ((line2Input === null || line2Input === void 0 ? void 0 : line2Input.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
205
- react_1.default.createElement(newskit_1.Block, { stylePreset: (line2Input === null || line2Input === void 0 ? void 0 : line2Input.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (line2Input === null || line2Input === void 0 ? void 0 : line2Input.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (line2Input === null || line2Input === void 0 ? void 0 : line2Input.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
206
- react_1.default.createElement(newskit_1.FormInput, { name: "line2" },
207
- react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, line2Input === null || line2Input === void 0 ? void 0 : line2Input.labelProps), (_f = line2Input === null || line2Input === void 0 ? void 0 : line2Input.labelProps) === null || _f === void 0 ? void 0 : _f.text),
208
- react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-line2", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.line2, "data-testid": "line2", ref: inputRefs.line2 }, line2Input === null || line2Input === void 0 ? void 0 : line2Input.formInputTextFieldProps, { onClick: function () {
209
- var _a;
210
- return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:" + ((_a = line2Input === null || line2Input === void 0 ? void 0 : line2Input.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
211
- } })),
212
- react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, line2Input === null || line2Input === void 0 ? void 0 : line2Input.assistiveTextProps), (_g = line2Input === null || line2Input === void 0 ? void 0 : line2Input.assistiveTextProps) === null || _g === void 0 ? void 0 : _g.text)))),
213
- react_1.default.createElement(newskit_1.Cell, __assign({}, ((line3Input === null || line3Input === void 0 ? void 0 : line3Input.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
214
- react_1.default.createElement(newskit_1.Block, { stylePreset: (line3Input === null || line3Input === void 0 ? void 0 : line3Input.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (line3Input === null || line3Input === void 0 ? void 0 : line3Input.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (line3Input === null || line3Input === void 0 ? void 0 : line3Input.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
215
- react_1.default.createElement(newskit_1.FormInput, { name: "line3" },
216
- react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, line3Input === null || line3Input === void 0 ? void 0 : line3Input.labelProps), (_h = line3Input === null || line3Input === void 0 ? void 0 : line3Input.labelProps) === null || _h === void 0 ? void 0 : _h.text),
217
- react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-line3", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.line3, "data-testid": "line3", ref: inputRefs.line3 }, line3Input === null || line3Input === void 0 ? void 0 : line3Input.formInputTextFieldProps, { onClick: function () {
218
- var _a;
219
- return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:" + ((_a = line3Input === null || line3Input === void 0 ? void 0 : line3Input.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
220
- } })),
221
- react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, line3Input === null || line3Input === void 0 ? void 0 : line3Input.assistiveTextProps), (_j = line3Input === null || line3Input === void 0 ? void 0 : line3Input.assistiveTextProps) === null || _j === void 0 ? void 0 : _j.text)))),
222
- react_1.default.createElement(newskit_1.Cell, __assign({}, ((cityInput === null || cityInput === void 0 ? void 0 : cityInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
223
- react_1.default.createElement(newskit_1.Block, { stylePreset: (cityInput === null || cityInput === void 0 ? void 0 : cityInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (cityInput === null || cityInput === void 0 ? void 0 : cityInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (cityInput === null || cityInput === void 0 ? void 0 : cityInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
224
- react_1.default.createElement(newskit_1.FormInput, { name: "city" },
225
- react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, cityInput === null || cityInput === void 0 ? void 0 : cityInput.labelProps), (_k = cityInput === null || cityInput === void 0 ? void 0 : cityInput.labelProps) === null || _k === void 0 ? void 0 : _k.text),
226
- react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-level2", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.city, "data-testid": "city", ref: inputRefs.city }, cityInput === null || cityInput === void 0 ? void 0 : cityInput.formInputTextFieldProps, { onClick: function () {
227
- var _a;
228
- return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:" + ((_a = cityInput === null || cityInput === void 0 ? void 0 : cityInput.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
229
- } })),
230
- react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, cityInput === null || cityInput === void 0 ? void 0 : cityInput.assistiveTextProps), (_l = cityInput === null || cityInput === void 0 ? void 0 : cityInput.assistiveTextProps) === null || _l === void 0 ? void 0 : _l.text)))),
231
- react_1.default.createElement(newskit_1.Cell, __assign({}, ((countyInput === null || countyInput === void 0 ? void 0 : countyInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
232
- react_1.default.createElement(newskit_1.Block, { stylePreset: (countyInput === null || countyInput === void 0 ? void 0 : countyInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (countyInput === null || countyInput === void 0 ? void 0 : countyInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (countyInput === null || countyInput === void 0 ? void 0 : countyInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
233
- react_1.default.createElement(newskit_1.FormInput, { name: "county" },
234
- react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, countyInput === null || countyInput === void 0 ? void 0 : countyInput.labelProps), (_m = countyInput === null || countyInput === void 0 ? void 0 : countyInput.labelProps) === null || _m === void 0 ? void 0 : _m.text),
235
- react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-level3", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.county, "data-testid": "county", ref: inputRefs.county }, countyInput === null || countyInput === void 0 ? void 0 : countyInput.formInputTextFieldProps, { onClick: function () {
236
- var _a;
237
- return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:" + ((_a = countyInput === null || countyInput === void 0 ? void 0 : countyInput.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
238
- } })),
239
- react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, countyInput === null || countyInput === void 0 ? void 0 : countyInput.assistiveTextProps), (_o = countyInput === null || countyInput === void 0 ? void 0 : countyInput.assistiveTextProps) === null || _o === void 0 ? void 0 : _o.text)))),
240
- react_1.default.createElement(newskit_1.Cell, __assign({}, ((postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
241
- react_1.default.createElement(newskit_1.Block, { stylePreset: (postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
242
- react_1.default.createElement(newskit_1.FormInput, { name: "postcode" },
243
- react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.labelProps), (_p = postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.labelProps) === null || _p === void 0 ? void 0 : _p.text),
244
- react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "postal-code", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.postcode, "data-testid": "postcode", ref: inputRefs.postcode }, postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.formInputTextFieldProps, { onClick: function () {
245
- var _a;
246
- return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:" + ((_a = postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
247
- } })),
248
- react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.assistiveTextProps), (_q = postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.assistiveTextProps) === null || _q === void 0 ? void 0 : _q.text)))),
249
- react_1.default.createElement(newskit_1.Cell, __assign({}, ((countryInput === null || countryInput === void 0 ? void 0 : countryInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
250
- react_1.default.createElement(newskit_1.Block, { stylePreset: (countryInput === null || countryInput === void 0 ? void 0 : countryInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (countryInput === null || countryInput === void 0 ? void 0 : countryInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (countryInput === null || countryInput === void 0 ? void 0 : countryInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
251
- react_1.default.createElement("input", { type: "hidden", name: "inputCountry", ref: inputRefs.country }),
252
- react_1.default.createElement(Select_1.default, { onChange: function (e) {
253
- return setCountryCode(e.target.value);
254
- }, autoComplete: "country-name", label: (_r = countryInput === null || countryInput === void 0 ? void 0 : countryInput.labelProps) === null || _r === void 0 ? void 0 : _r.text, name: "country", options: isoCodes_1.isoCodes, selected: countryCode, maxHeight: countryInput === null || countryInput === void 0 ? void 0 : countryInput.maxHeight }))),
255
- react_1.default.createElement(newskit_1.Block, { spaceStack: { xs: 'space070', sm: 'space080', md: 'space090' } }),
256
- react_1.default.createElement(shared_components_1.ButtonGroup, __assign({ loading: loading }, buttonGroupProps))),
257
- (env === null || env === void 0 ? void 0 : env.LOQACCOUNT_KEY) && react_1.default.createElement(Loqate_1.Loqate, null)),
182
+ react_1.default.createElement(react_1.default.Fragment, null,
183
+ react_1.default.createElement(newskit_1.Form, { ref: formRef, resolver: resolver, onSubmit: function (e) {
184
+ setLoading(true);
185
+ if (handleLoading)
186
+ handleLoading(data.validationSchemaKey || '', errorMessages, genericErrorMessage);
187
+ (0, exports.addressSubmit)(disable, __assign(__assign({}, e), { country: countryCode }), data.validationSchemaKey || '', router, handleFormError, handleSuccess, baseUrl, setShowModal, subscriptions);
188
+ }, reValidationMode: "onBlur", validationMode: "onBlur" },
189
+ react_1.default.createElement(react_1.default.Fragment, null, (env === null || env === void 0 ? void 0 : env.LOQACCOUNT_KEY) && (react_1.default.createElement(newskit_1.Cell, __assign({}, ((fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
190
+ react_1.default.createElement(newskit_1.Block, { stylePreset: (fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
191
+ react_1.default.createElement(newskit_1.FormInput, { name: "search" },
192
+ react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.labelProps), (_b = fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.labelProps) === null || _b === void 0 ? void 0 : _b.text),
193
+ react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "pca-override", size: "medium", "aria-describedby": "search-description", "data-testid": "full-address", ref: inputRefs.line1 }, fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.formInputTextFieldProps, { onClick: function () {
194
+ var _a;
195
+ return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:".concat((_a = fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
196
+ } })),
197
+ react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.assistiveTextProps), (_c = fullAddressInput === null || fullAddressInput === void 0 ? void 0 : fullAddressInput.assistiveTextProps) === null || _c === void 0 ? void 0 : _c.text)),
198
+ react_1.default.createElement(newskit_1.ScreenReaderOnly, null,
199
+ react_1.default.createElement("p", { id: "search-description" }, "Start by typing any part of an address or postcode. Then move through the list using the up and down arrow keys and press enter to select the address.")))))),
200
+ react_1.default.createElement(newskit_1.Cell, __assign({}, ((line1Input === null || line1Input === void 0 ? void 0 : line1Input.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
201
+ react_1.default.createElement(newskit_1.Block, { stylePreset: (line1Input === null || line1Input === void 0 ? void 0 : line1Input.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (line1Input === null || line1Input === void 0 ? void 0 : line1Input.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (line1Input === null || line1Input === void 0 ? void 0 : line1Input.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
202
+ react_1.default.createElement(newskit_1.FormInput, { name: "line1" },
203
+ react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, line1Input === null || line1Input === void 0 ? void 0 : line1Input.labelProps), (_d = line1Input === null || line1Input === void 0 ? void 0 : line1Input.labelProps) === null || _d === void 0 ? void 0 : _d.text),
204
+ react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-line1", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.line1, "data-testid": "line1", ref: inputRefs.line1 }, line1Input === null || line1Input === void 0 ? void 0 : line1Input.formInputTextFieldProps, { onClick: function () {
205
+ var _a;
206
+ return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:".concat((_a = line1Input === null || line1Input === void 0 ? void 0 : line1Input.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
207
+ } })),
208
+ react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, line1Input === null || line1Input === void 0 ? void 0 : line1Input.assistiveTextProps), (_e = line1Input === null || line1Input === void 0 ? void 0 : line1Input.assistiveTextProps) === null || _e === void 0 ? void 0 : _e.text)))),
209
+ react_1.default.createElement(newskit_1.Cell, __assign({}, ((line2Input === null || line2Input === void 0 ? void 0 : line2Input.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
210
+ react_1.default.createElement(newskit_1.Block, { stylePreset: (line2Input === null || line2Input === void 0 ? void 0 : line2Input.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (line2Input === null || line2Input === void 0 ? void 0 : line2Input.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (line2Input === null || line2Input === void 0 ? void 0 : line2Input.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
211
+ react_1.default.createElement(newskit_1.FormInput, { name: "line2" },
212
+ react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, line2Input === null || line2Input === void 0 ? void 0 : line2Input.labelProps), (_f = line2Input === null || line2Input === void 0 ? void 0 : line2Input.labelProps) === null || _f === void 0 ? void 0 : _f.text),
213
+ react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-line2", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.line2, "data-testid": "line2", ref: inputRefs.line2 }, line2Input === null || line2Input === void 0 ? void 0 : line2Input.formInputTextFieldProps, { onClick: function () {
214
+ var _a;
215
+ return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:".concat((_a = line2Input === null || line2Input === void 0 ? void 0 : line2Input.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
216
+ } })),
217
+ react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, line2Input === null || line2Input === void 0 ? void 0 : line2Input.assistiveTextProps), (_g = line2Input === null || line2Input === void 0 ? void 0 : line2Input.assistiveTextProps) === null || _g === void 0 ? void 0 : _g.text)))),
218
+ react_1.default.createElement(newskit_1.Cell, __assign({}, ((line3Input === null || line3Input === void 0 ? void 0 : line3Input.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
219
+ react_1.default.createElement(newskit_1.Block, { stylePreset: (line3Input === null || line3Input === void 0 ? void 0 : line3Input.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (line3Input === null || line3Input === void 0 ? void 0 : line3Input.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (line3Input === null || line3Input === void 0 ? void 0 : line3Input.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
220
+ react_1.default.createElement(newskit_1.FormInput, { name: "line3" },
221
+ react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, line3Input === null || line3Input === void 0 ? void 0 : line3Input.labelProps), (_h = line3Input === null || line3Input === void 0 ? void 0 : line3Input.labelProps) === null || _h === void 0 ? void 0 : _h.text),
222
+ react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-line3", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.line3, "data-testid": "line3", ref: inputRefs.line3 }, line3Input === null || line3Input === void 0 ? void 0 : line3Input.formInputTextFieldProps, { onClick: function () {
223
+ var _a;
224
+ return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:".concat((_a = line3Input === null || line3Input === void 0 ? void 0 : line3Input.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
225
+ } })),
226
+ react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, line3Input === null || line3Input === void 0 ? void 0 : line3Input.assistiveTextProps), (_j = line3Input === null || line3Input === void 0 ? void 0 : line3Input.assistiveTextProps) === null || _j === void 0 ? void 0 : _j.text)))),
227
+ react_1.default.createElement(newskit_1.Cell, __assign({}, ((cityInput === null || cityInput === void 0 ? void 0 : cityInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
228
+ react_1.default.createElement(newskit_1.Block, { stylePreset: (cityInput === null || cityInput === void 0 ? void 0 : cityInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (cityInput === null || cityInput === void 0 ? void 0 : cityInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (cityInput === null || cityInput === void 0 ? void 0 : cityInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
229
+ react_1.default.createElement(newskit_1.FormInput, { name: "city" },
230
+ react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, cityInput === null || cityInput === void 0 ? void 0 : cityInput.labelProps), (_k = cityInput === null || cityInput === void 0 ? void 0 : cityInput.labelProps) === null || _k === void 0 ? void 0 : _k.text),
231
+ react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-level2", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.city, "data-testid": "city", ref: inputRefs.city }, cityInput === null || cityInput === void 0 ? void 0 : cityInput.formInputTextFieldProps, { onClick: function () {
232
+ var _a;
233
+ return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:".concat((_a = cityInput === null || cityInput === void 0 ? void 0 : cityInput.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
234
+ } })),
235
+ react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, cityInput === null || cityInput === void 0 ? void 0 : cityInput.assistiveTextProps), (_l = cityInput === null || cityInput === void 0 ? void 0 : cityInput.assistiveTextProps) === null || _l === void 0 ? void 0 : _l.text)))),
236
+ react_1.default.createElement(newskit_1.Cell, __assign({}, ((countyInput === null || countyInput === void 0 ? void 0 : countyInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
237
+ react_1.default.createElement(newskit_1.Block, { stylePreset: (countyInput === null || countyInput === void 0 ? void 0 : countyInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (countyInput === null || countyInput === void 0 ? void 0 : countyInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (countyInput === null || countyInput === void 0 ? void 0 : countyInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
238
+ react_1.default.createElement(newskit_1.FormInput, { name: "county" },
239
+ react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, countyInput === null || countyInput === void 0 ? void 0 : countyInput.labelProps), (_m = countyInput === null || countyInput === void 0 ? void 0 : countyInput.labelProps) === null || _m === void 0 ? void 0 : _m.text),
240
+ react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "address-level3", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.county, "data-testid": "county", ref: inputRefs.county }, countyInput === null || countyInput === void 0 ? void 0 : countyInput.formInputTextFieldProps, { onClick: function () {
241
+ var _a;
242
+ return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:".concat((_a = countyInput === null || countyInput === void 0 ? void 0 : countyInput.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
243
+ } })),
244
+ react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, countyInput === null || countyInput === void 0 ? void 0 : countyInput.assistiveTextProps), (_o = countyInput === null || countyInput === void 0 ? void 0 : countyInput.assistiveTextProps) === null || _o === void 0 ? void 0 : _o.text)))),
245
+ react_1.default.createElement(newskit_1.Cell, __assign({}, ((postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
246
+ react_1.default.createElement(newskit_1.Block, { stylePreset: (postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
247
+ react_1.default.createElement(newskit_1.FormInput, { name: "postcode" },
248
+ react_1.default.createElement(newskit_1.FormInputLabel, __assign({}, postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.labelProps), (_p = postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.labelProps) === null || _p === void 0 ? void 0 : _p.text),
249
+ react_1.default.createElement(newskit_1.FormInputTextField, __assign({ autoComplete: "postal-code", size: "medium", defaultValue: addressData === null || addressData === void 0 ? void 0 : addressData.postcode, "data-testid": "postcode", ref: inputRefs.postcode }, postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.formInputTextFieldProps, { onClick: function () {
250
+ var _a;
251
+ return fireEvent((0, shared_components_1.createClickEvent)('text-input', "personal details update:".concat((_a = postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.labelProps) === null || _a === void 0 ? void 0 : _a.text)));
252
+ } })),
253
+ react_1.default.createElement(newskit_1.FormInputAssistiveText, __assign({}, postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.assistiveTextProps), (_q = postcodeInput === null || postcodeInput === void 0 ? void 0 : postcodeInput.assistiveTextProps) === null || _q === void 0 ? void 0 : _q.text)))),
254
+ react_1.default.createElement(newskit_1.Cell, __assign({}, ((countryInput === null || countryInput === void 0 ? void 0 : countryInput.cells) || (inputText === null || inputText === void 0 ? void 0 : inputText.cells))),
255
+ react_1.default.createElement(newskit_1.Block, { stylePreset: (countryInput === null || countryInput === void 0 ? void 0 : countryInput.stylePreset) || (inputText === null || inputText === void 0 ? void 0 : inputText.stylePreset), spaceInset: (countryInput === null || countryInput === void 0 ? void 0 : countryInput.spaceInset) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceInset), spaceStack: (countryInput === null || countryInput === void 0 ? void 0 : countryInput.spaceStack) || (inputText === null || inputText === void 0 ? void 0 : inputText.spaceStack) },
256
+ react_1.default.createElement("input", { type: "hidden", name: "inputCountry", ref: inputRefs.country }),
257
+ react_1.default.createElement(Select_1.default, { onChange: function (e) {
258
+ return setCountryCode(e.target.value);
259
+ }, autoComplete: "country-name", label: (_r = countryInput === null || countryInput === void 0 ? void 0 : countryInput.labelProps) === null || _r === void 0 ? void 0 : _r.text, name: "country", options: isoCodes_1.isoCodes, selected: countryCode, maxHeight: countryInput === null || countryInput === void 0 ? void 0 : countryInput.maxHeight }))),
260
+ react_1.default.createElement(newskit_1.Block, { spaceStack: { xs: 'space070', sm: 'space080', md: 'space090' } }),
261
+ react_1.default.createElement(shared_components_1.ButtonGroup, __assign({ loading: loading }, buttonGroupProps))),
262
+ (env === null || env === void 0 ? void 0 : env.LOQACCOUNT_KEY) && react_1.default.createElement(Loqate_1.Loqate, null))),
258
263
  react_1.default.createElement(shared_components_1.Modal, { closePosition: "right", overrides: __assign({}, outsideDeliveryAddressModal === null || outsideDeliveryAddressModal === void 0 ? void 0 : outsideDeliveryAddressModal.overrides), introduction: __assign({}, outsideDeliveryAddressModal === null || outsideDeliveryAddressModal === void 0 ? void 0 : outsideDeliveryAddressModal.introduction), open: showModal, onDismiss: function () { return dismissModal(); }, buttonGroup: {
259
264
  primaryButton: __assign(__assign({}, (_s = outsideDeliveryAddressModal === null || outsideDeliveryAddressModal === void 0 ? void 0 : outsideDeliveryAddressModal.buttonGroup) === null || _s === void 0 ? void 0 : _s.primaryButton), { onClick: function () {
260
265
  return handleModalRedirect(outsideDeliveryAddressModal === null || outsideDeliveryAddressModal === void 0 ? void 0 : outsideDeliveryAddressModal.redirectUrl);