@saasquatch/mint-components 1.7.4-2 → 1.7.5

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 (390) hide show
  1. package/dist/cjs/{ShadowViewAddon-43f35e24.js → ShadowViewAddon-54e29788.js} +36 -49
  2. package/dist/cjs/{global-6785de71.js → global-a8fd1f10.js} +3 -3
  3. package/dist/cjs/{index.module-02576958.js → index.module-7c0deb52.js} +22 -24
  4. package/dist/cjs/loader.cjs.js +4 -4
  5. package/dist/cjs/{luxon-53e983a6.js → luxon-a4661470.js} +1 -1
  6. package/dist/cjs/mint-components.cjs.js +4 -4
  7. package/dist/cjs/{re-render-c484d9ab.js → re-render-e77c897d.js} +5 -5
  8. package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
  9. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +162 -58
  10. package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-empty_5.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
  13. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
  14. package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +4 -4
  16. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  17. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
  18. package/dist/cjs/{sqm-navigation-sidebar-item-view-21dcca39.js → sqm-navigation-sidebar-item-view-84128b9f.js} +2 -2
  19. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  20. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
  21. package/dist/cjs/sqm-password-field.cjs.entry.js +44 -19
  22. package/dist/cjs/sqm-popup-container.cjs.entry.js +13 -6
  23. package/dist/cjs/{sqm-portal-email-verification-view-d6e14e8d.js → sqm-portal-email-verification-view-b7cafe0c.js} +3 -3
  24. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +19 -8
  25. package/dist/cjs/{sqm-portal-forgot-password-view-0142350f.js → sqm-portal-forgot-password-view-ca5f6db9.js} +1 -1
  26. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +19 -9
  27. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  28. package/dist/cjs/{sqm-portal-profile-view-13a1229f.js → sqm-portal-profile-view-f092a4ef.js} +4 -4
  29. package/dist/cjs/sqm-portal-profile.cjs.entry.js +31 -11
  30. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  31. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +40 -8
  32. package/dist/cjs/{sqm-portal-reset-password-view-d5bc7afc.js → sqm-portal-reset-password-view-07a13210.js} +3 -3
  33. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +70 -10
  34. package/dist/cjs/{sqm-portal-verify-email-view-f6c7287e.js → sqm-portal-verify-email-view-ce552bbc.js} +7 -7
  35. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +48 -13
  36. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +7 -7
  37. package/dist/cjs/sqm-referred-registration.cjs.entry.js +4 -4
  38. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  39. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +3 -3
  40. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
  41. package/dist/cjs/sqm-stencilbook.cjs.entry.js +62 -55
  42. package/dist/cjs/sqm-tab.cjs.entry.js +3 -3
  43. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  44. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  45. package/dist/cjs/{stencil-hooks.module-e4bf7f2d.js → stencil-hooks.module-faabb426.js} +1 -1
  46. package/dist/cjs/{useChildElements-74eb05b6.js → useChildElements-410453fc.js} +3 -3
  47. package/dist/cjs/{useInstantAccessRegistration-11ff69f8.js → useInstantAccessRegistration-42b320b3.js} +4 -4
  48. package/dist/cjs/{useReferralTable-6ca43436.js → useReferralTable-28fff5b8.js} +9 -9
  49. package/dist/cjs/{useRegistrationFormState-01d63bda.js → useRegistrationFormState-58ce55f2.js} +3 -3
  50. package/dist/cjs/utilities-d2d257c7.js +25 -0
  51. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +2 -2
  52. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +77 -1
  53. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +7 -5
  54. package/dist/collection/components/sqm-password-field/passwordValidation.js +11 -11
  55. package/dist/collection/components/sqm-password-field/sqm-password-field.js +155 -4
  56. package/dist/collection/components/sqm-password-field/usePasswordField.js +1 -1
  57. package/dist/collection/components/sqm-popup-container/PopupContainer.stories.js +18 -0
  58. package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +1 -1
  59. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +27 -0
  60. package/dist/collection/components/sqm-popup-container/usePopupContainer.js +1 -0
  61. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +1 -1
  62. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +207 -1
  63. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +8 -2
  64. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +2 -2
  65. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +57 -1
  66. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -1
  67. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +61 -6
  68. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +1 -1
  69. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +26 -0
  70. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +1 -1
  71. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +3 -3
  72. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +104 -1
  73. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +6 -5
  74. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +1 -1
  75. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +157 -1
  76. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -1
  77. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +157 -1
  78. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +3 -1
  79. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +4 -4
  80. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +262 -1
  81. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +12 -3
  82. package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +6 -0
  83. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +7 -7
  84. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +150 -5
  85. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +7 -2
  86. package/dist/collection/components/sqm-share-button/sqm-share-button.js +52 -0
  87. package/dist/collection/components/sqm-share-button/useShareButton.js +11 -11
  88. package/dist/collection/utilities.js +3 -0
  89. package/dist/esm/{ShadowViewAddon-a5b397ce.js → ShadowViewAddon-be3c7698.js} +33 -46
  90. package/dist/esm/{global-91edfca0.js → global-0268f7bb.js} +3 -3
  91. package/dist/esm/{index.module-99d8522e.js → index.module-cbe33f2d.js} +5 -7
  92. package/dist/esm/loader.js +4 -4
  93. package/dist/esm/{luxon-f01e85fe.js → luxon-5ca0a018.js} +1 -1
  94. package/dist/esm/mint-components.js +4 -4
  95. package/dist/esm/{re-render-096db0eb.js → re-render-4e10b5ac.js} +5 -5
  96. package/dist/esm/sqm-asset-card.entry.js +2 -2
  97. package/dist/esm/sqm-big-stat_39.entry.js +162 -58
  98. package/dist/esm/sqm-close-button.entry.js +2 -2
  99. package/dist/esm/sqm-empty_5.entry.js +1 -1
  100. package/dist/esm/sqm-form-message.entry.js +1 -1
  101. package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
  102. package/dist/esm/sqm-header-logo.entry.js +1 -1
  103. package/dist/esm/sqm-instant-access-registration.entry.js +4 -4
  104. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  105. package/dist/esm/sqm-logout-current-user.entry.js +3 -3
  106. package/dist/esm/{sqm-navigation-sidebar-item-view-eb765b9c.js → sqm-navigation-sidebar-item-view-67fc08d3.js} +2 -2
  107. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
  108. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  109. package/dist/esm/sqm-password-field.entry.js +44 -19
  110. package/dist/esm/sqm-popup-container.entry.js +13 -6
  111. package/dist/esm/{sqm-portal-email-verification-view-408af676.js → sqm-portal-email-verification-view-12fc1bd4.js} +3 -3
  112. package/dist/esm/sqm-portal-email-verification.entry.js +19 -8
  113. package/dist/esm/{sqm-portal-forgot-password-view-41afcace.js → sqm-portal-forgot-password-view-a764ad67.js} +1 -1
  114. package/dist/esm/sqm-portal-forgot-password.entry.js +19 -9
  115. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  116. package/dist/esm/{sqm-portal-profile-view-efa44888.js → sqm-portal-profile-view-87730d84.js} +4 -4
  117. package/dist/esm/sqm-portal-profile.entry.js +31 -11
  118. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  119. package/dist/esm/sqm-portal-registration-form.entry.js +40 -8
  120. package/dist/esm/{sqm-portal-reset-password-view-0df781f6.js → sqm-portal-reset-password-view-d3e726a9.js} +3 -3
  121. package/dist/esm/sqm-portal-reset-password.entry.js +70 -10
  122. package/dist/esm/{sqm-portal-verify-email-view-1db4fae6.js → sqm-portal-verify-email-view-283bf637.js} +7 -7
  123. package/dist/esm/sqm-portal-verify-email.entry.js +49 -14
  124. package/dist/esm/sqm-referral-table_11.entry.js +7 -7
  125. package/dist/esm/sqm-referred-registration.entry.js +4 -4
  126. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  127. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  128. package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
  129. package/dist/esm/sqm-stencilbook.entry.js +62 -55
  130. package/dist/esm/sqm-tab.entry.js +3 -3
  131. package/dist/esm/sqm-tabs.entry.js +5 -5
  132. package/dist/esm/sqm-text-span.entry.js +1 -1
  133. package/dist/esm/{stencil-hooks.module-14b87f98.js → stencil-hooks.module-9ad75b88.js} +1 -1
  134. package/dist/esm/{useChildElements-b945a965.js → useChildElements-f6672214.js} +3 -3
  135. package/dist/esm/{useInstantAccessRegistration-7f9f4360.js → useInstantAccessRegistration-c9d75808.js} +4 -4
  136. package/dist/esm/{useReferralTable-e425f29d.js → useReferralTable-16e5c27f.js} +9 -9
  137. package/dist/esm/{useRegistrationFormState-c9d54ef3.js → useRegistrationFormState-424e2af2.js} +3 -3
  138. package/dist/esm/utilities-a6f1de33.js +21 -0
  139. package/dist/esm-es5/ShadowViewAddon-be3c7698.js +1 -0
  140. package/dist/esm-es5/{global-91edfca0.js → global-0268f7bb.js} +2 -2
  141. package/dist/esm-es5/index.module-cbe33f2d.js +1 -0
  142. package/dist/esm-es5/loader.js +1 -1
  143. package/dist/esm-es5/{luxon-f01e85fe.js → luxon-5ca0a018.js} +1 -1
  144. package/dist/esm-es5/mint-components.js +1 -1
  145. package/dist/esm-es5/{re-render-096db0eb.js → re-render-4e10b5ac.js} +1 -1
  146. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  147. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  148. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  149. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  150. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  151. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  152. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  153. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  154. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  155. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  156. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-eb765b9c.js → sqm-navigation-sidebar-item-view-67fc08d3.js} +1 -1
  157. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  158. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  159. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  160. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  161. package/dist/esm-es5/{sqm-portal-email-verification-view-408af676.js → sqm-portal-email-verification-view-12fc1bd4.js} +1 -1
  162. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  163. package/dist/esm-es5/{sqm-portal-forgot-password-view-41afcace.js → sqm-portal-forgot-password-view-a764ad67.js} +1 -1
  164. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  165. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  166. package/dist/esm-es5/sqm-portal-profile-view-87730d84.js +1 -0
  167. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  168. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  169. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  170. package/dist/esm-es5/sqm-portal-reset-password-view-d3e726a9.js +1 -0
  171. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  172. package/dist/esm-es5/sqm-portal-verify-email-view-283bf637.js +1 -0
  173. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  174. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  175. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  176. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  177. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  178. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  179. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  180. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  181. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  182. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  183. package/dist/esm-es5/{stencil-hooks.module-14b87f98.js → stencil-hooks.module-9ad75b88.js} +1 -1
  184. package/dist/esm-es5/{useChildElements-b945a965.js → useChildElements-f6672214.js} +1 -1
  185. package/dist/esm-es5/{useInstantAccessRegistration-7f9f4360.js → useInstantAccessRegistration-c9d75808.js} +1 -1
  186. package/dist/esm-es5/{useReferralTable-e425f29d.js → useReferralTable-16e5c27f.js} +1 -1
  187. package/dist/esm-es5/useRegistrationFormState-424e2af2.js +1 -0
  188. package/dist/esm-es5/utilities-a6f1de33.js +1 -0
  189. package/dist/mint-components/mint-components.esm.js +1 -1
  190. package/dist/mint-components/mint-components.js +1 -1
  191. package/dist/mint-components/{p-c24d34d8.entry.js → p-048cb5a0.entry.js} +1 -1
  192. package/dist/mint-components/p-059b2db4.system.js +1 -0
  193. package/dist/mint-components/p-05d9a1c3.system.entry.js +1 -0
  194. package/dist/mint-components/p-0be7a34f.entry.js +187 -0
  195. package/dist/mint-components/p-0c3c573c.entry.js +1 -0
  196. package/dist/mint-components/{p-2b6c19e0.system.js → p-0e0bcf17.system.js} +1 -1
  197. package/dist/mint-components/p-0f48f5c4.entry.js +1 -0
  198. package/dist/mint-components/p-11c2ddd5.entry.js +1 -0
  199. package/dist/mint-components/p-126ef540.entry.js +1 -0
  200. package/dist/mint-components/p-158302b4.system.entry.js +1 -0
  201. package/dist/mint-components/p-16c4c0e6.system.entry.js +1 -0
  202. package/dist/mint-components/p-19078b96.system.entry.js +1 -0
  203. package/dist/mint-components/p-1be14c58.system.entry.js +1 -0
  204. package/dist/mint-components/{p-a79208b8.system.js → p-21a152c9.system.js} +1 -1
  205. package/dist/mint-components/{p-b5b9aaba.system.entry.js → p-25014681.system.entry.js} +1 -1
  206. package/dist/mint-components/p-2639d623.entry.js +33 -0
  207. package/dist/mint-components/p-29f83317.system.entry.js +1 -0
  208. package/dist/mint-components/p-2b03b921.entry.js +1 -0
  209. package/dist/mint-components/{p-d65bf9dc.js → p-2b3e1737.js} +1 -1
  210. package/dist/mint-components/{p-9f3a0252.system.js → p-2bd322a2.system.js} +1 -1
  211. package/dist/mint-components/p-2be08bc1.system.entry.js +1 -0
  212. package/dist/mint-components/{p-0a892e0f.system.entry.js → p-2eacd22e.system.entry.js} +1 -1
  213. package/dist/mint-components/p-3056e5df.js +1 -0
  214. package/dist/mint-components/p-349b9603.system.js +1 -0
  215. package/dist/mint-components/{p-8b2b5d37.system.js → p-34b61e2c.system.js} +1 -1
  216. package/dist/mint-components/{p-e3de804b.entry.js → p-3884e029.entry.js} +1 -1
  217. package/dist/mint-components/p-3a306a99.system.entry.js +1 -0
  218. package/dist/mint-components/{p-d576140e.js → p-4086ea93.js} +1 -1
  219. package/dist/mint-components/p-40dde690.js +1 -0
  220. package/dist/mint-components/p-4251a664.entry.js +13 -0
  221. package/dist/mint-components/{p-901f5b80.js → p-42c43cc2.js} +1 -1
  222. package/dist/mint-components/p-43b92142.system.entry.js +1 -0
  223. package/dist/mint-components/p-46ef82ed.js +1 -0
  224. package/dist/mint-components/p-4d9744bf.js +1 -0
  225. package/dist/mint-components/{p-3cc28285.system.js → p-4eb96878.system.js} +1 -1
  226. package/dist/mint-components/p-5097066c.entry.js +1 -0
  227. package/dist/mint-components/p-5cba80eb.entry.js +1 -0
  228. package/dist/mint-components/p-5f084d62.system.js +1 -0
  229. package/dist/mint-components/p-6dc5988e.entry.js +1 -0
  230. package/dist/mint-components/p-702db9d3.entry.js +1 -0
  231. package/dist/mint-components/{p-b668aa0b.system.entry.js → p-71f1256c.system.entry.js} +1 -1
  232. package/dist/mint-components/p-7487f23c.system.js +1 -0
  233. package/dist/mint-components/{p-ef6a3ff3.entry.js → p-78348fd6.entry.js} +2 -2
  234. package/dist/mint-components/p-7cdc3d59.system.entry.js +1 -0
  235. package/dist/mint-components/{p-dd0b4da7.system.entry.js → p-7dcd091c.system.entry.js} +1 -1
  236. package/dist/mint-components/{p-05f069ce.entry.js → p-7f950006.entry.js} +2 -2
  237. package/dist/mint-components/{p-e49392c3.system.entry.js → p-7f9953fc.system.entry.js} +1 -1
  238. package/dist/mint-components/p-8756e3ae.system.entry.js +1 -0
  239. package/dist/mint-components/p-8930ca8e.system.entry.js +1 -0
  240. package/dist/mint-components/p-8be37b05.system.entry.js +1 -0
  241. package/dist/mint-components/p-8f4bf5e3.system.js +1 -0
  242. package/dist/mint-components/{p-d65de81a.entry.js → p-9522cf59.entry.js} +1 -1
  243. package/dist/mint-components/{p-9fc8505c.entry.js → p-995117b1.entry.js} +1 -1
  244. package/dist/mint-components/{p-b0ef4f17.entry.js → p-9a67f0b2.entry.js} +1 -1
  245. package/dist/mint-components/{p-9b2e0735.system.entry.js → p-9bb762f8.system.entry.js} +1 -1
  246. package/dist/mint-components/p-9f0aca0e.system.js +1 -0
  247. package/dist/mint-components/p-9f472ce9.entry.js +9 -0
  248. package/dist/mint-components/p-aac1d82a.system.js +1 -0
  249. package/dist/mint-components/p-adb1f996.js +1 -0
  250. package/dist/mint-components/p-b2d41729.js +1 -0
  251. package/dist/mint-components/{p-a65e2e14.system.entry.js → p-b4779d76.system.entry.js} +1 -1
  252. package/dist/mint-components/p-b6713eac.entry.js +1 -0
  253. package/dist/mint-components/{p-42844992.js → p-bc64b988.js} +3 -3
  254. package/dist/mint-components/p-bcc9f143.js +379 -0
  255. package/dist/mint-components/p-bcd04c27.js +1 -0
  256. package/dist/mint-components/{p-be8f19ba.system.entry.js → p-c51de4f4.system.entry.js} +1 -1
  257. package/dist/mint-components/p-c58a09e4.js +1 -0
  258. package/dist/mint-components/{p-2e9a5714.js → p-c9818f06.js} +1 -1
  259. package/dist/mint-components/p-ca6e1a47.system.js +1 -0
  260. package/dist/mint-components/{p-ee469a91.entry.js → p-cfcb517b.entry.js} +1 -1
  261. package/dist/mint-components/p-d0f2d5e3.system.entry.js +1 -0
  262. package/dist/mint-components/p-d2bd3b4b.system.entry.js +1 -0
  263. package/dist/mint-components/{p-c2bd46e2.entry.js → p-d3c26e65.entry.js} +1 -1
  264. package/dist/mint-components/p-d4b174e1.system.js +1 -0
  265. package/dist/mint-components/p-d4f8aa26.entry.js +1 -0
  266. package/dist/mint-components/{p-8f1974f8.system.entry.js → p-d86c3c45.system.entry.js} +1 -1
  267. package/dist/mint-components/p-d88ed63d.entry.js +1 -0
  268. package/dist/mint-components/{p-c8d74710.entry.js → p-da31e785.entry.js} +1 -1
  269. package/dist/mint-components/{p-16394ed3.system.entry.js → p-da8bdb5e.system.entry.js} +1 -1
  270. package/dist/mint-components/p-dc59a463.entry.js +1 -0
  271. package/dist/mint-components/{p-0bf5a9b8.system.entry.js → p-dce5e97a.system.entry.js} +1 -1
  272. package/dist/mint-components/{p-ed9374ef.system.entry.js → p-debd47d0.system.entry.js} +1 -1
  273. package/dist/mint-components/{p-b6dafb9b.system.js → p-df15da1e.system.js} +1 -1
  274. package/dist/mint-components/{p-ee7bc1c7.system.js → p-df1af170.system.js} +1 -1
  275. package/dist/mint-components/p-e231860a.entry.js +1 -0
  276. package/dist/mint-components/p-e4b12586.system.entry.js +1 -0
  277. package/dist/mint-components/p-ea6a7135.js +1 -0
  278. package/dist/mint-components/p-ebccb162.js +1 -0
  279. package/dist/mint-components/{p-a23a2a86.entry.js → p-eccd2792.entry.js} +1 -1
  280. package/dist/mint-components/p-eea49084.entry.js +1 -0
  281. package/dist/mint-components/p-f11c9bb1.system.js +1 -0
  282. package/dist/mint-components/{p-831d1332.js → p-f6743fbe.js} +1 -1
  283. package/dist/mint-components/{p-66e3cb0c.system.entry.js → p-fa376627.system.entry.js} +1 -1
  284. package/dist/mint-components/{p-f064bf28.entry.js → p-fabf03c8.entry.js} +1 -1
  285. package/dist/mint-components/{p-ba295930.system.entry.js → p-fc468ef7.system.entry.js} +1 -1
  286. package/dist/mint-components/p-fca0dc98.system.js +1 -0
  287. package/dist/mint-components/{p-e341e670.system.entry.js → p-fe276517.system.entry.js} +1 -1
  288. package/dist/types/components/sqm-edit-profile/sqm-edit-profile-view.d.ts +1 -0
  289. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +12 -0
  290. package/dist/types/components/sqm-edit-profile/useEditProfile.d.ts +2 -11
  291. package/dist/types/components/sqm-password-field/passwordValidation.d.ts +1 -1
  292. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +24 -0
  293. package/dist/types/components/sqm-popup-container/PopupContainer.stories.d.ts +5 -0
  294. package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +1 -1
  295. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +6 -0
  296. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -0
  297. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +6 -0
  298. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +32 -0
  299. package/dist/types/components/sqm-portal-change-password/usePortalChangePassword.d.ts +6 -0
  300. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification-view.d.ts +1 -0
  301. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +10 -0
  302. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +1 -0
  303. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +10 -1
  304. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +5 -0
  305. package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +4 -3
  306. package/dist/types/components/sqm-portal-profile/sqm-portal-profile-view.d.ts +2 -0
  307. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +17 -0
  308. package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +2 -1
  309. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +6 -0
  310. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +24 -0
  311. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +6 -0
  312. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +24 -0
  313. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +9 -0
  314. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +42 -0
  315. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +6 -0
  316. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +24 -0
  317. package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +11 -2
  318. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +10 -0
  319. package/dist/types/components/sqm-share-button/useShareButton.d.ts +2 -0
  320. package/dist/types/components.d.ts +464 -2
  321. package/dist/types/utilities.d.ts +3 -0
  322. package/docs/docs.docx +0 -0
  323. package/docs/raisins.json +1 -1
  324. package/grapesjs/grapesjs.js +1 -1
  325. package/package.json +3 -3
  326. package/dist/esm-es5/ShadowViewAddon-a5b397ce.js +0 -1
  327. package/dist/esm-es5/index.module-99d8522e.js +0 -1
  328. package/dist/esm-es5/sqm-portal-profile-view-efa44888.js +0 -1
  329. package/dist/esm-es5/sqm-portal-reset-password-view-0df781f6.js +0 -1
  330. package/dist/esm-es5/sqm-portal-verify-email-view-1db4fae6.js +0 -1
  331. package/dist/esm-es5/useRegistrationFormState-c9d54ef3.js +0 -1
  332. package/dist/mint-components/p-0943b547.system.js +0 -1
  333. package/dist/mint-components/p-0ad6459e.entry.js +0 -1
  334. package/dist/mint-components/p-0b8f38a8.entry.js +0 -1
  335. package/dist/mint-components/p-0de80de6.js +0 -1
  336. package/dist/mint-components/p-10bf0b3a.entry.js +0 -9
  337. package/dist/mint-components/p-13570402.system.entry.js +0 -1
  338. package/dist/mint-components/p-1437b793.system.js +0 -1
  339. package/dist/mint-components/p-1c9d83b4.entry.js +0 -1
  340. package/dist/mint-components/p-1ce682cf.js +0 -379
  341. package/dist/mint-components/p-1e884e97.system.entry.js +0 -1
  342. package/dist/mint-components/p-1fa097d3.entry.js +0 -1
  343. package/dist/mint-components/p-20b4e20b.system.entry.js +0 -1
  344. package/dist/mint-components/p-22d1e92e.system.js +0 -1
  345. package/dist/mint-components/p-25ad41bd.system.entry.js +0 -1
  346. package/dist/mint-components/p-2bba85ac.system.entry.js +0 -1
  347. package/dist/mint-components/p-3e0bb7f9.entry.js +0 -1
  348. package/dist/mint-components/p-41c62fef.system.js +0 -1
  349. package/dist/mint-components/p-46be1518.system.js +0 -1
  350. package/dist/mint-components/p-56525896.system.js +0 -1
  351. package/dist/mint-components/p-57a89487.entry.js +0 -1
  352. package/dist/mint-components/p-59318941.system.js +0 -1
  353. package/dist/mint-components/p-6d1a2821.system.entry.js +0 -1
  354. package/dist/mint-components/p-6e793d76.system.entry.js +0 -1
  355. package/dist/mint-components/p-6fed24de.entry.js +0 -1
  356. package/dist/mint-components/p-74e8a90c.entry.js +0 -187
  357. package/dist/mint-components/p-75ddf3ca.js +0 -1
  358. package/dist/mint-components/p-7b490a03.system.js +0 -1
  359. package/dist/mint-components/p-7d5ee633.system.entry.js +0 -1
  360. package/dist/mint-components/p-821004e9.system.entry.js +0 -1
  361. package/dist/mint-components/p-84ee5462.system.entry.js +0 -1
  362. package/dist/mint-components/p-878daf52.js +0 -1
  363. package/dist/mint-components/p-89e86134.entry.js +0 -1
  364. package/dist/mint-components/p-8b28c511.js +0 -1
  365. package/dist/mint-components/p-9a74f167.entry.js +0 -13
  366. package/dist/mint-components/p-a217deee.js +0 -1
  367. package/dist/mint-components/p-a372d9cf.system.js +0 -1
  368. package/dist/mint-components/p-abfb3897.system.entry.js +0 -1
  369. package/dist/mint-components/p-b0f3c6c5.entry.js +0 -33
  370. package/dist/mint-components/p-b4fddf49.entry.js +0 -1
  371. package/dist/mint-components/p-b9c7b7ef.entry.js +0 -1
  372. package/dist/mint-components/p-ce748fab.js +0 -1
  373. package/dist/mint-components/p-d5e83056.entry.js +0 -1
  374. package/dist/mint-components/p-db9652e7.system.entry.js +0 -1
  375. package/dist/mint-components/p-e058ba88.entry.js +0 -1
  376. package/dist/mint-components/p-e9197aac.entry.js +0 -1
  377. package/dist/mint-components/p-eab33344.js +0 -1
  378. package/dist/mint-components/p-efd129de.js +0 -1
  379. package/dist/mint-components/p-f04ce58d.system.entry.js +0 -1
  380. package/dist/mint-components/p-f21aa0bd.entry.js +0 -1
  381. package/dist/mint-components/p-f60d9f3e.system.entry.js +0 -1
  382. package/dist/mint-components/p-f63961b4.system.js +0 -1
  383. package/dist/mint-components/p-f71cfd64.js +0 -1
  384. package/dist/mint-components/p-f7b5c0ac.system.entry.js +0 -1
  385. package/dist/mint-components/p-f82bb604.entry.js +0 -1
  386. package/dist/mint-components/p-ff3b0ece.system.entry.js +0 -1
  387. package/dist/types/global/android.d.ts +0 -7
  388. package/dist/types/global/demo.d.ts +0 -1
  389. package/dist/types/stories/features.d.ts +0 -4
  390. package/dist/types/stories/templates.d.ts +0 -4
