@saasquatch/mint-components 1.11.1-4 → 1.11.1-40

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 (413) hide show
  1. package/dist/cjs/{GenericTableView-a3f48e15.js → GenericTableView-bb2fcd95.js} +1 -1
  2. package/dist/cjs/{ShadowViewAddon-cfda0bfa.js → ShadowViewAddon-2d56f3b4.js} +28 -20
  3. package/dist/cjs/{copy-text-view-5f908186.js → copy-text-view-29330e8a.js} +69 -25
  4. package/dist/cjs/{email-registration-view-4c5d9379.js → email-registration-view-54cedb43.js} +1 -1
  5. package/dist/cjs/{global-02e50f09.js → global-e067aa06.js} +2 -2
  6. package/dist/cjs/{index-b0129cd6.js → index-ff72278c.js} +2 -0
  7. package/dist/cjs/{index.module-df530553.js → index.module-224d7b8d.js} +1 -1
  8. package/dist/cjs/loader.cjs.js +5 -5
  9. package/dist/cjs/{luxon-05098e19.js → luxon-45228ff5.js} +1 -1
  10. package/dist/cjs/mint-components.cjs.js +5 -5
  11. package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-d6be2267.js} +1 -1
  12. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  13. package/dist/cjs/{re-render-1976e05e.js → re-render-cd2f8774.js} +2 -2
  14. package/dist/cjs/{sqm-asset-card-view-a0e33f21.js → sqm-asset-card-view-30ca5188.js} +1 -1
  15. package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
  16. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +10 -10
  17. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +13 -13
  18. package/dist/cjs/{sqm-close-button-view-217239b7.js → sqm-close-button-view-6a709e00.js} +1 -1
  19. package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
  20. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-empty_4.cjs.entry.js +10 -5
  22. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  25. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  26. package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-2f4f426b.js} +2 -2
  27. package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-317eb84f.js} +1 -1
  28. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  29. package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-1912b773.js} +1 -1
  30. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
  31. package/dist/cjs/{sqm-navigation-sidebar-item-view-4e90b6f5.js → sqm-navigation-sidebar-item-view-010a81c7.js} +2 -2
  32. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  33. package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-215eba1d.js} +1 -1
  34. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
  35. package/dist/cjs/sqm-pagination_3.cjs.entry.js +80 -30
  36. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  37. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  38. package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-976bf0f5.js} +1 -1
  39. package/dist/cjs/{sqm-portal-email-verification-view-bff9783d.js → sqm-portal-email-verification-view-f8980d11.js} +3 -3
  40. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
  41. package/dist/cjs/{sqm-portal-forgot-password-view-3cd69fe7.js → sqm-portal-forgot-password-view-24339191.js} +2 -2
  42. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +5 -5
  43. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  44. package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c70d7f9.js} +3 -3
  45. package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
  46. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  47. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +5 -5
  48. package/dist/cjs/{sqm-portal-reset-password-view-34771d2c.js → sqm-portal-reset-password-view-1b85b8cf.js} +2 -2
  49. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
  50. package/dist/cjs/{sqm-portal-verify-email-view-c8f91506.js → sqm-portal-verify-email-view-cc3c87c3.js} +2 -2
  51. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
  52. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +11 -11
  53. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  54. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  55. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  56. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
  57. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  58. package/dist/cjs/sqm-stencilbook.cjs.entry.js +55 -28
  59. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  60. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  61. package/dist/cjs/{sqm-text-span-view-e1cd9bd3.js → sqm-text-span-view-38222836.js} +1 -1
  62. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  63. package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-8f69ed33.js} +1 -1
  64. package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-176ac928.js} +2 -2
  65. package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-151a3f4a.js} +3 -3
  66. package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-c91d9310.js} +5 -5
  67. package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-49dd9295.js} +2 -2
  68. package/dist/cjs/{utilities-cec9dd36.js → utilities-719c980a.js} +2 -2
  69. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  70. package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
  71. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
  72. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +6 -8
  73. package/dist/collection/components/sqm-pagination/sqm-pagination.js +47 -10
  74. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +5 -3
  75. package/dist/collection/components/sqm-referral-code/useReferralCode.js +12 -5
  76. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +18 -0
  77. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +13 -3
  78. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +51 -5
  79. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +64 -22
  80. package/dist/collection/components/sqm-share-button/useShareButton.js +15 -8
  81. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  82. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  83. package/dist/collection/components/sqm-share-link/useShareLink.js +5 -4
  84. package/dist/collection/components/views/copy-text-view.js +4 -2
  85. package/dist/collection/stories/Widget.stories.js +5 -0
  86. package/dist/esm/{GenericTableView-bf154727.js → GenericTableView-706f5b56.js} +1 -1
  87. package/dist/esm/{ShadowViewAddon-95520b03.js → ShadowViewAddon-db086943.js} +28 -20
  88. package/dist/esm/{copy-text-view-73cd7a82.js → copy-text-view-47f83e9b.js} +69 -25
  89. package/dist/esm/{email-registration-view-12793040.js → email-registration-view-5ecee6f8.js} +1 -1
  90. package/dist/esm/{global-b89b6edc.js → global-701bd5b0.js} +2 -2
  91. package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
  92. package/dist/esm/{index.module-f122af7b.js → index.module-5eb0926c.js} +2 -2
  93. package/dist/esm/loader.js +5 -5
  94. package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  95. package/dist/esm/mint-components.js +5 -5
  96. package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  97. package/dist/esm/raisins-plop-target.entry.js +1 -1
  98. package/dist/esm/{re-render-c64289f3.js → re-render-b31d83d7.js} +2 -2
  99. package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  100. package/dist/esm/sqm-asset-card.entry.js +4 -4
  101. package/dist/esm/sqm-banking-info-form_16.entry.js +10 -10
  102. package/dist/esm/sqm-big-stat_38.entry.js +13 -13
  103. package/dist/esm/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-8058642b.js} +1 -1
  104. package/dist/esm/sqm-close-button.entry.js +4 -4
  105. package/dist/esm/sqm-context-router.entry.js +3 -3
  106. package/dist/esm/sqm-empty_4.entry.js +10 -5
  107. package/dist/esm/sqm-form-message.entry.js +2 -2
  108. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  109. package/dist/esm/sqm-header-logo.entry.js +2 -2
  110. package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
  111. package/dist/esm/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-7d1aa71f.js} +2 -2
  112. package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
  113. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  114. package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  115. package/dist/esm/sqm-logout-current-user.entry.js +4 -4
  116. package/dist/esm/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-9fa7f5ea.js} +2 -2
  117. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
  118. package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  119. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  120. package/dist/esm/sqm-pagination_3.entry.js +80 -30
  121. package/dist/esm/sqm-password-field.entry.js +4 -4
  122. package/dist/esm/sqm-popup-container.entry.js +3 -3
  123. package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  124. package/dist/esm/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-332e1339.js} +3 -3
  125. package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
  126. package/dist/esm/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-8629f753.js} +2 -2
  127. package/dist/esm/sqm-portal-forgot-password.entry.js +5 -5
  128. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  129. package/dist/esm/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-847526a2.js} +3 -3
  130. package/dist/esm/sqm-portal-profile.entry.js +7 -7
  131. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  132. package/dist/esm/sqm-portal-registration-form.entry.js +5 -5
  133. package/dist/esm/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-865655da.js} +2 -2
  134. package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
  135. package/dist/esm/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-6c60df25.js} +2 -2
  136. package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
  137. package/dist/esm/sqm-referral-table_11.entry.js +11 -11
  138. package/dist/esm/sqm-referred-registration.entry.js +6 -6
  139. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  140. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  141. package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
  142. package/dist/esm/sqm-route.entry.js +1 -1
  143. package/dist/esm/sqm-stencilbook.entry.js +55 -28
  144. package/dist/esm/sqm-tab.entry.js +4 -4
  145. package/dist/esm/sqm-tabs.entry.js +5 -5
  146. package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  147. package/dist/esm/sqm-text-span.entry.js +3 -3
  148. package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  149. package/dist/esm/{useChildElements-37daf533.js → useChildElements-ebcfbc19.js} +2 -2
  150. package/dist/esm/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-7b2ea2bd.js} +3 -3
  151. package/dist/esm/{useReferralTable-42f99ea2.js → useReferralTable-df227f15.js} +5 -5
  152. package/dist/esm/{useRegistrationFormState-53c71782.js → useRegistrationFormState-faea9402.js} +2 -2
  153. package/dist/esm/{utilities-18d10876.js → utilities-292b61b9.js} +2 -2
  154. package/dist/esm-es5/{GenericTableView-bf154727.js → GenericTableView-706f5b56.js} +1 -1
  155. package/dist/esm-es5/ShadowViewAddon-db086943.js +1 -0
  156. package/dist/esm-es5/copy-text-view-47f83e9b.js +1 -0
  157. package/dist/esm-es5/{email-registration-view-12793040.js → email-registration-view-5ecee6f8.js} +1 -1
  158. package/dist/esm-es5/{global-b89b6edc.js → global-701bd5b0.js} +1 -1
  159. package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
  160. package/dist/esm-es5/{index.module-f122af7b.js → index.module-5eb0926c.js} +1 -1
  161. package/dist/esm-es5/loader.js +1 -1
  162. package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
  163. package/dist/esm-es5/mint-components.js +1 -1
  164. package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
  165. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  166. package/dist/esm-es5/{re-render-c64289f3.js → re-render-b31d83d7.js} +1 -1
  167. package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
  168. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  169. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  170. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  171. package/dist/esm-es5/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-8058642b.js} +1 -1
  172. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  173. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  174. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  175. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  176. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  177. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  178. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  179. package/dist/esm-es5/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-7d1aa71f.js} +1 -1
  180. package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
  181. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  182. package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
  183. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  184. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-9fa7f5ea.js} +1 -1
  185. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
  187. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  188. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  189. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  190. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  191. package/dist/esm-es5/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
  192. package/dist/esm-es5/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-332e1339.js} +1 -1
  193. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  194. package/dist/esm-es5/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-8629f753.js} +1 -1
  195. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  196. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  197. package/dist/esm-es5/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-847526a2.js} +1 -1
  198. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  199. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  200. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  201. package/dist/esm-es5/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-865655da.js} +1 -1
  202. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  203. package/dist/esm-es5/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-6c60df25.js} +1 -1
  204. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  205. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  206. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  207. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  208. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  209. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  210. package/dist/esm-es5/sqm-route.entry.js +1 -1
  211. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  212. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  213. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  214. package/dist/esm-es5/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
  215. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  216. package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
  217. package/dist/esm-es5/useChildElements-ebcfbc19.js +1 -0
  218. package/dist/esm-es5/useInstantAccessRegistration-7b2ea2bd.js +1 -0
  219. package/dist/esm-es5/{useReferralTable-42f99ea2.js → useReferralTable-df227f15.js} +1 -1
  220. package/dist/esm-es5/useRegistrationFormState-faea9402.js +1 -0
  221. package/dist/esm-es5/{utilities-18d10876.js → utilities-292b61b9.js} +1 -1
  222. package/dist/mint-components/mint-components.esm.js +1 -1
  223. package/dist/mint-components/mint-components.js +1 -1
  224. package/dist/mint-components/{p-fd2c5407.js → p-019506c4.js} +1 -1
  225. package/dist/mint-components/p-03e2a88c.js +1 -0
  226. package/dist/mint-components/{p-01434e4a.entry.js → p-04643464.entry.js} +1 -1
  227. package/dist/mint-components/p-062051ad.entry.js +1 -0
  228. package/dist/mint-components/{p-18a19cb5.system.js → p-06b8a582.system.js} +1 -1
  229. package/dist/mint-components/p-0a26adee.js +1 -0
  230. package/dist/mint-components/{p-523ed056.system.js → p-0dc18b5c.system.js} +1 -1
  231. package/dist/mint-components/p-0ebd104c.js +1 -0
  232. package/dist/mint-components/{p-8077e9c6.js → p-134424df.js} +1 -1
  233. package/dist/mint-components/p-146c2a0e.js +1 -0
  234. package/dist/mint-components/{p-c7ce2c1e.system.js → p-16b9efe1.system.js} +1 -1
  235. package/dist/mint-components/{p-991c9787.js → p-195e306e.js} +2 -2
  236. package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
  237. package/dist/mint-components/p-1a5f4a13.system.entry.js +1 -0
  238. package/dist/mint-components/{p-3cc5474d.entry.js → p-1c45b7d0.entry.js} +1 -1
  239. package/dist/mint-components/{p-bb6f6681.system.js → p-1e03d640.system.js} +1 -1
  240. package/dist/mint-components/{p-1099290c.system.js → p-1e68fa26.system.js} +1 -1
  241. package/dist/mint-components/p-20c6c73e.entry.js +1 -0
  242. package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
  243. package/dist/mint-components/{p-2e16db11.entry.js → p-2474c5c6.entry.js} +1 -1
  244. package/dist/mint-components/p-2478ab2e.js +1 -0
  245. package/dist/mint-components/{p-3373d84e.js → p-249798d3.js} +1 -1
  246. package/dist/mint-components/{p-1b1d10e5.entry.js → p-26383fdd.entry.js} +1 -1
  247. package/dist/mint-components/p-284f26ec.system.entry.js +1 -0
  248. package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
  249. package/dist/mint-components/{p-64fcb97f.system.entry.js → p-29e0dedf.system.entry.js} +1 -1
  250. package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
  251. package/dist/mint-components/{p-9deac406.system.js → p-2cb2401d.system.js} +1 -1
  252. package/dist/mint-components/{p-246a2827.entry.js → p-2d688fe9.entry.js} +1 -1
  253. package/dist/mint-components/{p-96cb9c17.entry.js → p-391b6274.entry.js} +1 -1
  254. package/dist/mint-components/{p-c39f9dc1.system.entry.js → p-3973cf23.system.entry.js} +1 -1
  255. package/dist/mint-components/{p-59c141a2.system.js → p-3c6bc373.system.js} +1 -1
  256. package/dist/mint-components/p-3ee0a8af.entry.js +1 -0
  257. package/dist/mint-components/p-3ef97112.system.js +1 -0
  258. package/dist/mint-components/{p-1c6e4a5f.entry.js → p-3f03a247.entry.js} +2 -2
  259. package/dist/mint-components/{p-855ae1b5.js → p-42390bcc.js} +1 -1
  260. package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
  261. package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
  262. package/dist/mint-components/{p-798ed3a2.entry.js → p-45f46e4c.entry.js} +1 -1
  263. package/dist/mint-components/{p-daba8cd2.system.entry.js → p-48a72a05.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-b334bde8.entry.js → p-4be053fb.entry.js} +2 -2
  265. package/dist/mint-components/{p-ec8a9e91.system.entry.js → p-4c1b1914.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-53ff8bd0.system.entry.js → p-4ef2f4f6.system.entry.js} +1 -1
  267. package/dist/mint-components/{p-48b7d703.entry.js → p-5073b8c9.entry.js} +1 -1
  268. package/dist/mint-components/{p-ea88142c.js → p-517bcc71.js} +1 -1
  269. package/dist/mint-components/{p-9288cca6.system.entry.js → p-51dba12d.system.entry.js} +1 -1
  270. package/dist/mint-components/p-53e25b79.entry.js +1 -0
  271. package/dist/mint-components/p-549139be.entry.js +1 -0
  272. package/dist/mint-components/p-57f92fe0.entry.js +1 -0
  273. package/dist/mint-components/{p-de2a8fae.system.entry.js → p-5922cd9e.system.entry.js} +1 -1
  274. package/dist/mint-components/{p-32cf8417.js → p-59e310c8.js} +1 -1
  275. package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
  276. package/dist/mint-components/{p-5c845bc2.system.entry.js → p-5dcd7fc9.system.entry.js} +1 -1
  277. package/dist/mint-components/p-5fe660bb.system.entry.js +1 -0
  278. package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
  279. package/dist/mint-components/p-64473f17.system.js +1 -0
  280. package/dist/mint-components/{p-e41cb11f.js → p-65535cf7.js} +1 -1
  281. package/dist/mint-components/{p-0806343b.js → p-6568392b.js} +1 -1
  282. package/dist/mint-components/p-66aca488.entry.js +1 -0
  283. package/dist/mint-components/{p-9c3d78e9.js → p-66c7b15c.js} +1 -1
  284. package/dist/mint-components/{p-f44d88fa.system.js → p-66d9a540.system.js} +1 -1
  285. package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
  286. package/dist/mint-components/{p-942d1c22.entry.js → p-6dab9a17.entry.js} +1 -1
  287. package/dist/mint-components/{p-0f028514.system.js → p-71e0ca2b.system.js} +1 -1
  288. package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
  289. package/dist/mint-components/{p-1c710e16.entry.js → p-752fd47b.entry.js} +1 -1
  290. package/dist/mint-components/{p-55588b46.system.js → p-778b3774.system.js} +1 -1
  291. package/dist/mint-components/p-7956a44f.system.entry.js +1 -0
  292. package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
  293. package/dist/mint-components/p-7dc69a64.entry.js +13 -0
  294. package/dist/mint-components/{p-7962ab58.system.entry.js → p-7f43c280.system.entry.js} +1 -1
  295. package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
  296. package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
  297. package/dist/mint-components/p-87113437.entry.js +11 -0
  298. package/dist/mint-components/{p-5d37482d.entry.js → p-8925f3c5.entry.js} +1 -1
  299. package/dist/mint-components/{p-21d4f6ce.system.js → p-8b9408e5.system.js} +1 -1
  300. package/dist/mint-components/{p-00be5090.js → p-8c765c81.js} +1 -1
  301. package/dist/mint-components/{p-dbc0db45.js → p-8cd49ec4.js} +3 -3
  302. package/dist/mint-components/{p-d68ed4a6.system.entry.js → p-9a1a4d71.system.entry.js} +1 -1
  303. package/dist/mint-components/p-9ed09b3a.system.js +1 -0
  304. package/dist/mint-components/p-9ee50200.entry.js +1 -0
  305. package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
  306. package/dist/mint-components/{p-03a647c2.system.js → p-9fc73ff8.system.js} +1 -1
  307. package/dist/mint-components/p-a13c83c5.entry.js +1 -0
  308. package/dist/mint-components/{p-ce746af8.system.js → p-a2aed0da.system.js} +1 -1
  309. package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
  310. package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
  311. package/dist/mint-components/{p-02f6cda4.js → p-a9ff5495.js} +1 -1
  312. package/dist/mint-components/{p-acc93caa.system.entry.js → p-af4cce6a.system.entry.js} +1 -1
  313. package/dist/mint-components/p-b08e9577.entry.js +1 -0
  314. package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
  315. package/dist/mint-components/p-b3aaeb2f.system.entry.js +1 -0
  316. package/dist/mint-components/p-b3d193e3.system.entry.js +1 -0
  317. package/dist/mint-components/{p-6e7e8af6.system.js → p-b3f02315.system.js} +1 -1
  318. package/dist/mint-components/{p-67846dce.system.entry.js → p-b4448aec.system.entry.js} +1 -1
  319. package/dist/mint-components/p-b6f61a27.entry.js +9 -0
  320. package/dist/mint-components/{p-ed161025.js → p-b7705066.js} +1 -1
  321. package/dist/mint-components/{p-43a990b6.system.js → p-b8230f83.system.js} +1 -1
  322. package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
  323. package/dist/mint-components/{p-f52c3aec.system.entry.js → p-c134af86.system.entry.js} +1 -1
  324. package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
  325. package/dist/mint-components/{p-ecefeaa9.system.entry.js → p-c3188365.system.entry.js} +1 -1
  326. package/dist/mint-components/{p-e2bb72eb.system.entry.js → p-c3b8765c.system.entry.js} +1 -1
  327. package/dist/mint-components/{p-22de9f73.system.entry.js → p-ca182259.system.entry.js} +1 -1
  328. package/dist/mint-components/{p-cfbe2f86.entry.js → p-cc1ffc0c.entry.js} +1 -1
  329. package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
  330. package/dist/mint-components/{p-73decce7.system.js → p-d2abffc0.system.js} +1 -1
  331. package/dist/mint-components/p-d8d97ff5.js +1 -0
  332. package/dist/mint-components/{p-1ce4fa30.system.entry.js → p-dac99706.system.entry.js} +1 -1
  333. package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
  334. package/dist/mint-components/{p-82e09b8d.system.entry.js → p-e1e700b8.system.entry.js} +1 -1
  335. package/dist/mint-components/{p-fb2c0ce4.system.entry.js → p-e3411b86.system.entry.js} +1 -1
  336. package/dist/mint-components/{p-88aac6a9.system.entry.js → p-e401cb44.system.entry.js} +1 -1
  337. package/dist/mint-components/{p-ed6ebd60.system.js → p-e479d77e.system.js} +1 -1
  338. package/dist/mint-components/{p-88a2e66e.system.entry.js → p-e53e95ce.system.entry.js} +1 -1
  339. package/dist/mint-components/{p-41499327.entry.js → p-e909906f.entry.js} +1 -1
  340. package/dist/mint-components/{p-452b562d.entry.js → p-e91bdadf.entry.js} +1 -1
  341. package/dist/mint-components/{p-6e62f207.entry.js → p-e92f0fbb.entry.js} +1 -1
  342. package/dist/mint-components/p-ebd6c7e5.js +52 -0
  343. package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
  344. package/dist/mint-components/{p-bf834367.system.js → p-ee474d4c.system.js} +1 -1
  345. package/dist/mint-components/{p-ff41c804.system.entry.js → p-f246f7dd.system.entry.js} +1 -1
  346. package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
  347. package/dist/mint-components/{p-14dac608.system.entry.js → p-f5c3a8cf.system.entry.js} +1 -1
  348. package/dist/mint-components/{p-a474b0ec.system.entry.js → p-f6712472.system.entry.js} +1 -1
  349. package/dist/mint-components/{p-46ca288c.system.js → p-f6c279d8.system.js} +1 -1
  350. package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
  351. package/dist/mint-components/{p-a1150633.system.entry.js → p-f9680769.system.entry.js} +1 -1
  352. package/dist/mint-components/{p-d3d281ff.entry.js → p-f9b9be03.entry.js} +1 -1
  353. package/dist/mint-components/{p-1df19ea2.js → p-fd04355d.js} +1 -1
  354. package/dist/mint-components/p-feace4a6.entry.js +1 -0
  355. package/dist/mint-components/{p-8c97bfb1.system.entry.js → p-fef83f2a.system.entry.js} +1 -1
  356. package/dist/mint-components/{p-fae82751.entry.js → p-ffdb1310.entry.js} +1 -1
  357. package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
  358. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +4 -0
  359. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +4 -0
  360. package/dist/types/components/sqm-pagination/usePagination.d.ts +1 -1
  361. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +1 -1
  362. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +2 -0
  363. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +6 -0
  364. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +7 -1
  365. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +9 -5
  366. package/dist/types/components/views/copy-text-view.d.ts +1 -0
  367. package/dist/types/components.d.ts +21 -3
  368. package/dist/types/stories/Widget.stories.d.ts +6 -0
  369. package/docs/docs.docx +0 -0
  370. package/docs/raisins.json +1 -1
  371. package/grapesjs/grapesjs.js +1 -1
  372. package/package.json +1 -1
  373. package/dist/esm-es5/ShadowViewAddon-95520b03.js +0 -1
  374. package/dist/esm-es5/copy-text-view-73cd7a82.js +0 -1
  375. package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
  376. package/dist/esm-es5/useChildElements-37daf533.js +0 -1
  377. package/dist/esm-es5/useInstantAccessRegistration-9d4cb797.js +0 -1
  378. package/dist/esm-es5/useRegistrationFormState-53c71782.js +0 -1
  379. package/dist/mint-components/p-0a898ab1.js +0 -1
  380. package/dist/mint-components/p-110dddfe.entry.js +0 -1
  381. package/dist/mint-components/p-12c56ba6.entry.js +0 -1
  382. package/dist/mint-components/p-15dee492.js +0 -1
  383. package/dist/mint-components/p-18a7f543.system.entry.js +0 -1
  384. package/dist/mint-components/p-1a02cebe.entry.js +0 -13
  385. package/dist/mint-components/p-26306ac4.system.entry.js +0 -1
  386. package/dist/mint-components/p-4068bd43.system.js +0 -1
  387. package/dist/mint-components/p-476182e7.system.entry.js +0 -1
  388. package/dist/mint-components/p-494e407e.entry.js +0 -1
  389. package/dist/mint-components/p-4f815653.entry.js +0 -9
  390. package/dist/mint-components/p-5b7e2d53.entry.js +0 -1
  391. package/dist/mint-components/p-5fc8d87c.system.js +0 -1
  392. package/dist/mint-components/p-639d3dd3.entry.js +0 -1
  393. package/dist/mint-components/p-6b0e6a6c.js +0 -1
  394. package/dist/mint-components/p-753a19e2.js +0 -25
  395. package/dist/mint-components/p-89a760ea.js +0 -1
  396. package/dist/mint-components/p-9dcfa187.system.js +0 -1
  397. package/dist/mint-components/p-aed69f9e.system.entry.js +0 -1
  398. package/dist/mint-components/p-b4eb9c46.entry.js +0 -11
  399. package/dist/mint-components/p-b5176703.entry.js +0 -1
  400. package/dist/mint-components/p-bd4e9c2b.js +0 -1
  401. package/dist/mint-components/p-c1ba2ad0.system.entry.js +0 -1
  402. package/dist/mint-components/p-c8878e79.entry.js +0 -1
  403. package/dist/mint-components/p-ca17d998.entry.js +0 -1
  404. package/dist/mint-components/p-d666b326.js +0 -1
  405. package/dist/mint-components/p-dc41ff27.entry.js +0 -1
  406. package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
  407. package/dist/mint-components/p-f1ec1180.entry.js +0 -1
  408. package/dist/mint-components/p-f26580a1.system.entry.js +0 -1
  409. package/dist/mint-components/p-f2a0658d.system.js +0 -1
  410. package/dist/types/global/android.d.ts +0 -7
  411. package/dist/types/global/demo.d.ts +0 -2
  412. package/dist/types/stories/features.d.ts +0 -4
  413. package/dist/types/stories/templates.d.ts +0 -4
