@saasquatch/mint-components 1.6.2-2 → 1.6.2-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 (223) hide show
  1. package/dist/{esm/useValidationState-adb2b066.js → cjs/AsYouType-6788393a.js} +2 -10
  2. package/dist/cjs/{ShadowViewAddon-aa14c0c4.js → ShadowViewAddon-33ae7c4f.js} +13 -6
  3. package/dist/cjs/{global-5e3deef1.js → global-b3587dc9.js} +1 -1
  4. package/dist/cjs/{index.module-ffe1aa35.js → index.module-ff45cbf1.js} +2 -2
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/mint-components.cjs.js +3 -3
  7. package/dist/cjs/{re-render-8fee17a9.js → re-render-e5491a50.js} +1 -1
  8. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  9. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +19 -16
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  12. package/dist/cjs/{sqm-navigation-sidebar-item-view-9820193d.js → sqm-navigation-sidebar-item-view-e8f500f9.js} +1 -1
  13. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-password-field.cjs.entry.js +13 -7
  15. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  16. package/dist/cjs/{sqm-portal-email-verification-view-57fbd19b.js → sqm-portal-email-verification-view-dd27bba3.js} +1 -1
  17. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  18. package/dist/cjs/{sqm-portal-footer-view-eb757378.js → sqm-portal-footer-view-93f8ec0e.js} +1 -1
  19. package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
  21. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  22. package/dist/cjs/{sqm-portal-profile-view-7cb535a8.js → sqm-portal-profile-view-f9104d25.js} +1 -1
  23. package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
  24. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +77 -23
  26. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -2
  28. package/dist/cjs/sqm-qa-tabs.cjs.entry.js +2 -2
  29. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  32. package/dist/cjs/sqm-stencilbook.cjs.entry.js +11 -8
  33. package/dist/cjs/sqm-tabs.cjs.entry.js +2 -2
  34. package/dist/cjs/{useChildElements-a7a7b921.js → useChildElements-658fefa1.js} +1 -1
  35. package/dist/cjs/{useReferralTable-7e18f12e.js → useReferralTable-ae05b785.js} +3 -3
  36. package/dist/cjs/useRegistrationFormState-793a7958.js +23 -0
  37. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +9 -2
  38. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -1
  39. package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -0
  40. package/dist/collection/components/sqm-password-field/PasswordField.stories.js +3 -0
  41. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +7 -4
  42. package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -0
  43. package/dist/collection/components/sqm-password-field/usePasswordField.js +5 -2
  44. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +16 -9
  45. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +28 -1
  46. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +53 -11
  47. package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
  48. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +0 -1
  49. package/dist/{cjs/useValidationState-63f00763.js → esm/AsYouType-46f67d0d.js} +1 -15
  50. package/dist/esm/{ShadowViewAddon-3626a92b.js → ShadowViewAddon-7d94f9d6.js} +13 -6
  51. package/dist/esm/{global-0842e0e4.js → global-1e714a4d.js} +1 -1
  52. package/dist/esm/{index.module-96470dcf.js → index.module-9cd4623b.js} +2 -2
  53. package/dist/esm/loader.js +3 -3
  54. package/dist/esm/mint-components.js +3 -3
  55. package/dist/esm/{re-render-f444e556.js → re-render-d1b2a0de.js} +1 -1
  56. package/dist/esm/sqm-asset-card.entry.js +1 -1
  57. package/dist/esm/sqm-big-stat_35.entry.js +13 -10
  58. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  59. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  60. package/dist/esm/{sqm-navigation-sidebar-item-view-fb10e0c2.js → sqm-navigation-sidebar-item-view-7e6199c2.js} +1 -1
  61. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  62. package/dist/esm/sqm-password-field.entry.js +13 -7
  63. package/dist/esm/sqm-popup-container.entry.js +1 -1
  64. package/dist/esm/{sqm-portal-email-verification-view-f6daf315.js → sqm-portal-email-verification-view-ba08318b.js} +1 -1
  65. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  66. package/dist/esm/{sqm-portal-footer-view-42db3277.js → sqm-portal-footer-view-9bfd61b4.js} +1 -1
  67. package/dist/esm/sqm-portal-footer.entry.js +3 -3
  68. package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
  69. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  70. package/dist/esm/{sqm-portal-profile-view-dd2774b2.js → sqm-portal-profile-view-0f8dd14f.js} +1 -1
  71. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  72. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  73. package/dist/esm/sqm-portal-registration-form.entry.js +75 -21
  74. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  75. package/dist/esm/sqm-portal-verify-email.entry.js +1 -2
  76. package/dist/esm/sqm-qa-tabs.entry.js +2 -2
  77. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  78. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  79. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  80. package/dist/esm/sqm-stencilbook.entry.js +11 -8
  81. package/dist/esm/sqm-tabs.entry.js +2 -2
  82. package/dist/esm/{useChildElements-756c6a81.js → useChildElements-e1a1d3d1.js} +1 -1
  83. package/dist/esm/{useReferralTable-0a8ee3b7.js → useReferralTable-68c0823f.js} +3 -3
  84. package/dist/esm/useRegistrationFormState-699c3e59.js +18 -0
  85. package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
  86. package/dist/esm-es5/{ShadowViewAddon-3626a92b.js → ShadowViewAddon-7d94f9d6.js} +1 -1
  87. package/dist/esm-es5/{global-0842e0e4.js → global-1e714a4d.js} +1 -1
  88. package/dist/esm-es5/{index.module-96470dcf.js → index.module-9cd4623b.js} +1 -1
  89. package/dist/esm-es5/loader.js +1 -1
  90. package/dist/esm-es5/mint-components.js +1 -1
  91. package/dist/esm-es5/{re-render-f444e556.js → re-render-d1b2a0de.js} +1 -1
  92. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  93. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  94. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  95. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  96. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-fb10e0c2.js → sqm-navigation-sidebar-item-view-7e6199c2.js} +1 -1
  97. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  98. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  99. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  100. package/dist/esm-es5/{sqm-portal-email-verification-view-f6daf315.js → sqm-portal-email-verification-view-ba08318b.js} +1 -1
  101. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  102. package/dist/esm-es5/{sqm-portal-footer-view-42db3277.js → sqm-portal-footer-view-9bfd61b4.js} +1 -1
  103. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  104. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  105. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  106. package/dist/esm-es5/{sqm-portal-profile-view-dd2774b2.js → sqm-portal-profile-view-0f8dd14f.js} +1 -1
  107. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  108. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  109. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  110. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  111. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  112. package/dist/esm-es5/sqm-qa-tabs.entry.js +1 -1
  113. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  114. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  115. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  116. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  117. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  118. package/dist/esm-es5/{useChildElements-756c6a81.js → useChildElements-e1a1d3d1.js} +1 -1
  119. package/dist/esm-es5/{useReferralTable-0a8ee3b7.js → useReferralTable-68c0823f.js} +1 -1
  120. package/dist/esm-es5/useRegistrationFormState-699c3e59.js +1 -0
  121. package/dist/mint-components/mint-components.esm.js +1 -1
  122. package/dist/mint-components/mint-components.js +1 -1
  123. package/dist/mint-components/{p-33a8d572.entry.js → p-02e2eab4.entry.js} +1 -1
  124. package/dist/mint-components/{p-b5bfb818.system.js → p-07b33645.system.js} +1 -1
  125. package/dist/mint-components/{p-5d80f75a.entry.js → p-08401205.entry.js} +2 -2
  126. package/dist/mint-components/p-08fc37fd.system.entry.js +1 -0
  127. package/dist/mint-components/{p-3364ee29.system.entry.js → p-10fb0aae.system.entry.js} +1 -1
  128. package/dist/mint-components/{p-42994d5d.entry.js → p-1127f297.entry.js} +1 -1
  129. package/dist/mint-components/p-121cdc60.js +1 -0
  130. package/dist/mint-components/{p-7dff3e29.entry.js → p-17aae439.entry.js} +1 -1
  131. package/dist/mint-components/{p-5e6890eb.system.entry.js → p-190e24e4.system.entry.js} +1 -1
  132. package/dist/mint-components/{p-42133e0b.entry.js → p-1ea13deb.entry.js} +12 -12
  133. package/dist/mint-components/p-1fed6a09.entry.js +1 -0
  134. package/dist/mint-components/p-273b5c53.system.entry.js +1 -0
  135. package/dist/mint-components/{p-95f70cb1.js → p-2920efe6.js} +1 -1
  136. package/dist/mint-components/p-2ce5d3da.js +1 -0
  137. package/dist/mint-components/p-2d2f7abb.system.entry.js +1 -0
  138. package/dist/mint-components/{p-99830904.system.entry.js → p-2de1fadb.system.entry.js} +1 -1
  139. package/dist/mint-components/{p-80981da1.entry.js → p-32f481cb.entry.js} +1 -1
  140. package/dist/mint-components/{p-b1441d8e.system.entry.js → p-33910ee5.system.entry.js} +1 -1
  141. package/dist/mint-components/{p-61eeea9e.entry.js → p-36d50757.entry.js} +1 -1
  142. package/dist/mint-components/{p-e8acccb5.system.js → p-3fddd002.system.js} +1 -1
  143. package/dist/mint-components/{p-5a7f7362.system.js → p-40c4165b.system.js} +1 -1
  144. package/dist/mint-components/{p-2b2ed97b.entry.js → p-4f10205f.entry.js} +1 -1
  145. package/dist/mint-components/{p-c2aecbd1.js → p-4f965abe.js} +2 -2
  146. package/dist/mint-components/{p-ffe8c6ce.system.entry.js → p-4fdd8b02.system.entry.js} +1 -1
  147. package/dist/mint-components/{p-2ec62a9b.system.entry.js → p-5337c953.system.entry.js} +1 -1
  148. package/dist/mint-components/p-56bf2c06.system.js +1 -0
  149. package/dist/mint-components/p-5c347c93.system.entry.js +1 -0
  150. package/dist/mint-components/{p-57b7a680.entry.js → p-5c7c925e.entry.js} +1 -1
  151. package/dist/mint-components/{p-d5e12393.system.entry.js → p-5d7de7cd.system.entry.js} +1 -1
  152. package/dist/mint-components/p-5ef24d6c.system.entry.js +1 -0
  153. package/dist/mint-components/p-69871506.js +1 -0
  154. package/dist/mint-components/{p-958d913e.js → p-6c05b2d3.js} +1 -1
  155. package/dist/mint-components/{p-f9056e14.system.js → p-7536759d.system.js} +1 -1
  156. package/dist/mint-components/{p-f2bd9120.system.entry.js → p-75e425fa.system.entry.js} +1 -1
  157. package/dist/mint-components/{p-19dfb893.system.entry.js → p-771b778b.system.entry.js} +1 -1
  158. package/dist/mint-components/{p-092d030a.system.js → p-78c568dc.system.js} +1 -1
  159. package/dist/mint-components/{p-8390e33e.system.entry.js → p-7eb9955b.system.entry.js} +1 -1
  160. package/dist/mint-components/{p-09551f97.entry.js → p-91cde020.entry.js} +1 -1
  161. package/dist/mint-components/p-92e8b7b5.entry.js +1 -0
  162. package/dist/mint-components/p-9d362d44.system.js +1 -0
  163. package/dist/mint-components/{p-b02064c4.system.js → p-9dd68a9c.system.js} +1 -1
  164. package/dist/mint-components/{p-4a0ef2d3.entry.js → p-a16556fd.entry.js} +1 -1
  165. package/dist/mint-components/{p-bf298e68.js → p-a63204e2.js} +1 -1
  166. package/dist/mint-components/{p-ea1b0e1c.js → p-a6bfbb4e.js} +2 -2
  167. package/dist/mint-components/{p-e6eedd9e.js → p-a750f034.js} +1 -1
  168. package/dist/mint-components/p-a963e9d5.entry.js +9 -0
  169. package/dist/mint-components/p-ab7ae098.system.js +1 -0
  170. package/dist/mint-components/{p-19266514.js → p-abc426c4.js} +1 -1
  171. package/dist/mint-components/p-abffc249.entry.js +13 -0
  172. package/dist/mint-components/p-ad67b111.system.entry.js +1 -0
  173. package/dist/mint-components/{p-380c3d58.system.entry.js → p-b5faa04d.system.entry.js} +1 -1
  174. package/dist/mint-components/{p-51dd860c.system.entry.js → p-b7fc1ee1.system.entry.js} +1 -1
  175. package/dist/mint-components/p-b96505f5.entry.js +1 -0
  176. package/dist/mint-components/{p-49e61dc4.entry.js → p-ba09e62f.entry.js} +1 -1
  177. package/dist/mint-components/{p-0b838d31.entry.js → p-c911a062.entry.js} +1 -1
  178. package/dist/mint-components/{p-3c7b3831.entry.js → p-cbb61c41.entry.js} +1 -1
  179. package/dist/mint-components/{p-5da081c3.entry.js → p-cdf2914a.entry.js} +1 -1
  180. package/dist/mint-components/{p-8c1348dc.system.js → p-ce5a3693.system.js} +1 -1
  181. package/dist/mint-components/{p-577299fe.system.entry.js → p-cf279181.system.entry.js} +1 -1
  182. package/dist/mint-components/{p-1b962e50.system.js → p-d1712ae1.system.js} +1 -1
  183. package/dist/mint-components/p-de4f0622.entry.js +1 -0
  184. package/dist/mint-components/{p-2c4da197.entry.js → p-e28f4762.entry.js} +1 -1
  185. package/dist/mint-components/{p-8dfe5873.system.entry.js → p-e9fa325e.system.entry.js} +1 -1
  186. package/dist/mint-components/p-ec18b601.system.js +1 -0
  187. package/dist/mint-components/{p-d1e6d105.system.entry.js → p-ecf7bfc7.system.entry.js} +1 -1
  188. package/dist/mint-components/{p-bd32d6f4.js → p-ee0c06b3.js} +1 -1
  189. package/dist/mint-components/{p-23485cfe.system.js → p-efbc0ee0.system.js} +1 -1
  190. package/dist/mint-components/p-fc8800c0.js +1 -0
  191. package/dist/mint-components/{p-1bd5cd35.system.entry.js → p-fdc7e95e.system.entry.js} +1 -1
  192. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -0
  193. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -0
  194. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -0
  195. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +2 -0
  196. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +2 -0
  197. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +6 -0
  198. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +2 -0
  199. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +23 -0
  200. package/dist/types/components.d.ts +10 -0
  201. package/docs/docs.docx +0 -0
  202. package/docs/raisins.json +1 -1
  203. package/grapesjs/grapesjs.js +1 -1
  204. package/package.json +2 -2
  205. package/dist/esm-es5/useValidationState-adb2b066.js +0 -1
  206. package/dist/mint-components/p-0777ac5b.entry.js +0 -9
  207. package/dist/mint-components/p-0b7ec490.entry.js +0 -1
  208. package/dist/mint-components/p-14e28fcc.entry.js +0 -1
  209. package/dist/mint-components/p-1ff7ee8a.entry.js +0 -1
  210. package/dist/mint-components/p-22b45a04.system.entry.js +0 -1
  211. package/dist/mint-components/p-27aac88b.system.entry.js +0 -1
  212. package/dist/mint-components/p-27ed7b95.js +0 -1
  213. package/dist/mint-components/p-2809a9c7.system.entry.js +0 -1
  214. package/dist/mint-components/p-42d3eb3e.system.js +0 -1
  215. package/dist/mint-components/p-5660e578.system.js +0 -1
  216. package/dist/mint-components/p-90bd03bb.entry.js +0 -1
  217. package/dist/mint-components/p-9bb39058.system.entry.js +0 -1
  218. package/dist/mint-components/p-9ef39196.system.entry.js +0 -1
  219. package/dist/mint-components/p-a4fa8ba2.system.js +0 -1
  220. package/dist/mint-components/p-a9d7eb10.js +0 -1
  221. package/dist/mint-components/p-b17b4a61.system.entry.js +0 -1
  222. package/dist/mint-components/p-c8e8aab7.js +0 -1
  223. package/dist/mint-components/p-daf8de5c.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as e,h as r,c as s}from"./p-64c3217a.js";import{m as t}from"./p-78c7b4b7.js";import"./p-cdabe7a8.js";import"./p-bf298e68.js";import"./p-81f34787.js";import{a as o}from"./p-e6eedd9e.js";const a=class{constructor(r){e(this,r),this.columnTitle="Note",t(this)}disconnectedCallback(){}async renderCell(e,s){var t;return r("sqm-rewards-table-customer-note-cell",{note:null===(t=null==e?void 0:e.meta)||void 0===t?void 0:t.message,locale:s})}async renderLabel(){return this.columnTitle}render(){return o([this.columnTitle]),r(s,{style:{display:"none"}})}};export{a as sqm_rewards_table_customer_note_column}
