@saasquatch/mint-components 1.15.0-7 → 1.15.0-71

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 (918) hide show
  1. package/dist/cjs/{GenericTableView-f0e9c531.js → GenericTableView-a9845e80.js} +6 -6
  2. package/dist/cjs/IndirectTaxDetailsView-b3b7bb6e.js +646 -0
  3. package/dist/cjs/{ShadowViewAddon-e666dc8b.js → ShadowViewAddon-232eaf8b.js} +1469 -1399
  4. package/dist/cjs/{copy-text-view-7441206d.js → copy-text-view-e5223a96.js} +19 -8
  5. package/dist/cjs/data-d4339c2e.js +137 -0
  6. package/dist/cjs/{stencil-hooks.module-3a336b0f.js → dom-context-hooks.module-7fa676ae.js} +18 -18
  7. package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-ace50780.js} +5 -3
  8. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  9. package/dist/cjs/{global-124aec2c.js → global-16279e95.js} +12152 -11932
  10. package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
  11. package/dist/cjs/{index.module-ee84433d.js → index.module-4f54e412.js} +191 -191
  12. package/dist/cjs/loader.cjs.js +5 -5
  13. package/dist/cjs/{luxon-2926d85f.js → luxon-949beaf2.js} +2 -2
  14. package/dist/cjs/mint-components.cjs.js +5 -5
  15. package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
  16. package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-df37c8a3.js} +2 -2
  17. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  18. package/dist/cjs/{re-render-b324deab.js → re-render-d516138a.js} +4 -4
  19. package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +871 -2415
  20. package/dist/cjs/{sqm-base-registration-form-view-1b2440c3.js → sqm-base-registration-form-view-8847804c.js} +3 -3
  21. package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_43.cjs.entry.js} +1128 -299
  22. package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-5e85ac51.js} +2 -2
  23. package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
  24. package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
  25. package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
  26. package/dist/cjs/sqm-email-verification.cjs.entry.js +152 -28
  27. package/dist/cjs/sqm-empty_4.cjs.entry.js +57 -63
  28. package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
  29. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
  30. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
  31. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
  33. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
  34. package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
  35. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
  36. package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
  37. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  38. package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +56 -0
  39. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +31 -8
  40. package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-de90ef03.js} +18 -8
  41. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +25 -9
  42. package/dist/cjs/sqm-pagination_3.cjs.entry.js +97 -70
  43. package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
  44. package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
  45. package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-07e4343f.js} +2 -2
  46. package/dist/cjs/{sqm-portal-email-verification-view-f5ce25cc.js → sqm-portal-email-verification-view-e2590f1b.js} +4 -4
  47. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
  48. package/dist/cjs/{sqm-portal-forgot-password-view-b986086e.js → sqm-portal-forgot-password-view-0a8d3243.js} +24 -16
  49. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +39 -10
  50. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
  51. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
  52. package/dist/cjs/{sqm-portal-login-view-84e99287.js → sqm-portal-login-view-bb50304c.js} +4 -4
  53. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  54. package/dist/cjs/{sqm-portal-profile-view-07d13061.js → sqm-portal-profile-view-5310d41a.js} +4 -4
  55. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
  56. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  57. package/dist/cjs/{sqm-portal-registration-form-view-4377d849.js → sqm-portal-registration-form-view-5a96c2f5.js} +3 -3
  58. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
  59. package/dist/cjs/{sqm-portal-reset-password-view-52fc50fe.js → sqm-portal-reset-password-view-25eb2099.js} +3 -3
  60. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
  61. package/dist/cjs/{sqm-portal-verify-email-view-4f837226.js → sqm-portal-verify-email-view-1c4e781f.js} +3 -3
  62. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
  63. package/dist/cjs/{sqm-qr-code-view-3da9ed28.js → sqm-qr-code-view-0c3b2f48.js} +9 -4
  64. package/dist/cjs/sqm-qr-code.cjs.entry.js +12 -13
  65. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +133 -44
  66. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
  67. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
  68. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +82 -35
  69. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  70. package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
  71. package/dist/cjs/sqm-stencilbook.cjs.entry.js +13753 -12462
  72. package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
  73. package/dist/cjs/sqm-tabs.cjs.entry.js +27 -13
  74. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1254 -0
  75. package/dist/cjs/sqm-text-span-view-7a61ae4c.js +63 -0
  76. package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
  77. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +19 -11
  78. package/dist/cjs/sqm-widget-verification.cjs.entry.js +24 -14
  79. package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-966c9041.js} +5 -5
  80. package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-08bcb487.js} +4 -4
  81. package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-3b34dab1.js} +13 -10
  82. package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-6aa864ef.js} +4 -4
  83. package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-75b647fe.js} +6 -6
  84. package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-11cdf43b.js} +3 -3
  85. package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-90d4d6e9.js} +10 -10
  86. package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-bbee6e7b.js} +6 -6
  87. package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-9dd3997a.js} +6 -6
  88. package/dist/cjs/{utilities-78f5e169.js → utilities-9a0c5e91.js} +4 -4
  89. package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
  90. package/dist/cjs/utils-d5821f8d.js +105 -0
  91. package/dist/collection/collection-manifest.json +1 -1
  92. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
  93. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
  94. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +162 -2
  95. package/dist/collection/components/sqm-big-stat/useBigStat.js +22 -6
  96. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +13 -4
  97. package/dist/collection/components/sqm-brand/sqm-brand.js +12 -4
  98. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
  99. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -0
  100. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  101. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +169 -1
  102. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
  103. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
  104. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +60 -3
  105. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  106. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
  107. package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
  108. package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
  109. package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
  110. package/dist/collection/components/sqm-hero/sqm-hero-view.js +14 -6
  111. package/dist/collection/components/sqm-hero/sqm-hero.js +26 -1
  112. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
  113. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
  114. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -3
  115. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
  116. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +2 -1
  117. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
  118. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
  119. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
  120. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +6 -3
  121. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
  122. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +10 -4
  123. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +201 -60
  124. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  125. package/dist/collection/components/sqm-link-button/sqm-link-button.js +1 -0
  126. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +2 -1
  127. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +28 -3
  128. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
  129. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +17 -7
  130. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
  131. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +18 -7
  132. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
  133. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
  134. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  135. package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -2
  136. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
  137. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
  138. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
  139. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  140. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
  141. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  142. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
  143. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
  144. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +21 -13
  145. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
  146. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
  147. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +102 -2
  148. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
  149. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
  150. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  151. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  152. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  153. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
  154. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
  155. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +5 -3
  156. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +4 -4
  157. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -1
  158. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
  159. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +34 -31
  160. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +79 -11
  161. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
  162. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +169 -1
  163. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
  164. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  165. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
  166. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
  167. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +55 -18
  168. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +62 -7
  169. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
  170. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
  171. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
  172. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
  173. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -2
  174. package/dist/collection/components/sqm-referral-table/mockReferralData.js +1 -1
  175. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +3 -2
  176. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -10
  177. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
  178. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +31 -5
  179. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
  180. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +39 -42
  181. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +1 -2
  182. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -3
  183. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -3
  184. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -4
  185. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +57 -8
  186. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +3 -2
  187. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +3 -2
  188. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
  189. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -2
  190. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +5 -3
  191. package/dist/collection/components/sqm-rewards-table/mockRewardData.js +1 -1
  192. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
  193. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  194. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
  195. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
  196. package/dist/collection/components/sqm-share-button/sqm-share-button.js +56 -10
  197. package/dist/collection/components/sqm-share-code/sqm-share-code.js +34 -4
  198. package/dist/collection/components/sqm-share-link/sqm-share-link.js +39 -5
  199. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +21 -9
  200. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
  201. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +198 -0
  202. package/dist/collection/components/sqm-stencilbook/Themes.js +325 -33
  203. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +81 -99
  204. package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
  205. package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
  206. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +16 -2
  207. package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
  208. package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
  209. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
  210. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +18 -20
  211. package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -8
  212. package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
  213. package/dist/collection/components/sqm-text/Text.stories.js +12 -0
  214. package/dist/collection/components/sqm-text/sqm-text.js +100 -49
  215. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
  216. package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
  217. package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
  218. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  219. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
  220. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  221. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
  222. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  223. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +138 -14
  224. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
  225. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +41 -8
  226. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
  227. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +30 -9
  228. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
  229. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +54 -58
  230. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +108 -5
  231. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
  232. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
  233. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +59 -61
  234. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +82 -4
  235. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -2
  236. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -62
  237. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  238. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
  239. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +24 -27
  240. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
  241. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  242. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
  243. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
  244. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
  245. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
  246. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +284 -30
  247. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
  248. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +96 -92
  249. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +19 -4
  250. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
  251. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
  252. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
  253. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +166 -52
  254. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  255. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
  256. package/dist/collection/components/views/copy-text-view.js +17 -6
  257. package/dist/collection/components/views/email-registration-view.js +3 -1
  258. package/dist/collection/global/global.js +27 -12
  259. package/dist/collection/global/mixins.js +6 -6
  260. package/dist/collection/global/styles.js +307 -134
  261. package/dist/collection/global/styles.ts +396 -135
  262. package/dist/collection/insertfont.js +18 -0
  263. package/dist/collection/stories/PortalTemplates.stories.js +22 -30
  264. package/dist/collection/tables/GenericTableView.js +4 -4
  265. package/dist/collection/utils/parseStates.js +12 -0
  266. package/dist/collection/utils/utils.js +4 -0
  267. package/dist/esm/{GenericTableView-e7addb2b.js → GenericTableView-e43d310f.js} +6 -6
  268. package/dist/esm/IndirectTaxDetailsView-451cf5e2.js +639 -0
  269. package/dist/esm/{ShadowViewAddon-7c10e0ee.js → ShadowViewAddon-31e71683.js} +1468 -1397
  270. package/dist/esm/{copy-text-view-717050d5.js → copy-text-view-8d1713d7.js} +19 -8
  271. package/dist/esm/data-ee3ae298.js +121 -0
  272. package/dist/esm/{stencil-hooks.module-4bc38af4.js → dom-context-hooks.module-63370afd.js} +13 -13
  273. package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-1f587f8b.js} +5 -3
  274. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  275. package/dist/esm/{global-6dc825bc.js → global-2f3b2adb.js} +11849 -11630
  276. package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
  277. package/dist/esm/{index.module-89a79f66.js → index.module-38dad6c9.js} +153 -153
  278. package/dist/esm/loader.js +5 -5
  279. package/dist/esm/{luxon-8d51c92b.js → luxon-bbf75a9d.js} +1 -1
  280. package/dist/esm/mint-components.js +5 -5
  281. package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
  282. package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +2 -2
  283. package/dist/esm/raisins-plop-target.entry.js +1 -1
  284. package/dist/esm/{re-render-cc945f38.js → re-render-9c90767d.js} +2 -2
  285. package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +720 -2257
  286. package/dist/esm/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +3 -3
  287. package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_43.entry.js} +1040 -213
  288. package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +2 -2
  289. package/dist/esm/sqm-close-button.entry.js +5 -5
  290. package/dist/esm/sqm-code-verification.entry.js +348 -0
  291. package/dist/esm/sqm-context-router.entry.js +4 -4
  292. package/dist/esm/sqm-email-verification.entry.js +145 -21
  293. package/dist/esm/sqm-empty_4.entry.js +54 -60
  294. package/dist/esm/sqm-form-message.entry.js +7 -7
  295. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  296. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  297. package/dist/esm/sqm-header-logo.entry.js +2 -2
  298. package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
  299. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
  300. package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
  301. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  302. package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  303. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  304. package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +54 -0
  305. package/dist/esm/sqm-navigation-sidebar-item.entry.js +30 -7
  306. package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-0a2ec560.js} +18 -8
  307. package/dist/esm/sqm-navigation-sidebar.entry.js +22 -6
  308. package/dist/esm/sqm-pagination_3.entry.js +91 -64
  309. package/dist/esm/sqm-password-field.entry.js +6 -6
  310. package/dist/esm/sqm-popup-container.entry.js +4 -4
  311. package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +2 -2
  312. package/dist/esm/{sqm-portal-email-verification-view-d96d6c43.js → sqm-portal-email-verification-view-e68275d7.js} +4 -4
  313. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  314. package/dist/esm/{sqm-portal-forgot-password-view-50444a7c.js → sqm-portal-forgot-password-view-0e795cdd.js} +24 -16
  315. package/dist/esm/sqm-portal-forgot-password.entry.js +36 -7
  316. package/dist/esm/sqm-portal-google-login.entry.js +8 -8
  317. package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
  318. package/dist/esm/{sqm-portal-login-view-37c85d04.js → sqm-portal-login-view-7670cd86.js} +4 -4
  319. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  320. package/dist/esm/{sqm-portal-profile-view-4ce1c7c3.js → sqm-portal-profile-view-fe781f47.js} +4 -4
  321. package/dist/esm/sqm-portal-profile.entry.js +8 -8
  322. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  323. package/dist/esm/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +3 -3
  324. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  325. package/dist/esm/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +3 -3
  326. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  327. package/dist/esm/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +3 -3
  328. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  329. package/dist/esm/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-97124a66.js} +8 -3
  330. package/dist/esm/sqm-qr-code.entry.js +6 -7
  331. package/dist/esm/sqm-referral-table_11.entry.js +122 -33
  332. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  333. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  334. package/dist/esm/sqm-rewards-table_9.entry.js +70 -23
  335. package/dist/esm/sqm-route.entry.js +1 -1
  336. package/dist/esm/sqm-scroll.entry.js +2 -2
  337. package/dist/esm/sqm-stencilbook.entry.js +13578 -12287
  338. package/dist/esm/sqm-tab.entry.js +4 -4
  339. package/dist/esm/sqm-tabs.entry.js +24 -10
  340. package/dist/esm/sqm-tax-and-cash.entry.js +1250 -0
  341. package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
  342. package/dist/esm/sqm-text-span.entry.js +6 -6
  343. package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
  344. package/dist/esm/sqm-widget-verification.entry.js +21 -11
  345. package/dist/esm/{useChildElements-7945ae56.js → useChildElements-4e70ac0e.js} +2 -2
  346. package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-0f04459e.js} +3 -3
  347. package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +10 -7
  348. package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-d0720c81.js} +3 -3
  349. package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-afc0171e.js} +3 -3
  350. package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-311e6d72.js} +2 -2
  351. package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-65a01a6a.js} +5 -5
  352. package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-18c2cea7.js} +2 -2
  353. package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-f9413de9.js} +2 -2
  354. package/dist/esm/{utilities-5b0ca040.js → utilities-ad9c2893.js} +2 -2
  355. package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
  356. package/dist/esm/utils-c416c7e4.js +97 -0
  357. package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
  358. package/dist/esm-es5/IndirectTaxDetailsView-451cf5e2.js +1 -0
  359. package/dist/esm-es5/ShadowViewAddon-31e71683.js +1 -0
  360. package/dist/esm-es5/copy-text-view-8d1713d7.js +1 -0
  361. package/dist/esm-es5/data-ee3ae298.js +1 -0
  362. package/dist/esm-es5/dom-context-hooks.module-63370afd.js +53 -0
  363. package/dist/esm-es5/email-registration-view-1f587f8b.js +1 -0
  364. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  365. package/dist/esm-es5/{global-6dc825bc.js → global-2f3b2adb.js} +5 -5
  366. package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
  367. package/dist/esm-es5/index.module-38dad6c9.js +1 -0
  368. package/dist/esm-es5/loader.js +1 -1
  369. package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
  370. package/dist/esm-es5/mint-components.js +1 -1
  371. package/dist/esm-es5/mixins-f750863a.js +1 -0
  372. package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +1 -1
  373. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  374. package/dist/esm-es5/re-render-9c90767d.js +1 -0
  375. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
  376. package/dist/esm-es5/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +1 -1
  377. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -0
  378. package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +1 -1
  379. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  380. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  381. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  382. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  383. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  384. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  385. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  386. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  387. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  388. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  389. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
  390. package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
  391. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  392. package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  393. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  394. package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +1 -0
  395. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  396. package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +1 -0
  397. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  398. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  399. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  400. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  401. package/dist/esm-es5/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +1 -1
  402. package/dist/esm-es5/{sqm-portal-email-verification-view-d96d6c43.js → sqm-portal-email-verification-view-e68275d7.js} +1 -1
  403. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  404. package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +1 -0
  405. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  406. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  407. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  408. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
  409. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  410. package/dist/esm-es5/{sqm-portal-profile-view-4ce1c7c3.js → sqm-portal-profile-view-fe781f47.js} +1 -1
  411. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  412. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  413. package/dist/esm-es5/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
  414. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  415. package/dist/esm-es5/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
  416. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  417. package/dist/esm-es5/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +1 -1
  418. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  419. package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
  420. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  421. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  422. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  423. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  424. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  425. package/dist/esm-es5/sqm-route.entry.js +1 -1
  426. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  427. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  428. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  429. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  430. package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
  431. package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
  432. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  433. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  434. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  435. package/dist/esm-es5/useChildElements-4e70ac0e.js +1 -0
  436. package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +1 -0
  437. package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +2 -2
  438. package/dist/esm-es5/usePortalLogin-d0720c81.js +1 -0
  439. package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +1 -0
  440. package/dist/esm-es5/useReferralCodes-311e6d72.js +1 -0
  441. package/dist/esm-es5/useReferralTable-65a01a6a.js +1 -0
  442. package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +1 -0
  443. package/dist/esm-es5/useVerificationEmail-f9413de9.js +1 -0
  444. package/dist/esm-es5/utilities-ad9c2893.js +1 -0
  445. package/dist/esm-es5/utils-03188de2.js +1 -0
  446. package/dist/esm-es5/utils-c416c7e4.js +1 -0
  447. package/dist/mint-components/global/styles.ts +396 -135
  448. package/dist/mint-components/mint-components.esm.js +1 -1
  449. package/dist/mint-components/mint-components.js +1 -1
  450. package/dist/mint-components/p-000c91b1.js +1 -0
  451. package/dist/mint-components/{p-9b6a0152.system.entry.js → p-002e6205.system.entry.js} +1 -1
  452. package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
  453. package/dist/mint-components/p-0797a946.js +1 -0
  454. package/dist/mint-components/{p-e145e4f8.js → p-07dc6d68.js} +1 -1
  455. package/dist/mint-components/{p-5bedb58c.js → p-08700497.js} +1 -1
  456. package/dist/mint-components/p-0935f9b7.system.js +1 -0
  457. package/dist/mint-components/{p-284e4ed5.entry.js → p-0b0f49ad.entry.js} +1 -1
  458. package/dist/mint-components/p-0bb21f5b.system.entry.js +1 -0
  459. package/dist/mint-components/{p-164a9103.system.entry.js → p-0cba75e6.system.entry.js} +1 -1
  460. package/dist/mint-components/{p-36ffebd8.system.entry.js → p-0d22c0e5.system.entry.js} +1 -1
  461. package/dist/mint-components/p-0e532b53.entry.js +1 -0
  462. package/dist/mint-components/{p-480e08e9.js → p-0e59a91e.js} +2 -2
  463. package/dist/mint-components/p-0ea61502.system.js +1 -0
  464. package/dist/mint-components/p-100c878b.system.entry.js +1 -0
  465. package/dist/mint-components/p-1337f47c.entry.js +1 -0
  466. package/dist/mint-components/p-1363c4ab.system.js +1 -0
  467. package/dist/mint-components/p-14128c84.system.entry.js +1 -0
  468. package/dist/mint-components/{p-7c2b9fe4.system.js → p-15012f59.system.js} +1 -1
  469. package/dist/mint-components/p-15bfd7e2.system.js +1 -0
  470. package/dist/mint-components/p-1a278658.entry.js +1 -0
  471. package/dist/mint-components/{p-dbc0e4f8.system.js → p-1c1f4ce7.system.js} +1 -1
  472. package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
  473. package/dist/mint-components/p-204861a6.js +1 -0
  474. package/dist/mint-components/p-209ea185.js +1 -0
  475. package/dist/mint-components/p-21fab6ef.system.js +1 -0
  476. package/dist/mint-components/{p-3af1ec4c.entry.js → p-22c11f0e.entry.js} +1 -1
  477. package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-22d20816.system.entry.js} +1 -1
  478. package/dist/mint-components/p-2403c6e1.system.js +1 -0
  479. package/dist/mint-components/p-240bec23.js +1 -0
  480. package/dist/mint-components/p-246e67d4.system.entry.js +1 -0
  481. package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-258f4e5e.system.entry.js} +1 -1
  482. package/dist/mint-components/p-2a8e2f28.system.js +1 -0
  483. package/dist/mint-components/p-2c310c7d.entry.js +1 -0
  484. package/dist/mint-components/p-3055141d.entry.js +11 -0
  485. package/dist/mint-components/p-33703509.system.entry.js +1 -0
  486. package/dist/mint-components/p-36b1414b.system.js +1 -0
  487. package/dist/mint-components/{p-c0f19490.js → p-3787a4d6.js} +1 -1
  488. package/dist/mint-components/p-3b11d902.entry.js +258 -0
  489. package/dist/mint-components/p-3cb249c3.js +1 -0
  490. package/dist/mint-components/p-3d1b91a1.system.entry.js +1 -0
  491. package/dist/mint-components/p-3d99fa43.entry.js +1 -0
  492. package/dist/mint-components/{p-13ed8586.system.js → p-3dc34570.system.js} +1 -1
  493. package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
  494. package/dist/mint-components/p-404daf1c.entry.js +144 -0
  495. package/dist/mint-components/p-40c01a5a.system.js +1 -0
  496. package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
  497. package/dist/mint-components/{p-f4a72903.system.entry.js → p-4271f436.system.entry.js} +1 -1
  498. package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
  499. package/dist/mint-components/p-42da8239.system.js +1 -0
  500. package/dist/mint-components/p-434f9eaa.system.entry.js +1 -0
  501. package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
  502. package/dist/mint-components/{p-301ddcaa.system.entry.js → p-485e2d9f.system.entry.js} +1 -1
  503. package/dist/mint-components/p-49b20dae.js +1 -0
  504. package/dist/mint-components/p-49e92a7c.js +1233 -0
  505. package/dist/mint-components/{p-6d2f5a1d.js → p-4d19270b.js} +2 -2
  506. package/dist/mint-components/p-4d741ccd.js +1 -0
  507. package/dist/mint-components/p-4eee6c40.entry.js +93 -0
  508. package/dist/mint-components/p-4f5329a2.system.js +53 -0
  509. package/dist/mint-components/{p-cf8677ea.js → p-577a4c97.js} +1 -1
  510. package/dist/mint-components/{p-59274a91.system.js → p-578a27c8.system.js} +1 -1
  511. package/dist/mint-components/p-5800e049.entry.js +1 -0
  512. package/dist/mint-components/p-587115cb.system.entry.js +1 -0
  513. package/dist/mint-components/p-59b028db.system.js +1 -0
  514. package/dist/mint-components/p-5ccee28f.system.entry.js +1 -0
  515. package/dist/mint-components/{p-e8ffcc68.entry.js → p-5e0af707.entry.js} +2 -2
  516. package/dist/mint-components/{p-4e526a94.js → p-5ed49bf2.js} +1 -1
  517. package/dist/mint-components/p-5fca2bd3.system.entry.js +1 -0
  518. package/dist/mint-components/p-5ff2da11.js +1 -0
  519. package/dist/mint-components/p-621575fa.system.entry.js +1 -0
  520. package/dist/mint-components/p-63e29387.js +42 -0
  521. package/dist/mint-components/{p-ad985d37.system.entry.js → p-64457acd.system.entry.js} +1 -1
  522. package/dist/mint-components/{p-71d7c2a0.system.js → p-64997b59.system.js} +1 -1
  523. package/dist/mint-components/{p-b5fb3826.system.js → p-6578ea31.system.js} +1 -1
  524. package/dist/mint-components/p-672d144e.entry.js +1 -0
  525. package/dist/mint-components/p-67ad2252.system.js +1 -0
  526. package/dist/mint-components/{p-dc52c36a.js → p-68043f30.js} +1 -1
  527. package/dist/mint-components/p-692bacf3.js +1 -0
  528. package/dist/mint-components/{p-9ec99ced.js → p-6951663b.js} +1 -1
  529. package/dist/mint-components/p-69d64372.system.entry.js +1 -0
  530. package/dist/mint-components/p-6ad674c2.js +103 -0
  531. package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
  532. package/dist/mint-components/p-6e069052.entry.js +1 -0
  533. package/dist/mint-components/{p-b7d1469d.system.entry.js → p-7059ee40.system.entry.js} +1 -1
  534. package/dist/mint-components/{p-2ae0e06a.entry.js → p-711bc624.entry.js} +1 -1
  535. package/dist/mint-components/p-71271fbd.system.js +1 -0
  536. package/dist/mint-components/{p-6d9e52c7.system.js → p-7159c51c.system.js} +1 -1
  537. package/dist/mint-components/p-765d0c63.js +394 -0
  538. package/dist/mint-components/p-7752408c.js +1 -0
  539. package/dist/mint-components/p-7970e73a.js +1 -0
  540. package/dist/mint-components/{p-fa37513e.system.entry.js → p-7af4fba0.system.entry.js} +1 -1
  541. package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
  542. package/dist/mint-components/{p-527216de.system.js → p-82505f6e.system.js} +1 -1
  543. package/dist/mint-components/{p-95ae4ab9.system.js → p-82560b78.system.js} +1 -1
  544. package/dist/mint-components/{p-3f7b81b8.js → p-862845d7.js} +2 -2
  545. package/dist/mint-components/p-8a6494c7.system.js +1 -0
  546. package/dist/mint-components/p-8bcdb9a4.entry.js +13 -0
  547. package/dist/mint-components/p-8caef004.js +1 -0
  548. package/dist/mint-components/{p-aaff68dc.entry.js → p-8dc1cd0f.entry.js} +1 -1
  549. package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
  550. package/dist/mint-components/p-8e2bead4.js +1 -0
  551. package/dist/mint-components/p-9049b387.entry.js +1 -0
  552. package/dist/mint-components/{p-2d52e2d7.system.js → p-91014439.system.js} +1 -1
  553. package/dist/mint-components/{p-18425f38.system.entry.js → p-910f56ca.system.entry.js} +1 -1
  554. package/dist/mint-components/p-91fd1cae.system.entry.js +1 -0
  555. package/dist/mint-components/p-9374b5bb.system.entry.js +1 -0
  556. package/dist/mint-components/{p-ccf8c9aa.entry.js → p-94f9fbf7.entry.js} +1 -1
  557. package/dist/mint-components/p-9542a949.entry.js +9 -0
  558. package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
  559. package/dist/mint-components/{p-87c21535.entry.js → p-9aadc253.entry.js} +1 -1
  560. package/dist/mint-components/{p-619c2aa3.entry.js → p-9c2d515d.entry.js} +2 -2
  561. package/dist/mint-components/p-9e297104.entry.js +1 -0
  562. package/dist/mint-components/p-9f82e69d.entry.js +1 -0
  563. package/dist/mint-components/{p-5488fdd9.system.js → p-9fb8b33a.system.js} +1 -1
  564. package/dist/mint-components/{p-8175e85f.system.js → p-a148663a.system.js} +1 -1
  565. package/dist/mint-components/{p-ac9f4085.system.entry.js → p-a2533860.system.entry.js} +1 -1
  566. package/dist/mint-components/p-a41c29cd.system.js +1 -0
  567. package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
  568. package/dist/mint-components/p-a5c9ce6c.entry.js +1 -0
  569. package/dist/mint-components/{p-127e66c2.system.js → p-a6f4fb03.system.js} +1 -1
  570. package/dist/mint-components/{p-faba3198.entry.js → p-a7ee19dc.entry.js} +1 -1
  571. package/dist/mint-components/{p-abefb7cc.js → p-ac11e10a.js} +1 -1
  572. package/dist/mint-components/{p-8362cb4c.system.entry.js → p-ac2fdad8.system.entry.js} +1 -1
  573. package/dist/mint-components/p-b065215a.entry.js +1 -0
  574. package/dist/mint-components/{p-d6831af5.js → p-b22b7891.js} +1 -1
  575. package/dist/mint-components/p-b2bf7fcb.entry.js +16 -0
  576. package/dist/mint-components/{p-a37541ae.system.entry.js → p-b3112c88.system.entry.js} +1 -1
  577. package/dist/mint-components/{p-345fd28e.system.entry.js → p-b3da317b.system.entry.js} +1 -1
  578. package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
  579. package/dist/mint-components/p-b710c7e0.js +1 -0
  580. package/dist/mint-components/p-b86f944c.entry.js +25 -0
  581. package/dist/mint-components/p-b8fed018.system.js +1 -0
  582. package/dist/mint-components/{p-1a6b7d2a.entry.js → p-b9bccc55.entry.js} +1 -1
  583. package/dist/mint-components/p-bad50dc1.entry.js +1 -0
  584. package/dist/mint-components/{p-a81b507f.entry.js → p-bb627d95.entry.js} +2 -2
  585. package/dist/mint-components/{p-44a82cf3.system.js → p-bcb48c32.system.js} +22 -22
  586. package/dist/mint-components/p-bd288a80.system.js +1 -0
  587. package/dist/mint-components/p-be88596c.system.js +1 -0
  588. package/dist/mint-components/p-bfc16195.system.entry.js +1 -0
  589. package/dist/mint-components/{p-44891949.entry.js → p-c3884e55.entry.js} +1 -1
  590. package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
  591. package/dist/mint-components/p-c4886223.entry.js +1 -0
  592. package/dist/mint-components/p-c786f3b4.entry.js +1 -0
  593. package/dist/mint-components/p-c7965639.entry.js +1 -0
  594. package/dist/mint-components/p-c7c11325.js +1 -0
  595. package/dist/mint-components/p-c9252c59.system.entry.js +1 -0
  596. package/dist/mint-components/p-cab1f502.js +1 -0
  597. package/dist/mint-components/{p-a71b9154.system.js → p-d399162b.system.js} +1 -1
  598. package/dist/mint-components/{p-0559d880.entry.js → p-d5f1df29.entry.js} +1 -1
  599. package/dist/mint-components/p-d785a297.system.entry.js +1 -0
  600. package/dist/mint-components/p-d821418e.system.js +1 -0
  601. package/dist/mint-components/p-d8c5b80a.system.js +1 -0
  602. package/dist/mint-components/{p-d3e5704c.entry.js → p-da34d4f7.entry.js} +1 -1
  603. package/dist/mint-components/p-da3ffd4e.system.entry.js +1 -0
  604. package/dist/mint-components/{p-605c2904.system.entry.js → p-da6fe95f.system.entry.js} +1 -1
  605. package/dist/mint-components/{p-c2fdd608.system.entry.js → p-dbe29e53.system.entry.js} +1 -1
  606. package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
  607. package/dist/mint-components/{p-da7708a7.entry.js → p-e27ff213.entry.js} +1 -1
  608. package/dist/mint-components/p-e539fed3.entry.js +1 -0
  609. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  610. package/dist/mint-components/p-e57d61af.system.js +1 -0
  611. package/dist/mint-components/{p-9209a016.system.entry.js → p-e8dc94cc.system.entry.js} +1 -1
  612. package/dist/mint-components/p-eaeddfe2.system.js +1 -0
  613. package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-ebb487d0.system.entry.js} +1 -1
  614. package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
  615. package/dist/mint-components/p-f0e0d0b9.system.entry.js +1 -0
  616. package/dist/mint-components/p-f0ebccea.system.entry.js +1 -0
  617. package/dist/mint-components/p-f1dc581f.js +1 -0
  618. package/dist/mint-components/{p-05f29f64.js → p-f307b716.js} +1 -1
  619. package/dist/mint-components/p-f6762bb5.entry.js +13 -0
  620. package/dist/mint-components/p-f6baa0c9.system.js +1 -0
  621. package/dist/mint-components/p-f94788ab.system.entry.js +1 -0
  622. package/dist/mint-components/p-f9c7248e.js +1 -0
  623. package/dist/mint-components/{p-cc7af682.system.js → p-fa6fba34.system.js} +2 -2
  624. package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
  625. package/dist/mint-components/{p-4e451f75.js → p-fb5be0c5.js} +1 -1
  626. package/dist/mint-components/p-fb77f662.entry.js +1 -0
  627. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
  628. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
  629. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +41 -0
  630. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
  631. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
  632. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +42 -0
  633. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
  634. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
  635. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +13 -0
  636. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
  637. package/dist/types/components/sqm-hero/Hero.stories.d.ts +1 -0
  638. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +1 -0
  639. package/dist/types/components/sqm-hero/sqm-hero.d.ts +5 -1
  640. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
  641. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
  642. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
  643. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
  644. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
  645. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
  646. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
  647. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
  648. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -0
  649. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
  650. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -1
  651. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +52 -16
  652. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
  653. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +1 -0
  654. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
  655. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
  656. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
  657. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
  658. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
  659. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
  660. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -2
  661. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  662. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
  663. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
  664. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
  665. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
  666. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
  667. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
  668. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
  669. package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
  670. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
  671. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -1
  672. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
  673. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +23 -3
  674. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
  675. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +42 -0
  676. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
  677. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
  678. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
  679. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
  680. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +1 -0
  681. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
  682. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
  683. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
  684. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
  685. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
  686. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
  687. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -1
  688. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
  689. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +457 -437
  690. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
  691. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
  692. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
  693. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
  694. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -1
  695. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +2 -1
  696. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
  697. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +2 -1
  698. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +2 -1
  699. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
  700. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
  701. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
  702. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
  703. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  704. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
  705. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +18 -6
  706. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +10 -2
  707. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +12 -2
  708. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
  709. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
  710. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +9 -0
  711. package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
  712. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
  713. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
  714. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
  715. package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
  716. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
  717. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -5
  718. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
  719. package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
  720. package/dist/types/components/sqm-text/sqm-text.d.ts +12 -0
  721. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
  722. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
  723. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
  724. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
  725. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
  726. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  727. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
  728. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +5 -2
  729. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  730. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -1
  731. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
  732. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
  733. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +7 -1
  734. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
  735. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -2
  736. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
  737. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
  738. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
  739. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +46 -4
  740. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  741. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
  742. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  743. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  744. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  745. package/dist/types/components.d.ts +1093 -87
  746. package/dist/types/global/android.d.ts +7 -0
  747. package/dist/types/global/demo.d.ts +2 -0
  748. package/dist/types/global/global.d.ts +2 -2
  749. package/dist/types/global/mixins.d.ts +12 -12
  750. package/dist/types/global/styles.d.ts +10 -2
  751. package/dist/types/insertfont.d.ts +1 -0
  752. package/dist/types/saasquatch.d.ts +142 -0
  753. package/dist/types/stories/features.d.ts +4 -0
  754. package/dist/types/stories/templates.d.ts +4 -0
  755. package/dist/types/utils/parseStates.d.ts +1 -0
  756. package/dist/types/utils/utils.d.ts +1 -0
  757. package/docs/docs.docx +0 -0
  758. package/docs/raisins.json +1 -1
  759. package/grapesjs/grapesjs.js +1 -1
  760. package/package.json +3 -2
  761. package/dist/cjs/ErrorView-b2fcf954.js +0 -35
  762. package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
  763. package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
  764. package/dist/cjs/sqm-invoice-table-view-f369b0a6.js +0 -2038
  765. package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +0 -10
  766. package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +0 -45
  767. package/dist/cjs/sqm-referred-registration.cjs.entry.js +0 -178
  768. package/dist/cjs/sqm-text-span-view-56e48a78.js +0 -62
  769. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
  770. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
  771. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
  772. package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
  773. package/dist/esm/ErrorView-48e2b969.js +0 -33
  774. package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
  775. package/dist/esm/sqm-asset-card.entry.js +0 -41
  776. package/dist/esm/sqm-invoice-table-view-1bd8afaa.js +0 -2022
  777. package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +0 -8
  778. package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -43
  779. package/dist/esm/sqm-referred-registration.entry.js +0 -174
  780. package/dist/esm/sqm-text-span-view-c577cc60.js +0 -60
  781. package/dist/esm-es5/ErrorView-48e2b969.js +0 -1
  782. package/dist/esm-es5/GenericTableView-e7addb2b.js +0 -1
  783. package/dist/esm-es5/ShadowViewAddon-7c10e0ee.js +0 -1
  784. package/dist/esm-es5/copy-text-view-717050d5.js +0 -1
  785. package/dist/esm-es5/email-registration-view-a7818cf2.js +0 -1
  786. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  787. package/dist/esm-es5/index.module-89a79f66.js +0 -1
  788. package/dist/esm-es5/luxon-8d51c92b.js +0 -1
  789. package/dist/esm-es5/mixins-83f90fa1.js +0 -1
  790. package/dist/esm-es5/re-render-cc945f38.js +0 -1
  791. package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
  792. package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
  793. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
  794. package/dist/esm-es5/sqm-big-stat_41.entry.js +0 -1
  795. package/dist/esm-es5/sqm-invoice-table-view-1bd8afaa.js +0 -1
  796. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
  797. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
  798. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
  799. package/dist/esm-es5/sqm-portal-forgot-password-view-50444a7c.js +0 -1
  800. package/dist/esm-es5/sqm-portal-login-view-37c85d04.js +0 -1
  801. package/dist/esm-es5/sqm-qr-code-view-10b8b4cb.js +0 -1
  802. package/dist/esm-es5/sqm-referred-registration.entry.js +0 -1
  803. package/dist/esm-es5/sqm-text-span-view-c577cc60.js +0 -1
  804. package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +0 -53
  805. package/dist/esm-es5/useChildElements-7945ae56.js +0 -1
  806. package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +0 -1
  807. package/dist/esm-es5/usePortalLogin-ef647a50.js +0 -1
  808. package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +0 -1
  809. package/dist/esm-es5/useReferralCodes-8f75921a.js +0 -1
  810. package/dist/esm-es5/useReferralTable-b3876ed6.js +0 -1
  811. package/dist/esm-es5/useRegistrationFormState-d6f33135.js +0 -1
  812. package/dist/esm-es5/useVerificationEmail-edc318cb.js +0 -1
  813. package/dist/esm-es5/utilities-5b0ca040.js +0 -1
  814. package/dist/esm-es5/utils-334c1e34.js +0 -1
  815. package/dist/mint-components/p-00ed4c2e.entry.js +0 -1
  816. package/dist/mint-components/p-04a6e457.entry.js +0 -1
  817. package/dist/mint-components/p-11519322.system.js +0 -1
  818. package/dist/mint-components/p-11542862.system.entry.js +0 -1
  819. package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
  820. package/dist/mint-components/p-14a65f29.system.js +0 -1
  821. package/dist/mint-components/p-1513309d.entry.js +0 -1
  822. package/dist/mint-components/p-19ccb4ce.js +0 -1
  823. package/dist/mint-components/p-1b3ab15a.system.entry.js +0 -1
  824. package/dist/mint-components/p-1fa9ed0d.system.entry.js +0 -1
  825. package/dist/mint-components/p-208d8d75.system.entry.js +0 -1
  826. package/dist/mint-components/p-217514ac.system.js +0 -1
  827. package/dist/mint-components/p-229f797b.js +0 -1
  828. package/dist/mint-components/p-24db5c70.js +0 -1
  829. package/dist/mint-components/p-26468242.js +0 -1
  830. package/dist/mint-components/p-275b4767.entry.js +0 -1
  831. package/dist/mint-components/p-2bbff88f.entry.js +0 -1
  832. package/dist/mint-components/p-2c07df76.entry.js +0 -144
  833. package/dist/mint-components/p-2dca9e1a.system.js +0 -1
  834. package/dist/mint-components/p-2e110002.system.js +0 -1
  835. package/dist/mint-components/p-33c96e14.entry.js +0 -16
  836. package/dist/mint-components/p-38de17fa.system.js +0 -1
  837. package/dist/mint-components/p-38e5c429.system.js +0 -1
  838. package/dist/mint-components/p-38fc919b.entry.js +0 -1
  839. package/dist/mint-components/p-3a49811c.js +0 -1
  840. package/dist/mint-components/p-3a62a7e2.system.js +0 -1
  841. package/dist/mint-components/p-3db34d68.js +0 -1
  842. package/dist/mint-components/p-420554af.system.entry.js +0 -1
  843. package/dist/mint-components/p-42187319.system.entry.js +0 -1
  844. package/dist/mint-components/p-4428294b.entry.js +0 -1
  845. package/dist/mint-components/p-48135f99.system.js +0 -53
  846. package/dist/mint-components/p-4874193a.system.js +0 -1
  847. package/dist/mint-components/p-49206a9c.entry.js +0 -1
  848. package/dist/mint-components/p-49deb225.entry.js +0 -1
  849. package/dist/mint-components/p-4dbe2d08.entry.js +0 -25
  850. package/dist/mint-components/p-4e5af50c.js +0 -1
  851. package/dist/mint-components/p-51495bc3.entry.js +0 -13
  852. package/dist/mint-components/p-5dbe8b0a.system.js +0 -1
  853. package/dist/mint-components/p-6055eb4c.system.js +0 -1
  854. package/dist/mint-components/p-6333265f.system.js +0 -1
  855. package/dist/mint-components/p-635d5ef2.system.js +0 -1
  856. package/dist/mint-components/p-6427e963.entry.js +0 -1
  857. package/dist/mint-components/p-65ba9e94.entry.js +0 -1
  858. package/dist/mint-components/p-6b7a595f.system.js +0 -1
  859. package/dist/mint-components/p-6cd4f2b1.system.js +0 -1
  860. package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
  861. package/dist/mint-components/p-6f34c2c2.entry.js +0 -13
  862. package/dist/mint-components/p-734695a0.entry.js +0 -205
  863. package/dist/mint-components/p-775f3ded.entry.js +0 -1
  864. package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
  865. package/dist/mint-components/p-7cbec088.system.entry.js +0 -1
  866. package/dist/mint-components/p-7e3a84bc.js +0 -1
  867. package/dist/mint-components/p-7f1e10d3.entry.js +0 -9
  868. package/dist/mint-components/p-802b9f7e.entry.js +0 -1
  869. package/dist/mint-components/p-8053366e.system.entry.js +0 -1
  870. package/dist/mint-components/p-837dbf90.system.entry.js +0 -1
  871. package/dist/mint-components/p-893d7ab4.js +0 -1
  872. package/dist/mint-components/p-8abfeff8.entry.js +0 -1
  873. package/dist/mint-components/p-8c12078e.js +0 -394
  874. package/dist/mint-components/p-8c23d1b8.js +0 -1
  875. package/dist/mint-components/p-8c494bf1.js +0 -1
  876. package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
  877. package/dist/mint-components/p-90421929.system.entry.js +0 -1
  878. package/dist/mint-components/p-91521e9d.js +0 -1
  879. package/dist/mint-components/p-92816d1f.js +0 -1
  880. package/dist/mint-components/p-93fed35b.system.js +0 -1
  881. package/dist/mint-components/p-94a876b9.js +0 -1
  882. package/dist/mint-components/p-97d4d651.system.js +0 -1
  883. package/dist/mint-components/p-98698131.js +0 -1
  884. package/dist/mint-components/p-9acb5038.js +0 -1
  885. package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
  886. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  887. package/dist/mint-components/p-bb3f1257.system.entry.js +0 -1
  888. package/dist/mint-components/p-bd2a2546.system.js +0 -1
  889. package/dist/mint-components/p-bdbbc673.system.entry.js +0 -1
  890. package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
  891. package/dist/mint-components/p-c060f770.system.entry.js +0 -1
  892. package/dist/mint-components/p-c0d839d0.entry.js +0 -258
  893. package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
  894. package/dist/mint-components/p-c3680c02.js +0 -1
  895. package/dist/mint-components/p-c6841ab8.system.entry.js +0 -1
  896. package/dist/mint-components/p-ccb5699b.js +0 -1
  897. package/dist/mint-components/p-cd1d497f.system.js +0 -1
  898. package/dist/mint-components/p-cd63a965.system.entry.js +0 -1
  899. package/dist/mint-components/p-cd651f81.js +0 -42
  900. package/dist/mint-components/p-d8cf46ba.system.js +0 -1
  901. package/dist/mint-components/p-dcc81e90.entry.js +0 -1
  902. package/dist/mint-components/p-df89186f.system.js +0 -1
  903. package/dist/mint-components/p-e01fe915.js +0 -1248
  904. package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
  905. package/dist/mint-components/p-eab1c9f3.js +0 -1
  906. package/dist/mint-components/p-ed11966d.system.js +0 -1
  907. package/dist/mint-components/p-eda5e82c.entry.js +0 -1
  908. package/dist/mint-components/p-f2228da3.system.entry.js +0 -1
  909. package/dist/mint-components/p-f26aedcd.system.js +0 -1
  910. package/dist/mint-components/p-f2d8d3d3.system.entry.js +0 -1
  911. package/dist/mint-components/p-f708da7b.js +0 -1
  912. package/dist/mint-components/p-fd0a013f.entry.js +0 -1
  913. package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
  914. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
  915. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
  916. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
  917. /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
  918. /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import{k as i,f as r}from"./p-cd651f81.js";import{d as e,J as o,X as n,$ as s}from"./p-94a876b9.js";const t=e.gql`
1
+ import{k as i,f as r}from"./p-63e29387.js";import{d as e,J as o,X as n,$ as s}from"./p-8e2bead4.js";const t=e.gql`
2
2
  query userLookup {
3
3
  viewer {
4
4
  ... on User {
@@ -0,0 +1,16 @@
1
+ import{r as e,h as i}from"./p-c7c11325.js";import{k as r,f as o,n as t}from"./p-63e29387.js";import{d as a,J as n,I as s,q as c,X as l,i as d}from"./p-8e2bead4.js";import{c as m}from"./p-c1086930.js";import{g as u}from"./p-6951663b.js";import{e as h,p as f}from"./p-0797a946.js";import{S as p,V as y,a as v}from"./p-38c7775a.js";const g=a.gql`
2
+ query checkUserVerification {
3
+ viewer {
4
+ ... on User {
5
+ id
6
+ accountId
7
+ email
8
+ emailVerified
9
+ managedIdentity {
10
+ email
11
+ emailVerified
12
+ }
13
+ }
14
+ }
15
+ }
16
+ `,V=class{constructor(i){e(this,i),this.general_verifyEmailHeader="Verify your email",this.general_verifyEmailDescription="To get your cash paid out directly to your bank account, please complete your account setup",this.emailStep_verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.",this.emailStep_sendCodeErrorHeader="There was an error sending your code.",this.emailStep_sendCodeErrorDescription="Please try again. If this problem continues, contact our program support team.",this.emailStep_emailLabel="Email",this.emailStep_sendCodeText="Send code",this.emailStep_emailValidationErrorText="Please enter a valid email",this.codeStep_verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.codeStep_reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.codeStep_resendCodeText="Didn't receive your code? {resendCodeLink}",this.codeStep_resendCodeLabel="Resend code",this.codeStep_codeResentSuccessfullyText="Another code has been sent to {email}",this.codeStep_invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.",this.codeStep_verifyText="Verify",this.codeStep_networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.",this.stateController="{}",t(this)}disconnectedCallback(){}getStepTextProps(e){const i=u(this);return h(i,e)}render(){const e=d()?function(e){const[i,r]=s({namespace:p,initialValue:!1}),[o,t]=s({namespace:y,initialValue:void 0}),a=c(v),n=f(e.stateController),l=Object.keys(n).reduce(((e,i)=>"sqm-widget-verification"===i?{...e,...n[i]}:{...e,[`${i}_stateController`]:n[i]}),{});return m({showCode:i,onVerification:()=>{a(!0)},loading:!1},l||{},{arrayMerge:(e,i)=>i})}(this):function(){const e=n(),[i,t]=s({namespace:p,initialValue:!1}),[a,d]=s({namespace:y,initialValue:null==e?void 0:e.email}),m=c(v),[u,h]=r(!0),[f]=l(g);return o((()=>{(async()=>{var e,i,r;try{const o=await f({});if(!o||o instanceof Error)throw new Error;((null===(e=null==o?void 0:o.viewer)||void 0===e?void 0:e.emailVerified)||(null===(r=null===(i=null==o?void 0:o.viewer)||void 0===i?void 0:i.managedIdentity)||void 0===r?void 0:r.emailVerified))&&m(!0)}catch(e){console.error("Could not fetch user information:",e)}finally{h(!1)}})()}),[]),{showCode:i,onVerification:()=>{m(!0)},loading:u}}();if(e.loading)return i("sl-spinner",null);const t=this.getStepTextProps("general_");return i("div",null,i("h3",{style:{fontSize:"24px",margin:"0"}},t.verifyEmailHeader),i("p",{style:{color:"var(--sl-color-neutral-500)",fontSize:"var(--sl-font-size-medium)",margin:"0"}},t.verifyEmailDescription),e.showCode?i("sqm-code-verification",Object.assign({onVerification:e.onVerification},this.getStepTextProps("codeStep_"),h(e,"sqm-code-verification_"))):i("sqm-email-verification",Object.assign({},this.getStepTextProps("emailStep_"),h(e,"sqm-email-verification_"))))}};export{V as sqm_widget_verification}
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-44a82cf3.system.js","./p-6cd4f2b1.system.js","./p-4bd679a7.system.js","./p-14a65f29.system.js"],(function(e){"use strict";var r,n,t,a,i,o,s,d,l,u,f;return{setters:[function(e){r=e.r;n=e.h},function(e){t=e.n},function(e){a=e.i},function(e){i=e.d;o=e.H;s=e.J;d=e.w;l=e.i},function(e){u=e.c},function(e){f=e.L}],execute:function(){var v=i.gql(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"]));function c(e){var r,n,t,i;var l=o();var u=(r=e.programId)!==null&&r!==void 0?r:l;var f=s();var c=u?{type:e.leaderboardType,filter:{programId_eq:u}}:{type:e.leaderboardType,filter:{}};if(e.interval){c.filter["interval"]=e.interval}var p=d(v,c,!(f===null||f===void 0?void 0:f.jwt)).data;var y=((n=p===null||p===void 0?void 0:p.viewer)===null||n===void 0?void 0:n.leaderboardRank)?a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:(i=(t=p===null||p===void 0?void 0:p.viewer)===null||t===void 0?void 0:t.leaderboardRank)===null||i===void 0?void 0:i[e.rankType]}):e.unrankedText||"unranked";return{data:{rank:y}}}var p="p,.P{font-size:var(--sl-font-size-small);color:var(--sqm-text);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sqm-text-subdued);margin:0px}";var y=e("sqm_leaderboard_rank",function(){function e(e){r(this,e);this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";t(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=l()?k(this):c(this);return n(f,Object.assign({},e))};return e}());function k(e){var r=a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:1})||"1st";return u({data:{rank:r}},e.demoData||{},{arrayMerge:function(e,r){return r}})}y.style=p}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-59b028db.system.js","./p-bcb48c32.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js","./p-4bd679a7.system.js","./p-71271fbd.system.js"],(function(e){"use strict";var r,n,t,a,i,o,s,d,l,u,f;return{setters:[function(e){r=e.r;n=e.h},function(e){t=e.i},function(e){a=e.n},function(e){i=e.d;o=e.H;s=e.J;d=e.w;l=e.i},function(e){u=e.c},function(e){f=e.L}],execute:function(){var v=i.gql(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"]));function c(e){var r,n,a,i;var l=o();var u=(r=e.programId)!==null&&r!==void 0?r:l;var f=s();var c=u?{type:e.leaderboardType,filter:{programId_eq:u}}:{type:e.leaderboardType,filter:{}};if(e.interval){c.filter["interval"]=e.interval}var p=d(v,c,!(f===null||f===void 0?void 0:f.jwt)).data;var b=((n=p===null||p===void 0?void 0:p.viewer)===null||n===void 0?void 0:n.leaderboardRank)?t.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:(i=(a=p===null||p===void 0?void 0:p.viewer)===null||a===void 0?void 0:a.leaderboardRank)===null||i===void 0?void 0:i[e.rankType]}):e.unrankedText||"unranked";return{data:{rank:b}}}var p="p,.P{font-size:var(--sl-font-size-small);color:var(--sqm-text);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sqm-text-subdued);margin:0px}";var b=e("sqm_leaderboard_rank",function(){function e(e){r(this,e);this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=l()?y(this):c(this);return n(f,Object.assign({},e))};return e}());function y(e){var r=t.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:1})||"1st";return u({data:{rank:r}},e.demoData||{},{arrayMerge:function(e,r){return r}})}b.style=p}}}));
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-6cd4f2b1.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-2e110002.system.js","./p-8175e85f.system.js","./p-217514ac.system.js","./p-571e1427.system.js","./p-9d362d44.system.js","./p-13ed8586.system.js"],(function(e){"use strict";var t,r,n,a,i,s,o,l,u,c,f,d,h;return{setters:[function(e){t=e.r;r=e.h},function(e){n=e.k;a=e.n},function(e){i=e.i;s=e.j},function(e){o=e.j},function(e){l=e.c},function(e){u=e.c},function(){},function(){},function(e){c=e.a},function(e){f=e.B},function(e){d=e.P},function(){},function(e){h=e.u}],execute:function(){var m=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Error);m.prototype.name="InvalidTokenError";function g(e){return decodeURIComponent(atob(e).replace(/(.)/g,(function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();if(r.length<2){r="0"+r}return"%"+r})))}function p(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return g(t)}catch(e){return atob(t)}}function b(e,t){if(typeof e!=="string"){throw new m("Invalid token specified: must be a string")}t||(t={});var r=t.header===true?0:1;var n=e.split(".")[r];if(typeof n!=="string"){throw new m("Invalid token specified: missing part #"+(r+1))}var a;try{a=p(n)}catch(e){throw new m("Invalid token specified: invalid base64 for part #"+(r+1)+" ("+e.message+")")}try{return JSON.parse(a)}catch(e){throw new m("Invalid token specified: invalid json for part #"+(r+1)+" ("+e.message+")")}}function v(e){var t=this;var r=n(null),a=r[0],i=r[1];var s=c(),l=s[0],u=s[1];var f=n({mode:"base"}),d=f[0],h=f[1];var m=function(r){return __awaiter(t,void 0,void 0,(function(){var t,n,a;return __generator(this,(function(s){t=r.target.getFormControls();n={};a=null;t.forEach((function(t){if(!t.name||t.name!=="/email")return;o.set(n,t.name,t.value);if(t.required&&!t.value)a=e.requiredFieldErrorMessage;if(typeof t.validationError==="function"){var r=t.validationError;var i=r({control:t,key:"email",value:t.value});if(i)a=i}}));if(a){i(a);return[2]}u(__assign(__assign({},l),{initialData:__assign(__assign({},l===null||l===void 0?void 0:l.initialData),n)}));h({mode:"manual"});return[2]}))}))};var g=function(e){var t;if(!((t=e.detail)===null||t===void 0?void 0:t.credential))return;try{var r=b(e.detail.credential);u(__assign(__assign({},l),{_googleOAuthIdToken:e.detail.credential,initialData:{email:r.email,firstName:r.given_name,lastName:r.family_name}}));h({mode:"google"})}catch(e){console.error("Failed to decode Google Sign In credential JWT:",e)}};return{showRegistrationForm:d,emailValidationError:a,handleGoogleInit:g,handleEmailSubmit:m}}var _=e("sqm_portal_google_registration_form",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.redirectPath="/verifyEmail";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Register";this.loginLabel="Sign in";this.confirmPasswordLabel="Confirm Password";this.confirmPassword=false;this.disablePasswordValidation=false;this.hideInputs=false;this.pageLabel="Register";this.loginPath="/login";this.loginCTA="Already have an account?";this.requiredFieldErrorMessage="Cannot be empty";this.networkErrorMessage="Network request failed.";this.passwordMismatchErrorMessage="Passwords do not match.";this.invalidEmailErrorMessage="Must be a valid email address";this.formDisabledErrorMessage="The registration form is currently disabled.";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.googleButtonText="signup_with";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=i()?w(this):h(this),t=e.states,n=e.callbacks,a=e.refs;var o={LoginButton:{"&::part(label)":{padding:"0"}}};var l=u(o);var c=l.toString();var m=i()?y(this):v(this),g=m.handleGoogleInit,p=m.handleEmailSubmit,b=m.showRegistrationForm,_=m.emailValidationError;var E={formData:r("slot",{name:"formData"}),googleButton:r("sqm-google-sign-in",{text:this.googleButtonText,onInitComplete:g}),secondaryButton:r("slot",{name:"secondaryButton"},r("style",null,c),r("span",null,this.loginCTA," ",r("sl-button",{size:"large",type:"text",disabled:t.loading,onClick:function(){return s.push(t.loginPath)},className:l.classes.LoginButton},this.loginLabel)," ")),terms:r("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel,networkErrorMessage:this.networkErrorMessage,passwordMismatchErrorMessage:this.passwordMismatchErrorMessage,invalidEmailErrorMessage:this.invalidEmailErrorMessage,formDisabledErrorMessage:this.formDisabledErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,meetsRequirementsText:this.meetsRequirementsText,doesNotMeetRequirementsText:this.doesNotMeetRequirementsText,minErrorText:this.minErrorText,uppercaseErrorText:this.uppercaseErrorText,lowercaseErrorText:this.lowercaseErrorText,hasErrorText:this.hasErrorText};if(b.mode==="base"){return r(f,{states:{error:_},callbacks:{handleEmailSubmit:p},content:E})}return r(d,{states:__assign(__assign({},t),{emailDisabled:true,hidePasswords:b.mode==="google"}),callbacks:n,content:__assign({},E),refs:a})};return e}());function w(e){var t=this;return l({states:{error:"",loading:false,confirmPassword:e.confirmPassword,hideInputs:e.hideInputs||false,customPasswordField:false,loginPath:"/login"},callbacks:{handleGoogleInit:function(){},setShowRegistrationForm:function(){},submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},inputFunction:function(){}},content:{pageLabel:"Register",formData:null,passwordField:null},refs:{formRef:{}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}function y(e){var t=n({mode:"base"}),r=t[0],a=t[1];return l({emailValidationError:true,handleEmailSubmit:function(){return a({mode:"manual"})},showRegistrationForm:r,handleGoogleInit:function(){return a({mode:"google"})}},e.demoGoogleData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-a148663a.system.js","./p-be88596c.system.js","./p-b6911812.system.js","./p-9d362d44.system.js","./p-3dc34570.system.js"],(function(e){"use strict";var t,r,n,a,i,s,o,l,u,c,d,f,h;return{setters:[function(e){t=e.r;r=e.h},function(e){n=e.k;a=e.n},function(e){i=e.i;s=e.j},function(e){o=e.j},function(e){l=e.c},function(e){u=e.c},function(){},function(){},function(e){c=e.a},function(e){d=e.B},function(e){f=e.P},function(){},function(e){h=e.u}],execute:function(){var m=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Error);m.prototype.name="InvalidTokenError";function g(e){return decodeURIComponent(atob(e).replace(/(.)/g,(function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();if(r.length<2){r="0"+r}return"%"+r})))}function p(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return g(t)}catch(e){return atob(t)}}function b(e,t){if(typeof e!=="string"){throw new m("Invalid token specified: must be a string")}t||(t={});var r=t.header===true?0:1;var n=e.split(".")[r];if(typeof n!=="string"){throw new m("Invalid token specified: missing part #"+(r+1))}var a;try{a=p(n)}catch(e){throw new m("Invalid token specified: invalid base64 for part #"+(r+1)+" ("+e.message+")")}try{return JSON.parse(a)}catch(e){throw new m("Invalid token specified: invalid json for part #"+(r+1)+" ("+e.message+")")}}function v(e){var t=this;var r=n(null),a=r[0],i=r[1];var s=c(),l=s[0],u=s[1];var d=n({mode:"base"}),f=d[0],h=d[1];var m=function(r){return __awaiter(t,void 0,void 0,(function(){var t,n,a;return __generator(this,(function(s){t=r.target.getFormControls();n={};a=null;t.forEach((function(t){if(!t.name||t.name!=="/email")return;o.set(n,t.name,t.value);if(t.required&&!t.value)a=e.requiredFieldErrorMessage;if(typeof t.validationError==="function"){var r=t.validationError;var i=r({control:t,key:"email",value:t.value});if(i)a=i}}));if(a){i(a);return[2]}u(__assign(__assign({},l),{initialData:__assign(__assign({},l===null||l===void 0?void 0:l.initialData),n)}));h({mode:"manual"});return[2]}))}))};var g=function(e){var t;if(!((t=e.detail)===null||t===void 0?void 0:t.credential))return;try{var r=b(e.detail.credential);u(__assign(__assign({},l),{_googleOAuthIdToken:e.detail.credential,initialData:{email:r.email,firstName:r.given_name,lastName:r.family_name}}));h({mode:"google"})}catch(e){console.error("Failed to decode Google Sign In credential JWT:",e)}};return{showRegistrationForm:f,emailValidationError:a,handleGoogleInit:g,handleEmailSubmit:m}}var _=e("sqm_portal_google_registration_form",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.redirectPath="/verifyEmail";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Register";this.loginLabel="Sign in";this.confirmPasswordLabel="Confirm Password";this.confirmPassword=false;this.disablePasswordValidation=false;this.hideInputs=false;this.pageLabel="Register";this.loginPath="/login";this.loginCTA="Already have an account?";this.requiredFieldErrorMessage="Cannot be empty";this.networkErrorMessage="Network request failed.";this.passwordMismatchErrorMessage="Passwords do not match.";this.invalidEmailErrorMessage="Must be a valid email address";this.formDisabledErrorMessage="The registration form is currently disabled.";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.googleButtonText="signup_with";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=i()?w(this):h(this),t=e.states,n=e.callbacks,a=e.refs;var o={LoginButton:{"&::part(label)":{padding:"0"}}};var l=u(o);var c=l.toString();var m=i()?y(this):v(this),g=m.handleGoogleInit,p=m.handleEmailSubmit,b=m.showRegistrationForm,_=m.emailValidationError;var E={formData:r("slot",{name:"formData"}),googleButton:r("sqm-google-sign-in",{text:this.googleButtonText,onInitComplete:g}),secondaryButton:r("slot",{name:"secondaryButton"},r("style",null,c),r("span",null,this.loginCTA," ",r("sl-button",{size:"large",type:"text",disabled:t.loading,onClick:function(){return s.push(t.loginPath)},className:l.classes.LoginButton},this.loginLabel)," ")),terms:r("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel,networkErrorMessage:this.networkErrorMessage,passwordMismatchErrorMessage:this.passwordMismatchErrorMessage,invalidEmailErrorMessage:this.invalidEmailErrorMessage,formDisabledErrorMessage:this.formDisabledErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,meetsRequirementsText:this.meetsRequirementsText,doesNotMeetRequirementsText:this.doesNotMeetRequirementsText,minErrorText:this.minErrorText,uppercaseErrorText:this.uppercaseErrorText,lowercaseErrorText:this.lowercaseErrorText,hasErrorText:this.hasErrorText};if(b.mode==="base"){return r(d,{states:{error:_},callbacks:{handleEmailSubmit:p},content:E})}return r(f,{states:__assign(__assign({},t),{emailDisabled:true,hidePasswords:b.mode==="google"}),callbacks:n,content:__assign({},E),refs:a})};return e}());function w(e){var t=this;return l({states:{error:"",loading:false,confirmPassword:e.confirmPassword,hideInputs:e.hideInputs||false,customPasswordField:false,loginPath:"/login"},callbacks:{handleGoogleInit:function(){},setShowRegistrationForm:function(){},submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},inputFunction:function(){}},content:{pageLabel:"Register",formData:null,passwordField:null},refs:{formRef:{}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}function y(e){var t=n({mode:"base"}),r=t[0],a=t[1];return l({emailValidationError:true,handleEmailSubmit:function(){return a({mode:"manual"})},showRegistrationForm:r,handleGoogleInit:function(){return a({mode:"google"})}},e.demoGoogleData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- System.register(["./p-f26aedcd.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-2e110002.system.js"],(function(e){"use strict";var r,t,i,a,o,s,l,n;return{setters:[function(e){r=e.h},function(e){t=e.c},function(e){i=e.A;a=e.a;o=e.H;s=e.b;l=e.E},function(e){n=e.T}],execute:function(){e("P",p);var d={Wrapper:i,Column:a,HostBlock:o,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:s,ErrorStyle:l};var u="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var m=t(d);var v=m.toString();function p(e){var t,i,a,o,s,l,d,p,c,b,g,f,x,E,y,w,h,S,F,T;var q=e.states,P=e.refs,M=e.callbacks,j=e.content;if(q.error){window.scrollTo({top:0,left:0,behavior:"smooth"})}return r("div",{class:m.classes.Wrapper,part:"sqm-base"},r("style",{type:"text/css"},u,v),r(n,{type:"h3"},j.pageLabel),r("sl-form",{class:m.classes.Column,"onSl-submit":M.submit,ref:function(e){return P.formRef.current=e},novalidate:true},((t=q.registrationFormState)===null||t===void 0?void 0:t.disabled)?r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},q.registrationFormState.disabledMessage)):q.error&&r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},e.states.error)),j.formData,!q.hideInputs&&r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:j.emailLabel||"Email",disabled:q.loading||((i=q.registrationFormState)===null||i===void 0?void 0:i.disabled)||q.emailDisabled,required:true,validationError:function(e){var r=e.value;if(!r){return j.requiredFieldErrorMessage}if(!r.includes("@")){return j.invalidEmailErrorMessage}}},((o=(a=q.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.email)?{value:(l=(s=q.registrationFormState)===null||s===void 0?void 0:s.initialData)===null||l===void 0?void 0:l.email}:{},((p=(d=q.registrationFormState)===null||d===void 0?void 0:d.validationErrors)===null||p===void 0?void 0:p.email)?{class:m.classes.ErrorStyle,helpText:((b=(c=q.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||b===void 0?void 0:b.email)||j.requiredFieldErrorMessage}:[])),!(q.hideInputs||q.hidePasswords)&&r("sqm-password-field",{fieldLabel:j.passwordLabel,"disable-validation":!q.enablePasswordValidation,meetsRequirementsText:j.meetsRequirementsText,doesNotMeetRequirementsText:j.doesNotMeetRequirementsText,minErrorText:j.minErrorText,uppercaseErrorText:j.uppercaseErrorText,lowercaseErrorText:j.lowercaseErrorText,hasErrorText:j.hasErrorText}),j.passwordField,!(q.hideInputs||q.hidePasswords)&&q.confirmPassword&&r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:j.confirmPasswordLabel,disabled:q.loading||((g=q.registrationFormState)===null||g===void 0?void 0:g.disabled),required:true},((x=(f=q.registrationFormState)===null||f===void 0?void 0:f.initialData)===null||x===void 0?void 0:x.confirmPassword)?{value:(y=(E=q.registrationFormState)===null||E===void 0?void 0:E.initialData)===null||y===void 0?void 0:y.confirmPassword}:{},((h=(w=q.registrationFormState)===null||w===void 0?void 0:w.validationErrors)===null||h===void 0?void 0:h.confirmPassword)?{class:m.classes.ErrorStyle,helpText:((F=(S=q.registrationFormState)===null||S===void 0?void 0:S.validationErrors)===null||F===void 0?void 0:F.confirmPassword)||j.requiredFieldErrorMessage}:[])),j.emailOptIn,j.terms,r("div",{class:m.classes.ButtonsContainer},r("sl-button",{submit:true,loading:q.loading,disabled:(T=q.registrationFormState)===null||T===void 0?void 0:T.disabled,exportparts:"base: primarybutton-base",type:"primary"},j.submitLabel||"Register"),j.secondaryButton)))}}}}));
1
+ System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js"],(function(r){"use strict";var e,t,i,a,o,s,l,n;return{setters:[function(r){e=r.h},function(r){t=r.c},function(r){i=r.A;a=r.a;o=r.H;s=r.b;l=r.E},function(r){n=r.T}],execute:function(){r("P",p);var d={Wrapper:i,Column:a,HostBlock:o,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:s,ErrorStyle:l};var u="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var m=t(d);var v=m.toString();function p(r){var t,i,a,o,s,l,d,p,c,b,g,f,x,E,y,w,h,S,F,T;var q=r.states,P=r.refs,M=r.callbacks,j=r.content;if(q.error){window.scrollTo({top:0,left:0,behavior:"smooth"})}return e("div",{class:m.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},u,v),e(n,{type:"h3"},j.pageLabel),e("sl-form",{class:m.classes.Column,"onSl-submit":M.submit,ref:function(r){return P.formRef.current=r},novalidate:true},((t=q.registrationFormState)===null||t===void 0?void 0:t.disabled)?e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},q.registrationFormState.disabledMessage)):q.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},r.states.error)),j.formData,!q.hideInputs&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:j.emailLabel||"Email",disabled:q.loading||((i=q.registrationFormState)===null||i===void 0?void 0:i.disabled)||q.emailDisabled,required:true,validationError:function(r){var e=r.value;if(!e){return j.requiredFieldErrorMessage}if(!e.includes("@")){return j.invalidEmailErrorMessage}}},((o=(a=q.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.email)?{value:(l=(s=q.registrationFormState)===null||s===void 0?void 0:s.initialData)===null||l===void 0?void 0:l.email}:{},((p=(d=q.registrationFormState)===null||d===void 0?void 0:d.validationErrors)===null||p===void 0?void 0:p.email)?{class:m.classes.ErrorStyle,helpText:((b=(c=q.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||b===void 0?void 0:b.email)||j.requiredFieldErrorMessage}:[])),!(q.hideInputs||q.hidePasswords)&&e("sqm-password-field",{fieldLabel:j.passwordLabel,"disable-validation":!q.enablePasswordValidation,meetsRequirementsText:j.meetsRequirementsText,doesNotMeetRequirementsText:j.doesNotMeetRequirementsText,minErrorText:j.minErrorText,uppercaseErrorText:j.uppercaseErrorText,lowercaseErrorText:j.lowercaseErrorText,hasErrorText:j.hasErrorText}),j.passwordField,!(q.hideInputs||q.hidePasswords)&&q.confirmPassword&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:j.confirmPasswordLabel,disabled:q.loading||((g=q.registrationFormState)===null||g===void 0?void 0:g.disabled),required:true},((x=(f=q.registrationFormState)===null||f===void 0?void 0:f.initialData)===null||x===void 0?void 0:x.confirmPassword)?{value:(y=(E=q.registrationFormState)===null||E===void 0?void 0:E.initialData)===null||y===void 0?void 0:y.confirmPassword}:{},((h=(w=q.registrationFormState)===null||w===void 0?void 0:w.validationErrors)===null||h===void 0?void 0:h.confirmPassword)?{class:m.classes.ErrorStyle,helpText:((F=(S=q.registrationFormState)===null||S===void 0?void 0:S.validationErrors)===null||F===void 0?void 0:F.confirmPassword)||j.requiredFieldErrorMessage}:[])),j.emailOptIn,j.terms,e("div",{class:m.classes.ButtonsContainer},e("sl-button",{submit:true,loading:q.loading,disabled:(T=q.registrationFormState)===null||T===void 0?void 0:T.disabled,exportparts:"base: primarybutton-base",type:"primary"},j.submitLabel||"Register"),j.secondaryButton)))}}}}));
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-c7c11325.js";import{c as o}from"./p-cef45012.js";import{H as r}from"./p-49b20dae.js";const n={right:"\nsl-input::part(input){\n text-align: right;\n}",center:" \nsl-input::part(input){\n text-align: center;\n}",left:""};function s(s){const{buttonStyle:l="icon"}=s,e=o({HostBlock:r,inputStyle:{"&::part(input)":{textOverflow:"ellipsis",width:"100%",color:s.textColor||"var(--sqm-text)"},"&::part(base)":{"--sl-input-border-radius":`${s.borderRadius}px`||"var(--sqm-border-radius-normal)","--sl-input-background-color":s.backgroundColor||"var(--sqm-portal-background)","--sl-input-color":"var(--sqm-text)","--sl-input-border-color":"var(--sqm-border-color)","--sl-input-border-color-hover":"#999999","--sl-input-border-color-focus":"#999999","--sl-input-color-hover":"var(--sqm-input-color-hover)","--sl-input-color-focus":"var(--sqm-input-color-focus)","--sl-input-color-disabled":"var(--sqm-input-disabled-color)","--sl-input-background-color-focus":"var(--sqm-portal-background)","--sl-input-background-color-hover":"var(--sqm-portal-background)",cursor:"pointer",overflow:"visible",borderRadius:`${s.borderRadius}px`||"var(--sqm-border-radius-normal)",background:s.backgroundColor||"var(--sqm-portal-background)",border:`var(--sqm-border-thickness) solid ${s.borderColor||"var(--sqm-border-color)"}`},width:"100%"},icon:{"&::part(base)":{color:s.textColor||"var(--sqm-text)"}},inputErrorStyle:{"&::part(base)":{border:"2px solid red"}},ContainerDiv:{display:"flex",alignItems:"flex-start",flexDirection:"column",justifyContent:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},containerStyle:{display:"flex",alignItems:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},errorTextStyle:{margin:"0",color:"var(--sqm-danger-color-text)"},notificationTextStyle:{margin:"0",color:"inherit"}}),i=e.toString(),a=!s.loading&&s.error,p=a?s.inputPlaceholderText:s.copyString,c=a||s.loading||s.disabled,u=t("sl-tooltip",{trigger:"manual",content:s.tooltiptext,placement:"button-below"===s.buttonStyle?"bottom":"button-outside"===s.buttonStyle?"top":"top-end",disabled:s.disabled,open:s.open,skidding:"icon"===s.buttonStyle?-5:0,slot:"suffix"},"icon"===l?t("sl-icon-button",{class:e.classes.icon,exportparts:"base: icon-button-base",onClick:()=>{var t;return null===(t=s.onClick)||void 0===t?void 0:t.call(s)},name:"files",disabled:c}):t("sl-button",{exportparts:`base: ${s.buttonType||"primary"}button-base`,onClick:()=>{var t;return null===(t=s.onClick)||void 0===t?void 0:t.call(s)},size:"medium",style:{width:`${"button-below"===l&&"100%"}`},disabled:c,type:"primary"},s.copyButtonLabel||"Copy"));return t("div",{class:e.classes.ContainerDiv},t("style",{type:"text/css"},i,"\n :host{\n display: block; \n width: 100%;\n }\n",n[s.textAlign],c&&"\n sl-input::part(input){\n cursor: default;\n }\n"),t("div",{class:e.classes.containerStyle,style:{flexDirection:"button-below"===l?"column":"row"}},t("sl-input",{class:`${e.classes.inputStyle} ${a?e.classes.inputErrorStyle:""}`,exportparts:"base: input-base, input: input-label",value:s.loading?"Loading...":p,readonly:!0,disabled:c},"icon"===l&&u,a&&t("p",{slot:"help-text",class:e.classes.errorTextStyle},s.errorText)),("button-outside"===l||"button-below"===l)&&u),s.isCopied&&s.showNotificationText&&s.notificationText&&t("p",{part:"sqm-notification-text",class:e.classes.notificationTextStyle},s.notificationText))}export{s as C}
@@ -0,0 +1,25 @@
1
+ import{h as r,r as t}from"./p-c7c11325.js";import{i as a}from"./p-49e92a7c.js";import{k as o,f as n,n as e}from"./p-63e29387.js";import{d as s,t as i,w as l,J as p,$ as c,i as d,q as u}from"./p-8e2bead4.js";import{c as m}from"./p-c1086930.js";import{g as b}from"./p-6951663b.js";import{c as f}from"./p-cef45012.js";import{T as v}from"./p-204861a6.js";import{S as h,V as y}from"./p-38c7775a.js";import{u as q}from"./p-b22b7891.js";const x=s.gql`
2
+ mutation upsertUser($userInput: UserInput!) {
3
+ upsertUser(userInput: $userInput) {
4
+ id
5
+ accountId
6
+ email
7
+ }
8
+ }
9
+ `,g=s.gql`
10
+ query user {
11
+ viewer {
12
+ ... on User {
13
+ id
14
+ accountId
15
+ email
16
+ impactConnection {
17
+ user {
18
+ id
19
+ email
20
+ }
21
+ }
22
+ }
23
+ }
24
+ }
25
+ `;const k=f({Wrapper:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",marginTop:"var(--sl-spacing-medium)"},InputsContainer:{display:"flex",gap:"var(--sl-spacing-medium)",position:"relative",flexDirection:"column",maxWidth:"320px"},ContinueButton:{width:"100%",maxWidth:"100px"},SkeletonOne:{width:"50%",height:"16px"},SkeletonTwo:{width:"30%",height:"34px"},SkeletonThree:{width:"15%",height:"24px"},ErrorInput:{"&::part(base)":{border:"var(--sqm-border-thickness) solid var(--sqm-danger-color-border)",borderRadius:"var(--sqm-input-border-radius)"},"&::part(help-text)":{color:"var(--sqm-danger-color-text)"}}}),w=k.toString();function j(t){const{states:o,callbacks:n,text:e}=t;return r("div",{part:"sqm-base"},r("style",{type:"text/css"},'\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n\na {\n color: inherit;\n text-decoration: underline;\n cursor: pointer;\n}\n\n*::part(primarybutton-base),\nsl-button[type="primary"]::part(base) {\n font-family: var(--sqm-primary-font);\n width: 100%;\n background-color: var(--sqm-primary-button-background);\n color: var(--sqm-primary-button-color);\n border-color: var(--sqm-primary-button-color-border);\n border-radius: var(--sqm-primary-button-radius);\n}\n\n*::part(primarybutton-base):hover,\nsl-button[type="primary"]::part(base):hover{\n background-color: var(--sqm-primary-button-background-hover);\n border-color: var(--sqm-primary-button-border-color-hover);\n color: var(--sqm-primary-button-color-hover);\n}\n\n\n*::part(primarybutton-base):focus,\nsl-button[type="primary"]::part(base):focus {\n box-shadow: none;\n}\n\n*::part(secondarybutton-base),\nsl-button[type="secondary"]::part(base) {\nfont-family: var(--sqm-primary-font);\n background-color: var(--sqm-secondary-button-background);\n color: var(--sqm-secondary-button-color);\n border-color: var(--sqm-secondary-button-color-border);\n border-radius: var(--sqm-secondary-button-radius);\n}\n\n*::part(secondarybutton-base):hover,\nsl-button[type="secondary"]::part(base):hover {\n background-color: var(--sqm-secondary-button-background-hover);\n color: var(--sqm-secondary-button-color-hover);\n border-color: var(--sqm-secondary-button-border-color-hover);\n}\n\n*::part(input-label), *::part(select-label), *::part(textarea-label){\n font-family: var(--sqm-primary-font);\n font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));\n font-weight: var(--sl-font-weight-semibold);\n color: var(--sqm-input-label-color, var(--sqm-text), black);\n}\n\n*::part(input-base), *::part(select-base), *::part(textarea-base){\n font-family: var(--sqm-primary-font);\n background-color: var(--sqm-input-background, #fff);\n border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);\n color: var(--sqm-input-color, white);\n border-width: var(--sqm-border-thickness, 1px);\n}\n\n*::part(input-base):hover, *::part(select-base):hover, *::part(textarea-base):hover{\n border-color: var(--sqm-border-color-hover);\n}\n\n*::part(input-base):focus, *::part(select-base):focus, *::part(textarea-base):focus{\n border-color: var(--sqm-border-color-focus);\n}\n\nsqm-name-fields::part(input-base) {\n font-family: var(--sqm-primary-font);\n background-color: var(--sqm-input-background, #fff);\n border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);\n color: var(--sqm-input-color, white);\n border-width: var(--sqm-border-thickness, 1px);\n}\n\nsl-input::part(base):focus,\nsl-select::part(form-control-wrapper):focus,\nsl-textarea::part(textarea-label):focus {\n border-color: var(--sqm-border-color-focus);\n}\n\n*::part(input-label):disabled, *::part(select-label):disabled, *::part(textarea-label):disabled{\n background: var(--sqm-input-disabled-background, #f5f5f5);\n color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));\n}\n\n*::part(input):-webkit-autofill {\n box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;\n -webkit-text-fill-color: var(--sqm-input-color, white) !important;\n}\n\n*::part(input):-webkit-autofill:hover {\n box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;\n -webkit-text-fill-color: var(--sqm-input-color, white) !important;\n}\n\n*::part(input):-webkit-autofill:focus {\n box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;\n -webkit-text-fill-color: var(--sqm-input-color, white) !important;\n}\n\n*::part(input)::placeholder,\n*::part(select)::placeholder, \n*::part(textarea)::placeholder {\n font-family: var(--sqm-primary-font);\n color: var(--sqm-text-subdued);\n}\n\n*::part(input)::-webkit-input-placeholder,\n*::part(select)::-webkit-input-placeholder,\n*::part(textarea)::-webkit-input-placeholder {\n font-family: var(--sqm-primary-font);\n color: var(--sqm-text-subdued);\n}\n\n*::part(input)::-moz-placeholder,\n*::part(select)::-moz-placeholder,\n*::part(textarea)::-moz-placeholder {\n font-family: var(--sqm-primary-font);\n opacity: 1; /* Firefox adds an opacity to placeholders by default */\n color: var(--sqm-text-subdued);\n}\n\n*::part(input)::-ms-input-placeholder,\n*::part(select)::-ms-input-placeholder,\n*::part(textarea)::-ms-input-placeholder {\n font-family: var(--sqm-primary-font);\n color: var(--sqm-text-subdued);\n}\n\n\n',w),o.sendCodeError&&r("sqm-form-message",{type:"error"},r("p",{part:"alert-title"},e.sendCodeErrorHeader),a.formatMessage({id:"sendCodeErrorDescription",defaultMessage:e.sendCodeErrorDescription},{supportLink:r("a",{target:"_blank",href:"mailto:advocate-support@impact.com"},e.supportLink)})),o.initialLoading?r("div",{class:k.classes.Wrapper},r("sl-skeleton",{class:k.classes.SkeletonOne}),r("sl-skeleton",{class:k.classes.SkeletonTwo}),r("sl-skeleton",{class:k.classes.SkeletonThree})):r("div",{class:k.classes.Wrapper},r(v,{type:"p"},e.verifyEmailHeaderText),r("sl-form",{"onSl-submit":n.submitEmail},r("div",{class:k.classes.InputsContainer},r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",label:e.emailLabel,value:o.email||"",type:"email",id:"email",name:"email",disabled:!!o.email||o.loading},o.error?{class:k.classes.ErrorInput,helpText:e.emailValidationErrorText}:{})),r("sl-button",{submit:!0,class:k.classes.ContinueButton,loading:o.loading,exportparts:"base: primarybutton-base",type:"primary"},e.sendCodeText)))))}const I=class{constructor(r){t(this,r),this.verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.",this.sendCodeErrorHeader="There was an error sending your code",this.supportLink="support team",this.sendCodeErrorDescription="Please try again. If this problem continues, contact our program {supportLink}.",this.emailLabel="Email",this.sendCodeText="Send code",this.emailValidationErrorText="Please enter a valid email",e(this)}disconnectedCallback(){}getTextProps(){return b(this)}render(){const t=d()?function(r){const t=u(h);return m({states:{error:!0,initialLoading:!1,loading:!1,email:"test@example.com",sendCodeError:!0},callbacks:{submitEmail:async()=>t(!0)},text:r.getTextProps()},r.demoData||{},{arrayMerge:(r,t)=>t})}(this):function(r){const[t,a]=i(h),[e,s]=i(y),[d,u]=o(!1),[m,b]=o(!1),[f,v]=o(!1),{initialized:k,send:[w,{}]}=q(),[j]=function(){const r=p(),[t,{loading:a,data:o,errors:n}]=c(x);return[async a=>{try{const o=await t({userInput:{id:r.id,accountId:r.accountId,email:a}});if(o instanceof Error||!o)throw new Error;return o}catch(r){return void console.error("Could not set email on user",r)}},{loading:a,data:o,errors:n}]}(),[I,z]=o(!0),{data:E,loading:C}=l(g,{}),S=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return n((()=>{(null==E?void 0:E.viewer)&&u(!!E.viewer.email)}),[E]),n((()=>{k&&z(!1)}),[k]),{callbacks:{submitEmail:async r=>{if(r.preventDefault(),!(null==E?void 0:E.viewer))return;z(!0);const t=E.viewer.email;if(!t){const t=r.detail.formData.get("email").toString();if(!S.test(t))return void b(!0);const a=await j(t);a&&a.user.email||b(!0)}if(!k)return;const o=await w();o&&o.success?(s(t),a(!0)):v(!0),z(!1)}},states:{loading:I,initialLoading:C&&!k,error:m,email:null==E?void 0:E.viewer.email,sendCodeError:f},text:r.getTextProps()}}(this);return r(j,Object.assign({},t))}};export{I as sqm_email_verification}
@@ -0,0 +1 @@
1
+ System.register(["./p-59b028db.system.js","./p-bcb48c32.system.js","./p-1a673057.system.js","./p-36b1414b.system.js"],(function(e){"use strict";var a,l,r,i;return{setters:[function(e){a=e.h},function(e){l=e.i},function(e){r=e.c},function(e){i=e.f}],execute:function(){e("I",s);var n={Description:{fontSize:"var(--sl-font-size-small)",marginTop:"var(--sl-spacing-small)",margin:"0 0 var(--sl-spacing-large)",color:"var(--sqm-text-subdued)"},Header:{fontSize:"var(--sl-font-size-large)",fontWeight:"var(-sl-font-weight-semibold)",margin:"0 0 var(--sl-spacing-xxx-small)"},Container:{},InvoiceTableContaier:{"& sl-details::part(base)":{border:"none"},"& sl-details::part(content)":{padding:0},"& sl-details::part(header)":{fontSize:"var(--sl-font-size-medium)",padding:"0px"},"& sl-details::part(summary)":{fontWeight:"var(-sl-font-weight-semibold)"},"& sl-details::part(summary-icon)":{marginRight:"100%",marginLeft:"var(--sl-spacing-x-small)",transform:"rotate(90deg)"},"& sl-details[open]::part(summary-icon)":{transform:"rotate(270deg)"}}};function s(e,l){var i=r(n);var s=i.toString();var t="\n :host{\n display: block;\n }";return a("div",{class:i.classes.Container},a("style",{type:"text/css"},t,s),a("div",{class:i.classes.InvoiceTableContaier},a("sl-details",{summary:e.header},a("p",{class:i.classes.Description},e.description),l)))}var t=e("b",[{regionCode:"ALBERTA",taxType:"GST",displayName:"Alberta"},{regionCode:"BRITISHCOLUMBIA",taxType:"HST",displayName:"British Columbia"},{regionCode:"MANITOBA",taxType:"HST",displayName:"Manitoba"},{regionCode:"NEWBRUNSWICK",taxType:"HST",displayName:"New Brunswick"},{regionCode:"NEWFOUNDLANDLABRADOR",taxType:"HST",displayName:"Newfoundland"},{regionCode:"NORTHWESTTERRITORIES",taxType:"GST",displayName:"North West Territories"},{regionCode:"NOVASCOTIA",taxType:"HST",displayName:"Nova Scotia"},{regionCode:"NUNAVUT",taxType:"HST",displayName:"Nunavut"},{regionCode:"ONTARIO",taxType:"HST",displayName:"Ontario"},{regionCode:"PRINCEEDWARDISLAND",taxType:"HST",displayName:"Prince Edward Island"},{regionCode:"QUEBEC",taxType:"GST",displayName:"Quebec"},{regionCode:"SASKATCHEWAN",taxType:"HST",displayName:"Saskatchewan"},{regionCode:"YUKON",taxType:"GST",displayName:"Yukon"}]);var o=e("a",[{regionCode:"SPAINPROPER",taxType:"VAT",displayName:"Spain Proper"},{regionCode:"CANARYISLANDS",taxType:"VAT",displayName:"Canary Islands"}]);var u=e("A",{CA:{labelEnum:"PROVINCE",regions:[{label:"Alberta",value:"ALBERTA"},{label:"British Columbia",value:"BRITISHCOLUMBIA"},{label:"Manitoba",value:"MANITOBA"},{label:"New Brunswick",value:"NEWBRUNSWICK"},{label:"Newfoundland & Labrador",value:"NEWFOUNDLANDANDLABRADOR"},{label:"Northwest Territories",value:"NORTHWESTTERRITORIES"},{label:"Nova Scotia",value:"NOVASCOTIA"},{label:"Nunavut",value:"NUNAVUT"},{label:"Ontario",value:"ONTARIO"},{label:"Prince Edward Island",value:"PRINCEEDWARDISLAND"},{label:"Quebec",value:"QUEBEC"},{label:"Saskatchewan",value:"SASKATCHEWAN"},{label:"Yukon",value:"YUKON"}]},ES:{labelEnum:"REGION",regions:[{label:"Canary Islands",value:"CANARYISLANDS"},{label:"Spain Proper",value:"SPAINPROPER"}]},AU:{labelEnum:"STATE",regions:[{label:"Australian Capital Territory",value:"CAPITALTERRITORY"},{label:"New South Wales",value:"NEWSOUTHWALES"},{label:"Northern Territory",value:"NORTHERNTERRITORY"},{label:"Queensland",value:"QUEENSLAND"},{label:"South Australia",value:"SOUTHAUSTRALIA"},{label:"Tasmania",value:"TASMANIA"},{label:"Victoria",value:"VICTORIA"},{label:"Western Australia",value:"WESTERNAUSTRALIA"}]},US:{labelEnum:"STATE",regions:[{label:"Alabama",value:"ALABAMA"},{label:"Alaska",value:"ALASKA"},{label:"Arizona",value:"ARIZONA"},{label:"Arkansas",value:"ARKANSAS"},{label:"California",value:"CALIFORNIA"},{label:"Colorado",value:"COLORADO"},{label:"Connecticut",value:"CONNECTICUT"},{label:"Delaware",value:"DELAWARE"},{label:"District of Columbia",value:"DISTRICTOFCOLUMBIA"},{label:"Florida",value:"FLORIDA"},{label:"Georgia",value:"GEORGIA"},{label:"Hawaii",value:"HAWAII"},{label:"Idaho",value:"IDAHO"},{label:"Illinois",value:"ILLINOIS"},{label:"Indiana",value:"INDIANA"},{label:"Iowa",value:"IOWA"},{label:"Kansas",value:"KANSAS"},{label:"Kentucky",value:"KENTUCKY"},{label:"Louisiana",value:"LOUISIANA"},{label:"Maine",value:"MAINE"},{label:"Maryland",value:"MARYLAND"},{label:"Massachusetts",value:"MASSACHUSETTS"},{label:"Michigan",value:"MICHIGAN"},{label:"Minnesota",value:"MINNESOTA"},{label:"Mississippi",value:"MISSISSIPPI"},{label:"Missouri",value:"MISSOURI"},{label:"Montana",value:"MONTANA"},{label:"Nebraska",value:"NEBRASKA"},{label:"Nevada",value:"NEVADA"},{label:"New Hampshire",value:"NEWHAMPSHIRE"},{label:"New Jersey",value:"NEWJERSEY"},{label:"New Mexico",value:"NEWMEXICO"},{label:"New York",value:"NEWYORK"},{label:"North Carolina",value:"NORTHCAROLINA"},{label:"North Dakota",value:"NORTHDAKOTA"},{label:"Ohio",value:"OHIO"},{label:"Oklahoma",value:"OKLAHOMA"},{label:"Oregon",value:"OREGON"},{label:"Pennsylvania",value:"PENNSYLVANIA"},{label:"Rhode Island",value:"RHODEISLAND"},{label:"South Carolina",value:"SOUTHCAROLINA"},{label:"South Dakota",value:"SOUTHDAKOTA"},{label:"Tennessee",value:"TENNESSEE"},{label:"Texas",value:"TEXAS"},{label:"Utah",value:"UTAH"},{label:"Vermont",value:"VERMONT"},{label:"Virgin Islands",value:"VIRGINISLANDS"},{label:"Virginia",value:"VIRGINIA"},{label:"Washington",value:"WASHINGTON"},{label:"West Virginia",value:"WESTVIRGINIA"},{label:"Wisconsin",value:"WISCONSIN"},{label:"Wyoming",value:"WYOMING"},{label:"Americas Forces",value:"AAMILITARY"},{label:"Europe, Middle East, Canada, Africa and Canada Forces",value:"AEMILITARY"},{label:"Pacific Forces",value:"APMILITARY"},{label:"Other",value:"OTHER"}]}});var d=e("v",{GB:"VAT",AU:"GST",NZ:"GST",CA:"HST",AT:"VAT",BE:"VAT",BG:"VAT",HR:"VAT",CY:"VAT",CZ:"VAT",DK:"VAT",EE:"VAT",FI:"VAT",FR:"VAT",DE:"VAT",GR:"VAT",HU:"VAT",IE:"VAT",IT:"VAT",LV:"VAT",LT:"VAT",LU:"VAT",MT:"VAT",NL:"VAT",PL:"VAT",PT:"VAT",RO:"VAT",SK:"VAT",SI:"VAT",ES:"VAT",SE:"VAT",IS:"VAT",IN:"GST",IL:"VAT",JP:"CT",MX:"VAT",NO:"VAT",SG:"GST",ZA:"VAT",KR:"VAT",CH:"VAT",TW:"VAT",TH:"VAT",PH:"VAT",MY:"SST",AE:"VAT",TR:"VAT",RU:"VAT"});var b={Container:{width:"100%"},InputContainer:{width:"100%",display:"flex",justifyContent:"flex-start",flexDirection:"column",gap:"16px",padding:"16px",maxWidth:"450px"},ConditionalInputsContainer:{width:"100%",display:"flex",justifyContent:"flex-start",flexDirection:"column",gap:"16px"},HR:{border:"var(--sqm-border-thickness, 1px) solid #E0E0E0",margin:"10px 0"},Input:{maxWidth:"500px"},Checkbox:{"&::part(control)":{borderRadius:"0 !important"}},SearchInput:{padding:"var(--sl-spacing-x-small)"},ErrorInput:{maxWidth:"500px","&::part(base)":{border:"var(--sqm-border-thickness, 1px) solid var(--sl-color-danger-500)",borderRadius:"var(--sl-input-border-radius-medium)"},"&::part(help-text)":{color:"var(--sl-color-danger-500)"}}};var T=r(b);var A=T.toString();var v="\n :host{\n display: block; \n }\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n ";var p=e("O",(function(e){var r,n,s;var o=e.states,u=e.states.formState,b=e.callbacks,p=e.text;var c=T.classes;var N=function(e){return l.formatMessage({id:"tax-field-label"+e,defaultMessage:p.indirectTaxNumber},{taxType:e})};var I=function(e){return l.formatMessage({id:"tax-field-label"+e,defaultMessage:p.error.indirectTaxNumber},{taxType:e})};var S=function(e){var l=e.label,r=e.error,i=e.name;var n;return a("sl-input",Object.assign({required:true,exportparts:"label: input-label, base: input-base",class:c.Input,label:l,disabled:o.loading||o.disabled,value:u[i]},((n=u.errors)===null||n===void 0?void 0:n[i])&&{class:c.ErrorInput,helpText:r},{id:i,name:"/"+i}))};var m=function(){var l,r;return a("div",{class:c.ConditionalInputsContainer},a("sl-select",Object.assign({required:true,exportparts:"label: input-label, base: input-base",class:c.Input,value:u.subRegion,label:p.subRegion,disabled:o.loading||o.disabled},((l=u.errors)===null||l===void 0?void 0:l.indirectTaxNumber)&&{class:c.ErrorInput,helpText:i(p.subRegion,p.error.fieldRequiredError)},{id:"subRegion",name:"/subRegion"}),e.data.esRegions.map((function(e){return a("sl-menu-item",{value:e.regionCode},e.displayName)}))),a(S,{name:"indirectTaxNumber",label:N("VAT"),error:I("VAT")}),a("sl-checkbox",{class:c.Checkbox,exportparts:"label: input-label, base: input-base",checked:u.hasSubRegionTaxNumber,"onSl-change":b.onSpainToggle,disabled:o.disabled||o.isPartner},p.isRegisteredSubRegionIncomeTax),u.hasSubRegionTaxNumber&&a("sl-input",Object.assign({required:true,exportparts:"label: input-label, base: input-base",class:c.Input,label:p.subRegionTaxNumberLabel,disabled:o.loading||o.disabled,value:u.subRegionTaxNumber},((r=u.errors)===null||r===void 0?void 0:r.subRegionTaxNumber)&&{class:c.ErrorInput,helpText:i(p.subRegionTaxNumberLabel,p.error.fieldRequiredError)},{id:"subRegionTaxNumber",name:"/subRegionTaxNumber"})))};var R=function(){var l,r;var n=T.classes;var s=(l=t===null||t===void 0?void 0:t.find((function(e){return e.regionCode===u.province})))===null||l===void 0?void 0:l.taxType;return a("div",{class:n.ConditionalInputsContainer},a("sl-select",Object.assign({required:true,value:u.province,exportparts:"label: input-label, base: input-base",class:n.Input,label:p.province,disabled:o.loading||o.disabled,"onSl-select":function(e){return b.onFormChange("province",e)}},((r=u.errors)===null||r===void 0?void 0:r.province)&&{class:n.ErrorInput,helpText:i(p.province,p.error.fieldRequiredError)},{id:"province",name:"/province"}),e.data.provinces.map((function(e){return a("sl-menu-item",{value:e.regionCode},e.displayName)}))),s==="GST"&&a(S,{label:N("GST"),error:I("GST"),name:"indirectTaxNumber"}),s==="HST"&&a(S,{label:N("HST"),error:I("HST"),name:"indirectTaxNumber"}),u.province==="QUEBEC"&&a("div",{class:n.ConditionalInputsContainer},a("sl-checkbox",{class:n.Checkbox,exportparts:"label: input-label, base: input-base","onSl-change":b.onQstToggle,checked:u.hasQst,disabled:o.isPartner||o.disabled},p.isRegisteredQST),u.hasQst&&a(S,{name:"qstNumber",label:p.qstNumber,error:i(p.qstNumber,p.error.fieldRequiredError)})))};var g=function(e){var l;switch(e){case"CA":return a(R,null);case"ES":return a(m,null);default:return a("sl-input",Object.assign({required:true,exportparts:"label: input-label, base: input-base",class:c.Input,value:u.indirectTaxNumber,label:N(d[e]||"GENERAL"),disabled:o.loading||o.disabled},((l=u.errors)===null||l===void 0?void 0:l.indirectTaxNumber)&&{class:c.ErrorInput,helpText:I(d[e]||"GENERAL")},{id:"indirectTaxNumber",name:"/indirectTaxNumber"}))}};var E=g(u.selectedRegion);return a("div",{style:o.hide?{display:"none"}:{}},a("form",{class:c.Container},a("style",{type:"text/css"},A,v),a("hr",{class:c.HR}),a("div",{class:c.InputContainer},a("sl-select",Object.assign({required:true,class:c.Input,value:u.selectedRegion,exportparts:"label: input-label, base: input-base",label:p.selectedRegion,disabled:o.loading||o.disabled,"onSl-select":function(e){return b.onFormChange("selectedRegion",e)}},((r=u.errors)===null||r===void 0?void 0:r.selectedRegion)&&{class:c.ErrorInput,helpText:i(p.selectedRegion,p.error.fieldRequiredError)},{id:"selectedRegion",name:"/selectedRegion"}),a("sl-input",{class:c.SearchInput,placeholder:p.searchForCountryText,onKeyDown:function(e){e.stopPropagation()},"onSl-input":function(e){b.setCountrySearch(e.target.value)}}),(n=e.data.countries)===null||n===void 0?void 0:n.map((function(e){return a("sl-menu-item",{value:e.countryCode},e.displayName)})),(s=e.data.allCountries)===null||s===void 0?void 0:s.map((function(e){return a("sl-menu-item",{value:e.countryCode,style:{display:"none"}},e.displayName)}))),E),a("hr",{class:c.HR})))}))}}}));
@@ -1 +1 @@
1
- import{h as t,r as s}from"./p-f708da7b.js";import{i,k as n,n as e}from"./p-cd651f81.js";import{i as r}from"./p-94a876b9.js";import{c as l}from"./p-c1086930.js";import{g as o}from"./p-9ec99ced.js";import{c as a}from"./p-cef45012.js";import{E as u}from"./p-91521e9d.js";import{R as c}from"./p-98698131.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=a({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=a({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,o,a,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(o=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===o?void 0:o.password}:{},(null===(u=null===(a=d.registrationFormState)||void 0===a?void 0:a.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,o,a,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(a=null===(o=null==t?void 0:t.demoData)||void 0===o?void 0:o.states)||void 0===a?void 0:a.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(o(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(o(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
1
+ import{h as t,r as s}from"./p-c7c11325.js";import{i,k as n,n as e}from"./p-63e29387.js";import{i as r}from"./p-8e2bead4.js";import{c as l}from"./p-c1086930.js";import{g as a}from"./p-6951663b.js";import{c as o}from"./p-cef45012.js";import{E as u}from"./p-49b20dae.js";import{R as c}from"./p-cab1f502.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=d.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(a(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(a(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,c as e}from"./p-c7c11325.js";import{n as r}from"./p-63e29387.js";import{l}from"./p-6951663b.js";import{l as i}from"./p-08700497.js";const o=class{constructor(t){s(this,t),this.ignored=!0,r(this)}disconnectedCallback(){}render(){return this.data}},a=class{constructor(t){s(this,t),this.ignored=!0,this.locale="en",r(this)}disconnectedCallback(){}render(){var s,t;return this.date?null===(t=null===(s=i.DateTime.fromMillis(this.date))||void 0===s?void 0:s.setLocale(l(this.locale)))||void 0===t?void 0:t.toLocaleString(i.DateTime.DATE_MED):"-"}},n=class{constructor(t){s(this,t),this.ignored=!0,r(this)}disconnectedCallback(){}render(){return t(e,null,t("style",null,"svg:hover, svg:hover * {\n cursor: pointer;\n }"),!!this.downloadUrl&&t("a",{href:this.downloadUrl,target:"_blank"},t("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("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)"}),t("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)"}))))}},c=class{constructor(t){s(this,t),this.colspan=1,this.padding="15px 10px"}render(){return t(e,{style:{display:"contents"}},t("td",{colSpan:this.colspan,style:{padding:this.padding}},t("slot",null)))}},d=class{constructor(t){s(this,t),this.border="var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)"}render(){return t(e,{style:{display:"contents"}},t("tr",{style:{border:this.border}},t("slot",null)))}};export{o as sqm_invoice_table_data_cell,a as sqm_invoice_table_date_cell,n as sqm_invoice_table_download_cell,c as sqm_table_cell,d as sqm_table_row}
@@ -1,4 +1,4 @@
1
- import{r as e,h as o}from"./p-f708da7b.js";import{k as t,f as a,n as r}from"./p-cd651f81.js";import{d as n,H as i,J as d,F as c,w as s,$ as l,B as m,i as g}from"./p-94a876b9.js";import{c as h}from"./p-c1086930.js";import{g as p}from"./p-9ec99ced.js";import"./p-cef45012.js";import{a as u}from"./p-3f7b81b8.js";import"./p-9acb5038.js";import{Q as w}from"./p-893d7ab4.js";const v=n.gql`
1
+ import{r as e,h as o}from"./p-c7c11325.js";import{k as t,f as a,n as r}from"./p-63e29387.js";import{d as n,H as i,J as d,B as c,F as s,w as l,$ as m,i as g}from"./p-8e2bead4.js";import{c as h}from"./p-c1086930.js";import{g as u}from"./p-6951663b.js";import"./p-cef45012.js";import{a as p}from"./p-862845d7.js";import{Q as w}from"./p-692bacf3.js";const v=n.gql`
2
2
  query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {
3
3
  user: viewer {
4
4
  ... on User {
@@ -14,4 +14,4 @@ import{r as e,h as o}from"./p-f708da7b.js";import{k as t,f as a,n as r}from"./p-
14
14
  mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
15
15
  createUserAnalyticsEvent(eventMeta: $eventMeta)
16
16
  }
17
- `,C=class{constructor(o){e(this,o),this.titleText="Share your QR code",this.viewCodeText="View QR code",this.downloadCodeText="Download",this.printCodeText="Print",this.errorHeaderText="There was an error loading your QR code",this.errorDescriptionText="Please refresh this page and try again",this.hideTitle=!1,this.alignment="center",r(this)}disconnectedCallback(){}render(){const e=p(this),r=g()?function(e){const[o,a]=t(!1);return h({dialogIsOpen:o,hideTitle:e.hideTitle,showDialog:()=>a(!0),hideDialog:()=>a(!1),titleText:e.titleText,viewCodeText:e.viewCodeText,downloadCodeText:e.downloadCodeText,printCodeText:e.printCodeText,alignment:e.alignment,qrLink:"https://media.istockphoto.com/id/1251071788/vector/qr-code-bar-code-black-icon-digital-technology.jpg?s=612x612&w=0&k=20&c=maw4OqMSEegAdSo8Drm9HO7i1ddddvP2YaL1UuWbRig=",fireViewQrEvent:()=>{console.log("View QR Code clicked")},createDownloadable:async()=>{console.log("Download QR Code clicked")},createPrintable:async()=>{console.log("Print QR Code clicked")}},e.demoData||{},{arrayMerge:(e,o)=>o})}(e):function(e){var o;const r=i(),n=d(),g=m(),h=c(u),[p,w]=t(null),[C,R]=t(!1),[y,b]=t(!1),{data:q,loading:E}=s(v,{programId:r,engagementMedium:g},!(null==n?void 0:n.jwt)||void 0!==(null==h?void 0:h.shareLink)),[M]=l(f),k=null===(o=null==q?void 0:q.user)||void 0===o?void 0:o.shareLink,I=`${k}?qrCode`,j=E||y;a((()=>{k&&(async()=>{b(!0);try{const e=await fetch(`${k}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`),o=await e.blob(),t=URL.createObjectURL(o);w(t)}catch(e){R(!0)}finally{b(!1)}})()}),[k]);const Q=async()=>{M({eventMeta:{programId:r,id:null==n?void 0:n.id,accountId:null==n?void 0:n.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:g,shareMedium:"DIRECT"}}})};return{...e,loading:j,qrLink:p,error:C,createDownloadable:async()=>{try{const e=await fetch(`${I}&qrCodeSize=800&qrCodeImageFormat=png`),o=await e.blob(),t=URL.createObjectURL(o);o&&Q();const a=document.createElement("a");a.href=t,a.download="qrCode.png",document.body.appendChild(a),a.click(),document.body.removeChild(a)}catch(e){console.error("Failed to fetch QR code:",e),R(!0)}},createPrintable:async()=>{try{const e=await fetch(`${I}&qrCodeSize=1000&qrCodeImageFormat=png&qrCodeErrorCorrectionLevel=H`),o=await e.blob(),t=URL.createObjectURL(o);o&&Q();const a=window.open("about:blank","_new"),r=a.document.createElement("img");r.src=t,r.onload=()=>{a.print(),a.close()},a.document.body.appendChild(r)}catch(e){console.error("Failed to fetch QR code: ",e),R(!0)}}}}(e);return o(w,Object.assign({},r))}};export{C as sqm_qr_code}
17
+ `,C=class{constructor(o){e(this,o),this.titleText="Share your QR code",this.viewCodeText="View QR code",this.downloadCodeText="Download",this.printCodeText="Print",this.errorHeaderText="There was an error loading your QR code",this.errorDescriptionText="Please refresh this page and try again",this.hideTitle=!1,this.alignment="center",r(this)}disconnectedCallback(){}render(){const e=u(this),r=g()?function(e){const[o,a]=t(!1);return h({dialogIsOpen:o,hideTitle:e.hideTitle,showDialog:()=>a(!0),hideDialog:()=>a(!1),titleText:e.titleText,viewCodeText:e.viewCodeText,downloadCodeText:e.downloadCodeText,printCodeText:e.printCodeText,alignment:e.alignment,qrLink:"https://media.istockphoto.com/id/1251071788/vector/qr-code-bar-code-black-icon-digital-technology.jpg?s=612x612&w=0&k=20&c=maw4OqMSEegAdSo8Drm9HO7i1ddddvP2YaL1UuWbRig=",fireViewQrEvent:()=>{console.log("View QR Code clicked")},createDownloadable:async()=>{console.log("Download QR Code clicked")},createPrintable:async()=>{console.log("Print QR Code clicked")}},e.demoData||{},{arrayMerge:(e,o)=>o})}(e):function(e){var o;const r=i(),n=d(),g=c(),h=s(p),[u,w]=t(null),[C,R]=t(!1),[y,q]=t(!1),{data:E,loading:M}=l(v,{programId:r,engagementMedium:g},!(null==n?void 0:n.jwt)||void 0!==(null==h?void 0:h.shareLink)),[b]=m(f),k=null===(o=null==E?void 0:E.user)||void 0===o?void 0:o.shareLink,I=`${k}?qrCode`,Q=M||y;a((()=>{k&&(async()=>{q(!0);try{const e=await fetch(`${k}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`),o=await e.blob(),t=URL.createObjectURL(o);w(t)}catch(e){R(!0)}finally{q(!1)}})()}),[k]);const $=async()=>{b({eventMeta:{programId:r,id:null==n?void 0:n.id,accountId:null==n?void 0:n.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:g,shareMedium:"DIRECT"}}})};return{...e,loading:Q,qrLink:u,error:C,createDownloadable:async()=>{try{const e=await fetch(`${I}&qrCodeSize=800&qrCodeImageFormat=png`),o=await e.blob(),t=URL.createObjectURL(o);o&&$();const a=document.createElement("a");a.href=t,a.download="qrCode.png",document.body.appendChild(a),a.click(),document.body.removeChild(a)}catch(e){console.error("Failed to fetch QR code:",e),R(!0)}},createPrintable:async()=>{try{const e=await fetch(`${I}&qrCodeSize=1000&qrCodeImageFormat=png&qrCodeErrorCorrectionLevel=H`),o=await e.blob(),t=URL.createObjectURL(o);o&&$();const a=window.open("about:blank","_new"),r=a.document.createElement("img");r.src=t,r.onload=()=>{a.print(),a.close()},a.document.body.appendChild(r)}catch(e){console.error("Failed to fetch QR code: ",e),R(!0)}}}}(e);return o(w,Object.assign({},r))}};export{C as sqm_qr_code}