@@ -1,17 +1,17 @@
1
- import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
- import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-b89b6edc.js';
4
- import { d as dist, Q, H, L, y as yn, k as kn, i as isDemo } from './index.module-f122af7b.js';
1
+ import { h, r as registerInstance, c as Host } from './index-014ddfa3.js';
2
+ import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-576d7f01.js';
3
+ import { i as intl } from './global-701bd5b0.js';
4
+ import { d as dist, Q, H, L, y as yn, k as kn, i as isDemo } from './index.module-5eb0926c.js';
5
5
  import { l as luxonLocale } from './utils-334c1e34.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
8
8
  import './mixins-f60a614c.js';
9
- import { G as GenericTableView } from './GenericTableView-bf154727.js';
10
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-c64289f3.js';
11
- import { u as useChildElements } from './useChildElements-37daf533.js';
12
- import { l as luxon } from './luxon-7600be8d.js';
13
- import { m as mockRewardData } from './mockRewardData-0eb6e778.js';
14
- import { g as generateUserError } from './useReferralTable-42f99ea2.js';
9
+ import { G as GenericTableView } from './GenericTableView-706f5b56.js';
10
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-b31d83d7.js';
11
+ import { u as useChildElements } from './useChildElements-ebcfbc19.js';
12
+ import { l as luxon } from './luxon-12195d94.js';
13
+ import { m as mockRewardData } from './mockRewardData-133c20ca.js';
14
+ import { g as generateUserError } from './useReferralTable-df227f15.js';
15
15
 
