@saasquatch/mint-components 1.12.1-0 → 1.12.1-2

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 (249) hide show
  1. package/dist/cjs/{ShadowViewAddon-c3e91cee.js → ShadowViewAddon-88821c64.js} +19 -19
  2. package/dist/cjs/{global-02e50f09.js → global-c3637175.js} +2 -2
  3. package/dist/cjs/{index.module-df530553.js → index.module-b8d9d0ba.js} +55 -18
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/mint-components.cjs.js +2 -2
  6. package/dist/cjs/{re-render-1976e05e.js → re-render-5bde3d2e.js} +4 -4
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +61 -61
  9. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +60 -60
  10. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
  12. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
  14. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  15. package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-a9133a11.js} +1 -1
  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-a125ec5f.js → sqm-navigation-sidebar-item-view-a2135064.js} +2 -2
  19. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
  23. package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-050dbe0f.js} +1 -1
  24. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
  25. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  26. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  27. package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-d97086bc.js} +1 -1
  28. package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
  29. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +13 -7
  31. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
  32. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
  33. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  34. package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
  35. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  36. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
  37. package/dist/cjs/sqm-stencilbook.cjs.entry.js +45 -45
  38. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  40. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-410d2435.js} +2 -2
  41. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-ccf81eae.js} +3 -3
  42. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-824ac152.js} +9 -9
  43. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-f9ce55be.js} +2 -2
  44. package/dist/cjs/{utilities-cec9dd36.js → utilities-f7de6c04.js} +1 -1
  45. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +4 -4
  46. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +6 -0
  47. package/dist/esm/{ShadowViewAddon-e012b2aa.js → ShadowViewAddon-65c8679e.js} +19 -19
  48. package/dist/esm/{global-04c7d3b5.js → global-6306a9b8.js} +2 -2
  49. package/dist/esm/{index.module-def4aec5.js → index.module-6c840c4e.js} +40 -3
  50. package/dist/esm/loader.js +2 -2
  51. package/dist/esm/mint-components.js +2 -2
  52. package/dist/esm/{re-render-12fd274a.js → re-render-1bcfd0de.js} +4 -4
  53. package/dist/esm/sqm-asset-card.entry.js +1 -1
  54. package/dist/esm/sqm-banking-info-form_16.entry.js +61 -61
  55. package/dist/esm/sqm-big-stat_39.entry.js +60 -60
  56. package/dist/esm/sqm-close-button.entry.js +1 -1
  57. package/dist/esm/sqm-context-router.entry.js +2 -2
  58. package/dist/esm/sqm-empty_4.entry.js +2 -2
  59. package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
  60. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  61. package/dist/esm/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-71915a5e.js} +1 -1
  62. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  63. package/dist/esm/sqm-logout-current-user.entry.js +3 -3
  64. package/dist/esm/{sqm-navigation-sidebar-item-view-60ef06cc.js → sqm-navigation-sidebar-item-view-f8e78810.js} +2 -2
  65. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  66. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
  67. package/dist/esm/sqm-password-field.entry.js +2 -2
  68. package/dist/esm/sqm-popup-container.entry.js +4 -4
  69. package/dist/esm/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  70. package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
  71. package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
  72. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  73. package/dist/esm/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  74. package/dist/esm/sqm-portal-profile.entry.js +7 -7
  75. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  76. package/dist/esm/sqm-portal-registration-form.entry.js +13 -7
  77. package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
  78. package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
  79. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  80. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  81. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  82. package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
  83. package/dist/esm/sqm-stencilbook.entry.js +45 -45
  84. package/dist/esm/sqm-tab.entry.js +2 -2
  85. package/dist/esm/sqm-tabs.entry.js +4 -4
  86. package/dist/esm/{useChildElements-32e1bda1.js → useChildElements-fc84e640.js} +2 -2
  87. package/dist/esm/{useInstantAccessRegistration-46b89952.js → useInstantAccessRegistration-8b0a4556.js} +3 -3
  88. package/dist/esm/{useReferralTable-f4de0650.js → useReferralTable-f6ffa103.js} +9 -9
  89. package/dist/esm/{useRegistrationFormState-9fc1ac80.js → useRegistrationFormState-849e27f7.js} +2 -2
  90. package/dist/esm/{utilities-3f5bba22.js → utilities-443732be.js} +1 -1
  91. package/dist/esm-es5/ShadowViewAddon-65c8679e.js +1 -0
  92. package/dist/esm-es5/{global-04c7d3b5.js → global-6306a9b8.js} +2 -2
  93. package/dist/esm-es5/index.module-6c840c4e.js +1 -0
  94. package/dist/esm-es5/loader.js +1 -1
  95. package/dist/esm-es5/mint-components.js +1 -1
  96. package/dist/esm-es5/{re-render-12fd274a.js → re-render-1bcfd0de.js} +1 -1
  97. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  98. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  99. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  100. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  101. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  102. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  103. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  104. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  105. package/dist/esm-es5/{sqm-invoice-table-view-6e13a323.js → sqm-invoice-table-view-71915a5e.js} +1 -1
  106. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  107. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  108. package/dist/esm-es5/sqm-navigation-sidebar-item-view-f8e78810.js +1 -0
  109. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  110. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  111. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  112. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  113. package/dist/esm-es5/{sqm-portal-email-verification-view-4307c992.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  114. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  115. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  116. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  117. package/dist/esm-es5/{sqm-portal-profile-view-ffe955c8.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  118. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  119. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  120. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  121. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  122. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  123. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  124. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  125. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  126. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  127. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  128. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  129. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  130. package/dist/esm-es5/{useChildElements-32e1bda1.js → useChildElements-fc84e640.js} +1 -1
  131. package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +1 -0
  132. package/dist/esm-es5/{useReferralTable-f4de0650.js → useReferralTable-f6ffa103.js} +1 -1
  133. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
  134. package/dist/esm-es5/{utilities-3f5bba22.js → utilities-443732be.js} +1 -1
  135. package/dist/mint-components/mint-components.esm.js +1 -1
  136. package/dist/mint-components/mint-components.js +1 -1
  137. package/dist/mint-components/{p-61eab172.js → p-0121e044.js} +1 -1
  138. package/dist/mint-components/{p-137ea86e.entry.js → p-012daf3c.entry.js} +1 -1
  139. package/dist/mint-components/{p-a9050eb0.entry.js → p-03dbe2ce.entry.js} +1 -1
  140. package/dist/mint-components/{p-41a11a7f.js → p-04348a9b.js} +1 -1
  141. package/dist/mint-components/{p-af062c8f.system.entry.js → p-04ced592.system.entry.js} +1 -1
  142. package/dist/mint-components/{p-58ef25d3.system.entry.js → p-0527d90b.system.entry.js} +1 -1
  143. package/dist/mint-components/{p-7049e9b0.entry.js → p-0893073b.entry.js} +1 -1
  144. package/dist/mint-components/p-0c9ad5f3.system.entry.js +1 -0
  145. package/dist/mint-components/{p-0b9fa97f.js → p-11d1b212.js} +1 -1
  146. package/dist/mint-components/p-1279f7a3.system.entry.js +1 -0
  147. package/dist/mint-components/p-15a64357.entry.js +13 -0
  148. package/dist/mint-components/{p-458b2894.entry.js → p-17f56865.entry.js} +1 -1
  149. package/dist/mint-components/p-1b861be5.entry.js +1 -0
  150. package/dist/mint-components/{p-2ee2ebba.js → p-1d27da33.js} +2 -2
  151. package/dist/mint-components/{p-afd366ae.system.entry.js → p-1f7d7524.system.entry.js} +1 -1
  152. package/dist/mint-components/{p-5f1c4160.system.entry.js → p-22425c71.system.entry.js} +1 -1
  153. package/dist/mint-components/{p-ce621bcc.js → p-2816bf6a.js} +1 -1
  154. package/dist/mint-components/p-2868f475.entry.js +1 -0
  155. package/dist/mint-components/{p-b5861974.system.entry.js → p-36e9296e.system.entry.js} +1 -1
  156. package/dist/mint-components/{p-44787d6e.system.js → p-3cb18382.system.js} +1 -1
  157. package/dist/mint-components/{p-8679ed9f.system.entry.js → p-3e7ec0f3.system.entry.js} +1 -1
  158. package/dist/mint-components/{p-ed095674.system.js → p-43621f12.system.js} +1 -1
  159. package/dist/mint-components/{p-d8d2de11.entry.js → p-4671e644.entry.js} +1 -1
  160. package/dist/mint-components/{p-3d4656bb.system.js → p-4babe350.system.js} +1 -1
  161. package/dist/mint-components/{p-dd7ee007.system.js → p-4e373c3d.system.js} +1 -1
  162. package/dist/mint-components/{p-674a64fe.system.js → p-4eae91a9.system.js} +1 -1
  163. package/dist/mint-components/{p-eba44835.system.entry.js → p-51d53165.system.entry.js} +1 -1
  164. package/dist/mint-components/{p-b4c52c5a.entry.js → p-5291891c.entry.js} +2 -2
  165. package/dist/mint-components/{p-07f675ab.system.entry.js → p-59818690.system.entry.js} +1 -1
  166. package/dist/mint-components/{p-0d8c53ac.system.js → p-5becb2ff.system.js} +1 -1
  167. package/dist/mint-components/{p-bb00db59.js → p-5cd917db.js} +1 -1
  168. package/dist/mint-components/{p-be4b748a.system.entry.js → p-5fba1a04.system.entry.js} +1 -1
  169. package/dist/mint-components/p-6792c8d8.system.entry.js +1 -0
  170. package/dist/mint-components/{p-eaada4da.js → p-68747d88.js} +1 -1
  171. package/dist/mint-components/{p-86990110.entry.js → p-6c928c7d.entry.js} +1 -1
  172. package/dist/mint-components/{p-6cef104b.entry.js → p-76392386.entry.js} +1 -1
  173. package/dist/mint-components/{p-4ea58025.system.entry.js → p-7dd1ff31.system.entry.js} +1 -1
  174. package/dist/mint-components/{p-b6fc1227.system.entry.js → p-83c9f37b.system.entry.js} +1 -1
  175. package/dist/mint-components/{p-3223ba7b.entry.js → p-84b25a46.entry.js} +1 -1
  176. package/dist/mint-components/{p-cf690d55.system.entry.js → p-88bf51b7.system.entry.js} +1 -1
  177. package/dist/mint-components/{p-c84659a3.system.js → p-8d554a89.system.js} +1 -1
  178. package/dist/mint-components/p-93576222.system.js +1 -0
  179. package/dist/mint-components/{p-021a735d.entry.js → p-94454880.entry.js} +1 -1
  180. package/dist/mint-components/p-947fe79b.entry.js +1 -0
  181. package/dist/mint-components/p-99c15c5e.entry.js +1 -0
  182. package/dist/mint-components/{p-a7c2ced2.system.entry.js → p-9cdbd1ac.system.entry.js} +1 -1
  183. package/dist/mint-components/p-9d34f4f0.entry.js +33 -0
  184. package/dist/mint-components/{p-ce5afa40.entry.js → p-9e0230c3.entry.js} +1 -1
  185. package/dist/mint-components/{p-9f0629ba.system.entry.js → p-9ec008cb.system.entry.js} +1 -1
  186. package/dist/mint-components/{p-95771f79.system.js → p-a02afa72.system.js} +1 -1
  187. package/dist/mint-components/p-a4282d02.system.entry.js +1 -0
  188. package/dist/mint-components/{p-4edde470.entry.js → p-a45b03d2.entry.js} +1 -1
  189. package/dist/mint-components/{p-02424350.system.js → p-ac51940e.system.js} +1 -1
  190. package/dist/mint-components/{p-aee2304a.entry.js → p-acd77a6e.entry.js} +9 -9
  191. package/dist/mint-components/p-b1e8a802.entry.js +1 -0
  192. package/dist/mint-components/{p-96242551.system.entry.js → p-b3e97f8a.system.entry.js} +1 -1
  193. package/dist/mint-components/{p-10685090.js → p-b651706a.js} +1 -1
  194. package/dist/mint-components/{p-ec41d6a4.entry.js → p-b8233366.entry.js} +1 -1
  195. package/dist/mint-components/{p-5cac90e8.system.entry.js → p-bc826117.system.entry.js} +1 -1
  196. package/dist/mint-components/p-bdd6bb13.js +1 -0
  197. package/dist/mint-components/{p-4502ed11.system.entry.js → p-be1ae1ed.system.entry.js} +1 -1
  198. package/dist/mint-components/{p-56f14840.entry.js → p-bee1e573.entry.js} +1 -1
  199. package/dist/mint-components/{p-fb20eb5e.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
  200. package/dist/mint-components/p-c3b37bbf.js +1 -0
  201. package/dist/mint-components/{p-7731f793.system.entry.js → p-c3babfa4.system.entry.js} +1 -1
  202. package/dist/mint-components/p-c92a743e.entry.js +1 -0
  203. package/dist/mint-components/p-c9fb6102.entry.js +1 -0
  204. package/dist/mint-components/{p-ed17e637.system.js → p-ca809fdd.system.js} +1 -1
  205. package/dist/mint-components/{p-5b333fa8.system.entry.js → p-cb38b9b0.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-35d84041.system.entry.js → p-cb433855.system.entry.js} +1 -1
  207. package/dist/mint-components/{p-4df8f1d2.system.js → p-cd44de66.system.js} +1 -1
  208. package/dist/mint-components/{p-e3735866.entry.js → p-d35d8c06.entry.js} +2 -2
  209. package/dist/mint-components/{p-2dd67762.entry.js → p-d468925f.entry.js} +1 -1
  210. package/dist/mint-components/{p-8704937c.js → p-d83b0cf3.js} +1 -1
  211. package/dist/mint-components/p-def516b8.system.js +1 -0
  212. package/dist/mint-components/{p-4d233cd4.js → p-e0e7635a.js} +1 -1
  213. package/dist/mint-components/{p-1dd69917.system.entry.js → p-e12d3414.system.entry.js} +1 -1
  214. package/dist/mint-components/{p-3ec16698.entry.js → p-f36e33ff.entry.js} +2 -2
  215. package/dist/mint-components/{p-01cfff8a.system.entry.js → p-f450654b.system.entry.js} +1 -1
  216. package/dist/mint-components/{p-32d1d162.entry.js → p-f4cbbe47.entry.js} +1 -1
  217. package/dist/mint-components/{p-a1dba9a1.system.entry.js → p-f531a5c9.system.entry.js} +1 -1
  218. package/dist/mint-components/{p-9c310991.system.entry.js → p-f56348dc.system.entry.js} +1 -1
  219. package/dist/mint-components/p-f655a7df.js +1 -0
  220. package/dist/mint-components/{p-59fe4ad1.system.js → p-fc422446.system.js} +1 -1
  221. package/dist/mint-components/{p-aad11a68.entry.js → p-fd21ae8f.entry.js} +1 -1
  222. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +2 -2
  223. package/docs/docs.docx +0 -0
  224. package/docs/raisins.json +1 -1
  225. package/grapesjs/grapesjs.js +1 -1
  226. package/package.json +1 -1
  227. package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +0 -1
  228. package/dist/esm-es5/index.module-def4aec5.js +0 -1
  229. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +0 -1
  230. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +0 -1
  231. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +0 -1
  232. package/dist/mint-components/p-03494732.entry.js +0 -1
  233. package/dist/mint-components/p-10e89d0a.entry.js +0 -1
  234. package/dist/mint-components/p-1c857edb.entry.js +0 -33
  235. package/dist/mint-components/p-51f517a2.js +0 -1
  236. package/dist/mint-components/p-5be235f9.entry.js +0 -1
  237. package/dist/mint-components/p-711ba77e.system.entry.js +0 -1
  238. package/dist/mint-components/p-770368bc.system.js +0 -1
  239. package/dist/mint-components/p-79191f88.entry.js +0 -1
  240. package/dist/mint-components/p-7f088154.entry.js +0 -1
  241. package/dist/mint-components/p-8b5b78ca.entry.js +0 -1
  242. package/dist/mint-components/p-8e907ac7.system.entry.js +0 -1
  243. package/dist/mint-components/p-91669312.entry.js +0 -1
  244. package/dist/mint-components/p-a6a7dcaa.js +0 -1
  245. package/dist/mint-components/p-a8f7cb95.js +0 -1
  246. package/dist/mint-components/p-b370fca8.system.js +0 -1
  247. package/dist/mint-components/p-d5de2646.system.entry.js +0 -1
  248. package/dist/mint-components/p-d8e68e16.entry.js +0 -13
  249. package/dist/mint-components/p-e6d74386.system.entry.js +0 -1
@@ -1 +1 @@
1
- import{h as t,r as s}from"./p-64c3217a.js";import{i,k as n,n as e}from"./p-fd2c5407.js";import{i as r}from"./p-a8f7cb95.js";import{c as a}from"./p-c1086930.js";import{E as l}from"./p-02be1a88.js";import{c as o}from"./p-cef45012.js";import{g as c}from"./p-9ec99ced.js";import{R as u}from"./p-a6a7dcaa.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.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 m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(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)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>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"})),j=()=>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"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=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:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:l}),S=M.toString();function Z(s){var i,n,e,r,a,l,o,c,u,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},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",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(l=null===(a=d.registrationFormState)||void 0===a?void 0:a.initialData)||void 0===l?void 0:l.password}:{},(null===(c=null===(o=d.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===c?void 0:c.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(u=d.registrationFormState)||void 0===u?void 0:u.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,l,o,c;const[u,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);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:!t.disableValidation,dynamicValidation:u,registrationFormState:(null===(o=null===(l=null==t?void 0:t.demoData)||void 0===l?void 0:l.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(c=null==t?void 0:t.demoData)||void 0===c?void 0:c.states)||{},{arrayMerge:(t,s)=>s})}(c(this)):function(t){const s=i(u),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(c(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
1
+ import{h as t,r as s}from"./p-64c3217a.js";import{i,k as n,n as e}from"./p-fd2c5407.js";import{i as r}from"./p-bdd6bb13.js";import{c as l}from"./p-c1086930.js";import{E as a}from"./p-02be1a88.js";import{c as o}from"./p-cef45012.js";import{g as u}from"./p-9ec99ced.js";import{R as c}from"./p-f655a7df.js";var d="(\\d.*)",h="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.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 m.call(this,d,t)},letters:function(t){return m.call(this,h,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(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)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>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"})),j=()=>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"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=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:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:a}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,d;const{states:h,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},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",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:h.content.fieldLabel||"Password",required:!0,disabled:(null===(i=h.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=h.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=h.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=h.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=h.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(d=null===(c=h.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===d?void 0:d.password)||"Cannot be empty"}:[],{onInput:t=>h.enableValidation&&p.onInput(t)})),h.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,d]=n(""),[h,p]=n("");if(t.demoData&&h!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);d(""===(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 l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);d(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(u(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(u(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
@@ -1,10 +1,10 @@
1
1
  import { DemoData } from "../../global/demo";
2
2
  import { CheckboxFieldViewProps } from "../sqm-checkbox-field/sqm-checkbox-field-view";
3
3
  /**
4
- * @uiName Form Checkbox Field
4
+ * @uiName Marketing Emails Checkbox Field
5
5
  * @validParents ["sqm-portal-register","sqm-portal-registration-form"]
6
6
  * @exampleGroup Microsite Components
7
- * @example Form Checkbox Field - <sqm-marketing-emails-checkbox checkbox-label="I would like to receive marketing and promotional emails for this referral program" required="false" name="marketing-emails" ></sqm-marketing-emails-checkbox>
7
+ * @example Marketing Emails Checkbox - <sqm-marketing-emails-checkbox slot="emailOptIn" name="marketingEmails" checkbox-label="I would like to receive marketing and promotional emails for this referral program" required="false" name="marketing-emails" required="false" ></sqm-marketing-emails-checkbox>
8
8
  */
9
9
  export declare class MarketingEmailsCheckbox {
10
10
  ignored: boolean;
package/docs/docs.docx CHANGED
Binary file