@saasquatch/mint-components 1.6.2-2 → 1.6.2-22

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 (578) hide show
  1. package/dist/{esm/useValidationState-adb2b066.js → cjs/AsYouType-6788393a.js} +2 -10
  2. package/dist/cjs/{GenericTableView-4921be4b.js → GenericTableView-9271483b.js} +3 -3
  3. package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
  4. package/dist/cjs/{ShadowViewAddon-aa14c0c4.js → ShadowViewAddon-4b75a331.js} +56 -42
  5. package/dist/cjs/{global-5e3deef1.js → global-b645d18a.js} +5 -15
  6. package/dist/cjs/{index.module-ffe1aa35.js → index.module-93c78ac7.js} +6884 -6841
  7. package/dist/cjs/loader.cjs.js +5 -6
  8. package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
  9. package/dist/cjs/mint-components.cjs.js +5 -6
  10. package/dist/cjs/raisins-plop-target.cjs.entry.js +2 -5
  11. package/dist/cjs/{re-render-8fee17a9.js → re-render-afeabe91.js} +5 -5
  12. package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
  13. package/dist/cjs/sqm-asset-card.cjs.entry.js +7 -8
  14. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +215 -200
  15. package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -5
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -8
  18. package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
  19. package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-ba78dcaf.js} +3 -3
  20. package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
  21. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  22. package/dist/cjs/{sqm-navigation-sidebar-item-view-9820193d.js → sqm-navigation-sidebar-item-view-2eda59bf.js} +3 -3
  23. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
  24. package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
  25. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -4
  26. package/dist/cjs/sqm-password-field.cjs.entry.js +23 -20
  27. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
  28. package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
  29. package/dist/cjs/{sqm-portal-email-verification-view-57fbd19b.js → sqm-portal-email-verification-view-b280d0b0.js} +3 -3
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
  31. package/dist/cjs/{sqm-portal-footer-view-eb757378.js → sqm-portal-footer-view-6b0660cf.js} +3 -3
  32. package/dist/cjs/sqm-portal-footer.cjs.entry.js +17 -9
  33. package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +2 -2
  34. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +38 -28
  35. package/dist/cjs/sqm-portal-logout.cjs.entry.js +10 -8
  36. package/dist/cjs/{sqm-portal-profile-view-7cb535a8.js → sqm-portal-profile-view-e615e2b2.js} +4 -4
  37. package/dist/cjs/sqm-portal-profile.cjs.entry.js +27 -36
  38. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +13 -11
  39. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +138 -71
  40. package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
  41. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +45 -50
  42. package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
  43. package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
  44. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +37 -56
  45. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -16
  46. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -4
  47. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -5
  48. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -21
  49. package/dist/cjs/sqm-stencilbook.cjs.entry.js +173 -138
  50. package/dist/cjs/sqm-tab.cjs.entry.js +7 -0
  51. package/dist/cjs/sqm-tabs.cjs.entry.js +8 -7
  52. package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-b318af73.js} +1 -1
  53. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -4
  54. package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
  55. package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
  56. package/dist/cjs/useChildElements-c0cc8f5d.js +32 -0
  57. package/dist/cjs/{useReferralTable-7e18f12e.js → useReferralTable-db1b33db.js} +10 -10
  58. package/dist/cjs/useRegistrationFormState-bee054d6.js +14 -0
  59. package/dist/collection/collection-manifest.json +2 -4
  60. package/dist/collection/components/{sqm-rewards-table/columns/sqm-rewards-table-plop-target.js → raisins-plop-target/raisins-plop-target.js} +1 -6
  61. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +2 -2
  62. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +1 -1
  63. package/dist/collection/components/sqm-brand/sqm-brand.js +7 -1
  64. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
  65. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
  66. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -2
  67. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +13 -7
  68. package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +3 -3
  69. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
  70. package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
  71. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
  72. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +10 -3
  73. package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
  74. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
  75. package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
  76. package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
  77. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
  78. package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
  79. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  80. package/dist/collection/components/sqm-image/sqm-image.js +1 -1
  81. package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
  82. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
  83. package/dist/collection/components/sqm-input-field/sqm-input-field.js +9 -3
  84. package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
  85. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
  86. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +10 -3
  87. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
  88. package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -3
  89. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -3
  90. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +7 -1
  91. package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -3
  92. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +8 -4
  93. package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -12
  94. package/dist/collection/components/sqm-password-field/usePasswordField.js +4 -4
  95. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +3 -1
  96. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +19 -13
  97. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
  98. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
  99. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +15 -7
  100. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
  101. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
  102. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
  103. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +43 -7
  104. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +68 -9
  105. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +16 -16
  106. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +0 -4
  107. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -1
  108. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +56 -54
  109. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
  110. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +10 -4
  111. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +27 -35
  112. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
  113. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +10 -9
  114. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
  115. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -6
  116. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +45 -39
  117. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
  118. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
  119. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +17 -11
  120. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +66 -38
  121. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +97 -36
  122. package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
  123. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +29 -21
  124. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
  125. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +17 -9
  126. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +21 -41
  127. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
  128. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
  129. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
  130. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -8
  131. package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -1
  132. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +15 -9
  133. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  134. package/dist/collection/components/sqm-route/sqm-route.js +2 -1
  135. package/dist/collection/components/sqm-router/sqm-router.js +2 -1
  136. package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
  137. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  138. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  139. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
  140. package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
  141. package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +14 -2
  142. package/dist/collection/components/sqm-table-row/sqm-table-row.js +11 -1
  143. package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -3
  144. package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
  145. package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
  146. package/dist/collection/components/sqm-text/sqm-text.js +0 -7
  147. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  148. package/dist/collection/components/sqm-user-name/sqm-user-name.js +3 -3
  149. package/dist/collection/global/styles.js +2 -12
  150. package/dist/collection/global/styles.ts +2 -12
  151. package/dist/collection/tables/GenericTableView.js +2 -2
  152. package/dist/collection/tables/useChildElements.js +13 -4
  153. package/dist/{cjs/useValidationState-63f00763.js → esm/AsYouType-46f67d0d.js} +1 -15
  154. package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +3 -3
  155. package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
  156. package/dist/esm/{ShadowViewAddon-3626a92b.js → ShadowViewAddon-c201908c.js} +56 -42
  157. package/dist/esm/{global-0842e0e4.js → global-c2d5e2fa.js} +5 -15
  158. package/dist/esm/{index.module-96470dcf.js → index.module-25496635.js} +6865 -6822
  159. package/dist/esm/loader.js +5 -6
  160. package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
  161. package/dist/esm/mint-components.js +5 -6
  162. package/dist/esm/raisins-plop-target.entry.js +6 -9
  163. package/dist/esm/{re-render-f444e556.js → re-render-8ece93cd.js} +5 -5
  164. package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  165. package/dist/esm/sqm-asset-card.entry.js +7 -8
  166. package/dist/esm/sqm-big-stat_35.entry.js +214 -199
  167. package/dist/esm/sqm-empty_5.entry.js +4 -5
  168. package/dist/esm/sqm-form-message.entry.js +1 -1
  169. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
  170. package/dist/esm/sqm-header-logo.entry.js +26 -0
  171. package/dist/esm/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +3 -3
  172. package/dist/esm/sqm-hero.entry.js +6 -5
  173. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
  174. package/dist/esm/{sqm-navigation-sidebar-item-view-fb10e0c2.js → sqm-navigation-sidebar-item-view-24d5f092.js} +3 -3
  175. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
  176. package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  177. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -4
  178. package/dist/esm/sqm-password-field.entry.js +23 -20
  179. package/dist/esm/sqm-popup-container.entry.js +6 -7
  180. package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  181. package/dist/esm/{sqm-portal-email-verification-view-f6daf315.js → sqm-portal-email-verification-view-4fa01d0a.js} +3 -3
  182. package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
  183. package/dist/esm/{sqm-portal-footer-view-42db3277.js → sqm-portal-footer-view-b68f250d.js} +3 -3
  184. package/dist/esm/sqm-portal-footer.entry.js +17 -9
  185. package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +2 -2
  186. package/dist/esm/sqm-portal-forgot-password.entry.js +38 -28
  187. package/dist/esm/sqm-portal-logout.entry.js +10 -8
  188. package/dist/esm/{sqm-portal-profile-view-dd2774b2.js → sqm-portal-profile-view-ec58906b.js} +4 -4
  189. package/dist/esm/sqm-portal-profile.entry.js +27 -36
  190. package/dist/esm/sqm-portal-protected-route.entry.js +13 -11
  191. package/dist/esm/sqm-portal-registration-form.entry.js +137 -70
  192. package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
  193. package/dist/esm/sqm-portal-reset-password.entry.js +45 -50
  194. package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  195. package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
  196. package/dist/esm/sqm-portal-verify-email.entry.js +37 -56
  197. package/dist/esm/sqm-referral-table_11.entry.js +15 -16
  198. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
  199. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
  200. package/dist/esm/sqm-rewards-table_9.entry.js +26 -21
  201. package/dist/esm/sqm-stencilbook.entry.js +173 -138
  202. package/dist/esm/sqm-tab.entry.js +7 -0
  203. package/dist/esm/sqm-tabs.entry.js +8 -7
  204. package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  205. package/dist/esm/sqm-text-span.entry.js +3 -4
  206. package/dist/esm/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
  207. package/dist/esm/{use-callback-69ec5c5c.js → use-callback-684c8bb7.js} +1 -1
  208. package/dist/esm/useChildElements-d86f03c6.js +30 -0
  209. package/dist/esm/{useReferralTable-0a8ee3b7.js → useReferralTable-7aeb954d.js} +10 -10
  210. package/dist/esm/useRegistrationFormState-3cdf2939.js +11 -0
  211. package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
  212. package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +1 -1
  213. package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
  214. package/dist/esm-es5/ShadowViewAddon-c201908c.js +1 -0
  215. package/dist/esm-es5/{global-0842e0e4.js → global-c2d5e2fa.js} +2 -2
  216. package/dist/esm-es5/index.module-25496635.js +1 -0
  217. package/dist/esm-es5/loader.js +1 -1
  218. package/dist/esm-es5/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
  219. package/dist/esm-es5/mint-components.js +1 -1
  220. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  221. package/dist/esm-es5/{re-render-f444e556.js → re-render-8ece93cd.js} +1 -1
  222. package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  223. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  224. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  225. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  226. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  227. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  228. package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
  229. package/dist/esm-es5/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +1 -1
  230. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  231. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  232. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-fb10e0c2.js → sqm-navigation-sidebar-item-view-24d5f092.js} +1 -1
  233. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  234. package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  235. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  236. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  237. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  238. package/dist/esm-es5/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  239. package/dist/esm-es5/{sqm-portal-email-verification-view-f6daf315.js → sqm-portal-email-verification-view-4fa01d0a.js} +1 -1
  240. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  241. package/dist/esm-es5/{sqm-portal-footer-view-42db3277.js → sqm-portal-footer-view-b68f250d.js} +1 -1
  242. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  243. package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +1 -1
  244. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  245. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  246. package/dist/esm-es5/{sqm-portal-profile-view-dd2774b2.js → sqm-portal-profile-view-ec58906b.js} +1 -1
  247. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  248. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  249. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  250. package/dist/esm-es5/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
  251. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  252. package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  253. package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +1 -1
  254. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  255. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  256. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  257. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  258. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  259. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  260. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  261. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  262. package/dist/esm-es5/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  263. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  264. package/dist/esm-es5/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
  265. package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
  266. package/dist/esm-es5/useChildElements-d86f03c6.js +1 -0
  267. package/dist/esm-es5/useReferralTable-7aeb954d.js +1 -0
  268. package/dist/esm-es5/useRegistrationFormState-3cdf2939.js +1 -0
  269. package/dist/mint-components/global/styles.ts +2 -12
  270. package/dist/mint-components/mint-components.esm.js +1 -1
  271. package/dist/mint-components/mint-components.js +1 -1
  272. package/dist/mint-components/p-01016d01.entry.js +1 -0
  273. package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
  274. package/dist/mint-components/{p-ea1b0e1c.js → p-0425104d.js} +2 -2
  275. package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
  276. package/dist/mint-components/p-0c98df9a.system.entry.js +1 -0
  277. package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
  278. package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
  279. package/dist/mint-components/p-0f3c6e11.entry.js +1 -0
  280. package/dist/mint-components/p-11a4a003.system.js +1 -0
  281. package/dist/mint-components/p-121cdc60.js +1 -0
  282. package/dist/mint-components/p-1287215d.js +1 -0
  283. package/dist/mint-components/{p-50cb9888.js → p-13cfd4bd.js} +1 -1
  284. package/dist/mint-components/p-175ef60c.js +1 -0
  285. package/dist/mint-components/{p-e907c45c.system.js → p-177f1699.system.js} +1 -1
  286. package/dist/mint-components/{p-958d913e.js → p-19deed13.js} +1 -1
  287. package/dist/mint-components/p-19f572c9.entry.js +1 -0
  288. package/dist/mint-components/p-1a673057.system.js +8 -0
  289. package/dist/mint-components/p-1cb7125b.entry.js +1 -0
  290. package/dist/mint-components/{p-f9056e14.system.js → p-20268b64.system.js} +1 -1
  291. package/dist/mint-components/p-23ce9541.system.entry.js +1 -0
  292. package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
  293. package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
  294. package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
  295. package/dist/mint-components/p-28b0cd34.entry.js +1 -0
  296. package/dist/mint-components/p-29c42c90.system.entry.js +1 -0
  297. package/dist/mint-components/p-2c805081.system.js +1 -0
  298. package/dist/mint-components/p-33cf5799.entry.js +9 -0
  299. package/dist/mint-components/{p-19266514.js → p-33fe169e.js} +1 -1
  300. package/dist/mint-components/p-369d00f3.system.entry.js +1 -0
  301. package/dist/mint-components/{p-5d80f75a.entry.js → p-3aa067f0.entry.js} +2 -2
  302. package/dist/mint-components/{p-433f243c.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
  303. package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
  304. package/dist/mint-components/p-3f15986b.entry.js +1 -0
  305. package/dist/mint-components/p-40a8ea40.entry.js +1 -0
  306. package/dist/mint-components/p-41962e08.js +1 -0
  307. package/dist/mint-components/p-4352909d.js +1 -0
  308. package/dist/mint-components/p-4560faa8.entry.js +1 -0
  309. package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
  310. package/dist/mint-components/p-49c7d8f5.system.entry.js +1 -0
  311. package/dist/mint-components/p-4a2238b1.system.entry.js +1 -0
  312. package/dist/mint-components/p-4a5d61fe.entry.js +99 -0
  313. package/dist/mint-components/p-4b83d7ea.js +1 -0
  314. package/dist/mint-components/p-4cc59fed.system.entry.js +1 -0
  315. package/dist/mint-components/{p-b1441d8e.system.entry.js → p-4d4e5ac4.system.entry.js} +1 -1
  316. package/dist/mint-components/p-528ce342.system.entry.js +1 -0
  317. package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
  318. package/dist/mint-components/p-54db9721.js +1 -0
  319. package/dist/mint-components/p-58c173ff.entry.js +1 -0
  320. package/dist/mint-components/p-5a78d954.system.js +1 -0
  321. package/dist/mint-components/p-5b51f97d.system.entry.js +1 -0
  322. package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
  323. package/dist/mint-components/p-5effdc5e.system.entry.js +1 -0
  324. package/dist/mint-components/p-61b954e7.entry.js +1 -0
  325. package/dist/mint-components/p-674c9b4b.system.entry.js +1 -0
  326. package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
  327. package/dist/mint-components/p-6a529e0e.entry.js +1 -0
  328. package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
  329. package/dist/mint-components/{p-b22b94ac.js → p-6dd27a5e.js} +1 -1
  330. package/dist/mint-components/p-76f151b2.entry.js +1 -0
  331. package/dist/mint-components/p-783b8440.entry.js +1 -0
  332. package/dist/mint-components/p-7850a5e5.system.js +1 -0
  333. package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
  334. package/dist/mint-components/p-7aa067b0.system.entry.js +1 -0
  335. package/dist/mint-components/p-7ab63827.entry.js +1 -0
  336. package/dist/mint-components/{p-092d030a.system.js → p-7e6c6d95.system.js} +1 -1
  337. package/dist/mint-components/{p-d7d007fb.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
  338. package/dist/mint-components/p-89c64db7.entry.js +1 -0
  339. package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
  340. package/dist/mint-components/p-8dfebcc6.js +268 -0
  341. package/dist/mint-components/{p-bd32d6f4.js → p-914511f3.js} +2 -2
  342. package/dist/mint-components/p-92110eef.entry.js +1 -0
  343. package/dist/mint-components/{p-1b962e50.system.js → p-94578d79.system.js} +1 -1
  344. package/dist/mint-components/p-95b461dd.system.entry.js +1 -0
  345. package/dist/mint-components/p-976604c2.entry.js +33 -0
  346. package/dist/mint-components/p-99397ef5.system.js +1 -0
  347. package/dist/mint-components/p-9a87d5ae.system.entry.js +1 -0
  348. package/dist/mint-components/p-9d362d44.system.js +1 -0
  349. package/dist/mint-components/p-9db0c9fc.system.entry.js +1 -0
  350. package/dist/mint-components/p-9fa6c616.entry.js +1 -0
  351. package/dist/mint-components/{p-95f70cb1.js → p-a1434ef0.js} +1 -1
  352. package/dist/mint-components/p-a400c8c6.entry.js +13 -0
  353. package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
  354. package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
  355. package/dist/mint-components/p-a837750f.system.entry.js +1 -0
  356. package/dist/mint-components/p-ab5a8bf0.system.entry.js +1 -0
  357. package/dist/mint-components/p-aefc2633.system.entry.js +1 -0
  358. package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
  359. package/dist/mint-components/p-b33e0421.system.js +1 -0
  360. package/dist/mint-components/p-bd3c2e67.system.js +1 -0
  361. package/dist/mint-components/{p-e2bf9132.system.js → p-bef0a1f4.system.js} +1 -1
  362. package/dist/mint-components/p-bf17dc65.system.js +1 -0
  363. package/dist/mint-components/{p-42133e0b.entry.js → p-c83ec898.entry.js} +8 -8
  364. package/dist/mint-components/p-c869970e.system.entry.js +1 -0
  365. package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
  366. package/dist/mint-components/p-cef45012.js +1 -0
  367. package/dist/mint-components/p-d1341773.entry.js +1 -0
  368. package/dist/mint-components/{p-5a7f7362.system.js → p-d20361b8.system.js} +1 -1
  369. package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
  370. package/dist/mint-components/p-dbfb865e.js +1 -0
  371. package/dist/mint-components/p-dcf30408.entry.js +1 -0
  372. package/dist/mint-components/p-de745531.system.entry.js +1 -0
  373. package/dist/mint-components/p-e0de4ac3.entry.js +1 -0
  374. package/dist/mint-components/p-e4d76dfb.system.entry.js +1 -0
  375. package/dist/mint-components/p-e5380001.system.entry.js +1 -0
  376. package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
  377. package/dist/mint-components/p-e58df0ff.system.entry.js +1 -0
  378. package/dist/mint-components/p-e58e454d.system.entry.js +1 -0
  379. package/dist/mint-components/p-e67fc6a5.entry.js +1 -0
  380. package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
  381. package/dist/mint-components/p-eaa9a926.entry.js +1 -0
  382. package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
  383. package/dist/mint-components/{p-b02064c4.system.js → p-fdcd2b8f.system.js} +2 -2
  384. package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
  385. package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -0
  386. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
  387. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
  388. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +6 -2
  389. package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +2 -1
  390. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
  391. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
  392. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +6 -1
  393. package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
  394. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
  395. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
  396. package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
  397. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
  398. package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
  399. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
  400. package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
  401. package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
  402. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +5 -1
  403. package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
  404. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -2
  405. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
  406. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -1
  407. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -3
  408. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +5 -1
  409. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -1
  410. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +9 -5
  411. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +3 -1
  412. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +3 -2
  413. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -2
  414. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -3
  415. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
  416. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +12 -3
  417. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +16 -5
  418. package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
  419. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +2 -1
  420. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +16 -26
  421. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +5 -2
  422. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +7 -15
  423. package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +1 -1
  424. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +7 -3
  425. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -3
  426. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +18 -16
  427. package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
  428. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +2 -2
  429. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +25 -16
  430. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +3 -1
  431. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +19 -0
  432. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +12 -10
  433. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +7 -5
  434. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
  435. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -2
  436. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
  437. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +3 -3
  438. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +3 -3
  439. package/dist/types/components/sqm-route/sqm-route.d.ts +2 -1
  440. package/dist/types/components/sqm-router/sqm-router.d.ts +2 -1
  441. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
  442. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
  443. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
  444. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
  445. package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
  446. package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +6 -0
  447. package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +7 -0
  448. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -3
  449. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
  450. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
  451. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  452. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -2
  453. package/dist/types/components.d.ts +333 -749
  454. package/dist/types/global/styles.d.ts +1 -1
  455. package/docs/docs.docx +0 -0
  456. package/docs/raisins.json +1 -1
  457. package/grapesjs/grapesjs.js +1 -1
  458. package/package.json +5 -4
  459. package/dist/cjs/extends-08099afd.js +0 -21
  460. package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
  461. package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
  462. package/dist/cjs/sqm-qa.cjs.entry.js +0 -112
  463. package/dist/cjs/useChildElements-a7a7b921.js +0 -23
  464. package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
  465. package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
  466. package/dist/collection/assets/saasquatch-logo.png +0 -0
  467. package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
  468. package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1038
  469. package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
  470. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
  471. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
  472. package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
  473. package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
  474. package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
  475. package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
  476. package/dist/esm/extends-c31f1eff.js +0 -19
  477. package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
  478. package/dist/esm/sqm-qa-tabs.entry.js +0 -96
  479. package/dist/esm/sqm-qa.entry.js +0 -108
  480. package/dist/esm/useChildElements-756c6a81.js +0 -21
  481. package/dist/esm-es5/ShadowViewAddon-3626a92b.js +0 -1
  482. package/dist/esm-es5/extends-c31f1eff.js +0 -1
  483. package/dist/esm-es5/index.module-96470dcf.js +0 -1
  484. package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
  485. package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
  486. package/dist/esm-es5/sqm-qa.entry.js +0 -1
  487. package/dist/esm-es5/use-callback-69ec5c5c.js +0 -1
  488. package/dist/esm-es5/useChildElements-756c6a81.js +0 -1
  489. package/dist/esm-es5/useReferralTable-0a8ee3b7.js +0 -1
  490. package/dist/esm-es5/useValidationState-adb2b066.js +0 -1
  491. package/dist/mint-components/p-0777ac5b.entry.js +0 -9
  492. package/dist/mint-components/p-09551f97.entry.js +0 -1
  493. package/dist/mint-components/p-0b7ec490.entry.js +0 -1
  494. package/dist/mint-components/p-0b838d31.entry.js +0 -1
  495. package/dist/mint-components/p-14e28fcc.entry.js +0 -1
  496. package/dist/mint-components/p-16beb451.system.entry.js +0 -1
  497. package/dist/mint-components/p-19dfb893.system.entry.js +0 -1
  498. package/dist/mint-components/p-1bd5cd35.system.entry.js +0 -1
  499. package/dist/mint-components/p-1c17892a.system.js +0 -1
  500. package/dist/mint-components/p-1ff7ee8a.entry.js +0 -1
  501. package/dist/mint-components/p-22b45a04.system.entry.js +0 -1
  502. package/dist/mint-components/p-23485cfe.system.js +0 -1
  503. package/dist/mint-components/p-27a8ee57.system.entry.js +0 -1
  504. package/dist/mint-components/p-27aac88b.system.entry.js +0 -1
  505. package/dist/mint-components/p-27ed7b95.js +0 -1
  506. package/dist/mint-components/p-2809a9c7.system.entry.js +0 -1
  507. package/dist/mint-components/p-29f82c6d.system.entry.js +0 -1
  508. package/dist/mint-components/p-2b2ed97b.entry.js +0 -1
  509. package/dist/mint-components/p-2c4da197.entry.js +0 -1
  510. package/dist/mint-components/p-2ec62a9b.system.entry.js +0 -1
  511. package/dist/mint-components/p-3364ee29.system.entry.js +0 -1
  512. package/dist/mint-components/p-33a8d572.entry.js +0 -33
  513. package/dist/mint-components/p-380c3d58.system.entry.js +0 -1
  514. package/dist/mint-components/p-3c7b3831.entry.js +0 -1
  515. package/dist/mint-components/p-42994d5d.entry.js +0 -99
  516. package/dist/mint-components/p-42d3eb3e.system.js +0 -1
  517. package/dist/mint-components/p-46ed891a.entry.js +0 -1
  518. package/dist/mint-components/p-49e61dc4.entry.js +0 -1
  519. package/dist/mint-components/p-4a0ef2d3.entry.js +0 -1
  520. package/dist/mint-components/p-4c2cec5c.system.entry.js +0 -1
  521. package/dist/mint-components/p-4c93df52.entry.js +0 -1
  522. package/dist/mint-components/p-505d8965.system.entry.js +0 -1
  523. package/dist/mint-components/p-51dd860c.system.entry.js +0 -1
  524. package/dist/mint-components/p-5660e578.system.js +0 -1
  525. package/dist/mint-components/p-577299fe.system.entry.js +0 -1
  526. package/dist/mint-components/p-57b7a680.entry.js +0 -1
  527. package/dist/mint-components/p-5928afc0.js +0 -1
  528. package/dist/mint-components/p-5da081c3.entry.js +0 -1
  529. package/dist/mint-components/p-5e6890eb.system.entry.js +0 -1
  530. package/dist/mint-components/p-61eeea9e.entry.js +0 -1
  531. package/dist/mint-components/p-7dff3e29.entry.js +0 -1
  532. package/dist/mint-components/p-80981da1.entry.js +0 -1
  533. package/dist/mint-components/p-81f34787.js +0 -1
  534. package/dist/mint-components/p-8390e33e.system.entry.js +0 -1
  535. package/dist/mint-components/p-89d8133d.entry.js +0 -1
  536. package/dist/mint-components/p-8c1348dc.system.js +0 -1
  537. package/dist/mint-components/p-8dfe5873.system.entry.js +0 -1
  538. package/dist/mint-components/p-90bd03bb.entry.js +0 -1
  539. package/dist/mint-components/p-99830904.system.entry.js +0 -1
  540. package/dist/mint-components/p-9bb39058.system.entry.js +0 -1
  541. package/dist/mint-components/p-9ef39196.system.entry.js +0 -1
  542. package/dist/mint-components/p-a3f87461.entry.js +0 -1
  543. package/dist/mint-components/p-a4fa8ba2.system.js +0 -1
  544. package/dist/mint-components/p-a6291305.system.entry.js +0 -1
  545. package/dist/mint-components/p-a9d7eb10.js +0 -1
  546. package/dist/mint-components/p-b17b4a61.system.entry.js +0 -1
  547. package/dist/mint-components/p-b5bfb818.system.js +0 -1
  548. package/dist/mint-components/p-bf298e68.js +0 -1
  549. package/dist/mint-components/p-c2aecbd1.js +0 -268
  550. package/dist/mint-components/p-c2b5997d.entry.js +0 -1
  551. package/dist/mint-components/p-c88cb982.entry.js +0 -1
  552. package/dist/mint-components/p-c8e8aab7.js +0 -1
  553. package/dist/mint-components/p-c9977e50.system.entry.js +0 -1
  554. package/dist/mint-components/p-ca2819e8.system.js +0 -1
  555. package/dist/mint-components/p-cc6f7cb5.entry.js +0 -1
  556. package/dist/mint-components/p-cdabe7a8.js +0 -1
  557. package/dist/mint-components/p-d1aef95c.entry.js +0 -1
  558. package/dist/mint-components/p-d1e6d105.system.entry.js +0 -1
  559. package/dist/mint-components/p-d5d32d0d.system.js +0 -8
  560. package/dist/mint-components/p-d5e12393.system.entry.js +0 -1
  561. package/dist/mint-components/p-d8876d3f.js +0 -1
  562. package/dist/mint-components/p-daf8de5c.entry.js +0 -1
  563. package/dist/mint-components/p-dec7a657.entry.js +0 -1
  564. package/dist/mint-components/p-e0140005.system.entry.js +0 -1
  565. package/dist/mint-components/p-e6eedd9e.js +0 -1
  566. package/dist/mint-components/p-e8acccb5.system.js +0 -1
  567. package/dist/mint-components/p-f2bd9120.system.entry.js +0 -1
  568. package/dist/mint-components/p-ffe8c6ce.system.entry.js +0 -1
  569. package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
  570. package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -250
  571. package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
  572. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
  573. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
  574. package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
  575. package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
  576. package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
  577. package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
  578. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.d.ts +0 -11
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
7
- const global = require('./global-5e3deef1.js');
8
- const useCallback = require('./use-callback-e754042f.js');
9
- const index_module = require('./index.module-ffe1aa35.js');
10
- require('./extends-08099afd.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
7
+ const global = require('./global-b645d18a.js');
8
+ const useCallback = require('./use-callback-5d15897d.js');
9
+ const index_module = require('./index.module-93c78ac7.js');
11
10
  const jsonpointer = require('./jsonpointer-11327262.js');
12
11
  const cjs = require('./cjs-1066ec21.js');
13
12
  require('./mixins-fe9d4112.js');
14
- const JSS = require('./JSS-97fd087e.js');
15
- const reRender = require('./re-render-8fee17a9.js');
16
- const useChildElements = require('./useChildElements-a7a7b921.js');
17
- require('./luxon-59ca7d19.js');
13
+ const JSS = require('./JSS-8503a151.js');
14
+ const reRender = require('./re-render-afeabe91.js');
15
+ const useChildElements = require('./useChildElements-c0cc8f5d.js');
16
+ require('./luxon-479fc825.js');
18
17
  const utils = require('./utils-6847bc06.js');
19
- require('./sqm-text-span-view-2c7d94b5.js');
20
- require('./sqm-portal-container-view-840db620.js');
21
- const useValidationState = require('./useValidationState-63f00763.js');
22
- const ShadowViewAddon = require('./ShadowViewAddon-aa14c0c4.js');
23
- require('./sqm-portal-section-view-854a3e9c.js');
18
+ require('./sqm-text-span-view-b318af73.js');
19
+ require('./sqm-portal-container-view-2ddcaa12.js');
20
+ const AsYouType = require('./AsYouType-6788393a.js');
21
+ const useRegistrationFormState = require('./useRegistrationFormState-bee054d6.js');
22
+ const ShadowViewAddon = require('./ShadowViewAddon-4b75a331.js');
23
+ require('./sqm-portal-section-view-1e5bbcb1.js');
24
24
 
25
25
  const BigStat = class {
26
26
  constructor(hostRef) {
@@ -38,8 +38,8 @@ const BigStat = class {
38
38
  disconnectedCallback() { }
39
39
  render() {
40
40
  var _a;
41
- const { props, label } = index_module.L() ? ShadowViewAddon.useDemoBigStat(this) : ShadowViewAddon.useBigStat(this);
42
- const host = index_module.P();
41
+ const { props, label } = index_module.isDemo() ? ShadowViewAddon.useDemoBigStat(this) : ShadowViewAddon.useBigStat(this);
42
+ const host = index_module.R();
43
43
  const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
44
44
  const labelSlot = index.h("slot", { name: "label" }, hasLabel ? index.h("slot", null) : label);
45
45
  return index.h(ShadowViewAddon.BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
@@ -68,7 +68,13 @@ const BrandComponent = class {
68
68
  render() {
69
69
  var _a, _b;
70
70
  const brandColor = (_a = this.brandColor) !== null && _a !== void 0 ? _a : "#FFF";
71
- const css = ShadowViewAddon.autoColorScaleCss(brandColor);
71
+ let css;
72
+ try {
73
+ css = ShadowViewAddon.autoColorScaleCss(brandColor);
74
+ }
75
+ catch {
76
+ css = ShadowViewAddon.autoColorScaleCss("#FFF");
77
+ }
72
78
  const sanitizedFont = ((_b = this.brandFont) !== null && _b !== void 0 ? _b : "Nunito Sans").trim() || undefined;
73
79
  stencilHooks_module.useEffect(() => {
74
80
  if (!sanitizedFont) {
@@ -151,7 +157,7 @@ const styleString = sheet.toString();
151
157
  function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
152
158
  if (!missingProps)
153
159
  return false;
154
- const host = index_module.P();
160
+ const host = index_module.R();
155
161
  const [detailsOpen, setDetailsOpen] = stencilHooks_module.useState(false);
156
162
  return (index.h("sl-alert", { type: "danger", open: true },
157
163
  index.h("style", { type: "text/css" }, styleString),
@@ -180,11 +186,11 @@ function RequiredPropsError({ missingProps, heading = "There was a problem loadi
180
186
  }
181
187
 
182
188
  function useCheckboxField() {
183
- const validationState = stencilHooks_module.d(useValidationState.FORM_VALIDATION_CONTEXT);
189
+ const registrationFormState = stencilHooks_module.d(useRegistrationFormState.REGISTRATION_FORM_STATE_CONTEXT);
184
190
  const [checked, setChecked] = stencilHooks_module.useState(false);
185
191
  return {
186
192
  states: {
187
- validationErrors: validationState === null || validationState === void 0 ? void 0 : validationState.validationErrors,
193
+ registrationFormState,
188
194
  checked,
189
195
  },
190
196
  callbacks: {
@@ -199,6 +205,7 @@ const CheckboxField = class {
199
205
  this.ignored = true;
200
206
  /**
201
207
  * @uiName Checkbox Label
208
+ * @uiWidget textArea
202
209
  */
203
210
  this.checkboxLabel = "By signing up you agree to the {labelLink}";
204
211
  /**
@@ -217,7 +224,6 @@ const CheckboxField = class {
217
224
  this.errorMessage = "Must be checked";
218
225
  /**
219
226
  * @uiName Optional
220
- * @default
221
227
  */
222
228
  this.checkboxOptional = false;
223
229
  stencilHooks_module.h$1(this);
@@ -230,13 +236,13 @@ const CheckboxField = class {
230
236
  value: this.checkboxName,
231
237
  },
232
238
  ]);
233
- if (!index_module.L() && missingProps) {
239
+ if (!index_module.isDemo() && missingProps) {
234
240
  return (index.h(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
235
241
  }
236
242
  const content = {
237
243
  ...utils.getProps(this),
238
244
  };
239
- const { states, callbacks } = index_module.L()
245
+ const { states, callbacks } = index_module.isDemo()
240
246
  ? useCheckboxFieldDemo(this)
241
247
  : useCheckboxField();
242
248
  return (index.h(ShadowViewAddon.CheckboxFieldView, { states: states, content: content, callbacks: callbacks }));
@@ -245,7 +251,7 @@ const CheckboxField = class {
245
251
  function useCheckboxFieldDemo(props) {
246
252
  return cjs.cjs({
247
253
  states: {
248
- validationErrors: [],
254
+ registrationFormState: {},
249
255
  checked: false,
250
256
  },
251
257
  callbacks: {
@@ -322,10 +328,10 @@ const DividedLayout = class {
322
328
  };
323
329
 
324
330
  function useDropdownField() {
325
- const validationState = stencilHooks_module.d(useValidationState.FORM_VALIDATION_CONTEXT);
331
+ const registrationFormState = stencilHooks_module.d(useRegistrationFormState.REGISTRATION_FORM_STATE_CONTEXT);
326
332
  return {
327
333
  states: {
328
- validationErrors: validationState === null || validationState === void 0 ? void 0 : validationState.validationErrors,
334
+ registrationFormState,
329
335
  },
330
336
  };
331
337
  }
@@ -357,14 +363,14 @@ const DropdownField = class {
357
363
  value: this.dropdownName,
358
364
  },
359
365
  ]);
360
- if (!index_module.L() && missingProps) {
366
+ if (!index_module.isDemo() && missingProps) {
361
367
  return (index.h(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this drop down field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }, index.h("slot", null)));
362
368
  }
363
369
  const content = {
364
370
  ...utils.getProps(this),
365
371
  selectOptions: index.h("slot", null),
366
372
  };
367
- const { states } = index_module.L()
373
+ const { states } = index_module.isDemo()
368
374
  ? useDropdownFieldDemo(this)
369
375
  : useDropdownField();
370
376
  return (index.h(ShadowViewAddon.DropdownFieldView, { states: states, content: content }));
@@ -373,7 +379,7 @@ const DropdownField = class {
373
379
  function useDropdownFieldDemo(props) {
374
380
  return cjs.cjs({
375
381
  states: {
376
- validationErrors: [],
382
+ registrationFormState: {},
377
383
  },
378
384
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
379
385
  }
@@ -421,13 +427,13 @@ const defaultFormState = {
421
427
  error: "",
422
428
  };
423
429
  function useEditProfile(props) {
424
- const userIdent = index_module.ae();
430
+ const userIdent = index_module.N();
425
431
  const [showEdit, setShowEdit] = stencilHooks_module.useState(false);
426
432
  const [error, setError] = stencilHooks_module.useState("");
427
433
  const [userData, setUserData] = stencilHooks_module.useState(undefined);
428
434
  const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
429
- const userDataResponse = index_module.wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
430
- const [upsertUser, upsertUserResponse] = index_module.je(UPSERT_USER);
435
+ const userDataResponse = index_module.dn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
436
+ const [upsertUser, upsertUserResponse] = index_module.Pe(UPSERT_USER);
431
437
  stencilHooks_module.useEffect(() => {
432
438
  if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
433
439
  return;
@@ -541,7 +547,7 @@ const EditProfile = class {
541
547
  }
542
548
  disconnectedCallback() { }
543
549
  render() {
544
- const props = index_module.L()
550
+ const props = index_module.isDemo()
545
551
  ? useEditProfileDemo(utils.getProps(this))
546
552
  : useEditProfile(utils.getProps(this));
547
553
  return index.h(ShadowViewAddon.EditProfileView, Object.assign({}, props));
@@ -813,10 +819,10 @@ const SqmHookStoryContainer = class {
813
819
  };
814
820
 
815
821
  function useInputField() {
816
- const validationState = stencilHooks_module.d(useValidationState.FORM_VALIDATION_CONTEXT);
822
+ const registrationFormState = stencilHooks_module.d(useRegistrationFormState.REGISTRATION_FORM_STATE_CONTEXT);
817
823
  return {
818
824
  states: {
819
- validationErrors: validationState === null || validationState === void 0 ? void 0 : validationState.validationErrors,
825
+ registrationFormState: registrationFormState,
820
826
  },
821
827
  };
822
828
  }
@@ -854,17 +860,17 @@ const InputField = class {
854
860
  value: this.fieldName,
855
861
  },
856
862
  ]);
857
- if (!index_module.L() && missingProps) {
863
+ if (!index_module.isDemo() && missingProps) {
858
864
  return (index.h(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this form", subheading: "A technical problem prevented this input field from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
859
865
  }
860
- const { states } = index_module.L() ? useInputFieldDemo(this) : useInputField();
866
+ const { states } = index_module.isDemo() ? useInputFieldDemo(this) : useInputField();
861
867
  return index.h(ShadowViewAddon.InputFieldView, { states: states, content: content });
862
868
  }
863
869
  };
864
870
  function useInputFieldDemo(props) {
865
871
  return cjs.cjs({
866
872
  states: {
867
- validationErrors: [],
873
+ registrationFormState: {},
868
874
  },
869
875
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
870
876
  }
@@ -913,11 +919,11 @@ const GET_RANK = index_module.dist.gql `
913
919
  `;
914
920
  function useLeaderboard(props) {
915
921
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
916
- const programIdContext = index_module.M();
922
+ const programIdContext = index_module.O();
917
923
  // Default to context, overriden by props
918
924
  const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
919
- const user = index_module.ae();
920
- const locale = index_module.O();
925
+ const user = index_module.N();
926
+ const locale = index_module.x();
921
927
  const variables = programId
922
928
  ? {
923
929
  type: props.leaderboardType,
@@ -936,8 +942,8 @@ function useLeaderboard(props) {
936
942
  if (props.maxRows > 0) {
937
943
  variables["limit"] = props.maxRows;
938
944
  }
939
- const { data: leaderboardData, loading: loadingLeaderboard } = index_module.wn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
940
- const { data: rankData } = index_module.wn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
945
+ const { data: leaderboardData, loading: loadingLeaderboard } = index_module.dn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
946
+ const { data: rankData } = index_module.dn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
941
947
  const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
942
948
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
943
949
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
@@ -1023,7 +1029,7 @@ const Leaderboard = class {
1023
1029
  showRank: this.showRank,
1024
1030
  };
1025
1031
  const demoProps = { ...props, demoData: this.demoData };
1026
- const viewprops = index_module.L()
1032
+ const viewprops = index_module.isDemo()
1027
1033
  ? useLeaderboardDemo(demoProps)
1028
1034
  : useLeaderboard(props);
1029
1035
  return index.h(ShadowViewAddon.LeaderboardView, Object.assign({}, viewprops));
@@ -1105,10 +1111,10 @@ function useLeaderboardDemo(props) {
1105
1111
  }
1106
1112
 
1107
1113
  function useNameFields(props) {
1108
- const validationState = stencilHooks_module.d(useValidationState.FORM_VALIDATION_CONTEXT);
1114
+ const registrationFormState = stencilHooks_module.d(useRegistrationFormState.REGISTRATION_FORM_STATE_CONTEXT);
1109
1115
  return {
1110
1116
  states: {
1111
- validationErrors: validationState === null || validationState === void 0 ? void 0 : validationState.validationErrors,
1117
+ registrationFormState,
1112
1118
  content: {
1113
1119
  lastNameLabel: props.lastNameLabel,
1114
1120
  firstNameLabel: props.firstNameLabel,
@@ -1133,7 +1139,7 @@ const NameFields = class {
1133
1139
  }
1134
1140
  disconnectedCallback() { }
1135
1141
  render() {
1136
- const { states } = index_module.L() ? useNameFieldsDemo(this) : useNameFields(this);
1142
+ const { states } = index_module.isDemo() ? useNameFieldsDemo(this) : useNameFields(this);
1137
1143
  return index.h(ShadowViewAddon.NameFieldsView, { states: states });
1138
1144
  }
1139
1145
  };
@@ -1142,8 +1148,8 @@ function useNameFieldsDemo(props) {
1142
1148
  states: {
1143
1149
  validationErrors: [],
1144
1150
  content: {
1145
- firstNameLabel: "First Name",
1146
- lastNameLabel: "Last Name",
1151
+ firstNameLabel: props.firstNameLabel,
1152
+ lastNameLabel: props.lastNameLabel,
1147
1153
  },
1148
1154
  },
1149
1155
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
@@ -1164,12 +1170,12 @@ function NavigationMenuView(props) {
1164
1170
  }
1165
1171
 
1166
1172
  function handleMenu(e) {
1167
- index_module.In.push(e.detail.item.value);
1173
+ index_module.fn.push(e.detail.item.value);
1168
1174
  }
1169
1175
  function useNavigationMenu(props) {
1170
1176
  const ref = stencilHooks_module.useRef();
1171
- const [, rerender] = index_module.pn();
1172
- const user = index_module.ae();
1177
+ const [, rerender] = index_module.on();
1178
+ const user = index_module.N();
1173
1179
  stencilHooks_module.useEffect(() => {
1174
1180
  var _a;
1175
1181
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
@@ -1198,7 +1204,7 @@ const NavigationMenu = class {
1198
1204
  }
1199
1205
  disconnectedCallback() { }
1200
1206
  render() {
1201
- const props = index_module.L()
1207
+ const props = index_module.isDemo()
1202
1208
  ? useNavigationMenuDemo(utils.getProps(this))
1203
1209
  : useNavigationMenu(utils.getProps(this));
1204
1210
  return (index.h(index.Host, { slot: "sqm-navigation-menu" }, index.h(NavigationMenuView, Object.assign({}, props))));
@@ -1222,14 +1228,14 @@ function useNavigationMenuDemo(props) {
1222
1228
  NavigationMenu.style = sqmNavigationMenuCss;
1223
1229
 
1224
1230
  function usePortalChangePassword(props) {
1225
- var _a, _b, _c, _d, _e, _f, _g, _h;
1226
- const [request, { loading, errors, data }] = index_module.Te();
1231
+ var _a, _b, _c, _d, _e, _f, _g;
1232
+ const [request, { loading, errors, data }] = index_module.Ve();
1227
1233
  const [open, setOpen] = stencilHooks_module.useState(false);
1228
1234
  const [error, setError] = stencilHooks_module.useState("");
1229
1235
  const [success, setSuccess] = stencilHooks_module.useState(false);
1230
- const user = index_module.ae();
1236
+ const user = index_module.N();
1231
1237
  const submit = async (event) => {
1232
- var _a;
1238
+ var _a, _b;
1233
1239
  setSuccess(false);
1234
1240
  const formData = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.formData;
1235
1241
  formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
@@ -1247,20 +1253,17 @@ function usePortalChangePassword(props) {
1247
1253
  const variables = {
1248
1254
  password: formData.password,
1249
1255
  };
1250
- await request(variables);
1251
- };
1252
- stencilHooks_module.useEffect(() => {
1253
- var _a;
1254
- if ((_a = data === null || data === void 0 ? void 0 : data.changeManagedIdentityPassword) === null || _a === void 0 ? void 0 : _a.success) {
1256
+ const result = await request(variables);
1257
+ if (!(result instanceof Error) && ((_b = result.changeManagedIdentityPassword) === null || _b === void 0 ? void 0 : _b.success)) {
1255
1258
  setSuccess(true);
1256
1259
  }
1257
- }, [(_a = data === null || data === void 0 ? void 0 : data.changeManagedIdentityPassword) === null || _a === void 0 ? void 0 : _a.success]);
1260
+ };
1258
1261
  return {
1259
1262
  states: {
1260
1263
  open,
1261
1264
  loading,
1262
1265
  success,
1263
- error: error || ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message),
1266
+ error: error || ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message),
1264
1267
  content: {
1265
1268
  modalChangePasswordHeader: props.modalChangePasswordHeader,
1266
1269
  cancelText: props.cancelText,
@@ -1315,7 +1318,8 @@ const PortalChangePassword = class {
1315
1318
  /**
1316
1319
  * Successful password change message
1317
1320
  *
1318
- * @uiName Successful Message
1321
+ * @uiName Successful Password Change Message
1322
+ * @uiWidget textArea
1319
1323
  */
1320
1324
  this.successMessage = "Your password has been updated.";
1321
1325
  /**
@@ -1332,37 +1336,38 @@ const PortalChangePassword = class {
1332
1336
  }
1333
1337
  disconnectedCallback() { }
1334
1338
  render() {
1335
- const { states, callbacks } = index_module.L()
1339
+ const { states, callbacks } = index_module.isDemo()
1336
1340
  ? usePortalChangePasswordDemo(this)
1337
1341
  : usePortalChangePassword(this);
1338
1342
  return index.h(ShadowViewAddon.PortalChangePasswordView, { states: states, callbacks: callbacks });
1339
1343
  }
1340
1344
  };
1341
1345
  function usePortalChangePasswordDemo(props) {
1346
+ const [open, setOpen] = stencilHooks_module.useState(false);
1342
1347
  return cjs.cjs({
1343
1348
  states: {
1344
- open: true,
1349
+ open,
1345
1350
  error: "",
1346
1351
  content: {
1347
- modalChangePasswordHeader: "Change Password",
1348
- cancelText: "Cancel",
1349
- changePasswordButtonText: "Change Password",
1350
- passwordFieldLabel: "New Password",
1351
- confirmPasswordFieldLabel: "Confirm new password",
1352
- successMessage: "Your password has been updated.",
1353
- portalChangePasswordHeader: "Password",
1354
- portalChangePasswordButtonText: "Change your password...",
1352
+ modalChangePasswordHeader: props.modalChangePasswordHeader,
1353
+ cancelText: props.cancelText,
1354
+ changePasswordButtonText: props.changePasswordButtonText,
1355
+ passwordFieldLabel: props.passwordFieldLabel,
1356
+ confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
1357
+ successMessage: props.successMessage,
1358
+ portalChangePasswordHeader: props.portalChangePasswordHeader,
1359
+ portalChangePasswordButtonText: props.portalChangePasswordButtonText,
1355
1360
  },
1356
1361
  },
1357
1362
  callbacks: {
1358
- setOpen: (o) => console.log(o),
1363
+ setOpen: (update) => setOpen(update),
1359
1364
  submit: (e) => console.log("Submit", e),
1360
1365
  },
1361
1366
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1362
1367
  }
1363
1368
 
1364
1369
  function usePortalFrame(footerContent, headerContent) {
1365
- const [, rerender] = index_module.pn();
1370
+ const [, rerender] = index_module.on();
1366
1371
  return {
1367
1372
  data: {
1368
1373
  footer: footerContent,
@@ -1384,7 +1389,7 @@ const PortalFrame = class {
1384
1389
  render() {
1385
1390
  const footerContent = index.h("slot", { name: "footer" });
1386
1391
  const headerContent = index.h("slot", { name: "header" });
1387
- const props = index_module.L()
1392
+ const props = index_module.isDemo()
1388
1393
  ? usePortalFrameDemo(footerContent, headerContent, this)
1389
1394
  : usePortalFrame(footerContent, headerContent);
1390
1395
  return (index.h(ShadowViewAddon.PortalFrameView, Object.assign({}, props), index.h("slot", null)));
@@ -1406,35 +1411,32 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
1406
1411
  }
1407
1412
 
1408
1413
  function usePortalLogin(props) {
1409
- var _a, _b, _c, _d, _e, _f, _g, _h;
1410
- const [request, { loading, errors, data }] = index_module.Ve();
1414
+ var _a, _b, _c, _d, _e, _f, _g;
1415
+ const [request, { loading, errors, data }] = index_module.Me();
1411
1416
  const [error, setError] = stencilHooks_module.useState("");
1412
- const urlParams = new URLSearchParams(window.location.search);
1417
+ const urlParams = new URLSearchParams(index_module.fn.location.search);
1413
1418
  const nextPageOverride = urlParams.get("nextPage");
1414
1419
  const submit = async (event) => {
1420
+ var _a, _b;
1415
1421
  setError("");
1416
1422
  let formData = event.detail.formData;
1417
1423
  formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
1418
1424
  jsonpointer.jsonpointer.set(formData, key, value);
1419
1425
  });
1420
1426
  const variables = { email: formData.email, password: formData.password };
1421
- await request(variables);
1422
- };
1423
- stencilHooks_module.useEffect(() => {
1424
- var _a;
1425
- if ((_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
1427
+ const result = await request(variables);
1428
+ if (result instanceof Error) {
1429
+ if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
1430
+ setError("Network request failed.");
1431
+ return;
1432
+ }
1433
+ if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
1426
1434
  urlParams.delete("nextPage");
1427
1435
  const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
1428
- index_module.In.push(url.href);
1436
+ index_module.fn.push(url.href);
1429
1437
  }
1430
- }, [(_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
1431
- stencilHooks_module.useEffect(() => {
1432
- var _a;
1433
- if ((errors === null || errors === void 0 ? void 0 : errors.message) || ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"])) {
1434
- setError("Network request failed.");
1435
- }
1436
- }, [errors]);
1437
- const errorMessage = ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message) ||
1438
+ };
1439
+ const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
1438
1440
  error;
1439
1441
  return {
1440
1442
  states: {
@@ -1454,67 +1456,57 @@ const PortalLogin = class {
1454
1456
  index.registerInstance(this, hostRef);
1455
1457
  this.ignored = true;
1456
1458
  /**
1457
- * Page navigated to after sign-in
1459
+ * Page participants are navigated to after login.
1458
1460
  *
1459
- * @uiName Next Page Path
1461
+ * @uiName Login Redirect Path
1462
+ * @uiWidget pageSelect
1460
1463
  */
1461
1464
  this.nextPage = "/";
1462
1465
  /**
1463
- * Label for email field
1464
- *
1465
- * @uiName Email Label
1466
+ * @uiName Email Field Label
1466
1467
  */
1467
1468
  this.emailLabel = "Email";
1468
1469
  /**
1469
- * Label for password field
1470
- *
1471
- * @uiName Password Label
1470
+ * @uiName Password Field Label
1472
1471
  */
1473
1472
  this.passwordLabel = "Password";
1474
1473
  /**
1475
- * Label for submit button
1476
- *
1477
1474
  * @uiName Submit Button Text
1478
1475
  */
1479
1476
  this.submitLabel = "Sign In";
1480
1477
  /**
1481
- * Label for forgotten password button
1482
- *
1478
+ * @uiName Forgot Password Redirect Path
1479
+ * @uiWidget pageSelect
1480
+ */
1481
+ this.forgotPasswordPath = "/forgotPassword";
1482
+ /**
1483
1483
  * @uiName Forgot Password Text
1484
1484
  */
1485
1485
  this.forgotPasswordLabel = "Forgot Password?";
1486
1486
  /**
1487
- * Label for register button
1488
- *
1489
1487
  * @uiName Register Button Text
1490
1488
  */
1491
1489
  this.registerLabel = "Register";
1492
1490
  /**
1493
- * @uiName Heading Label
1494
- */
1495
- this.pageLabel = "Sign in to your account";
1496
- /**
1497
- * Register redirect path
1498
- *
1499
- * @uiName Register Path
1491
+ * @uiName Register Button Redirect Path
1492
+ * @uiWidget pageSelect
1500
1493
  */
1501
1494
  this.registerPath = "/register";
1502
1495
  /**
1503
- * Forgot password redirect path
1504
- *
1505
- * @uiName Forgot Password Path
1496
+ * @uiName Heading Label
1497
+ * @uiWidget textArea
1506
1498
  */
1507
- this.forgotPasswordPath = "/forgotPassword";
1499
+ this.pageLabel = "Sign in to your account";
1508
1500
  stencilHooks_module.h$1(this);
1509
1501
  }
1510
1502
  disconnectedCallback() { }
1511
1503
  render() {
1512
- const { states, callbacks } = index_module.L()
1504
+ const { states, callbacks } = index_module.isDemo()
1513
1505
  ? useLoginDemo(this)
1514
1506
  : usePortalLogin(this);
1515
1507
  const content = {
1516
- forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.In.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1517
- secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.In.push(states.registerPath) }, this.registerLabel))),
1508
+ forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.fn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
1509
+ secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.fn.push(states.registerPath) }, this.registerLabel))),
1518
1510
  emailLabel: this.emailLabel,
1519
1511
  passwordLabel: this.passwordLabel,
1520
1512
  submitLabel: this.submitLabel,
@@ -1540,11 +1532,21 @@ function useLoginDemo(props) {
1540
1532
  }
1541
1533
 
1542
1534
  function usePortalRegister(props) {
1543
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1535
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1544
1536
  const formRef = stencilHooks_module.useRef(null);
1545
- const { validationState, setValidationState } = useValidationState.useValidationState({});
1546
- const [request, { loading, errors, data }] = index_module.He();
1537
+ const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
1538
+ const [request, { loading, errors, data }] = index_module.je();
1539
+ stencilHooks_module.useEffect(() => {
1540
+ if (!formRef.current)
1541
+ return;
1542
+ const form = formRef.current;
1543
+ form.addEventListener("sl-input", inputFunction);
1544
+ return () => {
1545
+ form.removeEventListener("sl-input", inputFunction);
1546
+ };
1547
+ }, [formRef.current]);
1547
1548
  const submit = async (event) => {
1549
+ var _a;
1548
1550
  let formControls = event.target.getFormControls();
1549
1551
  let formData = {};
1550
1552
  let validationErrors = {};
@@ -1573,11 +1575,16 @@ function usePortalRegister(props) {
1573
1575
  confirmPassword: "Passwords do not match.",
1574
1576
  };
1575
1577
  }
1576
- setValidationState({ error: "", validationErrors });
1577
1578
  if (Object.keys(validationErrors).length) {
1579
+ setRegistrationFormState({ loading: false, error: "", validationErrors });
1578
1580
  // early return for validation errors
1579
1581
  return;
1580
1582
  }
1583
+ setRegistrationFormState({
1584
+ loading: true,
1585
+ error: "",
1586
+ validationErrors: {},
1587
+ });
1581
1588
  const { email, password } = formData;
1582
1589
  delete formData.email;
1583
1590
  delete formData.password;
@@ -1591,10 +1598,25 @@ function usePortalRegister(props) {
1591
1598
  redirectPath,
1592
1599
  };
1593
1600
  try {
1594
- await request(variables);
1601
+ const result = await request(variables);
1602
+ if (result instanceof Error) {
1603
+ throw result;
1604
+ }
1605
+ setRegistrationFormState({
1606
+ loading: false,
1607
+ error: "",
1608
+ validationErrors: {},
1609
+ });
1610
+ if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
1611
+ index_module.fn.push(props.nextPage);
1612
+ }
1595
1613
  }
1596
1614
  catch (error) {
1597
- setValidationState({ error: "Network request failed." });
1615
+ setRegistrationFormState({
1616
+ loading: false,
1617
+ error: "Network request failed.",
1618
+ validationErrors: {},
1619
+ });
1598
1620
  }
1599
1621
  };
1600
1622
  const inputFunction = useCallback.useCallback((e) => {
@@ -1602,43 +1624,29 @@ function usePortalRegister(props) {
1602
1624
  const name = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toLowerCase();
1603
1625
  if (name !== "tel")
1604
1626
  return;
1605
- const asYouType = new useValidationState.AsYouType("US");
1627
+ const asYouType = new AsYouType.AsYouType("US");
1606
1628
  e.target.value = asYouType.input(e.target.value);
1607
1629
  }, []);
1608
- stencilHooks_module.useEffect(() => {
1609
- var _a;
1610
- if ((_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
1611
- index_module.In.push(props.nextPage);
1612
- }
1613
- }, [(_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
1614
- stencilHooks_module.useEffect(() => {
1615
- if (!formRef.current)
1616
- return;
1617
- const form = formRef.current;
1618
- form.addEventListener("sl-input", inputFunction);
1619
- return () => {
1620
- form.removeEventListener("sl-input", inputFunction);
1621
- };
1622
- }, [formRef.current]);
1623
1630
  let errorMessage = "";
1624
- if ((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b["error"]) {
1631
+ if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
1625
1632
  errorMessage = "Network request failed";
1626
1633
  }
1627
- else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors.length)) {
1634
+ else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
1628
1635
  errorMessage = "Network request failed";
1629
1636
  }
1630
1637
  else {
1631
1638
  errorMessage =
1632
- ((_g = (_f = (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d.errors) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.extensions) === null || _g === void 0 ? void 0 : _g.message) || ((_k = (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
1639
+ ((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || (registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.error);
1633
1640
  }
1634
1641
  return {
1635
1642
  states: {
1636
1643
  loading,
1637
1644
  error: errorMessage,
1638
- validationState,
1645
+ registrationFormState,
1639
1646
  confirmPassword: props.confirmPassword,
1640
1647
  hideInputs: props.hideInputs,
1641
1648
  loginPath: props.loginPath,
1649
+ disablePasswordValidation: !props.disablePasswordValidation,
1642
1650
  },
1643
1651
  callbacks: {
1644
1652
  submit,
@@ -1655,23 +1663,25 @@ const PortalRegister = class {
1655
1663
  index.registerInstance(this, hostRef);
1656
1664
  this.ignored = true;
1657
1665
  /**
1658
- * Page navigated to after registration
1666
+ * Page participants are navigated to after registration.
1659
1667
  *
1660
- * @uiName Next Page
1668
+ * @uiName Registration Redirect Path
1669
+ * @uiWidget pageSelect
1661
1670
  */
1662
1671
  this.nextPage = "/";
1663
1672
  /**
1664
- * The page that users are redirected to from the verification email.
1673
+ * The page that participants are redirected to from the verification email.
1665
1674
  *
1666
- * @uiName Email Redirection Base Path
1675
+ * @uiName Email Redirection Path
1676
+ * @uiWidget pageSelect
1667
1677
  */
1668
1678
  this.redirectPath = "/verifyEmail";
1669
1679
  /**
1670
- * @uiName Email Label
1680
+ * @uiName Email Field Label
1671
1681
  */
1672
1682
  this.emailLabel = "Email";
1673
1683
  /**
1674
- * @uiName Password Label
1684
+ * @uiName Password Field Label
1675
1685
  */
1676
1686
  this.passwordLabel = "Password";
1677
1687
  /**
@@ -1687,43 +1697,42 @@ const PortalRegister = class {
1687
1697
  */
1688
1698
  this.confirmPasswordLabel = "Confirm Password";
1689
1699
  /**
1690
- * Show or hide the confirm password input
1700
+ * Show or hide the confirm password input.
1691
1701
  *
1692
1702
  * @uiName Show Confirm Password Field
1693
- * @default
1694
1703
  */
1695
1704
  this.confirmPassword = false;
1696
1705
  /**
1697
- * @uiName Enable Password Validation
1706
+ * @uiName Disable Password Validation
1698
1707
  */
1699
- this.enablePasswordValidation = true;
1708
+ this.disablePasswordValidation = false;
1700
1709
  /**
1701
- * Hide default input fields to use custom fields
1710
+ * Hide default input fields to use custom fields.
1702
1711
  *
1703
1712
  * @uiName Hide Default Inputs
1704
- * @default
1705
1713
  */
1706
1714
  this.hideInputs = false;
1707
1715
  /**
1708
- * @uiName Heading Label
1716
+ * @uiName Header Text
1709
1717
  */
1710
1718
  this.pageLabel = "Register";
1711
1719
  /**
1712
- * Login button redirection path
1720
+ * Login button redirection path.
1713
1721
  *
1714
- * @uiName Login Path
1722
+ * @uiName Login Redirect Path
1723
+ * @uiWidget pageSelect
1715
1724
  */
1716
1725
  this.loginPath = "/login";
1717
1726
  stencilHooks_module.h$1(this);
1718
1727
  }
1719
1728
  disconnectedCallback() { }
1720
1729
  render() {
1721
- const { states, callbacks, refs } = index_module.L()
1730
+ const { states, callbacks, refs } = index_module.isDemo()
1722
1731
  ? useRegisterDemo(this)
1723
1732
  : usePortalRegister(this);
1724
1733
  const content = {
1725
1734
  formData: index.h("slot", { name: "formData" }),
1726
- secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.In.push(states.loginPath) }, this.loginLabel))),
1735
+ secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.fn.push(states.loginPath) }, this.loginLabel))),
1727
1736
  terms: index.h("slot", { name: "terms" }),
1728
1737
  emailLabel: this.emailLabel,
1729
1738
  passwordLabel: this.passwordLabel,
@@ -1742,7 +1751,8 @@ function useRegisterDemo(props) {
1742
1751
  confirmPassword: true,
1743
1752
  hideInputs: props.hideInputs || false,
1744
1753
  customPasswordField: false,
1745
- loginPath: "/login",
1754
+ loginPath: props.loginPath,
1755
+ disablePasswordValidation: props.disablePasswordValidation,
1746
1756
  },
1747
1757
  callbacks: {
1748
1758
  submit: async (_event) => {
@@ -1885,11 +1895,11 @@ const ProgramExplainerStep = class {
1885
1895
  const debug = stencilHooks_module.browser('sq:useProgramMenu');
1886
1896
  const UPDATE_PROGRAM_EVENT = 'sq:update-program-id';
1887
1897
  function useProgramMenu(props) {
1888
- const programId = index_module.M();
1889
- const host = index_module.P();
1898
+ const programId = index_module.O();
1899
+ const host = index_module.R();
1890
1900
  debug({ programId, props });
1891
1901
  const ref = stencilHooks_module.useRef();
1892
- const [, rerender] = index_module.pn();
1902
+ const [, rerender] = index_module.on();
1893
1903
  stencilHooks_module.useEffect(() => {
1894
1904
  var _a;
1895
1905
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener('sl-select', (e) => {
@@ -2015,9 +2025,9 @@ const GET_USER_DETAILS = index_module.dist.gql `
2015
2025
  `;
2016
2026
  function useReferralIframe(props) {
2017
2027
  var _a;
2018
- const programId = index_module.M();
2019
- const user = index_module.ae();
2020
- const { data } = index_module.wn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2028
+ const programId = index_module.O();
2029
+ const user = index_module.N();
2030
+ const { data } = index_module.dn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
2021
2031
  return {
2022
2032
  states: {
2023
2033
  content: props,
@@ -2055,7 +2065,7 @@ const SqmReferralIframe = class {
2055
2065
  if (missingProps) {
2056
2066
  return (index.h(RequiredPropsError, { missingProps: missingProps, heading: "An error occured while loading this page", subheading: "A technical problem prevented this iframe from loading. Please contact us with the link to this page.", description: "Values for the following attributes are missing:" }));
2057
2067
  }
2058
- const { states, data } = index_module.L()
2068
+ const { states, data } = index_module.isDemo()
2059
2069
  ? useReferralIframeDemo(utils.getProps(this))
2060
2070
  : useReferralIframe(utils.getProps(this));
2061
2071
  return (index.h(index.Host, { style: { display: "contents" } }, index.h(ShadowViewAddon.ReferralIframeView, { data: data, states: states })));
@@ -2742,9 +2752,9 @@ function useRewardExchangeList(props) {
2742
2752
  });
2743
2753
  const [open, setOpen] = stencilHooks_module.useState(false);
2744
2754
  const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
2745
- const user = index_module.ae();
2746
- const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.je(EXCHANGE);
2747
- const { data, loading, refetch, errors: queryError, } = index_module.wn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
2755
+ const user = index_module.N();
2756
+ const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.Pe(EXCHANGE);
2757
+ const { data, loading, refetch, errors: queryError, } = index_module.dn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
2748
2758
  stencilHooks_module.useEffect(() => {
2749
2759
  var _a, _b;
2750
2760
  if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
@@ -2763,7 +2773,7 @@ function useRewardExchangeList(props) {
2763
2773
  canvas.confetti || confetti.create(canvas, { resize: true });
2764
2774
  canvas.confetti();
2765
2775
  }, [canvasRef.current]);
2766
- const { refresh } = index_module.Ze();
2776
+ const { refresh } = index_module.Le();
2767
2777
  async function exchangeReward() {
2768
2778
  if (!selectedItem)
2769
2779
  return;
@@ -3019,7 +3029,7 @@ const SqmRewardExchangeList = class {
3019
3029
  ...utils.getProps(this),
3020
3030
  empty: index.h(EmptySlot$1, null),
3021
3031
  };
3022
- const { states, data, callbacks, refs } = index_module.L()
3032
+ const { states, data, callbacks, refs } = index_module.isDemo()
3023
3033
  ? useRewardExchangeListDemo(props)
3024
3034
  : useRewardExchangeList(props);
3025
3035
  return (index.h(index.Host, { style: { display: "contents" } }, index.h(ShadowViewAddon.RewardExchangeView, { states: states, data: data, callbacks: callbacks, refs: refs })));
@@ -3071,8 +3081,8 @@ function matchPath(pattern, page) {
3071
3081
  return regexp.exec(page);
3072
3082
  }
3073
3083
  function useRouter() {
3074
- const location = index_module.Fn();
3075
- const host = index_module.P();
3084
+ const location = index_module.cn();
3085
+ const host = index_module.R();
3076
3086
  const [slot, setSlot] = stencilHooks_module.useState(undefined);
3077
3087
  const [container, setContainer] = stencilHooks_module.useState(undefined);
3078
3088
  const page = location.pathname;
@@ -3289,7 +3299,7 @@ const ShareButton = class {
3289
3299
  disconnectedCallback() { }
3290
3300
  render() {
3291
3301
  const thisProps = utils.getProps(this);
3292
- const props = index_module.L()
3302
+ const props = index_module.isDemo()
3293
3303
  ? useDemoShareButton(thisProps)
3294
3304
  : ShadowViewAddon.useShareButton(thisProps);
3295
3305
  return (index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), index.h("slot", null)));
@@ -3323,11 +3333,11 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
3323
3333
  `;
3324
3334
  function useShareCode(props) {
3325
3335
  var _a, _b;
3326
- const programId = index_module.M();
3327
- const user = index_module.ae();
3328
- const engagementMedium = index_module.J();
3329
- const { data } = index_module.wn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3330
- const [sendLoadEvent] = index_module.je(WIDGET_ENGAGEMENT_EVENT);
3336
+ const programId = index_module.O();
3337
+ const user = index_module.N();
3338
+ const engagementMedium = index_module.U();
3339
+ const { data } = index_module.dn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
3340
+ const [sendLoadEvent] = index_module.Pe(WIDGET_ENGAGEMENT_EVENT);
3331
3341
  const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
3332
3342
  // Shown during loading
3333
3343
  "...";
@@ -3374,7 +3384,7 @@ const ShareCode = class {
3374
3384
  disconnectedCallback() { }
3375
3385
  render() {
3376
3386
  const thisProps = utils.getProps(this);
3377
- const props = index_module.L()
3387
+ const props = index_module.isDemo()
3378
3388
  ? useDemoShareCode(thisProps)
3379
3389
  : useShareCode(thisProps);
3380
3390
  return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
@@ -3417,7 +3427,7 @@ const ShareLink = class {
3417
3427
  disconnectedCallback() { }
3418
3428
  render() {
3419
3429
  const thisProps = utils.getProps(this);
3420
- const props = index_module.L()
3430
+ const props = index_module.isDemo()
3421
3431
  ? useDemoShareLink(thisProps)
3422
3432
  : ShadowViewAddon.useShareLink(thisProps);
3423
3433
  return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
@@ -3469,7 +3479,9 @@ const StatContainer = class {
3469
3479
  const TableCell = class {
3470
3480
  constructor(hostRef) {
3471
3481
  index.registerInstance(this, hostRef);
3482
+ /** @uiName Column Span */
3472
3483
  this.colspan = 1;
3484
+ /** @uiName Padding */
3473
3485
  this.padding = "15px 10px";
3474
3486
  }
3475
3487
  render() {
@@ -3480,6 +3492,9 @@ const TableCell = class {
3480
3492
  const TableRow = class {
3481
3493
  constructor(hostRef) {
3482
3494
  index.registerInstance(this, hostRef);
3495
+ /**
3496
+ * @uiName Border
3497
+ */
3483
3498
  this.border = "1px solid #EAEAEA";
3484
3499
  }
3485
3500
  render() {
@@ -3495,10 +3510,10 @@ const SEND_EVENT = index_module.dist.gql `
3495
3510
  }
3496
3511
  `;
3497
3512
  function useTaskCard(props) {
3498
- const user = index_module.ae();
3499
- const locale = index_module.O();
3500
- const [sendUserEvent, { data, loading: loadingEvent }] = index_module.je(SEND_EVENT);
3501
- const { refresh } = index_module.Ze();
3513
+ const user = index_module.N();
3514
+ const locale = index_module.x();
3515
+ const [sendUserEvent, { data, loading: loadingEvent }] = index_module.Pe(SEND_EVENT);
3516
+ const { refresh } = index_module.Le();
3502
3517
  stencilHooks_module.useEffect(() => {
3503
3518
  if (data) {
3504
3519
  refresh();
@@ -3559,7 +3574,7 @@ const TaskCard = class {
3559
3574
  */
3560
3575
  this.repeatable = false;
3561
3576
  /**
3562
- * The number of times a reward can be earned. Use zero for no limit (the default).
3577
+ * The number of times a task can be completed when repeatable. Use zero for no limit (the default).
3563
3578
  *
3564
3579
  * @uiName Repeat Amount
3565
3580
  * @uiGroup Reward
@@ -3636,11 +3651,11 @@ const TaskCard = class {
3636
3651
  }
3637
3652
  disconnectedCallback() { }
3638
3653
  render() {
3639
- const { props } = index_module.L()
3654
+ const { props } = index_module.isDemo()
3640
3655
  ? ShadowViewAddon.useDemoBigStat(this)
3641
3656
  : ShadowViewAddon.useBigStat({ ...utils.getProps(this), programId: this.programId });
3642
3657
  const { value, loading } = props;
3643
- const { states, callbacks } = index_module.L()
3658
+ const { states, callbacks } = index_module.isDemo()
3644
3659
  ? useTaskCardDemo(this)
3645
3660
  : useTaskCard(this);
3646
3661
  return (index.h(ShadowViewAddon.TaskCardView, { callbacks: callbacks, states: {
@@ -3814,8 +3829,8 @@ const GET_USER_NAME = index_module.dist.gql `
3814
3829
  `;
3815
3830
  function useUserName(props) {
3816
3831
  var _a, _b, _c, _d, _e, _f, _g, _h;
3817
- const user = index_module.ae();
3818
- const res = index_module.wn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3832
+ const user = index_module.N();
3833
+ const res = index_module.dn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
3819
3834
  const loading = res.loading;
3820
3835
  const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
3821
3836
  ? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
@@ -3830,7 +3845,7 @@ function useUserName(props) {
3830
3845
  const UserName = class {
3831
3846
  constructor(hostRef) {
3832
3847
  index.registerInstance(this, hostRef);
3833
- this._ignored = true;
3848
+ this.ignored = true;
3834
3849
  /**
3835
3850
  * Fallback name for unknown users
3836
3851
  * @uiName Fallback Name
@@ -3844,7 +3859,7 @@ const UserName = class {
3844
3859
  }
3845
3860
  disconnectedCallback() { }
3846
3861
  render() {
3847
- const props = index_module.L() ? useUserNameDemo(this) : useUserName(this);
3862
+ const props = index_module.isDemo() ? useUserNameDemo(this) : useUserName(this);
3848
3863
  return index.h(UserNameView, Object.assign({}, props));
3849
3864
  }
3850
3865
  };