16
16
  const debug = browser("sq:useRewardsTable");
17
17
  const CSS_NAMESPACE = "sqm-rewards-table";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, c as Host } from './index-17b4da69.js';
1
+ import { r as registerInstance, h, c as Host } from './index-014ddfa3.js';
2
2
 
3
3
  const SqmRoute = class {
4
4
  constructor(hostRef) {
@@ -1,33 +1,33 @@
1
- import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
- import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import './global-b89b6edc.js';
4
- import { e as $n, S as Sn, b as setUserIdentity, d as dist, X as Xe, o as setProgramId } from './index.module-f122af7b.js';
1
+ import { h, r as registerInstance, c as Host } from './index-014ddfa3.js';
2
+ import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-576d7f01.js';
3
+ import './global-701bd5b0.js';
4
+ import { f as $n, S as Sn, c as setUserIdentity, d as dist, X as Xe, p as setProgramId } from './index.module-5eb0926c.js';
5
5
  import './utils-334c1e34.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
- import { C as CopyTextView } from './copy-text-view-73cd7a82.js';
7
+ import { C as CopyTextView } from './copy-text-view-47f83e9b.js';
8
8
  import './cjs-bdfb4486.js';
9
9
  import './mixins-f60a614c.js';
10
- import { G as GenericTableView } from './GenericTableView-bf154727.js';
11
- import './useChildElements-37daf533.js';
12
- import { l as luxon } from './luxon-7600be8d.js';
13
- import './sqm-text-span-view-8d140661.js';
14
- import { A as AssetCardView } from './sqm-asset-card-view-9d93fbdd.js';
15
- import { C as CloseButtonView } from './sqm-close-button-view-b24c708b.js';
10
+ import { G as GenericTableView } from './GenericTableView-706f5b56.js';
11
+ import './useChildElements-ebcfbc19.js';
12
+ import { l as luxon } from './luxon-12195d94.js';
13
+ import './sqm-text-span-view-d6e03f93.js';
14
+ import { A as AssetCardView } from './sqm-asset-card-view-da88351a.js';
15
+ import { C as CloseButtonView } from './sqm-close-button-view-8058642b.js';
16
16
  import './index-ffa26b43.js';
17
- import { E as EmailRegistrationView } from './email-registration-view-12793040.js';
18
- import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
19
- import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
20
- import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.js';
21
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-14114804.js';
22
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-ced567c9.js';
23
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-95cd454f.js';
24
- import { P as PortalProfileView } from './sqm-portal-profile-view-d72dd5ac.js';
25
- import './utilities-18d10876.js';
26
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-f1454d43.js';
27
- import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-3739f523.js';
28
- import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-95520b03.js';
29
- import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
30
- import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-09cc28d6.js';
17
+ import { E as EmailRegistrationView } from './email-registration-view-5ecee6f8.js';
18
+ import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-773a586f.js';
19
+ import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-dfcd508a.js';
20
+ import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-5f332ea1.js';
21
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-9fa7f5ea.js';
22
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-332e1339.js';
23
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-8629f753.js';
24
+ import { P as PortalProfileView } from './sqm-portal-profile-view-847526a2.js';
25
+ import './utilities-292b61b9.js';
26
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-865655da.js';
27
+ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-6c60df25.js';
28
+ import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-db086943.js';
29
+ import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-83df005d.js';
30
+ import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-7d1aa71f.js';
31
31
 
32
32
  /**
33
33
  * lodash (Custom Build) <https://lodash.com/>
@@ -4080,6 +4080,8 @@ const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito S
4080
4080
 
4081
4081
  const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer friends and complete tasks to earn rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n image-mobile-pos=\"top\"\n image-percentage=\"50\"\n padding-image=\"none\"\n padding-text=\"xxxx-large\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards Earned</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and you’ll get up to\n $1200\n </p>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>\n They’ll get a $50 credit towards a new account and you’ll get:\n </p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Post about us on X\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-referral-card>\n <sqm-portal-container\n gap=\"xx-large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n min-width=\"\"\n padding=\"none\"\n >\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\n <h3 slot=\"label\">Earn more rewards</h3>\n <p slot=\"content\">\n Get points while using our product. Use those points to redeem\n rewards like one free month of Enterprise or two plane tickets to\n anywhere in North America\n </p>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on X\"\n description=\"Earn 50 points when you Follow Us on X!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n </sqm-portal-container>\n <sqm-tabs>\n <sqm-tab header=\"Referral history\">\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n >\n </sqm-empty>\n </sqm-referral-table>\n </sqm-tab>\n <sqm-tab header=\"Reward history\">\n <sqm-rewards-table\n per-page=\"4\"\n program-id=\"\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-tab>\n </sqm-tabs>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4082
4082
 
4083
+ const promoCodeReferralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Refer a friend and earn up to $1200 in rewards\"\n layout=\"columns\"\n image-pos=\"right\"\n background-color=\"#F9F9F9\"\n >\n </sqm-hero-image>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n >\n <p>Referrals</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\n >\n <p>Giftcards</p>\n </sqm-big-stat>\n </sqm-stat-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Get rewarded when your friend uses our product</h3>\n </sqm-titled-section>\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>\n They’ll get a $50 credit towards a new account and you’ll get:\n </p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-referral-codes slot=\"right\">\n <sqm-pagination slot=\"pagination\"></sqm-pagination>\n <sqm-referral-code\n slot=\"shareCodes\"\n show-notification-text=\"true\"\n ></sqm-referral-code>\n <sqm-portal-container gap=\"small\" slot=\"shareButtons\">\n <sqm-share-button medium=\"email\"\n >Share via email</sqm-share-button\n >\n <sqm-share-button medium=\"fbmessenger\"\n >Share on Facebook</sqm-share-button\n >\n <sqm-share-button medium=\"whatsapp\"\n >Share on WhatsApp</sqm-share-button\n >\n </sqm-portal-container>\n </sqm-referral-codes>\n </sqm-referral-card>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Referral History</h3>\n </sqm-titled-section>\n <sqm-referral-table\n per-page=\"4\"\n hidden-columns=\"2\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-referral-table-user-column\n column-title=\"User\"\n anonymous-user=\"Anonymous User\"\n deleted-user=\"Deleted User\"\n >\n </sqm-referral-table-user-column>\n <sqm-referral-table-status-column\n column-title=\"Referral status\"\n converted-status-text=\"Converted\"\n in-progress-status-text=\"In Progress\"\n >\n </sqm-referral-table-status-column>\n <sqm-referral-table-rewards-column\n column-title=\"Rewards\"\n expiring-text=\"Expiring in\"\n fuel-tank-text=\"Your code is\"\n pending-for-text=\"{status} for {date}\"\n reward-received-text=\"Reward received on\"\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-referral-table-rewards-column>\n <sqm-referral-table-date-column\n column-title=\"Date referred\"\n date-shown=\"dateReferralStarted\"\n >\n </sqm-referral-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\n empty-state-header=\"View your referral details\"\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\n ></sqm-empty>\n </sqm-referral-table>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4084
+
4083
4085
  const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n background-color=\"#ffffff\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Complete tasks to earn rewards\"\n layout=\"overlay\"\n padding-image=\"xxxx-large\"\n padding-text=\"xxx-large\"\n image-pos=\"center\"\n overlay-color=\"#5e5669\"\n overlay-opacity=\"0.9\"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-program-explainer header=\"How it works\">\n <sqm-program-explainer-step\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\n header=\"Earn points for using our product\"\n icon=\"cash-stack\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\n header=\"Redeem rewards with your points\"\n icon=\"people\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction=\"row\"\n display=\"flex\"\n justify-content=\"space-between\"\n gap=\"xxx-large\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-titled-section\n label-margin=\"small\"\n padding=\"none\"\n text-align=\"center\"\n >\n <h3 slot=\"label\">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on X\"\n description=\"Earn 50 points when you Follow Us on X!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Reward History</h3>\n </sqm-titled-section>\n <sqm-rewards-table\n per-page=\"4\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https:\\/\\/example.com\"\n faq-link=\"https:\\/\\/example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
4084
4086
 
4085
4087
  const instantAccessReferrerShareWidget = "<sqm-hero\n background=\"https://res.cloudinary.com/saasquatch/image/upload/v1683589933/Portal%20Assets/Screen-Shot-2022-01-06-at-3.23.58-AM.png\"\n columns=\"2\"\n padding-size=\"medium\"\n wrap-direction=\"wrap\"\n secondary-background=\"#FFFFFF\"\n min-height=\"200\"\n ><sqm-referral-card\n vertical-alignment=\"start\"\n slot=\"secondary-column\"\n padding-bottom=\"small\"\n padding-left=\"x-large\"\n padding-right=\"x-large\"\n padding-top=\"small\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"none\"\n padding=\"none\"\n slot=\"header\"\n ><h1 slot=\"label\">Invite your friends to unlock rewards!</h1>\n <p slot=\"content\">\n They&#x2019;ll get a &#x24;50 credit towards a new account and\n you&#x2019;ll get a &#x24;50 in credit for each friend you refer.\n </p></sqm-titled-section\n >\n <sqm-portal-container\n gap=\"small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n slot=\"left\"\n >\n <p style=\"margin: 0\">Choose how you want to share:</p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Post about us on X\n </sqm-share-button> </sqm-portal-container\n ><sqm-portal-container\n display=\"flex\"\n slot=\"footer\"\n gap=\"small\"\n justify-content=\"center\"\n >\n <sqm-logout-current-user\n user-identification-text=\"{email}\"\n switch-user-link=\"#\"\n switch-user-text=\"not you?\"\n ></sqm-logout-current-user>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n show-powered-by=\"true\"\n padding-bottom=\"x-small\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n hide-support-text\n terms-text=\"Terms And Conditions\"\n terms-link=\"https://example.com\"\n ></sqm-portal-footer></sqm-portal-container\n ></sqm-referral-card>\n</sqm-hero>\n";
@@ -7136,6 +7138,10 @@ const Loyalty = createHookStory(() => {
7136
7138
  const { states, callbacks } = useTemplate$1(loyaltyWidget);
7137
7139
  return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: loyaltyWidget }));
7138
7140
  });
7141
+ const PromoCodeReferralWidget = createHookStory(() => {
7142
+ const { states, callbacks } = useTemplate$1(promoCodeReferralWidget);
7143
+ return (h(DefaultTemplateView, { states: states, callbacks: callbacks, template: referralWidget }));
7144
+ });
7139
7145
  const InstantAccessReferrerShareWidget = createHookStory(() => {
7140
7146
  const { states, callbacks } = useTemplate$1(instantAccessReferrerShareWidget);
7141
7147
  return h(TemplateView$1, { states: states, callbacks: callbacks });
@@ -7167,6 +7173,7 @@ const Widget = /*#__PURE__*/Object.freeze({
7167
7173
  ReferralWidget: ReferralWidget,
7168
7174
  MonoWidget: MonoWidget,
7169
7175
  Loyalty: Loyalty,
7176
+ PromoCodeReferralWidget: PromoCodeReferralWidget,
7170
7177
  InstantAccessReferrerShareWidget: InstantAccessReferrerShareWidget,
7171
7178
  PaypalMonoWidget: PaypalMonoWidget,
7172
7179
  PaypalReferralWidget: PaypalReferralWidget,
@@ -13857,7 +13864,7 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
13857
13864
  Error: Error$7
13858
13865
  });
13859
13866
 
13860
- const scenario$A = "@author:sam\n@owner:sam\nFeature: Referral Code\n\n The referral code component is a box that allows users to see and copy their referral promo code for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users referral code can be copied to their clipboard\n Given tooltiptext is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's referral code\n When the clipboard icon is clicked\n Then the code is copied to clipboard\n And a tooltip will appear for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan defaults to 2000\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip will appear for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share code is \"SHARECODE001\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their code\n Given a user viewing the referral code component\n And the component is rendered for \"program-a\"\n When they click to copy their code\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n\n @ui\n Scenario Outline: user can edit the alignment of the share code text\n Given a user is editing the referral code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the referral code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
13867
+ const scenario$A = "@author:sam\n@owner:sam\nFeature: Referral Code\n\n The referral code component is a box that allows users to see and copy their referral promo code for a given program\n\n Background: Environment\n Given there is a valid program ID in the environment\n And there is a valid user ID and account ID in the environment\n\n @motivating\n Scenario: A Users referral code can be copied to their clipboard\n Given tooltiptext is \"hello tooltip\"\n When the component renders\n Then there is a textbox with the user's referral code\n When the clipboard icon is clicked\n Then the code is copied to clipboard\n And a tooltip will appear for ~1 second\n\n @minutia\n Scenario: Tooltip lifespan can be customized\n Given the tooltip's lifespan is set to 2000\n And there is tooltip text\n When the component renders\n And the clipboard icon is clicked\n Then a tooltip will appear for ~2 seconds\n\n @minutia\n Scenario: Demo\n Given isDemo() returns true\n Then the share code is \"SHARECODE001\"\n And the component won't be interactive\n And the tooltip is hidden\n\n @minutia\n Scenario: Program ID can be sourced from prop\n Given the programId prop is set to \"program-a\"\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-a\"\n\n @minutia\n Scenario: Program ID can be sourced from window\n Given the programId prop is unset\n And window.widgetIdent.programId is set to \"program-b\"\n When the component renders\n Then the share code is for \"program-b\"\n\n @minutia\n Scenario: An analytic event is fired when a user copies their code\n Given a user viewing the referral code component\n And the component is rendered for \"program-a\"\n When they click to copy their code\n Then an \"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT\" analytic event is fired\n And it is for \"program-a\"\n And it has share medium \"DIRECT\"\n\n @ui\n Scenario Outline: user can edit the alignment of the share code text\n Given a user is editing the referral code component\n Then they see \"Align text\" props\n And the default value is \"left\"\n When they change the option to <option>\n Then they see the text in <position>\n Examples:\n | option | position |\n | left | left |\n | center | center |\n | right | right |\n\n @ui\n Scenario Outline: The position of the copy button can be changed\n Given a user is editing the referral code component\n Then they see \"Style\" props\n And the default value is \"icon\"\n When they change the option to <option>\n Then they see the copy button in <position>\n Examples:\n | option | position |\n | button outside | outside the input, on the right |\n | button below | outside the input, below |\n | icon | inside the input as an icon |\n";
13861
13868
 
13862
13869
  const ReferralCode_stories = {
13863
13870
  title: "Components/Referral Code",
@@ -15100,7 +15107,7 @@ const UseInvoiceTableCells = /*#__PURE__*/Object.freeze({
15100
15107
  InvoiceTableDemoHook: InvoiceTableDemoHook
15101
15108
  });
15102
15109
 
15103
- const scenario$E = "@author: sam\n@owner: sam\n\nFeature: Referral Codes Component\n\n A paginated display of available and used promo codes for the user to share with others\n\n @motivating\n Scenario: Promo code can be shared using various share mediums\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n Then the promo code can be copied directly\n And the promo code can be shared using <shareMedium>\n\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario: User is notified if the currently viewed promo code has been used already\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the code has not been used already\n Then no notification text is displayed\n When the code is changed to one that has been used\n Then the notification text is displayed\n\n @minutia\n Scenario Outline: Share buttons slots use the link from referral codes instead of the default query\n Given an authenticated user\n And the program has promo codes configured\n And a <shareMedium> button is a child of `<sqm-referral-codes>`\n Then the <shareMedium> button is shown\n And the link is <promoCode>\n Examples:\n | propName | shareMedium | promoCode |\n | hideSharelink | DIRECT | PROMOCODE1 |\n | hideEmail | EMAIL | PROMOCODE1 |\n | hideFbMessenger | FBMESSENGER | PROMOCODE1 |\n | hideWhatsApp | WHATSAPP | PROMOCODE1 |\n\n @minutia\n Scenario Outline: Number of codes is displayed in the pagination component\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has <numCodes> available\n And the user is on <currentPage>\n Then the pagination text is <paginationText>\n Examples:\n | numCodes | currentPage | paginationText |\n | 5 | 1 | 1 of 5 |\n | 5 | 2 | 2 of 5 |\n | 5 | 3 | 3 of 5 |\n | 5 | 4 | 4 of 5 |\n | 5 | 5 | 5 of 5 |\n | 1 | 1 | 1 of 1 |\n | 0 | 0 | 0 of 0 |\n\n";
15110
+ const scenario$E = "@author:sam\n@owner:sam\n\nFeature: Referral Codes Component\n\n A paginated display of available and used promo codes for the user to share with others\n\n @motivating\n Scenario: Promo code can be shared using various share mediums\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n Then the promo code can be copied directly\n And the promo code can be shared using <shareMedium>\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario: Clicking any of the share mediums sets the code as copied\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n When clicking <shareMedium> button\n Then the code is marked as copied\n And the copied notification text is shown\n Examples:\n | shareMedium |\n | DIRECT |\n | EMAIL |\n | FBMESSENGER |\n | WHATSAPP |\n\n @minutia\n Scenario Outline: User is notified if the currently viewed promo code has been copied already\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the code has not been copied already\n Then no notification text is displayed\n When the code is changed to one that has been copied\n Then the <notificationText> is displayed\n Examples:\n | notificationText |\n | You've copied this code before |\n | Previously Copied |\n | foo |\n\n @minutia\n Scenario Outline: Share buttons slots use the link from referral codes instead of the default query\n Given an authenticated user\n And the program has promo codes configured\n And a <shareMedium> button is a child of `<sqm-referral-codes>`\n Then the <shareMedium> button is shown\n And the link uses <promoCode>\n Examples:\n | propName | shareMedium | promoCode |\n | hideSharelink | DIRECT | PROMOCODE1 |\n | hideEmail | EMAIL | PROMOCODE1 |\n | hideFbMessenger | FBMESSENGER | PROMOCODE1 |\n | hideWhatsApp | WHATSAPP | PROMOCODE1 |\n\n @minutia\n Scenario Outline: Number of codes is displayed in the pagination component\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has <numCodes> available\n And the user is on <currentPage>\n Then the pagination text is <paginationText>\n Examples:\n | numCodes | currentPage | paginationText |\n | 5 | 1 | 1 of 5 |\n | 5 | 2 | 2 of 5 |\n | 5 | 3 | 3 of 5 |\n | 5 | 4 | 4 of 5 |\n | 5 | 5 | 5 of 5 |\n | 1 | 1 | 1 of 1 |\n | 0 | 0 | 0 of 0 |\n\n @minutia\n Scenario: Loading state is shown when changing code page\n Given an authenticated user\n And the program has promo codes configured\n When the promo code section is loaded\n And the user has more than 1 available\n When the next button is clicked\n Then a loading state is shown\n\n\n";
15104
15111
 
15105
15112
  const ReferralCodes_stories = {
15106
15113
  title: "Components/Referral Codes",
@@ -15108,6 +15115,12 @@ const ReferralCodes_stories = {
15108
15115
  scenario: scenario$E,
15109
15116
  },
15110
15117
  };
15118
+ const demoData = {
15119
+ states: {
15120
+ noCodes: false,
15121
+ loading: false,
15122
+ },
15123
+ };
15111
15124
  const pagination = (slot) => {
15112
15125
  return h("sqm-pagination", { slot: slot });
15113
15126
  };
@@ -15135,12 +15148,26 @@ const WithPreviouslyCopiedCode = () => {
15135
15148
  shareCodeWithPreviouslyCopied("shareCodes"),
15136
15149
  shareButtons("shareButtons")));
15137
15150
  };
15151
+ const Empty$3 = () => {
15152
+ return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, noCodes: true } } },
15153
+ pagination("pagination"),
15154
+ shareCodes("shareCodes"),
15155
+ shareButtons("shareButtons")));
15156
+ };
15157
+ const Loading$7 = () => {
15158
+ return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, loading: true } } },
15159
+ pagination("pagination"),
15160
+ shareCodes("shareCodes"),
15161
+ shareButtons("shareButtons")));
15162
+ };
15138
15163
 
15139
15164
  const ReferralCodes$1 = /*#__PURE__*/Object.freeze({
15140
15165
  __proto__: null,
15141
15166
  'default': ReferralCodes_stories,
15142
15167
  ReferralCodes: ReferralCodes,
15143
- WithPreviouslyCopiedCode: WithPreviouslyCopiedCode
15168
+ WithPreviouslyCopiedCode: WithPreviouslyCopiedCode,
15169
+ Empty: Empty$3,
15170
+ Loading: Loading$7
15144
15171
  });
15145
15172
 
15146
15173
  /**
@@ -1,7 +1,7 @@
1
- import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
- import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import './index.module-f122af7b.js';
4
- import { a as useRequestRerender } from './re-render-c64289f3.js';
1
+ import { h, c as Host, r as registerInstance } from './index-014ddfa3.js';
2
+ import { n as h$1 } from './stencil-hooks.module-576d7f01.js';
3
+ import './index.module-5eb0926c.js';
4
+ import { a as useRequestRerender } from './re-render-b31d83d7.js';
5
5
 
6
6
  const TabView = ({}, children) => {
7
7
  return h(Host, null, children);
@@ -1,9 +1,9 @@
1
- import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
- import { u as useMemo, f as useEffect, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { _ } from './index.module-f122af7b.js';
1
+ import { h, c as Host, r as registerInstance } from './index-014ddfa3.js';
2
+ import { u as useMemo, f as useEffect, n as h$1 } from './stencil-hooks.module-576d7f01.js';
3
+ import { _ } from './index.module-5eb0926c.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
- import { u as useRerenderListener } from './re-render-c64289f3.js';
6
- import { u as useChildElements } from './useChildElements-37daf533.js';
5
+ import { u as useRerenderListener } from './re-render-b31d83d7.js';
6
+ import { u as useChildElements } from './useChildElements-ebcfbc19.js';
7
7
 
8
8
  const TabsView = ({ content, placement, }) => {
9
9
  // Vertical padding for top & bottom placement, horizontal for left & right.
@@ -1,4 +1,4 @@
1
- import { h } from './index-17b4da69.js';
1
+ import { h } from './index-014ddfa3.js';
2
2
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
 
4
4
  const style = {
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-ac12ca1c.js';
1
+ import { r as registerInstance, h as h$1 } from './index-014ddfa3.js';
2
+ import { n as h } from './stencil-hooks.module-576d7f01.js';
3
3
  import './JSS-67b5cff8.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-d6e03f93.js';
5
5
 
6
6
  const Text = class {
7
7
  constructor(hostRef) {
@@ -1,4 +1,4 @@
1
- import { g as getElement, f as forceUpdate, a as getRenderingRef } from './index-17b4da69.js';
1
+ import { g as getElement, f as forceUpdate, a as getRenderingRef } from './index-014ddfa3.js';
2
2
 
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
 
@@ -1,5 +1,5 @@
1
- import { k as useState, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
2
- import { _ } from './index.module-f122af7b.js';
1
+ import { k as useState, u as useMemo } from './stencil-hooks.module-576d7f01.js';
2
+ import { _ } from './index.module-5eb0926c.js';
3
3
 
4
4
  function useChildElements() {
5
5
  const host = _();
@@ -1,7 +1,7 @@
1
- import { k as useState } from './stencil-hooks.module-ac12ca1c.js';
2
- import { c as mn } from './index.module-f122af7b.js';
1
+ import { k as useState } from './stencil-hooks.module-576d7f01.js';
2
+ import { e as mn } from './index.module-5eb0926c.js';
3
3
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
4
- import { u as useRegistrationFormState } from './useRegistrationFormState-53c71782.js';
4
+ import { u as useRegistrationFormState } from './useRegistrationFormState-faea9402.js';
5
5
 
6
6
  function useInstantAccessRegistration(props) {
7
7
  const cookie = new URLSearchParams(window.location.search);
@@ -1,8 +1,8 @@
1
- import { h } from './index-17b4da69.js';
2
- import { b as browser, j as useReducer, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
3
- import { d as dist, Q, H, L, y as yn, k as kn } from './index.module-f122af7b.js';
4
- import { u as useRerenderListener } from './re-render-c64289f3.js';
5
- import { u as useChildElements } from './useChildElements-37daf533.js';
1
+ import { h } from './index-014ddfa3.js';
2
+ import { b as browser, j as useReducer, f as useEffect } from './stencil-hooks.module-576d7f01.js';
3
+ import { d as dist, Q, H, L, y as yn, k as kn } from './index.module-5eb0926c.js';
4
+ import { u as useRerenderListener } from './re-render-b31d83d7.js';
5
+ import { u as useChildElements } from './useChildElements-ebcfbc19.js';
6
6
 
7
7
  const debug = browser("sq:useReferralTable");
8
8
  const CSS_NAMESPACE = "sqm-referral-table";
@@ -1,5 +1,5 @@
1
- import { y } from './stencil-hooks.module-ac12ca1c.js';
2
- import { _ } from './index.module-f122af7b.js';
1
+ import { y } from './stencil-hooks.module-576d7f01.js';
2
+ import { _ } from './index.module-5eb0926c.js';
3
3
 
4
4
  const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
5
5
  function useRegistrationFormState(formState) {
@@ -1,5 +1,5 @@
1
- import { k as useState, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
2
- import { u as useCallback } from './index.module-f122af7b.js';
1
+ import { k as useState, f as useEffect } from './stencil-hooks.module-576d7f01.js';
2
+ import { u as useCallback } from './index.module-5eb0926c.js';
3
3
 
4
4
  // import { IntlMessageFormat } from 'intl-messageformat';
5
5
  function isMobile(breakPoint) {
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var a,t=1,l=arguments.length;t<l;t++){a=arguments[t];for(var r in a)if(Object.prototype.hasOwnProperty.call(a,r))e[r]=a[r]}return e};return __assign.apply(this,arguments)};import{h}from"./index-17b4da69.js";import{c as createStyleSheet}from"./JSS-67b5cff8.js";import{g as gap}from"./mixins-f60a614c.js";function GenericTableView(e){var a;var t=e.states,l=e.data,r=e.callbacks,s=e.elements;var n=s.columns,i=s.rows;var o=t.show;var d=l.hiddenColumns&&l.hiddenColumns.split(",").map(Number);var p="@media (max-width: "+l.mdBreakpoint+"px)";var c="@media (min-width: "+(Boolean(i.length<2)?l.mdBreakpoint:l.smBreakpoint)+"px) and (max-width: "+l.mdBreakpoint+"px)";var m={Table:(a={borderCollapse:"collapse",tableLayout:"fixed",width:"100%","& tbody tr":{borderBottom:"1px solid var(--sl-color-neutral-200)","&:first-child":{borderTop:"1px solid var(--sl-color-neutral-200)"}},"& th":{paddingBottom:"var(--sl-spacing-small)",textAlign:"left",fontWeight:"var(--sl-font-weight-semibold)",overflowWrap:"anywhere"},"& td":{padding:"var(--sl-spacing-small)",paddingLeft:"0",overflow:"hidden",textOverflow:"ellipsis"}},a[p]={"& thead":{display:"none"},"& tr":{display:"block",background:"#FFFFFF",border:"1px solid var(--sl-color-neutral-200)",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.1)",borderRadius:"var(--sl-border-radius-large)",padding:"var(--sl-spacing-medium)",fontSize:"var(--sl-font-size-small)",marginBottom:"var(--sl-spacing-large)"},"& td":{display:"grid",borderTop:"none",padding:"0",marginBottom:"var(--sl-spacing-medium)","&:first-child":{textAlign:"left"},"&:before":{content:"attr(data-label)",whiteSpace:"nowrap"},"&:last-child":{marginBottom:"0"},"&.hidden:before":{content:"none"}}},a[c]={"& tbody":{display:"grid",gridTemplateColumns:"0.5fr 0.5fr",gap:"25px"}},a),ButtonContainer:__assign({display:"flex","justify-content":"flex-end","margin-top":"var(--sl-spacing-small)"},gap({direction:"row",size:"var(--sl-spacing-small)"})),ButtonDisabled:{"&::part(base)":{opacity:"0.25"}}};var u=createStyleSheet(m);var b=u.toString();if(o==="empty")return s.emptyElement;return h("div",null,h("style",{type:"text/css"},b),h("table",{class:u.classes.Table},l.textOverrides.showLabels&&h("thead",null,h("tr",null,n===null||n===void 0?void 0:n.map((function(e){if(typeof e==="string")return h("th",null,e);return h("th",{style:{width:"30px"}},e)})))),h("tbody",null,o==="loading"&&s.loadingElement,o==="rows"&&(i===null||i===void 0?void 0:i.map((function(e,a){return h("tr",{style:{borderTop:""+(!l.textOverrides.showLabels&&a===0?"none":"")},part:"table-row"},e.map((function(e,a){return typeof n[a]==="string"?h("td",{class:(d===null||d===void 0?void 0:d.includes(a))?"hidden":"","data-label":n[a]+":",style:{gridTemplateColumns:(d===null||d===void 0?void 0:d.includes(a))?"1fr":"0.5fr 0.5fr"}},e):h("td",null,e)})))}))))),h("div",{class:u.classes.ButtonContainer,part:t.namespace+"-button-wrapper"},h("sl-button",{size:"small",disabled:!t.hasPrev,loading:o==="loading",onClick:r.prevPage,exportparts:"base: defaultbutton-base",class:!t.hasPrev?u.classes.ButtonDisabled:""},l.textOverrides.prevLabel),h("sl-button",{size:"small",loading:o==="loading",disabled:!t.hasNext,onClick:r.nextPage,exportparts:"base: defaultbutton-base",class:!t.hasNext?u.classes.ButtonDisabled:""},l.textOverrides.moreLabel)))}export{GenericTableView as G};
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var a,t=1,l=arguments.length;t<l;t++){a=arguments[t];for(var r in a)if(Object.prototype.hasOwnProperty.call(a,r))e[r]=a[r]}return e};return __assign.apply(this,arguments)};import{h}from"./index-014ddfa3.js";import{c as createStyleSheet}from"./JSS-67b5cff8.js";import{g as gap}from"./mixins-f60a614c.js";function GenericTableView(e){var a;var t=e.states,l=e.data,r=e.callbacks,s=e.elements;var n=s.columns,i=s.rows;var o=t.show;var d=l.hiddenColumns&&l.hiddenColumns.split(",").map(Number);var p="@media (max-width: "+l.mdBreakpoint+"px)";var c="@media (min-width: "+(Boolean(i.length<2)?l.mdBreakpoint:l.smBreakpoint)+"px) and (max-width: "+l.mdBreakpoint+"px)";var m={Table:(a={borderCollapse:"collapse",tableLayout:"fixed",width:"100%","& tbody tr":{borderBottom:"1px solid var(--sl-color-neutral-200)","&:first-child":{borderTop:"1px solid var(--sl-color-neutral-200)"}},"& th":{paddingBottom:"var(--sl-spacing-small)",textAlign:"left",fontWeight:"var(--sl-font-weight-semibold)",overflowWrap:"anywhere"},"& td":{padding:"var(--sl-spacing-small)",paddingLeft:"0",overflow:"hidden",textOverflow:"ellipsis"}},a[p]={"& thead":{display:"none"},"& tr":{display:"block",background:"#FFFFFF",border:"1px solid var(--sl-color-neutral-200)",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.1)",borderRadius:"var(--sl-border-radius-large)",padding:"var(--sl-spacing-medium)",fontSize:"var(--sl-font-size-small)",marginBottom:"var(--sl-spacing-large)"},"& td":{display:"grid",borderTop:"none",padding:"0",marginBottom:"var(--sl-spacing-medium)","&:first-child":{textAlign:"left"},"&:before":{content:"attr(data-label)",whiteSpace:"nowrap"},"&:last-child":{marginBottom:"0"},"&.hidden:before":{content:"none"}}},a[c]={"& tbody":{display:"grid",gridTemplateColumns:"0.5fr 0.5fr",gap:"25px"}},a),ButtonContainer:__assign({display:"flex","justify-content":"flex-end","margin-top":"var(--sl-spacing-small)"},gap({direction:"row",size:"var(--sl-spacing-small)"})),ButtonDisabled:{"&::part(base)":{opacity:"0.25"}}};var u=createStyleSheet(m);var b=u.toString();if(o==="empty")return s.emptyElement;return h("div",null,h("style",{type:"text/css"},b),h("table",{class:u.classes.Table},l.textOverrides.showLabels&&h("thead",null,h("tr",null,n===null||n===void 0?void 0:n.map((function(e){if(typeof e==="string")return h("th",null,e);return h("th",{style:{width:"30px"}},e)})))),h("tbody",null,o==="loading"&&s.loadingElement,o==="rows"&&(i===null||i===void 0?void 0:i.map((function(e,a){return h("tr",{style:{borderTop:""+(!l.textOverrides.showLabels&&a===0?"none":"")},part:"table-row"},e.map((function(e,a){return typeof n[a]==="string"?h("td",{class:(d===null||d===void 0?void 0:d.includes(a))?"hidden":"","data-label":n[a]+":",style:{gridTemplateColumns:(d===null||d===void 0?void 0:d.includes(a))?"1fr":"0.5fr 0.5fr"}},e):h("td",null,e)})))}))))),h("div",{class:u.classes.ButtonContainer,part:t.namespace+"-button-wrapper"},h("sl-button",{size:"small",disabled:!t.hasPrev,loading:o==="loading",onClick:r.prevPage,exportparts:"base: defaultbutton-base",class:!t.hasPrev?u.classes.ButtonDisabled:""},l.textOverrides.prevLabel),h("sl-button",{size:"small",loading:o==="loading",disabled:!t.hasNext,onClick:r.nextPage,exportparts:"base: defaultbutton-base",class:!t.hasNext?u.classes.ButtonDisabled:""},l.textOverrides.moreLabel)))}export{GenericTableView as G};