@saasquatch/mint-components 1.11.0-7 → 1.11.0-8

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 (391) hide show
  1. package/dist/cjs/{ShadowViewAddon-ba87315e.js → ShadowViewAddon-c3e91cee.js} +103 -79
  2. package/dist/cjs/{email-registration-view-5170d9f1.js → email-registration-view-248652bb.js} +1 -1
  3. package/dist/cjs/{global-0e1b8019.js → global-02e50f09.js} +12 -163
  4. package/dist/cjs/{index.module-2d82a984.js → index.module-df530553.js} +244 -1444
  5. package/dist/cjs/loader.cjs.js +4 -4
  6. package/dist/cjs/{luxon-20eafbd9.js → luxon-05098e19.js} +1 -1
  7. package/dist/cjs/mint-components.cjs.js +4 -4
  8. package/dist/cjs/{mockRewardData-3c470512.js → mockRewardData-4258e067.js} +1 -1
  9. package/dist/cjs/{re-render-7744b75a.js → re-render-1976e05e.js} +5 -5
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
  11. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +522 -493
  12. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +174 -134
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +14 -7
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
  18. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +7 -7
  20. package/dist/cjs/{sqm-invoice-table-view-e75291d8.js → sqm-invoice-table-view-e3b03a00.js} +3 -2
  21. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +11 -12
  22. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +17 -19
  23. package/dist/cjs/{sqm-navigation-sidebar-item-view-34d8941e.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +2 -2
  24. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
  25. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
  26. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  27. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
  28. package/dist/cjs/{sqm-portal-container-view-5fb2ad49.js → sqm-portal-container-view-990a85a3.js} +1 -1
  29. package/dist/cjs/{sqm-portal-email-verification-view-a056e53e.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +10 -10
  31. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +7 -7
  32. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  33. package/dist/cjs/{sqm-portal-profile-view-c1753d1a.js → sqm-portal-profile-view-fde54e35.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +14 -15
  35. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
  36. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +11 -12
  37. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +9 -9
  38. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +9 -10
  39. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +16 -17
  40. package/dist/cjs/sqm-referred-registration.cjs.entry.js +7 -7
  41. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +66 -67
  44. package/dist/cjs/sqm-stencilbook.cjs.entry.js +226 -106
  45. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  46. package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
  47. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
  48. package/dist/cjs/{stencil-hooks.module-a5a04d8a.js → stencil-hooks.module-72742a0b.js} +4 -1
  49. package/dist/cjs/{useChildElements-079a23aa.js → useChildElements-e0d44916.js} +3 -3
  50. package/dist/cjs/{useInstantAccessRegistration-615a4dec.js → useInstantAccessRegistration-bbe746d1.js} +4 -4
  51. package/dist/cjs/{useReferralTable-034e8eb1.js → useReferralTable-a76adb0d.js} +19 -20
  52. package/dist/cjs/{useRegistrationFormState-cabaa291.js → useRegistrationFormState-876ed65d.js} +3 -3
  53. package/dist/cjs/{utilities-a4072d5b.js → utilities-cec9dd36.js} +2 -2
  54. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
  55. package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -1
  56. package/dist/collection/components/sqm-image/sqm-image-view.js +1 -1
  57. package/dist/collection/components/sqm-image/sqm-image.js +20 -0
  58. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +130 -24
  59. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +55 -29
  60. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +93 -29
  61. package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +40 -4
  62. package/dist/collection/components/sqm-logout-current-user/useLogoutCurrentUser.js +9 -10
  63. package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +19 -7
  64. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  65. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +37 -0
  66. package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +0 -2
  67. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +2 -2
  68. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +0 -1
  69. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +1 -1
  70. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +1 -1
  71. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
  72. package/dist/collection/components/sqm-share-button/sqm-share-button.js +2 -2
  73. package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +1 -1
  74. package/dist/collection/components/sqm-task-card/sqm-task-card.js +1 -1
  75. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +2 -1
  76. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +2 -2
  77. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +1 -4
  78. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +2 -1
  79. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +27 -2
  80. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +4 -1
  81. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +4 -7
  82. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +29 -0
  83. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -1
  84. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +55 -32
  85. package/dist/collection/components/views/email-registration-view.js +1 -1
  86. package/dist/collection/global/global.js +1 -1
  87. package/dist/collection/stories/NewPortal.stories.js +1 -1
  88. package/dist/esm/{ShadowViewAddon-cebdd86a.js → ShadowViewAddon-e012b2aa.js} +77 -53
  89. package/dist/esm/{email-registration-view-07d80492.js → email-registration-view-a89a88bf.js} +1 -1
  90. package/dist/esm/{global-ce667547.js → global-04c7d3b5.js} +12 -163
  91. package/dist/esm/{index.module-cfe48b0e.js → index.module-def4aec5.js} +223 -1426
  92. package/dist/esm/loader.js +4 -4
  93. package/dist/esm/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  94. package/dist/esm/mint-components.js +4 -4
  95. package/dist/esm/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  96. package/dist/esm/{re-render-9f58806b.js → re-render-12fd274a.js} +5 -5
  97. package/dist/esm/sqm-asset-card.entry.js +2 -2
  98. package/dist/esm/sqm-banking-info-form_16.entry.js +143 -114
  99. package/dist/esm/sqm-big-stat_38.entry.js +123 -83
  100. package/dist/esm/sqm-close-button.entry.js +2 -2
  101. package/dist/esm/sqm-context-router.entry.js +3 -3
  102. package/dist/esm/sqm-empty_4.entry.js +11 -4
  103. package/dist/esm/sqm-form-message.entry.js +1 -1
  104. package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
  105. package/dist/esm/sqm-header-logo.entry.js +1 -1
  106. package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
  107. package/dist/esm/{sqm-invoice-table-view-bccf5bbc.js → sqm-invoice-table-view-6e13a323.js} +3 -2
  108. package/dist/esm/sqm-leaderboard-rank.entry.js +6 -7
  109. package/dist/esm/sqm-logout-current-user.entry.js +12 -14
  110. package/dist/esm/{sqm-navigation-sidebar-item-view-407d8d6a.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
  111. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
  112. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  113. package/dist/esm/sqm-password-field.entry.js +3 -3
  114. package/dist/esm/sqm-popup-container.entry.js +5 -5
  115. package/dist/esm/{sqm-portal-container-view-ab89c6cc.js → sqm-portal-container-view-6c582684.js} +1 -1
  116. package/dist/esm/{sqm-portal-email-verification-view-b8ba7573.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  117. package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
  118. package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
  119. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  120. package/dist/esm/{sqm-portal-profile-view-9cbfeaf9.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  121. package/dist/esm/sqm-portal-profile.entry.js +8 -9
  122. package/dist/esm/sqm-portal-protected-route.entry.js +6 -6
  123. package/dist/esm/sqm-portal-registration-form.entry.js +9 -10
  124. package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
  125. package/dist/esm/sqm-portal-verify-email.entry.js +8 -9
  126. package/dist/esm/sqm-referral-table_11.entry.js +8 -9
  127. package/dist/esm/sqm-referred-registration.entry.js +6 -6
  128. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  129. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  130. package/dist/esm/sqm-rewards-table_9.entry.js +13 -14
  131. package/dist/esm/sqm-stencilbook.entry.js +224 -104
  132. package/dist/esm/sqm-tab.entry.js +3 -3
  133. package/dist/esm/sqm-tabs.entry.js +5 -5
  134. package/dist/esm/sqm-text-span.entry.js +1 -1
  135. package/dist/esm/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  136. package/dist/esm/{useChildElements-55ba77b1.js → useChildElements-32e1bda1.js} +3 -3
  137. package/dist/esm/{useInstantAccessRegistration-c8486b92.js → useInstantAccessRegistration-46b89952.js} +4 -4
  138. package/dist/esm/{useReferralTable-1671695f.js → useReferralTable-f4de0650.js} +10 -11
  139. package/dist/esm/{useRegistrationFormState-554eed2c.js → useRegistrationFormState-9fc1ac80.js} +3 -3
  140. package/dist/esm/{utilities-aa00400c.js → utilities-3f5bba22.js} +2 -2
  141. package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +1 -0
  142. package/dist/esm-es5/email-registration-view-a89a88bf.js +1 -0
  143. package/dist/esm-es5/global-04c7d3b5.js +285 -0
  144. package/dist/esm-es5/index.module-def4aec5.js +1 -0
  145. package/dist/esm-es5/loader.js +1 -1
  146. package/dist/esm-es5/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  147. package/dist/esm-es5/mint-components.js +1 -1
  148. package/dist/esm-es5/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  149. package/dist/esm-es5/{re-render-9f58806b.js → re-render-12fd274a.js} +1 -1
  150. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  151. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  152. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  153. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  154. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  155. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  156. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  157. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  158. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  159. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  160. package/dist/esm-es5/sqm-invoice-table-view-6e13a323.js +1 -0
  161. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  162. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  163. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-407d8d6a.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +1 -1
  164. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  165. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  166. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  167. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  168. package/dist/esm-es5/sqm-portal-container-view-6c582684.js +1 -0
  169. package/dist/esm-es5/{sqm-portal-email-verification-view-b8ba7573.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  170. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  171. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  172. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  173. package/dist/esm-es5/{sqm-portal-profile-view-9cbfeaf9.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  174. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  175. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  176. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  177. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  178. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  179. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  180. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  181. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  182. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  183. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  184. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  185. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  186. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  187. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  188. package/dist/esm-es5/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  189. package/dist/esm-es5/useChildElements-32e1bda1.js +1 -0
  190. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
  191. package/dist/esm-es5/useReferralTable-f4de0650.js +1 -0
  192. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
  193. package/dist/esm-es5/{utilities-aa00400c.js → utilities-3f5bba22.js} +1 -1
  194. package/dist/mint-components/mint-components.esm.js +1 -1
  195. package/dist/mint-components/mint-components.js +1 -1
  196. package/dist/mint-components/p-01cfff8a.system.entry.js +1 -0
  197. package/dist/mint-components/p-021a735d.entry.js +1 -0
  198. package/dist/mint-components/p-02424350.system.js +1 -0
  199. package/dist/mint-components/p-03494732.entry.js +1 -0
  200. package/dist/mint-components/{p-a2189daf.system.entry.js → p-07f675ab.system.entry.js} +1 -1
  201. package/dist/mint-components/p-0b9fa97f.js +1 -0
  202. package/dist/mint-components/{p-94b397d0.system.js → p-0d8c53ac.system.js} +1 -1
  203. package/dist/mint-components/{p-d491eac5.js → p-10685090.js} +24 -24
  204. package/dist/mint-components/p-10e89d0a.entry.js +1 -0
  205. package/dist/mint-components/{p-a05a21b8.entry.js → p-137ea86e.entry.js} +1 -1
  206. package/dist/mint-components/{p-cdd04337.entry.js → p-178d2d2e.entry.js} +1 -1
  207. package/dist/mint-components/p-1c857edb.entry.js +33 -0
  208. package/dist/mint-components/p-1dd69917.system.entry.js +1 -0
  209. package/dist/mint-components/{p-9223640e.js → p-251e7567.js} +1 -1
  210. package/dist/mint-components/{p-0979f82e.system.js → p-2a414b2e.system.js} +2 -2
  211. package/dist/mint-components/p-2dd67762.entry.js +1 -0
  212. package/dist/mint-components/{p-a2fc8ec6.js → p-2ee2ebba.js} +4 -4
  213. package/dist/mint-components/{p-3912f9af.entry.js → p-3223ba7b.entry.js} +1 -1
  214. package/dist/mint-components/p-32d1d162.entry.js +1 -0
  215. package/dist/mint-components/p-35d84041.system.entry.js +1 -0
  216. package/dist/mint-components/{p-cb45d0a8.system.js → p-370a1a73.system.js} +1 -1
  217. package/dist/mint-components/{p-69ae3f41.system.js → p-3d4656bb.system.js} +1 -1
  218. package/dist/mint-components/p-3ec16698.entry.js +13 -0
  219. package/dist/mint-components/p-3f385f47.entry.js +223 -0
  220. package/dist/mint-components/{p-83a759a6.js → p-41a11a7f.js} +1 -1
  221. package/dist/mint-components/p-44787d6e.system.js +1 -0
  222. package/dist/mint-components/{p-2669e88d.system.entry.js → p-4502ed11.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-2a82e591.js → p-4d233cd4.js} +1 -1
  224. package/dist/mint-components/{p-8c616b35.system.js → p-4df8f1d2.system.js} +1 -1
  225. package/dist/mint-components/p-4ea58025.system.entry.js +1 -0
  226. package/dist/mint-components/{p-9a02b093.entry.js → p-4edde470.entry.js} +1 -1
  227. package/dist/mint-components/p-509e29e6.js +1 -0
  228. package/dist/mint-components/p-51f517a2.js +1 -0
  229. package/dist/mint-components/{p-709c0d6d.entry.js → p-56f14840.entry.js} +1 -1
  230. package/dist/mint-components/{p-2f75d0c6.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
  231. package/dist/mint-components/{p-2c8c2ae9.system.js → p-59fe4ad1.system.js} +22 -22
  232. package/dist/mint-components/p-5b333fa8.system.entry.js +1 -0
  233. package/dist/mint-components/p-5be235f9.entry.js +1 -0
  234. package/dist/mint-components/{p-349315e6.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
  235. package/dist/mint-components/{p-a56fbe1f.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
  236. package/dist/mint-components/p-61eab172.js +1 -0
  237. package/dist/mint-components/{p-0034b33b.system.js → p-674a64fe.system.js} +1 -1
  238. package/dist/mint-components/{p-95af445c.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
  239. package/dist/mint-components/{p-db7b9e12.entry.js → p-6cef104b.entry.js} +1 -1
  240. package/dist/mint-components/p-7049e9b0.entry.js +1 -0
  241. package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
  242. package/dist/mint-components/p-733825fa.system.entry.js +1 -0
  243. package/dist/mint-components/p-76b2506e.system.entry.js +1 -0
  244. package/dist/mint-components/p-770368bc.system.js +1 -0
  245. package/dist/mint-components/{p-fd8496a0.system.entry.js → p-7731f793.system.entry.js} +1 -1
  246. package/dist/mint-components/p-79191f88.entry.js +1 -0
  247. package/dist/mint-components/{p-7a1e23b0.entry.js → p-7f088154.entry.js} +1 -1
  248. package/dist/mint-components/{p-5464dd3c.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
  249. package/dist/mint-components/{p-747e6ce6.entry.js → p-86990110.entry.js} +1 -1
  250. package/dist/mint-components/p-8704937c.js +1248 -0
  251. package/dist/mint-components/{p-14beec1b.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
  252. package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
  253. package/dist/mint-components/{p-de9b0bcf.system.entry.js → p-8e907ac7.system.entry.js} +1 -1
  254. package/dist/mint-components/p-91669312.entry.js +1 -0
  255. package/dist/mint-components/p-95771f79.system.js +1 -0
  256. package/dist/mint-components/p-9c310991.system.entry.js +1 -0
  257. package/dist/mint-components/p-9df2fe24.entry.js +9 -0
  258. package/dist/mint-components/p-9f0629ba.system.entry.js +1 -0
  259. package/dist/mint-components/p-a1dba9a1.system.entry.js +1 -0
  260. package/dist/mint-components/p-a51533cb.system.js +1 -0
  261. package/dist/mint-components/p-a6a7dcaa.js +1 -0
  262. package/dist/mint-components/{p-ce23dbff.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
  263. package/dist/mint-components/p-a8f7cb95.js +1 -0
  264. package/dist/mint-components/{p-5f4a0d5a.entry.js → p-a9050eb0.entry.js} +1 -1
  265. package/dist/mint-components/p-aad11a68.entry.js +1 -0
  266. package/dist/mint-components/p-af062c8f.system.entry.js +1 -0
  267. package/dist/mint-components/{p-f0553edd.system.entry.js → p-afd366ae.system.entry.js} +1 -1
  268. package/dist/mint-components/p-b370fca8.system.js +1 -0
  269. package/dist/mint-components/p-b3b5b4b7.system.entry.js +1 -0
  270. package/dist/mint-components/{p-8b37f9fa.entry.js → p-b4c52c5a.entry.js} +3 -3
  271. package/dist/mint-components/p-b5861974.system.entry.js +1 -0
  272. package/dist/mint-components/{p-bf161aff.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
  273. package/dist/mint-components/p-bb00db59.js +1 -0
  274. package/dist/mint-components/{p-74ba2bdd.system.entry.js → p-be4b748a.system.entry.js} +1 -1
  275. package/dist/mint-components/{p-e704842c.js → p-c7fd9e16.js} +1 -1
  276. package/dist/mint-components/p-c84659a3.system.js +1 -0
  277. package/dist/mint-components/p-c8878e79.entry.js +1 -0
  278. package/dist/mint-components/{p-4baf9ec9.entry.js → p-ce5afa40.entry.js} +1 -1
  279. package/dist/mint-components/{p-8d2d99b5.js → p-ce621bcc.js} +1 -1
  280. package/dist/mint-components/{p-e5299352.system.js → p-ce9e7c98.system.js} +1 -1
  281. package/dist/mint-components/{p-ad218d0b.system.entry.js → p-cf690d55.system.entry.js} +1 -1
  282. package/dist/mint-components/p-d495896f.system.entry.js +1 -0
  283. package/dist/mint-components/p-d8d2de11.entry.js +1 -0
  284. package/dist/mint-components/{p-5c602e84.entry.js → p-dd0d79bf.entry.js} +1 -1
  285. package/dist/mint-components/{p-553a92e2.system.js → p-dd7ee007.system.js} +1 -1
  286. package/dist/mint-components/p-e3735866.entry.js +11 -0
  287. package/dist/mint-components/p-e5a0c50e.entry.js +13 -0
  288. package/dist/mint-components/{p-92990ceb.js → p-eaada4da.js} +1 -1
  289. package/dist/mint-components/p-eba44835.system.entry.js +1 -0
  290. package/dist/mint-components/p-ec41d6a4.entry.js +174 -0
  291. package/dist/mint-components/{p-cc24f7e0.system.js → p-ed095674.system.js} +1 -1
  292. package/dist/mint-components/p-ed17e637.system.js +1 -0
  293. package/dist/mint-components/p-ed6ebd60.system.js +1 -0
  294. package/dist/mint-components/{p-7ab14d4b.system.entry.js → p-f0806232.system.entry.js} +1 -1
  295. package/dist/mint-components/{p-48704504.js → p-f3053c61.js} +1 -1
  296. package/dist/mint-components/{p-cfc4a126.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
  297. package/dist/mint-components/{p-79097c07.entry.js → p-fbdf0738.entry.js} +1 -1
  298. package/dist/mint-components/{p-1b24bb52.js → p-fd2c5407.js} +1 -1
  299. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
  300. package/dist/types/components/sqm-image/sqm-image-view.d.ts +1 -0
  301. package/dist/types/components/sqm-image/sqm-image.d.ts +5 -0
  302. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +5 -1
  303. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -4
  304. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +23 -6
  305. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +4 -2
  306. package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +1 -0
  307. package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +1 -0
  308. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +7 -0
  309. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +0 -1
  310. package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +0 -1
  311. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +2 -2
  312. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -1
  313. package/dist/types/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.d.ts +0 -1
  314. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +3 -0
  315. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +5 -0
  316. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +3 -2
  317. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +5 -0
  318. package/dist/types/components.d.ts +86 -14
  319. package/dist/types/saasquatch.d.ts +1 -1
  320. package/docs/docs.docx +0 -0
  321. package/docs/raisins.json +1 -1
  322. package/grapesjs/grapesjs.js +1 -1
  323. package/package.json +2 -2
  324. package/dist/cjs/index-56d1fa5b.js +0 -2227
  325. package/dist/esm/index-0c7b14c5.js +0 -2225
  326. package/dist/esm-es5/ShadowViewAddon-cebdd86a.js +0 -1
  327. package/dist/esm-es5/email-registration-view-07d80492.js +0 -1
  328. package/dist/esm-es5/global-ce667547.js +0 -285
  329. package/dist/esm-es5/index-0c7b14c5.js +0 -1
  330. package/dist/esm-es5/index.module-cfe48b0e.js +0 -53
  331. package/dist/esm-es5/sqm-invoice-table-view-bccf5bbc.js +0 -1
  332. package/dist/esm-es5/sqm-portal-container-view-ab89c6cc.js +0 -1
  333. package/dist/esm-es5/useChildElements-55ba77b1.js +0 -1
  334. package/dist/esm-es5/useInstantAccessRegistration-c8486b92.js +0 -1
  335. package/dist/esm-es5/useReferralTable-1671695f.js +0 -1
  336. package/dist/esm-es5/useRegistrationFormState-554eed2c.js +0 -1
  337. package/dist/mint-components/p-10036f16.js +0 -1
  338. package/dist/mint-components/p-1128f16d.entry.js +0 -187
  339. package/dist/mint-components/p-155e5795.entry.js +0 -1
  340. package/dist/mint-components/p-175cf117.system.entry.js +0 -1
  341. package/dist/mint-components/p-1bb39bf3.js +0 -1
  342. package/dist/mint-components/p-1c021084.system.js +0 -1
  343. package/dist/mint-components/p-1cb0c56c.js +0 -1
  344. package/dist/mint-components/p-22082cf5.entry.js +0 -1
  345. package/dist/mint-components/p-2c1ec58d.system.entry.js +0 -1
  346. package/dist/mint-components/p-2d713a4a.entry.js +0 -1
  347. package/dist/mint-components/p-37518555.system.entry.js +0 -1
  348. package/dist/mint-components/p-4e5ff6d5.system.entry.js +0 -1
  349. package/dist/mint-components/p-4fd5cde2.entry.js +0 -1
  350. package/dist/mint-components/p-55ba5de4.js +0 -42
  351. package/dist/mint-components/p-569acf5d.entry.js +0 -1
  352. package/dist/mint-components/p-5a9e6c23.system.js +0 -1
  353. package/dist/mint-components/p-5e346208.system.entry.js +0 -1
  354. package/dist/mint-components/p-5f4cf5f4.system.js +0 -53
  355. package/dist/mint-components/p-6361cd09.system.entry.js +0 -1
  356. package/dist/mint-components/p-65976f70.system.entry.js +0 -1
  357. package/dist/mint-components/p-6bf41e0d.system.js +0 -1
  358. package/dist/mint-components/p-6fbfd683.js +0 -1
  359. package/dist/mint-components/p-77150ca3.entry.js +0 -1
  360. package/dist/mint-components/p-7b0c819b.entry.js +0 -174
  361. package/dist/mint-components/p-81ef4d8d.system.entry.js +0 -1
  362. package/dist/mint-components/p-84a5feb6.js +0 -1
  363. package/dist/mint-components/p-858a87ce.entry.js +0 -1
  364. package/dist/mint-components/p-89669879.system.js +0 -1
  365. package/dist/mint-components/p-8a82d287.entry.js +0 -1
  366. package/dist/mint-components/p-8d0312ad.entry.js +0 -13
  367. package/dist/mint-components/p-922578e4.system.js +0 -1
  368. package/dist/mint-components/p-93c4b92a.system.js +0 -1
  369. package/dist/mint-components/p-93feb565.system.entry.js +0 -1
  370. package/dist/mint-components/p-97f9ea19.system.js +0 -1
  371. package/dist/mint-components/p-9c1011db.entry.js +0 -9
  372. package/dist/mint-components/p-a1dddd9c.entry.js +0 -1
  373. package/dist/mint-components/p-a230e0f7.entry.js +0 -1
  374. package/dist/mint-components/p-a63607fe.js +0 -1
  375. package/dist/mint-components/p-a6ad8082.system.js +0 -1
  376. package/dist/mint-components/p-a7e84030.js +0 -1248
  377. package/dist/mint-components/p-aa1750ad.js +0 -1
  378. package/dist/mint-components/p-b9e629c4.entry.js +0 -1
  379. package/dist/mint-components/p-ba9642a9.entry.js +0 -33
  380. package/dist/mint-components/p-cac64545.system.entry.js +0 -1
  381. package/dist/mint-components/p-cc2a5934.entry.js +0 -13
  382. package/dist/mint-components/p-cca80c2e.system.entry.js +0 -1
  383. package/dist/mint-components/p-cf8ccbf5.entry.js +0 -1
  384. package/dist/mint-components/p-d29db28c.system.entry.js +0 -1
  385. package/dist/mint-components/p-d5e0b017.entry.js +0 -9
  386. package/dist/mint-components/p-dbb74fc2.system.entry.js +0 -1
  387. package/dist/mint-components/p-e3ddb67b.system.entry.js +0 -1
  388. package/dist/mint-components/p-eb8cb617.system.js +0 -1
  389. package/dist/mint-components/p-ef4336c4.system.entry.js +0 -1
  390. package/dist/mint-components/p-fec47694.entry.js +0 -1
  391. package/dist/mint-components/p-ff87ca9c.system.entry.js +0 -1
@@ -3,25 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-a5a04d8a.js');
7
- const global = require('./global-0e1b8019.js');
8
- const index_module = require('./index.module-2d82a984.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ const global = require('./global-02e50f09.js');
8
+ const index_module = require('./index.module-df530553.js');
9
+ const jsonpointer = require('./jsonpointer-11327262.js');
9
10
  const cjs = require('./cjs-1066ec21.js');
10
11
  require('./mixins-fe9d4112.js');
11
12
  const JSS = require('./JSS-8503a151.js');
12
- const reRender = require('./re-render-7744b75a.js');
13
- const useChildElements = require('./useChildElements-079a23aa.js');
14
- require('./luxon-20eafbd9.js');
15
- const index$1 = require('./index-56d1fa5b.js');
13
+ const reRender = require('./re-render-1976e05e.js');
14
+ const useChildElements = require('./useChildElements-e0d44916.js');
15
+ require('./luxon-05098e19.js');
16
16
  const utils = require('./utils-6847bc06.js');
17
17
  require('./sqm-text-span-view-e1cd9bd3.js');
18
- const index$2 = require('./index-8c6255f5.js');
19
- const jsonpointer = require('./jsonpointer-11327262.js');
20
- const useRegistrationFormState = require('./useRegistrationFormState-cabaa291.js');
21
- const utilities = require('./utilities-a4072d5b.js');
18
+ const index$1 = require('./index-8c6255f5.js');
19
+ const useRegistrationFormState = require('./useRegistrationFormState-876ed65d.js');
20
+ const utilities = require('./utilities-cec9dd36.js');
22
21
  const AsYouType = require('./AsYouType-6788393a.js');
23
- const ShadowViewAddon = require('./ShadowViewAddon-ba87315e.js');
24
- require('./sqm-portal-container-view-5fb2ad49.js');
22
+ const ShadowViewAddon = require('./ShadowViewAddon-c3e91cee.js');
23
+ require('./sqm-portal-container-view-990a85a3.js');
25
24
 
26
25
  const BigStat = class {
27
26
  constructor(hostRef) {
@@ -34,13 +33,13 @@ const BigStat = class {
34
33
  */
35
34
  this.flexReverse = false;
36
35
  this.ignored = true;
37
- stencilHooks_module.h(this);
36
+ stencilHooks_module.h$1(this);
38
37
  }
39
38
  disconnectedCallback() { }
40
39
  render() {
41
40
  var _a;
42
41
  const { props, label } = index_module.isDemo() ? ShadowViewAddon.useDemoBigStat(this) : ShadowViewAddon.useBigStat(this);
43
- const host = index_module.T();
42
+ const host = index_module._();
44
43
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
45
44
  const labelSlot = index.h("slot", { name: "label" }, hasLabel ? index.h("slot", null) : label);
46
45
  return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
@@ -63,7 +62,7 @@ function buildFontsCssUrl(...fonts) {
63
62
  const BrandComponent = class {
64
63
  constructor(hostRef) {
65
64
  index.registerInstance(this, hostRef);
66
- stencilHooks_module.h(this);
65
+ stencilHooks_module.h$1(this);
67
66
  }
68
67
  disconnectedCallback() { }
69
68
  render() {
@@ -129,7 +128,7 @@ const CardFeed = class {
129
128
  * @uiType number
130
129
  */
131
130
  this.gap = 24;
132
- stencilHooks_module.h(this);
131
+ stencilHooks_module.h$1(this);
133
132
  }
134
133
  disconnectedCallback() { }
135
134
  render() {
@@ -161,7 +160,7 @@ const styleString = sheet.toString();
161
160
  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) {
162
161
  if (!missingProps)
163
162
  return false;
164
- const host = index_module.T();
163
+ const host = index_module._();
165
164
  const [detailsOpen, setDetailsOpen] = stencilHooks_module.useState(false);
166
165
  return (index.h("sl-alert", { type: "danger", open: true },
167
166
  index.h("style", { type: "text/css" }, styleString),
@@ -237,7 +236,7 @@ const CheckboxField = class {
237
236
  * @uiName Optional
238
237
  */
239
238
  this.checkboxOptional = false;
240
- stencilHooks_module.h(this);
239
+ stencilHooks_module.h$1(this);
241
240
  }
242
241
  disconnectedCallback() { }
243
242
  render() {
@@ -271,7 +270,7 @@ function useCheckboxFieldDemo(props) {
271
270
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
272
271
  }
273
272
 
274
- const FuelTankRewardsQuery = index$1.dist.gql `
273
+ const FuelTankRewardsQuery = index_module.dist.gql `
275
274
  query fuelTankRewardsQuery($programId: ID!) {
276
275
  user: viewer {
277
276
  ... on User {
@@ -296,18 +295,18 @@ const FuelTankRewardsQuery = index$1.dist.gql `
296
295
  }
297
296
  }
298
297
  `;
299
- const WIDGET_ENGAGEMENT_EVENT = index$1.dist.gql `
298
+ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
300
299
  mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
301
300
  createUserAnalyticsEvent(eventMeta: $eventMeta)
302
301
  }
303
302
  `;
304
303
  function useCouponCode(props) {
305
304
  var _a, _b, _c;
306
- const user = index_module.K();
307
- const programId = index_module.z();
308
- const engagementMedium = index_module.ne();
309
- const [sendLoadEvent] = index_module.xe(WIDGET_ENGAGEMENT_EVENT);
310
- const { data, loading, refetch, errors } = index_module.En(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
305
+ const user = index_module.Q();
306
+ const programId = index_module.H();
307
+ const engagementMedium = index_module.B();
308
+ const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
309
+ const { data, loading, refetch, errors } = index_module.yn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
311
310
  const getStatus = (reward) => {
312
311
  if (!reward || !reward.statuses)
313
312
  return "ERROR";
@@ -489,7 +488,7 @@ const CouponCode = class {
489
488
  * @uiGroup Coupon code error
490
489
  */
491
490
  this.couponCodePlaceholder = "...";
492
- stencilHooks_module.h(this);
491
+ stencilHooks_module.h$1(this);
493
492
  }
494
493
  disconnectedCallback() { }
495
494
  render() {
@@ -589,7 +588,7 @@ const DividedLayout = class {
589
588
  * @uiName Border style
590
589
  */
591
590
  this.dividerStyle = "1px solid #EAEAEA";
592
- stencilHooks_module.h(this);
591
+ stencilHooks_module.h$1(this);
593
592
  }
594
593
  disconnectedCallback() { }
595
594
  render() {
@@ -623,7 +622,7 @@ const DropdownField = class {
623
622
  * @default
624
623
  */
625
624
  this.dropdownOptional = false;
626
- stencilHooks_module.h(this);
625
+ stencilHooks_module.h$1(this);
627
626
  }
628
627
  disconnectedCallback() { }
629
628
  render() {
@@ -654,7 +653,7 @@ function useDropdownFieldDemo(props) {
654
653
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
655
654
  }
656
655
 
657
- const GET_USER = index$1.dist.gql `
656
+ const GET_USER = index_module.dist.gql `
658
657
  query {
659
658
  viewer {
660
659
  ... on User {
@@ -668,7 +667,7 @@ const GET_USER = index$1.dist.gql `
668
667
  }
669
668
  }
670
669
  `;
671
- const UPSERT_USER = index$1.dist.gql `
670
+ const UPSERT_USER = index_module.dist.gql `
672
671
  mutation (
673
672
  $id: String!
674
673
  $accountId: String!
@@ -697,13 +696,13 @@ const defaultFormState = {
697
696
  error: "",
698
697
  };
699
698
  function useEditProfile(props) {
700
- const userIdent = index_module.K();
699
+ const userIdent = index_module.Q();
701
700
  const [showEdit, setShowEdit] = stencilHooks_module.useState(false);
702
701
  const [error, setError] = stencilHooks_module.useState("");
703
702
  const [userData, setUserData] = stencilHooks_module.useState(undefined);
704
703
  const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
705
- const userDataResponse = index_module.En(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
706
- const [upsertUser, upsertUserResponse] = index_module.xe(UPSERT_USER);
704
+ const userDataResponse = index_module.yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
705
+ const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER);
707
706
  stencilHooks_module.useEffect(() => {
708
707
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
709
708
  return;
@@ -826,7 +825,7 @@ const EditProfile = class {
826
825
  * @uiName Form error message
827
826
  */
828
827
  this.formErrorText = "Please correct the errors below to update your profile.";
829
- stencilHooks_module.h(this);
828
+ stencilHooks_module.h$1(this);
830
829
  }
831
830
  disconnectedCallback() { }
832
831
  render() {
@@ -929,7 +928,7 @@ const Hero = class {
929
928
  * @uiEnumNames ["Wrap", "Wrap Reverse"]
930
929
  */
931
930
  this.wrapDirection = "wrap";
932
- stencilHooks_module.h(this);
931
+ stencilHooks_module.h$1(this);
933
932
  }
934
933
  disconnectedCallback() { }
935
934
  // TODO: Improve empty slot behavior with useChildElements to check for empty slot
@@ -1135,7 +1134,7 @@ const HeroImage = class {
1135
1134
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1136
1135
  */
1137
1136
  this.paddingImage = "none";
1138
- stencilHooks_module.h(this);
1137
+ stencilHooks_module.h$1(this);
1139
1138
  }
1140
1139
  disconnectedCallback() { }
1141
1140
  render() {
@@ -1147,7 +1146,7 @@ const SqmHookStoryContainer = class {
1147
1146
  constructor(hostRef) {
1148
1147
  index.registerInstance(this, hostRef);
1149
1148
  this.ignored = true;
1150
- stencilHooks_module.h(this);
1149
+ stencilHooks_module.h$1(this);
1151
1150
  }
1152
1151
  disconnectedCallback() { }
1153
1152
  render() {
@@ -1167,7 +1166,7 @@ function ImageView(props) {
1167
1166
  },
1168
1167
  Image: {
1169
1168
  minHeight: props.minHeight || "100%",
1170
- width: "100%",
1169
+ width: props.width || "100%",
1171
1170
  maxWidth: "max-content",
1172
1171
  objectFit: "cover",
1173
1172
  },
@@ -1232,7 +1231,7 @@ const InputField = class {
1232
1231
  * @default
1233
1232
  */
1234
1233
  this.fieldOptional = false;
1235
- stencilHooks_module.h(this);
1234
+ stencilHooks_module.h$1(this);
1236
1235
  }
1237
1236
  disconnectedCallback() { }
1238
1237
  render() {
@@ -1260,7 +1259,7 @@ function useInputFieldDemo(props) {
1260
1259
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1261
1260
  }
1262
1261
 
1263
- const GET_LEADERBOARD = index$1.dist.gql `
1262
+ const GET_LEADERBOARD = index_module.dist.gql `
1264
1263
  query (
1265
1264
  $type: String!
1266
1265
  $filter: UserLeaderboardFilterInput
@@ -1282,7 +1281,27 @@ const GET_LEADERBOARD = index$1.dist.gql `
1282
1281
  }
1283
1282
  }
1284
1283
  `;
1285
- const GET_RANK = index$1.dist.gql `
1284
+ const GET_LEADERBOARD_WITHOUT_NAMES = index_module.dist.gql `
1285
+ query (
1286
+ $type: String!
1287
+ $filter: UserLeaderboardFilterInput
1288
+ $locale: RSLocale
1289
+ $limit: Int!
1290
+ ) {
1291
+ userLeaderboard(type: $type, filter: $filter) {
1292
+ dateModified
1293
+ rows(limit: $limit) {
1294
+ textValue(locale: $locale)
1295
+ rank {
1296
+ rank
1297
+ denseRank
1298
+ rowNumber
1299
+ }
1300
+ }
1301
+ }
1302
+ }
1303
+ `;
1304
+ const GET_RANK = index_module.dist.gql `
1286
1305
  query (
1287
1306
  $type: String!
1288
1307
  $filter: UserLeaderboardFilterInput
@@ -1302,13 +1321,31 @@ const GET_RANK = index$1.dist.gql `
1302
1321
  }
1303
1322
  }
1304
1323
  `;
1324
+ const GET_RANK_WITHOUT_NAMES = index_module.dist.gql `
1325
+ query (
1326
+ $type: String!
1327
+ $filter: UserLeaderboardFilterInput
1328
+ $locale: RSLocale
1329
+ ) {
1330
+ viewer {
1331
+ ... on User {
1332
+ leaderboardRank(type: $type, filter: $filter) {
1333
+ textValue(locale: $locale)
1334
+ rank
1335
+ denseRank
1336
+ rowNumber
1337
+ }
1338
+ }
1339
+ }
1340
+ }
1341
+ `;
1305
1342
  function useLeaderboard(props) {
1306
1343
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1307
- const programIdContext = index_module.z();
1344
+ const programIdContext = index_module.H();
1308
1345
  // Default to context, overriden by props
1309
1346
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
1310
- const user = index_module.K();
1311
- const locale = index_module.Q();
1347
+ const user = index_module.Q();
1348
+ const locale = index_module.L();
1312
1349
  const variables = programId
1313
1350
  ? {
1314
1351
  type: props.leaderboardType,
@@ -1327,8 +1364,8 @@ function useLeaderboard(props) {
1327
1364
  if (props.maxRows > 0) {
1328
1365
  variables["limit"] = props.maxRows;
1329
1366
  }
1330
- const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = index_module.En(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
1331
- const { data: rankData } = index_module.En(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1367
+ const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = index_module.yn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
1368
+ const { data: rankData } = index_module.yn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
1332
1369
  const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
1333
1370
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
1334
1371
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
@@ -1372,8 +1409,6 @@ function useLeaderboard(props) {
1372
1409
  },
1373
1410
  elements: {
1374
1411
  empty: props.empty,
1375
- essentials: props.essentials,
1376
- loadingstate: props.loadingstate,
1377
1412
  },
1378
1413
  };
1379
1414
  }
@@ -1381,6 +1416,12 @@ function useLeaderboard(props) {
1381
1416
  const Leaderboard = class {
1382
1417
  constructor(hostRef) {
1383
1418
  index.registerInstance(this, hostRef);
1419
+ /**
1420
+ * Restrict the width of the leaderboard (Can be a pixel value or a percentage i.e. "500px", "33%", etc.)
1421
+ *
1422
+ * @uiName Width
1423
+ */
1424
+ this.width = "100%";
1384
1425
  /**
1385
1426
  * Hide the viewer's leaderboard row if not in the top results.
1386
1427
  *
@@ -1389,12 +1430,16 @@ const Leaderboard = class {
1389
1430
  */
1390
1431
  this.hideViewer = false;
1391
1432
  /**
1392
- * Hides the leaderboard if user is on Essentials plan
1433
+ * @uiName Viewing user text
1434
+ */
1435
+ this.viewingUserText = "You";
1436
+ /**
1437
+ * Hide the Names of users to protect personal identifiable information
1393
1438
  *
1394
- * @uiName Hide viewing user
1439
+ * @uiName Hide users names
1395
1440
  * @default
1396
1441
  */
1397
- this.isEssentials = false;
1442
+ this.hideNames = false;
1398
1443
  /**
1399
1444
  * Title displayed for users without names
1400
1445
  * @uiName Unknown user text
@@ -1407,15 +1452,13 @@ const Leaderboard = class {
1407
1452
  */
1408
1453
  this.maxRows = 10;
1409
1454
  this.ignored = true;
1410
- stencilHooks_module.h(this);
1455
+ stencilHooks_module.h$1(this);
1411
1456
  ShadowViewAddon.withShadowView(this);
1412
1457
  }
1413
1458
  disconnectedCallback() { }
1414
1459
  render() {
1415
1460
  const props = {
1416
1461
  empty: index.h(EmptySlot, null),
1417
- essentials: index.h(EssentialsSlot, null),
1418
- loadingstate: index.h(LoadingSlot, null),
1419
1462
  usersheading: this.usersheading,
1420
1463
  statsheading: this.statsheading,
1421
1464
  rankheading: this.rankheading,
@@ -1426,8 +1469,11 @@ const Leaderboard = class {
1426
1469
  anonymousUser: this.anonymousUser,
1427
1470
  interval: this.interval,
1428
1471
  hideViewer: this.hideViewer,
1472
+ viewingUserText: this.viewingUserText,
1473
+ hideNames: this.hideNames,
1429
1474
  showRank: this.showRank,
1430
- isEssentials: this.isEssentials,
1475
+ rankSuffix: this.rankSuffix,
1476
+ width: this.width,
1431
1477
  };
1432
1478
  const demoProps = { ...props, demoData: this.demoData };
1433
1479
  const viewprops = index_module.isDemo()
@@ -1439,14 +1485,6 @@ const Leaderboard = class {
1439
1485
  function EmptySlot() {
1440
1486
  return (index.h("slot", { name: "empty" }, index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png", "empty-state-header": "View your rank in the leaderboard", "empty-state-text": "Be the first to refer a friend and reach the top of the leaderboard" })));
1441
1487
  }
1442
- function EssentialsSlot() {
1443
- return (index.h("slot", { name: "essentials" }, index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1715360191/squatch-assets/Leaderboard_Not_Available.svg", "empty-state-header": "Leaderboards aren\u2019t available on your plan", "empty-state-text": "Contact {supportText} to upgrade your plan and start leveraging gamification in your program.", "support-text": "Support", "missing-feature": "Leaderboards" })));
1444
- }
1445
- function LoadingSlot() {
1446
- return (index.h("slot", { name: "loading" }, index.h("table", null, [...Array(10)].map(() => {
1447
- return (index.h("tr", null, index.h("td", null, index.h("sl-skeleton", null))));
1448
- }))));
1449
- }
1450
1488
  function useLeaderboardDemo(props) {
1451
1489
  var _a, _b;
1452
1490
  const data = ((_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.leaderboard) || [
@@ -1502,6 +1540,10 @@ function useLeaderboardDemo(props) {
1502
1540
  : "Anonymous User",
1503
1541
  showRank: props.showRank,
1504
1542
  hideViewer: props.hideViewer,
1543
+ viewingUserText: props.viewingUserText,
1544
+ hideNames: props.hideNames,
1545
+ rankSuffix: props.rankSuffix,
1546
+ width: props.width,
1505
1547
  },
1506
1548
  },
1507
1549
  data: {
@@ -1510,8 +1552,6 @@ function useLeaderboardDemo(props) {
1510
1552
  },
1511
1553
  elements: {
1512
1554
  empty: index.h(EmptySlot, null),
1513
- essentials: index.h(EssentialsSlot, null),
1514
- loadingstate: index.h(LoadingSlot, null),
1515
1555
  },
1516
1556
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1517
1557
  }
@@ -1588,7 +1628,7 @@ const NameFields = class {
1588
1628
  * @uiName Last name label
1589
1629
  */
1590
1630
  this.lastNameLabel = "Last Name";
1591
- stencilHooks_module.h(this);
1631
+ stencilHooks_module.h$1(this);
1592
1632
  }
1593
1633
  disconnectedCallback() { }
1594
1634
  render() {
@@ -1623,12 +1663,12 @@ function NavigationMenuView(props) {
1623
1663
  }
1624
1664
 
1625
1665
  function handleMenu(e) {
1626
- index_module.xn.push(e.detail.item.value);
1666
+ index_module.$n.push(e.detail.item.value);
1627
1667
  }
1628
1668
  function useNavigationMenu(props) {
1629
1669
  const ref = stencilHooks_module.useRef();
1630
- const [, rerender] = index_module.wn();
1631
- const user = index_module.K();
1670
+ const [, rerender] = index_module.gn();
1671
+ const user = index_module.Q();
1632
1672
  stencilHooks_module.useEffect(() => {
1633
1673
  var _a;
1634
1674
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1653,7 +1693,7 @@ const NavigationMenu = class {
1653
1693
  constructor(hostRef) {
1654
1694
  index.registerInstance(this, hostRef);
1655
1695
  this.ignored = true;
1656
- stencilHooks_module.h(this);
1696
+ stencilHooks_module.h$1(this);
1657
1697
  }
1658
1698
  disconnectedCallback() { }
1659
1699
  render() {
@@ -1682,11 +1722,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
1682
1722
 
1683
1723
  function usePortalChangePassword(props) {
1684
1724
  var _a, _b, _c, _d, _e, _f, _g;
1685
- const [request, { loading, errors, data }] = index_module.ze();
1725
+ const [request, { loading, errors, data }] = index_module.Ue();
1686
1726
  const [open, setOpen] = stencilHooks_module.useState(false);
1687
1727
  const [error, setError] = stencilHooks_module.useState("");
1688
1728
  const [success, setSuccess] = stencilHooks_module.useState(false);
1689
- const user = index_module.K();
1729
+ const user = index_module.Q();
1690
1730
  const submit = async (event) => {
1691
1731
  var _a, _b;
1692
1732
  setSuccess(false);
@@ -1823,7 +1863,7 @@ const PortalChangePassword = class {
1823
1863
  * @uiName Missing number or symbol text
1824
1864
  */
1825
1865
  this.hasErrorText = "contain at least 1 number or symbol";
1826
- stencilHooks_module.h(this);
1866
+ stencilHooks_module.h$1(this);
1827
1867
  }
1828
1868
  disconnectedCallback() { }
1829
1869
  render() {
@@ -1918,7 +1958,7 @@ const PortalFooter = class {
1918
1958
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
1919
1959
  */
1920
1960
  this.paddingLeft = "large";
1921
- stencilHooks_module.h(this);
1961
+ stencilHooks_module.h$1(this);
1922
1962
  }
1923
1963
  disconnectedCallback() { }
1924
1964
  render() {
@@ -1928,7 +1968,7 @@ const PortalFooter = class {
1928
1968
  };
1929
1969
 
1930
1970
  function usePortalFrame(footerContent, headerContent) {
1931
- const [, rerender] = index_module.wn();
1971
+ const [, rerender] = index_module.gn();
1932
1972
  return {
1933
1973
  data: {
1934
1974
  footer: footerContent,
@@ -1948,7 +1988,7 @@ const PortalFrame = class {
1948
1988
  * @undocumented
1949
1989
  */
1950
1990
  this.notFullScreen = false;
1951
- stencilHooks_module.h(this);
1991
+ stencilHooks_module.h$1(this);
1952
1992
  }
1953
1993
  disconnectedCallback() { }
1954
1994
  render() {
@@ -1978,9 +2018,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
1978
2018
 
1979
2019
  function usePortalLogin(props) {
1980
2020
  var _a, _b, _c, _d, _e, _f, _g;
1981
- const [request, { loading, errors, data }] = index_module.We();
2021
+ const [request, { loading, errors, data }] = index_module.qe();
1982
2022
  const [error, setError] = stencilHooks_module.useState("");
1983
- const urlParams = new URLSearchParams(index_module.xn.location.search);
2023
+ const urlParams = new URLSearchParams(index_module.$n.location.search);
1984
2024
  const nextPageOverride = urlParams.get("nextPage");
1985
2025
  const submit = async (event) => {
1986
2026
  var _a, _b;
@@ -1999,7 +2039,7 @@ function usePortalLogin(props) {
1999
2039
  if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
2000
2040
  urlParams.delete("nextPage");
2001
2041
  const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
2002
- index_module.xn.push(url.href);
2042
+ index_module.$n.push(url.href);
2003
2043
  }
2004
2044
  };
2005
2045
  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) ||
@@ -2070,7 +2110,7 @@ const PortalLogin = class {
2070
2110
  * Displayed when the login fails due to a network error. The participant can try refreshing the page.
2071
2111
  */
2072
2112
  this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
2073
- stencilHooks_module.h(this);
2113
+ stencilHooks_module.h$1(this);
2074
2114
  }
2075
2115
  disconnectedCallback() { }
2076
2116
  render() {
@@ -2078,8 +2118,8 @@ const PortalLogin = class {
2078
2118
  ? useLoginDemo(this)
2079
2119
  : usePortalLogin(this);
2080
2120
  const content = {
2081
- forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.xn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
2082
- secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.xn.push(states.registerPath) }, this.registerLabel))),
2121
+ forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.$n.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
2122
+ secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.registerPath) }, this.registerLabel))),
2083
2123
  emailLabel: this.emailLabel,
2084
2124
  passwordLabel: this.passwordLabel,
2085
2125
  submitLabel: this.submitLabel,
@@ -2108,7 +2148,7 @@ function usePortalRegister(props) {
2108
2148
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2109
2149
  const formRef = stencilHooks_module.useRef(null);
2110
2150
  const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
2111
- const [request, { loading, errors, data }] = index_module.Ue();
2151
+ const [request, { loading, errors, data }] = index_module.xe();
2112
2152
  stencilHooks_module.useEffect(() => {
2113
2153
  if (!formRef.current)
2114
2154
  return;
@@ -2181,7 +2221,7 @@ function usePortalRegister(props) {
2181
2221
  validationErrors: {},
2182
2222
  });
2183
2223
  if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
2184
- index_module.xn.push(props.nextPage);
2224
+ index_module.$n.push(props.nextPage);
2185
2225
  }
2186
2226
  }
2187
2227
  catch (error) {
@@ -2346,7 +2386,7 @@ const PortalRegister = class {
2346
2386
  * @uiName Missing number or symbol text
2347
2387
  */
2348
2388
  this.hasErrorText = "contain at least 1 number or symbol";
2349
- stencilHooks_module.h(this);
2389
+ stencilHooks_module.h$1(this);
2350
2390
  }
2351
2391
  disconnectedCallback() { }
2352
2392
  render() {
@@ -2355,7 +2395,7 @@ const PortalRegister = class {
2355
2395
  : usePortalRegister(this);
2356
2396
  const content = {
2357
2397
  formData: index.h("slot", { name: "formData" }),
2358
- secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.xn.push(states.loginPath) }, this.loginLabel))),
2398
+ secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.$n.push(states.loginPath) }, this.loginLabel))),
2359
2399
  terms: index.h("slot", { name: "terms" }),
2360
2400
  emailLabel: this.emailLabel,
2361
2401
  passwordLabel: this.passwordLabel,
@@ -2444,7 +2484,7 @@ const ProgramExplainer = class {
2444
2484
  constructor(hostRef) {
2445
2485
  index.registerInstance(this, hostRef);
2446
2486
  this.ignored = true;
2447
- stencilHooks_module.h(this);
2487
+ stencilHooks_module.h$1(this);
2448
2488
  }
2449
2489
  disconnectedCallback() { }
2450
2490
  render() {
@@ -2515,7 +2555,7 @@ function ProgramExplainerStepView(props) {
2515
2555
  const ProgramExplainerStep = class {
2516
2556
  constructor(hostRef) {
2517
2557
  index.registerInstance(this, hostRef);
2518
- stencilHooks_module.h(this);
2558
+ stencilHooks_module.h$1(this);
2519
2559
  }
2520
2560
  disconnectedCallback() { }
2521
2561
  render() {
@@ -2526,11 +2566,11 @@ const ProgramExplainerStep = class {
2526
2566
  const debug = stencilHooks_module.browser("sq:useProgramMenu");
2527
2567
  const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
2528
2568
  function useProgramMenu(props) {
2529
- const programId = index_module.z();
2530
- const host = index_module.T();
2569
+ const programId = index_module.H();
2570
+ const host = index_module._();
2531
2571
  debug({ programId, props });
2532
2572
  const ref = stencilHooks_module.useRef();
2533
- const [, rerender] = index_module.wn();
2573
+ const [, rerender] = index_module.gn();
2534
2574
  stencilHooks_module.useEffect(() => {
2535
2575
  var _a;
2536
2576
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
@@ -2558,7 +2598,7 @@ const ProgramMenu = class {
2558
2598
  constructor(hostRef) {
2559
2599
  index.registerInstance(this, hostRef);
2560
2600
  this.ignored = true;
2561
- stencilHooks_module.h(this);
2601
+ stencilHooks_module.h$1(this);
2562
2602
  }
2563
2603
  disconnectedCallback() { }
2564
2604
  render() {
@@ -2680,7 +2720,7 @@ const ReferralCard = class {
2680
2720
  * @uiType boolean
2681
2721
  */
2682
2722
  this.limitWidth = false;
2683
- stencilHooks_module.h(this);
2723
+ stencilHooks_module.h$1(this);
2684
2724
  }
2685
2725
  disconnectedCallback() { }
2686
2726
  render() {
@@ -2697,7 +2737,7 @@ const ReferralCard = class {
2697
2737
  }
2698
2738
  };
2699
2739
 
2700
- const GET_USER_DETAILS = index$1.dist.gql `
2740
+ const GET_USER_DETAILS = index_module.dist.gql `
2701
2741
  query getUser($programId: ID) {
2702
2742
  viewer {
2703
2743
  ... on User {
@@ -2708,9 +2748,9 @@ const GET_USER_DETAILS = index$1.dist.gql `
2708
2748
  `;
2709
2749
  function useReferralIframe(props) {
2710
2750
  var _a;
2711
- const programId = index_module.z();
2712
- const user = index_module.K();
2713
- const { data } = index_module.En(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2751
+ const programId = index_module.H();
2752
+ const user = index_module.Q();
2753
+ const { data } = index_module.yn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2714
2754
  return {
2715
2755
  states: {
2716
2756
  content: props,
@@ -2735,7 +2775,7 @@ const SqmReferralIframe = class {
2735
2775
  * @uiName IFrame width
2736
2776
  */
2737
2777
  this.iframeWidth = "100%";
2738
- stencilHooks_module.h(this);
2778
+ stencilHooks_module.h$1(this);
2739
2779
  }
2740
2780
  disconnectedCallback() { }
2741
2781
  render() {
@@ -3368,7 +3408,7 @@ var module$1 = {};
3368
3408
 
3369
3409
  const confetti = module$1.exports;
3370
3410
 
3371
- const GET_EXCHANGE_LIST = index$1.dist.gql `
3411
+ const GET_EXCHANGE_LIST = index_module.dist.gql `
3372
3412
  query getExchangeList {
3373
3413
  viewer {
3374
3414
  ... on User {
@@ -3411,7 +3451,7 @@ const GET_EXCHANGE_LIST = index$1.dist.gql `
3411
3451
  }
3412
3452
  }
3413
3453
  `;
3414
- const EXCHANGE = index$1.dist.gql `
3454
+ const EXCHANGE = index_module.dist.gql `
3415
3455
  mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {
3416
3456
  exchangeReward(exchangeRewardInput: $exchangeRewardInput) {
3417
3457
  reward {
@@ -3435,9 +3475,9 @@ function useRewardExchangeList(props) {
3435
3475
  });
3436
3476
  const [open, setOpen] = stencilHooks_module.useState(false);
3437
3477
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
3438
- const user = index_module.K();
3439
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.xe(EXCHANGE);
3440
- const { data, loading, refetch, errors: queryError, } = index_module.En(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3478
+ const user = index_module.Q();
3479
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.$e(EXCHANGE);
3480
+ const { data, loading, refetch, errors: queryError, } = index_module.yn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3441
3481
  stencilHooks_module.useEffect(() => {
3442
3482
  var _a, _b;
3443
3483
  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) {
@@ -3456,7 +3496,7 @@ function useRewardExchangeList(props) {
3456
3496
  canvas.confetti || confetti.create(canvas, { resize: true });
3457
3497
  canvas.confetti();
3458
3498
  }, [canvasRef.current]);
3459
- const { refresh } = index_module.Ye();
3499
+ const { refresh } = index_module.ze();
3460
3500
  async function exchangeReward() {
3461
3501
  if (!selectedItem)
3462
3502
  return;
@@ -3704,7 +3744,7 @@ const SqmRewardExchangeList = class {
3704
3744
  * @uiName Cost row title
3705
3745
  */
3706
3746
  this.costTitle = "Cost to Redeem";
3707
- stencilHooks_module.h(this);
3747
+ stencilHooks_module.h$1(this);
3708
3748
  }
3709
3749
  disconnectedCallback() { }
3710
3750
  render() {
@@ -3760,12 +3800,12 @@ const debug$1 = stencilHooks_module.browser("sq:useRouter");
3760
3800
  function matchPath(pattern, page) {
3761
3801
  if (!pattern)
3762
3802
  return;
3763
- const regexp = index$2.pathToRegexp(pattern);
3803
+ const regexp = index$1.pathToRegexp(pattern);
3764
3804
  return regexp.exec(page);
3765
3805
  }
3766
3806
  function useRouter() {
3767
- const location = index_module.jn();
3768
- const host = index_module.T();
3807
+ const location = index_module.Sn();
3808
+ const host = index_module._();
3769
3809
  const [slot, setSlot] = stencilHooks_module.useState(undefined);
3770
3810
  const [container, setContainer] = stencilHooks_module.useState(undefined);
3771
3811
  const page = location.pathname;
@@ -3838,7 +3878,7 @@ const SqmRouter = class {
3838
3878
  constructor(hostRef) {
3839
3879
  index.registerInstance(this, hostRef);
3840
3880
  this.ignored = true;
3841
- stencilHooks_module.h(this);
3881
+ stencilHooks_module.h$1(this);
3842
3882
  }
3843
3883
  disconnectedCallback() { }
3844
3884
  render() {
@@ -3885,7 +3925,7 @@ const Scroll = class {
3885
3925
  * @uiEnumNames ["Smooth", "Auto"]
3886
3926
  */
3887
3927
  this.scrollAnimation = "smooth";
3888
- stencilHooks_module.h(this);
3928
+ stencilHooks_module.h$1(this);
3889
3929
  }
3890
3930
  disconnectedCallback() { }
3891
3931
  render() {
@@ -3987,7 +4027,7 @@ const ShareButton = class {
3987
4027
  * @uiName Unsupported platform text
3988
4028
  */
3989
4029
  this.unsupportedPlatformText = "Error: not on a supported device";
3990
- stencilHooks_module.h(this);
4030
+ stencilHooks_module.h$1(this);
3991
4031
  }
3992
4032
  disconnectedCallback() { }
3993
4033
  render() {
@@ -4010,7 +4050,7 @@ function useDemoShareButton(props) {
4010
4050
  }
4011
4051
  ShareButton.style = sqmShareButtonCss;
4012
4052
 
4013
- const MessageLinkQuery = index$1.dist.gql `
4053
+ const MessageLinkQuery = index_module.dist.gql `
4014
4054
  query ($programId: ID) {
4015
4055
  user: viewer {
4016
4056
  ... on User {
@@ -4019,18 +4059,18 @@ const MessageLinkQuery = index$1.dist.gql `
4019
4059
  }
4020
4060
  }
4021
4061
  `;
4022
- const WIDGET_ENGAGEMENT_EVENT$1 = index$1.dist.gql `
4062
+ const WIDGET_ENGAGEMENT_EVENT$1 = index_module.dist.gql `
4023
4063
  mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
4024
4064
  createUserAnalyticsEvent(eventMeta: $eventMeta)
4025
4065
  }
4026
4066
  `;
4027
4067
  function useShareCode(props) {
4028
4068
  var _a, _b;
4029
- const { programId = index_module.z() } = props;
4030
- const user = index_module.K();
4031
- const engagementMedium = index_module.ne();
4032
- const { data } = index_module.En(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
4033
- const [sendLoadEvent] = index_module.xe(WIDGET_ENGAGEMENT_EVENT$1);
4069
+ const { programId = index_module.H() } = props;
4070
+ const user = index_module.Q();
4071
+ const engagementMedium = index_module.B();
4072
+ const { data } = index_module.yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
4073
+ const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT$1);
4034
4074
  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 :
4035
4075
  // Shown during loading
4036
4076
  "...";
@@ -4094,7 +4134,7 @@ const ShareCode = class {
4094
4134
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
4095
4135
  */
4096
4136
  this.buttonStyle = "icon";
4097
- stencilHooks_module.h(this);
4137
+ stencilHooks_module.h$1(this);
4098
4138
  }
4099
4139
  disconnectedCallback() { }
4100
4140
  render() {
@@ -4163,7 +4203,7 @@ const ShareLink = class {
4163
4203
  * @uiEnumNames ["Icon", "Button outside", "Button below"]
4164
4204
  */
4165
4205
  this.buttonStyle = "icon";
4166
- stencilHooks_module.h(this);
4206
+ stencilHooks_module.h$1(this);
4167
4207
  }
4168
4208
  disconnectedCallback() { }
4169
4209
  render() {
@@ -4213,7 +4253,7 @@ const StatContainer = class {
4213
4253
  * @uiEnumNames ["Grid", "Flex"]
4214
4254
  */
4215
4255
  this.display = "grid";
4216
- stencilHooks_module.h(this);
4256
+ stencilHooks_module.h$1(this);
4217
4257
  }
4218
4258
  disconnectedCallback() { }
4219
4259
  render() {
@@ -4221,7 +4261,7 @@ const StatContainer = class {
4221
4261
  }
4222
4262
  };
4223
4263
 
4224
- const SEND_EVENT = index$1.dist.gql `
4264
+ const SEND_EVENT = index_module.dist.gql `
4225
4265
  mutation taskCardEvent($userEventInput: UserEventInput!) {
4226
4266
  logUserEvent(userEventInput: $userEventInput) {
4227
4267
  userId
@@ -4229,10 +4269,10 @@ const SEND_EVENT = index$1.dist.gql `
4229
4269
  }
4230
4270
  `;
4231
4271
  function useTaskCard(props) {
4232
- const user = index_module.K();
4233
- const locale = index_module.Q();
4234
- const [sendUserEvent, { data, loading: loadingEvent }] = index_module.xe(SEND_EVENT);
4235
- const { refresh } = index_module.Ye();
4272
+ const user = index_module.Q();
4273
+ const locale = index_module.L();
4274
+ const [sendUserEvent, { data, loading: loadingEvent }] = index_module.$e(SEND_EVENT);
4275
+ const { refresh } = index_module.ze();
4236
4276
  stencilHooks_module.useEffect(() => {
4237
4277
  if (data) {
4238
4278
  refresh();
@@ -4371,7 +4411,7 @@ const TaskCard = class {
4371
4411
  * @uiGroup Button
4372
4412
  */
4373
4413
  this.hideButton = false;
4374
- stencilHooks_module.h(this);
4414
+ stencilHooks_module.h$1(this);
4375
4415
  }
4376
4416
  disconnectedCallback() { }
4377
4417
  render() {
@@ -4411,7 +4451,7 @@ const Timeline = class {
4411
4451
  * @uiEnumNames ["Gift", "Circle"]
4412
4452
  */
4413
4453
  this.icon = "gift";
4414
- stencilHooks_module.h(this);
4454
+ stencilHooks_module.h$1(this);
4415
4455
  }
4416
4456
  disconnectedCallback() { }
4417
4457
  render() {
@@ -4525,7 +4565,7 @@ const TimelineReward = class {
4525
4565
  index.registerInstance(this, hostRef);
4526
4566
  this.ignored = true;
4527
4567
  this.iconState = "gift";
4528
- stencilHooks_module.h(this);
4568
+ stencilHooks_module.h$1(this);
4529
4569
  }
4530
4570
  async setIcon(value) {
4531
4571
  this.iconState = value;
@@ -4541,7 +4581,7 @@ function UserNameView(props) {
4541
4581
  return index.h(index.Host, null, props.loading ? props.loadingText : props.username);
4542
4582
  }
4543
4583
 
4544
- const GET_USER_NAME = index$1.dist.gql `
4584
+ const GET_USER_NAME = index_module.dist.gql `
4545
4585
  query getUserName {
4546
4586
  viewer {
4547
4587
  ... on User {
@@ -4553,8 +4593,8 @@ const GET_USER_NAME = index$1.dist.gql `
4553
4593
  `;
4554
4594
  function useUserName(props) {
4555
4595
  var _a, _b, _c, _d, _e, _f, _g, _h;
4556
- const user = index_module.K();
4557
- const res = index_module.En(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4596
+ const user = index_module.Q();
4597
+ const res = index_module.yn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
4558
4598
  const loading = res.loading;
4559
4599
  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)
4560
4600
  ? `${(_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}`
@@ -4579,7 +4619,7 @@ const UserName = class {
4579
4619
  * @uiName Loading text
4580
4620
  */
4581
4621
  this.loadingText = "...";
4582
- stencilHooks_module.h(this);
4622
+ stencilHooks_module.h$1(this);
4583
4623
  }
4584
4624
  disconnectedCallback() { }
4585
4625
  render() {