@@ -1 +0,0 @@
1
- import{h as t,r as s}from"./p-64c3217a.js";import{o as n,i,m as e}from"./p-78c7b4b7.js";import"./p-cdabe7a8.js";import{L as r}from"./p-bf298e68.js";import"./p-81f34787.js";import{c as a}from"./p-c1086930.js";import{E as l}from"./p-02be1a88.js";import{c as o}from"./p-d8876d3f.js";var c="(\\d.*)",u="([a-zA-Z].*)",h="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",d="([\\s].*)";function p(t,s){if(s&&s>1){const n=parseInt(s,10);return new RegExp(t+"{"+n+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var m={not:function(t){return this.positive=!1,!t||p.call(this,t)},has:function(t){return this.positive=!0,!t||p.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return p.call(this,c,t)},letters:function(t){return p.call(this,u,t)},uppercase:function(t){if(t&&t>1){let s=0,n=0;for(;n<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&n++,s++}return n===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,n=0;for(;n<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&n++,s++}return n===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return p.call(this,h,t)},spaces:function(t){return p.call(this,d,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},v="Length should be a valid positive number";function f(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(v)}function g(t){return m[t.method].apply(this,t.arguments)}function b(t,s){return this.properties.push({method:t,arguments:s}),this}const w=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>g.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(g.bind(this))}letters(t){return t&&f(t),b.call(this,"letters",arguments)}digits(t){return t&&f(t),b.call(this,"digits",arguments)}symbols(t){return t&&f(t),b.call(this,"symbols",arguments)}min(t){return f(t),b.call(this,"min",arguments)}max(t){return f(t),b.call(this,"max",arguments)}lowercase(t){return t&&f(t),b.call(this,"lowercase",arguments)}uppercase(t){return t&&f(t),b.call(this,"uppercase",arguments)}spaces(t){return t&&f(t),b.call(this,"spaces",arguments)}has(){return b.call(this,"has",arguments)}not(){return b.call(this,"not",arguments)}is(){return b.call(this,"is",arguments)}oneOf(){return b.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),y=t=>{const s=w.validate(t,{list:!0});return V(s,t)},x=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("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"})),C=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("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"})),L={min:"be a minimum of 8 characters",uppercase:"contain at least 1 uppercase character",lowercase:"contain at least 1 lowercase character",has:"contain at least 1 number or symbol"},j={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},I=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...j,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...j}}),E=I.toString(),V=(s,n)=>!s.length&&n?t("div",{class:I.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},E),t(x,null)," ",t("span",null,"Password has met all requirements")):t("div",{class:I.classes.Base},t("style",{type:"text/css"},E),"Password must meet the following requirements:",t("ul",{class:I.classes.ValidationList},Object.keys(L).map((n=>s.includes(n)?t("li",{class:I.classes.ValidationItemInvalid},t(C,null)," ",t("span",null,L[n])):t("li",{class:I.classes.ValidationItemValid},t(x,null)," ",t("span",null,L[n])))))),k=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:l}),M=k.toString();function Z(s){var n,i;const{states:e,callbacks:r}=s;return t("div",{class:k.classes.InputContainer},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",M),t("sl-input",Object.assign({exportparts:"label: input-label",type:"password",name:"/password",label:e.content.fieldLabel||"Password",required:!0,validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(n=e.validationErrors)||void 0===n?void 0:n.password)?{class:k.classes.ErrorStyle,helpText:(null===(i=e.validationErrors)||void 0===i?void 0:i.password)||"Cannot be empty"}:[],{onInput:t=>e.enableValidation&&r.onInput(t)})),e.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.enableValidation=!0,e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,n,e,r,l,o,c;const[u,h]=i(""),[d,p]=i("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=y((null===(n=null==t?void 0:t.demoData)||void 0===n?void 0:n.initValue)||"");h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return a({states:{enableValidation:!0,dynamicValidation:u,validationErrors:(null===(o=null===(l=null==t?void 0:t.demoData)||void 0===l?void 0:l.states)||void 0===o?void 0:o.validationErrors)||{},content:{fieldLabel:"Password"}},callbacks:{onInput:function(t){const s=y(t.target.value);h(s)}}},(null===(c=null==t?void 0:t.demoData)||void 0===c?void 0:c.states)||{},{arrayMerge:(t,s)=>s})}(this):function(t){const s=n("sq:validation-state"),[e,r]=i("");return{states:{enableValidation:t.enableValidation,dynamicValidation:e,validationErrors:null==s?void 0:s.validationErrors,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(t){const s=y(t.target.value);r(s)}}}}(this);return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
@@ -1 +0,0 @@
1
- import{h as t,r as o}from"./p-64c3217a.js";import{j as s,e as i,m as a}from"./p-78c7b4b7.js";import{u as e}from"./p-cdabe7a8.js";import{W as r,I as l,L as n}from"./p-bf298e68.js";import"./p-81f34787.js";import{j as d}from"./p-e7e129ac.js";import{c as u}from"./p-c1086930.js";import{A as m,a as c,H as p,b as v,E as b}from"./p-02be1a88.js";import{c as f}from"./p-d8876d3f.js";import{T as h}from"./p-210cd41b.js";import{u as y,A as w}from"./p-a9d7eb10.js";const g=f({Wrapper:{...m,"max-width":"600px"},Column:c,HostBlock:p,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:v,ErrorStyle:b}),j=g.toString();function k(o){var s,i,a,e,r,l,n,d;const{states:u,refs:m,callbacks:c,content:p}=o;return u.error&&window.scrollTo({top:0,left:0,behavior:"smooth"}),t("div",{class:g.classes.Wrapper},t("style",{type:"text/css"},"\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n",j),t(h,{type:"h3"},p.pageLabel),t("sl-form",{class:g.classes.Column,"onSl-submit":c.submit,ref:t=>m.formRef.current=t,novalidate:!0},u.error&&t("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},t("div",{part:"erroralert-text"},o.states.error)),p.formData,!u.hideInputs&&t("sl-input",Object.assign({exportparts:"label: input-label",type:"email",name:"/email",label:p.emailLabel||"Email",disabled:u.loading,required:!0,validationError:({value:t})=>t?t.includes("@")?void 0:"Must be a valid email address":"Cannot be empty"},(null===(i=null===(s=u.validationState)||void 0===s?void 0:s.validationErrors)||void 0===i?void 0:i.email)?{class:g.classes.ErrorStyle,helpText:(null===(e=null===(a=u.validationState)||void 0===a?void 0:a.validationErrors)||void 0===e?void 0:e.email)||"Cannot be empty"}:[])),!u.hideInputs&&t("sqm-password-field",{fieldLabel:p.passwordLabel,"enable-validation":u.enablePasswordValidation}),p.passwordField,!u.hideInputs&&u.confirmPassword&&t("sl-input",Object.assign({exportparts:"label: input-label",type:"password",name:"/confirmPassword",label:p.confirmPasswordLabel,disabled:u.loading,required:!0},(null===(l=null===(r=u.validationState)||void 0===r?void 0:r.validationErrors)||void 0===l?void 0:l.confirmPassword)?{class:g.classes.ErrorStyle,helpText:(null===(d=null===(n=u.validationState)||void 0===n?void 0:n.validationErrors)||void 0===d?void 0:d.confirmPassword)||"Cannot be empty"}:[])),p.terms,t("div",{class:g.classes.ButtonsContainer},t("sl-button",{submit:!0,loading:u.loading,exportparts:"base: primarybutton-base",type:"primary"},p.submitLabel||"Register"),p.secondaryButton)))}const x=class{constructor(t){o(this,t),this.ignored=!0,this.nextPage="/",this.redirectPath="/verifyEmail",this.emailLabel="Email",this.passwordLabel="Password",this.submitLabel="Register",this.loginLabel="Sign in",this.confirmPasswordLabel="Confirm Password",this.confirmPassword=!1,this.enablePasswordValidation=!0,this.hideInputs=!1,this.pageLabel="Register",this.loginPath="/login",a(this)}disconnectedCallback(){}render(){const{states:o,callbacks:a,refs:m}=n()?u({states:{error:"",loading:!1,confirmPassword:!0,hideInputs:this.hideInputs||!1,customPasswordField:!1,loginPath:"/login"},callbacks:{submit:async()=>{console.log("submit")},inputFunction:()=>{}},refs:{formRef:{}}},this.demoData||{},{arrayMerge:(t,o)=>o}):function(t){var o,a,n,u,m,c,p,v,b;const f=s(null),{validationState:h,setValidationState:g}=y({}),[j,{loading:k,errors:x,data:P,formError:C}]=r(),q=e((t=>{var o,s;if("tel"!==(null===(s=null===(o=t.target)||void 0===o?void 0:o.type)||void 0===s?void 0:s.toLowerCase()))return;const i=new w("US");t.target.value=i.input(t.target.value)}),[]);i((()=>{var o;const s=null===(o=null==P?void 0:P.submitForm)||void 0===o?void 0:o.results.find((t=>"identity"===t.formHandler.namespace));s&&s.result.results.length&&s.result.results[0].success&&s.result.results[0].data.token&&l.push(t.nextPage)}),[null==P?void 0:P.submitForm]),i((()=>{if(!f.current)return;const t=f.current;return t.addEventListener("sl-input",q),()=>{t.removeEventListener("sl-input",q)}}),[f.current]);let E="";return E=(null===(o=null==x?void 0:x.response)||void 0===o?void 0:o.error)||(null==x?void 0:x.message)&&!(null===(a=null==x?void 0:x.response)||void 0===a?void 0:a.errors.length)?"Network request failed":C||(null===(c=null===(m=null===(u=null===(n=null==x?void 0:x.response)||void 0===n?void 0:n.errors)||void 0===u?void 0:u[0])||void 0===m?void 0:m.extensions)||void 0===c?void 0:c.message)||(null===(b=null===(v=null===(p=null==x?void 0:x.response)||void 0===p?void 0:p.errors)||void 0===v?void 0:v[0])||void 0===b?void 0:b.message)||(null==h?void 0:h.error),{states:{loading:k,error:E,validationState:h,confirmPassword:t.confirmPassword,hideInputs:t.hideInputs,loginPath:t.loginPath},callbacks:{submit:async o=>{let s=o.target.getFormControls(),i={},a={};if(null==s||s.forEach((t=>{if(!t.name)return;const o=t.name,s=t.value;if(d.set(i,o,s),t.required&&!s&&d.set(a,o,"Cannot be empty"),"function"==typeof t.validationError){const i=(0,t.validationError)({control:t,key:o,value:s});i&&d.set(a,o,i)}})),(t.confirmPassword||i.confirmPassword)&&i.password!==i.confirmPassword&&(a={...a,confirmPassword:"Passwords do not match."}),g({error:"",validationErrors:a}),Object.keys(a).length)return;const{email:e,password:r}=i;delete i.email,delete i.password,delete i.confirmPassword,i={...i};const l={email:e,password:r,formData:i,redirectPath:t.redirectPath};try{await j(l)}catch(t){g({error:"Network request failed."})}},inputFunction:q},refs:{formRef:f}}}(this);const c={formData:t("slot",{name:"formData"}),secondaryButton:t("slot",{name:"secondaryButton"},t("sl-button",{type:"text",disabled:o.loading,onClick:()=>l.push(o.loginPath)},this.loginLabel)),terms:t("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel};return t(k,{states:o,callbacks:a,content:c,refs:m})}};export{x as sqm_portal_registration_form}
@@ -1 +0,0 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var e in s)if(Object.prototype.hasOwnProperty.call(s,e))t[e]=s[e]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-8a0cf4be.system.js","./p-ca2819e8.system.js","./p-23485cfe.system.js","./p-1c17892a.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-d5d32d0d.system.js"],(function(t){"use strict";var s,i,n,e,a,r,o,l,u;return{setters:[function(t){s=t.h;i=t.r},function(t){n=t.o;e=t.i;a=t.m},function(){},function(t){r=t.L},function(){},function(t){o=t.c},function(t){l=t.E},function(t){u=t.c}],execute:function(){var c={error:{length:"Length should be a valid positive number",password:"Password should be a valid string"},regex:{digits:"(\\d.*)",letters:"([a-zA-Z].*)",symbols:"([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",spaces:"([\\s].*)"}};var d=c.regex;function p(t,s){if(s&&s>1){var i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var v={not:function t(s){this.positive=false;if(s){return p.call(this,s)}return true},has:function t(s){this.positive=true;if(s){return p.call(this,s)}return true},is:function t(){this.positive=true;return true},min:function t(s){return this.password.length>=s},max:function t(s){return this.password.length<=s},digits:function t(s){return p.call(this,d.digits,s)},letters:function t(s){return p.call(this,d.letters,s)},uppercase:function t(s){if(s&&s>1){var i=0;var n=0;while(n<s&&i<this.password.length){var e=this.password.charAt(i);if(e!==e.toLowerCase()){n++}i++}return n===s===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function t(s){if(s&&s>1){var i=0;var n=0;while(n<s&&i<this.password.length){var e=this.password.charAt(i);if(e!==e.toUpperCase()){n++}i++}return n===s===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function t(s){return p.call(this,d.symbols,s)},spaces:function t(s){return p.call(this,d.spaces,s)},oneOf:function t(s){return s.indexOf(this.password)>=0===this.positive}};var h=c.error;function f(t){var s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1){throw new Error(h.length)}}function m(t){return v[t.method].apply(this,t.arguments)}function g(t,s){this.properties.push({method:t,arguments:s});return this}var y=function(){function t(){this.properties=[]}t.prototype.validate=function(t,s){var i=this;this.list=Boolean(s&&s.list);this.password=String(t);this.positive=true;if(this.list){return this.properties.reduce((function(t,s){if(!m.call(i,s)){return t.concat(s.method)}return t}),[])}return this.properties.every(m.bind(this))};t.prototype.letters=function(t){t&&f(t);return g.call(this,"letters",arguments)};t.prototype.digits=function(t){t&&f(t);return g.call(this,"digits",arguments)};t.prototype.symbols=function(t){t&&f(t);return g.call(this,"symbols",arguments)};t.prototype.min=function(t){f(t);return g.call(this,"min",arguments)};t.prototype.max=function(t){f(t);return g.call(this,"max",arguments)};t.prototype.lowercase=function(t){t&&f(t);return g.call(this,"lowercase",arguments)};t.prototype.uppercase=function(t){t&&f(t);return g.call(this,"uppercase",arguments)};t.prototype.spaces=function(t){t&&f(t);return g.call(this,"spaces",arguments)};t.prototype.has=function(){return g.call(this,"has",arguments)};t.prototype.not=function(){return g.call(this,"not",arguments)};t.prototype.is=function(){return g.call(this,"is",arguments)};t.prototype.oneOf=function(){return g.call(this,"oneOf",arguments)};return t}();var w=y;var b=(new w).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/);var x=function(t){var s=b.validate(t,{list:true});var i=O(s,t);return i};var L=function(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},s("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"}))};var V=function(){return s("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s("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"}))};var C={min:"be a minimum of 8 characters",uppercase:"contain at least 1 uppercase character",lowercase:"contain at least 1 lowercase character",has:"contain at least 1 number or symbol"};var _={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}};var I={Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:__assign(__assign({},_),{color:"var(--sl-color-success-600)"}),ValidationItemInvalid:__assign({},_)};var E=u(I);var j=E.toString();var O=function(t,i){if(!t.length&&i)return s("div",{class:E.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},s("style",{type:"text/css"},j),s(L,null)," ",s("span",null,"Password has met all requirements"));return s("div",{class:E.classes.Base},s("style",{type:"text/css"},j),"Password must meet the following requirements:",s("ul",{class:E.classes.ValidationList},Object.keys(C).map((function(i){return t.includes(i)?s("li",{class:E.classes.ValidationItemInvalid},s(V,null)," ",s("span",null,C[i])):s("li",{class:E.classes.ValidationItemValid},s(L,null)," ",s("span",null,C[i]))}))))};var k={InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:l};var S="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var D=u(k);var P=D.toString();function B(t){var i,n;var e=t.states,a=t.callbacks;return s("div",{class:D.classes.InputContainer},s("style",{type:"text/css"},S,P),s("sl-input",Object.assign({exportparts:"label: input-label",type:"password",name:"/password",label:e.content.fieldLabel||"Password",required:true,validationError:function(t){var s=t.value;if(!s){return"Cannot be empty"}}},((i=e.validationErrors)===null||i===void 0?void 0:i.password)?{class:D.classes.ErrorStyle,helpText:((n=e.validationErrors)===null||n===void 0?void 0:n.password)||"Cannot be empty"}:[],{onInput:function(t){return e.enableValidation&&a.onInput(t)}})),e.dynamicValidation)}var M="sq:validation-state";function Z(t){var s=n(M);var i=e(""),a=i[0],r=i[1];function o(t){var s=x(t.target.value);r(s)}return{states:{enableValidation:t.enableValidation,dynamicValidation:a,validationErrors:s===null||s===void 0?void 0:s.validationErrors,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:o}}}var q=t("sqm_password_field",function(){function t(t){i(this,t);this.ignored=true;this.fieldLabel="Password";this.enableValidation=true;a(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=r()?z(this):Z(this),i=t.states,n=t.callbacks;return s(B,{states:i,callbacks:n})};return t}());function z(t){var s,i,n,a,r,l,u;var c=e(""),d=c[0],p=c[1];var v=e(""),h=v[0],f=v[1];if(t.demoData&&h!=((s=t===null||t===void 0?void 0:t.demoData)===null||s===void 0?void 0:s.initValue)){var m=x(((i=t===null||t===void 0?void 0:t.demoData)===null||i===void 0?void 0:i.initValue)||"");p(((n=t===null||t===void 0?void 0:t.demoData)===null||n===void 0?void 0:n.initValue)===""?"":m);f((a=t===null||t===void 0?void 0:t.demoData)===null||a===void 0?void 0:a.initValue)}function g(t){var s=x(t.target.value);p(s)}return o({states:{enableValidation:true,dynamicValidation:d,validationErrors:((l=(r=t===null||t===void 0?void 0:t.demoData)===null||r===void 0?void 0:r.states)===null||l===void 0?void 0:l.validationErrors)||{},content:{fieldLabel:"Password"}},callbacks:{onInput:g}},((u=t===null||t===void 0?void 0:t.demoData)===null||u===void 0?void 0:u.states)||{},{arrayMerge:function(t,s){return s}})}}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-8a0cf4be.system.js","./p-ca2819e8.system.js","./p-23485cfe.system.js","./p-1c17892a.system.js"],(function(t){"use strict";var n,e,s,c,i;return{setters:[function(t){n=t.r},function(t){e=t.m},function(){},function(t){s=t.t;c=t.I;i=t.L},function(){}],execute:function(){function o(t){var n=t.nextPage;s(undefined);c.push({pathname:n,search:""})}var u=t("sqm_portal_logout",function(){function t(t){n(this,t);this.ignored=true;this.nextPage="/";e(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){i()?r():o(this)};return t}());function r(t){}}}}));
@@ -1 +0,0 @@
1
- import{h as s}from"./p-64c3217a.js";import{i as e}from"./p-bd32d6f4.js";import{A as t,a as r}from"./p-02be1a88.js";import{c as a}from"./p-d8876d3f.js";import{T as o}from"./p-210cd41b.js";const i=a({Wrapper:t,Column:{...r}}),n=i.toString();function p(t){const{states:r,callbacks:a,content:{email:p,verifyMessage:l,emailVerificationHeader:m,resendEmailButtonText:c}}=t;return s("div",{class:i.classes.Wrapper},s("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",n),s(o,{type:"h3"},m),s("sl-form",{class:i.classes.Column,"onSl-submit":a.submit},t.states.error&&s("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},s("div",{part:"erroralert-text"},t.states.error)),t.states.success&&s("sqm-form-message",{type:"success",exportparts:"successalert-icon"},s("div",{part:"successalert-text"},"Your verification email has been resent successfully")),s(o,{type:"p"},e.formatMessage({id:"verifyMessage",defaultMessage:l},{email:s("span",{style:{fontWeight:"var(--sl-font-weight-semibold)"}},p)})),s("sl-button",{submit:!0,loading:r.loading,exportparts:"base: primarybutton-base",type:"primary"},c)))}export{p as P}