@@ -3,16 +3,16 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ const index_module = require('./index.module-7c0deb52.js');
8
8
  const cjs = require('./cjs-1066ec21.js');
9
9
  require('./mixins-fe9d4112.js');
10
10
  require('./JSS-8503a151.js');
11
11
  const utils = require('./utils-6847bc06.js');
12
- const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-21dcca39.js');
12
+ const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-84128b9f.js');
13
13
 
14
14
  function useNavigationSidebarItem(props) {
15
- const currentPage = index_module.vn();
15
+ const currentPage = index_module.pn();
16
16
  return {
17
17
  states: {
18
18
  active: currentPage.pathname === props.path,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ const index_module = require('./index.module-7c0deb52.js');
8
8
  const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-dd53f947.js');
9
9
 
10
10
  const NavigationSidebar = class {
@@ -20,8 +20,8 @@ const NavigationSidebar = class {
20
20
  }
21
21
  };
22
22
  function useNavigationSidebar() {
23
- const location = index_module.vn();
24
- const programId = index_module.W();
23
+ const location = index_module.pn();
24
+ const programId = index_module._();
25
25
  const [checked, setChecked] = stencilHooks_module.useState(false);
26
26
  // Close hamburger menu after navigation
27
27
  stencilHooks_module.useEffect(() => {
@@ -3,12 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ const index_module = require('./index.module-7c0deb52.js');
8
8
  const cjs = require('./cjs-1066ec21.js');
9
9
  const mixins = require('./mixins-fe9d4112.js');
10
10
  const JSS = require('./JSS-8503a151.js');
11
- const useRegistrationFormState = require('./useRegistrationFormState-01d63bda.js');
11
+ const utils = require('./utils-6847bc06.js');
12
+ const useRegistrationFormState = require('./useRegistrationFormState-58ce55f2.js');
12
13
 
13
14
  var constants = {
14
15
  error: {
@@ -400,21 +401,15 @@ const passwordSchema = new src()
400
401
  .lowercase() // Must have lowercase letters
401
402
  .has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/); // Must contain at least 1 digit or symbol
402
403
  // Taken from combining https://github.com/tarunbatra/password-validator/blob/40184970e4f65efa8aed7a64185a011a3b5d0e54/src/constants.js#L9
403
- const validateNewPassword = (password) => {
404
+ const validateNewPassword = (password, validationText) => {
404
405
  const errors = passwordSchema.validate(password, { list: true });
405
- const message = getErrorMessage(errors, password);
406
+ const message = getErrorMessage(errors, password, validationText);
406
407
  return message;
407
408
  };
408
409
  const Valid = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" },
409
410
  index.h("path", { d: "M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z", fill: "#259053" })));
410
411
  const Invalid = () => (index.h("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
411
412
  index.h("path", { d: "M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z", fill: "#555555" })));
412
- const validationMessages = {
413
- min: "be a minimum of 8 characters",
414
- uppercase: "contain at least 1 uppercase character",
415
- lowercase: "contain at least 1 lowercase character",
416
- has: "contain at least 1 number or symbol",
417
- };
418
413
  const baseItem = {
419
414
  display: "flex",
420
415
  alignItems: "center",
@@ -446,16 +441,22 @@ const style = {
446
441
  };
447
442
  const sheet = JSS.createStyleSheet(style);
448
443
  const styleString = sheet.toString();
449
- const getErrorMessage = (errorKeys, password) => {
444
+ const getErrorMessage = (errorKeys, password, validationText) => {
445
+ const validationMessages = {
446
+ min: validationText.minErrorText,
447
+ uppercase: validationText.uppercaseErrorText,
448
+ lowercase: validationText.lowercaseErrorText,
449
+ has: validationText.hasErrorText,
450
+ };
450
451
  if (!errorKeys.length && password)
451
452
  return (index.h("div", { class: sheet.classes.ValidationItemValid, style: { paddingBottom: "var(--sl-spacing-x-large)" } },
452
453
  index.h("style", { type: "text/css" }, styleString),
453
454
  index.h(Valid, null),
454
455
  " ",
455
- index.h("span", null, "Password has met all requirements")));
456
+ index.h("span", null, validationText.meetsRequirementsText)));
456
457
  return (index.h("div", { class: sheet.classes.Base },
457
458
  index.h("style", { type: "text/css" }, styleString),
458
- "Password must meet the following requirements:",
459
+ validationText.doesNotMeetRequirementsText,
459
460
  index.h("ul", { class: sheet.classes.ValidationList }, Object.keys(validationMessages).map((errorKey) => errorKeys.includes(errorKey) ? (index.h("li", { class: sheet.classes.ValidationItemInvalid },
460
461
  index.h(Invalid, null),
461
462
  " ",
@@ -512,7 +513,7 @@ function usePasswordField(props) {
512
513
  const registrationFormState = stencilHooks_module.d(useRegistrationFormState.REGISTRATION_FORM_STATE_CONTEXT);
513
514
  const [dynamicValidation, setDynamicValidation] = stencilHooks_module.useState("");
514
515
  function onInput(input) {
515
- const validation = validateNewPassword(input.target.value);
516
+ const validation = validateNewPassword(input.target.value, props);
516
517
  setDynamicValidation(validation);
517
518
  }
518
519
  return {
@@ -545,13 +546,37 @@ const PortalPasswordField = class {
545
546
  * @uiName Disable validation
546
547
  */
547
548
  this.disableValidation = false;
549
+ /**
550
+ * @uiName Password requirement met
551
+ */
552
+ this.meetsRequirementsText = "Password has met all requirements";
553
+ /**
554
+ * @uiName Password requirement failed
555
+ */
556
+ this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
557
+ /**
558
+ * @uiName Minimum length text
559
+ */
560
+ this.minErrorText = "be a minimum of 8 characters";
561
+ /**
562
+ * @uiName Missing uppercase text
563
+ */
564
+ this.uppercaseErrorText = "contain at least 1 uppercase character";
565
+ /**
566
+ * @uiName Missing lowercase text
567
+ */
568
+ this.lowercaseErrorText = "contain at least 1 lowercase character";
569
+ /**
570
+ * @uiName Missing number or symbol text
571
+ */
572
+ this.hasErrorText = "contain at least 1 number or symbol";
548
573
  stencilHooks_module.h$1(this);
549
574
  }
550
575
  disconnectedCallback() { }
551
576
  render() {
552
577
  const { states, callbacks } = index_module.isDemo()
553
- ? usePasswordFieldDemo(this)
554
- : usePasswordField(this);
578
+ ? usePasswordFieldDemo(utils.getProps(this))
579
+ : usePasswordField(utils.getProps(this));
555
580
  return index.h(PortalResetPasswordView, { states: states, callbacks: callbacks });
556
581
  }
557
582
  };
@@ -560,12 +585,12 @@ function usePasswordFieldDemo(props) {
560
585
  const [dynamicValidation, setDynamicValidation] = stencilHooks_module.useState("");
561
586
  const [lastValidated, setLastValidated] = stencilHooks_module.useState("");
562
587
  if (props.demoData && lastValidated != ((_a = props === null || props === void 0 ? void 0 : props.demoData) === null || _a === void 0 ? void 0 : _a.initValue)) {
563
- const validation = validateNewPassword(((_b = props === null || props === void 0 ? void 0 : props.demoData) === null || _b === void 0 ? void 0 : _b.initValue) || "");
588
+ const validation = validateNewPassword(((_b = props === null || props === void 0 ? void 0 : props.demoData) === null || _b === void 0 ? void 0 : _b.initValue) || "", props);
564
589
  setDynamicValidation(((_c = props === null || props === void 0 ? void 0 : props.demoData) === null || _c === void 0 ? void 0 : _c.initValue) === "" ? "" : validation);
565
590
  setLastValidated((_d = props === null || props === void 0 ? void 0 : props.demoData) === null || _d === void 0 ? void 0 : _d.initValue);
566
591
  }
567
592
  function onInput(input) {
568
- const validation = validateNewPassword(input.target.value);
593
+ const validation = validateNewPassword(input.target.value, props);
569
594
  setDynamicValidation(validation);
570
595
  }
571
596
  return cjs.cjs({
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ const index_module = require('./index.module-7c0deb52.js');
8
8
  const utils = require('./utils-6847bc06.js');
9
9
 
10
10
  const PopupContainerView = (props) => {
@@ -14,14 +14,14 @@ const PopupContainerView = (props) => {
14
14
  index.h("div", { style: { padding: props.states.styles.padding }, part: "sqm-base" },
15
15
  styles.closeButton && (index.h("span", { part: "sqm-close-button", class: "close squatch-header-close", "data-close-panel": "#squatch-panel", onClick: () => callbacks.closePopup() }, styles.closeButtonText)),
16
16
  index.h("slot", null),
17
- styles.poweredBy ? (index.h("a", { class: "sqh-attribution", href: "https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget", target: "_blank" }, "Powered By")) : (""))));
17
+ styles.poweredBy ? (index.h("a", { class: "sqh-attribution", href: "https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget", target: "_blank" }, styles.poweredByText)) : (""))));
18
18
  };
19
19
 
20
20
  function usePopupContainer(props) {
21
- const engagementMedium = index_module.T();
21
+ const engagementMedium = index_module.Q();
22
22
  function closePopup() {
23
23
  var _a;
24
- if (index_module.T() === "POPUP") {
24
+ if (index_module.Q() === "POPUP") {
25
25
  (_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
26
26
  }
27
27
  }
@@ -35,7 +35,7 @@ function usePopupContainer(props) {
35
35
  ? "0"
36
36
  : `var(--sl-spacing-${props.embedPadding})`
37
37
  : "0";
38
- const padding = index_module.T() === "POPUP" ? popupPadding : embedPadding;
38
+ const padding = index_module.Q() === "POPUP" ? popupPadding : embedPadding;
39
39
  return {
40
40
  states: {
41
41
  showCloseButton: props.closeButton && engagementMedium === "POPUP",
@@ -43,6 +43,7 @@ function usePopupContainer(props) {
43
43
  ...props,
44
44
  padding,
45
45
  closeButtonText: props.closeButtonText ? props.closeButtonText : "X",
46
+ poweredByText: props.poweredByText,
46
47
  },
47
48
  },
48
49
  data: {},
@@ -55,6 +56,12 @@ const sqmPopupContainerCss = ".squatch-header-close{position:absolute;right:20px
55
56
  const PopupContainer = class {
56
57
  constructor(hostRef) {
57
58
  index.registerInstance(this, hostRef);
59
+ /**
60
+ * Text at the bottom of the popup
61
+ *
62
+ * @uiName "Powered by" text
63
+ */
64
+ this.poweredByText = "Powered By";
58
65
  stencilHooks_module.h$1(this);
59
66
  }
60
67
  disconnectedCallback() { }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const global = require('./global-6785de71.js');
4
+ const global = require('./global-a8fd1f10.js');
5
5
  const mixins = require('./mixins-fe9d4112.js');
6
6
  const JSS = require('./JSS-8503a151.js');
7
7
  const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
@@ -40,7 +40,7 @@ const vanillaStyle = `
40
40
  const sheet = JSS.createStyleSheet(style);
41
41
  const styleString = sheet.toString();
42
42
  function PortalEmailVerificationView(props) {
43
- const { states, callbacks, content: { email, verifyMessage, emailVerificationHeader, resendEmailButtonText, verificationStatusMessage, verificationLoadingMessage, }, } = props;
43
+ const { states, callbacks, content: { email, verifyMessage, emailVerificationHeader, resendEmailButtonText, verificationStatusMessage, verificationLoadingMessage, verificationResentMessage, }, } = props;
44
44
  return (index.h("div", { class: sheet.classes.Wrapper },
45
45
  index.h("style", { type: "text/css" },
46
46
  vanillaStyle,
@@ -50,7 +50,7 @@ function PortalEmailVerificationView(props) {
50
50
  props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
51
51
  index.h("div", { part: "erroralert-text" }, props.states.error))),
52
52
  props.states.success && (index.h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
53
- index.h("div", { part: "successalert-text" }, "Your verification email has been resent successfully"))),
53
+ index.h("div", { part: "successalert-text" }, verificationResentMessage))),
54
54
  index.h(sqmTextSpanView.TextSpanView, { type: "p" }, global.intl.formatMessage({
55
55
  id: "verifyMessage",
56
56
  defaultMessage: verifyMessage,
@@ -3,22 +3,22 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- require('./global-6785de71.js');
8
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ require('./global-a8fd1f10.js');
8
+ const index_module = require('./index.module-7c0deb52.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./mixins-fe9d4112.js');
11
11
  require('./JSS-8503a151.js');
12
12
  require('./sqm-text-span-view-e1cd9bd3.js');
13
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-d6e14e8d.js');
13
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-b7cafe0c.js');
14
14
 
15
15
  function usePortalEmailVerification(props) {
16
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
17
- const [request, { loading, data, errors }] = index_module.on();
18
- const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.Ke();
17
+ const [request, { loading, data, errors }] = index_module.un();
18
+ const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.Xe();
19
19
  const userIdent = index_module.H();
20
20
  const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
21
- const urlParams = new URLSearchParams(index_module.hn.location.search);
21
+ const urlParams = new URLSearchParams(index_module.yn.location.search);
22
22
  const nextPage = urlParams.get("nextPage");
23
23
  const [success, setSuccess] = stencilHooks_module.useState(false);
24
24
  const [error, setError] = stencilHooks_module.useState("");
@@ -48,7 +48,7 @@ function usePortalEmailVerification(props) {
48
48
  const data = (await getVerificationStatus());
49
49
  if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
50
50
  clearInterval(timerRef.current);
51
- return index_module.hn.push({
51
+ return index_module.yn.push({
52
52
  pathname: props.redirectPath,
53
53
  search: urlParams.toString() && "?" + urlParams.toString(),
54
54
  });
@@ -155,6 +155,16 @@ const PortalEmailVerification = class {
155
155
  * @uiWidget textArea
156
156
  */
157
157
  this.verificationLoadingMessage = "Checking verification status";
158
+ /**
159
+ * @uiName Email verification resent text
160
+ * @uiWidget textArea
161
+ */
162
+ this.verificationResentMessage = "Your verification email has been resent successfully";
163
+ /**
164
+ * @uiName Network error message
165
+ * Displayed when your verification email fails to send due to a network error. The participant can try refreshing the page.
166
+ */
167
+ this.networkErrorMessage = "An error occurred while verifying your password. Please refresh the page.";
158
168
  stencilHooks_module.h$1(this);
159
169
  }
160
170
  disconnectedCallback() { }
@@ -178,6 +188,7 @@ function usePortalEmailVerificationDemo(props) {
178
188
  resendEmailButtonText: props.resendEmailButtonText,
179
189
  verificationLoadingMessage: props.verificationLoadingMessage,
180
190
  verificationStatusMessage: props.verificationStatusMessage,
191
+ verificationResentMessage: props.verificationResentMessage,
181
192
  },
182
193
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
183
194
  }
@@ -35,7 +35,7 @@ function PortalForgotPasswordView(props) {
35
35
  props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
36
36
  index.h("div", { part: "erroralert-text" }, props.states.error))),
37
37
  props.states.success && (index.h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
38
- index.h("div", { part: "successalert-text" }, "If an account with that email exists, a password reset email will be sent."))),
38
+ index.h("div", { part: "successalert-text" }, content.successAlertText))),
39
39
  index.h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
40
40
  index.h("div", { class: sheet.classes.ButtonsContainer },
41
41
  index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
@@ -3,21 +3,21 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ const index_module = require('./index.module-7c0deb52.js');
8
8
  const jsonpointer = require('./jsonpointer-11327262.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./mixins-fe9d4112.js');
11
11
  require('./JSS-8503a151.js');
12
12
  require('./sqm-text-span-view-e1cd9bd3.js');
13
- const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-0142350f.js');
13
+ const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-ca5f6db9.js');
14
14
 
15
15
  function usePortalForgotPassword(props) {
16
16
  var _a, _b, _c, _d, _e, _f, _g;
17
17
  const [success, setSuccess] = stencilHooks_module.useState(false);
18
18
  const [error, setError] = stencilHooks_module.useState("");
19
- const [request, { loading, data, errors }] = index_module.rn();
20
- const urlParams = new URLSearchParams(index_module.hn.location.search);
19
+ const [request, { loading, data, errors }] = index_module.an();
20
+ const urlParams = new URLSearchParams(index_module.yn.location.search);
21
21
  const nextPage = urlParams.get("nextPage");
22
22
  const submit = async (event) => {
23
23
  var _a;
@@ -33,7 +33,7 @@ function usePortalForgotPassword(props) {
33
33
  const result = await request(variables);
34
34
  if (result instanceof Error) {
35
35
  if (result.message)
36
- setError("Network request failed.");
36
+ setError(props.networkErrorMessage);
37
37
  return;
38
38
  }
39
39
  if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
@@ -86,9 +86,18 @@ const PortalForgotPassword = class {
86
86
  */
87
87
  this.headerText = "Enter your email below to receive a password reset link.";
88
88
  /**
89
- * Sign in link text
89
+ * @uiName Sign in link text
90
90
  */
91
91
  this.loginText = "Sign In";
92
+ /**
93
+ * @uiName Network error message
94
+ * Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
95
+ */
96
+ this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
97
+ /**
98
+ * @uiName Email verification sent text
99
+ */
100
+ this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
92
101
  stencilHooks_module.h$1(this);
93
102
  }
94
103
  disconnectedCallback() { }
@@ -97,10 +106,11 @@ const PortalForgotPassword = class {
97
106
  ? usePortalForgotPasswordDemo(this)
98
107
  : usePortalForgotPassword(this);
99
108
  const content = {
100
- secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.hn.push(states.loginPath) }, "Sign In"))),
101
- messageSlot: (index.h("slot", { name: "messageSlot" }, "Enter your email below to receive a password reset link.")),
109
+ secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.yn.push(states.loginPath) }, this.loginText))),
110
+ messageSlot: index.h("slot", { name: "messageSlot" }, this.headerText),
102
111
  emailLabel: this.emailLabel,
103
112
  submitLabel: this.submitLabel,
113
+ successAlertText: this.successAlertText,
104
114
  };
105
115
  return (index.h(sqmPortalForgotPasswordView.PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
106
116
  }
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ const index_module = require('./index.module-7c0deb52.js');
8
8
 
9
9
  function usePortalLogout({ nextPage }) {
10
10
  index_module.setUserIdentity(undefined);
11
- index_module.hn.push({ pathname: nextPage, search: "" });
11
+ index_module.yn.push({ pathname: nextPage, search: "" });
12
12
  }
13
13
 
14
14
  const PortalLogout = class {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const global = require('./global-6785de71.js');
4
+ const global = require('./global-a8fd1f10.js');
5
5
  const JSS = require('./JSS-8503a151.js');
6
6
  const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
7
7
 
@@ -65,16 +65,16 @@ function PortalProfileView(props) {
65
65
  index.h(sqmTextSpanView.TextSpanView, Object.assign({}, { type: "h2" }), text.editProfileSubHeader),
66
66
  index.h("form", { class: sheet.classes.FormStyle, onSubmit: callbacks.onSubmit },
67
67
  states.success && (index.h("sqm-form-message", { class: sheet.classes.Success, exportparts: "success-icon" },
68
- index.h("div", { part: "successalert-text" }, "Your profile has been successfully updated."))),
68
+ index.h("div", { part: "successalert-text" }, text.submissionSuccessText))),
69
69
  error && (index.h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
70
70
  index.h("div", { part: "erroralert-text" }, error))),
71
71
  index.h("div", { class: sheet.classes.NameInputContainer },
72
72
  index.h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
73
- ? { class: "ErrorStyles", helpText: "Cannot be empty" }
73
+ ? { class: "ErrorStyles", helpText: text.fieldEmptyText }
74
74
  : []), { id: "firstName", name: "firstName", error: (errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
75
75
  ? errors === null || errors === void 0 ? void 0 : errors.firstName.message : undefined })),
76
76
  index.h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
77
- ? { class: "ErrorStyles", helpText: "Cannot be empty" }
77
+ ? { class: "ErrorStyles", helpText: text.fieldEmptyText }
78
78
  : []), { error: (errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
79
79
  ? errors === null || errors === void 0 ? void 0 : errors.lastName.message : undefined }))),
80
80
  index.h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label", disabled: true }),
@@ -3,14 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- require('./global-6785de71.js');
8
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ require('./global-a8fd1f10.js');
8
+ const index_module = require('./index.module-7c0deb52.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./JSS-8503a151.js');
11
11
  const utils = require('./utils-6847bc06.js');
12
12
  require('./sqm-text-span-view-e1cd9bd3.js');
13
- const sqmPortalProfileView = require('./sqm-portal-profile-view-13a1229f.js');
13
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-f092a4ef.js');
14
+ const utilities = require('./utilities-d2d257c7.js');
14
15
 
15
16
  const GET_USER = index_module.dist.gql `
16
17
  query {
@@ -60,8 +61,8 @@ function usePortalProfile(props) {
60
61
  const [success, setSuccess] = stencilHooks_module.useState(false);
61
62
  const [userData, setUserData] = stencilHooks_module.useState(undefined);
62
63
  const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
63
- const userDataResponse = index_module.mn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
64
- const [upsertUser, upsertUserResponse] = index_module.Fe(UPSERT_USER);
64
+ const userDataResponse = index_module.gn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
65
+ const [upsertUser, upsertUserResponse] = index_module.Me(UPSERT_USER);
65
66
  stencilHooks_module.useEffect(() => {
66
67
  if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
67
68
  return;
@@ -100,7 +101,7 @@ function usePortalProfile(props) {
100
101
  if ((_a = upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors) === null || _a === void 0 ? void 0 : _a.message) {
101
102
  setFormState({
102
103
  ...(_b = userDataResponse.data) === null || _b === void 0 ? void 0 : _b.viewer,
103
- error: "Network request failed.",
104
+ error: props.networkRequestMessage,
104
105
  });
105
106
  }
106
107
  }, [upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors]);
@@ -118,15 +119,15 @@ function usePortalProfile(props) {
118
119
  }
119
120
  const errors = {};
120
121
  if (!formState.firstName) {
121
- errors["firstName"] = { message: "Field can't be empty" };
122
+ errors["firstName"] = { message: props.fieldEmptyText };
122
123
  }
123
124
  if (!formState.lastName) {
124
- errors["lastName"] = { message: "Field can't be empty" };
125
+ errors["lastName"] = { message: props.fieldEmptyText };
125
126
  }
126
- if (errors !== {}) {
127
+ if (!utilities.isEmpty(errors)) {
127
128
  setFormState((e) => ({
128
129
  ...e,
129
- error: "Please correct the errors below to update your profile.",
130
+ error: props.formErrorText,
130
131
  }));
131
132
  }
132
133
  setFormState((e) => ({ ...e, errors }));
@@ -195,6 +196,23 @@ const PortalProfile = class {
195
196
  * @uiName Hide country field
196
197
  */
197
198
  this.hideCountry = false;
199
+ /**
200
+ * @uiName Network request error message
201
+ * Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
202
+ */
203
+ this.networkRequestMessage = "An error occurred while loading this page. Please refresh the page.";
204
+ /**
205
+ * @uiName Field empty text
206
+ */
207
+ this.fieldEmptyText = "Field is required";
208
+ /**
209
+ * @uiName Form error message
210
+ */
211
+ this.formErrorText = "Please correct the errors below to update your profile.";
212
+ /**
213
+ * @uiName Submission success text
214
+ */
215
+ this.submissionSuccessText = "Your profile has been successfully updated.";
198
216
  stencilHooks_module.h$1(this);
199
217
  }
200
218
  disconnectedCallback() { }
@@ -228,6 +246,8 @@ function usePortalProfileDemo(props) {
228
246
  editProfileHeader: props.editProfileHeader,
229
247
  editProfileSubHeader: props.editProfileSubHeader,
230
248
  submitChangeButtonText: props.submitChangeButtonText,
249
+ submissionSuccessText: props.submissionSuccessText,
250
+ fieldEmptyText: props.fieldEmptyText,
231
251
  },
232
252
  formState: {
233
253
  country: "Canada",
@@ -3,26 +3,26 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
7
- const index_module = require('./index.module-02576958.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
+ const index_module = require('./index.module-7c0deb52.js');
8
8
 
9
9
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
10
10
  var _a;
11
11
  const userIdent = index_module.H();
12
12
  const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
13
13
  const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
14
- const { pathname, search } = index_module.vn();
14
+ const { pathname, search } = index_module.pn();
15
15
  const nextPageParam = new URLSearchParams();
16
16
  nextPageParam.append("nextPage", `${pathname}${search}`);
17
17
  stencilHooks_module.useEffect(() => {
18
18
  if (!authenticated) {
19
- return index_module.hn.push({
19
+ return index_module.yn.push({
20
20
  pathname: redirectTo,
21
21
  search: "?" + nextPageParam.toString(),
22
22
  });
23
23
  }
24
24
  if (requireEmailVerification && !emailVerified) {
25
- return index_module.hn.push({
25
+ return index_module.yn.push({
26
26
  pathname: redirectToUnverified || redirectTo,
27
27
  search: "?" + nextPageParam.toString(),
28
28
  });