@saasquatch/mint-components 1.6.10-0 → 1.6.10

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 (211) hide show
  1. package/dist/cjs/{ShadowViewAddon-8be973fa.js → ShadowViewAddon-19a28257.js} +3 -3
  2. package/dist/cjs/{global-e0036ac2.js → global-93ea4fcf.js} +1 -1
  3. package/dist/cjs/{index.module-e67cc994.js → index.module-ccd9cbad.js} +1 -7
  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-86f5c1d6.js → re-render-378abee0.js} +1 -1
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +6 -6
  9. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  14. package/dist/cjs/{sqm-navigation-sidebar-item-view-d49d0ac0.js → sqm-navigation-sidebar-item-view-7e751389.js} +1 -1
  15. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  19. package/dist/cjs/{sqm-portal-email-verification-view-e550979b.js → sqm-portal-email-verification-view-8e5450a0.js} +1 -1
  20. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
  22. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  23. package/dist/cjs/{sqm-portal-profile-view-2bb25095.js → sqm-portal-profile-view-cbcb1ea9.js} +1 -1
  24. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  25. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  26. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
  27. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  28. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  29. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
  31. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  33. package/dist/cjs/sqm-stencilbook.cjs.entry.js +7 -7
  34. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  35. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  36. package/dist/cjs/{useChildElements-8627c9be.js → useChildElements-4cfa421a.js} +1 -1
  37. package/dist/cjs/{useInstantAccessRegistration-633575aa.js → useInstantAccessRegistration-db197b63.js} +2 -2
  38. package/dist/cjs/{useReferralTable-0383a467.js → useReferralTable-d4bfaa57.js} +3 -3
  39. package/dist/cjs/{useRegistrationFormState-7b8b58e4.js → useRegistrationFormState-7e9641c4.js} +1 -1
  40. package/dist/esm/{ShadowViewAddon-5b06502d.js → ShadowViewAddon-9ed80727.js} +3 -3
  41. package/dist/esm/{global-9a9bd884.js → global-8e6b648c.js} +1 -1
  42. package/dist/esm/{index.module-f6aa21b2.js → index.module-c549b2c8.js} +1 -7
  43. package/dist/esm/loader.js +2 -2
  44. package/dist/esm/mint-components.js +2 -2
  45. package/dist/esm/{re-render-8acb41bc.js → re-render-3211b893.js} +1 -1
  46. package/dist/esm/sqm-asset-card.entry.js +1 -1
  47. package/dist/esm/sqm-big-stat_39.entry.js +6 -6
  48. package/dist/esm/sqm-close-button.entry.js +1 -1
  49. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  50. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  51. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  52. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  53. package/dist/esm/{sqm-navigation-sidebar-item-view-4b0f2987.js → sqm-navigation-sidebar-item-view-e9296d4b.js} +1 -1
  54. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  55. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  56. package/dist/esm/sqm-password-field.entry.js +2 -2
  57. package/dist/esm/sqm-popup-container.entry.js +1 -1
  58. package/dist/esm/{sqm-portal-email-verification-view-14670815.js → sqm-portal-email-verification-view-3d6bbba8.js} +1 -1
  59. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  60. package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
  61. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  62. package/dist/esm/{sqm-portal-profile-view-b23618f2.js → sqm-portal-profile-view-225cab85.js} +1 -1
  63. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  64. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  65. package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
  66. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  67. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  68. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  69. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  70. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  71. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  72. package/dist/esm/sqm-stencilbook.entry.js +7 -7
  73. package/dist/esm/sqm-tab.entry.js +2 -2
  74. package/dist/esm/sqm-tabs.entry.js +3 -3
  75. package/dist/esm/{useChildElements-debfb941.js → useChildElements-a97f3864.js} +1 -1
  76. package/dist/esm/{useInstantAccessRegistration-ba1c6d6f.js → useInstantAccessRegistration-4fd0b5a6.js} +2 -2
  77. package/dist/esm/{useReferralTable-c0e50753.js → useReferralTable-8852f5fd.js} +3 -3
  78. package/dist/esm/{useRegistrationFormState-85cc12ac.js → useRegistrationFormState-b1f730bd.js} +1 -1
  79. package/dist/esm-es5/{ShadowViewAddon-5b06502d.js → ShadowViewAddon-9ed80727.js} +1 -1
  80. package/dist/esm-es5/{global-9a9bd884.js → global-8e6b648c.js} +1 -1
  81. package/dist/esm-es5/index.module-c549b2c8.js +1 -0
  82. package/dist/esm-es5/loader.js +1 -1
  83. package/dist/esm-es5/mint-components.js +1 -1
  84. package/dist/esm-es5/{re-render-8acb41bc.js → re-render-3211b893.js} +1 -1
  85. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  86. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  87. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  88. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  89. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  90. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  91. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  92. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-4b0f2987.js → sqm-navigation-sidebar-item-view-e9296d4b.js} +1 -1
  93. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  94. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  95. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  96. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  97. package/dist/esm-es5/{sqm-portal-email-verification-view-14670815.js → sqm-portal-email-verification-view-3d6bbba8.js} +1 -1
  98. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  99. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  100. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  101. package/dist/esm-es5/{sqm-portal-profile-view-b23618f2.js → sqm-portal-profile-view-225cab85.js} +1 -1
  102. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  103. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  104. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  105. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  106. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  107. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  108. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  109. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  110. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  111. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  112. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  113. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  114. package/dist/esm-es5/useChildElements-a97f3864.js +1 -0
  115. package/dist/esm-es5/{useInstantAccessRegistration-ba1c6d6f.js → useInstantAccessRegistration-4fd0b5a6.js} +1 -1
  116. package/dist/esm-es5/{useReferralTable-c0e50753.js → useReferralTable-8852f5fd.js} +1 -1
  117. package/dist/esm-es5/{useRegistrationFormState-85cc12ac.js → useRegistrationFormState-b1f730bd.js} +1 -1
  118. package/dist/mint-components/mint-components.esm.js +1 -1
  119. package/dist/mint-components/mint-components.js +1 -1
  120. package/dist/mint-components/{p-4d343cd2.system.entry.js → p-01be40a8.system.entry.js} +1 -1
  121. package/dist/mint-components/{p-13c5da81.system.entry.js → p-10b03137.system.entry.js} +1 -1
  122. package/dist/mint-components/{p-8428afbd.system.js → p-11f59588.system.js} +1 -1
  123. package/dist/mint-components/{p-98d239b4.system.entry.js → p-125c8c60.system.entry.js} +1 -1
  124. package/dist/mint-components/{p-21194d7a.entry.js → p-1527ce05.entry.js} +1 -1
  125. package/dist/mint-components/{p-c3f6e35f.js → p-16c3324b.js} +2 -2
  126. package/dist/mint-components/{p-63397a65.system.entry.js → p-18ecc54e.system.entry.js} +1 -1
  127. package/dist/mint-components/{p-7a7b1f09.system.js → p-1d78d8ba.system.js} +1 -1
  128. package/dist/mint-components/{p-4abb0a92.entry.js → p-239f4be8.entry.js} +1 -1
  129. package/dist/mint-components/{p-cf893ebe.system.entry.js → p-25fd6ee0.system.entry.js} +1 -1
  130. package/dist/mint-components/{p-de5f644f.entry.js → p-265b316c.entry.js} +1 -1
  131. package/dist/mint-components/{p-806f9b38.entry.js → p-2d6f3bbc.entry.js} +1 -1
  132. package/dist/mint-components/{p-0a4cc64e.system.entry.js → p-34c90e51.system.entry.js} +1 -1
  133. package/dist/mint-components/{p-8f2e8f25.system.entry.js → p-35604900.system.entry.js} +1 -1
  134. package/dist/mint-components/{p-3f3608fe.entry.js → p-36182652.entry.js} +1 -1
  135. package/dist/mint-components/{p-f2cc2d1f.entry.js → p-37678b57.entry.js} +1 -1
  136. package/dist/mint-components/{p-d248e6b6.entry.js → p-3c02b80b.entry.js} +1 -1
  137. package/dist/mint-components/{p-0bac2259.js → p-45434510.js} +1 -1
  138. package/dist/mint-components/{p-a7f8ee50.system.entry.js → p-460d99ec.system.entry.js} +1 -1
  139. package/dist/mint-components/{p-a8364b08.entry.js → p-57224611.entry.js} +1 -1
  140. package/dist/mint-components/p-5da880d1.js +1 -0
  141. package/dist/mint-components/{p-c7199d22.system.js → p-5ef6521c.system.js} +1 -1
  142. package/dist/mint-components/{p-84b6349a.js → p-64f829d3.js} +1 -1
  143. package/dist/mint-components/{p-f1db8d9d.system.entry.js → p-6680e647.system.entry.js} +1 -1
  144. package/dist/mint-components/{p-22f2c1a1.system.entry.js → p-6a15c0c5.system.entry.js} +1 -1
  145. package/dist/mint-components/{p-6ba4dc68.system.entry.js → p-6cb2eff2.system.entry.js} +1 -1
  146. package/dist/mint-components/{p-1b202e9d.system.entry.js → p-6fc4ca9b.system.entry.js} +1 -1
  147. package/dist/mint-components/{p-403d9862.system.entry.js → p-7195cdd7.system.entry.js} +1 -1
  148. package/dist/mint-components/{p-ced36beb.system.entry.js → p-7808d6f2.system.entry.js} +1 -1
  149. package/dist/mint-components/{p-ced2f261.system.entry.js → p-7859a17b.system.entry.js} +1 -1
  150. package/dist/mint-components/p-844b9513.entry.js +1 -0
  151. package/dist/mint-components/{p-8fac996d.js → p-8788baee.js} +1 -1
  152. package/dist/mint-components/p-87a6bfa4.entry.js +1 -0
  153. package/dist/mint-components/{p-87333aca.system.entry.js → p-8b02bfc7.system.entry.js} +1 -1
  154. package/dist/mint-components/{p-76b5a1e8.system.js → p-8ba2c01f.system.js} +1 -1
  155. package/dist/mint-components/{p-bc0ce79f.system.entry.js → p-8f13044b.system.entry.js} +1 -1
  156. package/dist/mint-components/{p-0a524b3a.system.entry.js → p-93d65da1.system.entry.js} +1 -1
  157. package/dist/mint-components/p-99ec46fe.js +1 -0
  158. package/dist/mint-components/{p-402fb5b6.entry.js → p-9edb2c48.entry.js} +3 -3
  159. package/dist/mint-components/p-a3e28532.system.js +1 -0
  160. package/dist/mint-components/p-a65a340f.system.entry.js +1 -0
  161. package/dist/mint-components/p-a984852e.entry.js +1 -0
  162. package/dist/mint-components/{p-fef3786f.system.js → p-aa0d328e.system.js} +1 -1
  163. package/dist/mint-components/p-ad1fb768.entry.js +1 -0
  164. package/dist/mint-components/{p-3daf7be5.entry.js → p-af13a442.entry.js} +1 -1
  165. package/dist/mint-components/{p-303523a9.system.entry.js → p-b0008fd2.system.entry.js} +1 -1
  166. package/dist/mint-components/{p-00a2d823.system.entry.js → p-b1acc4ac.system.entry.js} +1 -1
  167. package/dist/mint-components/p-b2f447a6.entry.js +1 -0
  168. package/dist/mint-components/{p-e92f548d.entry.js → p-b43ea640.entry.js} +1 -1
  169. package/dist/mint-components/{p-ca39fffb.entry.js → p-b4deff58.entry.js} +1 -1
  170. package/dist/mint-components/{p-a9898f93.system.entry.js → p-b4f1239f.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-5ffee5a0.system.js → p-ba820423.system.js} +1 -1
  172. package/dist/mint-components/{p-1ed329cf.js → p-bb5ec5c2.js} +1 -1
  173. package/dist/mint-components/{p-d3373b3b.entry.js → p-bb7f5f8b.entry.js} +1 -1
  174. package/dist/mint-components/p-c0e7d16e.system.js +1 -0
  175. package/dist/mint-components/{p-372c5ca6.entry.js → p-c1962b42.entry.js} +1 -1
  176. package/dist/mint-components/p-c32a8733.system.js +1 -0
  177. package/dist/mint-components/{p-e7ede162.system.entry.js → p-c5fe9915.system.entry.js} +1 -1
  178. package/dist/mint-components/p-cdddccfe.js +1 -0
  179. package/dist/mint-components/{p-de04af3c.entry.js → p-d02a8dcf.entry.js} +1 -1
  180. package/dist/mint-components/{p-780b5e23.js → p-d0a1913f.js} +1 -1
  181. package/dist/mint-components/{p-538e9ef9.entry.js → p-d1416e69.entry.js} +1 -1
  182. package/dist/mint-components/{p-6de3902b.entry.js → p-d16c09d2.entry.js} +1 -1
  183. package/dist/mint-components/{p-c29211d1.system.js → p-da37742d.system.js} +1 -1
  184. package/dist/mint-components/{p-5cfe6e1a.system.entry.js → p-e3fc9e65.system.entry.js} +1 -1
  185. package/dist/mint-components/{p-69cb3e55.entry.js → p-e5883a5f.entry.js} +1 -1
  186. package/dist/mint-components/{p-694f2307.system.entry.js → p-e61bedb4.system.entry.js} +1 -1
  187. package/dist/mint-components/{p-ff233315.entry.js → p-e68608e9.entry.js} +1 -1
  188. package/dist/mint-components/{p-d38cbe0d.js → p-f2ec822a.js} +1 -1
  189. package/dist/mint-components/{p-940dc343.system.js → p-f301e2f3.system.js} +1 -1
  190. package/dist/mint-components/{p-6e4f3741.system.js → p-f4b038c3.system.js} +1 -1
  191. package/dist/mint-components/{p-bf5b269f.entry.js → p-f60232ab.entry.js} +1 -1
  192. package/dist/mint-components/p-faa9319e.entry.js +13 -0
  193. package/dist/mint-components/{p-1431d0cc.js → p-fad52230.js} +1 -1
  194. package/dist/mint-components/{p-56c0e916.system.entry.js → p-fb283db7.system.entry.js} +1 -1
  195. package/docs/docs.docx +0 -0
  196. package/package.json +2 -2
  197. package/dist/esm-es5/index.module-f6aa21b2.js +0 -1
  198. package/dist/esm-es5/useChildElements-debfb941.js +0 -1
  199. package/dist/mint-components/p-0c0406de.system.js +0 -1
  200. package/dist/mint-components/p-125cc103.system.js +0 -1
  201. package/dist/mint-components/p-18061615.system.js +0 -1
  202. package/dist/mint-components/p-28ab0efa.entry.js +0 -1
  203. package/dist/mint-components/p-295c7536.js +0 -1
  204. package/dist/mint-components/p-382d40fd.entry.js +0 -1
  205. package/dist/mint-components/p-5bb4983f.entry.js +0 -1
  206. package/dist/mint-components/p-6d45b2f8.entry.js +0 -1
  207. package/dist/mint-components/p-a5e1df21.js +0 -1
  208. package/dist/mint-components/p-b47a7d5b.system.entry.js +0 -1
  209. package/dist/mint-components/p-d1b5d727.js +0 -1
  210. package/dist/mint-components/p-d520f9ae.entry.js +0 -13
  211. package/dist/mint-components/p-e3cd1721.entry.js +0 -1
