@saasquatch/mint-components 1.6.8-9 → 1.6.9

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 (657) hide show
  1. package/LICENSE +1 -1
  2. package/dist/cjs/{ShadowViewAddon-b706b992.js → ShadowViewAddon-f670c663.js} +271 -83
  3. package/dist/cjs/email-registration-view-f347daa7.js +79 -0
  4. package/dist/cjs/{global-48c25606.js → global-40232313.js} +8 -2
  5. package/dist/cjs/{index.module-f6afc139.js → index.module-4314dfb1.js} +227 -237
  6. package/dist/cjs/loader.cjs.js +3 -4
  7. package/dist/cjs/mint-components.cjs.js +3 -4
  8. package/dist/cjs/{re-render-552514cb.js → re-render-9a4ef430.js} +3 -3
  9. package/dist/cjs/{sqm-asset-card-view-79099616.js → sqm-asset-card-view-a0e33f21.js} +2 -2
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -3
  11. package/dist/cjs/{sqm-big-stat_37.cjs.entry.js → sqm-big-stat_39.cjs.entry.js} +594 -291
  12. package/dist/cjs/sqm-close-button-view-fd6e8f60.js +28 -0
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +41 -0
  14. package/dist/cjs/sqm-empty_5.cjs.entry.js +14 -7
  15. package/dist/cjs/sqm-form-message.cjs.entry.js +4 -1
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -6
  17. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  18. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +158 -0
  19. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -6
  20. package/dist/cjs/{sqm-user-identifier-view-90b36758.js → sqm-logout-current-user-view-555c7729.js} +8 -6
  21. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +62 -0
  22. package/dist/cjs/{sqm-navigation-sidebar-item-view-c39b695c.js → sqm-navigation-sidebar-item-view-f66a1735.js} +4 -4
  23. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -4
  24. package/dist/cjs/{sqm-navigation-sidebar-view-b830e8d8.js → sqm-navigation-sidebar-view-dd53f947.js} +2 -2
  25. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -4
  26. package/dist/cjs/sqm-password-field.cjs.entry.js +5 -6
  27. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
  28. package/dist/cjs/{sqm-portal-container-view-6accb54a.js → sqm-portal-container-view-5fb2ad49.js} +4 -3
  29. package/dist/cjs/{sqm-portal-email-verification-view-2e646897.js → sqm-portal-email-verification-view-338e9288.js} +2 -2
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +16 -17
  31. package/dist/cjs/{sqm-portal-forgot-password-view-f73bb724.js → sqm-portal-forgot-password-view-0142350f.js} +2 -2
  32. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +12 -13
  33. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -4
  34. package/dist/cjs/{sqm-portal-profile-view-52bc73ad.js → sqm-portal-profile-view-4847f1ea.js} +3 -3
  35. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -16
  36. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +8 -9
  37. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +25 -26
  38. package/dist/cjs/{sqm-portal-reset-password-view-e182df83.js → sqm-portal-reset-password-view-d5bc7afc.js} +1 -1
  39. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +16 -17
  40. package/dist/cjs/{sqm-portal-verify-email-view-fd739843.js → sqm-portal-verify-email-view-f6c7287e.js} +3 -3
  41. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +10 -11
  42. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +37 -38
  43. package/dist/cjs/sqm-referred-registration.cjs.entry.js +90 -11
  44. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  45. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +3 -4
  46. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +33 -34
  47. package/dist/cjs/sqm-stencilbook.cjs.entry.js +548 -343
  48. package/dist/cjs/sqm-tab.cjs.entry.js +2 -3
  49. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -5
  50. package/dist/cjs/{sqm-text-span-view-3c734dbb.js → sqm-text-span-view-e1cd9bd3.js} +1 -1
  51. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  52. package/dist/cjs/{useChildElements-a8f7f5ca.js → useChildElements-749f9c9c.js} +2 -2
  53. package/dist/cjs/useInstantAccessRegistration-1fea58e7.js +87 -0
  54. package/dist/cjs/{useReferralTable-f53a9a1b.js → useReferralTable-650b1957.js} +7 -7
  55. package/dist/cjs/{useRegistrationFormState-99160dad.js → useRegistrationFormState-67c0b5ff.js} +2 -2
  56. package/dist/collection/collection-manifest.json +4 -3
  57. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +2 -2
  58. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +2 -2
  59. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +3 -3
  60. package/dist/collection/components/sqm-brand/sqm-brand.js +3 -3
  61. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +4 -4
  62. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +6 -1
  63. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
  64. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +9 -9
  65. package/dist/collection/components/sqm-close-button/CloseButton.stories.js +27 -0
  66. package/dist/collection/components/sqm-close-button/sqm-close-button-view.js +23 -0
  67. package/dist/collection/components/sqm-close-button/sqm-close-button.js +65 -0
  68. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +41 -11
  69. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +30 -0
  70. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +282 -45
  71. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +88 -11
  72. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +1 -1
  73. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +2 -2
  74. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
  75. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -5
  76. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +4 -4
  77. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +7 -7
  78. package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
  79. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +4 -0
  80. package/dist/collection/components/sqm-form-message/sqm-form-message.css +5 -0
  81. package/dist/collection/components/sqm-form-message/sqm-form-message.js +8 -3
  82. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +6 -6
  83. package/dist/collection/components/sqm-hero/Hero.stories.js +30 -0
  84. package/dist/collection/components/sqm-hero/sqm-hero-view.js +6 -5
  85. package/dist/collection/components/sqm-hero/sqm-hero.js +42 -8
  86. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +10 -9
  87. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +21 -21
  88. package/dist/collection/components/sqm-image/sqm-image-view.js +1 -1
  89. package/dist/collection/components/sqm-image/sqm-image.js +5 -5
  90. package/dist/collection/components/sqm-input-field/InputField.stories.js +6 -1
  91. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +1 -1
  92. package/dist/collection/components/sqm-input-field/sqm-input-field.js +6 -6
  93. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +574 -0
  94. package/dist/collection/components/sqm-instant-access-registration/useInstantAccessRegistration.js +82 -0
  95. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
  96. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +13 -13
  97. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +6 -6
  98. package/dist/collection/components/sqm-link-button/LinkButton.stories.js +3 -4
  99. package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +7 -4
  100. package/dist/collection/components/sqm-link-button/sqm-link-button.js +40 -6
  101. package/dist/collection/components/sqm-logout-current-user/LogoutCurrentUser.stories.js +17 -0
  102. package/dist/collection/components/{sqm-user-identifier/sqm-user-identifier-view.js → sqm-logout-current-user/sqm-logout-current-user-view.js} +7 -5
  103. package/dist/collection/components/{sqm-user-identifier/sqm-user-identifier.js → sqm-logout-current-user/sqm-logout-current-user.js} +31 -45
  104. package/dist/collection/components/sqm-logout-current-user/useLogoutCurrentUser.js +14 -0
  105. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +4 -4
  106. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +2 -2
  107. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +2 -2
  108. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +2 -2
  109. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -1
  110. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +1 -1
  111. package/dist/collection/components/sqm-password-field/sqm-password-field.js +4 -4
  112. package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +2 -2
  113. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +5 -5
  114. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +16 -16
  115. package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +12 -0
  116. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +2 -1
  117. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +40 -3
  118. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +12 -12
  119. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
  120. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +40 -24
  121. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -1
  122. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +12 -12
  123. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -3
  124. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  125. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +18 -18
  126. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +3 -2
  127. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  128. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +16 -16
  129. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +6 -6
  130. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +16 -2
  131. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -5
  132. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +151 -25
  133. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +5 -5
  134. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -1
  135. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +35 -35
  136. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +18 -18
  137. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +2 -2
  138. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +4 -4
  139. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +3 -3
  140. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +3 -3
  141. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -4
  142. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +3 -3
  143. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +23 -0
  144. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +27 -32
  145. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +246 -3
  146. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +5 -5
  147. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +7 -7
  148. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -1
  149. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -4
  150. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +14 -14
  151. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -6
  152. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +6 -6
  153. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +16 -16
  154. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +379 -18
  155. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -1
  156. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +50 -50
  157. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +3 -3
  158. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +4 -4
  159. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -2
  160. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +8 -8
  161. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +12 -12
  162. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +12 -12
  163. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +12 -12
  164. package/dist/collection/components/sqm-route/sqm-route.js +1 -1
  165. package/dist/collection/components/sqm-scroll/sqm-scroll.js +9 -9
  166. package/dist/collection/components/sqm-share-button/sqm-share-button.js +17 -17
  167. package/dist/collection/components/sqm-share-code/ShareCode.stories.js +4 -9
  168. package/dist/collection/components/sqm-share-code/sqm-share-code.js +30 -31
  169. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +4 -9
  170. package/dist/collection/components/sqm-share-link/sqm-share-link.js +32 -33
  171. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +3 -3
  172. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -2
  173. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -2
  174. package/dist/collection/components/sqm-tab/sqm-tab.js +1 -1
  175. package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +2 -2
  176. package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -1
  177. package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
  178. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +3 -3
  179. package/dist/collection/components/sqm-task-card/sqm-task-card.js +36 -36
  180. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
  181. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +2 -2
  182. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +2 -2
  183. package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +2 -2
  184. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +6 -6
  185. package/dist/collection/components/sqm-user-name/sqm-user-name.js +4 -4
  186. package/dist/collection/components/views/EmailRegistration.stories.js +38 -3
  187. package/dist/collection/components/views/copy-text-view.js +44 -27
  188. package/dist/collection/components/views/email-registration-view.js +34 -7
  189. package/dist/collection/global/styles.js +6 -0
  190. package/dist/collection/global/styles.ts +6 -0
  191. package/dist/collection/stories/PortalTemplates.stories.js +2 -42
  192. package/dist/collection/stories/Widget.stories.js +24 -26
  193. package/dist/collection/utils/DefaultTemplateView.js +31 -0
  194. package/dist/collection/utils/TemplateView.js +13 -0
  195. package/dist/esm/{ShadowViewAddon-8acfeb00.js → ShadowViewAddon-86f7b900.js} +272 -86
  196. package/dist/esm/email-registration-view-0a11e959.js +77 -0
  197. package/dist/esm/{global-170c4499.js → global-9992475a.js} +9 -3
  198. package/dist/esm/{index.module-0ba0774e.js → index.module-bbce47bd.js} +210 -221
  199. package/dist/esm/loader.js +4 -5
  200. package/dist/esm/{luxon-1e38d7f1.js → luxon-f01e85fe.js} +1 -1
  201. package/dist/esm/mint-components.js +4 -5
  202. package/dist/esm/{re-render-22de5b23.js → re-render-88ac4fa7.js} +4 -4
  203. package/dist/esm/{sqm-asset-card-view-b2ac5a23.js → sqm-asset-card-view-9d93fbdd.js} +2 -2
  204. package/dist/esm/sqm-asset-card.entry.js +3 -4
  205. package/dist/esm/{sqm-big-stat_37.entry.js → sqm-big-stat_39.entry.js} +596 -295
  206. package/dist/esm/sqm-close-button-view-dc65b4e3.js +26 -0
  207. package/dist/esm/sqm-close-button.entry.js +37 -0
  208. package/dist/esm/sqm-empty_5.entry.js +15 -8
  209. package/dist/esm/sqm-form-message.entry.js +5 -2
  210. package/dist/esm/sqm-graphql-client-provider.entry.js +6 -7
  211. package/dist/esm/sqm-header-logo.entry.js +4 -4
  212. package/dist/esm/sqm-instant-access-registration.entry.js +154 -0
  213. package/dist/esm/sqm-leaderboard-rank.entry.js +6 -7
  214. package/dist/esm/{sqm-user-identifier-view-dbf71a5e.js → sqm-logout-current-user-view-2d740794.js} +8 -6
  215. package/dist/esm/sqm-logout-current-user.entry.js +58 -0
  216. package/dist/esm/{sqm-navigation-sidebar-item-view-5a4ac267.js → sqm-navigation-sidebar-item-view-debb6dfe.js} +4 -4
  217. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -5
  218. package/dist/esm/{sqm-navigation-sidebar-view-feb719ce.js → sqm-navigation-sidebar-view-414bcb19.js} +2 -2
  219. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -5
  220. package/dist/esm/sqm-password-field.entry.js +6 -7
  221. package/dist/esm/sqm-popup-container.entry.js +7 -8
  222. package/dist/esm/{sqm-portal-container-view-83b417f0.js → sqm-portal-container-view-ab89c6cc.js} +4 -3
  223. package/dist/esm/{sqm-portal-email-verification-view-889fcc01.js → sqm-portal-email-verification-view-a93d12ca.js} +2 -2
  224. package/dist/esm/sqm-portal-email-verification.entry.js +16 -17
  225. package/dist/esm/{sqm-portal-forgot-password-view-9970dee2.js → sqm-portal-forgot-password-view-41afcace.js} +2 -2
  226. package/dist/esm/sqm-portal-forgot-password.entry.js +13 -14
  227. package/dist/esm/sqm-portal-logout.entry.js +4 -5
  228. package/dist/esm/{sqm-portal-profile-view-ac955752.js → sqm-portal-profile-view-1022dd7b.js} +3 -3
  229. package/dist/esm/sqm-portal-profile.entry.js +16 -17
  230. package/dist/esm/sqm-portal-protected-route.entry.js +9 -10
  231. package/dist/esm/sqm-portal-registration-form.entry.js +25 -26
  232. package/dist/esm/{sqm-portal-reset-password-view-1f0f3bf8.js → sqm-portal-reset-password-view-0df781f6.js} +1 -1
  233. package/dist/esm/sqm-portal-reset-password.entry.js +17 -18
  234. package/dist/esm/{sqm-portal-verify-email-view-8d453021.js → sqm-portal-verify-email-view-1db4fae6.js} +3 -3
  235. package/dist/esm/sqm-portal-verify-email.entry.js +11 -12
  236. package/dist/esm/sqm-referral-table_11.entry.js +39 -40
  237. package/dist/esm/sqm-referred-registration.entry.js +91 -12
  238. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +2 -2
  239. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
  240. package/dist/esm/sqm-rewards-table_9.entry.js +35 -36
  241. package/dist/esm/sqm-stencilbook.entry.js +541 -336
  242. package/dist/esm/sqm-tab.entry.js +3 -4
  243. package/dist/esm/sqm-tabs.entry.js +5 -6
  244. package/dist/esm/{sqm-text-span-view-2f7d6d14.js → sqm-text-span-view-8d140661.js} +1 -1
  245. package/dist/esm/sqm-text-span.entry.js +2 -2
  246. package/dist/esm/{stencil-hooks.module-b48b45ec.js → stencil-hooks.module-14b87f98.js} +1 -1
  247. package/dist/esm/{useChildElements-fd458906.js → useChildElements-ae207f6d.js} +3 -3
  248. package/dist/esm/useInstantAccessRegistration-175820dc.js +85 -0
  249. package/dist/esm/{useReferralTable-a3d6051e.js → useReferralTable-3aa578fa.js} +9 -9
  250. package/dist/esm/{useRegistrationFormState-29e30121.js → useRegistrationFormState-7bf6c145.js} +3 -3
  251. package/dist/esm-es5/ShadowViewAddon-86f7b900.js +1 -0
  252. package/dist/esm-es5/email-registration-view-0a11e959.js +1 -0
  253. package/dist/esm-es5/{global-170c4499.js → global-9992475a.js} +2 -2
  254. package/dist/esm-es5/index.module-bbce47bd.js +1 -0
  255. package/dist/esm-es5/loader.js +1 -1
  256. package/dist/esm-es5/{luxon-1e38d7f1.js → luxon-f01e85fe.js} +1 -1
  257. package/dist/esm-es5/mint-components.js +1 -1
  258. package/dist/esm-es5/{re-render-22de5b23.js → re-render-88ac4fa7.js} +1 -1
  259. package/dist/esm-es5/sqm-asset-card-view-9d93fbdd.js +1 -0
  260. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  261. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -0
  262. package/dist/esm-es5/sqm-close-button-view-dc65b4e3.js +1 -0
  263. package/dist/esm-es5/sqm-close-button.entry.js +1 -0
  264. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  265. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  266. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  267. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  268. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -0
  269. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  270. package/dist/esm-es5/sqm-logout-current-user-view-2d740794.js +1 -0
  271. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -0
  272. package/dist/esm-es5/sqm-navigation-sidebar-item-view-debb6dfe.js +1 -0
  273. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  274. package/dist/esm-es5/{sqm-navigation-sidebar-view-feb719ce.js → sqm-navigation-sidebar-view-414bcb19.js} +1 -1
  275. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  276. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  277. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  278. package/dist/esm-es5/sqm-portal-container-view-ab89c6cc.js +1 -0
  279. package/dist/esm-es5/{sqm-portal-email-verification-view-889fcc01.js → sqm-portal-email-verification-view-a93d12ca.js} +1 -1
  280. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  281. package/dist/esm-es5/sqm-portal-forgot-password-view-41afcace.js +1 -0
  282. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  283. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  284. package/dist/esm-es5/sqm-portal-profile-view-1022dd7b.js +1 -0
  285. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  286. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  287. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  288. package/dist/esm-es5/{sqm-portal-reset-password-view-1f0f3bf8.js → sqm-portal-reset-password-view-0df781f6.js} +1 -1
  289. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  290. package/dist/esm-es5/sqm-portal-verify-email-view-1db4fae6.js +1 -0
  291. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  292. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  293. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  294. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  295. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  296. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  297. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  298. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  299. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  300. package/dist/esm-es5/{sqm-text-span-view-2f7d6d14.js → sqm-text-span-view-8d140661.js} +1 -1
  301. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  302. package/dist/esm-es5/{stencil-hooks.module-b48b45ec.js → stencil-hooks.module-14b87f98.js} +1 -1
  303. package/dist/esm-es5/{useChildElements-fd458906.js → useChildElements-ae207f6d.js} +1 -1
  304. package/dist/esm-es5/useInstantAccessRegistration-175820dc.js +1 -0
  305. package/dist/esm-es5/{useReferralTable-a3d6051e.js → useReferralTable-3aa578fa.js} +1 -1
  306. package/dist/esm-es5/useRegistrationFormState-7bf6c145.js +1 -0
  307. package/dist/mint-components/global/styles.ts +6 -0
  308. package/dist/mint-components/mint-components.esm.js +1 -1
  309. package/dist/mint-components/mint-components.js +1 -1
  310. package/dist/mint-components/p-0076de9e.js +1 -0
  311. package/dist/mint-components/{p-64242338.system.js → p-082fe308.system.js} +1 -1
  312. package/dist/mint-components/p-0ab63c5d.system.entry.js +1 -0
  313. package/dist/mint-components/p-0bf5a9b8.system.entry.js +1 -0
  314. package/dist/mint-components/p-0f59af44.system.entry.js +1 -0
  315. package/dist/mint-components/p-11ee41b2.entry.js +9 -0
  316. package/dist/mint-components/p-11f90784.entry.js +13 -0
  317. package/dist/mint-components/{p-7d31f692.js → p-128c36cb.js} +1 -1
  318. package/dist/mint-components/p-1437b793.system.js +1 -0
  319. package/dist/mint-components/p-16394ed3.system.entry.js +1 -0
  320. package/dist/mint-components/{p-96b05458.system.entry.js → p-16a009a5.system.entry.js} +1 -1
  321. package/dist/mint-components/{p-9cdf8d74.entry.js → p-192d008d.entry.js} +2 -2
  322. package/dist/mint-components/p-194d5ee8.system.entry.js +1 -0
  323. package/dist/mint-components/p-1c9d83b4.entry.js +1 -0
  324. package/dist/mint-components/p-1db4e037.system.entry.js +1 -0
  325. package/dist/mint-components/p-1fdf691b.js +1 -0
  326. package/dist/mint-components/{p-7d7baf55.entry.js → p-230ee2cf.entry.js} +2 -2
  327. package/dist/mint-components/p-25233df5.js +1 -0
  328. package/dist/mint-components/p-29edd49c.system.js +1 -0
  329. package/dist/mint-components/{p-3c189cea.system.js → p-2b6c19e0.system.js} +1 -1
  330. package/dist/mint-components/p-2bf86715.js +1 -0
  331. package/dist/mint-components/p-2de46e95.system.entry.js +1 -0
  332. package/dist/mint-components/p-3036cf58.system.js +1 -0
  333. package/dist/mint-components/p-307ef2b0.system.js +1 -0
  334. package/dist/mint-components/p-33f0d220.system.js +1 -0
  335. package/dist/mint-components/{p-d6c78b10.entry.js → p-399a1963.entry.js} +2 -2
  336. package/dist/mint-components/{p-b79c0e38.system.js → p-3cc28285.system.js} +1 -1
  337. package/dist/mint-components/p-3d34ec61.system.js +1 -0
  338. package/dist/mint-components/p-438599c9.entry.js +1 -0
  339. package/dist/mint-components/p-44dad7ec.entry.js +1 -0
  340. package/dist/mint-components/p-44f77c0b.system.entry.js +1 -0
  341. package/dist/mint-components/p-45b73581.system.js +1 -0
  342. package/dist/mint-components/p-46be1518.system.js +1 -0
  343. package/dist/mint-components/p-474aa3f6.entry.js +1 -0
  344. package/dist/mint-components/{p-bb6f60a6.system.js → p-4f775e84.system.js} +1 -1
  345. package/dist/mint-components/p-4fb813da.entry.js +1 -0
  346. package/dist/mint-components/p-539f8759.system.js +1 -0
  347. package/dist/mint-components/{p-bd63ef52.system.js → p-56525896.system.js} +1 -1
  348. package/dist/mint-components/p-56a7983b.js +1 -0
  349. package/dist/mint-components/{p-9076f688.js → p-58778ecb.js} +1 -1
  350. package/dist/mint-components/p-58852f54.entry.js +1 -0
  351. package/dist/mint-components/{p-f8dd6bac.js → p-5d0c9424.js} +1 -1
  352. package/dist/mint-components/p-5df5e5f9.system.entry.js +1 -0
  353. package/dist/mint-components/p-5e4833bf.system.js +1 -0
  354. package/dist/mint-components/p-608f0ed5.js +1 -0
  355. package/dist/mint-components/p-6147a73f.entry.js +1 -0
  356. package/dist/mint-components/{p-a59be693.js → p-67abcc4a.js} +4 -4
  357. package/dist/mint-components/p-6cdd171b.entry.js +1 -0
  358. package/dist/mint-components/p-6ec0be2a.entry.js +1 -0
  359. package/dist/mint-components/p-71584f5f.system.entry.js +1 -0
  360. package/dist/mint-components/p-744a6dac.system.js +1 -0
  361. package/dist/mint-components/p-75ddf3ca.js +1 -0
  362. package/dist/mint-components/p-79d72296.system.entry.js +1 -0
  363. package/dist/mint-components/p-79da7f18.js +1 -0
  364. package/dist/mint-components/p-7d3414ba.system.entry.js +1 -0
  365. package/dist/mint-components/p-7f8f0db3.entry.js +1 -0
  366. package/dist/mint-components/p-8bc630b0.system.entry.js +1 -0
  367. package/dist/mint-components/{p-0c7a3116.system.entry.js → p-8e649005.system.entry.js} +1 -1
  368. package/dist/mint-components/p-8f3486f6.entry.js +187 -0
  369. package/dist/mint-components/{p-ed801cb7.js → p-901f5b80.js} +1 -1
  370. package/dist/mint-components/p-922578e4.system.js +1 -0
  371. package/dist/mint-components/p-92cb27b6.entry.js +1 -0
  372. package/dist/mint-components/p-9907bc8a.js +1 -0
  373. package/dist/mint-components/p-9b2e0181.js +268 -0
  374. package/dist/mint-components/p-9b4eaec3.system.entry.js +1 -0
  375. package/dist/mint-components/{p-657acf81.system.js → p-9e2e4fbe.system.js} +1 -1
  376. package/dist/mint-components/p-9eae314d.entry.js +1 -0
  377. package/dist/mint-components/p-9fc8505c.entry.js +1 -0
  378. package/dist/mint-components/p-a217deee.js +1 -0
  379. package/dist/mint-components/p-a35aa347.entry.js +1 -0
  380. package/dist/mint-components/{p-9d9da716.js → p-a44dff0a.js} +1 -1
  381. package/dist/mint-components/p-a6c68191.entry.js +1 -0
  382. package/dist/mint-components/p-aaeeec70.system.entry.js +1 -0
  383. package/dist/mint-components/{p-8f58a603.system.js → p-ad7d5f56.system.js} +1 -1
  384. package/dist/mint-components/{p-3cbdb360.system.entry.js → p-b668aa0b.system.entry.js} +1 -1
  385. package/dist/mint-components/p-bbe7d182.system.entry.js +1 -0
  386. package/dist/mint-components/p-bd86123f.entry.js +1 -0
  387. package/dist/mint-components/{p-96e98d06.system.js → p-c06048c9.system.js} +1 -1
  388. package/dist/mint-components/p-c5577dd7.system.js +1 -0
  389. package/dist/mint-components/p-c6795c0c.entry.js +1 -0
  390. package/dist/mint-components/p-c80304f8.system.entry.js +1 -0
  391. package/dist/mint-components/p-c8d74710.entry.js +1 -0
  392. package/dist/mint-components/p-c9ff4821.entry.js +1 -0
  393. package/dist/mint-components/p-cadf178d.entry.js +1 -0
  394. package/dist/mint-components/p-cb900cb6.system.js +1 -0
  395. package/dist/mint-components/p-cbe95ae4.system.entry.js +1 -0
  396. package/dist/mint-components/p-cd9e6c32.system.entry.js +1 -0
  397. package/dist/mint-components/p-d349add6.system.entry.js +1 -0
  398. package/dist/mint-components/{p-25254dd1.js → p-d576140e.js} +1 -1
  399. package/dist/mint-components/p-d5a32584.entry.js +1 -0
  400. package/dist/mint-components/p-d6d40daa.system.entry.js +1 -0
  401. package/dist/mint-components/p-db24ac64.js +1 -0
  402. package/dist/mint-components/p-db27e30b.js +1 -0
  403. package/dist/mint-components/{p-085290c7.system.entry.js → p-e341e670.system.entry.js} +1 -1
  404. package/dist/mint-components/p-e4ed1803.entry.js +1 -0
  405. package/dist/mint-components/p-e56cabdd.system.js +1 -0
  406. package/dist/mint-components/p-e704842c.js +1 -0
  407. package/dist/mint-components/p-e753d5f0.system.entry.js +1 -0
  408. package/dist/mint-components/p-ee469a91.entry.js +1 -0
  409. package/dist/mint-components/p-ee4cbecb.entry.js +1 -0
  410. package/dist/mint-components/{p-a90b4c3f.js → p-efd129de.js} +1 -1
  411. package/dist/mint-components/{p-70263662.system.js → p-f1aed7cc.system.js} +2 -2
  412. package/dist/mint-components/p-f2724390.system.entry.js +1 -0
  413. package/dist/mint-components/p-f2944edb.system.entry.js +1 -0
  414. package/dist/mint-components/p-f665d57c.system.entry.js +1 -0
  415. package/dist/mint-components/{p-da70e75d.entry.js → p-f82bb604.entry.js} +1 -1
  416. package/dist/mint-components/p-fb93c962.js +1 -0
  417. package/dist/mint-components/p-fd5d6181.system.entry.js +1 -0
  418. package/dist/mint-components/{p-d9643307.system.entry.js → p-ff3b0ece.system.entry.js} +1 -1
  419. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +2 -2
  420. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +2 -2
  421. package/dist/types/components/sqm-brand/sqm-brand.d.ts +3 -3
  422. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +2 -2
  423. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +5 -5
  424. package/dist/types/components/sqm-close-button/CloseButton.stories.d.ts +8 -0
  425. package/dist/types/components/sqm-close-button/sqm-close-button-view.d.ts +5 -0
  426. package/dist/types/components/sqm-close-button/sqm-close-button.d.ts +14 -0
  427. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +15 -4
  428. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +6 -0
  429. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +70 -20
  430. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +9 -2
  431. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -1
  432. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +3 -3
  433. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +7 -7
  434. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +1 -0
  435. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -2
  436. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +3 -3
  437. package/dist/types/components/sqm-hero/Hero.stories.d.ts +2 -0
  438. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +1 -0
  439. package/dist/types/components/sqm-hero/sqm-hero.d.ts +12 -5
  440. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +13 -13
  441. package/dist/types/components/sqm-image/sqm-image.d.ts +4 -4
  442. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +4 -4
  443. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +111 -0
  444. package/dist/types/components/sqm-instant-access-registration/useInstantAccessRegistration.d.ts +11 -0
  445. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +10 -10
  446. package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +5 -5
  447. package/dist/types/components/sqm-link-button/sqm-link-button-view.d.ts +2 -2
  448. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +10 -3
  449. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user-view.d.ts +6 -0
  450. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +28 -0
  451. package/dist/types/components/sqm-logout-current-user/useLogoutCurrentUser.d.ts +3 -0
  452. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +2 -2
  453. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +2 -2
  454. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +1 -1
  455. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +2 -2
  456. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +5 -5
  457. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -8
  458. package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +1 -0
  459. package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +1 -0
  460. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +10 -3
  461. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +6 -6
  462. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +17 -13
  463. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +6 -6
  464. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +9 -9
  465. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +2 -1
  466. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +8 -8
  467. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +3 -3
  468. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +2 -0
  469. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +40 -12
  470. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +18 -18
  471. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +9 -9
  472. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +2 -2
  473. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +3 -3
  474. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +3 -3
  475. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +5 -0
  476. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +9 -0
  477. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +45 -1
  478. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +3 -3
  479. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -1
  480. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +2 -2
  481. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +6 -6
  482. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +3 -3
  483. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +3 -3
  484. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +8 -8
  485. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +80 -6
  486. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +25 -25
  487. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -2
  488. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -1
  489. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +4 -4
  490. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +6 -6
  491. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +6 -6
  492. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +6 -6
  493. package/dist/types/components/sqm-route/sqm-route.d.ts +1 -1
  494. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +7 -7
  495. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +12 -12
  496. package/dist/types/components/sqm-share-code/ShareCode.stories.d.ts +1 -1
  497. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +13 -15
  498. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -1
  499. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +13 -15
  500. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
  501. package/dist/types/components/sqm-tab/sqm-tab.d.ts +1 -1
  502. package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +1 -1
  503. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -1
  504. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +21 -21
  505. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +2 -2
  506. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +3 -3
  507. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -2
  508. package/dist/types/components/views/EmailRegistration.stories.d.ts +3 -0
  509. package/dist/types/components/views/copy-text-view.d.ts +5 -2
  510. package/dist/types/components/views/email-registration-view.d.ts +10 -0
  511. package/dist/types/components.d.ts +1400 -846
  512. package/dist/types/global/styles.d.ts +1 -1
  513. package/dist/types/stories/PortalTemplates.stories.d.ts +0 -1
  514. package/dist/types/stories/Widget.stories.d.ts +16 -4
  515. package/dist/types/utils/DefaultTemplateView.d.ts +1 -0
  516. package/dist/types/utils/TemplateView.d.ts +1 -0
  517. package/docs/docs.docx +0 -0
  518. package/docs/raisins.json +1 -1
  519. package/grapesjs/grapesjs.js +1 -1
  520. package/package.json +4 -4
  521. package/dist/cjs/email-registration-view-a483578e.js +0 -52
  522. package/dist/cjs/sqm-hero-view-ddd1ef43.js +0 -149
  523. package/dist/cjs/sqm-hero.cjs.entry.js +0 -58
  524. package/dist/cjs/sqm-link-button-view-2ee270e0.js +0 -27
  525. package/dist/cjs/sqm-link-button.cjs.entry.js +0 -23
  526. package/dist/cjs/sqm-passwordless-registration.cjs.entry.js +0 -81
  527. package/dist/cjs/sqm-user-identifier.cjs.entry.js +0 -52
  528. package/dist/cjs/use-callback-86e9ac75.js +0 -7
  529. package/dist/cjs/usePasswordlessRegistration-983ebab7.js +0 -46
  530. package/dist/collection/components/sqm-passwordless-registration/sqm-passwordless-registration.js +0 -215
  531. package/dist/collection/components/sqm-passwordless-registration/usePasswordlessRegistration.js +0 -41
  532. package/dist/collection/components/sqm-user-identifier/UserIdentifier.stories.js +0 -17
  533. package/dist/collection/components/sqm-user-identifier/useUserIdentifer.js +0 -9
  534. package/dist/esm/email-registration-view-0ed79e24.js +0 -50
  535. package/dist/esm/sqm-hero-view-875c927d.js +0 -147
  536. package/dist/esm/sqm-hero.entry.js +0 -54
  537. package/dist/esm/sqm-link-button-view-90aeb27f.js +0 -25
  538. package/dist/esm/sqm-link-button.entry.js +0 -19
  539. package/dist/esm/sqm-passwordless-registration.entry.js +0 -77
  540. package/dist/esm/sqm-user-identifier.entry.js +0 -48
  541. package/dist/esm/use-callback-051c06c6.js +0 -5
  542. package/dist/esm/usePasswordlessRegistration-94f265fe.js +0 -44
  543. package/dist/esm-es5/ShadowViewAddon-8acfeb00.js +0 -1
  544. package/dist/esm-es5/email-registration-view-0ed79e24.js +0 -1
  545. package/dist/esm-es5/index.module-0ba0774e.js +0 -1
  546. package/dist/esm-es5/sqm-asset-card-view-b2ac5a23.js +0 -1
  547. package/dist/esm-es5/sqm-big-stat_37.entry.js +0 -1
  548. package/dist/esm-es5/sqm-hero-view-875c927d.js +0 -1
  549. package/dist/esm-es5/sqm-hero.entry.js +0 -1
  550. package/dist/esm-es5/sqm-link-button-view-90aeb27f.js +0 -1
  551. package/dist/esm-es5/sqm-link-button.entry.js +0 -1
  552. package/dist/esm-es5/sqm-navigation-sidebar-item-view-5a4ac267.js +0 -1
  553. package/dist/esm-es5/sqm-passwordless-registration.entry.js +0 -1
  554. package/dist/esm-es5/sqm-portal-container-view-83b417f0.js +0 -1
  555. package/dist/esm-es5/sqm-portal-forgot-password-view-9970dee2.js +0 -1
  556. package/dist/esm-es5/sqm-portal-profile-view-ac955752.js +0 -1
  557. package/dist/esm-es5/sqm-portal-verify-email-view-8d453021.js +0 -1
  558. package/dist/esm-es5/sqm-user-identifier-view-dbf71a5e.js +0 -1
  559. package/dist/esm-es5/sqm-user-identifier.entry.js +0 -1
  560. package/dist/esm-es5/use-callback-051c06c6.js +0 -1
  561. package/dist/esm-es5/usePasswordlessRegistration-94f265fe.js +0 -1
  562. package/dist/esm-es5/useRegistrationFormState-29e30121.js +0 -1
  563. package/dist/mint-components/p-03ad8655.js +0 -1
  564. package/dist/mint-components/p-045af9fb.system.entry.js +0 -1
  565. package/dist/mint-components/p-0597b64f.js +0 -1
  566. package/dist/mint-components/p-0a410d79.entry.js +0 -1
  567. package/dist/mint-components/p-0b6ee047.entry.js +0 -13
  568. package/dist/mint-components/p-0c5aadd5.system.entry.js +0 -1
  569. package/dist/mint-components/p-0d395b4f.system.entry.js +0 -1
  570. package/dist/mint-components/p-0e359e2a.entry.js +0 -9
  571. package/dist/mint-components/p-0eddbe09.entry.js +0 -1
  572. package/dist/mint-components/p-129c07fd.js +0 -268
  573. package/dist/mint-components/p-135c3cef.entry.js +0 -1
  574. package/dist/mint-components/p-16dda971.system.entry.js +0 -1
  575. package/dist/mint-components/p-18e7d7c6.system.entry.js +0 -1
  576. package/dist/mint-components/p-19244318.system.entry.js +0 -1
  577. package/dist/mint-components/p-19a3833c.system.entry.js +0 -1
  578. package/dist/mint-components/p-1b9c1909.entry.js +0 -1
  579. package/dist/mint-components/p-1d9cb344.entry.js +0 -1
  580. package/dist/mint-components/p-1f54fd38.system.js +0 -1
  581. package/dist/mint-components/p-221878e3.entry.js +0 -1
  582. package/dist/mint-components/p-26117a7d.system.js +0 -1
  583. package/dist/mint-components/p-2a7686a6.system.entry.js +0 -1
  584. package/dist/mint-components/p-2b9ae018.system.js +0 -1
  585. package/dist/mint-components/p-30239975.system.js +0 -1
  586. package/dist/mint-components/p-30689236.system.entry.js +0 -1
  587. package/dist/mint-components/p-30ec7d38.entry.js +0 -1
  588. package/dist/mint-components/p-3552b5c5.entry.js +0 -1
  589. package/dist/mint-components/p-35d6d322.system.js +0 -1
  590. package/dist/mint-components/p-3d339fa9.js +0 -1
  591. package/dist/mint-components/p-3f075d21.entry.js +0 -1
  592. package/dist/mint-components/p-3fe1485c.entry.js +0 -1
  593. package/dist/mint-components/p-4336876b.js +0 -1
  594. package/dist/mint-components/p-494829ff.js +0 -1
  595. package/dist/mint-components/p-4994b24c.system.js +0 -1
  596. package/dist/mint-components/p-4ace5def.system.entry.js +0 -1
  597. package/dist/mint-components/p-517a5669.system.js +0 -1
  598. package/dist/mint-components/p-56306cfd.system.js +0 -1
  599. package/dist/mint-components/p-58362d80.system.entry.js +0 -1
  600. package/dist/mint-components/p-58d65ecc.js +0 -1
  601. package/dist/mint-components/p-5a8866c0.system.entry.js +0 -1
  602. package/dist/mint-components/p-5de1699d.js +0 -1
  603. package/dist/mint-components/p-62306484.entry.js +0 -1
  604. package/dist/mint-components/p-689d022a.js +0 -1
  605. package/dist/mint-components/p-6c0409fe.system.entry.js +0 -1
  606. package/dist/mint-components/p-6ddc2a08.js +0 -1
  607. package/dist/mint-components/p-6e9cfc74.entry.js +0 -1
  608. package/dist/mint-components/p-71fe4061.js +0 -1
  609. package/dist/mint-components/p-72cb7a2e.system.entry.js +0 -1
  610. package/dist/mint-components/p-730db569.system.entry.js +0 -1
  611. package/dist/mint-components/p-76c339cd.system.js +0 -1
  612. package/dist/mint-components/p-7ef716a7.js +0 -1
  613. package/dist/mint-components/p-8322ad92.entry.js +0 -1
  614. package/dist/mint-components/p-83927707.js +0 -1
  615. package/dist/mint-components/p-8478a86e.system.entry.js +0 -1
  616. package/dist/mint-components/p-88ce114f.system.entry.js +0 -1
  617. package/dist/mint-components/p-8e0d9535.entry.js +0 -1
  618. package/dist/mint-components/p-8eb7dbfa.entry.js +0 -1
  619. package/dist/mint-components/p-919ea20a.system.entry.js +0 -1
  620. package/dist/mint-components/p-94607792.entry.js +0 -1
  621. package/dist/mint-components/p-97763c36.system.js +0 -1
  622. package/dist/mint-components/p-97988090.system.entry.js +0 -1
  623. package/dist/mint-components/p-97fa9d3e.system.entry.js +0 -1
  624. package/dist/mint-components/p-9cbc79f6.system.entry.js +0 -1
  625. package/dist/mint-components/p-a2f7a2f3.system.js +0 -1
  626. package/dist/mint-components/p-a7451d8c.entry.js +0 -1
  627. package/dist/mint-components/p-addba64e.entry.js +0 -1
  628. package/dist/mint-components/p-b27a0503.system.entry.js +0 -1
  629. package/dist/mint-components/p-ba3b21d2.system.entry.js +0 -1
  630. package/dist/mint-components/p-ba50a107.system.entry.js +0 -1
  631. package/dist/mint-components/p-bb451c6e.system.js +0 -1
  632. package/dist/mint-components/p-bd037777.entry.js +0 -1
  633. package/dist/mint-components/p-bf021a55.entry.js +0 -1
  634. package/dist/mint-components/p-bfd347b4.js +0 -1
  635. package/dist/mint-components/p-bfdbe27c.js +0 -1
  636. package/dist/mint-components/p-bfecc81e.system.js +0 -1
  637. package/dist/mint-components/p-c2c3d7fd.entry.js +0 -1
  638. package/dist/mint-components/p-c3765ad9.system.entry.js +0 -1
  639. package/dist/mint-components/p-c3777cf3.system.entry.js +0 -1
  640. package/dist/mint-components/p-c4b6454d.system.entry.js +0 -1
  641. package/dist/mint-components/p-d16b1f37.entry.js +0 -1
  642. package/dist/mint-components/p-d6fe7dee.entry.js +0 -171
  643. package/dist/mint-components/p-de055c6b.system.js +0 -1
  644. package/dist/mint-components/p-e633ae08.entry.js +0 -1
  645. package/dist/mint-components/p-eb25d055.system.js +0 -1
  646. package/dist/mint-components/p-f0a3c195.system.js +0 -1
  647. package/dist/mint-components/p-f27766d6.entry.js +0 -1
  648. package/dist/mint-components/p-f66b4b3a.js +0 -1
  649. package/dist/mint-components/p-f778fc9e.entry.js +0 -1
  650. package/dist/mint-components/p-f8bbbea1.js +0 -1
  651. package/dist/mint-components/p-f8d9e861.system.js +0 -1
  652. package/dist/types/components/sqm-passwordless-registration/sqm-passwordless-registration.d.ts +0 -37
  653. package/dist/types/components/sqm-passwordless-registration/usePasswordlessRegistration.d.ts +0 -9
  654. package/dist/types/components/sqm-user-identifier/sqm-user-identifier-view.d.ts +0 -6
  655. package/dist/types/components/sqm-user-identifier/sqm-user-identifier.d.ts +0 -30
  656. package/dist/types/components/sqm-user-identifier/useUserIdentifer.d.ts +0 -3
  657. /package/dist/types/components/{sqm-user-identifier/UserIdentifier.stories.d.ts → sqm-logout-current-user/LogoutCurrentUser.stories.d.ts} +0 -0
