@saasquatch/mint-components 2.0.0-8 → 2.0.0

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 (347) hide show
  1. package/dist/cjs/{IndirectTaxDetailsView-e5f70b8b.js → IndirectTaxDetailsView-3e88d710.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-016bebfd.js → ShadowViewAddon-646dec73.js} +13 -9
  3. package/dist/cjs/{copy-text-view-51c8ee5d.js → copy-text-view-322436c2.js} +2 -8
  4. package/dist/cjs/{usePayoutStatus-fe32dd1a.js → data-16106637.js} +142 -0
  5. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  6. package/dist/cjs/{global-8bba5b3a.js → global-39cb0afc.js} +745 -2
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/mint-components.cjs.js +2 -2
  9. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +82 -46
  10. package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-69a4b615.js} +10 -4
  11. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +1334 -51
  12. package/dist/cjs/sqm-code-verification.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  14. package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +9 -5
  17. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
  18. package/dist/cjs/{sqm-lead-checkbox-field-view-340acad0.js → sqm-lead-checkbox-field-view-f1c46d4b.js} +1 -1
  19. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
  20. package/dist/cjs/{sqm-lead-input-field-view-06ed3632.js → sqm-lead-input-field-view-6d388092.js} +1 -1
  21. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  24. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  26. package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  28. package/dist/cjs/{sqm-portal-container-view-ca86b9e5.js → sqm-portal-container-view-07e4343f.js} +1 -1
  29. package/dist/cjs/{sqm-portal-email-verification-view-5518eb0d.js → sqm-portal-email-verification-view-6b17e545.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +27 -19
  33. package/dist/cjs/{sqm-portal-profile-view-615e6975.js → sqm-portal-profile-view-845367bb.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  35. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  36. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  37. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  38. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -4
  40. package/dist/cjs/sqm-stencilbook.cjs.entry.js +49 -29
  41. package/dist/cjs/sqm-tabs.cjs.entry.js +1 -4
  42. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -2
  43. package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -4
  44. package/dist/cjs/{useLeadFormState-fd0445f9.js → useLeadFormState-b355759b.js} +1 -1
  45. package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
  46. package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
  47. package/dist/cjs/{utils-83d125fa.js → utils-ac82f977.js} +1 -1
  48. package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +2 -2
  49. package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +10 -4
  50. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -2
  51. package/dist/collection/components/sqm-big-stat/useBigStat.js +7 -1
  52. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -1
  53. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -1
  54. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +14 -0
  55. package/dist/collection/components/sqm-form-message/sqm-form-message.css +7 -0
  56. package/dist/collection/components/sqm-form-message/sqm-form-message.js +26 -4
  57. package/dist/collection/components/sqm-hero/sqm-hero.js +4 -4
  58. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  59. package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -1
  60. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -1
  61. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -0
  62. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
  63. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +31 -1
  64. package/dist/collection/components/sqm-name-fields/useNameFields.js +1 -0
  65. package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -2
  66. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  67. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
  68. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -0
  69. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +10 -7
  70. package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +23 -13
  71. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
  72. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +1 -34
  73. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -3
  74. package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -1
  75. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -1
  76. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -3
  77. package/dist/collection/components/sqm-task-card/sqm-task-card.js +2 -2
  78. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +10 -4
  79. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +10 -13
  80. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +48 -2
  81. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +2 -3
  82. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +67 -26
  83. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +0 -1
  84. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -1
  85. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -4
  86. package/dist/collection/components/views/copy-text-view.js +2 -8
  87. package/dist/collection/global/global.js +14 -3
  88. package/dist/collection/global/styles.v1.js +733 -0
  89. package/dist/collection/global/styles.v1.ts +735 -0
  90. package/dist/collection/utils/utils.js +0 -1
  91. package/dist/esm/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-e5d8767d.js} +2 -2
  92. package/dist/esm/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-5928ca9d.js} +13 -9
  93. package/dist/esm/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +2 -8
  94. package/dist/esm/{usePayoutStatus-42cc6a2c.js → data-acdb790f.js} +128 -1
  95. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  96. package/dist/esm/{global-1099f20d.js → global-943536b9.js} +745 -2
  97. package/dist/esm/loader.js +2 -2
  98. package/dist/esm/mint-components.js +2 -2
  99. package/dist/esm/sqm-banking-info-form_10.entry.js +75 -39
  100. package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-9e97d8b4.js} +10 -4
  101. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +1333 -51
  102. package/dist/esm/sqm-code-verification.entry.js +2 -2
  103. package/dist/esm/sqm-context-router.entry.js +1 -1
  104. package/dist/esm/sqm-email-verification.entry.js +2 -2
  105. package/dist/esm/sqm-empty_4.entry.js +3 -3
  106. package/dist/esm/sqm-form-message.entry.js +9 -5
  107. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
  108. package/dist/esm/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-adcc49c0.js} +1 -1
  109. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  110. package/dist/esm/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-c0b5aed5.js} +1 -1
  111. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  112. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  113. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  114. package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
  115. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  116. package/dist/esm/sqm-password-field.entry.js +1 -1
  117. package/dist/esm/sqm-popup-container.entry.js +1 -1
  118. package/dist/esm/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
  119. package/dist/esm/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-8ceb6302.js} +1 -1
  120. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  121. package/dist/esm/sqm-portal-google-login.entry.js +2 -2
  122. package/dist/esm/sqm-portal-google-registration-form.entry.js +27 -19
  123. package/dist/esm/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.js} +1 -1
  124. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  125. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  126. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  127. package/dist/esm/sqm-qr-code.entry.js +1 -1
  128. package/dist/esm/sqm-referral-table_11.entry.js +2 -2
  129. package/dist/esm/sqm-rewards-table_9.entry.js +3 -4
  130. package/dist/esm/sqm-stencilbook.entry.js +49 -29
  131. package/dist/esm/sqm-tabs.entry.js +1 -4
  132. package/dist/esm/sqm-widget-verification-controller.entry.js +3 -2
  133. package/dist/esm/sqm-widget-verification.entry.js +2 -3
  134. package/dist/esm/{useLeadFormState-c379e5d7.js → useLeadFormState-9a652a42.js} +1 -1
  135. package/dist/esm/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
  136. package/dist/esm/{utils-84b4b092.js → utils-334c1e34.js} +0 -4
  137. package/dist/esm/{utils-6122971b.js → utils-f27e62dc.js} +1 -1
  138. package/dist/esm-es5/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-e5d8767d.js} +1 -1
  139. package/dist/esm-es5/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-5928ca9d.js} +1 -1
  140. package/dist/esm-es5/data-acdb790f.js +6 -0
  141. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  142. package/dist/esm-es5/{global-1099f20d.js → global-943536b9.js} +4 -4
  143. package/dist/esm-es5/loader.js +1 -1
  144. package/dist/esm-es5/mint-components.js +1 -1
  145. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  146. package/dist/esm-es5/sqm-base-registration-form-view-9e97d8b4.js +1 -0
  147. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
  148. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  149. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  150. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  151. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  152. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  153. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
  154. package/dist/esm-es5/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-adcc49c0.js} +1 -1
  155. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  156. package/dist/esm-es5/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-c0b5aed5.js} +1 -1
  157. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  158. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  159. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  160. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  161. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  162. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  163. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  164. package/dist/esm-es5/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
  165. package/dist/esm-es5/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-8ceb6302.js} +1 -1
  166. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  167. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  168. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  169. package/dist/esm-es5/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.js} +1 -1
  170. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  171. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  172. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  173. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  174. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  175. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  176. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  177. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  178. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  179. package/dist/esm-es5/{useLeadFormState-c379e5d7.js → useLeadFormState-9a652a42.js} +1 -1
  180. package/dist/esm-es5/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
  181. package/dist/esm-es5/utils-334c1e34.js +1 -0
  182. package/dist/esm-es5/{utils-6122971b.js → utils-f27e62dc.js} +1 -1
  183. package/dist/mint-components/global/styles.v1.ts +735 -0
  184. package/dist/mint-components/mint-components.esm.js +1 -1
  185. package/dist/mint-components/mint-components.js +1 -1
  186. package/dist/mint-components/p-06b4fa6a.entry.js +273 -0
  187. package/dist/mint-components/p-0797a946.js +1 -0
  188. package/dist/mint-components/{p-aa08457e.system.js → p-08b373b9.system.js} +1 -1
  189. package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-0ac84da5.system.entry.js} +1 -1
  190. package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
  191. package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-0cb51ea1.system.entry.js} +1 -1
  192. package/dist/mint-components/p-11927355.system.entry.js +1 -0
  193. package/dist/mint-components/{p-61157c6a.entry.js → p-124af9d6.entry.js} +1 -1
  194. package/dist/mint-components/{p-d4edce6c.system.entry.js → p-19de8749.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-7b8cd420.system.entry.js → p-1e406d04.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
  197. package/dist/mint-components/p-20f8e7ca.entry.js +99 -0
  198. package/dist/mint-components/{p-6d5bd95a.js → p-252465eb.js} +1 -1
  199. package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
  200. package/dist/mint-components/{p-3bf5cd51.entry.js → p-2fd2f22b.entry.js} +1 -1
  201. package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
  202. package/dist/mint-components/p-37ef2ce1.entry.js +1 -0
  203. package/dist/mint-components/{p-aa8c6332.js → p-38c4653d.js} +1 -1
  204. package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
  205. package/dist/mint-components/{p-511c87ce.system.entry.js → p-3fa99fea.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-e711d0e9.js → p-44fc6029.js} +1 -1
  207. package/dist/mint-components/p-469a6450.system.js +6 -0
  208. package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
  209. package/dist/mint-components/p-51a6a779.js +1 -0
  210. package/dist/mint-components/p-53b49d27.system.js +1 -0
  211. package/dist/mint-components/{p-2623b232.system.entry.js → p-54c250de.system.entry.js} +1 -1
  212. package/dist/mint-components/{p-4ffc5bce.js → p-58b668a0.js} +4 -4
  213. package/dist/mint-components/{p-f370bddc.entry.js → p-58f4bf7a.entry.js} +1 -1
  214. package/dist/mint-components/{p-4c811d12.entry.js → p-5a3e2966.entry.js} +1 -1
  215. package/dist/mint-components/{p-c86f64ad.system.entry.js → p-5b7a896e.system.entry.js} +1 -1
  216. package/dist/mint-components/{p-06f13966.system.entry.js → p-5bb24669.system.entry.js} +1 -1
  217. package/dist/mint-components/p-6333265f.system.js +1 -0
  218. package/dist/mint-components/{p-a9ad7fb2.system.entry.js → p-674d9089.system.entry.js} +1 -1
  219. package/dist/mint-components/{p-29f0c87d.entry.js → p-6a0ddee0.entry.js} +1 -1
  220. package/dist/mint-components/{p-c85f204b.system.js → p-6b55555b.system.js} +1 -1
  221. package/dist/mint-components/{p-f0eae4e6.system.js → p-6dd86003.system.js} +1 -1
  222. package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-f5c49a83.entry.js → p-735c9185.entry.js} +2 -2
  224. package/dist/mint-components/{p-433e7458.entry.js → p-7e323f2c.entry.js} +1 -1
  225. package/dist/mint-components/p-80569911.system.js +1 -0
  226. package/dist/mint-components/{p-c531cc75.entry.js → p-85029918.entry.js} +1 -1
  227. package/dist/mint-components/{p-0caad0db.entry.js → p-8677688c.entry.js} +1 -1
  228. package/dist/mint-components/{p-ab018deb.entry.js → p-8931d05e.entry.js} +2 -2
  229. package/dist/mint-components/{p-b487cb00.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-4250b06d.entry.js → p-8e913ce5.entry.js} +1 -1
  231. package/dist/mint-components/p-8ea16fb6.js +1233 -0
  232. package/dist/mint-components/{p-ed16b35a.js → p-946f8a2c.js} +1 -1
  233. package/dist/mint-components/{p-0d21194c.entry.js → p-94ae86fc.entry.js} +1 -1
  234. package/dist/mint-components/{p-1fa9ef02.js → p-9580aac3.js} +1 -1
  235. package/dist/mint-components/p-95b6e903.entry.js +1 -0
  236. package/dist/mint-components/p-9ba07029.system.entry.js +1 -0
  237. package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
  238. package/dist/mint-components/{p-cb845a3a.system.entry.js → p-9f57e731.system.entry.js} +1 -1
  239. package/dist/mint-components/{p-00bc7211.js → p-a1b3f61a.js} +1 -1
  240. package/dist/mint-components/{p-74f43a08.system.js → p-a275725a.system.js} +1 -1
  241. package/dist/mint-components/{p-22a9114f.system.entry.js → p-a30d7069.system.entry.js} +1 -1
  242. package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.entry.js} +1 -1
  243. package/dist/mint-components/p-a6f4fb03.system.js +1 -0
  244. package/dist/mint-components/{p-1c6ef258.system.entry.js → p-ac86903a.system.entry.js} +1 -1
  245. package/dist/mint-components/p-ac9138fd.entry.js +1 -0
  246. package/dist/mint-components/{p-bfd77a07.entry.js → p-b00e8365.entry.js} +1 -1
  247. package/dist/mint-components/{p-66cf70f7.system.entry.js → p-b3510ca0.system.entry.js} +1 -1
  248. package/dist/mint-components/{p-c994512c.system.js → p-b5fd4fb6.system.js} +1 -1
  249. package/dist/mint-components/{p-47c83656.entry.js → p-bef123be.entry.js} +1 -1
  250. package/dist/mint-components/{p-79a3344f.js → p-c44b3725.js} +1 -1
  251. package/dist/mint-components/p-c4f275db.system.entry.js +1 -0
  252. package/dist/mint-components/p-c5f92183.system.entry.js +1 -0
  253. package/dist/mint-components/{p-9fed62f8.system.entry.js → p-c67ffd25.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-60465a2d.system.js → p-c90fcb02.system.js} +1 -1
  255. package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
  256. package/dist/mint-components/{p-7a268047.js → p-d181b17c.js} +1 -1
  257. package/dist/mint-components/p-d69c0a32.system.entry.js +1 -0
  258. package/dist/mint-components/{p-cf4e1709.entry.js → p-d9780ae9.entry.js} +1 -1
  259. package/dist/mint-components/p-db64c957.entry.js +33 -0
  260. package/dist/mint-components/{p-4fed8672.js → p-dbb79392.js} +1 -1
  261. package/dist/mint-components/{p-978d06ab.entry.js → p-e1422b78.entry.js} +1 -1
  262. package/dist/mint-components/p-e1e7d01c.js +157 -0
  263. package/dist/mint-components/{p-84d1041d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-b1eafaae.entry.js → p-e4017ba5.entry.js} +1 -1
  265. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  266. package/dist/mint-components/{p-ad4348c3.system.js → p-ee290b30.system.js} +1 -1
  267. package/dist/mint-components/{p-c62b277d.system.js → p-ee3d2ae4.system.js} +1 -1
  268. package/dist/mint-components/{p-dd30354a.system.entry.js → p-f3613921.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-55eaba8e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
  270. package/dist/mint-components/{p-e0a724dd.system.js → p-f3ccba80.system.js} +19 -19
  271. package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
  272. package/dist/mint-components/{p-b703c89f.system.entry.js → p-fc86ba65.system.entry.js} +1 -1
  273. package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +3 -1
  274. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
  275. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -1
  276. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +4 -0
  277. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -0
  278. package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
  279. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
  280. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
  281. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -1
  282. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +1 -0
  283. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +5 -0
  284. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +1 -0
  285. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -1
  286. package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +5 -0
  287. package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +2 -1
  288. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  289. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
  290. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  291. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +8 -0
  292. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -2
  293. package/dist/types/components.d.ts +48 -12
  294. package/dist/types/global/styles.v1.d.ts +2 -0
  295. package/docs/docs.docx +0 -0
  296. package/docs/raisins.json +1 -1
  297. package/grapesjs/grapesjs.js +1 -1
  298. package/package.json +2 -2
  299. package/dist/cjs/data-88adb95b.js +0 -146
  300. package/dist/cjs/parseStates-d1effc19.js +0 -16
  301. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
  302. package/dist/esm/data-807686c2.js +0 -130
  303. package/dist/esm/parseStates-ed75e224.js +0 -14
  304. package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
  305. package/dist/esm-es5/data-807686c2.js +0 -1
  306. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  307. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  308. package/dist/esm-es5/sqm-base-registration-form-view-193f1721.js +0 -1
  309. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  310. package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
  311. package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
  312. package/dist/esm-es5/utils-84b4b092.js +0 -1
  313. package/dist/mint-components/p-115dfc03.system.js +0 -1
  314. package/dist/mint-components/p-13e66b37.system.entry.js +0 -1
  315. package/dist/mint-components/p-13f3a647.js +0 -1
  316. package/dist/mint-components/p-26468242.js +0 -1
  317. package/dist/mint-components/p-3c09c632.system.entry.js +0 -1
  318. package/dist/mint-components/p-402984b3.system.entry.js +0 -1
  319. package/dist/mint-components/p-4306a11d.entry.js +0 -33
  320. package/dist/mint-components/p-43d9c1c5.system.entry.js +0 -1
  321. package/dist/mint-components/p-46b88149.entry.js +0 -273
  322. package/dist/mint-components/p-4b9976cc.system.js +0 -1
  323. package/dist/mint-components/p-5853132a.system.entry.js +0 -1
  324. package/dist/mint-components/p-60f1cca2.system.js +0 -1
  325. package/dist/mint-components/p-7837f69e.js +0 -46
  326. package/dist/mint-components/p-7b8232f8.system.js +0 -6
  327. package/dist/mint-components/p-8c3c4e92.js +0 -112
  328. package/dist/mint-components/p-916a2045.system.entry.js +0 -1
  329. package/dist/mint-components/p-92bed2ad.system.js +0 -1
  330. package/dist/mint-components/p-967a9040.system.js +0 -1
  331. package/dist/mint-components/p-a0730259.entry.js +0 -99
  332. package/dist/mint-components/p-a44a912b.entry.js +0 -1
  333. package/dist/mint-components/p-a597b136.entry.js +0 -1
  334. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  335. package/dist/mint-components/p-be88596c.system.js +0 -1
  336. package/dist/mint-components/p-cf22cf56.entry.js +0 -1
  337. package/dist/mint-components/p-db1a0db1.js +0 -1233
  338. package/dist/mint-components/p-ddf3c05e.js +0 -1
  339. package/dist/mint-components/p-ea063d99.entry.js +0 -1
  340. package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
  341. /package/dist/collection/global/{styles.js → styles.v2.js} +0 -0
  342. /package/dist/collection/global/{styles.ts → styles.v2.ts} +0 -0
  343. /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
  344. /package/dist/mint-components/global/{styles.ts → styles.v2.ts} +0 -0
  345. /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
  346. /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
  347. /package/dist/types/global/{styles.d.ts → styles.v2.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import{h as t,F as e,r as a}from"./p-c7c11325.js";import{i as n}from"./p-db1a0db1.js";import{n as s,k as o}from"./p-63e29387.js";import{F as r,i,d as l,H as c,J as d,B as u,w as p,$ as g}from"./p-0ec54f97.js";import{c as m}from"./p-c1086930.js";import{g as f}from"./p-6dc742bc.js";import{c as h}from"./p-cef45012.js";import{R as v,a as x,S as y,u as b}from"./p-9c79ab08.js";import"./p-49b20dae.js";import{C}from"./p-45c3ff6d.js";const T=h({Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}}),P=T.toString();function j(a){const{states:n,callbacks:s,text:o,buttonType:r}=a,{onNext:i,onPrev:l}=s,{currentPage:c,totalPages:d,loading:u}=n;return 1===d?t(e,null):t("span",{class:T.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},P),!u&&t(e,null,t("sl-button",{exportparts:`base: ${r}button-base`,onClick:l,part:"sqm-pagination-button",circle:!0,disabled:1===c},t("sl-icon",{name:"chevron-left",label:"Previous Page"})),t("div",{class:T.classes.TextContainer},o.paginationText)),t("sl-button",{exportparts:`base: ${r}button-base`,onClick:i,part:"sqm-pagination-button",circle:!0,disabled:c===d},t("sl-icon",{name:"chevron-right",label:"Previous Page"})))}const k=class{constructor(t){a(this,t),this.ignored=!0,this.paginationText="{currentPage} of {totalPages}",this.buttonType="secondary",s(this)}disconnectedCallback(){}render(){const e=i()?function(t){const[e,a]=o(1);return m({states:{currentPage:e,totalPages:5,loading:!1},buttonType:t.buttonType,callbacks:{onNext:()=>a(e+1),onPrev:()=>a(e-1)},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:e,totalPages:5})}},t.demoData||{},{arrayMerge:(t,e)=>e})}(f(this)):function(t){var e;const a=r(v),s=a.states.currentPage+1,o=null===(e=a.states)||void 0===e?void 0:e.pageCount;return{states:{currentPage:s,totalPages:o,loading:a.states.loading},callbacks:{onNext:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)+1)},onPrev:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)-1)}},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:s,totalPages:o})}}}(f(this));return t(j,Object.assign({},e))}},E=l.gql`
1
+ import{h as t,F as e,r as a}from"./p-c7c11325.js";import{i as n}from"./p-8ea16fb6.js";import{n as s,k as o}from"./p-63e29387.js";import{F as r,i,d as l,H as c,J as d,B as u,w as p,$ as g}from"./p-0ec54f97.js";import{c as m}from"./p-c1086930.js";import{g as f}from"./p-9ec99ced.js";import{c as h}from"./p-cef45012.js";import{R as v,a as x,S as y,u as b}from"./p-9c79ab08.js";import"./p-49b20dae.js";import{C}from"./p-4a0a76a5.js";const T=h({Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}}),P=T.toString();function j(a){const{states:n,callbacks:s,text:o,buttonType:r}=a,{onNext:i,onPrev:l}=s,{currentPage:c,totalPages:d,loading:u}=n;return 1===d?t(e,null):t("span",{class:T.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},P),!u&&t(e,null,t("sl-button",{exportparts:`base: ${r}button-base`,onClick:l,part:"sqm-pagination-button",circle:!0,disabled:1===c},t("sl-icon",{name:"chevron-left",label:"Previous Page"})),t("div",{class:T.classes.TextContainer},o.paginationText)),t("sl-button",{exportparts:`base: ${r}button-base`,onClick:i,part:"sqm-pagination-button",circle:!0,disabled:c===d},t("sl-icon",{name:"chevron-right",label:"Previous Page"})))}const k=class{constructor(t){a(this,t),this.ignored=!0,this.paginationText="{currentPage} of {totalPages}",this.buttonType="secondary",s(this)}disconnectedCallback(){}render(){const e=i()?function(t){const[e,a]=o(1);return m({states:{currentPage:e,totalPages:5,loading:!1},buttonType:t.buttonType,callbacks:{onNext:()=>a(e+1),onPrev:()=>a(e-1)},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText||"{currentPage} of {totalPages}"},{currentPage:e,totalPages:5})}},t.demoData||{},{arrayMerge:(t,e)=>e})}(f(this)):function(t){var e;const a=r(v),s=a.states.currentPage+1,o=null===(e=a.states)||void 0===e?void 0:e.pageCount;return{states:{currentPage:s,totalPages:o,loading:a.states.loading},callbacks:{onNext:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)+1)},onPrev:()=>{var t,e;return null===(t=a.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=a.states)||void 0===e?void 0:e.currentPage)-1)}},text:{paginationText:n.formatMessage({id:"paginationText",defaultMessage:t.paginationText},{currentPage:s,totalPages:o})}}}(f(this));return t(j,Object.assign({},e))}},E=l.gql`
2
2
  query getReferralCode($programId: ID) {
3
3
  user: viewer {
4
4
  ... on User {
@@ -1,4 +1,4 @@
1
- import{r,h as e}from"./p-c7c11325.js";import{i as t}from"./p-db1a0db1.js";import{n as a}from"./p-63e29387.js";import{d as o,H as n,J as s,w as i,i as l}from"./p-0ec54f97.js";import{c as d}from"./p-c1086930.js";import{L as p}from"./p-8caef004.js";const c=o.gql`
1
+ import{r,h as e}from"./p-c7c11325.js";import{i as t}from"./p-8ea16fb6.js";import{n as a}from"./p-63e29387.js";import{d as o,H as n,J as s,w as i,i as l}from"./p-0ec54f97.js";import{c as d}from"./p-c1086930.js";import{L as p}from"./p-8caef004.js";const c=o.gql`
2
2
  query ($type: String!, $filter: UserLeaderboardFilterInput) {
3
3
  viewer {
4
4
  ... on User {
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-60f1cca2.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-6578ea31.system.js"],(function(e){"use strict";var t,n,i,r,a,o,s,u,l,c,f,d,v,y;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.k;r=e.f;a=e.n},function(e){o=e.J;s=e.f;u=e.j;l=e.b;c=e.i},function(e){f=e.c},function(e){d=e.s;v=e.g},function(){},function(){},function(){},function(e){y=e.P}],execute:function(){var h=null;function g(e){var t=this;var n=e.nextPage,a=e.failedPage,c=e.verifySuccessText,f=e.verifyEmailText,v=e.verifyInvalidText,y=e.networkErrorMessage,g=e.continueText;var p,m,x,b,T,w,_,k,P,E;var S=i(false),j=S[0],I=S[1];var C=i(false),M=C[0],N=C[1];var V=o();var q=s(),A=q[0],D=q[1],G=D.loading,J=D.data,L=D.errors;var R=new URLSearchParams(u.location.search);var U=R.get("oobCode");var Y=R.get("email");var z=R.get("nextPage");var B=J===undefined&&L===undefined&&!!U;var F=!!(((p=V===null||V===void 0?void 0:V.managedIdentity)===null||p===void 0?void 0:p.emailVerified)||((m=J===null||J===void 0?void 0:J.verifyManagedIdentityEmail)===null||m===void 0?void 0:m.success)||M);var H=((x=V===null||V===void 0?void 0:V.managedIdentity)===null||x===void 0?void 0:x.email)===Y;var K=function(){return u.push({pathname:a,search:R.toString()&&"?"+R.toString()})};var O=function(){R.delete("nextPage");var e=d(z||n);u.push(e.href)};var Q=function(){setTimeout((function(){l(undefined);O()}),3e3)};var W=function(){setTimeout(O,3e3)};r((function(){var e=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!h)h=A({oobCode:U});return[4,h];case 1:e=t.sent();if(!(e instanceof Error)&&e.verifyManagedIdentityEmail.success){N(true)}I(true);return[2]}}))}))};e()}),[]);r((function(){if(!j)return;if(F&&H)W();else Q()}),[j,F]);return{states:{loading:G||!j,disableContinue:B,error:((_=(w=(T=(b=L===null||L===void 0?void 0:L.response)===null||b===void 0?void 0:b.errors)===null||T===void 0?void 0:T[0])===null||w===void 0?void 0:w.extensions)===null||_===void 0?void 0:_.message)||((E=(P=(k=L===null||L===void 0?void 0:L.response)===null||k===void 0?void 0:k.errors)===null||P===void 0?void 0:P[0])===null||E===void 0?void 0:E.message)||((L===null||L===void 0?void 0:L.message)||!H)&&y,success:j&&(F||H)},data:{oobCode:U},callbacks:{failed:K,gotoNextPage:O},content:{verifySuccessText:c,verifyEmailText:f,verifyInvalidText:v,continueText:g}}}var p=e("sqm_portal_verify_email",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.verifyEmailText="Verify your email";this.verifySuccessText="Your email has been verified and you are being redirected. If you are not redirected, please click Continue.";this.verifyInvalidText="The email verification code is invalid or has expired, please try again.";this.continueText="Continue";this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?m(v(this)):g(v(this)),t=e.states,i=e.data,r=e.callbacks,a=e.content;return n(y,{states:t,data:i,callbacks:r,content:a})};return e}());function m(e){return f({states:{error:"",loading:false,success:true},data:{oobCode:"code"},callbacks:{failed:function(){console.log("failed")},gotoNextPage:function(){}},content:{verifySuccessText:e.verifySuccessText,verifyEmailText:e.verifyEmailText,verifyInvalidText:e.verifyInvalidText,continueText:e.continueText}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{u(i.next(e))}catch(e){a(e)}}function s(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(o,s)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-6578ea31.system.js"],(function(e){"use strict";var t,n,i,r,a,o,s,u,l,c,f,d,v,y;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.k;r=e.f;a=e.n},function(e){o=e.J;s=e.f;u=e.j;l=e.b;c=e.i},function(e){f=e.c},function(e){d=e.s;v=e.g},function(){},function(){},function(){},function(e){y=e.P}],execute:function(){var h=null;function g(e){var t=this;var n=e.nextPage,a=e.failedPage,c=e.verifySuccessText,f=e.verifyEmailText,v=e.verifyInvalidText,y=e.networkErrorMessage,g=e.continueText;var p,m,x,b,T,w,_,k,P,E;var S=i(false),j=S[0],I=S[1];var C=i(false),M=C[0],N=C[1];var V=o();var q=s(),A=q[0],D=q[1],G=D.loading,J=D.data,L=D.errors;var R=new URLSearchParams(u.location.search);var U=R.get("oobCode");var Y=R.get("email");var z=R.get("nextPage");var B=J===undefined&&L===undefined&&!!U;var F=!!(((p=V===null||V===void 0?void 0:V.managedIdentity)===null||p===void 0?void 0:p.emailVerified)||((m=J===null||J===void 0?void 0:J.verifyManagedIdentityEmail)===null||m===void 0?void 0:m.success)||M);var H=((x=V===null||V===void 0?void 0:V.managedIdentity)===null||x===void 0?void 0:x.email)===Y;var K=function(){return u.push({pathname:a,search:R.toString()&&"?"+R.toString()})};var O=function(){R.delete("nextPage");var e=d(z||n);u.push(e.href)};var Q=function(){setTimeout((function(){l(undefined);O()}),3e3)};var W=function(){setTimeout(O,3e3)};r((function(){var e=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!h)h=A({oobCode:U});return[4,h];case 1:e=t.sent();if(!(e instanceof Error)&&e.verifyManagedIdentityEmail.success){N(true)}I(true);return[2]}}))}))};e()}),[]);r((function(){if(!j)return;if(F&&H)W();else Q()}),[j,F]);return{states:{loading:G||!j,disableContinue:B,error:((_=(w=(T=(b=L===null||L===void 0?void 0:L.response)===null||b===void 0?void 0:b.errors)===null||T===void 0?void 0:T[0])===null||w===void 0?void 0:w.extensions)===null||_===void 0?void 0:_.message)||((E=(P=(k=L===null||L===void 0?void 0:L.response)===null||k===void 0?void 0:k.errors)===null||P===void 0?void 0:P[0])===null||E===void 0?void 0:E.message)||((L===null||L===void 0?void 0:L.message)||!H)&&y,success:j&&(F||H)},data:{oobCode:U},callbacks:{failed:K,gotoNextPage:O},content:{verifySuccessText:c,verifyEmailText:f,verifyInvalidText:v,continueText:g}}}var p=e("sqm_portal_verify_email",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.verifyEmailText="Verify your email";this.verifySuccessText="Your email has been verified and you are being redirected. If you are not redirected, please click Continue.";this.verifyInvalidText="The email verification code is invalid or has expired, please try again.";this.continueText="Continue";this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?m(v(this)):g(v(this)),t=e.states,i=e.data,r=e.callbacks,a=e.content;return n(y,{states:t,data:i,callbacks:r,content:a})};return e}());function m(e){return f({states:{error:"",loading:false,success:true},data:{oobCode:"code"},callbacks:{failed:function(){console.log("failed")},gotoNextPage:function(){}},content:{verifySuccessText:e.verifySuccessText,verifyEmailText:e.verifyEmailText,verifyInvalidText:e.verifyInvalidText,continueText:e.continueText}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-e0a724dd.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-60f1cca2.system.js","./p-1a673057.system.js","./p-67ad2252.system.js","./p-60465a2d.system.js","./p-e174b704.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,u,l,d,m,f,c,v;return{setters:[function(e){t=e.r;n=e.h},function(){},function(e){i=e.k;r=e.f;s=e.n},function(e){a=e.d;o=e.J;u=e.w;l=e.$;d=e.i},function(e){m=e.c},function(e){f=e.g},function(){},function(){},function(e){c=e.P},function(e){v=e.i}],execute:function(){var g=a.gql(__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"],["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"]));var _=a.gql(__makeTemplateObject(["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"],["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"]));var h={country:"",email:"",firstName:"",lastName:"",errors:{},error:""};function p(e){var t=o();var n=i(false),s=n[0],a=n[1];var d=i(undefined),m=d[0],f=d[1];var c=i(h),p=c[0],y=c[1];var b=u(g,{},!(t===null||t===void 0?void 0:t.jwt));var x=l(_),N=x[0],S=x[1];r((function(){if(S===null||S===void 0?void 0:S.loading)return;if(S===null||S===void 0?void 0:S.errors){y((function(e){var t,n,i;return __assign(__assign({},e),{error:(i=(n=(t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0].message})}))}else{f((function(e){var t;return __assign(__assign({},e),(t=S===null||S===void 0?void 0:S.data)===null||t===void 0?void 0:t.upsertUser)}));if(S===null||S===void 0?void 0:S.data)a(true)}}),[S===null||S===void 0?void 0:S.loading]);r((function(){var e,t;f((function(e){var t;return __assign(__assign({},e),(t=b===null||b===void 0?void 0:b.data)===null||t===void 0?void 0:t.viewer)}));y(__assign(__assign(__assign({},h),(e=b.data)===null||e===void 0?void 0:e.viewer),(t=S.data)===null||t===void 0?void 0:t.upsertUser))}),[b===null||b===void 0?void 0:b.data]);r((function(){var t,n;if((t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.message){y(__assign(__assign({},(n=b.data)===null||n===void 0?void 0:n.viewer),{error:e.networkRequestMessage}))}}),[S===null||S===void 0?void 0:S.errors]);var j=function(){a(false);if(p.firstName&&p.lastName){N({id:t===null||t===void 0?void 0:t.id,accountId:t===null||t===void 0?void 0:t.accountId,firstName:p.firstName,lastName:p.lastName});y((function(e){return __assign(__assign({},e),{errors:{},error:""})}));return}var n={};if(!p.firstName){n["firstName"]={message:e.fieldEmptyText}}if(!p.lastName){n["lastName"]={message:e.fieldEmptyText}}if(!v(n)){y((function(t){return __assign(__assign({},t),{error:e.formErrorText})}))}y((function(e){return __assign(__assign({},e),{errors:n})}))};return{states:{success:s,loading:(b===null||b===void 0?void 0:b.loading)||S.loading,submitDisabled:false,showCountry:!e.hideCountry,formState:p,user:m,text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,countrytext:e.countrytext,emailtext:e.emailtext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText}},callbacks:{onSubmit:j,onChange:function(e){var t=e.target,n=t.name,i=t.value;y((function(e){var t;return __assign(__assign({},e),(t={},t[n]=i,t))}))}}}}var y=e("sqm_portal_profile",function(){function e(e){t(this,e);this.ignored=true;this.firstnametext="First Name";this.lastnametext="Last Name";this.emailtext="Email";this.countrytext="Country";this.editProfileHeader="Edit your profile";this.editProfileSubHeader="Personal Information";this.submitChangeButtonText="Submit Changes";this.hideCountry=false;this.networkRequestMessage="An error occurred while loading this page. Please refresh the page.";this.fieldEmptyText="Field is required";this.formErrorText="Please correct the errors below to update your profile.";this.submissionSuccessText="Your profile has been successfully updated.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?b(f(this)):p(f(this));return n(c,Object.assign({},e))};return e}());function b(e){return m({states:{success:false,loading:false,submitDisabled:false,showCountry:!e.hideCountry,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,emailtext:e.emailtext,countrytext:e.countrytext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText,submissionSuccessText:e.submissionSuccessText,fieldEmptyText:e.fieldEmptyText},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-f3ccba80.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-67ad2252.system.js","./p-c90fcb02.system.js","./p-e174b704.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,u,l,d,m,f,c,v;return{setters:[function(e){t=e.r;n=e.h},function(){},function(e){i=e.k;r=e.f;s=e.n},function(e){a=e.d;o=e.J;u=e.w;l=e.$;d=e.i},function(e){m=e.c},function(e){f=e.g},function(){},function(){},function(e){c=e.P},function(e){v=e.i}],execute:function(){var g=a.gql(__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"],["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"]));var _=a.gql(__makeTemplateObject(["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"],["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"]));var h={country:"",email:"",firstName:"",lastName:"",errors:{},error:""};function p(e){var t=o();var n=i(false),s=n[0],a=n[1];var d=i(undefined),m=d[0],f=d[1];var c=i(h),p=c[0],y=c[1];var b=u(g,{},!(t===null||t===void 0?void 0:t.jwt));var x=l(_),N=x[0],S=x[1];r((function(){if(S===null||S===void 0?void 0:S.loading)return;if(S===null||S===void 0?void 0:S.errors){y((function(e){var t,n,i;return __assign(__assign({},e),{error:(i=(n=(t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0].message})}))}else{f((function(e){var t;return __assign(__assign({},e),(t=S===null||S===void 0?void 0:S.data)===null||t===void 0?void 0:t.upsertUser)}));if(S===null||S===void 0?void 0:S.data)a(true)}}),[S===null||S===void 0?void 0:S.loading]);r((function(){var e,t;f((function(e){var t;return __assign(__assign({},e),(t=b===null||b===void 0?void 0:b.data)===null||t===void 0?void 0:t.viewer)}));y(__assign(__assign(__assign({},h),(e=b.data)===null||e===void 0?void 0:e.viewer),(t=S.data)===null||t===void 0?void 0:t.upsertUser))}),[b===null||b===void 0?void 0:b.data]);r((function(){var t,n;if((t=S===null||S===void 0?void 0:S.errors)===null||t===void 0?void 0:t.message){y(__assign(__assign({},(n=b.data)===null||n===void 0?void 0:n.viewer),{error:e.networkRequestMessage}))}}),[S===null||S===void 0?void 0:S.errors]);var j=function(){a(false);if(p.firstName&&p.lastName){N({id:t===null||t===void 0?void 0:t.id,accountId:t===null||t===void 0?void 0:t.accountId,firstName:p.firstName,lastName:p.lastName});y((function(e){return __assign(__assign({},e),{errors:{},error:""})}));return}var n={};if(!p.firstName){n["firstName"]={message:e.fieldEmptyText}}if(!p.lastName){n["lastName"]={message:e.fieldEmptyText}}if(!v(n)){y((function(t){return __assign(__assign({},t),{error:e.formErrorText})}))}y((function(e){return __assign(__assign({},e),{errors:n})}))};return{states:{success:s,loading:(b===null||b===void 0?void 0:b.loading)||S.loading,submitDisabled:false,showCountry:!e.hideCountry,formState:p,user:m,text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,countrytext:e.countrytext,emailtext:e.emailtext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText}},callbacks:{onSubmit:j,onChange:function(e){var t=e.target,n=t.name,i=t.value;y((function(e){var t;return __assign(__assign({},e),(t={},t[n]=i,t))}))}}}}var y=e("sqm_portal_profile",function(){function e(e){t(this,e);this.ignored=true;this.firstnametext="First Name";this.lastnametext="Last Name";this.emailtext="Email";this.countrytext="Country";this.editProfileHeader="Edit your profile";this.editProfileSubHeader="Personal Information";this.submitChangeButtonText="Submit Changes";this.hideCountry=false;this.networkRequestMessage="An error occurred while loading this page. Please refresh the page.";this.fieldEmptyText="Field is required";this.formErrorText="Please correct the errors below to update your profile.";this.submissionSuccessText="Your profile has been successfully updated.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?b(f(this)):p(f(this));return n(c,Object.assign({},e))};return e}());function b(e){return m({states:{success:false,loading:false,submitDisabled:false,showCountry:!e.hideCountry,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:e.firstnametext,lastnametext:e.lastnametext,emailtext:e.emailtext,countrytext:e.countrytext,editProfileHeader:e.editProfileHeader,editProfileSubHeader:e.editProfileSubHeader,submitChangeButtonText:e.submitChangeButtonText,submissionSuccessText:e.submissionSuccessText,fieldEmptyText:e.fieldEmptyText},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(e){return console.log(e)},onChange:function(e){return console.log(e)}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(t){"use strict";return{execute:function(){t({a:e,g:r,l:o,s:i});function n(t){var n=[];Object.keys(t).forEach((function(r){var e=Object.getOwnPropertyDescriptor(t,r);if(typeof e.get==="function"){n.push(r)}}));return n}function r(t){var r={};for(var e=0,o=n(Object.getPrototypeOf(t));e<o.length;e++){var i=o[e];r[i]=t[i]}return r}function e(t){var n=t.filter((function(t){return!t.value}));return n.length?n:false}function o(t){var n=t===null||t===void 0?void 0:t.split("_");if(!n||n.length===1)return t;var r=n[0];var e=n[1];return r+"-"+e.toUpperCase()}function i(t){var n=new URL(t,window.location.origin);var r=new URL(window.location.origin);r.pathname=n.pathname;r.search=n.search;r.hash=n.hash;return r}}}}));
@@ -1 +1 @@
1
- System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-60f1cca2.system.js","./p-7159c51c.system.js"],(function(t){"use strict";var e,n,r,o,i,s;return{setters:[function(t){e=t.r;n=t.h;r=t.c},function(t){o=t.n},function(t){i=t.l},function(t){s=t.l}],execute:function(){var l=t("sqm_invoice_table_data_cell",function(){function t(t){e(this,t);this.ignored=true;o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return this.data};return t}());var c=t("sqm_invoice_table_date_cell",function(){function t(t){e(this,t);this.ignored=true;this.locale="en";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t,e;var n=!this.date?"-":(e=(t=s.DateTime.fromMillis(this.date))===null||t===void 0?void 0:t.setLocale(i(this.locale)))===null||e===void 0?void 0:e.toLocaleString(s.DateTime.DATE_MED);return n};return t}());var a=t("sqm_invoice_table_download_cell",function(){function t(t){e(this,t);this.ignored=true;o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t="svg:hover, svg:hover * {\n cursor: pointer;\n }";return n(r,null,n("style",null,t),!!this.downloadUrl&&n("a",{href:this.downloadUrl,target:"_blank"},n("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z",fill:"var(--sqm-text-subdued)"}),n("path",{d:"M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z",fill:"var(--sqm-text-subdued)"}))))};return t}());var d=t("sqm_table_cell",function(){function t(t){e(this,t);this.colspan=1;this.padding="15px 10px"}t.prototype.render=function(){return n(r,{style:{display:"contents"}},n("td",{colSpan:this.colspan,style:{padding:this.padding}},n("slot",null)))};return t}());var u=t("sqm_table_row",function(){function t(t){e(this,t);this.border="var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)"}t.prototype.render=function(){return n(r,{style:{display:"contents"}},n("tr",{style:{border:this.border}},n("slot",null)))};return t}())}}}));
1
+ System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-6333265f.system.js","./p-7159c51c.system.js"],(function(t){"use strict";var e,n,r,o,i,s;return{setters:[function(t){e=t.r;n=t.h;r=t.c},function(t){o=t.n},function(t){i=t.l},function(t){s=t.l}],execute:function(){var l=t("sqm_invoice_table_data_cell",function(){function t(t){e(this,t);this.ignored=true;o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){return this.data};return t}());var a=t("sqm_invoice_table_date_cell",function(){function t(t){e(this,t);this.ignored=true;this.locale="en";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t,e;var n=!this.date?"-":(e=(t=s.DateTime.fromMillis(this.date))===null||t===void 0?void 0:t.setLocale(i(this.locale)))===null||e===void 0?void 0:e.toLocaleString(s.DateTime.DATE_MED);return n};return t}());var c=t("sqm_invoice_table_download_cell",function(){function t(t){e(this,t);this.ignored=true;o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t="svg:hover, svg:hover * {\n cursor: pointer;\n }";return n(r,null,n("style",null,t),!!this.downloadUrl&&n("a",{href:this.downloadUrl,target:"_blank"},n("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z",fill:"var(--sqm-text-subdued)"}),n("path",{d:"M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z",fill:"var(--sqm-text-subdued)"}))))};return t}());var d=t("sqm_table_cell",function(){function t(t){e(this,t);this.colspan=1;this.padding="15px 10px"}t.prototype.render=function(){return n(r,{style:{display:"contents"}},n("td",{colSpan:this.colspan,style:{padding:this.padding}},n("slot",null)))};return t}());var u=t("sqm_table_row",function(){function t(t){e(this,t);this.border="var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)"}t.prototype.render=function(){return n(r,{style:{display:"contents"}},n("tr",{style:{border:this.border}},n("slot",null)))};return t}())}}}));
@@ -1 +1 @@
1
- import{r as s,h as t}from"./p-c7c11325.js";import{n as o}from"./p-63e29387.js";import{i as e,j as a}from"./p-0ec54f97.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-6dc742bc.js";import{c as i}from"./p-cef45012.js";import"./p-49b20dae.js";import"./p-204861a6.js";import{P as n}from"./p-240bec23.js";import{u as l}from"./p-e711d0e9.js";const c=class{constructor(t){s(this,t),this.ignored=!0,this.nextPage="/",this.emailLabel="Email",this.passwordLabel="Password",this.submitLabel="Sign In",this.forgotPasswordPath="/forgotPassword",this.forgotPasswordLabel="Forgot Password?",this.registerLabel="Register",this.registerPath="/register",this.pageLabel="Sign in to your account",this.networkErrorMessage="An error occurred while logging you in. Please refresh the page and try again.",this.googleUserNotRegisteredError="Your Google account has not registered on our platform. Please complete the registration process with your Google account.",this.registerCTA="Don't have an account?",o(this)}disconnectedCallback(){}render(){const{states:s,callbacks:o}=e()?r({states:{error:"",loading:!1,forgotPasswordPath:"/forgotPassword",registerPath:"/register",showLoginForm:"manual"},callbacks:{googleSubmit:async()=>{console.log("google submit")},submit:async()=>{console.log("submit")}},content:{googleButton:null}},this.demoData||{},{arrayMerge:(s,t)=>t}):l(this),c=i({RegisterButton:{"&::part(label)":{padding:"0"}}}),g=c.toString(),h={forgotPasswordButton:t("slot",{name:"forgotPassword"},t("a",{onClick:()=>a.push(s.forgotPasswordPath)},this.forgotPasswordLabel)),googleButton:t("sqm-google-sign-in",{onInitComplete:o.googleSubmit}),secondaryButton:t("slot",{name:"secondaryButton"},t("style",null,g),t("span",null,this.registerCTA," ",t("sl-button",{size:"large",type:"text",disabled:s.loading,onClick:()=>a.push(s.registerPath),className:c.classes.RegisterButton},this.registerLabel))),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel};return t(n,{states:s,callbacks:o,content:h})}};export{c as sqm_portal_google_login}
1
+ import{r as s,h as t}from"./p-c7c11325.js";import{n as o}from"./p-63e29387.js";import{i as e,j as a}from"./p-0ec54f97.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-9ec99ced.js";import{c as i}from"./p-cef45012.js";import"./p-49b20dae.js";import"./p-204861a6.js";import{P as n}from"./p-240bec23.js";import{u as l}from"./p-44fc6029.js";const c=class{constructor(t){s(this,t),this.ignored=!0,this.nextPage="/",this.emailLabel="Email",this.passwordLabel="Password",this.submitLabel="Sign In",this.forgotPasswordPath="/forgotPassword",this.forgotPasswordLabel="Forgot Password?",this.registerLabel="Register",this.registerPath="/register",this.pageLabel="Sign in to your account",this.networkErrorMessage="An error occurred while logging you in. Please refresh the page and try again.",this.googleUserNotRegisteredError="Your Google account has not registered on our platform. Please complete the registration process with your Google account.",this.registerCTA="Don't have an account?",o(this)}disconnectedCallback(){}render(){const{states:s,callbacks:o}=e()?r({states:{error:"",loading:!1,forgotPasswordPath:"/forgotPassword",registerPath:"/register",showLoginForm:"manual"},callbacks:{googleSubmit:async()=>{console.log("google submit")},submit:async()=>{console.log("submit")}},content:{googleButton:null}},this.demoData||{},{arrayMerge:(s,t)=>t}):l(this),c=i({RegisterButton:{"&::part(label)":{padding:"0"}}}),g=c.toString(),h={forgotPasswordButton:t("slot",{name:"forgotPassword"},t("a",{onClick:()=>a.push(s.forgotPasswordPath)},this.forgotPasswordLabel)),googleButton:t("sqm-google-sign-in",{onInitComplete:o.googleSubmit}),secondaryButton:t("slot",{name:"secondaryButton"},t("style",null,g),t("span",null,this.registerCTA," ",t("sl-button",{size:"large",type:"text",disabled:s.loading,onClick:()=>a.push(s.registerPath),className:c.classes.RegisterButton},this.registerLabel))),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel};return t(n,{states:s,callbacks:o,content:h})}};export{c as sqm_portal_google_login}
@@ -1 +1 @@
1
- System.register(["./p-59b028db.system.js","./p-e0a724dd.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-1a673057.system.js"],(function(e){"use strict";var s,t,a,i,n,r;return{setters:[function(e){s=e.h},function(e){t=e.i},function(e){a=e.k;i=e.y},function(e){n=e._},function(e){r=e.c}],execute:function(){e({R:d,u:f});var l={IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}};var o=r(l);var c=o.toString();function d(e,i){var r=e.missingProps,l=e.heading,d=l===void 0?"There was a problem loading this section":l,u=e.subheading,g=u===void 0?"There was a technical problem that prevented this section from loading. Please contact us with the link to this page.":u,f=e.description,m=f===void 0?"Error occured while loading <{tagName}>. Values for the following attributes are missing:":f;if(!r)return false;var p=n();var v=a(false),h=v[0],y=v[1];return s("sl-alert",{type:"danger",open:true},s("style",{type:"text/css"},c),s("div",{slot:"icon",class:o.classes.IconStyle},s("sl-icon",{name:"exclamation-octagon"})),s("div",{class:o.classes.DivStyle},s("h2",{class:o.classes.Heading},t.formatMessage({id:"error-heading",defaultMessage:d})),s("p",null,t.formatMessage({id:"error-subheading",defaultMessage:g}))),s("details",{class:o.classes.Details},s("summary",{onClick:function(){return y(!h)}},h?"Less":"More"," details"),s("p",null,t.formatMessage({id:"error-description",defaultMessage:m},{tagName:p.tagName.toLowerCase()})),s("ul",null,r.map((function(e){return s("li",null,s("strong",null,e.attribute))})))),s("div",{class:o.classes.Children},i))}var u=e("L","sq:lead-form-state");var g="sq:lead-form-state-internal";function f(e){var s=n();var t=i(s,u,e),a=t[0],r=t[1];i(s,g,[a,r]);return{leadFormState:a,setLeadFormState:r}}}}}));
1
+ System.register(["./p-59b028db.system.js","./p-f3ccba80.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-1a673057.system.js"],(function(e){"use strict";var s,t,a,i,n,r;return{setters:[function(e){s=e.h},function(e){t=e.i},function(e){a=e.k;i=e.y},function(e){n=e._},function(e){r=e.c}],execute:function(){e({R:d,u:g});var l={IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}};var o=r(l);var c=o.toString();function d(e,i){var r=e.missingProps,l=e.heading,d=l===void 0?"There was a problem loading this section":l,u=e.subheading,f=u===void 0?"There was a technical problem that prevented this section from loading. Please contact us with the link to this page.":u,g=e.description,m=g===void 0?"Error occured while loading <{tagName}>. Values for the following attributes are missing:":g;if(!r)return false;var p=n();var v=a(false),h=v[0],y=v[1];return s("sl-alert",{type:"danger",open:true},s("style",{type:"text/css"},c),s("div",{slot:"icon",class:o.classes.IconStyle},s("sl-icon",{name:"exclamation-octagon"})),s("div",{class:o.classes.DivStyle},s("h2",{class:o.classes.Heading},t.formatMessage({id:"error-heading",defaultMessage:d})),s("p",null,t.formatMessage({id:"error-subheading",defaultMessage:f}))),s("details",{class:o.classes.Details},s("summary",{onClick:function(){return y(!h)}},h?"Less":"More"," details"),s("p",null,t.formatMessage({id:"error-description",defaultMessage:m},{tagName:p.tagName.toLowerCase()})),s("ul",null,r.map((function(e){return s("li",null,s("strong",null,e.attribute))})))),s("div",{class:o.classes.Children},i))}var u=e("L","sq:lead-form-state");var f="sq:lead-form-state-internal";function g(e){var s=n();var t=i(s,u,e),a=t[0],r=t[1];i(s,f,[a,r]);return{leadFormState:a,setLeadFormState:r}}}}}));
@@ -1 +1 @@
1
- System.register(["./p-59b028db.system.js","./p-e0a724dd.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(e){"use strict";var a,i,t,l,r;return{setters:[function(e){a=e.h},function(e){i=e.i},function(e){t=e.j;l=e.a},function(e){r=e.E}],execute:function(){e("L",u);var s={ErrorStyle:r,FieldContainer:{"margin-bottom":"var(--sl-spacing-medium)"}};var n="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n";t.setup(l());var d=t.createStyleSheet(s);var o=d.toString();function u(e){var t,l,r,s,u,v;var f=e.states,c=e.content;var p=function(e){var a=e.fieldLabel;return i.formatMessage({id:"requiredFieldErrorMessage-"+a,defaultMessage:c.requiredFieldErrorMessage},{fieldLabel:a})};return a("div",{class:d.classes.FieldContainer,part:"sqm-base"},a("style",{type:"text/css"},n,o),a("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:"/"+c.fieldName,type:c.fieldType,label:""+c.fieldLabel+(c.fieldOptional?" "+c.optionalLabel:"")},!c.fieldOptional?{required:true}:[],{disabled:((t=f.leadFormState)===null||t===void 0?void 0:t.loading)||((l=f.leadFormState)===null||l===void 0?void 0:l.disabled),validationError:function(e){var a=e.value;if(!a&&!c.fieldOptional){return p({fieldLabel:c.fieldLabel})}}},((s=(r=f.leadFormState)===null||r===void 0?void 0:r.validationErrors)===null||s===void 0?void 0:s[c.fieldName])?{class:d.classes.ErrorStyle,helpText:((v=(u=f.leadFormState)===null||u===void 0?void 0:u.validationErrors)===null||v===void 0?void 0:v[c.fieldName])||c.requiredFieldErrorMessage}:[])))}}}}));
1
+ System.register(["./p-59b028db.system.js","./p-f3ccba80.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(e){"use strict";var a,i,t,l,r;return{setters:[function(e){a=e.h},function(e){i=e.i},function(e){t=e.j;l=e.a},function(e){r=e.E}],execute:function(){e("L",u);var s={ErrorStyle:r,FieldContainer:{"margin-bottom":"var(--sl-spacing-medium)"}};var n="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n";t.setup(l());var o=t.createStyleSheet(s);var d=o.toString();function u(e){var t,l,r,s,u,v;var f=e.states,c=e.content;var p=function(e){var a=e.fieldLabel;return i.formatMessage({id:"requiredFieldErrorMessage-"+a,defaultMessage:c.requiredFieldErrorMessage},{fieldLabel:a})};return a("div",{class:o.classes.FieldContainer,part:"sqm-base"},a("style",{type:"text/css"},n,d),a("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:"/"+c.fieldName,type:c.fieldType,label:""+c.fieldLabel+(c.fieldOptional?" "+c.optionalLabel:"")},!c.fieldOptional?{required:true}:[],{disabled:((t=f.leadFormState)===null||t===void 0?void 0:t.loading)||((l=f.leadFormState)===null||l===void 0?void 0:l.disabled),validationError:function(e){var a=e.value;if(!a&&!c.fieldOptional){return p({fieldLabel:c.fieldLabel})}}},((s=(r=f.leadFormState)===null||r===void 0?void 0:r.validationErrors)===null||s===void 0?void 0:s[c.fieldName])?{class:o.classes.ErrorStyle,helpText:((v=(u=f.leadFormState)===null||u===void 0?void 0:u.validationErrors)===null||v===void 0?void 0:v[c.fieldName])||c.requiredFieldErrorMessage}:[])))}}}}));
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-60f1cca2.system.js","./p-1a673057.system.js","./p-2403c6e1.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,c,u,l,f;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.n},function(e){r=e.d;s=e.J;a=e.w;o=e.b;c=e.i},function(e){u=e.c},function(e){l=e.g},function(){},function(e){f=e.L}],execute:function(){var d=r.gql(__makeTemplateObject(["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"],["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"]));function m(e){var t,n;var i=s();var r=a(d,{},!i),c=r.loading,u=r.data;var l=function(){o(undefined)};var f=(t=e.userIdentificationText)===null||t===void 0?void 0:t.replace("{email}",(n=u===null||u===void 0?void 0:u.viewer)===null||n===void 0?void 0:n.email);return __assign({loading:c,onSwitchClick:l,filledInEmailText:f},e)}var h=e("sqm_logout_current_user",function(){function e(e){t(this,e);this.userIdentificationText="{email}";this.switchUserText="not you?";this.emailErrorText="Error fetching email";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?v(this):m(l(this));var t={userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText,emailErrorText:this.emailErrorText};return n(f,Object.assign({},e,t))};return e}());function v(e){return u({onSwitchClick:function(){return o(undefined)},filledInEmailText:"john@example.com",switchUserText:e.switchUserText,emailErrorText:e.emailErrorText,loading:false},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-171310d9.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-2403c6e1.system.js"],(function(e){"use strict";var t,n,i,r,s,a,o,c,u,l,f;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.n},function(e){r=e.d;s=e.J;a=e.w;o=e.b;c=e.i},function(e){u=e.c},function(e){l=e.g},function(){},function(e){f=e.L}],execute:function(){var d=r.gql(__makeTemplateObject(["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"],["\n query getUserDetails {\n viewer {\n ... on User {\n id\n accountId\n email\n }\n }\n }\n"]));function m(e){var t,n;var i=s();var r=a(d,{},!i),c=r.loading,u=r.data;var l=function(){o(undefined)};var f=(t=e.userIdentificationText)===null||t===void 0?void 0:t.replace("{email}",(n=u===null||u===void 0?void 0:u.viewer)===null||n===void 0?void 0:n.email);return __assign({loading:c,onSwitchClick:l,filledInEmailText:f},e)}var h=e("sqm_logout_current_user",function(){function e(e){t(this,e);this.userIdentificationText="{email}";this.switchUserText="not you?";this.emailErrorText="Error fetching email";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?v(this):m(l(this));var t={userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText,emailErrorText:this.emailErrorText};return n(f,Object.assign({},e,t))};return e}());function v(e){return u({onSwitchClick:function(){return o(undefined)},filledInEmailText:"john@example.com",switchUserText:e.switchUserText,emailErrorText:e.emailErrorText,loading:false},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));