@@ -1 +1 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-18061615.system.js"],(function(e){"use strict";var t,r,i,n,a,o,s,c,u;return{setters:[function(e){t=e.r;r=e.h;i=e.c},function(e){n=e.f;a=e.m},function(e){o=e.L;s=e.v;c=e.p;u=e.i}],execute:function(){function f(e){var t=e.requireEmailVerification,r=e.redirectTo,i=e.redirectToUnverified;var a;var u=o();var f=!!(u===null||u===void 0?void 0:u.jwt);var d=(a=u===null||u===void 0?void 0:u.managedIdentity)===null||a===void 0?void 0:a.emailVerified;var l=s(),v=l.pathname,p=l.search;var h=new URLSearchParams;h.append("nextPage",""+v+p);n((function(){if(!f){return c.push({pathname:r,search:"?"+h.toString()})}if(t&&!d){return c.push({pathname:i||r,search:"?"+h.toString()})}}),[]);return!!u}var d=e("sqm_portal_protected_route",function(){function e(e){t(this,e);this.ignored=true;this.redirectTo="/";this.requireEmailVerification=false;this.redirectToUnverified="/emailVerification";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?l():f(this);return r(i,{style:{display:e?"contents":"none"}},r("slot",null))};return e}());function l(e){return true}}}}));
1
+ System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-a3e28532.system.js"],(function(e){"use strict";var t,r,i,n,a,o,s,c,u;return{setters:[function(e){t=e.r;r=e.h;i=e.c},function(e){n=e.f;a=e.m},function(e){o=e.L;s=e.v;c=e.p;u=e.i}],execute:function(){function f(e){var t=e.requireEmailVerification,r=e.redirectTo,i=e.redirectToUnverified;var a;var u=o();var f=!!(u===null||u===void 0?void 0:u.jwt);var d=(a=u===null||u===void 0?void 0:u.managedIdentity)===null||a===void 0?void 0:a.emailVerified;var l=s(),v=l.pathname,p=l.search;var h=new URLSearchParams;h.append("nextPage",""+v+p);n((function(){if(!f){return c.push({pathname:r,search:"?"+h.toString()})}if(t&&!d){return c.push({pathname:i||r,search:"?"+h.toString()})}}),[]);return!!u}var d=e("sqm_portal_protected_route",function(){function e(e){t(this,e);this.ignored=true;this.redirectTo="/";this.requireEmailVerification=false;this.redirectToUnverified="/emailVerification";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=u()?l():f(this);return r(i,{style:{display:e?"contents":"none"}},r("slot",null))};return e}());function l(e){return true}}}}));
@@ -1 +1 @@
1
- import{r as o,h as a}from"./p-64c3217a.js";import{f as i,m as e}from"./p-901f5b80.js";import{L as s,Y as t,p as d,i as r}from"./p-d1b5d727.js";import{c as l}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-cef45012.js";import{s as n}from"./p-9ec99ced.js";import"./p-5d0c9424.js";import{P as c}from"./p-75ddf3ca.js";const v=class{constructor(a){o(this,a),this.ignored=!0,this.nextPage="/",this.failedPage="/",e(this)}disconnectedCallback(){}render(){const{states:o,data:e,callbacks:v}=r()?l({states:{error:"",loading:!1,verified:!0},data:{oobCode:"code"},callbacks:{failed:()=>{console.log("failed")},gotoNextPage:()=>{}}},this.demoData||{},{arrayMerge:(o,a)=>a}):function({nextPage:o,failedPage:a}){var e,r,l,c,v,u,f,m;const p=s(),[b,{loading:g,data:h,errors:j}]=t(),P=new URLSearchParams(d.location.search),k=P.get("oobCode"),x=P.get("nextPage"),C=void 0===h&&void 0===j&&!!k,w=!(!(null===(e=null==p?void 0:p.managedIdentity)||void 0===e?void 0:e.emailVerified)&&!(null==h?void 0:h.verifyManagedIdentityEmail.success)),y=()=>{P.delete("nextPage");const a=n(x||o);d.push(a.href)};return i((()=>{w&&setTimeout((()=>{y()}),3e3),!h&&(async()=>{var o;if(k){const a=await b({oobCode:k});if((a instanceof Error||!a.verifyManagedIdentityEmail.success)&&!(null===(o=null==p?void 0:p.managedIdentity)||void 0===o?void 0:o.emailVerified))return;setTimeout((()=>{y()}),3e3)}})()}),[w]),{states:{loading:g||C,error:(null===(v=null===(c=null===(l=null===(r=null==j?void 0:j.response)||void 0===r?void 0:r.errors)||void 0===l?void 0:l[0])||void 0===c?void 0:c.extensions)||void 0===v?void 0:v.message)||(null===(m=null===(f=null===(u=null==j?void 0:j.response)||void 0===u?void 0:u.errors)||void 0===f?void 0:f[0])||void 0===m?void 0:m.message)||(null==j?void 0:j.message)&&"Network request failed.",verified:w},data:{oobCode:k},callbacks:{failed:()=>d.push({pathname:a,search:P.toString()&&"?"+P.toString()}),gotoNextPage:y}}}(this);return a(c,{states:o,data:e,callbacks:v})}};export{v as sqm_portal_verify_email}
1
+ import{r as o,h as a}from"./p-64c3217a.js";import{f as i,m as e}from"./p-901f5b80.js";import{L as s,Y as t,p as d,i as r}from"./p-cdddccfe.js";import{c as l}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-cef45012.js";import{s as n}from"./p-9ec99ced.js";import"./p-5d0c9424.js";import{P as c}from"./p-75ddf3ca.js";const v=class{constructor(a){o(this,a),this.ignored=!0,this.nextPage="/",this.failedPage="/",e(this)}disconnectedCallback(){}render(){const{states:o,data:e,callbacks:v}=r()?l({states:{error:"",loading:!1,verified:!0},data:{oobCode:"code"},callbacks:{failed:()=>{console.log("failed")},gotoNextPage:()=>{}}},this.demoData||{},{arrayMerge:(o,a)=>a}):function({nextPage:o,failedPage:a}){var e,r,l,c,v,f,u,m;const p=s(),[g,{loading:b,data:h,errors:j}]=t(),P=new URLSearchParams(d.location.search),k=P.get("oobCode"),x=P.get("nextPage"),C=void 0===h&&void 0===j&&!!k,w=!(!(null===(e=null==p?void 0:p.managedIdentity)||void 0===e?void 0:e.emailVerified)&&!(null==h?void 0:h.verifyManagedIdentityEmail.success)),y=()=>{P.delete("nextPage");const a=n(x||o);d.push(a.href)};return i((()=>{w&&setTimeout((()=>{y()}),3e3),!h&&(async()=>{var o;if(k){const a=await g({oobCode:k});if((a instanceof Error||!a.verifyManagedIdentityEmail.success)&&!(null===(o=null==p?void 0:p.managedIdentity)||void 0===o?void 0:o.emailVerified))return;setTimeout((()=>{y()}),3e3)}})()}),[w]),{states:{loading:b||C,error:(null===(v=null===(c=null===(l=null===(r=null==j?void 0:j.response)||void 0===r?void 0:r.errors)||void 0===l?void 0:l[0])||void 0===c?void 0:c.extensions)||void 0===v?void 0:v.message)||(null===(m=null===(u=null===(f=null==j?void 0:j.response)||void 0===f?void 0:f.errors)||void 0===u?void 0:u[0])||void 0===m?void 0:m.message)||(null==j?void 0:j.message)&&"Network request failed.",verified:w},data:{oobCode:k},callbacks:{failed:()=>d.push({pathname:a,search:P.toString()&&"?"+P.toString()}),gotoNextPage:y}}}(this);return a(c,{states:o,data:e,callbacks:v})}};export{v as sqm_portal_verify_email}
@@ -1 +1 @@
1
- import{r as t,h as s,c as e}from"./p-64c3217a.js";import{f as r,m as a}from"./p-901f5b80.js";import{L as i,v as o,p as n,i as c}from"./p-d1b5d727.js";const l=class{constructor(s){t(this,s),this.ignored=!0,this.redirectTo="/",this.requireEmailVerification=!1,this.redirectToUnverified="/emailVerification",a(this)}disconnectedCallback(){}render(){const t=!!c()||function({requireEmailVerification:t,redirectTo:s,redirectToUnverified:e}){var a;const c=i(),l=!!(null==c?void 0:c.jwt),d=null===(a=null==c?void 0:c.managedIdentity)||void 0===a?void 0:a.emailVerified,{pathname:h,search:m}=o(),p=new URLSearchParams;return p.append("nextPage",`${h}${m}`),r((()=>l?t&&!d?n.push({pathname:e||s,search:"?"+p.toString()}):void 0:n.push({pathname:s,search:"?"+p.toString()})),[]),!!c}(this);return s(e,{style:{display:t?"contents":"none"}},s("slot",null))}};export{l as sqm_portal_protected_route}
1
+ import{r as t,h as e,c as s}from"./p-64c3217a.js";import{f as r,m as a}from"./p-901f5b80.js";import{L as i,v as o,p as n,i as c}from"./p-cdddccfe.js";const l=class{constructor(e){t(this,e),this.ignored=!0,this.redirectTo="/",this.requireEmailVerification=!1,this.redirectToUnverified="/emailVerification",a(this)}disconnectedCallback(){}render(){const t=!!c()||function({requireEmailVerification:t,redirectTo:e,redirectToUnverified:s}){var a;const c=i(),l=!!(null==c?void 0:c.jwt),d=null===(a=null==c?void 0:c.managedIdentity)||void 0===a?void 0:a.emailVerified,{pathname:h,search:m}=o(),p=new URLSearchParams;return p.append("nextPage",`${h}${m}`),r((()=>l?t&&!d?n.push({pathname:s||e,search:"?"+p.toString()}):void 0:n.push({pathname:e,search:"?"+p.toString()})),[]),!!c}(this);return e(s,{style:{display:t?"contents":"none"}},e("slot",null))}};export{l as sqm_portal_protected_route}
@@ -1 +1 @@
1
- import{r as s,h as t}from"./p-64c3217a.js";import{j as e,m as o}from"./p-901f5b80.js";import{t as a,p as i,i as r}from"./p-d1b5d727.js";import{j as l}from"./p-e7e129ac.js";import{c as n}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-cef45012.js";import"./p-5d0c9424.js";import{P as c}from"./p-a217deee.js";const d=class{constructor(t){s(this,t),this.ignored=!0,this.redirectPath="/resetPassword",this.emailLabel="Email",this.submitLabel="Request Password Reset",this.loginPath="/login",this.headerText="Enter your email below to receive a password reset link.",this.loginText="Sign In",o(this)}disconnectedCallback(){}render(){const{states:s,callbacks:o}=r()?n({states:{error:"",loading:!1,success:!1},callbacks:{submit:async()=>{}}},this.demoData||{},{arrayMerge:(s,t)=>t}):function(s){var t,o,r,n,c,d,m;const[u,p]=e(!1),[v,h]=e(""),[b,{loading:g,errors:f}]=a(),j=new URLSearchParams(i.location.search).get("nextPage");return{states:{loading:g,error:(null===(n=null===(r=null===(o=null===(t=null==f?void 0:f.response)||void 0===t?void 0:t.errors)||void 0===o?void 0:o[0])||void 0===r?void 0:r.extensions)||void 0===n?void 0:n.message)||(null===(m=null===(d=null===(c=null==f?void 0:f.response)||void 0===c?void 0:c.errors)||void 0===d?void 0:d[0])||void 0===m?void 0:m.message)||v,success:u,loginPath:s.loginPath,headerText:s.headerText,loginText:s.loginText},callbacks:{submit:async t=>{var e;h(""),p(!1);let o=t.detail.formData;null==o||o.forEach(((s,t)=>{l.set(o,t,s)}));const a={email:o.email,urlParams:j?{nextPage:j}:null,redirectPath:s.redirectPath},i=await b(a);i instanceof Error?i.message&&h("Network request failed."):(null===(e=i.requestManagedIdentityPasswordResetEmail)||void 0===e?void 0:e.success)&&p(!0)}}}}(this),d={secondaryButton:t("slot",{name:"secondaryButton"},t("sl-button",{type:"text",disabled:s.loading,onClick:()=>i.push(s.loginPath)},"Sign In")),messageSlot:t("slot",{name:"messageSlot"},"Enter your email below to receive a password reset link."),emailLabel:this.emailLabel,submitLabel:this.submitLabel};return t(c,{states:s,callbacks:o,content:d})}};export{d as sqm_portal_forgot_password}
1
+ import{r as s,h as t}from"./p-64c3217a.js";import{j as e,m as o}from"./p-901f5b80.js";import{t as a,p as i,i as r}from"./p-cdddccfe.js";import{j as l}from"./p-e7e129ac.js";import{c as n}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-cef45012.js";import"./p-5d0c9424.js";import{P as c}from"./p-a217deee.js";const d=class{constructor(t){s(this,t),this.ignored=!0,this.redirectPath="/resetPassword",this.emailLabel="Email",this.submitLabel="Request Password Reset",this.loginPath="/login",this.headerText="Enter your email below to receive a password reset link.",this.loginText="Sign In",o(this)}disconnectedCallback(){}render(){const{states:s,callbacks:o}=r()?n({states:{error:"",loading:!1,success:!1},callbacks:{submit:async()=>{}}},this.demoData||{},{arrayMerge:(s,t)=>t}):function(s){var t,o,r,n,c,d,m;const[u,p]=e(!1),[v,h]=e(""),[b,{loading:g,errors:f}]=a(),j=new URLSearchParams(i.location.search).get("nextPage");return{states:{loading:g,error:(null===(n=null===(r=null===(o=null===(t=null==f?void 0:f.response)||void 0===t?void 0:t.errors)||void 0===o?void 0:o[0])||void 0===r?void 0:r.extensions)||void 0===n?void 0:n.message)||(null===(m=null===(d=null===(c=null==f?void 0:f.response)||void 0===c?void 0:c.errors)||void 0===d?void 0:d[0])||void 0===m?void 0:m.message)||v,success:u,loginPath:s.loginPath,headerText:s.headerText,loginText:s.loginText},callbacks:{submit:async t=>{var e;h(""),p(!1);let o=t.detail.formData;null==o||o.forEach(((s,t)=>{l.set(o,t,s)}));const a={email:o.email,urlParams:j?{nextPage:j}:null,redirectPath:s.redirectPath},i=await b(a);i instanceof Error?i.message&&h("Network request failed."):(null===(e=i.requestManagedIdentityPasswordResetEmail)||void 0===e?void 0:e.success)&&p(!0)}}}}(this),d={secondaryButton:t("slot",{name:"secondaryButton"},t("sl-button",{type:"text",disabled:s.loading,onClick:()=>i.push(s.loginPath)},"Sign In")),messageSlot:t("slot",{name:"messageSlot"},"Enter your email below to receive a password reset link."),emailLabel:this.emailLabel,submitLabel:this.submitLabel};return t(c,{states:s,callbacks:o,content:d})}};export{d as sqm_portal_forgot_password}
@@ -1 +1 @@
1
- import{h as e}from"./p-64c3217a.js";import{i as l}from"./p-84b6349a.js";import{c as a}from"./p-cef45012.js";import{T as t}from"./p-5d0c9424.js";function r(r){var i,s,o,n,d;const{states:p,callbacks:m}=r,{text:u,formState:c}=p,{errors:v,error:b}=c,x=a({Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}}),f=x.toString(),y=(null===(i=p.user)||void 0===i?void 0:i.countryCode)?l.formatDisplayName(null===(s=p.user)||void 0===s?void 0:s.countryCode,{type:"region"}):"";return e("div",{class:x.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},f),e(t,Object.assign({},{type:"h1"}),u.editProfileHeader),e(t,Object.assign({},{type:"h2"}),u.editProfileSubHeader),e("form",{class:x.classes.FormStyle,onSubmit:m.onSubmit},p.success&&e("sqm-form-message",{class:x.classes.Success,exportparts:"success-icon"},e("div",{part:"successalert-text"},"Your profile has been successfully updated.")),b&&e("sqm-form-message",{class:x.classes.Error,type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},b)),e("div",{class:x.classes.NameInputContainer},e("sl-input",Object.assign({class:x.classes.NameInputStyle,exportparts:"label: input-label",value:null===(o=p.user)||void 0===o?void 0:o.firstName,onInput:m.onChange,label:u.firstnametext,disabled:p.loading},(null==v?void 0:v.firstName)&&"valid"!==(null==v?void 0:v.firstName.status)?{class:"ErrorStyles",helpText:"Cannot be empty"}:[],{id:"firstName",name:"firstName",error:(null==v?void 0:v.firstName)&&"valid"!==(null==v?void 0:v.firstName.status)?null==v?void 0:v.firstName.message:void 0})),e("sl-input",Object.assign({class:x.classes.NameInputStyle,exportparts:"label: input-label",value:null===(n=p.user)||void 0===n?void 0:n.lastName,onInput:m.onChange,label:u.lastnametext,disabled:p.loading,id:"lastName",name:"lastName"},(null==v?void 0:v.lastName)&&"valid"!==(null==v?void 0:v.lastName.status)?{class:"ErrorStyles",helpText:"Cannot be empty"}:[],{error:(null==v?void 0:v.lastName)&&"valid"!==(null==v?void 0:v.lastName.status)?null==v?void 0:v.lastName.message:void 0}))),e("sl-input",{label:u.emailtext,value:null===(d=p.user)||void 0===d?void 0:d.email,exportparts:"label: input-label",disabled:!0}),p.showCountry&&e("sl-input",{label:u.countrytext,value:y,exportparts:"label: input-label",disabled:!0}),e("sl-button",{type:"primary",loading:p.loading,disabled:p.submitDisabled,onClick:e=>{m.onSubmit(e)},submit:!0},u.submitChangeButtonText)))}export{r as P}
1
+ import{h as e}from"./p-64c3217a.js";import{i as l}from"./p-64f829d3.js";import{c as a}from"./p-cef45012.js";import{T as t}from"./p-5d0c9424.js";function r(r){var i,s,o,n,d;const{states:p,callbacks:m}=r,{text:u,formState:c}=p,{errors:v,error:b}=c,x=a({Container:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-xxx-large)",padding:"var(--sl-spacing-xxx-large)"},FormStyle:{width:"100%",minWidth:"700px","& >*:not(:last-child)":{"margin-bottom":"32px"},"@media screen and (max-width: 1100px)":{minWidth:"100%"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},Success:{"&::part(successalert-base)":{"margin-bottom":"32px"}},NameInputStyle:{width:"50%","@media screen and (max-width: 860px)":{width:"100%","margin-right":"0"}},NameInputContainer:{display:"flex",gap:"32px",width:"100%","@media screen and (max-width: 860px)":{flexDirection:"column"}}}),f=x.toString(),y=(null===(i=p.user)||void 0===i?void 0:i.countryCode)?l.formatDisplayName(null===(s=p.user)||void 0===s?void 0:s.countryCode,{type:"region"}):"";return e("div",{class:x.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},f),e(t,Object.assign({},{type:"h1"}),u.editProfileHeader),e(t,Object.assign({},{type:"h2"}),u.editProfileSubHeader),e("form",{class:x.classes.FormStyle,onSubmit:m.onSubmit},p.success&&e("sqm-form-message",{class:x.classes.Success,exportparts:"success-icon"},e("div",{part:"successalert-text"},"Your profile has been successfully updated.")),b&&e("sqm-form-message",{class:x.classes.Error,type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},b)),e("div",{class:x.classes.NameInputContainer},e("sl-input",Object.assign({class:x.classes.NameInputStyle,exportparts:"label: input-label",value:null===(o=p.user)||void 0===o?void 0:o.firstName,onInput:m.onChange,label:u.firstnametext,disabled:p.loading},(null==v?void 0:v.firstName)&&"valid"!==(null==v?void 0:v.firstName.status)?{class:"ErrorStyles",helpText:"Cannot be empty"}:[],{id:"firstName",name:"firstName",error:(null==v?void 0:v.firstName)&&"valid"!==(null==v?void 0:v.firstName.status)?null==v?void 0:v.firstName.message:void 0})),e("sl-input",Object.assign({class:x.classes.NameInputStyle,exportparts:"label: input-label",value:null===(n=p.user)||void 0===n?void 0:n.lastName,onInput:m.onChange,label:u.lastnametext,disabled:p.loading,id:"lastName",name:"lastName"},(null==v?void 0:v.lastName)&&"valid"!==(null==v?void 0:v.lastName.status)?{class:"ErrorStyles",helpText:"Cannot be empty"}:[],{error:(null==v?void 0:v.lastName)&&"valid"!==(null==v?void 0:v.lastName.status)?null==v?void 0:v.lastName.message:void 0}))),e("sl-input",{label:u.emailtext,value:null===(d=p.user)||void 0===d?void 0:d.email,exportparts:"label: input-label",disabled:!0}),p.showCountry&&e("sl-input",{label:u.countrytext,value:y,exportparts:"label: input-label",disabled:!0}),e("sl-button",{type:"primary",loading:p.loading,disabled:p.submitDisabled,onClick:e=>{m.onSubmit(e)},submit:!0},u.submitChangeButtonText)))}export{r as P}