@@ -1,21 +1,20 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
- import { m as h, u as useEffect, i as useState, o as d, j as useRef, b as browser, f as useReducer } from './stencil-hooks.module-b48b45ec.js';
3
- import { i as intl } from './global-170c4499.js';
4
- import { u as useCallback } from './use-callback-051c06c6.js';
5
- import { i as isDemo, R, d as dist, O, W, f as fn, F as Fe, _, x, a as dn, g as gn, r as Ve, M as Me, D as De, t as He, c as mn } from './index.module-0ba0774e.js';
2
+ import { m as h, f as useEffect, j as useState, o as d, k as useRef, b as browser, i as useReducer } from './stencil-hooks.module-14b87f98.js';
3
+ import { i as intl } from './global-9992475a.js';
4
+ import { i as isDemo, V, d as dist, L, O, I as Ie, b as mn, T, W, a as dn, p as pn, k as xe, S as Se, l as ke, f as useCallback, n as _e, v as vn } from './index.module-bbce47bd.js';
6
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
7
6
  import { c as cjs } from './cjs-bdfb4486.js';
8
7
  import './mixins-f60a614c.js';
9
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
10
- import { a as useRequestRerender } from './re-render-22de5b23.js';
11
- import { u as useChildElements } from './useChildElements-fd458906.js';
12
- import './luxon-1e38d7f1.js';
9
+ import { a as useRequestRerender } from './re-render-88ac4fa7.js';
10
+ import { u as useChildElements } from './useChildElements-ae207f6d.js';
11
+ import './luxon-f01e85fe.js';
13
12
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
14
- import './sqm-text-span-view-2f7d6d14.js';
13
+ import './sqm-text-span-view-8d140661.js';
14
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-7bf6c145.js';
15
15
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
16
- import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-29e30121.js';
17
- import { b as useDemoBigStat, O as useBigStat, B as BigStatView, K as autoColorScaleCss, J as CardFeedView, j as CheckboxFieldView, C as CopyTextView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, Q as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, U as demoRewardExchange, k as RewardExchangeView, V as pathToRegexp, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-8acfeb00.js';
18
- import './sqm-portal-container-view-83b417f0.js';
16
+ import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, k as RewardExchangeView, X as pathToRegexp, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-86f7b900.js';
17
+ import './sqm-portal-container-view-ab89c6cc.js';
19
18
 
20
19
  const BigStat = class {
21
20
  constructor(hostRef) {
@@ -23,7 +22,7 @@ const BigStat = class {
23
22
  /**
24
23
  * Controls the order of the stat value & description column
25
24
  *
26
- * @uiName Flex Reverse
25
+ * @uiName Flex reverse
27
26
  * @default
28
27
  */
29
28
  this.flexReverse = false;
@@ -34,7 +33,7 @@ const BigStat = class {
34
33
  render() {
35
34
  var _a;
36
35
  const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
37
- const host = R();
36
+ const host = V();
38
37
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
39
38
  const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
40
39
  return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
@@ -115,11 +114,11 @@ const CardFeed = class {
115
114
  registerInstance(this, hostRef);
116
115
  this.ignored = true;
117
116
  /**
118
- * @uiName Card Width
117
+ * @uiName Card width
119
118
  */
120
119
  this.width = 347;
121
120
  /**
122
- * @uiName Column Gap
121
+ * @uiName Column gap
123
122
  * @uiType number
124
123
  */
125
124
  this.gap = 24;
@@ -155,7 +154,7 @@ const styleString = sheet.toString();
155
154
  function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
156
155
  if (!missingProps)
157
156
  return false;
158
- const host = R();
157
+ const host = V();
159
158
  const [detailsOpen, setDetailsOpen] = useState(false);
160
159
  return (h$1("sl-alert", { type: "danger", open: true },
161
160
  h$1("style", { type: "text/css" }, styleString),
@@ -209,22 +208,22 @@ const CheckboxField = class {
209
208
  registerInstance(this, hostRef);
210
209
  this.ignored = true;
211
210
  /**
212
- * @uiName Checkbox Label
211
+ * @uiName Checkbox label
213
212
  * @uiWidget textArea
214
213
  */
215
214
  this.checkboxLabel = "By signing up you agree to the {labelLink}";
216
215
  /**
217
216
  * Used with link text if the checkbox label contains {labelLink}
218
217
  *
219
- * @uiName Checkbox Label Link
218
+ * @uiName Checkbox label link
220
219
  */
221
220
  this.checkboxLabelLink = "https://example.com";
222
221
  /**
223
- * @uiName Checkbox Label Link Text
222
+ * @uiName Checkbox label link lext
224
223
  */
225
224
  this.checkboxLabelLinkText = "Terms and Conditions";
226
225
  /**
227
- * @uiName Unchecked Error Message
226
+ * @uiName Unchecked error message
228
227
  */
229
228
  this.errorMessage = "Must be checked";
230
229
  /**
@@ -265,11 +264,27 @@ function useCheckboxFieldDemo(props) {
265
264
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
266
265
  }
267
266
 
268
- const MessageLinkQuery = dist.gql `
269
- query ($programId: ID) {
267
+ const FuelTankRewardsQuery = dist.gql `
268
+ query fuelTankRewardsQuery($programId: ID!) {
270
269
  user: viewer {
271
270
  ... on User {
272
- referralCode(programId: $programId)
271
+ instantAccessRewards(
272
+ filter: { type_eq: FUELTANK, programId_eq: $programId }
273
+ ) {
274
+ data {
275
+ fuelTankCode
276
+ fuelTankType
277
+ statuses
278
+ dateGiven
279
+ dateExpires
280
+ dateRedeemed
281
+ dateCancelled
282
+ dateScheduledFor
283
+ datePendingForUnhandledError
284
+ }
285
+ count
286
+ totalCount
287
+ }
273
288
  }
274
289
  }
275
290
  }
@@ -280,15 +295,30 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
280
295
  }
281
296
  `;
282
297
  function useCouponCode(props) {
283
- var _a, _b;
284
- const { programId = O() } = props;
285
- const user = W();
286
- const engagementMedium = _();
287
- const { data } = fn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
288
- const [sendLoadEvent] = Fe(WIDGET_ENGAGEMENT_EVENT);
289
- const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
290
- // Shown during loading
291
- "...";
298
+ var _a, _b, _c;
299
+ const user = L();
300
+ const programId = O();
301
+ const engagementMedium = T();
302
+ const [sendLoadEvent] = Ie(WIDGET_ENGAGEMENT_EVENT);
303
+ const { data, loading, refetch, errors } = mn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
304
+ const getStatus = (reward) => {
305
+ if (!reward || !reward.statuses)
306
+ return "ERROR";
307
+ const state = reward.statuses[reward.statuses.length - 1];
308
+ if (state === "PENDING" && reward.dateScheduledFor === null)
309
+ return "EMPTY_TANK";
310
+ return state;
311
+ };
312
+ const reward = (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.instantAccessRewards) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c[0];
313
+ const rewardStatus = getStatus(reward);
314
+ const dateAvailable = rewardStatus === "PENDING" && reward.dateScheduledFor
315
+ ? new Date(reward.dateScheduledFor).toLocaleDateString("default", {
316
+ day: "numeric",
317
+ month: "long",
318
+ year: "numeric",
319
+ })
320
+ : undefined;
321
+ const copyString = (reward === null || reward === void 0 ? void 0 : reward.fuelTankCode) || "...";
292
322
  const [open, setOpen] = useState(false);
293
323
  function onClick() {
294
324
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
@@ -304,12 +334,58 @@ function useCouponCode(props) {
304
334
  type: "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",
305
335
  meta: {
306
336
  engagementMedium,
307
- couponMedium: "DIRECT",
337
+ shareMedium: "DIRECT",
308
338
  },
309
339
  },
310
340
  });
311
341
  }
312
- return { ...props, onClick, open, copyString };
342
+ const getRewardStatusText = (status) => {
343
+ switch (status) {
344
+ case "CANCELLED":
345
+ return props.cancelledErrorText;
346
+ case "EXPIRED":
347
+ return props.expiredErrorText;
348
+ case "EMPTY_TANK":
349
+ return props.fullfillmentErrorText;
350
+ case "PENDING":
351
+ return props.pendingErrorText.replace("{unpendDate}", dateAvailable);
352
+ case "REDEEMED":
353
+ return props.redeemedErrorText;
354
+ case "AVAILABLE":
355
+ return "";
356
+ default:
357
+ return props.genericErrorText;
358
+ }
359
+ };
360
+ const getRewardStatusErrorType = (status) => {
361
+ switch (status) {
362
+ case "EXPIRED":
363
+ case "EMPTY_TANK":
364
+ case "CANCELLED":
365
+ case "ERROR":
366
+ return "warning";
367
+ case "PENDING":
368
+ return "info";
369
+ case "REDEEMED":
370
+ return "success";
371
+ default:
372
+ return;
373
+ }
374
+ };
375
+ const errorText = getRewardStatusText(rewardStatus);
376
+ const errorType = getRewardStatusErrorType(rewardStatus);
377
+ const error = rewardStatus !== "AVAILABLE";
378
+ return {
379
+ ...props,
380
+ onClick,
381
+ open,
382
+ copyString,
383
+ error,
384
+ errorText,
385
+ dateAvailable,
386
+ loading,
387
+ errorType,
388
+ };
313
389
  }
314
390
 
315
391
  const CouponCode = class {
@@ -318,7 +394,7 @@ const CouponCode = class {
318
394
  /**
319
395
  * Shown inside a tooltip after someone has successfully copied the link to their clipboard.
320
396
  *
321
- * @uiName Tooltip Text
397
+ * @uiName Tooltip text
322
398
  */
323
399
  this.tooltiptext = "Copied to Clipboard";
324
400
  /**
@@ -328,35 +404,84 @@ const CouponCode = class {
328
404
  */
329
405
  this.tooltiplifespan = 1000;
330
406
  /**
331
- * Change the text alignment
332
- *
333
- * @uiName Align text
407
+ * @uiName Coupon code alignment
334
408
  * @uiType string
335
- * @uiEnum ["left", "center"]
336
- * @uiEnumNames ["left", "center"]
409
+ * @uiEnum ["left", "center", "right"]
410
+ * @uiEnumNames ["Left", "Center", "Right"]
337
411
  */
338
412
  this.textAlign = "left";
339
413
  /**
340
- * Set copy button label
341
- *
342
414
  * @uiName Copy button label
343
415
  */
344
416
  this.copyButtonLabel = "Copy Coupon";
345
417
  /**
346
- * Set the copy button style
418
+ * Set the copy button style and placement.
347
419
  *
348
- * @uiName Copy button style
420
+ * @uiName Style
349
421
  * @uiType string
350
- * @uiEnum ["icon", "button inside", "button outside", "button below"]
351
- * @uiEnumNames ["icon", "button inside", "button outside", "button below"]
422
+ * @uiEnum ["icon", "button-outside", "button-below"]
423
+ * @uiEnumNames ["Icon", "Button outside", "Button below"]
352
424
  */
353
425
  this.buttonStyle = "icon";
354
426
  /**
355
- * Set error message
427
+ * @uiName Coupon code label
428
+ */
429
+ this.couponCodeLabel = "Your coupon code:";
430
+ /**
431
+ * Display this message when the coupon code has been cancelled.
356
432
  *
357
- * @uiName Error message
433
+ * @uiWidget textArea
434
+ * @uiName Cancelled code error message
435
+ * @uiGroup Coupon code error
358
436
  */
359
- this.errorText = "Oops! Looks like we weren’t able to retrieve a code for you. Please try again later.";
437
+ this.cancelledErrorText = "This code has been cancelled. Please reach out to the Support team for help resolving this issue.";
438
+ /**
439
+ * Display this message when the coupon code has already been redeemed.
440
+ *
441
+ * @uiWidget textArea
442
+ * @uiName Redeemed code error message
443
+ * @uiGroup Coupon code error
444
+ */
445
+ this.redeemedErrorText = "Looks like you’ve already redeemed this code.";
446
+ /**
447
+ * Display this message when the coupon code has expired.
448
+ *
449
+ * @uiWidget textArea
450
+ * @uiName Expired code error message
451
+ * @uiGroup Coupon code error
452
+ */
453
+ this.expiredErrorText = "Looks like this code has expired. Please reach out to the Support team for help resolving this issue.";
454
+ /**
455
+ * Display this message when the code fails to load due to a fulfillment error.
456
+ *
457
+ * @uiWidget textArea
458
+ * @uiName Code fulfillment error message
459
+ * @uiGroup Coupon code error
460
+ */
461
+ this.fullfillmentErrorText = "We couldn't fetch your code. Please try again later or reach out to the Support team for help resolving this issue.";
462
+ /**
463
+ * Display this message when the coupon code not available yet. Use the ICU message, {unpendDate}, to show the date the code will be available.
464
+ *
465
+ * @uiWidget textArea
466
+ * @uiName Code pending error message
467
+ * @uiGroup Coupon code error
468
+ */
469
+ this.pendingErrorText = "Your code will be available on {unpendDate}. Mark your calendar and come back then to redeem your reward!";
470
+ /**
471
+ * Display this message when the code fails to load due to an unspecified error.
472
+ *
473
+ * @uiWidget textArea
474
+ * @uiName Code retrieval error message
475
+ * @uiGroup Coupon code error
476
+ */
477
+ this.genericErrorText = "We couldn't fetch your code. Please try again later or reach out to the Support team for help resolving this issue.";
478
+ /**
479
+ * Display this text when the coupon code can’t be retrieved.
480
+ *
481
+ * @uiName Coupon code placeholder
482
+ * @uiGroup Coupon code error
483
+ */
484
+ this.couponCodePlaceholder = "...";
360
485
  h(this);
361
486
  }
362
487
  disconnectedCallback() { }
@@ -365,7 +490,7 @@ const CouponCode = class {
365
490
  const props = isDemo()
366
491
  ? useDemoCouponCode(thisProps)
367
492
  : useCouponCode(thisProps);
368
- return h$1(CopyTextView, Object.assign({}, props));
493
+ return h$1(CouponCodeView, Object.assign({}, props));
369
494
  }
370
495
  };
371
496
  function useDemoCouponCode(props) {
@@ -377,8 +502,9 @@ function useDemoCouponCode(props) {
377
502
  textAlign: props.textAlign,
378
503
  buttonStyle: props.buttonStyle,
379
504
  copyButtonLabel: props.copyButtonLabel,
380
- errorText: props.errorText,
381
505
  error: false,
506
+ couponCodePlaceholder: props.couponCodePlaceholder,
507
+ couponCodeLabel: props.couponCodeLabel,
382
508
  open,
383
509
  onClick: () => {
384
510
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
@@ -432,7 +558,7 @@ function DividedLayoutView(props, children) {
432
558
  `;
433
559
  const sheet = createStyleSheet(style);
434
560
  const styleString = sheet.toString();
435
- return (h$1("div", { class: sheet.classes.LayoutContainer, part: "sqm-layout-container" },
561
+ return (h$1("div", { class: sheet.classes.LayoutContainer, part: "sqm-base" },
436
562
  h$1("style", { type: "text/css" },
437
563
  vanillaStyle,
438
564
  styleString),
@@ -444,7 +570,7 @@ const DividedLayout = class {
444
570
  registerInstance(this, hostRef);
445
571
  /**
446
572
  * Uses Shorthand CSS border syntax allowing specification of thickness, fill style and color.
447
- * @uiName Border Style
573
+ * @uiName Border style
448
574
  */
449
575
  this.dividerStyle = "1px solid #EAEAEA";
450
576
  h(this);
@@ -469,11 +595,11 @@ const DropdownField = class {
469
595
  registerInstance(this, hostRef);
470
596
  this.ignored = true;
471
597
  /**
472
- * @uiName Dropdown Label
598
+ * @uiName Dropdown label
473
599
  */
474
600
  this.dropdownLabel = "Select an option";
475
601
  /**
476
- * @uiName Unselected Error Message
602
+ * @uiName Unselected error message
477
603
  */
478
604
  this.errorMessage = "Select an option";
479
605
  /**
@@ -555,13 +681,13 @@ const defaultFormState = {
555
681
  error: "",
556
682
  };
557
683
  function useEditProfile(props) {
558
- const userIdent = W();
684
+ const userIdent = L();
559
685
  const [showEdit, setShowEdit] = useState(false);
560
686
  const [error, setError] = useState("");
561
687
  const [userData, setUserData] = useState(undefined);
562
688
  const [formState, setFormState] = useState(defaultFormState);
563
- const userDataResponse = fn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
564
- const [upsertUser, upsertUserResponse] = Fe(UPSERT_USER);
689
+ const userDataResponse = mn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
690
+ const [upsertUser, upsertUserResponse] = Ie(UPSERT_USER);
565
691
  useEffect(() => {
566
692
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
567
693
  return;
@@ -736,6 +862,59 @@ function useEditProfileDemo(props) {
736
862
  }
737
863
  EditProfile.style = sqmEditProfileCss;
738
864
 
865
+ const Hero = class {
866
+ constructor(hostRef) {
867
+ registerInstance(this, hostRef);
868
+ /**
869
+ *
870
+ * @uiName Columns
871
+ * @uiEnum [1, 2]
872
+ * @uiEnumNames ["One", "Two"]
873
+ */
874
+ this.columns = 1;
875
+ /**
876
+ * Minimum height of each column including when they are stacked on mobile
877
+ *
878
+ * @uiName Minimum height (in px)
879
+ */
880
+ this.minHeight = 200;
881
+ /**
882
+ * Can be an image url, colour or Shoelace variable.
883
+ *
884
+ * @uiName Background
885
+ * @uiWidget Background
886
+ */
887
+ this.background = "var(--sl-color-gray-50)";
888
+ /**
889
+ * @uiName Padding size
890
+ * @uiEnum ["none", "small", "medium","large"]
891
+ * @uiEnumNames ["None", "Small", "Medium", "Large"]
892
+ */
893
+ this.paddingSize = "large";
894
+ /**
895
+ * Flexbox wrap direction, accepts wrap or wrap-reverse
896
+ *
897
+ * @uiName Wrap direction
898
+ * @uiEnum ["wrap", "wrap-reverse"]
899
+ * @uiEnumNames ["Wrap", "Wrap Reverse"]
900
+ */
901
+ this.wrapDirection = "wrap";
902
+ h(this);
903
+ }
904
+ disconnectedCallback() { }
905
+ // TODO: Improve empty slot behavior with useChildElements to check for empty slot
906
+ render() {
907
+ const props = {
908
+ states: { ...getProps(this) },
909
+ content: {
910
+ primaryColumn: h$1("slot", null),
911
+ secondaryColumn: h$1("slot", { name: "secondary-column" }),
912
+ },
913
+ };
914
+ return h$1(HeroView, Object.assign({}, props));
915
+ }
916
+ };
917
+
739
918
  function HeroImageView(props, children) {
740
919
  const overlay = Boolean((props.header || props.description || props.buttonText) &&
741
920
  props.layout === "overlay");
@@ -756,9 +935,7 @@ function HeroImageView(props, children) {
756
935
  display: "block",
757
936
  width: "100%",
758
937
  height: "100%",
759
- maxWidth: "max-content",
760
938
  objectFit: "cover",
761
- margin: "auto",
762
939
  },
763
940
  Background: {
764
941
  backgroundImage: `url(${props.imageUrl})`,
@@ -792,6 +969,9 @@ function HeroImageView(props, children) {
792
969
  width: props.imagePercentage ? props.imagePercentage + "%" : "50%",
793
970
  padding: "var(--sl-spacing-" + props.paddingImage + ")",
794
971
  boxSizing: "border-box",
972
+ display: "flex",
973
+ justifyContent: "center",
974
+ alignItems: "center",
795
975
  "@media (max-width: 599px)": {
796
976
  width: "100%",
797
977
  },
@@ -843,7 +1023,7 @@ function HeroImageView(props, children) {
843
1023
  :host{
844
1024
  display: block;
845
1025
  }`;
846
- return (h$1("div", { class: sheet.classes.Container, part: "sqm-hero-image-container" },
1026
+ return (h$1("div", { class: sheet.classes.Container, part: "sqm-base" },
847
1027
  h$1("style", { type: "text/css" },
848
1028
  vanillaStyle,
849
1029
  styleString),
@@ -851,7 +1031,7 @@ function HeroImageView(props, children) {
851
1031
  props.layout === "columns" && ColumnView()));
852
1032
  function OverlayView() {
853
1033
  return (h$1("div", { class: sheet.classes.Background },
854
- h$1("div", { class: sheet.classes.Overlay, part: "sqm-hero-image-overlay-container" },
1034
+ h$1("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
855
1035
  props.header && (h$1("div", { class: sheet.classes.Header }, props.header)),
856
1036
  props.description && (h$1("div", { class: sheet.classes.Description }, props.description)),
857
1037
  props.buttonText && (h$1("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
@@ -863,11 +1043,11 @@ function HeroImageView(props, children) {
863
1043
  return (h$1("div", null,
864
1044
  h$1("div", { class: sheet.classes.Column },
865
1045
  h$1("div", { class: "image-area" },
866
- h$1("img", { class: sheet.classes.Image, src: props.imageUrl, part: "sqm-hero-image" })),
867
- h$1("div", { class: "text-area", part: "sqm-hero-image-text-area" },
868
- props.header && (h$1("div", { class: sheet.classes.Header, part: "sqm-hero-image-header" }, props.header)),
869
- props.description && (h$1("div", { class: sheet.classes.Description, part: "sqm-hero-image-description" }, props.description)),
870
- props.buttonText && (h$1("sl-button", { exportparts: "base: sqm-hero-image-btn", class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
1046
+ h$1("img", { class: sheet.classes.Image, src: props.imageUrl, part: "sqm-columns-image" })),
1047
+ h$1("div", { class: "text-area", part: "sqm-columns-text-area" },
1048
+ props.header && (h$1("div", { class: sheet.classes.Header, part: "sqm-columns-header" }, props.header)),
1049
+ props.description && (h$1("div", { class: sheet.classes.Description, part: "sqm-columns-description" }, props.description)),
1050
+ props.buttonText && (h$1("sl-button", { exportparts: "base: sqm-hero-image-button", class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
871
1051
  ? window.open(props.buttonLink)
872
1052
  : window.open(props.buttonLink, "_parent") }, props.buttonText))))));
873
1053
  }
@@ -877,49 +1057,49 @@ const HeroImage = class {
877
1057
  constructor(hostRef) {
878
1058
  registerInstance(this, hostRef);
879
1059
  /**
880
- * @uiName Overlay Opacity
1060
+ * @uiName Overlay opacity
881
1061
  */
882
1062
  this.overlayOpacity = "0.75";
883
1063
  /**
884
- * @uiName Image Layout
1064
+ * @uiName Image layout
885
1065
  * @uiType string
886
1066
  * @uiEnum ["overlay", "columns"]
887
1067
  * @uiEnumNames ["Overlay", "Two-column"]
888
1068
  */
889
1069
  this.layout = "overlay";
890
1070
  /**
891
- * @uiName Image Percentage
1071
+ * @uiName Image percentage
892
1072
  * @uiType number
893
1073
  */
894
1074
  this.imagePercentage = 50;
895
1075
  /**
896
- * @uiName Image Position
1076
+ * @uiName Image position
897
1077
  * @uiType string
898
1078
  * @uiEnum ["left", "center", "right"]
899
1079
  * @uiEnumNames ["Left", "Center", "Right"]
900
1080
  */
901
1081
  this.imagePos = "center";
902
1082
  /**
903
- * @uiName Image Mobile Position
1083
+ * @uiName Image mobile position
904
1084
  * @uiType string
905
1085
  * @uiEnum ["top", "bottom"]
906
1086
  * @uiEnumNames ["Top", "Bottom"]
907
1087
  */
908
1088
  this.imageMobilePos = "top";
909
1089
  /**
910
- * @uiName Open Link in New Tab
1090
+ * @uiName Open link in new tab
911
1091
  * @default
912
1092
  */
913
1093
  this.buttonNewTab = false;
914
1094
  /**
915
- * @uiName Text Padding
1095
+ * @uiName Text padding
916
1096
  * @uiType string
917
1097
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
918
1098
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
919
1099
  */
920
1100
  this.paddingText = "xxxx-large";
921
1101
  /**
922
- * @uiName Image Padding
1102
+ * @uiName Image padding
923
1103
  * @uiType string
924
1104
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
925
1105
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
@@ -960,14 +1140,14 @@ const InputField = class {
960
1140
  registerInstance(this, hostRef);
961
1141
  this.ignored = true;
962
1142
  /**
963
- * @uiName Input Type
1143
+ * @uiName Input type
964
1144
  * @uiType string
965
1145
  * @uiEnum ["text", "date", "tel"]
966
1146
  * @uiEnumNames ["Text", "Date", "Phone Number"]
967
1147
  */
968
1148
  this.fieldType = "text";
969
1149
  /**
970
- * @uiName Required Error Message
1150
+ * @uiName Required error message
971
1151
  */
972
1152
  this.errorMessage = "Cannot be empty";
973
1153
  /**
@@ -1050,8 +1230,8 @@ function useLeaderboard(props) {
1050
1230
  const programIdContext = O();
1051
1231
  // Default to context, overriden by props
1052
1232
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
1053
- const user = W();
1054
- const locale = x();
1233
+ const user = L();
1234
+ const locale = W();
1055
1235
  const variables = programId
1056
1236
  ? {
1057
1237
  type: props.leaderboardType,
@@ -1070,8 +1250,8 @@ function useLeaderboard(props) {
1070
1250
  if (props.maxRows > 0) {
1071
1251
  variables["limit"] = props.maxRows;
1072
1252
  }
1073
- const { data: leaderboardData, loading: loadingLeaderboard } = fn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1074
- const { data: rankData } = fn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1253
+ const { data: leaderboardData, loading: loadingLeaderboard } = mn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1254
+ const { data: rankData } = mn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1075
1255
  const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
1076
1256
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
1077
1257
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
@@ -1120,19 +1300,19 @@ const Leaderboard = class {
1120
1300
  /**
1121
1301
  * Hide the viewer's leaderboard row if not in the top results.
1122
1302
  *
1123
- * @uiName Hide Viewing User
1303
+ * @uiName Hide viewing user
1124
1304
  * @default
1125
1305
  */
1126
1306
  this.hideViewer = false;
1127
1307
  /**
1128
1308
  * Title displayed for users without names
1129
- * @uiName Unknown User Text
1309
+ * @uiName Unknown user text
1130
1310
  */
1131
1311
  this.anonymousUser = "Anonymous User";
1132
1312
  /**
1133
1313
  * Control the maximum amount of rows displayed on the leaderboard.
1134
1314
  *
1135
- * @uiName Maximum Rows Number
1315
+ * @uiName Maximum rows number
1136
1316
  */
1137
1317
  this.maxRows = 10;
1138
1318
  this.ignored = true;
@@ -1238,6 +1418,53 @@ function useLeaderboardDemo(props) {
1238
1418
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1239
1419
  }
1240
1420
 
1421
+ const style$1 = {
1422
+ Container: { display: "contents" },
1423
+ Link: {
1424
+ textDecoration: "none",
1425
+ color: "inherit",
1426
+ },
1427
+ };
1428
+ const vanillaStyle = `
1429
+ :host{
1430
+ display: inline;
1431
+ }
1432
+ `;
1433
+ const sheet$1 = createStyleSheet(style$1);
1434
+ const styleString$1 = sheet$1.toString();
1435
+ function LinkButtonView(props) {
1436
+ const { onClick, buttonText } = props;
1437
+ return (h$1("span", { class: sheet$1.classes.Container, part: "sqm-base" },
1438
+ h$1("style", { type: "text/css" },
1439
+ styleString$1,
1440
+ vanillaStyle),
1441
+ h$1("sl-button", { type: "primary", exportparts: "base: primarybutton-base" },
1442
+ h$1("a", { onClick: onClick, class: sheet$1.classes.Link, part: "sqm-link" }, buttonText))));
1443
+ }
1444
+
1445
+ const LinkButton = class {
1446
+ constructor(hostRef) {
1447
+ registerInstance(this, hostRef);
1448
+ /**
1449
+ * @uiName Open link in new tab
1450
+ */
1451
+ this.openInNewTab = false;
1452
+ /**
1453
+ * @uiName Button text
1454
+ * @uiType string
1455
+ */
1456
+ this.buttonText = "Click here";
1457
+ }
1458
+ render() {
1459
+ const onClick = () => {
1460
+ const url = this.link;
1461
+ const target = this.openInNewTab ? "_blank" : "_parent";
1462
+ window.open(url, target);
1463
+ };
1464
+ return (h$1(LinkButtonView, Object.assign({}, { ...getProps(this), onClick })));
1465
+ }
1466
+ };
1467
+
1241
1468
  function useNameFields(props) {
1242
1469
  const registrationFormState = d(REGISTRATION_FORM_STATE_CONTEXT);
1243
1470
  return {
@@ -1256,11 +1483,11 @@ const NameFields = class {
1256
1483
  registerInstance(this, hostRef);
1257
1484
  this.ignored = true;
1258
1485
  /**
1259
- * @uiName First Name label
1486
+ * @uiName First name label
1260
1487
  */
1261
1488
  this.firstNameLabel = "First Name";
1262
1489
  /**
1263
- * @uiName Last Name label
1490
+ * @uiName Last name label
1264
1491
  */
1265
1492
  this.lastNameLabel = "Last Name";
1266
1493
  h(this);
@@ -1298,12 +1525,12 @@ function NavigationMenuView(props) {
1298
1525
  }
1299
1526
 
1300
1527
  function handleMenu(e) {
1301
- gn.push(e.detail.item.value);
1528
+ pn.push(e.detail.item.value);
1302
1529
  }
1303
1530
  function useNavigationMenu(props) {
1304
1531
  const ref = useRef();
1305
1532
  const [, rerender] = dn();
1306
- const user = W();
1533
+ const user = L();
1307
1534
  useEffect(() => {
1308
1535
  var _a;
1309
1536
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1357,11 +1584,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
1357
1584
 
1358
1585
  function usePortalChangePassword(props) {
1359
1586
  var _a, _b, _c, _d, _e, _f, _g;
1360
- const [request, { loading, errors, data }] = Ve();
1587
+ const [request, { loading, errors, data }] = xe();
1361
1588
  const [open, setOpen] = useState(false);
1362
1589
  const [error, setError] = useState("");
1363
1590
  const [success, setSuccess] = useState(false);
1364
- const user = W();
1591
+ const user = L();
1365
1592
  const submit = async (event) => {
1366
1593
  var _a, _b;
1367
1594
  setSuccess(false);
@@ -1416,48 +1643,48 @@ const PortalChangePassword = class {
1416
1643
  registerInstance(this, hostRef);
1417
1644
  this.ignored = true;
1418
1645
  /**
1419
- * @uiName Change Password Modal Header
1646
+ * @uiName Change password modal header
1420
1647
  */
1421
1648
  this.modalChangePasswordHeader = "Change Password";
1422
1649
  /**
1423
1650
  * Found in modal
1424
1651
  *
1425
- * @uiName Cancel Button Text
1652
+ * @uiName Cancel button text
1426
1653
  */
1427
1654
  this.cancelText = "Cancel";
1428
1655
  /**
1429
1656
  * Found in modal
1430
1657
  *
1431
- * @uiName Change Password Button Text
1658
+ * @uiName Change password button text
1432
1659
  */
1433
1660
  this.changePasswordButtonText = "Change Password";
1434
1661
  /**
1435
1662
  * Found in modal
1436
1663
  *
1437
- * @uiName New Password Field Label
1664
+ * @uiName New password field label
1438
1665
  */
1439
1666
  this.passwordFieldLabel = "New Password";
1440
1667
  /**
1441
1668
  * Found in modal
1442
1669
  *
1443
- * @uiName Confirm Password Label
1670
+ * @uiName Confirm password Label
1444
1671
  */
1445
1672
  this.confirmPasswordFieldLabel = "Confirm New Password";
1446
1673
  /**
1447
1674
  * Successful password change message
1448
1675
  *
1449
- * @uiName Successful Password Change Message
1676
+ * @uiName Successful password change message
1450
1677
  * @uiWidget textArea
1451
1678
  */
1452
1679
  this.successMessage = "Your password has been updated.";
1453
1680
  /**
1454
1681
  * Portal change password section header
1455
1682
  *
1456
- * @uiName Change Password Header
1683
+ * @uiName Change password header
1457
1684
  */
1458
1685
  this.portalChangePasswordHeader = "Password";
1459
1686
  /**
1460
- * @uiName Change Password Button Text
1687
+ * @uiName Change password button text
1461
1688
  */
1462
1689
  this.portalChangePasswordButtonText = "Change your password...";
1463
1690
  h(this);
@@ -1499,46 +1726,50 @@ const PortalFooter = class {
1499
1726
  registerInstance(this, hostRef);
1500
1727
  this.ignored = true;
1501
1728
  /**
1502
- * @uiName Hide the support text
1729
+ * @uiName Hide support message
1503
1730
  */
1504
1731
  this.hideSupportText = false;
1505
1732
  /**
1506
- * @uiName Support Email
1733
+ * @uiName Support email
1507
1734
  */
1508
1735
  this.supportEmail = "support@example.com";
1509
1736
  /**
1510
- * @uiName Support Text
1737
+ * @uiName Support message
1511
1738
  * @uiWidget textArea
1512
1739
  */
1513
1740
  this.supportText = "For program support, contact {email}";
1514
1741
  /**
1515
- * @uiName Hide Powered By SaaSquatch
1742
+ * @uiName Hide powered by SaaSquatch
1516
1743
  */
1517
1744
  this.hidePoweredBy = false;
1518
1745
  /**
1519
- * @uiName Powered By Link
1746
+ * @uiName Powered By link
1520
1747
  */
1521
- this.poweredByLink = "https://saasquatch.com";
1748
+ this.poweredByLink = "https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget";
1522
1749
  /**
1523
- * @uiName Padding Top
1750
+ * @uiName Top padding
1751
+ * @uiGroup Padding
1524
1752
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
1525
1753
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1526
1754
  */
1527
1755
  this.paddingTop = "large";
1528
1756
  /**
1529
- * @uiName Padding Right
1757
+ * @uiName Right padding
1758
+ * @uiGroup Padding
1530
1759
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
1531
1760
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1532
1761
  */
1533
1762
  this.paddingRight = "large";
1534
1763
  /**
1535
- * @uiName Padding Bottom
1764
+ * @uiName Bottom padding
1765
+ * @uiGroup Padding
1536
1766
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
1537
1767
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1538
1768
  */
1539
1769
  this.paddingBottom = "large";
1540
1770
  /**
1541
- * @uiName Padding Left
1771
+ * @uiName Left padding
1772
+ * @uiGroup Padding
1542
1773
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
1543
1774
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1544
1775
  */
@@ -1603,9 +1834,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
1603
1834
 
1604
1835
  function usePortalLogin(props) {
1605
1836
  var _a, _b, _c, _d, _e, _f, _g;
1606
- const [request, { loading, errors, data }] = Me();
1837
+ const [request, { loading, errors, data }] = Se();
1607
1838
  const [error, setError] = useState("");
1608
- const urlParams = new URLSearchParams(gn.location.search);
1839
+ const urlParams = new URLSearchParams(pn.location.search);
1609
1840
  const nextPageOverride = urlParams.get("nextPage");
1610
1841
  const submit = async (event) => {
1611
1842
  var _a, _b;
@@ -1624,7 +1855,7 @@ function usePortalLogin(props) {
1624
1855
  if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
1625
1856
  urlParams.delete("nextPage");
1626
1857
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
1627
- gn.push(url.href);
1858
+ pn.push(url.href);
1628
1859
  }
1629
1860
  };
1630
1861
  const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
@@ -1649,44 +1880,44 @@ const PortalLogin = class {
1649
1880
  /**
1650
1881
  * Redirect participants to this page after they successfully login.
1651
1882
  *
1652
- * @uiName Login Redirect
1883
+ * @uiName Login redirect
1653
1884
  * @uiWidget pageSelect
1654
1885
  */
1655
1886
  this.nextPage = "/";
1656
1887
  /**
1657
- * @uiName Email Field Label
1888
+ * @uiName Email field label
1658
1889
  */
1659
1890
  this.emailLabel = "Email";
1660
1891
  /**
1661
- * @uiName Password Field Label
1892
+ * @uiName Password field label
1662
1893
  */
1663
1894
  this.passwordLabel = "Password";
1664
1895
  /**
1665
- * @uiName Submit Button Text
1896
+ * @uiName Submit button text
1666
1897
  */
1667
1898
  this.submitLabel = "Sign In";
1668
1899
  /**
1669
1900
  * Redirect participants to this page to reset their password
1670
- * @uiName Forgot Password Redirect
1901
+ * @uiName Forgot password redirect
1671
1902
  * @uiWidget pageSelect
1672
1903
  */
1673
1904
  this.forgotPasswordPath = "/forgotPassword";
1674
1905
  /**
1675
- * @uiName Forgot Password Text
1906
+ * @uiName Forgot password text
1676
1907
  */
1677
1908
  this.forgotPasswordLabel = "Forgot Password?";
1678
1909
  /**
1679
- * @uiName Register Button Text
1910
+ * @uiName Register button text
1680
1911
  */
1681
1912
  this.registerLabel = "Register";
1682
1913
  /**
1683
1914
  * Redirect participants to this page to start registration.
1684
- * @uiName Register Button Redirect
1915
+ * @uiName Register button redirect
1685
1916
  * @uiWidget pageSelect
1686
1917
  */
1687
1918
  this.registerPath = "/register";
1688
1919
  /**
1689
- * @uiName Heading Label
1920
+ * @uiName Heading label
1690
1921
  * @uiWidget textArea
1691
1922
  */
1692
1923
  this.pageLabel = "Sign in to your account";
@@ -1698,8 +1929,8 @@ const PortalLogin = class {
1698
1929
  ? useLoginDemo(this)
1699
1930
  : usePortalLogin(this);
1700
1931
  const content = {
1701
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => gn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1702
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => gn.push(states.registerPath) }, this.registerLabel))),
1932
+ forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => pn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1933
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => pn.push(states.registerPath) }, this.registerLabel))),
1703
1934
  emailLabel: this.emailLabel,
1704
1935
  passwordLabel: this.passwordLabel,
1705
1936
  submitLabel: this.submitLabel,
@@ -1728,7 +1959,7 @@ function usePortalRegister(props) {
1728
1959
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1729
1960
  const formRef = useRef(null);
1730
1961
  const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
1731
- const [request, { loading, errors, data }] = De();
1962
+ const [request, { loading, errors, data }] = ke();
1732
1963
  useEffect(() => {
1733
1964
  if (!formRef.current)
1734
1965
  return;
@@ -1751,7 +1982,7 @@ function usePortalRegister(props) {
1751
1982
  jsonpointer.set(formData, key, value);
1752
1983
  // required validation
1753
1984
  if (control.required && !value) {
1754
- jsonpointer.set(validationErrors, key, "Cannot be empty");
1985
+ jsonpointer.set(validationErrors, key, props.requiredFieldErrorMessage);
1755
1986
  }
1756
1987
  // custom validation
1757
1988
  if (typeof control.validationError === "function") {
@@ -1765,7 +1996,7 @@ function usePortalRegister(props) {
1765
1996
  formData.password !== formData.confirmPassword) {
1766
1997
  validationErrors = {
1767
1998
  ...validationErrors,
1768
- confirmPassword: "Passwords do not match.",
1999
+ confirmPassword: props.passwordMismatchErrorMessage,
1769
2000
  };
1770
2001
  }
1771
2002
  if (Object.keys(validationErrors).length) {
@@ -1801,13 +2032,13 @@ function usePortalRegister(props) {
1801
2032
  validationErrors: {},
1802
2033
  });
1803
2034
  if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
1804
- gn.push(props.nextPage);
2035
+ pn.push(props.nextPage);
1805
2036
  }
1806
2037
  }
1807
2038
  catch (error) {
1808
2039
  setRegistrationFormState({
1809
2040
  loading: false,
1810
- error: "Network request failed.",
2041
+ error: props.networkErrorMessage,
1811
2042
  validationErrors: {},
1812
2043
  });
1813
2044
  }
@@ -1822,10 +2053,10 @@ function usePortalRegister(props) {
1822
2053
  }, []);
1823
2054
  let errorMessage = "";
1824
2055
  if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
1825
- errorMessage = "Network request failed";
2056
+ errorMessage = props.networkErrorMessage;
1826
2057
  }
1827
2058
  else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
1828
- errorMessage = "Network request failed";
2059
+ errorMessage = props.networkErrorMessage;
1829
2060
  }
1830
2061
  else {
1831
2062
  errorMessage =
@@ -1858,62 +2089,90 @@ const PortalRegister = class {
1858
2089
  /**
1859
2090
  * Redirect participants to this page from their verification email
1860
2091
  *
1861
- * @uiName Registration Redirect
2092
+ * @uiName Registration redirect
1862
2093
  * @uiWidget pageSelect
1863
2094
  */
1864
2095
  this.nextPage = "/";
1865
2096
  /**
1866
2097
  * The page that participants are redirected to from the verification email.
1867
2098
  *
1868
- * @uiName Email Verification Redirect
2099
+ * @uiName Email verification redirect
1869
2100
  * @uiWidget pageSelect
1870
2101
  */
1871
2102
  this.redirectPath = "/verifyEmail";
1872
2103
  /**
1873
- * @uiName Email Field Label
2104
+ * @uiName Email field label
1874
2105
  */
1875
2106
  this.emailLabel = "Email";
1876
2107
  /**
1877
- * @uiName Password Field Label
2108
+ * @uiName Password field label
1878
2109
  */
1879
2110
  this.passwordLabel = "Password";
1880
2111
  /**
1881
- * @uiName Submit Button Text
2112
+ * @uiName Submit button text
1882
2113
  */
1883
2114
  this.submitLabel = "Register";
1884
2115
  /**
1885
- * @uiName Login Button Text
2116
+ * @uiName Login button text
1886
2117
  */
1887
2118
  this.loginLabel = "Sign in";
1888
2119
  /**
1889
- * @uiName Confirm Password Field Label
2120
+ * @uiName Confirm password field label
1890
2121
  */
1891
2122
  this.confirmPasswordLabel = "Confirm Password";
1892
2123
  /**
1893
- * @uiName Show Confirm Password Field
2124
+ * @uiName Show confirm password field
1894
2125
  */
1895
2126
  this.confirmPassword = false;
1896
2127
  /**
1897
- * @uiName Disable Password Validation
2128
+ * @uiName Disable password validation
1898
2129
  */
1899
2130
  this.disablePasswordValidation = false;
1900
2131
  /**
1901
2132
  * Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed.
1902
2133
  *
1903
- * @uiName Hide Default Fields
2134
+ * @uiName Hide default fields
1904
2135
  */
1905
2136
  this.hideInputs = false;
1906
2137
  /**
1907
- * @uiName Header Text
2138
+ * @uiName Header text
1908
2139
  */
1909
2140
  this.pageLabel = "Register";
1910
2141
  /**
1911
2142
  * Redirect participants to this page after clicking the login button.
1912
2143
  *
1913
- * @uiName Login Redirect
2144
+ * @uiName Login redirect
1914
2145
  * @uiWidget pageSelect
1915
2146
  */
1916
2147
  this.loginPath = "/login";
2148
+ /**
2149
+ * The message to be displayed when a required field is not filled.
2150
+ *
2151
+ * @uiName Required field message
2152
+ * @uiWidget textArea
2153
+ */
2154
+ this.requiredFieldErrorMessage = "Cannot be empty";
2155
+ /**
2156
+ * The message to be displayed when a the form submission fails unexpectedly.
2157
+ *
2158
+ * @uiName Network error message
2159
+ * @uiWidget textArea
2160
+ */
2161
+ this.networkErrorMessage = "Network request failed.";
2162
+ /**
2163
+ * The message to be displayed when password inputs do not match.
2164
+ *
2165
+ * @uiName Password mismatch message
2166
+ * @uiWidget textArea
2167
+ */
2168
+ this.passwordMismatchErrorMessage = "Passwords do not match.";
2169
+ /**
2170
+ * The message to be displayed when the email used is invalid or blocked.
2171
+ *
2172
+ * @uiName Invalid email message
2173
+ * @uiWidget textArea
2174
+ */
2175
+ this.invalidEmailErrorMessage = "Must be a valid email address";
1917
2176
  h(this);
1918
2177
  }
1919
2178
  disconnectedCallback() { }
@@ -1923,13 +2182,15 @@ const PortalRegister = class {
1923
2182
  : usePortalRegister(this);
1924
2183
  const content = {
1925
2184
  formData: h$1("slot", { name: "formData" }),
1926
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => gn.push(states.loginPath) }, this.loginLabel))),
2185
+ secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => pn.push(states.loginPath) }, this.loginLabel))),
1927
2186
  terms: h$1("slot", { name: "terms" }),
1928
2187
  emailLabel: this.emailLabel,
1929
2188
  passwordLabel: this.passwordLabel,
1930
2189
  submitLabel: this.submitLabel,
1931
2190
  pageLabel: this.pageLabel,
1932
2191
  confirmPasswordLabel: this.confirmPasswordLabel,
2192
+ invalidEmailErrorMessage: this.invalidEmailErrorMessage,
2193
+ requiredFieldErrorMessage: this.requiredFieldErrorMessage,
1933
2194
  };
1934
2195
  return (h$1(PortalRegisterView, { states: states, callbacks: callbacks, content: content, refs: refs }));
1935
2196
  }
@@ -1991,13 +2252,13 @@ function ProgramExplainerView(props, children) {
1991
2252
  display: block;
1992
2253
  }
1993
2254
  }`;
1994
- return (h$1("div", { class: sheet.classes.Container, part: "sqm-program-explainer-container" },
2255
+ return (h$1("div", { class: sheet.classes.Container, part: "sqm-base" },
1995
2256
  h$1("style", { type: "text/css" },
1996
2257
  styleString,
1997
2258
  vanillaStyle),
1998
2259
  h$1("div", { class: sheet.classes.Header },
1999
- h$1("div", { class: sheet.classes.Header, part: "sqm-program-explainer-header" }, props.header)),
2000
- h$1("div", { class: sheet.classes.Grid, part: "sqm-program-explainer-grid-container" }, children)));
2260
+ h$1("div", { class: sheet.classes.Header, part: "sqm-header" }, props.header)),
2261
+ h$1("div", { class: sheet.classes.Grid, part: "sqm-grid-container" }, children)));
2001
2262
  }
2002
2263
 
2003
2264
  const ProgramExplainer = class {
@@ -2063,13 +2324,13 @@ function ProgramExplainerStepView(props) {
2063
2324
  };
2064
2325
  const sheet = createStyleSheet(style);
2065
2326
  const styleString = sheet.toString();
2066
- return (h$1("div", { class: sheet.classes.Container, part: "sqm-program-explainer-step-container" },
2327
+ return (h$1("div", { class: sheet.classes.Container, part: "sqm-base" },
2067
2328
  h$1("style", { type: "text/css" }, styleString),
2068
- h$1("div", null, props.imageUrl ? (h$1("img", { class: sheet.classes.Media, src: props.imageUrl, part: "sqm-program-explainer-step-media" })) : (h$1("div", { class: sheet.classes.Media, part: "sqm-program-explainer-step-media" },
2329
+ h$1("div", null, props.imageUrl ? (h$1("img", { class: sheet.classes.Media, src: props.imageUrl, part: "sqm-media" })) : (h$1("div", { class: sheet.classes.Media, part: "sqm-media" },
2069
2330
  h$1("sl-icon", { name: props.icon })))),
2070
2331
  h$1("div", { class: sheet.classes.Text },
2071
- h$1("div", { class: sheet.classes.Header, part: "sqm-program-explainer-step-header" }, props.header),
2072
- h$1("div", { class: sheet.classes.Description, part: "sqm-program-explainer-step-description" }, props.description))));
2332
+ h$1("div", { class: sheet.classes.Header, part: "sqm-header" }, props.header),
2333
+ h$1("div", { class: sheet.classes.Description, part: "sqm-description" }, props.description))));
2073
2334
  }
2074
2335
 
2075
2336
  const ProgramExplainerStep = class {
@@ -2087,7 +2348,7 @@ const debug = browser('sq:useProgramMenu');
2087
2348
  const UPDATE_PROGRAM_EVENT = 'sq:update-program-id';
2088
2349
  function useProgramMenu(props) {
2089
2350
  const programId = O();
2090
- const host = R();
2351
+ const host = V();
2091
2352
  debug({ programId, props });
2092
2353
  const ref = useRef();
2093
2354
  const [, rerender] = dn();
@@ -2127,67 +2388,62 @@ const ProgramMenu = class {
2127
2388
  }
2128
2389
  };
2129
2390
 
2130
- const style$1 = {
2391
+ const style$2 = {
2131
2392
  Container: {
2132
- border: "1px solid var(--sl-color-neutral-300)",
2133
2393
  borderRadius: "var(--sl-border-radius-large)",
2134
2394
  color: "var(--sl-color-neutral-900)",
2135
2395
  background: "var(--sl-color-neutral-0)",
2396
+ display: "flex",
2397
+ flexDirection: "column",
2398
+ rowGap: "var(--sl-spacing-large)",
2136
2399
  },
2137
2400
  EndContainer: {
2138
2401
  display: "flex",
2139
2402
  flexDirection: "column",
2140
2403
  alignItems: "center",
2141
- padding: "0 var(--sl-spacing-large)",
2142
2404
  },
2143
2405
  ColumnContainer: {
2144
2406
  "& p": { margin: "0" },
2145
- display: "flex",
2146
- "& .left": {
2147
- boxSizing: "border-box",
2148
- width: "50%",
2149
- padding: "var(--sl-spacing-large)",
2150
- paddingRight: "var(--sl-spacing-medium)",
2151
- "@media (max-width: 499px)": {
2152
- width: "100%",
2153
- },
2154
- },
2155
- "& .right": {
2156
- boxSizing: "border-box",
2157
- width: "50%",
2158
- padding: "var(--sl-spacing-large)",
2159
- paddingLeft: "var(--sl-spacing-medium)",
2160
- "@media (max-width: 499px)": {
2161
- width: "100%",
2162
- },
2163
- },
2407
+ display: "grid",
2408
+ gridAutoColumns: "minmax(0, 1fr)",
2409
+ gridAutoFlow: "column",
2410
+ gap: "calc(2 * var(--sl-spacing-medium))",
2164
2411
  "@media (max-width: 499px)": {
2165
- flexDirection: "column",
2412
+ gridAutoFlow: "unset",
2413
+ gridAutoColumns: "unset",
2414
+ gridTemplateColumns: "1fr",
2166
2415
  border: "none",
2167
2416
  },
2168
2417
  },
2169
2418
  };
2170
- const sheet$1 = createStyleSheet(style$1);
2171
- const styleString$1 = sheet$1.toString();
2172
- const vanillaStyle = `
2419
+ const sheet$2 = createStyleSheet(style$2);
2420
+ const styleString$2 = sheet$2.toString();
2421
+ const vanillaStyle$1 = `
2173
2422
  :host{
2174
2423
  display: block;
2175
2424
  }
2176
2425
  `;
2177
2426
  function ReferralCardView(props) {
2178
- return (h$1("div", { part: "sqm-referral-card-container", class: sheet$1.classes.Container },
2427
+ return (h$1("div", { part: "sqm-base", class: sheet$2.classes.Container, style: {
2428
+ border: `${props.hideBorder ? "none" : "1px solid var(--sl-color-neutral-300)"}`,
2429
+ "padding-top": `var(--sl-spacing-${props.paddingTop})`,
2430
+ "padding-right": `var(--sl-spacing-${props.paddingRight})`,
2431
+ "padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
2432
+ "padding-left": `var(--sl-spacing-${props.paddingLeft})`,
2433
+ backgroundColor: props.backgroundColor,
2434
+ maxWidth: `${props.limitWidth ? "600px" : "none"}`,
2435
+ margin: `${props.limitWidth ? "auto" : "none"}`,
2436
+ } },
2179
2437
  h$1("style", { type: "text/css" },
2180
- styleString$1,
2181
- vanillaStyle),
2182
- h$1("div", { class: sheet$1.classes.EndContainer }, props.slots.header),
2183
- h$1("div", { part: "sqm-columns", class: sheet$1.classes.ColumnContainer },
2184
- h$1("div", { class: "left", style: {
2185
- alignSelf: props.verticalAlignment,
2186
- } }, props.slots.left),
2187
- h$1("div", { class: "right", style: {
2188
- alignSelf: props.verticalAlignment,
2189
- } }, props.slots.right)),
2190
- h$1("div", { class: sheet$1.classes.EndContainer }, props.slots.footer)));
2438
+ styleString$2,
2439
+ vanillaStyle$1),
2440
+ props.hasHeader && (h$1("div", { class: sheet$2.classes.EndContainer }, props.slots.header)),
2441
+ h$1("div", { part: "sqm-column-container", class: sheet$2.classes.ColumnContainer, style: {
2442
+ alignItems: props.verticalAlignment,
2443
+ } },
2444
+ props.slots.left,
2445
+ props.slots.right),
2446
+ props.hasFooter && (h$1("div", { class: sheet$2.classes.EndContainer }, props.slots.footer))));
2191
2447
  }
2192
2448
 
2193
2449
  const ReferralCard = class {
@@ -2195,12 +2451,56 @@ const ReferralCard = class {
2195
2451
  registerInstance(this, hostRef);
2196
2452
  this.ignored = true;
2197
2453
  /**
2198
- * @uiName Vertical Aligment
2454
+ * @uiName Vertical alignment
2199
2455
  * @uiType string
2200
2456
  * @uiEnum ["start", "center", "end"]
2201
2457
  * @uiEnumNames ["Top", "Center", "Bottom"]
2202
2458
  */
2203
2459
  this.verticalAlignment = "start";
2460
+ /**
2461
+ * @uiName Hide border
2462
+ * @uiType boolean
2463
+ */
2464
+ this.hideBorder = false;
2465
+ /**
2466
+ * @uiName Top padding
2467
+ * @uiGroup Padding
2468
+ * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
2469
+ * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
2470
+ */
2471
+ this.paddingTop = "large";
2472
+ /**
2473
+ * @uiName Right padding
2474
+ * @uiGroup Padding
2475
+ * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
2476
+ * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
2477
+ */
2478
+ this.paddingRight = "large";
2479
+ /**
2480
+ * @uiName Bottom padding
2481
+ * @uiGroup Padding
2482
+ * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
2483
+ * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
2484
+ */
2485
+ this.paddingBottom = "large";
2486
+ /**
2487
+ * @uiName Left padding
2488
+ * @uiGroup Padding
2489
+ * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
2490
+ * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
2491
+ */
2492
+ this.paddingLeft = "large";
2493
+ /**
2494
+ * @uiName Background color
2495
+ * @uiWidget color
2496
+ * @uiType string
2497
+ */
2498
+ this.backgroundColor = "#ffffff";
2499
+ /**
2500
+ * @uiName Limit width
2501
+ * @uiType boolean
2502
+ */
2503
+ this.limitWidth = false;
2204
2504
  h(this);
2205
2505
  }
2206
2506
  disconnectedCallback() { }
@@ -2211,7 +2511,10 @@ const ReferralCard = class {
2211
2511
  header: h$1("slot", { name: "header" }),
2212
2512
  footer: h$1("slot", { name: "footer" }),
2213
2513
  };
2214
- return (h$1(ReferralCardView, Object.assign({}, getProps(this), { slots: slots }), h$1("slot", null)));
2514
+ const children = useChildElements();
2515
+ const hasHeader = children.findIndex((child) => child.slot === "header") > -1;
2516
+ const hasFooter = children.findIndex((child) => child.slot === "footer") > -1;
2517
+ return (h$1(ReferralCardView, Object.assign({}, getProps(this), { slots: slots, hasHeader: hasHeader, hasFooter: hasFooter }), h$1("slot", null)));
2215
2518
  }
2216
2519
  };
2217
2520
 
@@ -2227,8 +2530,8 @@ const GET_USER_DETAILS = dist.gql `
2227
2530
  function useReferralIframe(props) {
2228
2531
  var _a;
2229
2532
  const programId = O();
2230
- const user = W();
2231
- const { data } = fn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2533
+ const user = L();
2534
+ const { data } = mn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2232
2535
  return {
2233
2536
  states: {
2234
2537
  content: props,
@@ -2245,12 +2548,12 @@ const SqmReferralIframe = class {
2245
2548
  this.ignored = true;
2246
2549
  /**
2247
2550
  * Define the height of the iframe with any valid CSS height value. Example: 100px, 5rem, or auto.
2248
- * @uiName Iframe Height
2551
+ * @uiName IFrame height
2249
2552
  */
2250
2553
  this.iframeHeight = "100%";
2251
2554
  /**
2252
2555
  * Define the width of the iframe with any valid CSS width value. Example: 100px, 5rem, or auto.
2253
- * @uiName Iframe Width
2556
+ * @uiName IFrame width
2254
2557
  */
2255
2558
  this.iframeWidth = "100%";
2256
2559
  h(this);
@@ -2940,7 +3243,7 @@ const EXCHANGE = dist.gql `
2940
3243
  }
2941
3244
  `;
2942
3245
  function useRewardExchangeList(props) {
2943
- var _a, _b, _c, _d, _e;
3246
+ var _a, _b, _c, _d, _e$1;
2944
3247
  const [exchangeState, setExchangeState] = useReducer((state, next) => ({
2945
3248
  ...state,
2946
3249
  ...next,
@@ -2953,9 +3256,9 @@ function useRewardExchangeList(props) {
2953
3256
  });
2954
3257
  const [open, setOpen] = useState(false);
2955
3258
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
2956
- const user = W();
2957
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Fe(EXCHANGE);
2958
- const { data, loading, refetch, errors: queryError, } = fn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3259
+ const user = L();
3260
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = Ie(EXCHANGE);
3261
+ const { data, loading, refetch, errors: queryError, } = mn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
2959
3262
  useEffect(() => {
2960
3263
  var _a, _b;
2961
3264
  if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
@@ -2974,7 +3277,7 @@ function useRewardExchangeList(props) {
2974
3277
  canvas.confetti || confetti.create(canvas, { resize: true });
2975
3278
  canvas.confetti();
2976
3279
  }, [canvasRef.current]);
2977
- const { refresh } = He();
3280
+ const { refresh } = _e();
2978
3281
  async function exchangeReward() {
2979
3282
  if (!selectedItem)
2980
3283
  return;
@@ -3073,7 +3376,7 @@ function useRewardExchangeList(props) {
3073
3376
  },
3074
3377
  data: {
3075
3378
  exchangeList: (_c = (_b = data === null || data === void 0 ? void 0 : data.viewer) === null || _b === void 0 ? void 0 : _b.visibleRewardExchangeItems) === null || _c === void 0 ? void 0 : _c.data,
3076
- fuelTankCode: (_e = (_d = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _d === void 0 ? void 0 : _d.reward) === null || _e === void 0 ? void 0 : _e.fuelTankCode,
3379
+ fuelTankCode: (_e$1 = (_d = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _d === void 0 ? void 0 : _d.reward) === null || _e$1 === void 0 ? void 0 : _e$1.fuelTankCode,
3077
3380
  },
3078
3381
  callbacks: {
3079
3382
  exchangeReward,
@@ -3095,131 +3398,131 @@ const SqmRewardExchangeList = class {
3095
3398
  /**
3096
3399
  * Error message shown when reward is not available
3097
3400
  *
3098
- * @uiName Not Available Error
3401
+ * @uiName Not available error
3099
3402
  * @uiWidget textArea
3100
3403
  */
3101
3404
  this.notAvailableError = "{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }";
3102
3405
  /**
3103
- * @uiName Choose Reward Progress Title
3406
+ * @uiName Choose reward progress title
3104
3407
  */
3105
3408
  this.chooseRewardTitle = "Rewards";
3106
3409
  /**
3107
- * @uiName Choose Amount Progress Title
3410
+ * @uiName Choose amount progress title
3108
3411
  */
3109
3412
  this.chooseAmountTitle = "Select";
3110
3413
  /**
3111
- * @uiName Confirmation Progress Title
3414
+ * @uiName Confirmation progress title
3112
3415
  */
3113
3416
  this.confirmationTitle = "Confirm";
3114
3417
  /**
3115
- * @uiName Reward Title Text
3418
+ * @uiName Reward title text
3116
3419
  */
3117
3420
  this.rewardTitle = "Choose a reward";
3118
3421
  /**
3119
- * @uiName Cancel Button Text
3422
+ * @uiName Cancel button text
3120
3423
  */
3121
3424
  this.cancelText = "Cancel";
3122
3425
  /**
3123
- * @uiName Back Button Text
3426
+ * @uiName Back button text
3124
3427
  */
3125
3428
  this.backText = "Back";
3126
3429
  /**
3127
- * @uiName Continue Button Text
3430
+ * @uiName Continue button text
3128
3431
  */
3129
3432
  this.continueText = "Continue";
3130
3433
  /**
3131
3434
  * Displayed on the reward selection page.
3132
- * @uiName Continue to Confirmation Button Text
3435
+ * @uiName Continue to confirmation button text
3133
3436
  */
3134
3437
  this.continueToConfirmationText = "Continue to confirmation";
3135
3438
  /**
3136
- * @uiName Redeem Button Text
3439
+ * @uiName Redeem button text
3137
3440
  */
3138
3441
  this.redeemText = "Redeem";
3139
3442
  /**
3140
3443
  * Displayed as the header for the confirmation page.
3141
3444
  *
3142
- * @uiName Confirmation Title Text
3445
+ * @uiName Confirmation title text
3143
3446
  */
3144
3447
  this.redeemTitle = "Confirm and redeem";
3145
3448
  /**
3146
3449
  * Displayed on the success screen when a user successfully exchanges for a reward.
3147
3450
  *
3148
- * @uiName Redemption Success Message
3451
+ * @uiName Redemption success message
3149
3452
  * @uiWidget textArea
3150
3453
  */
3151
3454
  this.redemptionSuccessText = "Redeemed {sourceValue} for {destinationValue}";
3152
3455
  /**
3153
3456
  * Displayed on the reward exchange cards.
3154
3457
  *
3155
- * @uiName Reward Exchange Amount Text
3458
+ * @uiName Reward exchange amount text
3156
3459
  * @uiWidget textArea
3157
3460
  */
3158
3461
  this.sourceAmountMessage = "{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}";
3159
3462
  /**
3160
3463
  * Shown when a user copies a fuel tank code
3161
3464
  *
3162
- * @uiName Tooltip Text
3465
+ * @uiName Tooltip text
3163
3466
  */
3164
3467
  this.tooltipText = "Copied";
3165
3468
  /**
3166
- * @uiName Done Text
3469
+ * @uiName Done text
3167
3470
  */
3168
3471
  this.doneText = "Done";
3169
3472
  /**
3170
- * @uiName Select Amount Text
3473
+ * @uiName Select amount text
3171
3474
  * @uiWidget textArea
3172
3475
  */
3173
3476
  this.selectText = "Select amount to receive";
3174
3477
  /**
3175
3478
  * Shown if an error occurs when loading the reward exchange.
3176
3479
  *
3177
- * @uiName Reward List Error Message
3480
+ * @uiName Reward list error message
3178
3481
  * @uiWidget textArea
3179
3482
  */
3180
3483
  this.queryError = "Unable to load reward exchange list. Please try again";
3181
3484
  /**
3182
3485
  * Shown if an error occurs during the reward exchange.
3183
3486
  *
3184
- * @uiName Redemption Error Message
3487
+ * @uiName Redemption error message
3185
3488
  * @uiWidget textArea
3186
3489
  */
3187
3490
  this.redemptionError = "An error occured trying to redeem this reward. Please try again";
3188
3491
  /**
3189
- * @uiName Not Enough Error Message
3492
+ * @uiName Not enough error message
3190
3493
  * @uiWidget textArea
3191
3494
  */
3192
3495
  this.notEnoughError = "Not enough {sourceUnit} to redeem for this reward";
3193
3496
  /**
3194
- * @uiName Reward Redeemed Text
3497
+ * @uiName Reward redeemed text
3195
3498
  */
3196
3499
  this.rewardRedeemedText = "Reward redeemed";
3197
3500
  /**
3198
- * @uiName Promo Code Text
3501
+ * @uiName Promo code text
3199
3502
  */
3200
3503
  this.promoCode = "Promo Code";
3201
3504
  /**
3202
3505
  * Set the number of placeholder cards to be shown in loading state.
3203
3506
  *
3204
- * @uiName Loading Cards
3507
+ * @uiName Loading cards
3205
3508
  */
3206
3509
  this.skeletonCardNum = 8;
3207
3510
  /**
3208
3511
  * Shown in the confirmation state.
3209
3512
  *
3210
- * @uiName Reward Row Title
3513
+ * @uiName Reward row title
3211
3514
  */
3212
3515
  this.rewardNameTitle = "Reward";
3213
3516
  /**
3214
3517
  * Shown in the confirmation state.
3215
3518
  *
3216
- * @uiName Reward Amount Row Title
3519
+ * @uiName Reward amount row title
3217
3520
  */
3218
3521
  this.rewardAmountTitle = "Reward Amount";
3219
3522
  /**
3220
3523
  * Shown in the confirmation state.
3221
3524
  *
3222
- * @uiName Cost Row Title
3525
+ * @uiName Cost row title
3223
3526
  */
3224
3527
  this.costTitle = "Cost to Redeem";
3225
3528
  h(this);
@@ -3282,8 +3585,8 @@ function matchPath(pattern, page) {
3282
3585
  return regexp.exec(page);
3283
3586
  }
3284
3587
  function useRouter() {
3285
- const location = mn();
3286
- const host = R();
3588
+ const location = vn();
3589
+ const host = V();
3287
3590
  const [slot, setSlot] = useState(undefined);
3288
3591
  const [container, setContainer] = useState(undefined);
3289
3592
  const page = location.pathname;
@@ -3389,7 +3692,7 @@ const Scroll = class {
3389
3692
  registerInstance(this, hostRef);
3390
3693
  this.ignored = true;
3391
3694
  /**
3392
- * @uiName Button Type
3695
+ * @uiName Button type
3393
3696
  * @uiType string
3394
3697
  * @uiEnum ["default", "primary", "success", "neutral", "warning", "danger", "text"]
3395
3698
  * @uiEnumNames ["Default", "Primary", "Success", "Neutral", "Warning", "Danger", "Text"]
@@ -3397,7 +3700,7 @@ const Scroll = class {
3397
3700
  */
3398
3701
  this.buttonType = "default";
3399
3702
  /**
3400
- * @uiName Scroll Animation Style
3703
+ * @uiName Scroll animation style
3401
3704
  * @uiType string
3402
3705
  * @uiEnum ["smooth", "auto"]
3403
3706
  * @uiEnumNames ["Smooth", "Auto"]
@@ -3473,25 +3776,25 @@ const ShareButton = class {
3473
3776
  registerInstance(this, hostRef);
3474
3777
  /**
3475
3778
  * @uiType string
3476
- * @uiName Button Style
3779
+ * @uiName Button style
3477
3780
  * @uiEnum ["primary" , "success", "info", "warning", "danger", "default", "text" ]
3478
3781
  * @uiEnumNames ["Primary", "Success", "Info", "Warning", "Danger", "Default", "Text"]
3479
3782
  */
3480
3783
  this.type = "default";
3481
3784
  /**
3482
- * @uiName Icon Location
3785
+ * @uiName Icon location
3483
3786
  * @uiType string
3484
3787
  * @uiEnum ["prefix", "suffix" ]
3485
3788
  * @uiEnumNames ["Prefix", "Suffix"]
3486
3789
  */
3487
3790
  this.iconslot = "prefix";
3488
3791
  /**
3489
- * @uiName Hide Icon
3792
+ * @uiName Hide icon
3490
3793
  * @default
3491
3794
  */
3492
3795
  this.hideicon = false;
3493
3796
  /**
3494
- * @uiName Hide Text
3797
+ * @uiName Hide text
3495
3798
  * @default
3496
3799
  */
3497
3800
  this.hidetext = false;
@@ -3518,7 +3821,7 @@ function useDemoShareButton(props) {
3518
3821
  }
3519
3822
  ShareButton.style = sqmShareButtonCss;
3520
3823
 
3521
- const MessageLinkQuery$1 = dist.gql `
3824
+ const MessageLinkQuery = dist.gql `
3522
3825
  query ($programId: ID) {
3523
3826
  user: viewer {
3524
3827
  ... on User {
@@ -3535,10 +3838,10 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
3535
3838
  function useShareCode(props) {
3536
3839
  var _a, _b;
3537
3840
  const { programId = O() } = props;
3538
- const user = W();
3539
- const engagementMedium = _();
3540
- const { data } = fn(MessageLinkQuery$1, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3541
- const [sendLoadEvent] = Fe(WIDGET_ENGAGEMENT_EVENT$1);
3841
+ const user = L();
3842
+ const engagementMedium = T();
3843
+ const { data } = mn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3844
+ const [sendLoadEvent] = Ie(WIDGET_ENGAGEMENT_EVENT$1);
3542
3845
  const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
3543
3846
  // Shown during loading
3544
3847
  "...";
@@ -3569,9 +3872,9 @@ const ShareCode = class {
3569
3872
  constructor(hostRef) {
3570
3873
  registerInstance(this, hostRef);
3571
3874
  /**
3572
- * Shown inside a tooltip after someone has successfully copied the link to their clipboard.
3875
+ * Shown inside a tooltip after someone has successfully copied the link to their clipboard
3573
3876
  *
3574
- * @uiName Tooltip Text
3877
+ * @uiName Tooltip text
3575
3878
  */
3576
3879
  this.tooltiptext = "Copied to Clipboard";
3577
3880
  /**
@@ -3583,25 +3886,23 @@ const ShareCode = class {
3583
3886
  /**
3584
3887
  * Change the text alignment
3585
3888
  *
3586
- * @uiName Align text
3889
+ * @uiName Share code alignment
3587
3890
  * @uiType string
3588
- * @uiEnum ["left", "center"]
3589
- * @uiEnumNames ["left", "center"]
3891
+ * @uiEnum ["left", "center", "right"]
3892
+ * @uiEnumNames ["Left", "Center", "Right"]
3590
3893
  */
3591
3894
  this.textAlign = "left";
3592
3895
  /**
3593
- * Set copy button label
3594
- *
3595
3896
  * @uiName Copy button label
3596
3897
  */
3597
3898
  this.copyButtonLabel = "Copy Code";
3598
3899
  /**
3599
- * Set the copy button style
3900
+ * Set the copy button style and placement
3600
3901
  *
3601
- * @uiName Copy button style
3902
+ * @uiName Style
3602
3903
  * @uiType string
3603
- * @uiEnum ["icon", "button inside", "button outside", "button below"]
3604
- * @uiEnumNames ["icon", "button inside", "button outside", "button below"]
3904
+ * @uiEnum ["icon", "button-outside", "button-below"]
3905
+ * @uiEnumNames ["Icon", "Button outside", "Button below"]
3605
3906
  */
3606
3907
  this.buttonStyle = "icon";
3607
3908
  h(this);
@@ -3624,6 +3925,7 @@ function useDemoShareCode(props) {
3624
3925
  textAlign: props.textAlign,
3625
3926
  copyButtonLabel: props.copyButtonLabel,
3626
3927
  buttonStyle: props.buttonStyle,
3928
+ rewardStatus: "AVAILABLE",
3627
3929
  open,
3628
3930
  onClick: () => {
3629
3931
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
@@ -3639,39 +3941,37 @@ const ShareLink = class {
3639
3941
  constructor(hostRef) {
3640
3942
  registerInstance(this, hostRef);
3641
3943
  /**
3642
- * Shown inside a tooltip after someone has successfully copied the link to their clipboard.
3944
+ * Shown inside a tooltip after someone has successfully copied the link to their clipboard
3643
3945
  *
3644
- * @uiName Tooltip Text
3946
+ * @uiName Tooltip text
3645
3947
  */
3646
3948
  this.tooltiptext = "Copied to Clipboard";
3647
3949
  /**
3648
3950
  * The number of milliseconds that the tooltip appears for
3649
3951
  *
3650
- * @uiName Tooltip Lifespan
3952
+ * @uiName Tooltip lifespan
3651
3953
  */
3652
3954
  this.tooltiplifespan = 1000;
3653
3955
  /**
3654
3956
  * Change the text alignment
3655
3957
  *
3656
- * @uiName Align text
3958
+ * @uiName Share link alignment
3657
3959
  * @uiType string
3658
- * @uiEnum ["left", "center"]
3659
- * @uiEnumNames ["left", "center"]
3960
+ * @uiEnum ["left", "center", "right"]
3961
+ * @uiEnumNames ["Left", "Center", "Right"]
3660
3962
  */
3661
3963
  this.textAlign = "left";
3662
3964
  /**
3663
- * Set copy button label
3664
- *
3665
3965
  * @uiName Copy button label
3666
3966
  */
3667
3967
  this.copyButtonLabel = "Copy Link";
3668
3968
  /**
3669
- * Set the copy button style
3969
+ * Set the copy button style and placement
3670
3970
  *
3671
- * @uiName Copy button style
3971
+ * @uiName Style
3672
3972
  * @uiType string
3673
- * @uiEnum ["icon", "button inside", "button outside", "button below"]
3674
- * @uiEnumNames ["icon", "button inside", "button outside", "button below"]
3973
+ * @uiEnum ["icon", "button-outside", "button-below"]
3974
+ * @uiEnumNames ["Icon", "Button outside", "Button below"]
3675
3975
  */
3676
3976
  this.buttonStyle = "icon";
3677
3977
  h(this);
@@ -3694,6 +3994,7 @@ function useDemoShareLink(props) {
3694
3994
  textAlign: props.textAlign,
3695
3995
  buttonStyle: props.buttonStyle,
3696
3996
  copyButtonLabel: props.copyButtonLabel,
3997
+ rewardStatus: "AVAILABLE",
3697
3998
  open,
3698
3999
  onClick: () => {
3699
4000
  // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
@@ -3710,7 +4011,7 @@ const StatContainer = class {
3710
4011
  registerInstance(this, hostRef);
3711
4012
  this.ignored = true;
3712
4013
  /**
3713
- * @uiName Space Between Stats
4014
+ * @uiName Space between stats
3714
4015
  * @uiType string
3715
4016
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
3716
4017
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
@@ -3734,7 +4035,7 @@ const StatContainer = class {
3734
4035
  const TableCell = class {
3735
4036
  constructor(hostRef) {
3736
4037
  registerInstance(this, hostRef);
3737
- /** @uiName Column Span */
4038
+ /** @uiName Column span */
3738
4039
  this.colspan = 1;
3739
4040
  /** @uiName Padding */
3740
4041
  this.padding = "15px 10px";
@@ -3765,10 +4066,10 @@ const SEND_EVENT = dist.gql `
3765
4066
  }
3766
4067
  `;
3767
4068
  function useTaskCard(props) {
3768
- const user = W();
3769
- const locale = x();
3770
- const [sendUserEvent, { data, loading: loadingEvent }] = Fe(SEND_EVENT);
3771
- const { refresh } = He();
4069
+ const user = L();
4070
+ const locale = W();
4071
+ const [sendUserEvent, { data, loading: loadingEvent }] = Ie(SEND_EVENT);
4072
+ const { refresh } = _e();
3772
4073
  useEffect(() => {
3773
4074
  if (data) {
3774
4075
  refresh();
@@ -3803,12 +4104,12 @@ const TaskCard = class {
3803
4104
  registerInstance(this, hostRef);
3804
4105
  this.ignored = true;
3805
4106
  /**
3806
- * @uiName Reward Amount
4107
+ * @uiName Reward amount
3807
4108
  * @uiGroup Reward
3808
4109
  */
3809
4110
  this.rewardAmount = "0";
3810
4111
  /**
3811
- * @uiName Reward Unit
4112
+ * @uiName Reward unit
3812
4113
  * @uiGroup Reward
3813
4114
  */
3814
4115
  this.rewardUnit = "Points";
@@ -3823,7 +4124,7 @@ const TaskCard = class {
3823
4124
  */
3824
4125
  this.description = "";
3825
4126
  /**
3826
- * @uiName Goal Repeatable
4127
+ * @uiName Goal repeatable
3827
4128
  * @uiGroup Goal
3828
4129
  * @default
3829
4130
  */
@@ -3831,12 +4132,12 @@ const TaskCard = class {
3831
4132
  /**
3832
4133
  * The number of times a task can be completed when repeatable. Use zero for no limit (the default).
3833
4134
  *
3834
- * @uiName Repeat Amount
4135
+ * @uiName Repeat amount
3835
4136
  * @uiGroup Reward
3836
4137
  */
3837
4138
  this.finite = 0;
3838
4139
  /**
3839
- * @uiName Show Progress Bar
4140
+ * @uiName Show progress bar
3840
4141
  * @uiGroup Goal
3841
4142
  * @default
3842
4143
  */
@@ -3844,12 +4145,12 @@ const TaskCard = class {
3844
4145
  /**
3845
4146
  * Sets the goal for users progress to know when a task has been completed. If repeatable is checked, repeatable goals is an increment of this.
3846
4147
  *
3847
- * @uiName Goal Completion Number
4148
+ * @uiName Goal completion number
3848
4149
  * @uiGroup Goal
3849
4150
  */
3850
4151
  this.goal = 1;
3851
4152
  /**
3852
- * @uiName Progress Bar Steps
4153
+ * @uiName Progress bar steps
3853
4154
  * @uiGroup Goal
3854
4155
  * @default
3855
4156
  */
@@ -3857,47 +4158,47 @@ const TaskCard = class {
3857
4158
  /**
3858
4159
  * The unit displayed to the right of steps and progress numbers on the progress bar. Ex: $ for dollars
3859
4160
  *
3860
- * @uiName Progress Bar Unit
4161
+ * @uiName Progress bar unit
3861
4162
  * @uiGroup Goal
3862
4163
  */
3863
4164
  this.progressBarUnit = "";
3864
4165
  /**
3865
4166
  * Displayed when a user views a task card after the reward duration interval.
3866
4167
  *
3867
- * @uiName Expiry Date Message
4168
+ * @uiName Expiry date message
3868
4169
  * @uiGroup Task
3869
4170
  */
3870
4171
  this.expiryMessage = "Ends {endDate}";
3871
4172
  /**
3872
4173
  * Shown to users before the start of the task duration.
3873
4174
  *
3874
- * @uiName Start Date Message
4175
+ * @uiName Start date message
3875
4176
  * @uiGroup Task
3876
4177
  */
3877
4178
  this.startsOnMessage = "Starts {startDate}";
3878
4179
  /**
3879
4180
  * Shown to users after the end of the task duration.
3880
4181
  *
3881
- * @uiName Ended Date Message
4182
+ * @uiName Ended date message
3882
4183
  * @uiGroup Task
3883
4184
  */
3884
4185
  this.endedMessage = "Ended {endDate}";
3885
4186
  /**
3886
4187
  * Displays the amount of times that a user has completed a repeatable task.
3887
4188
  *
3888
- * @uiName Completed Count Text
4189
+ * @uiName Completed count text
3889
4190
  * @uiGroup Task
3890
4191
  * @uiWidget textArea
3891
4192
  */
3892
4193
  this.completedText = "Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}";
3893
4194
  /**
3894
- * @uiName Button Text
4195
+ * @uiName Button text
3895
4196
  * @uiGroup Button
3896
4197
  */
3897
4198
  this.buttonText = "Complete Action";
3898
4199
  /**
3899
- * Button Link Opens in New Tab
3900
- * @uiName Open In New Tab
4200
+ * Button link opens in new tab
4201
+ * @uiName Open in new tab
3901
4202
  * @uiGroup Button
3902
4203
  * @default
3903
4204
  */
@@ -3976,7 +4277,7 @@ const Gift = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24"
3976
4277
  const Circle = () => (h$1("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
3977
4278
  h$1("circle", { cx: "12", cy: "12", r: "9", fill: "currentColor", stroke: "currentColor", "stroke-width": "2" })));
3978
4279
 
3979
- const style$2 = {
4280
+ const style$3 = {
3980
4281
  TimelineReward: {
3981
4282
  color: "var(--sl-color-neutral-900)",
3982
4283
  lineHeight: "var(--sl-line-height-dense)",
@@ -4019,9 +4320,9 @@ const style$2 = {
4019
4320
  },
4020
4321
  },
4021
4322
  };
4022
- const sheet$2 = createStyleSheet(style$2);
4023
- const styleString$2 = sheet$2.toString();
4024
- const vanillaStyle$1 = `
4323
+ const sheet$3 = createStyleSheet(style$3);
4324
+ const styleString$3 = sheet$3.toString();
4325
+ const vanillaStyle$2 = `
4025
4326
  :host{
4026
4327
  display: block;
4027
4328
  }
@@ -4033,11 +4334,11 @@ const vanillaStyle$1 = `
4033
4334
  function TimelineEntryView(props) {
4034
4335
  var _a;
4035
4336
  const timeline_icon = (_a = props.icon) !== null && _a !== void 0 ? _a : props.iconState;
4036
- return (h$1("div", { class: sheet$2.classes.TimelineReward, part: "sqm-timeline-container" },
4337
+ return (h$1("div", { class: sheet$3.classes.TimelineReward, part: "sqm-base" },
4037
4338
  h$1("style", { type: "text/css" },
4038
- styleString$2,
4039
- vanillaStyle$1),
4040
- h$1("div", { class: "container", part: "sqm-base" },
4339
+ styleString$3,
4340
+ vanillaStyle$2),
4341
+ h$1("div", { class: "container", part: "sqm-entry-container" },
4041
4342
  h$1("div", { class: "line" }, "/"),
4042
4343
  h$1("div", { class: "step" },
4043
4344
  timeline_icon === "gift" && (h$1("div", { class: "icon" },
@@ -4084,8 +4385,8 @@ const GET_USER_NAME = dist.gql `
4084
4385
  `;
4085
4386
  function useUserName(props) {
4086
4387
  var _a, _b, _c, _d, _e, _f, _g, _h;
4087
- const user = W();
4088
- const res = fn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4388
+ const user = L();
4389
+ const res = mn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4089
4390
  const loading = res.loading;
4090
4391
  const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
4091
4392
  ? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
@@ -4102,12 +4403,12 @@ const UserName = class {
4102
4403
  registerInstance(this, hostRef);
4103
4404
  this.ignored = true;
4104
4405
  /**
4105
- * @uiName Unknown User Name
4406
+ * @uiName Unknown user name
4106
4407
  */
4107
4408
  this.fallback = "Anonymous User";
4108
4409
  /**
4109
4410
  * Text displayed while the participant’s name is loading.
4110
- * @uiName Loading Text
4411
+ * @uiName Loading text
4111
4412
  */
4112
4413
  this.loadingText = "...";
4113
4414
  h(this);
@@ -4126,4 +4427,4 @@ function useUserNameDemo(props) {
4126
4427
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
4127
4428
  }
4128
4429
 
4129
- export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
4430
+ export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };