@saasquatch/mint-components 1.10.2-5 → 1.10.2-7

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 (314) hide show
  1. package/dist/cjs/{ShadowViewAddon-a982f064.js → ShadowViewAddon-bfb7992d.js} +39 -38
  2. package/dist/cjs/{global-975908ec.js → global-02e50f09.js} +10 -161
  3. package/dist/cjs/{index.module-b1f9bdb8.js → index.module-df530553.js} +227 -1398
  4. package/dist/cjs/loader.cjs.js +4 -4
  5. package/dist/cjs/{luxon-20eafbd9.js → luxon-05098e19.js} +1 -1
  6. package/dist/cjs/mint-components.cjs.js +4 -4
  7. package/dist/cjs/{mockRewardData-3c470512.js → mockRewardData-4258e067.js} +1 -1
  8. package/dist/cjs/{re-render-95d86b86.js → re-render-1976e05e.js} +2 -2
  9. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
  10. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +410 -411
  11. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +75 -66
  12. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
  15. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  17. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  19. package/dist/cjs/{sqm-invoice-table-view-c3a5024d.js → sqm-invoice-table-view-28b14d28.js} +1 -1
  20. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  21. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -8
  22. package/dist/cjs/{sqm-navigation-sidebar-item-view-d8a21014.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +1 -1
  23. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  24. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  25. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  26. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  27. package/dist/cjs/{sqm-portal-email-verification-view-72dca980.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
  28. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
  29. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  30. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  31. package/dist/cjs/{sqm-portal-profile-view-c3754c1c.js → sqm-portal-profile-view-fde54e35.js} +1 -1
  32. package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -12
  33. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  34. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -7
  35. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +4 -4
  36. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
  37. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +16 -17
  38. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  39. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
  40. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  41. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +61 -62
  42. package/dist/cjs/sqm-stencilbook.cjs.entry.js +47 -15
  43. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  44. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  45. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
  46. package/dist/cjs/{stencil-hooks.module-a5a04d8a.js → stencil-hooks.module-72742a0b.js} +4 -1
  47. package/dist/cjs/{useChildElements-91b9f4ff.js → useChildElements-e0d44916.js} +2 -2
  48. package/dist/cjs/{useInstantAccessRegistration-610f4be8.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
  49. package/dist/cjs/{useReferralTable-4756d4fc.js → useReferralTable-a76adb0d.js} +13 -14
  50. package/dist/cjs/{useRegistrationFormState-49251027.js → useRegistrationFormState-876ed65d.js} +2 -2
  51. package/dist/cjs/{utilities-42a1810d.js → utilities-cec9dd36.js} +2 -2
  52. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +32 -0
  53. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +8 -5
  54. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +57 -4
  55. package/dist/esm/{ShadowViewAddon-6c6e73dc.js → ShadowViewAddon-e0a3df6c.js} +13 -12
  56. package/dist/esm/{global-8a95a0d3.js → global-04c7d3b5.js} +10 -161
  57. package/dist/esm/{index.module-f9338fc3.js → index.module-def4aec5.js} +222 -1396
  58. package/dist/esm/loader.js +4 -4
  59. package/dist/esm/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  60. package/dist/esm/mint-components.js +4 -4
  61. package/dist/esm/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  62. package/dist/esm/{re-render-f023c070.js → re-render-12fd274a.js} +2 -2
  63. package/dist/esm/sqm-asset-card.entry.js +2 -2
  64. package/dist/esm/sqm-banking-info-form_16.entry.js +9 -10
  65. package/dist/esm/sqm-big-stat_38.entry.js +22 -13
  66. package/dist/esm/sqm-close-button.entry.js +2 -2
  67. package/dist/esm/sqm-context-router.entry.js +2 -2
  68. package/dist/esm/sqm-empty_4.entry.js +3 -3
  69. package/dist/esm/sqm-form-message.entry.js +1 -1
  70. package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
  71. package/dist/esm/sqm-header-logo.entry.js +1 -1
  72. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  73. package/dist/esm/{sqm-invoice-table-view-4ee8e011.js → sqm-invoice-table-view-34ac7513.js} +1 -1
  74. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -4
  75. package/dist/esm/sqm-logout-current-user.entry.js +2 -3
  76. package/dist/esm/{sqm-navigation-sidebar-item-view-05fa5ccd.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +1 -1
  77. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  78. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  79. package/dist/esm/sqm-password-field.entry.js +3 -3
  80. package/dist/esm/sqm-popup-container.entry.js +2 -2
  81. package/dist/esm/{sqm-portal-email-verification-view-de203924.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  82. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  83. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  84. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  85. package/dist/esm/{sqm-portal-profile-view-0a31702e.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  86. package/dist/esm/sqm-portal-profile.entry.js +5 -6
  87. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  88. package/dist/esm/sqm-portal-registration-form.entry.js +4 -5
  89. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  90. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  91. package/dist/esm/sqm-referral-table_11.entry.js +8 -9
  92. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  93. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  94. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  95. package/dist/esm/sqm-rewards-table_9.entry.js +8 -9
  96. package/dist/esm/sqm-stencilbook.entry.js +45 -13
  97. package/dist/esm/sqm-tab.entry.js +3 -3
  98. package/dist/esm/sqm-tabs.entry.js +4 -4
  99. package/dist/esm/sqm-text-span.entry.js +1 -1
  100. package/dist/esm/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  101. package/dist/esm/{useChildElements-e32fe084.js → useChildElements-32e1bda1.js} +2 -2
  102. package/dist/esm/{useInstantAccessRegistration-59d8b278.js → useInstantAccessRegistration-46b89952.js} +3 -3
  103. package/dist/esm/{useReferralTable-34d7f6ee.js → useReferralTable-f4de0650.js} +4 -5
  104. package/dist/esm/{useRegistrationFormState-a140a962.js → useRegistrationFormState-9fc1ac80.js} +2 -2
  105. package/dist/esm/{utilities-c197ef25.js → utilities-3f5bba22.js} +2 -2
  106. package/dist/esm-es5/ShadowViewAddon-e0a3df6c.js +1 -0
  107. package/dist/esm-es5/global-04c7d3b5.js +285 -0
  108. package/dist/esm-es5/index.module-def4aec5.js +1 -0
  109. package/dist/esm-es5/loader.js +1 -1
  110. package/dist/esm-es5/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  111. package/dist/esm-es5/mint-components.js +1 -1
  112. package/dist/esm-es5/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  113. package/dist/esm-es5/{re-render-f023c070.js → re-render-12fd274a.js} +1 -1
  114. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  115. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  116. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  117. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  118. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  119. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  120. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  121. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  122. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  123. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  124. package/dist/esm-es5/{sqm-invoice-table-view-4ee8e011.js → sqm-invoice-table-view-34ac7513.js} +1 -1
  125. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  126. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  127. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +1 -0
  128. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  129. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  130. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  131. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  132. package/dist/esm-es5/{sqm-portal-email-verification-view-de203924.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  133. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  134. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  135. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  136. package/dist/esm-es5/{sqm-portal-profile-view-0a31702e.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  137. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  138. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  139. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  140. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  141. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  142. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  143. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  144. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  145. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  146. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  147. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  148. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  149. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  150. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  151. package/dist/esm-es5/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  152. package/dist/esm-es5/useChildElements-32e1bda1.js +1 -0
  153. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
  154. package/dist/esm-es5/useReferralTable-f4de0650.js +1 -0
  155. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
  156. package/dist/esm-es5/{utilities-c197ef25.js → utilities-3f5bba22.js} +1 -1
  157. package/dist/mint-components/mint-components.esm.js +1 -1
  158. package/dist/mint-components/mint-components.js +1 -1
  159. package/dist/mint-components/p-01cfff8a.system.entry.js +1 -0
  160. package/dist/mint-components/{p-2e6e8fc0.system.js → p-02424350.system.js} +1 -1
  161. package/dist/mint-components/{p-de1ab7b7.system.entry.js → p-07f675ab.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-2755b7e6.js → p-0b9fa97f.js} +1 -1
  163. package/dist/mint-components/{p-fc5fa9b1.system.js → p-0d8c53ac.system.js} +1 -1
  164. package/dist/mint-components/p-10e89d0a.entry.js +1 -0
  165. package/dist/mint-components/{p-1e0a0f60.entry.js → p-137ea86e.entry.js} +1 -1
  166. package/dist/mint-components/{p-cdd04337.entry.js → p-178d2d2e.entry.js} +1 -1
  167. package/dist/mint-components/p-1c857edb.entry.js +33 -0
  168. package/dist/mint-components/p-1dd69917.system.entry.js +1 -0
  169. package/dist/mint-components/{p-4e792e17.entry.js → p-1fe65a36.entry.js} +1 -1
  170. package/dist/mint-components/{p-9223640e.js → p-251e7567.js} +1 -1
  171. package/dist/mint-components/{p-0979f82e.system.js → p-2a414b2e.system.js} +2 -2
  172. package/dist/mint-components/p-2dd67762.entry.js +1 -0
  173. package/dist/mint-components/{p-0d77f228.js → p-2ee2ebba.js} +4 -4
  174. package/dist/mint-components/{p-bd25d190.entry.js → p-3223ba7b.entry.js} +1 -1
  175. package/dist/mint-components/p-32d1d162.entry.js +1 -0
  176. package/dist/mint-components/{p-1b5eeaa4.system.entry.js → p-34fd1229.system.entry.js} +1 -1
  177. package/dist/mint-components/p-35d84041.system.entry.js +1 -0
  178. package/dist/mint-components/{p-cb45d0a8.system.js → p-370a1a73.system.js} +1 -1
  179. package/dist/mint-components/{p-0ad02032.system.js → p-3d4656bb.system.js} +1 -1
  180. package/dist/mint-components/p-3ec16698.entry.js +13 -0
  181. package/dist/mint-components/{p-d7bc0a83.js → p-41a11a7f.js} +1 -1
  182. package/dist/mint-components/{p-15399c43.entry.js → p-41f15489.entry.js} +1 -1
  183. package/dist/mint-components/{p-af870849.system.entry.js → p-4502ed11.system.entry.js} +1 -1
  184. package/dist/mint-components/p-471f5d95.system.entry.js +1 -0
  185. package/dist/mint-components/{p-21b00d45.js → p-4d233cd4.js} +1 -1
  186. package/dist/mint-components/{p-8dd1b127.system.js → p-4df8f1d2.system.js} +1 -1
  187. package/dist/mint-components/p-4ea58025.system.entry.js +1 -0
  188. package/dist/mint-components/{p-76b4892f.entry.js → p-4edde470.entry.js} +1 -1
  189. package/dist/mint-components/p-51f517a2.js +1 -0
  190. package/dist/mint-components/{p-2cc82672.entry.js → p-56f14840.entry.js} +1 -1
  191. package/dist/mint-components/{p-183c8ecc.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
  192. package/dist/mint-components/{p-87165876.system.js → p-59fe4ad1.system.js} +22 -22
  193. package/dist/mint-components/p-5be235f9.entry.js +1 -0
  194. package/dist/mint-components/{p-b30636fc.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-9396fa35.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-773cead3.js → p-61eab172.js} +1 -1
  197. package/dist/mint-components/{p-f9780efd.system.js → p-674a64fe.system.js} +1 -1
  198. package/dist/mint-components/{p-95af445c.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
  199. package/dist/mint-components/{p-00d12178.entry.js → p-6cef104b.entry.js} +1 -1
  200. package/dist/mint-components/p-7049e9b0.entry.js +1 -0
  201. package/dist/mint-components/p-733825fa.system.entry.js +1 -0
  202. package/dist/mint-components/p-770368bc.system.js +1 -0
  203. package/dist/mint-components/{p-37f67540.system.entry.js → p-7731f793.system.entry.js} +1 -1
  204. package/dist/mint-components/p-79191f88.entry.js +1 -0
  205. package/dist/mint-components/{p-e493aa4f.entry.js → p-7a89f528.entry.js} +2 -2
  206. package/dist/mint-components/{p-545402ff.entry.js → p-7f088154.entry.js} +1 -1
  207. package/dist/mint-components/{p-b5db456f.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
  208. package/dist/mint-components/{p-1948d476.entry.js → p-86990110.entry.js} +1 -1
  209. package/dist/mint-components/{p-70890ada.js → p-8704937c.js} +153 -153
  210. package/dist/mint-components/{p-14beec1b.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
  211. package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
  212. package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
  213. package/dist/mint-components/p-91669312.entry.js +1 -0
  214. package/dist/mint-components/p-9c310991.system.entry.js +1 -0
  215. package/dist/mint-components/{p-c30f7385.js → p-a15e3807.js} +24 -24
  216. package/dist/mint-components/p-a1dba9a1.system.entry.js +1 -0
  217. package/dist/mint-components/p-a6a7dcaa.js +1 -0
  218. package/dist/mint-components/p-a8f7cb95.js +1 -0
  219. package/dist/mint-components/{p-bd229b60.entry.js → p-a9050eb0.entry.js} +1 -1
  220. package/dist/mint-components/p-aad11a68.entry.js +1 -0
  221. package/dist/mint-components/p-aedddb29.system.entry.js +1 -0
  222. package/dist/mint-components/{p-3c9b7cf5.system.entry.js → p-af062c8f.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-e6024536.system.entry.js → p-afd366ae.system.entry.js} +1 -1
  224. package/dist/mint-components/{p-4519b7a5.system.entry.js → p-b12f7281.system.entry.js} +1 -1
  225. package/dist/mint-components/{p-1426f887.js → p-b23d5520.js} +1 -1
  226. package/dist/mint-components/p-b2507e82.entry.js +223 -0
  227. package/dist/mint-components/p-b370fca8.system.js +1 -0
  228. package/dist/mint-components/p-b3b5b4b7.system.entry.js +1 -0
  229. package/dist/mint-components/{p-2b4fbcf7.entry.js → p-b45ba369.entry.js} +9 -9
  230. package/dist/mint-components/{p-c96b66e0.entry.js → p-b4c52c5a.entry.js} +3 -3
  231. package/dist/mint-components/p-b5861974.system.entry.js +1 -0
  232. package/dist/mint-components/{p-8369d5c3.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
  233. package/dist/mint-components/{p-105d3cea.system.js → p-bc51264d.system.js} +1 -1
  234. package/dist/mint-components/{p-022d8077.system.entry.js → p-be4b748a.system.entry.js} +1 -1
  235. package/dist/mint-components/p-c34a507e.system.entry.js +1 -0
  236. package/dist/mint-components/p-c84659a3.system.js +1 -0
  237. package/dist/mint-components/p-c8878e79.entry.js +1 -0
  238. package/dist/mint-components/{p-7c4879fd.entry.js → p-ce5afa40.entry.js} +1 -1
  239. package/dist/mint-components/{p-350f61cd.js → p-ce621bcc.js} +1 -1
  240. package/dist/mint-components/{p-e5299352.system.js → p-ce9e7c98.system.js} +1 -1
  241. package/dist/mint-components/{p-dd18c75b.system.entry.js → p-cf690d55.system.entry.js} +1 -1
  242. package/dist/mint-components/p-cfb48ad2.system.entry.js +1 -0
  243. package/dist/mint-components/{p-5c602e84.entry.js → p-dd0d79bf.entry.js} +1 -1
  244. package/dist/mint-components/{p-07957c5a.system.js → p-dd7ee007.system.js} +1 -1
  245. package/dist/mint-components/{p-cb550bef.entry.js → p-e3735866.entry.js} +2 -2
  246. package/dist/mint-components/p-e5a0c50e.entry.js +13 -0
  247. package/dist/mint-components/{p-86ba3785.js → p-eaada4da.js} +1 -1
  248. package/dist/mint-components/{p-208cf52b.system.entry.js → p-eba44835.system.entry.js} +1 -1
  249. package/dist/mint-components/{p-02acb970.system.js → p-ed095674.system.js} +1 -1
  250. package/dist/mint-components/{p-2932de37.system.js → p-ed17e637.system.js} +1 -1
  251. package/dist/mint-components/p-ed650f66.system.js +1 -0
  252. package/dist/mint-components/{p-7ab14d4b.system.entry.js → p-f0806232.system.entry.js} +1 -1
  253. package/dist/mint-components/{p-48704504.js → p-f3053c61.js} +1 -1
  254. package/dist/mint-components/{p-43701d0d.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
  255. package/dist/mint-components/{p-79097c07.entry.js → p-fbdf0738.entry.js} +1 -1
  256. package/dist/mint-components/{p-1b24bb52.js → p-fd2c5407.js} +1 -1
  257. package/dist/mint-components/{p-45e6592d.entry.js → p-fe5675b3.entry.js} +1 -1
  258. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
  259. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +2 -0
  260. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +10 -1
  261. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +1 -0
  262. package/dist/types/components.d.ts +18 -2
  263. package/docs/docs.docx +0 -0
  264. package/docs/raisins.json +1 -1
  265. package/grapesjs/grapesjs.js +1 -1
  266. package/package.json +1 -1
  267. package/dist/cjs/index-56d1fa5b.js +0 -2227
  268. package/dist/esm/index-0c7b14c5.js +0 -2225
  269. package/dist/esm-es5/ShadowViewAddon-6c6e73dc.js +0 -1
  270. package/dist/esm-es5/global-8a95a0d3.js +0 -285
  271. package/dist/esm-es5/index-0c7b14c5.js +0 -1
  272. package/dist/esm-es5/index.module-f9338fc3.js +0 -53
  273. package/dist/esm-es5/sqm-navigation-sidebar-item-view-05fa5ccd.js +0 -1
  274. package/dist/esm-es5/useChildElements-e32fe084.js +0 -1
  275. package/dist/esm-es5/useInstantAccessRegistration-59d8b278.js +0 -1
  276. package/dist/esm-es5/useReferralTable-34d7f6ee.js +0 -1
  277. package/dist/esm-es5/useRegistrationFormState-a140a962.js +0 -1
  278. package/dist/mint-components/p-0043bc3c.js +0 -1
  279. package/dist/mint-components/p-08bf5051.system.entry.js +0 -1
  280. package/dist/mint-components/p-098b5cef.system.entry.js +0 -1
  281. package/dist/mint-components/p-118c20e6.system.entry.js +0 -1
  282. package/dist/mint-components/p-17554cca.system.entry.js +0 -1
  283. package/dist/mint-components/p-1975adfc.entry.js +0 -1
  284. package/dist/mint-components/p-269fbf0d.entry.js +0 -1
  285. package/dist/mint-components/p-2db204e7.entry.js +0 -1
  286. package/dist/mint-components/p-3030c6ba.system.js +0 -1
  287. package/dist/mint-components/p-38211322.system.entry.js +0 -1
  288. package/dist/mint-components/p-3bd60021.system.js +0 -53
  289. package/dist/mint-components/p-4414e194.system.entry.js +0 -1
  290. package/dist/mint-components/p-48409171.entry.js +0 -33
  291. package/dist/mint-components/p-55d7380c.entry.js +0 -13
  292. package/dist/mint-components/p-5873fc01.js +0 -1
  293. package/dist/mint-components/p-6fbfd683.js +0 -1
  294. package/dist/mint-components/p-755073e7.entry.js +0 -1
  295. package/dist/mint-components/p-858a87ce.entry.js +0 -1
  296. package/dist/mint-components/p-85c56a32.system.entry.js +0 -1
  297. package/dist/mint-components/p-89669879.system.js +0 -1
  298. package/dist/mint-components/p-9a8180f3.entry.js +0 -1
  299. package/dist/mint-components/p-a06ac84d.entry.js +0 -1
  300. package/dist/mint-components/p-a252acc8.system.entry.js +0 -1
  301. package/dist/mint-components/p-a2f24cea.system.js +0 -1
  302. package/dist/mint-components/p-a3e853b9.entry.js +0 -1
  303. package/dist/mint-components/p-a716994f.entry.js +0 -13
  304. package/dist/mint-components/p-a8fe13f1.system.entry.js +0 -1
  305. package/dist/mint-components/p-af4357ee.system.js +0 -1
  306. package/dist/mint-components/p-bc9b2c8b.entry.js +0 -1
  307. package/dist/mint-components/p-bd124285.system.entry.js +0 -1
  308. package/dist/mint-components/p-bd648bfa.entry.js +0 -223
  309. package/dist/mint-components/p-c176d02b.js +0 -42
  310. package/dist/mint-components/p-c5cf5623.system.entry.js +0 -1
  311. package/dist/mint-components/p-c7572e7e.system.entry.js +0 -1
  312. package/dist/mint-components/p-cac64545.system.entry.js +0 -1
  313. package/dist/mint-components/p-d6dd11db.system.entry.js +0 -1
  314. package/dist/mint-components/p-db39e02a.entry.js +0 -1
@@ -3,9 +3,9 @@
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
- require('./index.module-b1f9bdb8.js');
8
- const reRender = require('./re-render-95d86b86.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ require('./index.module-df530553.js');
8
+ const reRender = require('./re-render-1976e05e.js');
9
9
 
10
10
  const RewardTableCustomerNoteColumn = class {
11
11
  constructor(hostRef) {
@@ -14,7 +14,7 @@ const RewardTableCustomerNoteColumn = class {
14
14
  * @uiName Column title
15
15
  */
16
16
  this.columnTitle = "Note";
17
- stencilHooks_module.h(this);
17
+ stencilHooks_module.h$1(this);
18
18
  }
19
19
  disconnectedCallback() { }
20
20
  async renderCell(data, options) {
@@ -2,25 +2,24 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$1 = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-a5a04d8a.js');
7
- const global = require('./global-975908ec.js');
8
- const index_module = require('./index.module-b1f9bdb8.js');
5
+ const index = require('./index-b0129cd6.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
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./mixins-fe9d4112.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  const GenericTableView = require('./GenericTableView-80d7642e.js');
13
- const reRender = require('./re-render-95d86b86.js');
14
- const useChildElements = require('./useChildElements-91b9f4ff.js');
15
- const luxon = require('./luxon-20eafbd9.js');
16
- const mockRewardData = require('./mockRewardData-3c470512.js');
17
- const index = require('./index-56d1fa5b.js');
18
- const useReferralTable = require('./useReferralTable-4756d4fc.js');
13
+ const reRender = require('./re-render-1976e05e.js');
14
+ const useChildElements = require('./useChildElements-e0d44916.js');
15
+ const luxon = require('./luxon-05098e19.js');
16
+ const mockRewardData = require('./mockRewardData-4258e067.js');
17
+ const useReferralTable = require('./useReferralTable-a76adb0d.js');
19
18
  const utils = require('./utils-6847bc06.js');
20
19
 
21
20
  const debug = stencilHooks_module.browser("sq:useRewardsTable");
22
21
  const CSS_NAMESPACE = "sqm-rewards-table";
23
- const GET_REWARDS = index.dist.gql `
22
+ const GET_REWARDS = index_module.dist.gql `
24
23
  query getRewards(
25
24
  $limit: Int!
26
25
  $offset: Int!
@@ -136,7 +135,7 @@ const GET_REWARDS = index.dist.gql `
136
135
  }
137
136
  }
138
137
  `;
139
- const GET_IMPACT_TAX = index.dist.gql `
138
+ const GET_IMPACT_TAX = index_module.dist.gql `
140
139
  query getImpactTax {
141
140
  viewer {
142
141
  ... on User {
@@ -210,7 +209,7 @@ function useRewardsTable(props, emptyElement, loadingElement) {
210
209
  const columnsPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderLabel()));
211
210
  // get the column cells (renderCell is asynchronous)
212
211
  const cellsPromise = data === null || data === void 0 ? void 0 : data.map(async (r) => {
213
- const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(r, { locale, taxConnection }, index$1.h)));
212
+ const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(r, { locale, taxConnection }, index.h)));
214
213
  const cells = (await Promise.all(cellPromise));
215
214
  return cells;
216
215
  });
@@ -278,7 +277,7 @@ async function tryMethod(c, callback) {
278
277
  // renderLabel did not return a promise, so this method probably doesn't exist
279
278
  // therefore, we IGNORE the label
280
279
  debug("label promise failed", e);
281
- return index$1.h("span", null);
280
+ return index.h("span", null);
282
281
  }
283
282
  try {
284
283
  return await labelPromise;
@@ -288,15 +287,15 @@ async function tryMethod(c, callback) {
288
287
  // This should not happen so we fail fast
289
288
  debug("Error rendering label", e);
290
289
  const userError = useReferralTable.generateUserError(e);
291
- return (index$1.h("details", null,
292
- index$1.h("summary", null, "Error"),
290
+ return (index.h("details", null,
291
+ index.h("summary", null, "Error"),
293
292
  userError));
294
293
  }
295
294
  }
296
295
 
297
296
  const RewardsTable = class {
298
297
  constructor(hostRef) {
299
- index$1.registerInstance(this, hostRef);
298
+ index.registerInstance(this, hostRef);
300
299
  /** @uiName Rewards per page */
301
300
  this.perPage = 4;
302
301
  /** @uiName Hide column labels */
@@ -314,27 +313,27 @@ const RewardsTable = class {
314
313
  this.smBreakpoint = 599;
315
314
  /** @uiName Tablet breakpoint */
316
315
  this.mdBreakpoint = 799;
317
- stencilHooks_module.h(this);
316
+ stencilHooks_module.h$1(this);
318
317
  }
319
318
  disconnectedCallback() { }
320
319
  render() {
321
- const empty = index$1.h(EmptySlot, null);
322
- const loading = index$1.h(LoadingSlot, null);
320
+ const empty = index.h(EmptySlot, null);
321
+ const loading = index.h(LoadingSlot, null);
323
322
  const { states, data, callbacks, elements } = index_module.isDemo()
324
323
  ? useRewardsTableDemo(this, empty, loading)
325
324
  : useRewardsTable(this, empty, loading);
326
325
  reRender.useRequestRerender([this.perPage]);
327
- return (index$1.h(GenericTableView.GenericTableView, { states: states, data: data, callbacks: callbacks, elements: elements }));
326
+ return (index.h(GenericTableView.GenericTableView, { states: states, data: data, callbacks: callbacks, elements: elements }));
328
327
  }
329
328
  };
330
329
  function EmptySlot() {
331
- return (index$1.h("slot", { name: "empty" }, index$1.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png", "empty-state-header": "View your rewards", "empty-state-text": "Refer friends and complete tasks to view the details of your rewards" })));
330
+ return (index.h("slot", { name: "empty" }, index.h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png", "empty-state-header": "View your rewards", "empty-state-text": "Refer friends and complete tasks to view the details of your rewards" })));
332
331
  }
333
332
  function LoadingSlot() {
334
- return (index$1.h("slot", { name: "loading" }, index$1.h(LoadingRow, null), index$1.h(LoadingRow, null), index$1.h(LoadingRow, null), index$1.h(LoadingRow, null)));
333
+ return (index.h("slot", { name: "loading" }, index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null), index.h(LoadingRow, null)));
335
334
  }
336
335
  function LoadingRow() {
337
- return (index$1.h("sqm-table-row", null, index$1.h("sqm-table-cell", { colspan: 5 }, index$1.h("sl-skeleton", null))));
336
+ return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 5 }, index.h("sl-skeleton", null))));
338
337
  }
339
338
  function useRewardsTableDemo(props, emptyElement, loadingElement) {
340
339
  const [content, setContent] = stencilHooks_module.useReducer((state, next) => ({
@@ -429,10 +428,10 @@ function useRewardsTableDemo(props, emptyElement, loadingElement) {
429
428
 
430
429
  const RewardTableDateCell = class {
431
430
  constructor(hostRef) {
432
- index$1.registerInstance(this, hostRef);
431
+ index.registerInstance(this, hostRef);
433
432
  this.ignored = true;
434
433
  this.locale = "en";
435
- stencilHooks_module.h(this);
434
+ stencilHooks_module.h$1(this);
436
435
  }
437
436
  disconnectedCallback() { }
438
437
  render() {
@@ -446,7 +445,7 @@ const RewardTableDateCell = class {
446
445
 
447
446
  const RewardTableDateColumn = class {
448
447
  constructor(hostRef) {
449
- index$1.registerInstance(this, hostRef);
448
+ index.registerInstance(this, hostRef);
450
449
  /**
451
450
  * @uiName Date column title
452
451
  */
@@ -462,18 +461,18 @@ const RewardTableDateColumn = class {
462
461
  * @uiEnumNames ["Date Given", "Date Expires", "Date Cancelled", "Date Redeemed", "Date Scheduled For"]
463
462
  */
464
463
  this.dateShown = "dateGiven";
465
- stencilHooks_module.h(this);
464
+ stencilHooks_module.h$1(this);
466
465
  }
467
466
  disconnectedCallback() { }
468
467
  async renderCell(data, options) {
469
- return (index$1.h("sqm-rewards-table-date-cell", { date: data[this.dateShown], locale: options === null || options === void 0 ? void 0 : options.locale }));
468
+ return (index.h("sqm-rewards-table-date-cell", { date: data[this.dateShown], locale: options === null || options === void 0 ? void 0 : options.locale }));
470
469
  }
471
470
  async renderLabel() {
472
471
  return this.columnTitle;
473
472
  }
474
473
  render() {
475
474
  reRender.useRequestRerender([this.dateShown, this.columnTitle]);
476
- return index$1.h(index$1.Host, { style: { display: "none" } });
475
+ return index.h(index.Host, { style: { display: "none" } });
477
476
  }
478
477
  };
479
478
 
@@ -550,7 +549,7 @@ const sheet = JSS.createStyleSheet(style);
550
549
  const styleString = sheet.toString();
551
550
  const RewardTableRewardsCell = class {
552
551
  constructor(hostRef) {
553
- index$1.registerInstance(this, hostRef);
552
+ index.registerInstance(this, hostRef);
554
553
  }
555
554
  // TODO: value function from portalv2
556
555
  render() {
@@ -563,19 +562,19 @@ const RewardTableRewardsCell = class {
563
562
  const singleReward = reward.prettyValueNumber === "1" ||
564
563
  (reward.dateRedeemed && reward.prettyAvailableNumber === "0");
565
564
  if (reward.type === "FUELTANK") {
566
- return (index$1.h("div", { class: sheet.classes.Fueltank }, reward.prettyValue, reward.fuelTankCode && (index$1.h("div", { class: "code", onClick: () => navigator.clipboard.writeText(reward.fuelTankCode) }, index$1.h("sl-tooltip", { trigger: "click", placement: "top", distance: 5, skidding: 11, content: this.copyText, "onSl-show": (e) => setTimeout(() => e.path[0].hide(), 1000) }, index$1.h("span", { class: "text" }, reward.fuelTankCode), index$1.h("span", { class: "icon" }, index$1.h("sl-icon", { name: "files" })))))));
565
+ return (index.h("div", { class: sheet.classes.Fueltank }, reward.prettyValue, reward.fuelTankCode && (index.h("div", { class: "code", onClick: () => navigator.clipboard.writeText(reward.fuelTankCode) }, index.h("sl-tooltip", { trigger: "click", placement: "top", distance: 5, skidding: 11, content: this.copyText, "onSl-show": (e) => setTimeout(() => e.path[0].hide(), 1000) }, index.h("span", { class: "text" }, reward.fuelTankCode), index.h("span", { class: "icon" }, index.h("sl-icon", { name: "files" })))))));
567
566
  }
568
567
  if (reward.type === "CREDIT" && !singleReward) {
569
568
  const remainingValue = parseFloat(reward.prettyValueNumber) -
570
569
  parseFloat(reward.prettyRedeemedNumber);
571
570
  const progress = Math.round((remainingValue / parseFloat(reward.prettyValueNumber)) * 100);
572
571
  const progressBarSubtext = reward.statuses.includes("EXPIRED") ||
573
- reward.statuses.includes("CANCELLED") ? (index$1.h("div", null, global.intl.formatMessage({
572
+ reward.statuses.includes("CANCELLED") ? (index.h("div", null, global.intl.formatMessage({
574
573
  id: "redeemedText",
575
574
  defaultMessage: this.redeemedText,
576
575
  }, {
577
576
  redeemedAmount: reward.prettyRedeemedCredit,
578
- }))) : (index$1.h("div", null, global.intl.formatMessage({
577
+ }))) : (index.h("div", null, global.intl.formatMessage({
579
578
  id: "availableText",
580
579
  defaultMessage: this.availableText,
581
580
  }, {
@@ -617,17 +616,17 @@ const RewardTableRewardsCell = class {
617
616
  };
618
617
  const sheet = JSS.createStyleSheet(style);
619
618
  const styleString = sheet.toString();
620
- return (index$1.h("div", null, index$1.h("style", { type: "text/css" }, styleString), index$1.h("div", { class: sheet.classes.Container }, index$1.h("span", { part: "sqm-reward-cell-value" }, pimpedPrettyValue + " "), index$1.h("br", null), " ", index$1.h("div", { part: "sqm-reward-cell-progress", class: sheet.classes.Progress }), index$1.h("span", { part: "sqm-reward-cell-subtext", class: sheet.classes.Subtext }, progressBarSubtext))));
619
+ return (index.h("div", null, index.h("style", { type: "text/css" }, styleString), index.h("div", { class: sheet.classes.Container }, index.h("span", { part: "sqm-reward-cell-value" }, pimpedPrettyValue + " "), index.h("br", null), " ", index.h("div", { part: "sqm-reward-cell-progress", class: sheet.classes.Progress }), index.h("span", { part: "sqm-reward-cell-subtext", class: sheet.classes.Subtext }, progressBarSubtext))));
621
620
  }
622
- return index$1.h("div", null, pimpedPrettyValue);
621
+ return index.h("div", null, pimpedPrettyValue);
623
622
  };
624
- return (index$1.h("div", { style: { display: "contents" } }, index$1.h("style", { type: "text/css" }, styleString), index$1.h(RewardValue, { reward: this.reward })));
623
+ return (index.h("div", { style: { display: "contents" } }, index.h("style", { type: "text/css" }, styleString), index.h(RewardValue, { reward: this.reward })));
625
624
  }
626
625
  };
627
626
 
628
627
  const RewardsTableColumn = class {
629
628
  constructor(hostRef) {
630
- index$1.registerInstance(this, hostRef);
629
+ index.registerInstance(this, hostRef);
631
630
  /**
632
631
  * @uiName Reward column title
633
632
  */
@@ -644,11 +643,11 @@ const RewardsTableColumn = class {
644
643
  * @uiName Copied fuel tank text
645
644
  */
646
645
  this.copyText = "Copied!";
647
- stencilHooks_module.h(this);
646
+ stencilHooks_module.h$1(this);
648
647
  }
649
648
  disconnectedCallback() { }
650
649
  async renderCell(data, options) {
651
- return (index$1.h("sqm-rewards-table-reward-cell", { reward: data, redeemedText: this.redeemedText, availableText: this.availableText, copyText: this.copyText, locale: options === null || options === void 0 ? void 0 : options.locale, exportparts: "sqm-rewards-cell-value, sqm-rewards-cell-progress-bar, sqm-rewards-cell-subtext" }));
650
+ return (index.h("sqm-rewards-table-reward-cell", { reward: data, redeemedText: this.redeemedText, availableText: this.availableText, copyText: this.copyText, locale: options === null || options === void 0 ? void 0 : options.locale, exportparts: "sqm-rewards-cell-value, sqm-rewards-cell-progress-bar, sqm-rewards-cell-subtext" }));
652
651
  }
653
652
  async renderLabel() {
654
653
  return this.columnTitle;
@@ -660,20 +659,20 @@ const RewardsTableColumn = class {
660
659
  this.availableText,
661
660
  this.copyText,
662
661
  ]);
663
- return index$1.h(index$1.Host, { style: { display: "none" } });
662
+ return index.h(index.Host, { style: { display: "none" } });
664
663
  }
665
664
  };
666
665
 
667
666
  const RewardTableSourceCell = class {
668
667
  constructor(hostRef) {
669
- index$1.registerInstance(this, hostRef);
668
+ index.registerInstance(this, hostRef);
670
669
  this.locale = "en";
671
670
  }
672
671
  render() {
673
672
  global.intl.locale = this.locale;
674
673
  const RewardSource = ({ reward }) => {
675
674
  var _a;
676
- return (index$1.h("span", null, global.intl.formatMessage({
675
+ return (index.h("span", null, global.intl.formatMessage({
677
676
  id: "rewardSourceText",
678
677
  defaultMessage: this.rewardSourceText,
679
678
  }, {
@@ -684,15 +683,15 @@ const RewardTableSourceCell = class {
684
683
  const SOURCE_COLUMN_LENGTH = 21;
685
684
  const RewardExchangeBadge = ({ reward }) => {
686
685
  var _a;
687
- const rewardExchange = (index$1.h("div", null, index$1.h("span", { style: {
686
+ const rewardExchange = (index.h("div", null, index.h("span", { style: {
688
687
  fontSize: "var(--sl-font-size-small)",
689
688
  color: "var(--sl-color-neutral-500)",
690
- } }, this.rewardExchangeText), index$1.h("br", null), (_a = reward.exchangedRewardRedemptionTransaction) === null || _a === void 0 ? void 0 :
689
+ } }, this.rewardExchangeText), index.h("br", null), (_a = reward.exchangedRewardRedemptionTransaction) === null || _a === void 0 ? void 0 :
691
690
  _a.prettyRedeemedCredit, " → ", reward.prettyValue));
692
691
  return reward.exchangedRewardRedemptionTransaction.prettyRedeemedCredit
693
692
  .length +
694
693
  reward.prettyValue.length <
695
- SOURCE_COLUMN_LENGTH ? (rewardExchange) : (index$1.h("div", { style: {
694
+ SOURCE_COLUMN_LENGTH ? (rewardExchange) : (index.h("div", { style: {
696
695
  display: "inline-block",
697
696
  verticalAlign: "top",
698
697
  } }, rewardExchange));
@@ -709,9 +708,9 @@ const RewardTableSourceCell = class {
709
708
  return `${user.firstName} ${user.lastName}`;
710
709
  };
711
710
  const Source = () => this.reward.rewardSource === "FRIEND_SIGNUP" ||
712
- this.reward.rewardSource === "REFERRED" ? (this.reward.referral === null ? (index$1.h("p", { style: {
711
+ this.reward.rewardSource === "REFERRED" ? (this.reward.referral === null ? (index.h("p", { style: {
713
712
  color: "var(--sl-color-gray-400)",
714
- } }, this.deletedReferralText)) : (index$1.h("div", null, index$1.h("div", { style: {
713
+ } }, this.deletedReferralText)) : (index.h("div", null, index.h("div", { style: {
715
714
  fontSize: "var(--sl-font-size-small)",
716
715
  color: "var(--sl-color-neutral-500)",
717
716
  } }, global.intl.formatMessage({
@@ -719,16 +718,16 @@ const RewardTableSourceCell = class {
719
718
  defaultMessage: this.referralText,
720
719
  }, {
721
720
  rewardSource: this.reward.rewardSource,
722
- })), index$1.h("div", null, this.reward.rewardSource == "FRIEND_SIGNUP"
721
+ })), index.h("div", null, this.reward.rewardSource == "FRIEND_SIGNUP"
723
722
  ? getFullName(this.reward.referral.referredUser)
724
- : getFullName(this.reward.referral.referrerUser))))) : this.reward.exchangedRewardRedemptionTransaction ? (index$1.h(RewardExchangeBadge, { reward: this.reward })) : (index$1.h(RewardSource, { reward: this.reward }));
725
- return index$1.h(Source, null);
723
+ : getFullName(this.reward.referral.referrerUser))))) : this.reward.exchangedRewardRedemptionTransaction ? (index.h(RewardExchangeBadge, { reward: this.reward })) : (index.h(RewardSource, { reward: this.reward }));
724
+ return index.h(Source, null);
726
725
  }
727
726
  };
728
727
 
729
728
  const RewardTableUserColumn = class {
730
729
  constructor(hostRef) {
731
- index$1.registerInstance(this, hostRef);
730
+ index.registerInstance(this, hostRef);
732
731
  /**
733
732
  * @uiName Soruce column title
734
733
  */
@@ -763,11 +762,11 @@ const RewardTableUserColumn = class {
763
762
  * @uiWidget textArea
764
763
  */
765
764
  this.rewardSourceText = "{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}";
766
- stencilHooks_module.h(this);
765
+ stencilHooks_module.h$1(this);
767
766
  }
768
767
  disconnectedCallback() { }
769
768
  async renderCell(data, options) {
770
- return (index$1.h("sqm-rewards-table-source-cell", { reward: data, anonymousUserText: this.anonymousUser, deletedUserText: this.deletedUser, rewardExchangeText: this.rewardExchangeText, referralText: this.referralText, rewardSourceText: this.rewardSourceText, locale: options === null || options === void 0 ? void 0 : options.locale }));
769
+ return (index.h("sqm-rewards-table-source-cell", { reward: data, anonymousUserText: this.anonymousUser, deletedUserText: this.deletedUser, rewardExchangeText: this.rewardExchangeText, referralText: this.referralText, rewardSourceText: this.rewardSourceText, locale: options === null || options === void 0 ? void 0 : options.locale }));
771
770
  }
772
771
  async renderLabel() {
773
772
  return this.columnTitle;
@@ -781,7 +780,7 @@ const RewardTableUserColumn = class {
781
780
  this.referralText,
782
781
  this.rewardSourceText,
783
782
  ]);
784
- return index$1.h(index$1.Host, { style: { display: "none" } });
783
+ return index.h(index.Host, { style: { display: "none" } });
785
784
  }
786
785
  };
787
786
 
@@ -811,7 +810,7 @@ const sheet$1 = JSS.createStyleSheet(style$1);
811
810
  const styleString$1 = sheet$1.toString();
812
811
  const RewardTableStatusCell = class {
813
812
  constructor(hostRef) {
814
- index$1.registerInstance(this, hostRef);
813
+ index.registerInstance(this, hostRef);
815
814
  this.expiryText = "Expires";
816
815
  this.locale = "en";
817
816
  this.pendingUsTax = "W-9 required";
@@ -951,9 +950,9 @@ const RewardTableStatusCell = class {
951
950
  : rewardStatus === "DENIED"
952
951
  ? this.deniedText
953
952
  : null;
954
- return (index$1.h("div", { style: { display: "contents" } }, index$1.h("style", { type: "text/css" }, styleString$1), index$1.h("sl-badge", { type: badgeType, pill: true, class: rewardStatus === "REDEEMED" || rewardStatus === "PAYOUT_APPROVED"
953
+ return (index.h("div", { style: { display: "contents" } }, index.h("style", { type: "text/css" }, styleString$1), index.h("sl-badge", { type: badgeType, pill: true, class: rewardStatus === "REDEEMED" || rewardStatus === "PAYOUT_APPROVED"
955
954
  ? sheet$1.classes.RedeemBadge
956
- : sheet$1.classes.Badge }, statusText), index$1.h("p", { class: sheet$1.classes.Date }, fraudStatusText ||
955
+ : sheet$1.classes.Badge }, statusText), index.h("p", { class: sheet$1.classes.Date }, fraudStatusText ||
957
956
  pendingReasons ||
958
957
  this.getPayoutStatusText(rewardStatus) ||
959
958
  date)));
@@ -980,7 +979,7 @@ const RewardTableStatusCell = class {
980
979
 
981
980
  const RewardTableStatusColumn = class {
982
981
  constructor(hostRef) {
983
- index$1.registerInstance(this, hostRef);
982
+ index.registerInstance(this, hostRef);
984
983
  /**
985
984
  * @uiName Column title
986
985
  */
@@ -1068,11 +1067,11 @@ const RewardTableStatusColumn = class {
1068
1067
  * @uiName Payout approved text
1069
1068
  */
1070
1069
  this.payoutApproved = "Reward approved for payout and was scheduled for payment based on your settings.";
1071
- stencilHooks_module.h(this);
1070
+ stencilHooks_module.h$1(this);
1072
1071
  }
1073
1072
  disconnectedCallback() { }
1074
1073
  async renderCell(data, options) {
1075
- return (index$1.h("sqm-rewards-table-status-cell", { statusText: this.statusText, reward: data, taxConnection: options === null || options === void 0 ? void 0 : options.taxConnection, expiryText: this.expiryText, pendingScheduled: this.pendingScheduled, pendingUsTax: this.pendingUsTax, pendingUnhandled: this.pendingUnhandled, pendingReviewText: this.pendingReviewText, payoutFailed: this.payoutFailed, payoutApproved: this.payoutApproved, payoutCancelled: this.payoutCancelled, deniedText: this.deniedText, locale: options === null || options === void 0 ? void 0 : options.locale }));
1074
+ return (index.h("sqm-rewards-table-status-cell", { statusText: this.statusText, reward: data, taxConnection: options === null || options === void 0 ? void 0 : options.taxConnection, expiryText: this.expiryText, pendingScheduled: this.pendingScheduled, pendingUsTax: this.pendingUsTax, pendingUnhandled: this.pendingUnhandled, pendingReviewText: this.pendingReviewText, payoutFailed: this.payoutFailed, payoutApproved: this.payoutApproved, payoutCancelled: this.payoutCancelled, deniedText: this.deniedText, locale: options === null || options === void 0 ? void 0 : options.locale }));
1076
1075
  }
1077
1076
  async renderLabel() {
1078
1077
  return this.columnTitle;
@@ -1087,7 +1086,7 @@ const RewardTableStatusColumn = class {
1087
1086
  this.pendingUsTax,
1088
1087
  this.pendingUnhandled,
1089
1088
  ]);
1090
- return index$1.h(index$1.Host, { style: { display: "none" } });
1089
+ return index.h(index.Host, { style: { display: "none" } });
1091
1090
  }
1092
1091
  };
1093
1092
 
@@ -3,16 +3,15 @@
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
- require('./global-975908ec.js');
8
- const index_module = require('./index.module-b1f9bdb8.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ require('./global-02e50f09.js');
8
+ const index_module = require('./index.module-df530553.js');
9
9
  require('./cjs-1066ec21.js');
10
10
  require('./mixins-fe9d4112.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  const GenericTableView = require('./GenericTableView-80d7642e.js');
13
- require('./useChildElements-91b9f4ff.js');
14
- const luxon = require('./luxon-20eafbd9.js');
15
- const index$1 = require('./index-56d1fa5b.js');
13
+ require('./useChildElements-e0d44916.js');
14
+ const luxon = require('./luxon-05098e19.js');
16
15
  require('./utils-6847bc06.js');
17
16
  require('./sqm-text-span-view-e1cd9bd3.js');
18
17
  const sqmAssetCardView = require('./sqm-asset-card-view-a0e33f21.js');
@@ -22,16 +21,16 @@ const emailRegistrationView = require('./email-registration-view-248652bb.js');
22
21
  const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
23
22
  const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
24
23
  const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-dd53f947.js');
25
- const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-d8a21014.js');
26
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-72dca980.js');
24
+ const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-a125ec5f.js');
25
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-292b5bf4.js');
27
26
  const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
28
- const sqmPortalProfileView = require('./sqm-portal-profile-view-c3754c1c.js');
29
- require('./utilities-42a1810d.js');
27
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-fde54e35.js');
28
+ require('./utilities-cec9dd36.js');
30
29
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
31
30
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
32
- const ShadowViewAddon = require('./ShadowViewAddon-a982f064.js');
31
+ const ShadowViewAddon = require('./ShadowViewAddon-bfb7992d.js');
33
32
  const sqmPortalContainerView = require('./sqm-portal-container-view-5fb2ad49.js');
34
- const sqmInvoiceTableView = require('./sqm-invoice-table-view-c3a5024d.js');
33
+ const sqmInvoiceTableView = require('./sqm-invoice-table-view-28b14d28.js');
35
34
 
36
35
  /**
37
36
  * lodash (Custom Build) <https://lodash.com/>
@@ -1814,7 +1813,7 @@ const BigStat = /*#__PURE__*/Object.freeze({
1814
1813
  MultipleStats: MultipleStats
1815
1814
  });
1816
1815
 
1817
- const scenario$4 = "@owner:noah @author:noah\nFeature: Leaderboard\n\tThe leaderboard supports three main cases\n\t- Top Started Referrers\n\t- Top Converted Referrers\n\t- Top Point Earners\n\tTo display these different types of leaderboards it uses the backends pre-canned options.\n\tThe backend supports filtering on programId and interval, programId is sourced from program context.\n\n Background: A user exists\n Given a user\n And they are viewing the leaderboard\n\n @motivating\n Scenario Outline: Two types of referrals leaderboards can be displayed\n Given a leaderboard has prop \"leaderboard-type\" with <value>\n And there are started referrals on the tenant\n And there are started converted on the tenant\n When the user views the leaderboard\n Then they see the referral <referralType> leaderboard\n\n Examples:\n | value | referralType |\n | topStartedReferrers | started |\n | topConvertedReferrers | converted |\n\n @motivating\n Scenario: The top point earners leaderboard can be displayed\n Given a leaderboard has prop \"leaderboard-type\" with value \"topPointEarners\"\n And there are users with points\n When the user views the leaderboard\n Then they see the top point earners leaderboard\n And text values are displayed for point counts\n\n @minutia\n Scenario Outline: Reward pretty value is used on the top point earners leaderboard\n Given top point earners leaderboard\n And the \"POINT\" reward unit has a pretty value for the following locales\n | locale |\n | en |\n | fr |\n | tr |\n When the user views the leaderboard\n And they have <locale>\n Then they see the translated pretty value in the stat value column\n\n @motivating\n Scenario Outline: Program Context is used by default to filter leaderboard results\n Given a <leaderboardType> leaderboard loaded with program context for \"my-program\"\n When the user views the leaderboard\n Then they only see <results> from \"my-program\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Program Id context can be overwritten with a prop\n Given a <leaderboardType> leaderboard has prop \"program-Id\" with value \"my-test-program\"\n When the user views the leaderboard\n Then they only see <results> from \"my-test-program\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Global leaderboards can be displayed by clearing program context\n\t\t#This is important for clients with use cases like StaffTracks global points leaderboard\n\t\t#This can also be done with a program section in a similar manner\n Given a <leaderboardType> leaderboard has prop \"program-Id\" with value \"\"\n When the user views the leaderboard\n Then they see global <results>\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario: Leaderboard results are shown in descending order\n Given there are leaderboard results\n When the user views the leaderboard\n Then they see up to the 10 top leaderboard results\n And leaderboard is in descending order\n\n @motivating\n Scenario Outline: Leaderboard results can be filtered with a time interval\n Given a <leaderboardType> leaderboard\n And it has prop \"interval\" with value \"2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z\"\n When the user views the leaderboard\n Then they only see <results> from within \"2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Leaderboard rank type can be configured\n Given a leaderboard has prop \"rank-type\" with <value>\n When the user views the leaderboard\n Then their leaderboard rank is their <rank>\n\n Examples:\n | value | rank |\n | rowNumber | row number |\n | denseRank | dense rank |\n | rank | rank |\n\n @minutia\n Scenario Outline: The max number of leaderboard rows displayed can be configured but defaults to 10\n Given a leaderboard has prop \"max-rows\" with <value>\n And the leaderboard has <resultCount>\n When the user views the leaderboard\n Then they see <number> rows\n\n Examples:\n | value | resultCount | number |\n | | 10 | 10 |\n | 5 | 10 | 5 |\n | 3 | 1 | 1 |\n | 25 | 15 | 15 |\n\n @minutiae @ui\n Scenario: Leaderboards with no results show an empty state\n Given a leaderboard has no results\n When the user views the leaderboard\n Then an empty state is dislayed\n And they see an image of a leaderboard\n And below they see \"View your rank in the leaderboard\"\n And below they see \"Be the first to refer a friend and reach the top of the leaderboard\"\n And the text is center aligned\n\n @minutiae @ui\n Scenario: A custom empty state can be provided\n Given a leaderboard has no results\n When the user views the leaderboard\n Then the contents of the \"empty\" slot are displayed\n\n @minutiae @ui\n Scenario: User is on Essentials plan\n Given the user has an Essentials plan\n When they view the leaderboard\n Then a message telling them to upgrade their plan appears:\n \"\"\"\n Contact Support to upgrade your plan and start leveraging\n gamification in your program.\n \"\"\"\n And an empty table image is displayed\n\n @minutiae @ui\n Scenario: Leaderboard headings can be customized\n Given a leaderboard\n And it has the following props\n | prop | value |\n | rankheading | Place |\n | usersheading | Customer |\n | statsheading | Referral Count |\n | show-rank | true |\n When the user views the leaderboard\n Then they see the following columns with headings\n | column | heading |\n | rank | Place |\n | user | Customer |\n | stat | Referral Count |\n\n @motivating @ui\n Scenario Outline: Leaderboard rank can be hidden or shown\n Given a leaderboard\n And it has prop \"show-rank\" with <propValue>\n When the user views the leaderboard\n Then they <maySee> the rank column\n\n Examples:\n | propValue | maySee |\n | true | see |\n | false | don't see |\n | | don't see |\n\n @motivating @ui\n Scenario: Users in the top 10 of the leaderboard results see their leaderboard row highlighted\n Given a user in the top 10 of the leaderboard results\n When they view the leaderboard\n Then they see the row with their name highlighted with brand colour\n\n @motivating @ui\n Scenario Outline: Users not in the top 10 leaderboard results can see their progress at the bottom of the leaderboard\n Given a user <mayHave> completed actions counted by the leaderboard\n And they are not in the top 10 leaderboard results\n And the leaderboard has prop \"show-user\" with <value>\n When they view the leaderboard\n Then they <maySee> \"...\" under the top 10 leaderboard results\n And under \"...\" they <maySee> a row highlighted with brand colour\n And they <maySee> their name\n And they <maySee> their leaderboard value\n And they <maySeeRank>\n\n Examples:\n | mayHave | value | maySee | maySeeRank |\n | has | true | see | see their rank |\n | hasn't | true | see | don't see their rank |\n | N/A | false | don't see | don't see their rank |\n | hasn't | | see | don't see their rank |\n\n @minutiae\n Scenario: Users without names are displayed as an \"Anonymous User\"\n Given a user\n And they do not have a first name\n And they do not have a last initial\n When they view the leaderboard\n Then they see the user displayed as \"Anonymous User\"\n\n @minutiae\n Scenario Outline: If a user only has a first or last name, then only that is displayed\n Given a user\n And they only have a <name>\n When they view the leaderboard\n Then they only see their <name>\n\n Examples:\n | name |\n | firstName |\n | lastName |\n";
1816
+ const scenario$4 = "@owner:noah @author:noah\nFeature: Leaderboard\n\tThe leaderboard supports three main cases\n\t- Top Started Referrers\n\t- Top Converted Referrers\n\t- Top Point Earners\n\tTo display these different types of leaderboards it uses the backends pre-canned options.\n\tThe backend supports filtering on programId and interval, programId is sourced from program context.\n\n Background: A user exists\n Given a user\n And they are viewing the leaderboard\n\n @motivating\n Scenario Outline: Two types of referrals leaderboards can be displayed\n Given a leaderboard has prop \"leaderboard-type\" with <value>\n And there are started referrals on the tenant\n And there are started converted on the tenant\n When the user views the leaderboard\n Then they see the referral <referralType> leaderboard\n\n Examples:\n | value | referralType |\n | topStartedReferrers | started |\n | topConvertedReferrers | converted |\n\n @motivating\n Scenario: The top point earners leaderboard can be displayed\n Given a leaderboard has prop \"leaderboard-type\" with value \"topPointEarners\"\n And there are users with points\n When the user views the leaderboard\n Then they see the top point earners leaderboard\n And text values are displayed for point counts\n\n @minutia\n Scenario Outline: Reward pretty value is used on the top point earners leaderboard\n Given top point earners leaderboard\n And the \"POINT\" reward unit has a pretty value for the following locales\n | locale |\n | en |\n | fr |\n | tr |\n When the user views the leaderboard\n And they have <locale>\n Then they see the translated pretty value in the stat value column\n\n @motivating\n Scenario Outline: Program Context is used by default to filter leaderboard results\n Given a <leaderboardType> leaderboard loaded with program context for \"my-program\"\n When the user views the leaderboard\n Then they only see <results> from \"my-program\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Program Id context can be overwritten with a prop\n Given a <leaderboardType> leaderboard has prop \"program-Id\" with value \"my-test-program\"\n When the user views the leaderboard\n Then they only see <results> from \"my-test-program\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Global leaderboards can be displayed by clearing program context\n\t\t#This is important for clients with use cases like StaffTracks global points leaderboard\n\t\t#This can also be done with a program section in a similar manner\n Given a <leaderboardType> leaderboard has prop \"program-Id\" with value \"\"\n When the user views the leaderboard\n Then they see global <results>\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario: Leaderboard results are shown in descending order\n Given there are leaderboard results\n When the user views the leaderboard\n Then they see up to the 10 top leaderboard results\n And leaderboard is in descending order\n\n @motivating\n Scenario Outline: Leaderboard results can be filtered with a time interval\n Given a <leaderboardType> leaderboard\n And it has prop \"interval\" with value \"2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z\"\n When the user views the leaderboard\n Then they only see <results> from within \"2021-11-02T07:00:00.000Z/2021-11-07T07:00:00.000Z\"\n\n Examples:\n | leaderboardType | results |\n | topStartedReferrers | started referrals |\n | topConvertedReferrers | converted referrals |\n | topPointEarners | points earned |\n\n @motivating\n Scenario Outline: Leaderboard rank type can be configured\n Given a leaderboard has prop \"rank-type\" with <value>\n When the user views the leaderboard\n Then their leaderboard rank is their <rank>\n\n Examples:\n | value | rank |\n | rowNumber | row number |\n | denseRank | dense rank |\n | rank | rank |\n\n @minutia\n Scenario Outline: The max number of leaderboard rows displayed can be configured but defaults to 10\n Given a leaderboard has prop \"max-rows\" with <value>\n And the leaderboard has <resultCount>\n When the user views the leaderboard\n Then they see <number> rows\n\n Examples:\n | value | resultCount | number |\n | | 10 | 10 |\n | 5 | 10 | 5 |\n | 3 | 1 | 1 |\n | 25 | 15 | 15 |\n\n @minutiae @ui\n Scenario: Leaderboards with no results show an empty state\n Given a leaderboard has no results\n When the user views the leaderboard\n Then an empty state is dislayed\n And they see an image of a leaderboard\n And below they see \"View your rank in the leaderboard\"\n And below they see \"Be the first to refer a friend and reach the top of the leaderboard\"\n And the text is center aligned\n\n @minutiae @ui\n Scenario: A custom empty state can be provided\n Given a leaderboard has no results\n When the user views the leaderboard\n Then the contents of the \"empty\" slot are displayed\n\n @minutiae @ui\n Scenario: User is on Essentials plan\n Given the user has an Essentials plan\n When they view the leaderboard\n Then a message telling them to upgrade their plan appears:\n \"\"\"\n Contact Support to upgrade your plan and start leveraging\n gamification in your program.\n \"\"\"\n And an empty table image is displayed\n\n @minutiae @ui\n Scenario: Leaderboard headings can be customized\n Given a leaderboard\n And it has the following props\n | prop | value |\n | rankheading | Place |\n | usersheading | Customer |\n | statsheading | Referral Count |\n | show-rank | true |\n When the user views the leaderboard\n Then they see the following columns with headings\n | column | heading |\n | rank | Place |\n | user | Customer |\n | stat | Referral Count |\n\n @motivating @ui\n Scenario Outline: Leaderboard rank can be hidden or shown\n Given a leaderboard\n And it has prop \"show-rank\" with <propValue>\n When the user views the leaderboard\n Then they <maySee> the rank column\n\n Examples:\n | propValue | maySee |\n | true | see |\n | false | don't see |\n | | don't see |\n\n Scenario Outline: Users names can be hidden or shown\n Given a leaderboard\n And it has prop \"hide-names\" with <propValue>\n When the user views the leaderboard\n Then they <maySee> the referrer column\n\n Examples:\n | propValue | maySee |\n | true | don't see |\n | false | see |\n | | see |\n\n @motivating @ui\n Scenario: Users in the top 10 of the leaderboard results see their leaderboard row highlighted\n Given a user in the top 10 of the leaderboard results\n When they view the leaderboard\n Then they see the row with their name highlighted with brand colour\n\n @motivating @ui\n Scenario Outline: Users not in the top 10 leaderboard results can see their progress at the bottom of the leaderboard\n Given a user <mayHave> completed actions counted by the leaderboard\n And they are not in the top 10 leaderboard results\n And the leaderboard has prop \"show-user\" with <value>\n When they view the leaderboard\n Then they <maySee> \"...\" under the top 10 leaderboard results\n And under \"...\" they <maySee> a row highlighted with brand colour\n And they <maySee> their name\n And they <maySee> their leaderboard value\n And they <maySeeRank>\n\n Examples:\n | mayHave | value | maySee | maySeeRank |\n | has | true | see | see their rank |\n | hasn't | true | see | don't see their rank |\n | N/A | false | don't see | don't see their rank |\n | hasn't | | see | don't see their rank |\n\n @minutiae\n Scenario: Users without names are displayed as an \"Anonymous User\"\n Given a user\n And they do not have a first name\n And they do not have a last initial\n When they view the leaderboard\n Then they see the user displayed as \"Anonymous User\"\n\n @minutiae\n Scenario Outline: If a user only has a first or last name, then only that is displayed\n Given a user\n And they only have a <name>\n When they view the leaderboard\n Then they only see their <name>\n\n Examples:\n | name |\n | firstName |\n | lastName |\n";
1818
1817
 
1819
1818
  const Leaderboard_stories = {
1820
1819
  title: "Components/Leaderboard",
@@ -2187,6 +2186,38 @@ const ReferralLeaderboard = () => {
2187
2186
  };
2188
2187
  return index.h(ShadowViewAddon.LeaderboardView, Object.assign({}, props));
2189
2188
  };
2189
+ const ReferralLeaderboardWithMaxWidth = () => {
2190
+ const props = {
2191
+ states: {
2192
+ loading: false,
2193
+ hasLeaders: true,
2194
+ styles: {
2195
+ ...defaultStyles$1,
2196
+ rankheading: "Rank",
2197
+ usersheading: "User",
2198
+ statsheading: "Referrals",
2199
+ showRank: false,
2200
+ maxWidth: "300px",
2201
+ },
2202
+ },
2203
+ data: {
2204
+ rankType: "rowNumber",
2205
+ leaderboard: users,
2206
+ rowNumber: 10,
2207
+ viewerRank: {
2208
+ firstName: "Viktor",
2209
+ lastInitial: "V",
2210
+ textValue: "82",
2211
+ rank: 1,
2212
+ rowNumber: 1,
2213
+ },
2214
+ },
2215
+ elements: {
2216
+ ...defaultElements$1,
2217
+ },
2218
+ };
2219
+ return index.h(ShadowViewAddon.LeaderboardView, Object.assign({}, props));
2220
+ };
2190
2221
  const PointsLeaderboard = () => {
2191
2222
  const props = {
2192
2223
  states: {
@@ -2366,6 +2397,7 @@ const Leaderboard = /*#__PURE__*/Object.freeze({
2366
2397
  One: One,
2367
2398
  Five: Five,
2368
2399
  ReferralLeaderboard: ReferralLeaderboard,
2400
+ ReferralLeaderboardWithMaxWidth: ReferralLeaderboardWithMaxWidth,
2369
2401
  PointsLeaderboard: PointsLeaderboard,
2370
2402
  TenWithRank: TenWithRank,
2371
2403
  ViewerOutside: ViewerOutside,
@@ -3382,7 +3414,7 @@ const FormMessage = /*#__PURE__*/Object.freeze({
3382
3414
  FullStackSuccess: FullStackSuccess
3383
3415
  });
3384
3416
 
3385
- const EXCHANGE = index$1.dist.gql `
3417
+ const EXCHANGE = index_module.dist.gql `
3386
3418
  mutation exchange($exchangeRewardInput: ExchangeRewardInput!) {
3387
3419
  exchangeReward(exchangeRewardInput: $exchangeRewardInput) {
3388
3420
  reward {
@@ -17632,7 +17664,7 @@ const StencilStorybook = class {
17632
17664
  constructor(hostRef) {
17633
17665
  index.registerInstance(this, hostRef);
17634
17666
  this.ignored = true;
17635
- stencilHooks_module.h(this);
17667
+ stencilHooks_module.h$1(this);
17636
17668
  }
17637
17669
  disconnectedCallback() { }
17638
17670
  render() {
@@ -3,9 +3,9 @@
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
- require('./index.module-b1f9bdb8.js');
8
- const reRender = require('./re-render-95d86b86.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ require('./index.module-df530553.js');
8
+ const reRender = require('./re-render-1976e05e.js');
9
9
 
10
10
  const TabView = ({}, children) => {
11
11
  return index.h(index.Host, null, children);
@@ -14,7 +14,7 @@ const TabView = ({}, children) => {
14
14
  const Tab = class {
15
15
  constructor(hostRef) {
16
16
  index.registerInstance(this, hostRef);
17
- stencilHooks_module.h(this);
17
+ stencilHooks_module.h$1(this);
18
18
  }
19
19
  disconnectedCallback() { }
20
20
  render() {
@@ -3,10 +3,10 @@
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 index_module = require('./index.module-b1f9bdb8.js');
8
- const reRender = require('./re-render-95d86b86.js');
9
- const useChildElements = require('./useChildElements-91b9f4ff.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ const index_module = require('./index.module-df530553.js');
8
+ const reRender = require('./re-render-1976e05e.js');
9
+ const useChildElements = require('./useChildElements-e0d44916.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
 
12
12
  const TabsView = ({ content, placement, }) => {
@@ -86,7 +86,7 @@ function useTabs() {
86
86
  const Tabs = class {
87
87
  constructor(hostRef) {
88
88
  index.registerInstance(this, hostRef);
89
- stencilHooks_module.h(this);
89
+ stencilHooks_module.h$1(this);
90
90
  }
91
91
  disconnectedCallback() { }
92
92
  render() {
@@ -3,7 +3,7 @@
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');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
7
  require('./JSS-8503a151.js');
8
8
  const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
9
9
 
@@ -11,7 +11,7 @@ const Text = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
13
  this.ignored = true;
14
- stencilHooks_module.h(this);
14
+ stencilHooks_module.h$1(this);
15
15
  }
16
16
  disconnectedCallback() { }
17
17
  componentWillLoad() { }
@@ -1114,14 +1114,17 @@ function c$1(){return (c$1=Object.assign||function(e){for(var t=1;t<arguments.le
1114
1114
  function s$2(){return index.getRenderingRef()}function l$1(){var e=s$2();return index.getElement(e)}function d$2(e,t){void 0===t&&(t={});var n=l$1();return h$1(n,e,t)}function m$2(e,t){var n=l$1();return y$1(n,e,t)}var p$1=browser("stencil-hook");function h$2(t){var r,u=index.getElement(t),c=(r=!1,new State(function(){p$1("Queue update on element",u),r||(r=!0,Promise.resolve().then(function(){p$1("Forced update on element",u),r=!1,index.forceUpdate(u);}));},u)),a=t.disconnectedCallback;if(!a)throw new Error("Stencil hooks requires `disconnectedCallback` to be defined (even if it's empty). This is because of how the Stencil compiler works internally");t.disconnectedCallback=function(){c.teardown(),v(a);};var i=t.connectedCallback;t.connectedCallback=function(){c.update(),v(i);};var f=t.render.bind(t);t.render=function(){var e=c.run(f);return c.runEffects(),e};}function v(e){"function"==typeof e&&e();}
1115
1115
 
1116
1116
  exports.browser = browser;
1117
+ exports.c = c;
1117
1118
  exports.commonjsGlobal = commonjsGlobal;
1118
1119
  exports.createCommonjsModule = createCommonjsModule;
1119
1120
  exports.d = d$2;
1120
1121
  exports.getAugmentedNamespace = getAugmentedNamespace;
1121
1122
  exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
1122
- exports.h = h$2;
1123
+ exports.h = h$1;
1124
+ exports.h$1 = h$2;
1123
1125
  exports.l = l$1;
1124
1126
  exports.m = m$2;
1127
+ exports.s = s$1;
1125
1128
  exports.useEffect = useEffect;
1126
1129
  exports.useMemo = useMemo;
1127
1130
  exports.useReducer = useReducer;