@saasquatch/mint-components 2.2.0-7 → 2.2.0-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2742) hide show
  1. package/package.json +2 -2
  2. package/readme.md +60 -1
  3. package/dist/cjs/ErrorView-ee7b0f36.js +0 -11
  4. package/dist/cjs/GenericTableView-be5648e4.js +0 -122
  5. package/dist/cjs/JSS-8503a151.js +0 -4293
  6. package/dist/cjs/ShadowViewAddon-1c054d52.js +0 -4551
  7. package/dist/cjs/cjs-1066ec21.js +0 -135
  8. package/dist/cjs/copy-text-view-bb2c0ea7.js +0 -116
  9. package/dist/cjs/data-c03e282a.js +0 -150
  10. package/dist/cjs/dom-context-hooks.module-e7b6727c.js +0 -1133
  11. package/dist/cjs/email-registration-view-306c8878.js +0 -87
  12. package/dist/cjs/eventKeys-7af4df4d.js +0 -5
  13. package/dist/cjs/global-b7b1b8fe.js +0 -26938
  14. package/dist/cjs/imageUrl-a7880cab.js +0 -60
  15. package/dist/cjs/index-8277cbb3.js +0 -1760
  16. package/dist/cjs/index-8c6255f5.js +0 -297
  17. package/dist/cjs/index.cjs.js +0 -2
  18. package/dist/cjs/index.module-f8c8495f.js +0 -8809
  19. package/dist/cjs/jsonpointer-11327262.js +0 -106
  20. package/dist/cjs/keys-5a2c9ed2.js +0 -15
  21. package/dist/cjs/loader.cjs.js +0 -24
  22. package/dist/cjs/luxon-c1ad356a.js +0 -8348
  23. package/dist/cjs/mint-components.cjs.js +0 -45
  24. package/dist/cjs/mixins-4761d472.js +0 -94
  25. package/dist/cjs/mockRewardData-ed603fca.js +0 -158
  26. package/dist/cjs/parseStates-d1effc19.js +0 -16
  27. package/dist/cjs/raisins-plop-target.cjs.entry.js +0 -22
  28. package/dist/cjs/re-render-72a0ef45.js +0 -45
  29. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +0 -5931
  30. package/dist/cjs/sqm-big-stat_46.cjs.entry.js +0 -8356
  31. package/dist/cjs/sqm-close-button-view-e9f2a454.js +0 -28
  32. package/dist/cjs/sqm-close-button.cjs.entry.js +0 -41
  33. package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -351
  34. package/dist/cjs/sqm-context-router.cjs.entry.js +0 -103
  35. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +0 -886
  36. package/dist/cjs/sqm-empty_4.cjs.entry.js +0 -193
  37. package/dist/cjs/sqm-form-message_2.cjs.entry.js +0 -87
  38. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +0 -142
  39. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +0 -34
  40. package/dist/cjs/sqm-header-logo.cjs.entry.js +0 -46
  41. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +0 -158
  42. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +0 -84
  43. package/dist/cjs/sqm-lead-checkbox-field-view-0af2a157.js +0 -83
  44. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +0 -81
  45. package/dist/cjs/sqm-lead-input-field-view-0cd7ebdb.js +0 -51
  46. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +0 -88
  47. package/dist/cjs/sqm-leaderboard-rank-view-67fd7934.js +0 -10
  48. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +0 -87
  49. package/dist/cjs/sqm-logout-current-user-view-f330d641.js +0 -44
  50. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +0 -83
  51. package/dist/cjs/sqm-navigation-sidebar-item-view-49b152dd.js +0 -56
  52. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +0 -76
  53. package/dist/cjs/sqm-navigation-sidebar-view-6616e3e0.js +0 -168
  54. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +0 -55
  55. package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -420
  56. package/dist/cjs/sqm-partner-info-modal-view-97770d03.js +0 -149
  57. package/dist/cjs/sqm-password-field.cjs.entry.js +0 -611
  58. package/dist/cjs/sqm-popup-container.cjs.entry.js +0 -75
  59. package/dist/cjs/sqm-portal-container-view-70a47420.js +0 -60
  60. package/dist/cjs/sqm-portal-email-verification-view-d51c2a06.js +0 -71
  61. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +0 -199
  62. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +0 -1074
  63. package/dist/cjs/sqm-portal-logout.cjs.entry.js +0 -34
  64. package/dist/cjs/sqm-portal-profile-view-e6927959.js +0 -87
  65. package/dist/cjs/sqm-portal-profile.cjs.entry.js +0 -267
  66. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +0 -68
  67. package/dist/cjs/sqm-portal-registration-form-view-fd48f1d3.js +0 -88
  68. package/dist/cjs/sqm-portal-reset-password-view-d90d77f9.js +0 -81
  69. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +0 -239
  70. package/dist/cjs/sqm-portal-verify-email-view-6258dcae.js +0 -220
  71. package/dist/cjs/sqm-qr-code-view-1f2daa76.js +0 -94
  72. package/dist/cjs/sqm-qr-code.cjs.entry.js +0 -196
  73. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +0 -1029
  74. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +0 -24
  75. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +0 -34
  76. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +0 -1199
  77. package/dist/cjs/sqm-route.cjs.entry.js +0 -18
  78. package/dist/cjs/sqm-scroll.cjs.entry.js +0 -63
  79. package/dist/cjs/sqm-stencilbook.cjs.entry.js +0 -21822
  80. package/dist/cjs/sqm-tab.cjs.entry.js +0 -26
  81. package/dist/cjs/sqm-tabs.cjs.entry.js +0 -111
  82. package/dist/cjs/sqm-text-span-view-8a32dd8c.js +0 -63
  83. package/dist/cjs/sqm-text-span.cjs.entry.js +0 -23
  84. package/dist/cjs/sqm-user-info-form-view-4d56b339.js +0 -2067
  85. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +0 -122
  86. package/dist/cjs/useChildElements-041127d7.js +0 -32
  87. package/dist/cjs/useInstantAccessRegistration-2398df36.js +0 -96
  88. package/dist/cjs/useLeadFormState-b4c2ab5b.js +0 -72
  89. package/dist/cjs/usePayoutStatus-0a98ee05.js +0 -1114
  90. package/dist/cjs/usePortalRegistrationForm-23ee2d62.js +0 -4086
  91. package/dist/cjs/useReferralCodes-0f7948af.js +0 -138
  92. package/dist/cjs/useReferralTable-6e9de0d5.js +0 -432
  93. package/dist/cjs/useRegistrationFormState-4fe5b770.js +0 -27
  94. package/dist/cjs/useVerificationEmail-5d19aa99.js +0 -173
  95. package/dist/cjs/utilities-fcdb9504.js +0 -25
  96. package/dist/cjs/utils-15ce04e3.js +0 -93
  97. package/dist/cjs/utils-6847bc06.js +0 -46
  98. package/dist/collection/ShadowViewAddon.js +0 -35
  99. package/dist/collection/collection-manifest.json +0 -187
  100. package/dist/collection/components/raisins-plop-target/raisins-plop-target.js +0 -53
  101. package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +0 -36
  102. package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +0 -69
  103. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +0 -101
  104. package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +0 -131
  105. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -41
  106. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +0 -347
  107. package/dist/collection/components/sqm-big-stat/useBigStat.js +0 -1081
  108. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +0 -43
  109. package/dist/collection/components/sqm-brand/SqmBrand.stories.js +0 -97
  110. package/dist/collection/components/sqm-brand/sqm-brand.js +0 -128
  111. package/dist/collection/components/sqm-card-feed/CardFeed.stories.js +0 -232
  112. package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +0 -27
  113. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +0 -84
  114. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +0 -103
  115. package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +0 -68
  116. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +0 -77
  117. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +0 -241
  118. package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +0 -23
  119. package/dist/collection/components/sqm-close-button/CloseButton.stories.js +0 -27
  120. package/dist/collection/components/sqm-close-button/sqm-close-button-view.js +0 -23
  121. package/dist/collection/components/sqm-close-button/sqm-close-button.js +0 -65
  122. package/dist/collection/components/sqm-context-router/ContextRouter.js +0 -144
  123. package/dist/collection/components/sqm-context-router/sqm-context-router.css +0 -7
  124. package/dist/collection/components/sqm-context-router/sqm-context-router.js +0 -51
  125. package/dist/collection/components/sqm-context-router/useContextRouter.js +0 -80
  126. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +0 -76
  127. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +0 -30
  128. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +0 -767
  129. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +0 -190
  130. package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +0 -71
  131. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +0 -67
  132. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +0 -162
  133. package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +0 -45
  134. package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +0 -54
  135. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +0 -54
  136. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +0 -187
  137. package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +0 -10
  138. package/dist/collection/components/sqm-edit-profile/EditProfileForm.stories.js +0 -61
  139. package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +0 -41
  140. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +0 -55
  141. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.css +0 -70
  142. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +0 -355
  143. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +0 -158
  144. package/dist/collection/components/sqm-empty/EmptyState.stories.js +0 -55
  145. package/dist/collection/components/sqm-empty/sqm-empty-view.js +0 -25
  146. package/dist/collection/components/sqm-empty/sqm-empty.js +0 -109
  147. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +0 -43
  148. package/dist/collection/components/sqm-form-message/sqm-form-message.css +0 -71
  149. package/dist/collection/components/sqm-form-message/sqm-form-message.js +0 -140
  150. package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +0 -130
  151. package/dist/collection/components/sqm-google-sign-in/useGoogleSignIn.js +0 -70
  152. package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +0 -52
  153. package/dist/collection/components/sqm-graphql-client-provider/useGraphQLProvider.js +0 -14
  154. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +0 -186
  155. package/dist/collection/components/sqm-hero/Hero.stories.js +0 -209
  156. package/dist/collection/components/sqm-hero/sqm-hero-view.js +0 -139
  157. package/dist/collection/components/sqm-hero/sqm-hero.js +0 -241
  158. package/dist/collection/components/sqm-hero-image/HeroImage.stories.js +0 -56
  159. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +0 -147
  160. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +0 -624
  161. package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +0 -42
  162. package/dist/collection/components/sqm-image/Image.stories.js +0 -26
  163. package/dist/collection/components/sqm-image/sqm-image-view.js +0 -33
  164. package/dist/collection/components/sqm-image/sqm-image.js +0 -152
  165. package/dist/collection/components/sqm-input-field/InputField.stories.js +0 -93
  166. package/dist/collection/components/sqm-input-field/UseInputField.stories.js +0 -77
  167. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +0 -41
  168. package/dist/collection/components/sqm-input-field/sqm-input-field.js +0 -214
  169. package/dist/collection/components/sqm-input-field/useInputField.js +0 -10
  170. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +0 -575
  171. package/dist/collection/components/sqm-instant-access-registration/useInstantAccessRegistration.js +0 -91
  172. package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +0 -146
  173. package/dist/collection/components/sqm-invoice-table/InvoiceTableCell.stories.js +0 -27
  174. package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +0 -56
  175. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-data-cell.js +0 -36
  176. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-date-cell.js +0 -61
  177. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +0 -44
  178. package/dist/collection/components/sqm-invoice-table/columns/InvoiceTableColumn.js +0 -1
  179. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +0 -109
  180. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +0 -94
  181. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +0 -65
  182. package/dist/collection/components/sqm-invoice-table/mockInvoiceData.js +0 -20
  183. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +0 -55
  184. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +0 -461
  185. package/dist/collection/components/sqm-invoice-table/useInvoiceTable.js +0 -155
  186. package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +0 -44
  187. package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +0 -93
  188. package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +0 -62
  189. package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +0 -49
  190. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +0 -79
  191. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +0 -234
  192. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +0 -65
  193. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +0 -251
  194. package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +0 -121
  195. package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +0 -495
  196. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +0 -47
  197. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +0 -251
  198. package/dist/collection/components/sqm-lead-form/useCheckboxField.js +0 -10
  199. package/dist/collection/components/sqm-lead-form/useLeadDropdownField.js +0 -10
  200. package/dist/collection/components/sqm-lead-form/useLeadForm.js +0 -155
  201. package/dist/collection/components/sqm-lead-form/useLeadFormState.js +0 -10
  202. package/dist/collection/components/sqm-lead-form/useLeadInputField.js +0 -10
  203. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +0 -657
  204. package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +0 -208
  205. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +0 -136
  206. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +0 -705
  207. package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +0 -156
  208. package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +0 -30
  209. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +0 -5
  210. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +0 -11
  211. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +0 -231
  212. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +0 -45
  213. package/dist/collection/components/sqm-link-button/LinkButton.stories.js +0 -19
  214. package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +0 -25
  215. package/dist/collection/components/sqm-link-button/sqm-link-button.js +0 -103
  216. package/dist/collection/components/sqm-logout-current-user/LogoutCurrentUser.stories.js +0 -19
  217. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user-view.js +0 -39
  218. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +0 -161
  219. package/dist/collection/components/sqm-logout-current-user/useLogoutCurrentUser.js +0 -28
  220. package/dist/collection/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.js +0 -11
  221. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +0 -129
  222. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +0 -42
  223. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +0 -75
  224. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +0 -150
  225. package/dist/collection/components/sqm-name-fields/useNameFields.js +0 -15
  226. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu-view.js +0 -14
  227. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.css +0 -25
  228. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +0 -123
  229. package/dist/collection/components/sqm-navigation-menu/useNavigationMenu.js +0 -26
  230. package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +0 -45
  231. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +0 -163
  232. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +0 -122
  233. package/dist/collection/components/sqm-navigation-sidebar-item/SidebarItem.stories.js +0 -31
  234. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +0 -51
  235. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +0 -365
  236. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +0 -22
  237. package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
  238. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -32
  239. package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -153
  240. package/dist/collection/components/sqm-pagination/usePagination.js +0 -29
  241. package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -171
  242. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -143
  243. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -669
  244. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -269
  245. package/dist/collection/components/sqm-password-field/PasswordField.stories.js +0 -46
  246. package/dist/collection/components/sqm-password-field/passwordValidation.js +0 -76
  247. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +0 -45
  248. package/dist/collection/components/sqm-password-field/sqm-password-field.js +0 -290
  249. package/dist/collection/components/sqm-password-field/usePasswordField.js +0 -25
  250. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +0 -15
  251. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +0 -24
  252. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +0 -122
  253. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +0 -37
  254. package/dist/collection/components/sqm-popup-container/PopupContainer.stories.js +0 -18
  255. package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +0 -11
  256. package/dist/collection/components/sqm-popup-container/sqm-popup-container.css +0 -11
  257. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +0 -180
  258. package/dist/collection/components/sqm-popup-container/usePopupContainer.js +0 -34
  259. package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +0 -54
  260. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +0 -47
  261. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +0 -217
  262. package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +0 -115
  263. package/dist/collection/components/sqm-portal-change-password/ChangePassword.stories.js +0 -147
  264. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +0 -78
  265. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +0 -506
  266. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +0 -64
  267. package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +0 -143
  268. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +0 -33
  269. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +0 -336
  270. package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +0 -72
  271. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +0 -66
  272. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +0 -300
  273. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +0 -112
  274. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +0 -25
  275. package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +0 -33
  276. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +0 -75
  277. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +0 -391
  278. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +0 -75
  279. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +0 -48
  280. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +0 -390
  281. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +0 -46
  282. package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +0 -118
  283. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +0 -54
  284. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +0 -205
  285. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +0 -16
  286. package/dist/collection/components/sqm-portal-google-login/GoogleLoginForm.stories.js +0 -37
  287. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +0 -429
  288. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +0 -93
  289. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +0 -882
  290. package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +0 -82
  291. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +0 -65
  292. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +0 -53
  293. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +0 -375
  294. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +0 -69
  295. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +0 -58
  296. package/dist/collection/components/sqm-portal-logout/usePortalLogout.js +0 -5
  297. package/dist/collection/components/sqm-portal-profile/PortalProfile.stories.js +0 -227
  298. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +0 -82
  299. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +0 -402
  300. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +0 -150
  301. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +0 -112
  302. package/dist/collection/components/sqm-portal-protected-route/usePortalProtectedRoute.js +0 -26
  303. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +0 -123
  304. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +0 -76
  305. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +0 -695
  306. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +0 -131
  307. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +0 -110
  308. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +0 -83
  309. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +0 -753
  310. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +0 -211
  311. package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +0 -21
  312. package/dist/collection/components/sqm-portal-reset-password/PortalResetPassword.stories.js +0 -153
  313. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +0 -76
  314. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +0 -592
  315. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +0 -86
  316. package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +0 -45
  317. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +0 -44
  318. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +0 -280
  319. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +0 -85
  320. package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +0 -50
  321. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +0 -44
  322. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +0 -102
  323. package/dist/collection/components/sqm-program-explainer-step/ProgramExplainerStep.stories.js +0 -14
  324. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +0 -83
  325. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +0 -239
  326. package/dist/collection/components/sqm-program-menu/ProgramMenu.stories.js +0 -39
  327. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +0 -27
  328. package/dist/collection/components/sqm-program-menu/useProgramMenu.js +0 -33
  329. package/dist/collection/components/sqm-qr-code/QRCode.stories.js +0 -47
  330. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +0 -89
  331. package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +0 -295
  332. package/dist/collection/components/sqm-qr-code/useQRCode.js +0 -112
  333. package/dist/collection/components/sqm-radio-card/RadioCard.stories.js +0 -17
  334. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +0 -65
  335. package/dist/collection/components/sqm-radio-card/sqm-radio-card.js +0 -0
  336. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -134
  337. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +0 -62
  338. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -385
  339. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -63
  340. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -486
  341. package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -63
  342. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -71
  343. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -69
  344. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -247
  345. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -131
  346. package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +0 -29
  347. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +0 -29
  348. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +0 -158
  349. package/dist/collection/components/sqm-referral-iframe/useReferralIframe.js +0 -25
  350. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +0 -596
  351. package/dist/collection/components/sqm-referral-table/ReferralTableCell.stories.js +0 -74
  352. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +0 -356
  353. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +0 -97
  354. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +0 -252
  355. package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +0 -149
  356. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-cell.js +0 -36
  357. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-date-cell.js +0 -61
  358. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +0 -542
  359. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +0 -166
  360. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-user-cell.js +0 -27
  361. package/dist/collection/components/sqm-referral-table/columns/ReferralTableColumn.js +0 -1
  362. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +0 -90
  363. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +0 -182
  364. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +0 -364
  365. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +0 -301
  366. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +0 -207
  367. package/dist/collection/components/sqm-referral-table/mockReferralData.js +0 -147
  368. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +0 -419
  369. package/dist/collection/components/sqm-referral-table/useReferralTable.js +0 -427
  370. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +0 -641
  371. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +0 -31
  372. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +0 -421
  373. package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +0 -27
  374. package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +0 -143
  375. package/dist/collection/components/sqm-reward-exchange-list/assets/Reward-icon.png +0 -0
  376. package/dist/collection/components/sqm-reward-exchange-list/assets/Reward-image.png +0 -0
  377. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +0 -64
  378. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +0 -613
  379. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +0 -798
  380. package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +0 -205
  381. package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +0 -148
  382. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +0 -435
  383. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +0 -113
  384. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.js +0 -299
  385. package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +0 -149
  386. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.js +0 -57
  387. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.js +0 -61
  388. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +0 -254
  389. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +0 -212
  390. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +0 -617
  391. package/dist/collection/components/sqm-rewards-table/columns/RewardTableColumn.js +0 -1
  392. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +0 -139
  393. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +0 -100
  394. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +0 -178
  395. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +0 -246
  396. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +0 -517
  397. package/dist/collection/components/sqm-rewards-table/mockRewardData.js +0 -158
  398. package/dist/collection/components/sqm-rewards-table/mockTaxData.js +0 -18
  399. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +0 -363
  400. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +0 -288
  401. package/dist/collection/components/sqm-route/sqm-route.js +0 -42
  402. package/dist/collection/components/sqm-router/Router.stories.js +0 -144
  403. package/dist/collection/components/sqm-router/sqm-router.css +0 -7
  404. package/dist/collection/components/sqm-router/sqm-router.js +0 -33
  405. package/dist/collection/components/sqm-router/useRouter.js +0 -79
  406. package/dist/collection/components/sqm-scroll/Scroll.stories.js +0 -155
  407. package/dist/collection/components/sqm-scroll/sqm-scroll.js +0 -303
  408. package/dist/collection/components/sqm-scroll/useScroll.js +0 -17
  409. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +0 -116
  410. package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +0 -59
  411. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +0 -65
  412. package/dist/collection/components/sqm-share-button/sqm-share-button.css +0 -11
  413. package/dist/collection/components/sqm-share-button/sqm-share-button.js +0 -575
  414. package/dist/collection/components/sqm-share-button/useShareButton.js +0 -106
  415. package/dist/collection/components/sqm-share-code/ShareCode.stories.js +0 -50
  416. package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -428
  417. package/dist/collection/components/sqm-share-code/useShareCode.js +0 -49
  418. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +0 -94
  419. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +0 -59
  420. package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -428
  421. package/dist/collection/components/sqm-share-link/useShareLink.js +0 -60
  422. package/dist/collection/components/sqm-skeleton/Skeleton.stories.js +0 -16
  423. package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +0 -89
  424. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +0 -65
  425. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +0 -217
  426. package/dist/collection/components/sqm-stencilbook/AutoColor.js +0 -49
  427. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +0 -198
  428. package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +0 -20
  429. package/dist/collection/components/sqm-stencilbook/HookStoryAddon.js +0 -19
  430. package/dist/collection/components/sqm-stencilbook/Matrix.js +0 -66
  431. package/dist/collection/components/sqm-stencilbook/Resizer.js +0 -27
  432. package/dist/collection/components/sqm-stencilbook/Themes.js +0 -348
  433. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -270
  434. package/dist/collection/components/sqm-tab/sqm-tab-view.js +0 -4
  435. package/dist/collection/components/sqm-tab/sqm-tab.js +0 -45
  436. package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +0 -64
  437. package/dist/collection/components/sqm-table-row/sqm-table-row.js +0 -43
  438. package/dist/collection/components/sqm-tabs/Tabs.stories.js +0 -498
  439. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -41
  440. package/dist/collection/components/sqm-tabs/sqm-tabs.js +0 -85
  441. package/dist/collection/components/sqm-tabs/useTabs.js +0 -48
  442. package/dist/collection/components/sqm-task-card/DetailsView.js +0 -59
  443. package/dist/collection/components/sqm-task-card/SVGs.js +0 -14
  444. package/dist/collection/components/sqm-task-card/TaskCard.stories.js +0 -488
  445. package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +0 -67
  446. package/dist/collection/components/sqm-task-card/progress-bar/ProgressBar.stories.js +0 -13
  447. package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +0 -15
  448. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +0 -399
  449. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +0 -268
  450. package/dist/collection/components/sqm-task-card/sqm-task-card.js +0 -925
  451. package/dist/collection/components/sqm-task-card/useTaskCard.js +0 -53
  452. package/dist/collection/components/sqm-text/Text.stories.js +0 -12
  453. package/dist/collection/components/sqm-text/sqm-text.js +0 -125
  454. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +0 -58
  455. package/dist/collection/components/sqm-text-span/sqm-text-span.js +0 -123
  456. package/dist/collection/components/sqm-timeline/SVGs.js +0 -10
  457. package/dist/collection/components/sqm-timeline/Timeline.stories.js +0 -77
  458. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +0 -77
  459. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -196
  460. package/dist/collection/components/sqm-timeline/sqm-timeline.js +0 -85
  461. package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +0 -224
  462. package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +0 -22
  463. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +0 -180
  464. package/dist/collection/components/sqm-user-name/UserName.stories.js +0 -14
  465. package/dist/collection/components/sqm-user-name/sqm-user-name-view.js +0 -4
  466. package/dist/collection/components/sqm-user-name/sqm-user-name.js +0 -117
  467. package/dist/collection/components/sqm-user-name/useUserName.js +0 -26
  468. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +0 -16
  469. package/dist/collection/components/sqm-widget-verification/keys.js +0 -6
  470. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +0 -36
  471. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +0 -137
  472. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +0 -301
  473. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +0 -153
  474. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +0 -58
  475. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -220
  476. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +0 -251
  477. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +0 -136
  478. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +0 -158
  479. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +0 -1015
  480. package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +0 -169
  481. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +0 -92
  482. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +0 -363
  483. package/dist/collection/components/tax-and-cash/SVGs.js +0 -5
  484. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +0 -1448
  485. package/dist/collection/components/tax-and-cash/countries.js +0 -50
  486. package/dist/collection/components/tax-and-cash/data.js +0 -131
  487. package/dist/collection/components/tax-and-cash/eventKeys.js +0 -1
  488. package/dist/collection/components/tax-and-cash/phoneExtensions.js +0 -970
  489. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +0 -238
  490. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/mockData.js +0 -306
  491. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +0 -260
  492. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +0 -2529
  493. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +0 -476
  494. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +0 -108
  495. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +0 -175
  496. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +0 -777
  497. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +0 -173
  498. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +0 -191
  499. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +0 -995
  500. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +0 -292
  501. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -40
  502. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -183
  503. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -206
  504. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +0 -61
  505. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +0 -43
  506. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +0 -285
  507. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +0 -1077
  508. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +0 -147
  509. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +0 -6
  510. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +0 -38
  511. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/extractProps.js +0 -17
  512. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +0 -5848
  513. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +0 -171
  514. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +0 -706
  515. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +0 -2272
  516. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +0 -141
  517. package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +0 -324
  518. package/dist/collection/components/tax-and-cash/sqm-user-info-form/defaultTextCopy.js +0 -18
  519. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +0 -30
  520. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +0 -165
  521. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.js +0 -70
  522. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -440
  523. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +0 -942
  524. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +0 -318
  525. package/dist/collection/components/tax-and-cash/subregions.js +0 -381
  526. package/dist/collection/components/tax-and-cash/useVeriffApp.js +0 -64
  527. package/dist/collection/components/tax-and-cash/utils.js +0 -44
  528. package/dist/collection/components/views/EmailRegistration.stories.js +0 -89
  529. package/dist/collection/components/views/copy-text-view.js +0 -111
  530. package/dist/collection/components/views/email-registration-view.js +0 -82
  531. package/dist/collection/fonts/GoogleFonts.js +0 -12
  532. package/dist/collection/global/global.js +0 -95
  533. package/dist/collection/global/mixins.js +0 -99
  534. package/dist/collection/global/styles.js +0 -966
  535. package/dist/collection/global/styles.ts +0 -1072
  536. package/dist/collection/index.js +0 -1
  537. package/dist/collection/insertcss.js +0 -44
  538. package/dist/collection/insertfont.js +0 -18
  539. package/dist/collection/stories/NewPortal.stories.js +0 -289
  540. package/dist/collection/stories/PortalTemplates.stories.js +0 -111
  541. package/dist/collection/stories/PoweredByImg.stories.js +0 -14
  542. package/dist/collection/stories/Widget.stories.js +0 -73
  543. package/dist/collection/styling/JSS.js +0 -9
  544. package/dist/collection/tables/GenericTableView.js +0 -117
  545. package/dist/collection/tables/TableSlots.js +0 -30
  546. package/dist/collection/tables/re-render.js +0 -39
  547. package/dist/collection/tables/useChildElements.js +0 -27
  548. package/dist/collection/utilities.js +0 -27
  549. package/dist/collection/utils/DefaultTemplateView.js +0 -31
  550. package/dist/collection/utils/RequiredPropsError.js +0 -56
  551. package/dist/collection/utils/TemplateView.js +0 -13
  552. package/dist/collection/utils/imageUrl.js +0 -56
  553. package/dist/collection/utils/isDemo.js +0 -10
  554. package/dist/collection/utils/parseStates.js +0 -12
  555. package/dist/collection/utils/utils.js +0 -52
  556. package/dist/esm/ErrorView-74cb3af8.js +0 -9
  557. package/dist/esm/GenericTableView-8c72ac30.js +0 -120
  558. package/dist/esm/JSS-67b5cff8.js +0 -4289
  559. package/dist/esm/ShadowViewAddon-4d554869.js +0 -4500
  560. package/dist/esm/cjs-bdfb4486.js +0 -133
  561. package/dist/esm/copy-text-view-87259b11.js +0 -114
  562. package/dist/esm/data-017e5ef2.js +0 -134
  563. package/dist/esm/dom-context-hooks.module-50442785.js +0 -1114
  564. package/dist/esm/email-registration-view-4cdb4129.js +0 -85
  565. package/dist/esm/eventKeys-f76b6a03.js +0 -3
  566. package/dist/esm/global-75e96214.js +0 -26935
  567. package/dist/esm/imageUrl-4775f17b.js +0 -58
  568. package/dist/esm/index-38ad4957.js +0 -1727
  569. package/dist/esm/index-ffa26b43.js +0 -295
  570. package/dist/esm/index.js +0 -1
  571. package/dist/esm/index.module-02cb914c.js +0 -8765
  572. package/dist/esm/jsonpointer-388a7082.js +0 -104
  573. package/dist/esm/keys-1054056a.js +0 -8
  574. package/dist/esm/loader.js +0 -20
  575. package/dist/esm/luxon-1be92a8e.js +0 -8346
  576. package/dist/esm/mint-components.js +0 -43
  577. package/dist/esm/mixins-f750863a.js +0 -87
  578. package/dist/esm/mockRewardData-9b27d6f1.js +0 -155
  579. package/dist/esm/parseStates-ed75e224.js +0 -14
  580. package/dist/esm/polyfills/core-js.js +0 -11
  581. package/dist/esm/polyfills/css-shim.js +0 -1
  582. package/dist/esm/polyfills/dom.js +0 -79
  583. package/dist/esm/polyfills/es5-html-element.js +0 -1
  584. package/dist/esm/polyfills/index.js +0 -34
  585. package/dist/esm/polyfills/system.js +0 -6
  586. package/dist/esm/raisins-plop-target.entry.js +0 -18
  587. package/dist/esm/re-render-bf46ba54.js +0 -42
  588. package/dist/esm/sqm-banking-info-form_10.entry.js +0 -5918
  589. package/dist/esm/sqm-big-stat_46.entry.js +0 -8307
  590. package/dist/esm/sqm-close-button-view-fd9012e7.js +0 -26
  591. package/dist/esm/sqm-close-button.entry.js +0 -37
  592. package/dist/esm/sqm-code-verification.entry.js +0 -347
  593. package/dist/esm/sqm-context-router.entry.js +0 -99
  594. package/dist/esm/sqm-email-verification_2.entry.js +0 -881
  595. package/dist/esm/sqm-empty_4.entry.js +0 -186
  596. package/dist/esm/sqm-form-message_2.entry.js +0 -82
  597. package/dist/esm/sqm-google-sign-in.entry.js +0 -138
  598. package/dist/esm/sqm-graphql-client-provider.entry.js +0 -30
  599. package/dist/esm/sqm-header-logo.entry.js +0 -42
  600. package/dist/esm/sqm-instant-access-registration.entry.js +0 -154
  601. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +0 -76
  602. package/dist/esm/sqm-lead-checkbox-field-view-bfafee56.js +0 -81
  603. package/dist/esm/sqm-lead-checkbox-field.entry.js +0 -77
  604. package/dist/esm/sqm-lead-input-field-view-b945edf4.js +0 -49
  605. package/dist/esm/sqm-lead-input-field.entry.js +0 -84
  606. package/dist/esm/sqm-leaderboard-rank-view-7a682cc3.js +0 -8
  607. package/dist/esm/sqm-leaderboard-rank.entry.js +0 -83
  608. package/dist/esm/sqm-logout-current-user-view-376c1bf6.js +0 -42
  609. package/dist/esm/sqm-logout-current-user.entry.js +0 -79
  610. package/dist/esm/sqm-navigation-sidebar-item-view-8d98fcf3.js +0 -54
  611. package/dist/esm/sqm-navigation-sidebar-item.entry.js +0 -72
  612. package/dist/esm/sqm-navigation-sidebar-view-2b66457a.js +0 -166
  613. package/dist/esm/sqm-navigation-sidebar.entry.js +0 -51
  614. package/dist/esm/sqm-pagination_3.entry.js +0 -414
  615. package/dist/esm/sqm-partner-info-modal-view-5709904e.js +0 -146
  616. package/dist/esm/sqm-password-field.entry.js +0 -607
  617. package/dist/esm/sqm-popup-container.entry.js +0 -71
  618. package/dist/esm/sqm-portal-container-view-a8c708cd.js +0 -57
  619. package/dist/esm/sqm-portal-email-verification-view-58bad294.js +0 -69
  620. package/dist/esm/sqm-portal-email-verification.entry.js +0 -195
  621. package/dist/esm/sqm-portal-forgot-password_6.entry.js +0 -1065
  622. package/dist/esm/sqm-portal-logout.entry.js +0 -30
  623. package/dist/esm/sqm-portal-profile-view-115bad4a.js +0 -85
  624. package/dist/esm/sqm-portal-profile.entry.js +0 -263
  625. package/dist/esm/sqm-portal-protected-route.entry.js +0 -64
  626. package/dist/esm/sqm-portal-registration-form-view-9bf30b56.js +0 -86
  627. package/dist/esm/sqm-portal-reset-password-view-f8d1689c.js +0 -79
  628. package/dist/esm/sqm-portal-reset-password.entry.js +0 -235
  629. package/dist/esm/sqm-portal-verify-email-view-c053ead1.js +0 -215
  630. package/dist/esm/sqm-qr-code-view-ce476721.js +0 -92
  631. package/dist/esm/sqm-qr-code.entry.js +0 -192
  632. package/dist/esm/sqm-referral-table_11.entry.js +0 -1015
  633. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +0 -20
  634. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +0 -30
  635. package/dist/esm/sqm-rewards-table_9.entry.js +0 -1187
  636. package/dist/esm/sqm-route.entry.js +0 -14
  637. package/dist/esm/sqm-scroll.entry.js +0 -59
  638. package/dist/esm/sqm-stencilbook.entry.js +0 -21818
  639. package/dist/esm/sqm-tab.entry.js +0 -22
  640. package/dist/esm/sqm-tabs.entry.js +0 -107
  641. package/dist/esm/sqm-text-span-view-4db9e33f.js +0 -61
  642. package/dist/esm/sqm-text-span.entry.js +0 -19
  643. package/dist/esm/sqm-user-info-form-view-d13f9d3e.js +0 -2059
  644. package/dist/esm/sqm-widget-verification-controller.entry.js +0 -118
  645. package/dist/esm/useChildElements-06937df7.js +0 -30
  646. package/dist/esm/useInstantAccessRegistration-69c9ffe0.js +0 -94
  647. package/dist/esm/useLeadFormState-332b2796.js +0 -68
  648. package/dist/esm/usePayoutStatus-227ae365.js +0 -1109
  649. package/dist/esm/usePortalRegistrationForm-3a1f36a2.js +0 -4083
  650. package/dist/esm/useReferralCodes-25f8b792.js +0 -133
  651. package/dist/esm/useReferralTable-03d32c6f.js +0 -428
  652. package/dist/esm/useRegistrationFormState-aa44cfff.js +0 -23
  653. package/dist/esm/useVerificationEmail-9f2c0bab.js +0 -171
  654. package/dist/esm/utilities-cbd8f2eb.js +0 -21
  655. package/dist/esm/utils-17daa419.js +0 -85
  656. package/dist/esm/utils-334c1e34.js +0 -41
  657. package/dist/esm-es5/ErrorView-74cb3af8.js +0 -1
  658. package/dist/esm-es5/GenericTableView-8c72ac30.js +0 -1
  659. package/dist/esm-es5/JSS-67b5cff8.js +0 -8
  660. package/dist/esm-es5/ShadowViewAddon-4d554869.js +0 -1
  661. package/dist/esm-es5/cjs-bdfb4486.js +0 -1
  662. package/dist/esm-es5/copy-text-view-87259b11.js +0 -1
  663. package/dist/esm-es5/data-017e5ef2.js +0 -1
  664. package/dist/esm-es5/dom-context-hooks.module-50442785.js +0 -53
  665. package/dist/esm-es5/email-registration-view-4cdb4129.js +0 -1
  666. package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
  667. package/dist/esm-es5/global-75e96214.js +0 -271
  668. package/dist/esm-es5/imageUrl-4775f17b.js +0 -1
  669. package/dist/esm-es5/index-38ad4957.js +0 -1
  670. package/dist/esm-es5/index-ffa26b43.js +0 -1
  671. package/dist/esm-es5/index.js +0 -0
  672. package/dist/esm-es5/index.module-02cb914c.js +0 -1
  673. package/dist/esm-es5/jsonpointer-388a7082.js +0 -1
  674. package/dist/esm-es5/keys-1054056a.js +0 -1
  675. package/dist/esm-es5/loader.js +0 -1
  676. package/dist/esm-es5/luxon-1be92a8e.js +0 -1
  677. package/dist/esm-es5/mint-components.js +0 -1
  678. package/dist/esm-es5/mixins-f750863a.js +0 -1
  679. package/dist/esm-es5/mockRewardData-9b27d6f1.js +0 -1
  680. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  681. package/dist/esm-es5/raisins-plop-target.entry.js +0 -1
  682. package/dist/esm-es5/re-render-bf46ba54.js +0 -1
  683. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +0 -1
  684. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  685. package/dist/esm-es5/sqm-close-button-view-fd9012e7.js +0 -1
  686. package/dist/esm-es5/sqm-close-button.entry.js +0 -1
  687. package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
  688. package/dist/esm-es5/sqm-context-router.entry.js +0 -1
  689. package/dist/esm-es5/sqm-email-verification_2.entry.js +0 -1
  690. package/dist/esm-es5/sqm-empty_4.entry.js +0 -1
  691. package/dist/esm-es5/sqm-form-message_2.entry.js +0 -1
  692. package/dist/esm-es5/sqm-google-sign-in.entry.js +0 -1
  693. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +0 -1
  694. package/dist/esm-es5/sqm-header-logo.entry.js +0 -1
  695. package/dist/esm-es5/sqm-instant-access-registration.entry.js +0 -1
  696. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +0 -1
  697. package/dist/esm-es5/sqm-lead-checkbox-field-view-bfafee56.js +0 -1
  698. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +0 -1
  699. package/dist/esm-es5/sqm-lead-input-field-view-b945edf4.js +0 -1
  700. package/dist/esm-es5/sqm-lead-input-field.entry.js +0 -1
  701. package/dist/esm-es5/sqm-leaderboard-rank-view-7a682cc3.js +0 -1
  702. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +0 -1
  703. package/dist/esm-es5/sqm-logout-current-user-view-376c1bf6.js +0 -1
  704. package/dist/esm-es5/sqm-logout-current-user.entry.js +0 -1
  705. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8d98fcf3.js +0 -1
  706. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +0 -1
  707. package/dist/esm-es5/sqm-navigation-sidebar-view-2b66457a.js +0 -1
  708. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +0 -1
  709. package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
  710. package/dist/esm-es5/sqm-partner-info-modal-view-5709904e.js +0 -1
  711. package/dist/esm-es5/sqm-password-field.entry.js +0 -1
  712. package/dist/esm-es5/sqm-popup-container.entry.js +0 -1
  713. package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
  714. package/dist/esm-es5/sqm-portal-email-verification-view-58bad294.js +0 -1
  715. package/dist/esm-es5/sqm-portal-email-verification.entry.js +0 -1
  716. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +0 -1
  717. package/dist/esm-es5/sqm-portal-logout.entry.js +0 -1
  718. package/dist/esm-es5/sqm-portal-profile-view-115bad4a.js +0 -1
  719. package/dist/esm-es5/sqm-portal-profile.entry.js +0 -1
  720. package/dist/esm-es5/sqm-portal-protected-route.entry.js +0 -1
  721. package/dist/esm-es5/sqm-portal-registration-form-view-9bf30b56.js +0 -1
  722. package/dist/esm-es5/sqm-portal-reset-password-view-f8d1689c.js +0 -1
  723. package/dist/esm-es5/sqm-portal-reset-password.entry.js +0 -1
  724. package/dist/esm-es5/sqm-portal-verify-email-view-c053ead1.js +0 -1
  725. package/dist/esm-es5/sqm-qr-code-view-ce476721.js +0 -1
  726. package/dist/esm-es5/sqm-qr-code.entry.js +0 -1
  727. package/dist/esm-es5/sqm-referral-table_11.entry.js +0 -1
  728. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +0 -1
  729. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +0 -1
  730. package/dist/esm-es5/sqm-rewards-table_9.entry.js +0 -1
  731. package/dist/esm-es5/sqm-route.entry.js +0 -1
  732. package/dist/esm-es5/sqm-scroll.entry.js +0 -1
  733. package/dist/esm-es5/sqm-stencilbook.entry.js +0 -1
  734. package/dist/esm-es5/sqm-tab.entry.js +0 -1
  735. package/dist/esm-es5/sqm-tabs.entry.js +0 -1
  736. package/dist/esm-es5/sqm-text-span-view-4db9e33f.js +0 -1
  737. package/dist/esm-es5/sqm-text-span.entry.js +0 -1
  738. package/dist/esm-es5/sqm-user-info-form-view-d13f9d3e.js +0 -1
  739. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +0 -1
  740. package/dist/esm-es5/useChildElements-06937df7.js +0 -1
  741. package/dist/esm-es5/useInstantAccessRegistration-69c9ffe0.js +0 -1
  742. package/dist/esm-es5/useLeadFormState-332b2796.js +0 -1
  743. package/dist/esm-es5/usePayoutStatus-227ae365.js +0 -6
  744. package/dist/esm-es5/usePortalRegistrationForm-3a1f36a2.js +0 -1
  745. package/dist/esm-es5/useReferralCodes-25f8b792.js +0 -1
  746. package/dist/esm-es5/useReferralTable-03d32c6f.js +0 -1
  747. package/dist/esm-es5/useRegistrationFormState-aa44cfff.js +0 -1
  748. package/dist/esm-es5/useVerificationEmail-9f2c0bab.js +0 -1
  749. package/dist/esm-es5/utilities-cbd8f2eb.js +0 -1
  750. package/dist/esm-es5/utils-17daa419.js +0 -1
  751. package/dist/esm-es5/utils-334c1e34.js +0 -1
  752. package/dist/index.cjs.js +0 -1
  753. package/dist/index.js +0 -1
  754. package/dist/loader/cdn.js +0 -3
  755. package/dist/loader/index.cjs.js +0 -3
  756. package/dist/loader/index.d.ts +0 -13
  757. package/dist/loader/index.es2017.js +0 -3
  758. package/dist/loader/index.js +0 -4
  759. package/dist/loader/package.json +0 -10
  760. package/dist/mint-components/assets/Reward-icon.png +0 -0
  761. package/dist/mint-components/assets/Reward-image.png +0 -0
  762. package/dist/mint-components/global/styles.ts +0 -1072
  763. package/dist/mint-components/index.esm.js +0 -0
  764. package/dist/mint-components/mint-components.css +0 -1
  765. package/dist/mint-components/mint-components.esm.js +0 -1
  766. package/dist/mint-components/mint-components.js +0 -130
  767. package/dist/mint-components/p-00046ec1.js +0 -116
  768. package/dist/mint-components/p-00dd7f08.js +0 -1
  769. package/dist/mint-components/p-0102ad17.system.entry.js +0 -1
  770. package/dist/mint-components/p-025ddad2.system.entry.js +0 -1
  771. package/dist/mint-components/p-02c0f88e.system.entry.js +0 -1
  772. package/dist/mint-components/p-02e2b13b.system.js +0 -1
  773. package/dist/mint-components/p-044a76f1.js +0 -1
  774. package/dist/mint-components/p-0766438e.js +0 -1
  775. package/dist/mint-components/p-0815b973.system.js +0 -1
  776. package/dist/mint-components/p-083180bf.js +0 -1
  777. package/dist/mint-components/p-08f82f9e.system.entry.js +0 -1
  778. package/dist/mint-components/p-092c2606.entry.js +0 -1
  779. package/dist/mint-components/p-099ce3d5.system.entry.js +0 -1
  780. package/dist/mint-components/p-0a6489fa.entry.js +0 -1
  781. package/dist/mint-components/p-0b32e1d4.system.entry.js +0 -1
  782. package/dist/mint-components/p-0ec9eb9b.entry.js +0 -1
  783. package/dist/mint-components/p-115dfc03.system.js +0 -1
  784. package/dist/mint-components/p-11c127f5.js +0 -1
  785. package/dist/mint-components/p-1317cc92.system.js +0 -1
  786. package/dist/mint-components/p-13bb56a8.system.entry.js +0 -1
  787. package/dist/mint-components/p-13d8ecad.js +0 -1233
  788. package/dist/mint-components/p-13f3a647.js +0 -1
  789. package/dist/mint-components/p-14183edc.entry.js +0 -1
  790. package/dist/mint-components/p-1599a178.entry.js +0 -11
  791. package/dist/mint-components/p-1a3a57c0.js +0 -1
  792. package/dist/mint-components/p-1a673057.system.js +0 -8
  793. package/dist/mint-components/p-1b0326d1.entry.js +0 -1
  794. package/dist/mint-components/p-1d86895f.system.js +0 -1
  795. package/dist/mint-components/p-1f387c7b.system.js +0 -1
  796. package/dist/mint-components/p-1faa6ddf.system.entry.js +0 -1
  797. package/dist/mint-components/p-209157a9.system.entry.js +0 -1
  798. package/dist/mint-components/p-2190dc73.system.js +0 -1
  799. package/dist/mint-components/p-24f1d342.system.entry.js +0 -1
  800. package/dist/mint-components/p-2786819c.js +0 -1
  801. package/dist/mint-components/p-27daf264.entry.js +0 -1
  802. package/dist/mint-components/p-28ed2ae9.js +0 -1
  803. package/dist/mint-components/p-29bc5f50.entry.js +0 -17
  804. package/dist/mint-components/p-2ab31786.js +0 -1
  805. package/dist/mint-components/p-2d3f7b76.system.entry.js +0 -1
  806. package/dist/mint-components/p-30cfe3e3.system.entry.js +0 -1
  807. package/dist/mint-components/p-31edeff4.system.js +0 -1
  808. package/dist/mint-components/p-3218bb1d.entry.js +0 -1
  809. package/dist/mint-components/p-3254fbb4.entry.js +0 -291
  810. package/dist/mint-components/p-3354cc75.system.entry.js +0 -1
  811. package/dist/mint-components/p-376c7608.system.js +0 -1
  812. package/dist/mint-components/p-379cb9f1.system.js +0 -1
  813. package/dist/mint-components/p-38d04e4b.entry.js +0 -1
  814. package/dist/mint-components/p-3a41b39c.js +0 -13
  815. package/dist/mint-components/p-3bbc0db2.entry.js +0 -13
  816. package/dist/mint-components/p-4034f157.js +0 -1
  817. package/dist/mint-components/p-432a44de.entry.js +0 -148
  818. package/dist/mint-components/p-45230a44.js +0 -52
  819. package/dist/mint-components/p-456ccda6.system.js +0 -1
  820. package/dist/mint-components/p-45be99ae.system.js +0 -1
  821. package/dist/mint-components/p-45e2a83a.js +0 -1
  822. package/dist/mint-components/p-4691e9d5.system.js +0 -1
  823. package/dist/mint-components/p-49b20dae.js +0 -1
  824. package/dist/mint-components/p-4a8ffa03.system.js +0 -1
  825. package/dist/mint-components/p-4bd679a7.system.js +0 -1
  826. package/dist/mint-components/p-4e34bcb1.system.js +0 -1
  827. package/dist/mint-components/p-4e3db52b.entry.js +0 -1
  828. package/dist/mint-components/p-4eaa3eb7.js +0 -1
  829. package/dist/mint-components/p-4eadbd5b.entry.js +0 -1
  830. package/dist/mint-components/p-4f9dc974.js +0 -1
  831. package/dist/mint-components/p-50d959bd.js +0 -1
  832. package/dist/mint-components/p-50ea2036.system.js +0 -1
  833. package/dist/mint-components/p-53d90eb5.js +0 -463
  834. package/dist/mint-components/p-573ea3fd.system.entry.js +0 -1
  835. package/dist/mint-components/p-58dbdf63.system.js +0 -1
  836. package/dist/mint-components/p-5e300ec1.system.js +0 -6
  837. package/dist/mint-components/p-5fdf0286.system.js +0 -1
  838. package/dist/mint-components/p-60b1f3d9.entry.js +0 -1
  839. package/dist/mint-components/p-614723aa.js +0 -1
  840. package/dist/mint-components/p-623a0a0b.system.entry.js +0 -1
  841. package/dist/mint-components/p-6333265f.system.js +0 -1
  842. package/dist/mint-components/p-641f968d.system.js +0 -1
  843. package/dist/mint-components/p-6af71f23.entry.js +0 -9
  844. package/dist/mint-components/p-6b4e5d94.system.entry.js +0 -1
  845. package/dist/mint-components/p-6c23abd8.entry.js +0 -1
  846. package/dist/mint-components/p-6c3a1d86.js +0 -1
  847. package/dist/mint-components/p-6f6c3ac6.system.entry.js +0 -1
  848. package/dist/mint-components/p-6f8dde97.system.js +0 -1
  849. package/dist/mint-components/p-7010498f.js +0 -1
  850. package/dist/mint-components/p-71561bb2.system.entry.js +0 -1
  851. package/dist/mint-components/p-731c4d33.entry.js +0 -1
  852. package/dist/mint-components/p-753d06ef.entry.js +0 -133
  853. package/dist/mint-components/p-7699d40a.system.entry.js +0 -1
  854. package/dist/mint-components/p-78e6dc8d.entry.js +0 -1
  855. package/dist/mint-components/p-7a091fa7.js +0 -1
  856. package/dist/mint-components/p-7aace2b3.system.js +0 -1
  857. package/dist/mint-components/p-7ae8fb53.system.js +0 -1
  858. package/dist/mint-components/p-7ea3f49c.entry.js +0 -1
  859. package/dist/mint-components/p-81bc6dca.system.entry.js +0 -1
  860. package/dist/mint-components/p-8452837a.system.js +0 -1
  861. package/dist/mint-components/p-87f86492.js +0 -1
  862. package/dist/mint-components/p-88e16945.js +0 -1
  863. package/dist/mint-components/p-8a6494c7.system.js +0 -1
  864. package/dist/mint-components/p-8a6531d2.js +0 -1
  865. package/dist/mint-components/p-8ae8968c.js +0 -1
  866. package/dist/mint-components/p-8d073bdf.entry.js +0 -1
  867. package/dist/mint-components/p-8d363802.js +0 -1
  868. package/dist/mint-components/p-8e148cb0.system.js +0 -271
  869. package/dist/mint-components/p-8f15bf17.entry.js +0 -1
  870. package/dist/mint-components/p-921eb024.entry.js +0 -1
  871. package/dist/mint-components/p-925aa740.system.entry.js +0 -1
  872. package/dist/mint-components/p-97b8073f.system.js +0 -1
  873. package/dist/mint-components/p-97edaf26.system.js +0 -1
  874. package/dist/mint-components/p-99eecdcb.system.entry.js +0 -1
  875. package/dist/mint-components/p-9a15cd5a.system.entry.js +0 -1
  876. package/dist/mint-components/p-9b15ee47.system.js +0 -1
  877. package/dist/mint-components/p-9ba8b28b.system.entry.js +0 -1
  878. package/dist/mint-components/p-9ec99ced.js +0 -1
  879. package/dist/mint-components/p-a43a9fa9.system.js +0 -1
  880. package/dist/mint-components/p-a49d9288.entry.js +0 -1
  881. package/dist/mint-components/p-a7f72a66.js +0 -1
  882. package/dist/mint-components/p-a7fc1e02.js +0 -42
  883. package/dist/mint-components/p-ab59c5eb.system.entry.js +0 -1
  884. package/dist/mint-components/p-abd717d4.js +0 -1
  885. package/dist/mint-components/p-acaf505d.entry.js +0 -1
  886. package/dist/mint-components/p-ae4994e1.js +0 -1
  887. package/dist/mint-components/p-b0aa9348.entry.js +0 -1
  888. package/dist/mint-components/p-b0ab1065.system.entry.js +0 -1
  889. package/dist/mint-components/p-b1765c78.system.js +0 -1
  890. package/dist/mint-components/p-b1b20d42.entry.js +0 -11
  891. package/dist/mint-components/p-b1eb2a6a.js +0 -1
  892. package/dist/mint-components/p-b2295bc5.system.js +0 -1
  893. package/dist/mint-components/p-b2ad3fca.system.js +0 -1
  894. package/dist/mint-components/p-b3309d9b.entry.js +0 -13
  895. package/dist/mint-components/p-b52a7da9.system.entry.js +0 -1
  896. package/dist/mint-components/p-b61be711.entry.js +0 -1
  897. package/dist/mint-components/p-b6504987.system.js +0 -53
  898. package/dist/mint-components/p-b699f76e.system.js +0 -1
  899. package/dist/mint-components/p-b6a1e2ac.js +0 -1
  900. package/dist/mint-components/p-b7370480.js +0 -1
  901. package/dist/mint-components/p-badf28bb.system.js +0 -1
  902. package/dist/mint-components/p-bb0b5e4b.js +0 -239
  903. package/dist/mint-components/p-bcfdb510.entry.js +0 -1
  904. package/dist/mint-components/p-bd972473.system.js +0 -1
  905. package/dist/mint-components/p-bdfdee11.entry.js +0 -1
  906. package/dist/mint-components/p-bf9ab2d3.js +0 -1
  907. package/dist/mint-components/p-bfb9b01a.system.entry.js +0 -1
  908. package/dist/mint-components/p-c0517032.js +0 -1
  909. package/dist/mint-components/p-c09ae087.system.js +0 -1
  910. package/dist/mint-components/p-c0a85e22.js +0 -1
  911. package/dist/mint-components/p-c1086930.js +0 -1
  912. package/dist/mint-components/p-c41d536d.entry.js +0 -1
  913. package/dist/mint-components/p-c66e5217.system.js +0 -1
  914. package/dist/mint-components/p-ca5b9f4d.system.entry.js +0 -1
  915. package/dist/mint-components/p-ce7d824b.js +0 -49
  916. package/dist/mint-components/p-cef45012.js +0 -1
  917. package/dist/mint-components/p-cfba6b4e.system.entry.js +0 -1
  918. package/dist/mint-components/p-cfea215d.js +0 -1
  919. package/dist/mint-components/p-d0559e66.js +0 -1
  920. package/dist/mint-components/p-d08408b3.entry.js +0 -1
  921. package/dist/mint-components/p-d1c1c2c9.entry.js +0 -116
  922. package/dist/mint-components/p-d267f4bb.system.js +0 -1
  923. package/dist/mint-components/p-d276468c.js +0 -1
  924. package/dist/mint-components/p-d284ae70.system.js +0 -1
  925. package/dist/mint-components/p-d34564f8.system.entry.js +0 -1
  926. package/dist/mint-components/p-d5eb601d.system.js +0 -1
  927. package/dist/mint-components/p-d6ccb6fc.entry.js +0 -1
  928. package/dist/mint-components/p-d71a8b38.entry.js +0 -33
  929. package/dist/mint-components/p-dafe30c3.entry.js +0 -1
  930. package/dist/mint-components/p-dbc8afaa.system.entry.js +0 -1
  931. package/dist/mint-components/p-df28013f.system.entry.js +0 -1
  932. package/dist/mint-components/p-df88dcaa.system.js +0 -1
  933. package/dist/mint-components/p-df897432.system.entry.js +0 -1
  934. package/dist/mint-components/p-dffad4a8.entry.js +0 -1
  935. package/dist/mint-components/p-e1292288.system.entry.js +0 -1
  936. package/dist/mint-components/p-e31c7242.system.entry.js +0 -1
  937. package/dist/mint-components/p-e651593c.system.js +0 -1
  938. package/dist/mint-components/p-e6de31a7.system.entry.js +0 -1
  939. package/dist/mint-components/p-e7e129ac.js +0 -1
  940. package/dist/mint-components/p-e920c95c.system.js +0 -1
  941. package/dist/mint-components/p-e93cdcbd.system.js +0 -1
  942. package/dist/mint-components/p-eae44b42.js +0 -48
  943. package/dist/mint-components/p-eb285d38.system.entry.js +0 -1
  944. package/dist/mint-components/p-eee0bcf4.entry.js +0 -1
  945. package/dist/mint-components/p-f1584abb.system.entry.js +0 -1
  946. package/dist/mint-components/p-f32050f6.system.js +0 -1
  947. package/dist/mint-components/p-f368f04a.system.js +0 -1
  948. package/dist/mint-components/p-f45e076d.system.js +0 -1
  949. package/dist/mint-components/p-f6de2e5c.system.entry.js +0 -1
  950. package/dist/mint-components/p-f75de169.js +0 -1
  951. package/dist/mint-components/p-f782ff10.system.entry.js +0 -1
  952. package/dist/mint-components/p-f89c6a57.system.js +0 -1
  953. package/dist/types/ShadowViewAddon.d.ts +0 -6
  954. package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +0 -9
  955. package/dist/types/components/sqm-base-registration/BaseRegistrationForm.stories.d.ts +0 -6
  956. package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +0 -21
  957. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +0 -18
  958. package/dist/types/components/sqm-big-stat/UseBigStat.stories.d.ts +0 -304
  959. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -15
  960. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +0 -101
  961. package/dist/types/components/sqm-big-stat/useBigStat.d.ts +0 -22
  962. package/dist/types/components/sqm-big-stat/useDemoBigStat.d.ts +0 -3
  963. package/dist/types/components/sqm-brand/SqmBrand.stories.d.ts +0 -10
  964. package/dist/types/components/sqm-brand/sqm-brand.d.ts +0 -26
  965. package/dist/types/components/sqm-card-feed/CardFeed.stories.d.ts +0 -13
  966. package/dist/types/components/sqm-card-feed/sqm-card-feed-view.d.ts +0 -6
  967. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +0 -23
  968. package/dist/types/components/sqm-checkbox-field/CheckboxField.stories.d.ts +0 -55
  969. package/dist/types/components/sqm-checkbox-field/UseCheckboxField.stories.d.ts +0 -37
  970. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +0 -19
  971. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +0 -48
  972. package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +0 -11
  973. package/dist/types/components/sqm-close-button/CloseButton.stories.d.ts +0 -8
  974. package/dist/types/components/sqm-close-button/sqm-close-button-view.d.ts +0 -5
  975. package/dist/types/components/sqm-close-button/sqm-close-button.d.ts +0 -14
  976. package/dist/types/components/sqm-context-router/ContextRouter.d.ts +0 -28
  977. package/dist/types/components/sqm-context-router/sqm-context-router.d.ts +0 -11
  978. package/dist/types/components/sqm-context-router/useContextRouter.d.ts +0 -10
  979. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +0 -26
  980. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +0 -8
  981. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +0 -175
  982. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +0 -18
  983. package/dist/types/components/sqm-divided-layout/DividedLayout.stories.d.ts +0 -7
  984. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +0 -11
  985. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +0 -45
  986. package/dist/types/components/sqm-dropdown-field/DropdownField.stories.d.ts +0 -28
  987. package/dist/types/components/sqm-dropdown-field/UseDropdownField.stories.d.ts +0 -22
  988. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +0 -15
  989. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +0 -39
  990. package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +0 -6
  991. package/dist/types/components/sqm-edit-profile/EditProfileForm.stories.d.ts +0 -7
  992. package/dist/types/components/sqm-edit-profile/UseEditProfile.stories.d.ts +0 -10
  993. package/dist/types/components/sqm-edit-profile/sqm-edit-profile-view.d.ts +0 -38
  994. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +0 -63
  995. package/dist/types/components/sqm-edit-profile/useEditProfile.d.ts +0 -3
  996. package/dist/types/components/sqm-empty/EmptyState.stories.d.ts +0 -9
  997. package/dist/types/components/sqm-empty/sqm-empty-view.d.ts +0 -8
  998. package/dist/types/components/sqm-empty/sqm-empty.d.ts +0 -25
  999. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -13
  1000. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +0 -32
  1001. package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +0 -19
  1002. package/dist/types/components/sqm-google-sign-in/useGoogleSignIn.d.ts +0 -4
  1003. package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +0 -15
  1004. package/dist/types/components/sqm-graphql-client-provider/useGraphQLProvider.d.ts +0 -3
  1005. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +0 -41
  1006. package/dist/types/components/sqm-hero/Hero.stories.d.ts +0 -19
  1007. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +0 -17
  1008. package/dist/types/components/sqm-hero/sqm-hero.d.ts +0 -60
  1009. package/dist/types/components/sqm-hero-image/HeroImage.stories.d.ts +0 -23
  1010. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +0 -24
  1011. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +0 -135
  1012. package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +0 -11
  1013. package/dist/types/components/sqm-image/Image.stories.d.ts +0 -13
  1014. package/dist/types/components/sqm-image/sqm-image-view.d.ts +0 -10
  1015. package/dist/types/components/sqm-image/sqm-image.d.ts +0 -39
  1016. package/dist/types/components/sqm-input-field/InputField.stories.d.ts +0 -15
  1017. package/dist/types/components/sqm-input-field/UseInputField.stories.d.ts +0 -49
  1018. package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +0 -14
  1019. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +0 -46
  1020. package/dist/types/components/sqm-input-field/useInputField.d.ts +0 -6
  1021. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +0 -112
  1022. package/dist/types/components/sqm-instant-access-registration/useInstantAccessRegistration.d.ts +0 -11
  1023. package/dist/types/components/sqm-invoice-table/InvoiceTable.stories.d.ts +0 -7
  1024. package/dist/types/components/sqm-invoice-table/InvoiceTableCell.stories.d.ts +0 -13
  1025. package/dist/types/components/sqm-invoice-table/UseInvoiceTable.stories.d.ts +0 -16
  1026. package/dist/types/components/sqm-invoice-table/cells/sqm-invoice-table-data-cell.d.ts +0 -7
  1027. package/dist/types/components/sqm-invoice-table/cells/sqm-invoice-table-date-cell.d.ts +0 -8
  1028. package/dist/types/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.d.ts +0 -7
  1029. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +0 -9
  1030. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +0 -21
  1031. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +0 -21
  1032. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +0 -13
  1033. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +0 -5
  1034. package/dist/types/components/sqm-invoice-table/sqm-invoice-table-view.d.ts +0 -7
  1035. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +0 -63
  1036. package/dist/types/components/sqm-invoice-table/useInvoiceTable.d.ts +0 -7
  1037. package/dist/types/components/sqm-lead-form/LeadCheckboxField.stories.d.ts +0 -28
  1038. package/dist/types/components/sqm-lead-form/LeadForm.stories.d.ts +0 -10
  1039. package/dist/types/components/sqm-lead-form/LeadFormDropdownField.stories.d.ts +0 -10
  1040. package/dist/types/components/sqm-lead-form/LeadInputField.stories.d.ts +0 -8
  1041. package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field-view.d.ts +0 -15
  1042. package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field.d.ts +0 -46
  1043. package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field-view.d.ts +0 -17
  1044. package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +0 -49
  1045. package/dist/types/components/sqm-lead-form/sqm-lead-form-view.d.ts +0 -36
  1046. package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +0 -93
  1047. package/dist/types/components/sqm-lead-form/sqm-lead-input-field-view.d.ts +0 -15
  1048. package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +0 -51
  1049. package/dist/types/components/sqm-lead-form/useCheckboxField.d.ts +0 -6
  1050. package/dist/types/components/sqm-lead-form/useLeadDropdownField.d.ts +0 -6
  1051. package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +0 -28
  1052. package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +0 -19
  1053. package/dist/types/components/sqm-lead-form/useLeadInputField.d.ts +0 -6
  1054. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +0 -23
  1055. package/dist/types/components/sqm-leaderboard/UseLeaderboard.stories.d.ts +0 -52
  1056. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +0 -47
  1057. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +0 -152
  1058. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +0 -40
  1059. package/dist/types/components/sqm-leaderboard-rank/LeaderboardRank.stories.d.ts +0 -10
  1060. package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.d.ts +0 -6
  1061. package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +0 -53
  1062. package/dist/types/components/sqm-leaderboard-rank/useLeaderboardRank.d.ts +0 -10
  1063. package/dist/types/components/sqm-link-button/LinkButton.stories.d.ts +0 -9
  1064. package/dist/types/components/sqm-link-button/sqm-link-button-view.d.ts +0 -5
  1065. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +0 -25
  1066. package/dist/types/components/sqm-logout-current-user/LogoutCurrentUser.stories.d.ts +0 -8
  1067. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user-view.d.ts +0 -8
  1068. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +0 -34
  1069. package/dist/types/components/sqm-logout-current-user/useLogoutCurrentUser.d.ts +0 -3
  1070. package/dist/types/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.d.ts +0 -8
  1071. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +0 -27
  1072. package/dist/types/components/sqm-name-fields/NameFields.stories.d.ts +0 -9
  1073. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +0 -12
  1074. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +0 -32
  1075. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +0 -12
  1076. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu-view.d.ts +0 -15
  1077. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +0 -27
  1078. package/dist/types/components/sqm-navigation-menu/useNavigationMenu.d.ts +0 -3
  1079. package/dist/types/components/sqm-navigation-sidebar/NavigationSidebar.stories.d.ts +0 -5
  1080. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +0 -7
  1081. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +0 -26
  1082. package/dist/types/components/sqm-navigation-sidebar-item/SidebarItem.stories.d.ts +0 -6
  1083. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +0 -19
  1084. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +0 -90
  1085. package/dist/types/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.d.ts +0 -3
  1086. package/dist/types/components/sqm-pagination/Pagination.stories.d.ts +0 -5
  1087. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -16
  1088. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -29
  1089. package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -16
  1090. package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -15
  1091. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -50
  1092. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -122
  1093. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -17
  1094. package/dist/types/components/sqm-password-field/PasswordField.stories.d.ts +0 -7
  1095. package/dist/types/components/sqm-password-field/passwordValidation.d.ts +0 -1
  1096. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +0 -16
  1097. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +0 -53
  1098. package/dist/types/components/sqm-password-field/usePasswordField.d.ts +0 -14
  1099. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +0 -6
  1100. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +0 -10
  1101. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +0 -26
  1102. package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +0 -7
  1103. package/dist/types/components/sqm-popup-container/PopupContainer.stories.d.ts +0 -5
  1104. package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +0 -4
  1105. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +0 -53
  1106. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +0 -35
  1107. package/dist/types/components/sqm-portal-change-marketing/ChangeMarketing.stories.d.ts +0 -8
  1108. package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +0 -28
  1109. package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +0 -39
  1110. package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +0 -3
  1111. package/dist/types/components/sqm-portal-change-password/ChangePassword.stories.d.ts +0 -13
  1112. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +0 -31
  1113. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +0 -94
  1114. package/dist/types/components/sqm-portal-change-password/usePortalChangePassword.d.ts +0 -30
  1115. package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +0 -23
  1116. package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +0 -16
  1117. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +0 -74
  1118. package/dist/types/components/sqm-portal-email-verification/PortalEmailVerification.stories.d.ts +0 -12
  1119. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification-view.d.ts +0 -23
  1120. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +0 -56
  1121. package/dist/types/components/sqm-portal-email-verification/usePortalEmailVerification.d.ts +0 -24
  1122. package/dist/types/components/sqm-portal-footer/PortalFooter.stories.d.ts +0 -13
  1123. package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +0 -7
  1124. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +0 -17
  1125. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +0 -77
  1126. package/dist/types/components/sqm-portal-forgot-password/PortalForgotPassword.stories.d.ts +0 -12
  1127. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +0 -23
  1128. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +0 -69
  1129. package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +0 -14
  1130. package/dist/types/components/sqm-portal-frame/PortalFrame.stories.d.ts +0 -8
  1131. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +0 -15
  1132. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +0 -40
  1133. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +0 -4
  1134. package/dist/types/components/sqm-portal-google-login/GoogleLoginForm.stories.d.ts +0 -7
  1135. package/dist/types/components/sqm-portal-google-login/sqm-portal-google-login.d.ts +0 -74
  1136. package/dist/types/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.d.ts +0 -8
  1137. package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +0 -160
  1138. package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +0 -15
  1139. package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +0 -9
  1140. package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +0 -23
  1141. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -66
  1142. package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +0 -14
  1143. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +0 -18
  1144. package/dist/types/components/sqm-portal-logout/usePortalLogout.d.ts +0 -3
  1145. package/dist/types/components/sqm-portal-profile/PortalProfile.stories.d.ts +0 -10
  1146. package/dist/types/components/sqm-portal-profile/sqm-portal-profile-view.d.ts +0 -39
  1147. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +0 -66
  1148. package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +0 -13
  1149. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +0 -27
  1150. package/dist/types/components/sqm-portal-protected-route/usePortalProtectedRoute.d.ts +0 -7
  1151. package/dist/types/components/sqm-portal-register/PortalRegister.stories.d.ts +0 -10
  1152. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +0 -40
  1153. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +0 -129
  1154. package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +0 -26
  1155. package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +0 -11
  1156. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +0 -46
  1157. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +0 -143
  1158. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +0 -27
  1159. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +0 -21
  1160. package/dist/types/components/sqm-portal-reset-password/PortalResetPassword.stories.d.ts +0 -13
  1161. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +0 -35
  1162. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +0 -105
  1163. package/dist/types/components/sqm-portal-reset-password/usePortalResetPassword.d.ts +0 -3
  1164. package/dist/types/components/sqm-portal-verify-email/PortalVerifyEmail.stories.d.ts +0 -9
  1165. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +0 -21
  1166. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +0 -54
  1167. package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +0 -29
  1168. package/dist/types/components/sqm-program-explainer/ProgramExplainer.stories.d.ts +0 -12
  1169. package/dist/types/components/sqm-program-explainer/sqm-program-explainer-view.d.ts +0 -7
  1170. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +0 -30
  1171. package/dist/types/components/sqm-program-explainer-step/ProgramExplainerStep.stories.d.ts +0 -9
  1172. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +0 -12
  1173. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +0 -64
  1174. package/dist/types/components/sqm-program-menu/ProgramMenu.stories.d.ts +0 -28
  1175. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +0 -12
  1176. package/dist/types/components/sqm-program-menu/useProgramMenu.d.ts +0 -13
  1177. package/dist/types/components/sqm-qr-code/QRCode.stories.d.ts +0 -12
  1178. package/dist/types/components/sqm-qr-code/sqm-qr-code-view.d.ts +0 -15
  1179. package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +0 -53
  1180. package/dist/types/components/sqm-qr-code/useQRCode.d.ts +0 -3
  1181. package/dist/types/components/sqm-radio-card/RadioCard.stories.d.ts +0 -6
  1182. package/dist/types/components/sqm-radio-card/sqm-radio-card-view.d.ts +0 -7
  1183. package/dist/types/components/sqm-radio-card/sqm-radio-card.d.ts +0 -0
  1184. package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -22
  1185. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +0 -23
  1186. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -86
  1187. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -19
  1188. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -113
  1189. package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -3
  1190. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -13
  1191. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -17
  1192. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -46
  1193. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -52
  1194. package/dist/types/components/sqm-referral-iframe/ReferralIframe.stories.d.ts +0 -9
  1195. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +0 -13
  1196. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +0 -32
  1197. package/dist/types/components/sqm-referral-iframe/useReferralIframe.d.ts +0 -3
  1198. package/dist/types/components/sqm-referral-table/ReferralTable.stories.d.ts +0 -18
  1199. package/dist/types/components/sqm-referral-table/ReferralTableCell.stories.d.ts +0 -17
  1200. package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +0 -33
  1201. package/dist/types/components/sqm-referral-table/TaxAndCashReferralTable.stories.d.ts +0 -5
  1202. package/dist/types/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.d.ts +0 -31
  1203. package/dist/types/components/sqm-referral-table/UseReferralTable.stories.d.ts +0 -40
  1204. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-cell.d.ts +0 -7
  1205. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-date-cell.d.ts +0 -8
  1206. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +0 -15
  1207. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +0 -8
  1208. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-user-cell.d.ts +0 -4
  1209. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +0 -10
  1210. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -17
  1211. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -44
  1212. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +0 -72
  1213. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -44
  1214. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +0 -32
  1215. package/dist/types/components/sqm-referral-table/mockReferralData.d.ts +0 -95
  1216. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +0 -63
  1217. package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +0 -8
  1218. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +0 -128
  1219. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +0 -25
  1220. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +0 -1084
  1221. package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +0 -5
  1222. package/dist/types/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.d.ts +0 -28
  1223. package/dist/types/components/sqm-reward-exchange-list/progressBar.d.ts +0 -4
  1224. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +0 -62
  1225. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +0 -158
  1226. package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +0 -89
  1227. package/dist/types/components/sqm-rewards-table/RewardsTable.stories.d.ts +0 -14
  1228. package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +0 -42
  1229. package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.d.ts +0 -5
  1230. package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +0 -26
  1231. package/dist/types/components/sqm-rewards-table/UseRewardsTable.stories.d.ts +0 -40
  1232. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.d.ts +0 -8
  1233. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.d.ts +0 -8
  1234. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -9
  1235. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +0 -12
  1236. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +0 -26
  1237. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +0 -9
  1238. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +0 -32
  1239. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +0 -21
  1240. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +0 -33
  1241. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +0 -51
  1242. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +0 -111
  1243. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +0 -17
  1244. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +0 -3
  1245. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -49
  1246. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +0 -6
  1247. package/dist/types/components/sqm-route/sqm-route.d.ts +0 -18
  1248. package/dist/types/components/sqm-router/Router.stories.d.ts +0 -28
  1249. package/dist/types/components/sqm-router/sqm-router.d.ts +0 -12
  1250. package/dist/types/components/sqm-router/useRouter.d.ts +0 -9
  1251. package/dist/types/components/sqm-scroll/Scroll.stories.d.ts +0 -10
  1252. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -78
  1253. package/dist/types/components/sqm-scroll/useScroll.d.ts +0 -6
  1254. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +0 -19
  1255. package/dist/types/components/sqm-share-button/UseShareButton.stories.d.ts +0 -16
  1256. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +0 -23
  1257. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +0 -144
  1258. package/dist/types/components/sqm-share-button/useShareButton.d.ts +0 -10
  1259. package/dist/types/components/sqm-share-code/ShareCode.stories.d.ts +0 -15
  1260. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +0 -101
  1261. package/dist/types/components/sqm-share-code/useShareCode.d.ts +0 -8
  1262. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +0 -18
  1263. package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +0 -22
  1264. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +0 -101
  1265. package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -9
  1266. package/dist/types/components/sqm-skeleton/Skeleton.stories.d.ts +0 -8
  1267. package/dist/types/components/sqm-skeleton/sqm-skeleton.d.ts +0 -14
  1268. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -9
  1269. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +0 -52
  1270. package/dist/types/components/sqm-stencilbook/AutoColor.d.ts +0 -8
  1271. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +0 -9
  1272. package/dist/types/components/sqm-stencilbook/CucumberAddon.d.ts +0 -2
  1273. package/dist/types/components/sqm-stencilbook/HookStoryAddon.d.ts +0 -8
  1274. package/dist/types/components/sqm-stencilbook/Matrix.d.ts +0 -11
  1275. package/dist/types/components/sqm-stencilbook/Resizer.d.ts +0 -3
  1276. package/dist/types/components/sqm-stencilbook/Themes.d.ts +0 -17
  1277. package/dist/types/components/sqm-stencilbook/sqm-stencilbook.d.ts +0 -11
  1278. package/dist/types/components/sqm-tab/sqm-tab-view.d.ts +0 -4
  1279. package/dist/types/components/sqm-tab/sqm-tab.d.ts +0 -14
  1280. package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +0 -11
  1281. package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +0 -11
  1282. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +0 -16
  1283. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +0 -10
  1284. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +0 -31
  1285. package/dist/types/components/sqm-tabs/useTabs.d.ts +0 -9
  1286. package/dist/types/components/sqm-task-card/DetailsView.d.ts +0 -47
  1287. package/dist/types/components/sqm-task-card/SVGs.d.ts +0 -3
  1288. package/dist/types/components/sqm-task-card/TaskCard.stories.d.ts +0 -22
  1289. package/dist/types/components/sqm-task-card/UseTaskCard.stories.d.ts +0 -16
  1290. package/dist/types/components/sqm-task-card/progress-bar/ProgressBar.stories.d.ts +0 -5
  1291. package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +0 -2
  1292. package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +0 -13
  1293. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +0 -41
  1294. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +0 -205
  1295. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +0 -20
  1296. package/dist/types/components/sqm-text/Text.stories.d.ts +0 -6
  1297. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -26
  1298. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +0 -7
  1299. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +0 -35
  1300. package/dist/types/components/sqm-timeline/SVGs.d.ts +0 -3
  1301. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +0 -12
  1302. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +0 -11
  1303. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -47
  1304. package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +0 -21
  1305. package/dist/types/components/sqm-titled-section/TitledSection.stories.d.ts +0 -12
  1306. package/dist/types/components/sqm-titled-section/sqm-portal-section-view.d.ts +0 -10
  1307. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +0 -47
  1308. package/dist/types/components/sqm-user-name/UserName.stories.d.ts +0 -6
  1309. package/dist/types/components/sqm-user-name/sqm-user-name-view.d.ts +0 -6
  1310. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +0 -27
  1311. package/dist/types/components/sqm-user-name/useUserName.d.ts +0 -3
  1312. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +0 -8
  1313. package/dist/types/components/sqm-widget-verification/keys.d.ts +0 -6
  1314. package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +0 -9
  1315. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +0 -26
  1316. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +0 -54
  1317. package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +0 -25
  1318. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +0 -11
  1319. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +0 -22
  1320. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +0 -44
  1321. package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +0 -10
  1322. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +0 -18
  1323. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -170
  1324. package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +0 -15
  1325. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -7
  1326. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +0 -28
  1327. package/dist/types/components/tax-and-cash/SVGs.d.ts +0 -1
  1328. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -80
  1329. package/dist/types/components/tax-and-cash/countries.d.ts +0 -50
  1330. package/dist/types/components/tax-and-cash/data.d.ts +0 -146
  1331. package/dist/types/components/tax-and-cash/eventKeys.d.ts +0 -1
  1332. package/dist/types/components/tax-and-cash/phoneExtensions.d.ts +0 -970
  1333. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +0 -57
  1334. package/dist/types/components/tax-and-cash/sqm-banking-info-form/mockData.d.ts +0 -11
  1335. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -115
  1336. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +0 -459
  1337. package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +0 -48
  1338. package/dist/types/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.d.ts +0 -27
  1339. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +0 -63
  1340. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +0 -145
  1341. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +0 -49
  1342. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +0 -54
  1343. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +0 -188
  1344. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +0 -119
  1345. package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -9
  1346. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -23
  1347. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +0 -39
  1348. package/dist/types/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.d.ts +0 -4
  1349. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +0 -20
  1350. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +0 -59
  1351. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +0 -180
  1352. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +0 -29
  1353. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/ErrorView.d.ts +0 -6
  1354. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/LoadingView.d.ts +0 -2
  1355. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +0 -11
  1356. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -1111
  1357. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +0 -9
  1358. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -128
  1359. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +0 -410
  1360. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.d.ts +0 -4
  1361. package/dist/types/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.d.ts +0 -17
  1362. package/dist/types/components/tax-and-cash/sqm-user-info-form/defaultTextCopy.d.ts +0 -2
  1363. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.d.ts +0 -6
  1364. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +0 -56
  1365. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.d.ts +0 -9
  1366. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +0 -119
  1367. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +0 -174
  1368. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +0 -102
  1369. package/dist/types/components/tax-and-cash/subregions.d.ts +0 -18
  1370. package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +0 -6
  1371. package/dist/types/components/tax-and-cash/utils.d.ts +0 -13
  1372. package/dist/types/components/views/EmailRegistration.stories.d.ts +0 -14
  1373. package/dist/types/components/views/copy-text-view.d.ts +0 -24
  1374. package/dist/types/components/views/email-registration-view.d.ts +0 -32
  1375. package/dist/types/components.d.ts +0 -15817
  1376. package/dist/types/fonts/GoogleFonts.d.ts +0 -9
  1377. package/dist/types/global/android.d.ts +0 -7
  1378. package/dist/types/global/demo.d.ts +0 -2
  1379. package/dist/types/global/global.d.ts +0 -6
  1380. package/dist/types/global/mixins.d.ts +0 -164
  1381. package/dist/types/global/styles.d.ts +0 -10
  1382. package/dist/types/index.d.ts +0 -1
  1383. package/dist/types/insertcss.d.ts +0 -6
  1384. package/dist/types/insertfont.d.ts +0 -1
  1385. package/dist/types/saasquatch.d.ts +0 -337
  1386. package/dist/types/stencil-public-runtime.d.ts +0 -1555
  1387. package/dist/types/stories/NewPortal.stories.d.ts +0 -8
  1388. package/dist/types/stories/PortalTemplates.stories.d.ts +0 -112
  1389. package/dist/types/stories/PoweredByImg.stories.d.ts +0 -7
  1390. package/dist/types/stories/Widget.stories.d.ts +0 -64
  1391. package/dist/types/stories/features.d.ts +0 -4
  1392. package/dist/types/stories/templates.d.ts +0 -4
  1393. package/dist/types/styling/JSS.d.ts +0 -7
  1394. package/dist/types/tables/GenericTableView.d.ts +0 -32
  1395. package/dist/types/tables/TableSlots.d.ts +0 -9
  1396. package/dist/types/tables/re-render.d.ts +0 -13
  1397. package/dist/types/tables/useChildElements.d.ts +0 -1
  1398. package/dist/types/utilities.d.ts +0 -9
  1399. package/dist/types/utils/DefaultTemplateView.d.ts +0 -1
  1400. package/dist/types/utils/RequiredPropsError.d.ts +0 -10
  1401. package/dist/types/utils/TemplateView.d.ts +0 -1
  1402. package/dist/types/utils/imageUrl.d.ts +0 -14
  1403. package/dist/types/utils/isDemo.d.ts +0 -4
  1404. package/dist/types/utils/parseStates.d.ts +0 -1
  1405. package/dist/types/utils/utils.d.ts +0 -15
  1406. package/docs/docs.docx +0 -0
  1407. package/docs/raisins.json +0 -1
  1408. package/docs/stats.json +0 -122783
  1409. package/grapesjs/grapesjs.js +0 -54
  1410. package/shoelace/assets/icons/LICENSE.md +0 -21
  1411. package/shoelace/assets/icons/alarm-fill.svg +0 -3
  1412. package/shoelace/assets/icons/alarm.svg +0 -4
  1413. package/shoelace/assets/icons/align-bottom.svg +0 -4
  1414. package/shoelace/assets/icons/align-center.svg +0 -3
  1415. package/shoelace/assets/icons/align-end.svg +0 -4
  1416. package/shoelace/assets/icons/align-middle.svg +0 -3
  1417. package/shoelace/assets/icons/align-start.svg +0 -4
  1418. package/shoelace/assets/icons/align-top.svg +0 -4
  1419. package/shoelace/assets/icons/alt.svg +0 -3
  1420. package/shoelace/assets/icons/app-indicator.svg +0 -4
  1421. package/shoelace/assets/icons/app.svg +0 -3
  1422. package/shoelace/assets/icons/archive-fill.svg +0 -3
  1423. package/shoelace/assets/icons/archive.svg +0 -3
  1424. package/shoelace/assets/icons/arrow-90deg-down.svg +0 -3
  1425. package/shoelace/assets/icons/arrow-90deg-left.svg +0 -3
  1426. package/shoelace/assets/icons/arrow-90deg-right.svg +0 -3
  1427. package/shoelace/assets/icons/arrow-90deg-up.svg +0 -3
  1428. package/shoelace/assets/icons/arrow-bar-down.svg +0 -3
  1429. package/shoelace/assets/icons/arrow-bar-left.svg +0 -3
  1430. package/shoelace/assets/icons/arrow-bar-right.svg +0 -3
  1431. package/shoelace/assets/icons/arrow-bar-up.svg +0 -3
  1432. package/shoelace/assets/icons/arrow-clockwise.svg +0 -4
  1433. package/shoelace/assets/icons/arrow-counterclockwise.svg +0 -4
  1434. package/shoelace/assets/icons/arrow-down-circle-fill.svg +0 -3
  1435. package/shoelace/assets/icons/arrow-down-circle.svg +0 -3
  1436. package/shoelace/assets/icons/arrow-down-left-circle-fill.svg +0 -3
  1437. package/shoelace/assets/icons/arrow-down-left-circle.svg +0 -3
  1438. package/shoelace/assets/icons/arrow-down-left-square-fill.svg +0 -3
  1439. package/shoelace/assets/icons/arrow-down-left-square.svg +0 -3
  1440. package/shoelace/assets/icons/arrow-down-left.svg +0 -3
  1441. package/shoelace/assets/icons/arrow-down-right-circle-fill.svg +0 -3
  1442. package/shoelace/assets/icons/arrow-down-right-circle.svg +0 -3
  1443. package/shoelace/assets/icons/arrow-down-right-square-fill.svg +0 -3
  1444. package/shoelace/assets/icons/arrow-down-right-square.svg +0 -3
  1445. package/shoelace/assets/icons/arrow-down-right.svg +0 -3
  1446. package/shoelace/assets/icons/arrow-down-short.svg +0 -3
  1447. package/shoelace/assets/icons/arrow-down-square-fill.svg +0 -3
  1448. package/shoelace/assets/icons/arrow-down-square.svg +0 -3
  1449. package/shoelace/assets/icons/arrow-down-up.svg +0 -3
  1450. package/shoelace/assets/icons/arrow-down.svg +0 -3
  1451. package/shoelace/assets/icons/arrow-left-circle-fill.svg +0 -3
  1452. package/shoelace/assets/icons/arrow-left-circle.svg +0 -3
  1453. package/shoelace/assets/icons/arrow-left-right.svg +0 -3
  1454. package/shoelace/assets/icons/arrow-left-short.svg +0 -3
  1455. package/shoelace/assets/icons/arrow-left-square-fill.svg +0 -3
  1456. package/shoelace/assets/icons/arrow-left-square.svg +0 -3
  1457. package/shoelace/assets/icons/arrow-left.svg +0 -3
  1458. package/shoelace/assets/icons/arrow-repeat.svg +0 -4
  1459. package/shoelace/assets/icons/arrow-return-left.svg +0 -3
  1460. package/shoelace/assets/icons/arrow-return-right.svg +0 -3
  1461. package/shoelace/assets/icons/arrow-right-circle-fill.svg +0 -3
  1462. package/shoelace/assets/icons/arrow-right-circle.svg +0 -3
  1463. package/shoelace/assets/icons/arrow-right-short.svg +0 -3
  1464. package/shoelace/assets/icons/arrow-right-square-fill.svg +0 -3
  1465. package/shoelace/assets/icons/arrow-right-square.svg +0 -3
  1466. package/shoelace/assets/icons/arrow-right.svg +0 -3
  1467. package/shoelace/assets/icons/arrow-up-circle-fill.svg +0 -3
  1468. package/shoelace/assets/icons/arrow-up-circle.svg +0 -3
  1469. package/shoelace/assets/icons/arrow-up-left-circle-fill.svg +0 -3
  1470. package/shoelace/assets/icons/arrow-up-left-circle.svg +0 -3
  1471. package/shoelace/assets/icons/arrow-up-left-square-fill.svg +0 -3
  1472. package/shoelace/assets/icons/arrow-up-left-square.svg +0 -3
  1473. package/shoelace/assets/icons/arrow-up-left.svg +0 -3
  1474. package/shoelace/assets/icons/arrow-up-right-circle-fill.svg +0 -3
  1475. package/shoelace/assets/icons/arrow-up-right-circle.svg +0 -3
  1476. package/shoelace/assets/icons/arrow-up-right-square-fill.svg +0 -3
  1477. package/shoelace/assets/icons/arrow-up-right-square.svg +0 -3
  1478. package/shoelace/assets/icons/arrow-up-right.svg +0 -3
  1479. package/shoelace/assets/icons/arrow-up-short.svg +0 -3
  1480. package/shoelace/assets/icons/arrow-up-square-fill.svg +0 -3
  1481. package/shoelace/assets/icons/arrow-up-square.svg +0 -3
  1482. package/shoelace/assets/icons/arrow-up.svg +0 -3
  1483. package/shoelace/assets/icons/arrows-angle-contract.svg +0 -3
  1484. package/shoelace/assets/icons/arrows-angle-expand.svg +0 -3
  1485. package/shoelace/assets/icons/arrows-collapse.svg +0 -3
  1486. package/shoelace/assets/icons/arrows-expand.svg +0 -3
  1487. package/shoelace/assets/icons/arrows-fullscreen.svg +0 -3
  1488. package/shoelace/assets/icons/arrows-move.svg +0 -3
  1489. package/shoelace/assets/icons/aspect-ratio-fill.svg +0 -3
  1490. package/shoelace/assets/icons/aspect-ratio.svg +0 -4
  1491. package/shoelace/assets/icons/asterisk.svg +0 -3
  1492. package/shoelace/assets/icons/at.svg +0 -3
  1493. package/shoelace/assets/icons/award-fill.svg +0 -4
  1494. package/shoelace/assets/icons/award.svg +0 -4
  1495. package/shoelace/assets/icons/back.svg +0 -3
  1496. package/shoelace/assets/icons/backspace-fill.svg +0 -3
  1497. package/shoelace/assets/icons/backspace-reverse-fill.svg +0 -3
  1498. package/shoelace/assets/icons/backspace-reverse.svg +0 -4
  1499. package/shoelace/assets/icons/backspace.svg +0 -4
  1500. package/shoelace/assets/icons/badge-3d-fill.svg +0 -4
  1501. package/shoelace/assets/icons/badge-3d.svg +0 -4
  1502. package/shoelace/assets/icons/badge-4k-fill.svg +0 -4
  1503. package/shoelace/assets/icons/badge-4k.svg +0 -4
  1504. package/shoelace/assets/icons/badge-8k-fill.svg +0 -4
  1505. package/shoelace/assets/icons/badge-8k.svg +0 -4
  1506. package/shoelace/assets/icons/badge-ad-fill.svg +0 -4
  1507. package/shoelace/assets/icons/badge-ad.svg +0 -4
  1508. package/shoelace/assets/icons/badge-ar-fill.svg +0 -4
  1509. package/shoelace/assets/icons/badge-ar.svg +0 -4
  1510. package/shoelace/assets/icons/badge-cc-fill.svg +0 -3
  1511. package/shoelace/assets/icons/badge-cc.svg +0 -4
  1512. package/shoelace/assets/icons/badge-hd-fill.svg +0 -4
  1513. package/shoelace/assets/icons/badge-hd.svg +0 -4
  1514. package/shoelace/assets/icons/badge-tm-fill.svg +0 -3
  1515. package/shoelace/assets/icons/badge-tm.svg +0 -4
  1516. package/shoelace/assets/icons/badge-vo-fill.svg +0 -4
  1517. package/shoelace/assets/icons/badge-vo.svg +0 -4
  1518. package/shoelace/assets/icons/badge-vr-fill.svg +0 -4
  1519. package/shoelace/assets/icons/badge-vr.svg +0 -4
  1520. package/shoelace/assets/icons/badge-wc-fill.svg +0 -3
  1521. package/shoelace/assets/icons/badge-wc.svg +0 -4
  1522. package/shoelace/assets/icons/bag-check-fill.svg +0 -3
  1523. package/shoelace/assets/icons/bag-check.svg +0 -4
  1524. package/shoelace/assets/icons/bag-dash-fill.svg +0 -3
  1525. package/shoelace/assets/icons/bag-dash.svg +0 -4
  1526. package/shoelace/assets/icons/bag-fill.svg +0 -3
  1527. package/shoelace/assets/icons/bag-plus-fill.svg +0 -3
  1528. package/shoelace/assets/icons/bag-plus.svg +0 -4
  1529. package/shoelace/assets/icons/bag-x-fill.svg +0 -3
  1530. package/shoelace/assets/icons/bag-x.svg +0 -4
  1531. package/shoelace/assets/icons/bag.svg +0 -3
  1532. package/shoelace/assets/icons/bar-chart-fill.svg +0 -3
  1533. package/shoelace/assets/icons/bar-chart-line-fill.svg +0 -3
  1534. package/shoelace/assets/icons/bar-chart-line.svg +0 -3
  1535. package/shoelace/assets/icons/bar-chart-steps.svg +0 -3
  1536. package/shoelace/assets/icons/bar-chart.svg +0 -3
  1537. package/shoelace/assets/icons/basket-fill.svg +0 -3
  1538. package/shoelace/assets/icons/basket.svg +0 -3
  1539. package/shoelace/assets/icons/basket2-fill.svg +0 -3
  1540. package/shoelace/assets/icons/basket2.svg +0 -4
  1541. package/shoelace/assets/icons/basket3-fill.svg +0 -3
  1542. package/shoelace/assets/icons/basket3.svg +0 -3
  1543. package/shoelace/assets/icons/battery-charging.svg +0 -6
  1544. package/shoelace/assets/icons/battery-full.svg +0 -4
  1545. package/shoelace/assets/icons/battery-half.svg +0 -4
  1546. package/shoelace/assets/icons/battery.svg +0 -3
  1547. package/shoelace/assets/icons/bell-fill.svg +0 -3
  1548. package/shoelace/assets/icons/bell.svg +0 -3
  1549. package/shoelace/assets/icons/bezier.svg +0 -4
  1550. package/shoelace/assets/icons/bezier2.svg +0 -3
  1551. package/shoelace/assets/icons/bicycle.svg +0 -3
  1552. package/shoelace/assets/icons/binoculars-fill.svg +0 -3
  1553. package/shoelace/assets/icons/binoculars.svg +0 -3
  1554. package/shoelace/assets/icons/blockquote-left.svg +0 -3
  1555. package/shoelace/assets/icons/blockquote-right.svg +0 -3
  1556. package/shoelace/assets/icons/book-fill.svg +0 -3
  1557. package/shoelace/assets/icons/book-half.svg +0 -3
  1558. package/shoelace/assets/icons/book.svg +0 -3
  1559. package/shoelace/assets/icons/bookmark-check-fill.svg +0 -3
  1560. package/shoelace/assets/icons/bookmark-check.svg +0 -4
  1561. package/shoelace/assets/icons/bookmark-dash-fill.svg +0 -3
  1562. package/shoelace/assets/icons/bookmark-dash.svg +0 -4
  1563. package/shoelace/assets/icons/bookmark-fill.svg +0 -3
  1564. package/shoelace/assets/icons/bookmark-heart-fill.svg +0 -3
  1565. package/shoelace/assets/icons/bookmark-heart.svg +0 -4
  1566. package/shoelace/assets/icons/bookmark-plus-fill.svg +0 -3
  1567. package/shoelace/assets/icons/bookmark-plus.svg +0 -4
  1568. package/shoelace/assets/icons/bookmark-star-fill.svg +0 -3
  1569. package/shoelace/assets/icons/bookmark-star.svg +0 -4
  1570. package/shoelace/assets/icons/bookmark-x-fill.svg +0 -3
  1571. package/shoelace/assets/icons/bookmark-x.svg +0 -4
  1572. package/shoelace/assets/icons/bookmark.svg +0 -3
  1573. package/shoelace/assets/icons/bookmarks-fill.svg +0 -4
  1574. package/shoelace/assets/icons/bookmarks.svg +0 -4
  1575. package/shoelace/assets/icons/bookshelf.svg +0 -3
  1576. package/shoelace/assets/icons/bootstrap-fill.svg +0 -4
  1577. package/shoelace/assets/icons/bootstrap-reboot.svg +0 -4
  1578. package/shoelace/assets/icons/bootstrap.svg +0 -4
  1579. package/shoelace/assets/icons/border-all.svg +0 -3
  1580. package/shoelace/assets/icons/border-bottom.svg +0 -3
  1581. package/shoelace/assets/icons/border-center.svg +0 -3
  1582. package/shoelace/assets/icons/border-inner.svg +0 -5
  1583. package/shoelace/assets/icons/border-left.svg +0 -3
  1584. package/shoelace/assets/icons/border-middle.svg +0 -3
  1585. package/shoelace/assets/icons/border-outer.svg +0 -4
  1586. package/shoelace/assets/icons/border-right.svg +0 -3
  1587. package/shoelace/assets/icons/border-style.svg +0 -3
  1588. package/shoelace/assets/icons/border-top.svg +0 -3
  1589. package/shoelace/assets/icons/border-width.svg +0 -3
  1590. package/shoelace/assets/icons/border.svg +0 -3
  1591. package/shoelace/assets/icons/bounding-box-circles.svg +0 -3
  1592. package/shoelace/assets/icons/bounding-box.svg +0 -3
  1593. package/shoelace/assets/icons/box-arrow-down-left.svg +0 -4
  1594. package/shoelace/assets/icons/box-arrow-down-right.svg +0 -4
  1595. package/shoelace/assets/icons/box-arrow-down.svg +0 -4
  1596. package/shoelace/assets/icons/box-arrow-in-down-left.svg +0 -4
  1597. package/shoelace/assets/icons/box-arrow-in-down-right.svg +0 -4
  1598. package/shoelace/assets/icons/box-arrow-in-down.svg +0 -4
  1599. package/shoelace/assets/icons/box-arrow-in-left.svg +0 -4
  1600. package/shoelace/assets/icons/box-arrow-in-right.svg +0 -4
  1601. package/shoelace/assets/icons/box-arrow-in-up-left.svg +0 -4
  1602. package/shoelace/assets/icons/box-arrow-in-up-right.svg +0 -4
  1603. package/shoelace/assets/icons/box-arrow-in-up.svg +0 -4
  1604. package/shoelace/assets/icons/box-arrow-left.svg +0 -4
  1605. package/shoelace/assets/icons/box-arrow-right.svg +0 -4
  1606. package/shoelace/assets/icons/box-arrow-up-left.svg +0 -4
  1607. package/shoelace/assets/icons/box-arrow-up-right.svg +0 -4
  1608. package/shoelace/assets/icons/box-arrow-up.svg +0 -4
  1609. package/shoelace/assets/icons/box-seam.svg +0 -3
  1610. package/shoelace/assets/icons/box.svg +0 -3
  1611. package/shoelace/assets/icons/braces.svg +0 -3
  1612. package/shoelace/assets/icons/bricks.svg +0 -3
  1613. package/shoelace/assets/icons/briefcase-fill.svg +0 -4
  1614. package/shoelace/assets/icons/briefcase.svg +0 -3
  1615. package/shoelace/assets/icons/brightness-alt-high-fill.svg +0 -3
  1616. package/shoelace/assets/icons/brightness-alt-high.svg +0 -3
  1617. package/shoelace/assets/icons/brightness-alt-low-fill.svg +0 -3
  1618. package/shoelace/assets/icons/brightness-alt-low.svg +0 -3
  1619. package/shoelace/assets/icons/brightness-high-fill.svg +0 -3
  1620. package/shoelace/assets/icons/brightness-high.svg +0 -3
  1621. package/shoelace/assets/icons/brightness-low-fill.svg +0 -3
  1622. package/shoelace/assets/icons/brightness-low.svg +0 -3
  1623. package/shoelace/assets/icons/broadcast-pin.svg +0 -3
  1624. package/shoelace/assets/icons/broadcast.svg +0 -3
  1625. package/shoelace/assets/icons/brush-fill.svg +0 -3
  1626. package/shoelace/assets/icons/brush.svg +0 -3
  1627. package/shoelace/assets/icons/bucket-fill.svg +0 -3
  1628. package/shoelace/assets/icons/bucket.svg +0 -3
  1629. package/shoelace/assets/icons/bug-fill.svg +0 -4
  1630. package/shoelace/assets/icons/bug.svg +0 -3
  1631. package/shoelace/assets/icons/building.svg +0 -4
  1632. package/shoelace/assets/icons/bullseye.svg +0 -6
  1633. package/shoelace/assets/icons/calculator-fill.svg +0 -3
  1634. package/shoelace/assets/icons/calculator.svg +0 -4
  1635. package/shoelace/assets/icons/calendar-check-fill.svg +0 -3
  1636. package/shoelace/assets/icons/calendar-check.svg +0 -4
  1637. package/shoelace/assets/icons/calendar-date-fill.svg +0 -4
  1638. package/shoelace/assets/icons/calendar-date.svg +0 -4
  1639. package/shoelace/assets/icons/calendar-day-fill.svg +0 -3
  1640. package/shoelace/assets/icons/calendar-day.svg +0 -4
  1641. package/shoelace/assets/icons/calendar-event-fill.svg +0 -3
  1642. package/shoelace/assets/icons/calendar-event.svg +0 -4
  1643. package/shoelace/assets/icons/calendar-fill.svg +0 -3
  1644. package/shoelace/assets/icons/calendar-minus-fill.svg +0 -3
  1645. package/shoelace/assets/icons/calendar-minus.svg +0 -4
  1646. package/shoelace/assets/icons/calendar-month-fill.svg +0 -4
  1647. package/shoelace/assets/icons/calendar-month.svg +0 -4
  1648. package/shoelace/assets/icons/calendar-plus-fill.svg +0 -3
  1649. package/shoelace/assets/icons/calendar-plus.svg +0 -4
  1650. package/shoelace/assets/icons/calendar-range-fill.svg +0 -3
  1651. package/shoelace/assets/icons/calendar-range.svg +0 -4
  1652. package/shoelace/assets/icons/calendar-week-fill.svg +0 -3
  1653. package/shoelace/assets/icons/calendar-week.svg +0 -4
  1654. package/shoelace/assets/icons/calendar-x-fill.svg +0 -3
  1655. package/shoelace/assets/icons/calendar-x.svg +0 -4
  1656. package/shoelace/assets/icons/calendar.svg +0 -3
  1657. package/shoelace/assets/icons/calendar2-check-fill.svg +0 -3
  1658. package/shoelace/assets/icons/calendar2-check.svg +0 -5
  1659. package/shoelace/assets/icons/calendar2-date-fill.svg +0 -4
  1660. package/shoelace/assets/icons/calendar2-date.svg +0 -5
  1661. package/shoelace/assets/icons/calendar2-day-fill.svg +0 -3
  1662. package/shoelace/assets/icons/calendar2-day.svg +0 -5
  1663. package/shoelace/assets/icons/calendar2-event-fill.svg +0 -3
  1664. package/shoelace/assets/icons/calendar2-event.svg +0 -5
  1665. package/shoelace/assets/icons/calendar2-fill.svg +0 -3
  1666. package/shoelace/assets/icons/calendar2-minus-fill.svg +0 -3
  1667. package/shoelace/assets/icons/calendar2-minus.svg +0 -5
  1668. package/shoelace/assets/icons/calendar2-month-fill.svg +0 -4
  1669. package/shoelace/assets/icons/calendar2-month.svg +0 -5
  1670. package/shoelace/assets/icons/calendar2-plus-fill.svg +0 -3
  1671. package/shoelace/assets/icons/calendar2-plus.svg +0 -4
  1672. package/shoelace/assets/icons/calendar2-range-fill.svg +0 -3
  1673. package/shoelace/assets/icons/calendar2-range.svg +0 -4
  1674. package/shoelace/assets/icons/calendar2-week-fill.svg +0 -3
  1675. package/shoelace/assets/icons/calendar2-week.svg +0 -4
  1676. package/shoelace/assets/icons/calendar2-x-fill.svg +0 -3
  1677. package/shoelace/assets/icons/calendar2-x.svg +0 -5
  1678. package/shoelace/assets/icons/calendar2.svg +0 -4
  1679. package/shoelace/assets/icons/calendar3-event-fill.svg +0 -3
  1680. package/shoelace/assets/icons/calendar3-event.svg +0 -4
  1681. package/shoelace/assets/icons/calendar3-fill.svg +0 -3
  1682. package/shoelace/assets/icons/calendar3-range-fill.svg +0 -3
  1683. package/shoelace/assets/icons/calendar3-range.svg +0 -4
  1684. package/shoelace/assets/icons/calendar3-week-fill.svg +0 -3
  1685. package/shoelace/assets/icons/calendar3-week.svg +0 -4
  1686. package/shoelace/assets/icons/calendar3.svg +0 -4
  1687. package/shoelace/assets/icons/calendar4-event.svg +0 -4
  1688. package/shoelace/assets/icons/calendar4-range.svg +0 -4
  1689. package/shoelace/assets/icons/calendar4-week.svg +0 -4
  1690. package/shoelace/assets/icons/calendar4.svg +0 -3
  1691. package/shoelace/assets/icons/camera-fill.svg +0 -4
  1692. package/shoelace/assets/icons/camera-reels-fill.svg +0 -5
  1693. package/shoelace/assets/icons/camera-reels.svg +0 -5
  1694. package/shoelace/assets/icons/camera-video-fill.svg +0 -3
  1695. package/shoelace/assets/icons/camera-video-off-fill.svg +0 -3
  1696. package/shoelace/assets/icons/camera-video-off.svg +0 -3
  1697. package/shoelace/assets/icons/camera-video.svg +0 -3
  1698. package/shoelace/assets/icons/camera.svg +0 -4
  1699. package/shoelace/assets/icons/camera2.svg +0 -4
  1700. package/shoelace/assets/icons/capslock-fill.svg +0 -3
  1701. package/shoelace/assets/icons/capslock.svg +0 -3
  1702. package/shoelace/assets/icons/card-checklist.svg +0 -4
  1703. package/shoelace/assets/icons/card-heading.svg +0 -4
  1704. package/shoelace/assets/icons/card-image.svg +0 -4
  1705. package/shoelace/assets/icons/card-list.svg +0 -4
  1706. package/shoelace/assets/icons/card-text.svg +0 -4
  1707. package/shoelace/assets/icons/caret-down-fill.svg +0 -3
  1708. package/shoelace/assets/icons/caret-down-square-fill.svg +0 -3
  1709. package/shoelace/assets/icons/caret-down-square.svg +0 -4
  1710. package/shoelace/assets/icons/caret-down.svg +0 -3
  1711. package/shoelace/assets/icons/caret-left-fill.svg +0 -3
  1712. package/shoelace/assets/icons/caret-left-square-fill.svg +0 -3
  1713. package/shoelace/assets/icons/caret-left-square.svg +0 -4
  1714. package/shoelace/assets/icons/caret-left.svg +0 -3
  1715. package/shoelace/assets/icons/caret-right-fill.svg +0 -3
  1716. package/shoelace/assets/icons/caret-right-square-fill.svg +0 -3
  1717. package/shoelace/assets/icons/caret-right-square.svg +0 -4
  1718. package/shoelace/assets/icons/caret-right.svg +0 -3
  1719. package/shoelace/assets/icons/caret-up-fill.svg +0 -3
  1720. package/shoelace/assets/icons/caret-up-square-fill.svg +0 -3
  1721. package/shoelace/assets/icons/caret-up-square.svg +0 -4
  1722. package/shoelace/assets/icons/caret-up.svg +0 -3
  1723. package/shoelace/assets/icons/cart-check-fill.svg +0 -3
  1724. package/shoelace/assets/icons/cart-check.svg +0 -4
  1725. package/shoelace/assets/icons/cart-dash-fill.svg +0 -3
  1726. package/shoelace/assets/icons/cart-dash.svg +0 -4
  1727. package/shoelace/assets/icons/cart-fill.svg +0 -3
  1728. package/shoelace/assets/icons/cart-plus-fill.svg +0 -3
  1729. package/shoelace/assets/icons/cart-plus.svg +0 -4
  1730. package/shoelace/assets/icons/cart-x-fill.svg +0 -3
  1731. package/shoelace/assets/icons/cart-x.svg +0 -4
  1732. package/shoelace/assets/icons/cart.svg +0 -3
  1733. package/shoelace/assets/icons/cart2.svg +0 -3
  1734. package/shoelace/assets/icons/cart3.svg +0 -3
  1735. package/shoelace/assets/icons/cart4.svg +0 -3
  1736. package/shoelace/assets/icons/cash-stack.svg +0 -4
  1737. package/shoelace/assets/icons/cash.svg +0 -4
  1738. package/shoelace/assets/icons/cast.svg +0 -4
  1739. package/shoelace/assets/icons/chat-dots-fill.svg +0 -3
  1740. package/shoelace/assets/icons/chat-dots.svg +0 -4
  1741. package/shoelace/assets/icons/chat-fill.svg +0 -3
  1742. package/shoelace/assets/icons/chat-left-dots-fill.svg +0 -3
  1743. package/shoelace/assets/icons/chat-left-dots.svg +0 -4
  1744. package/shoelace/assets/icons/chat-left-fill.svg +0 -3
  1745. package/shoelace/assets/icons/chat-left-quote-fill.svg +0 -3
  1746. package/shoelace/assets/icons/chat-left-quote.svg +0 -4
  1747. package/shoelace/assets/icons/chat-left-text-fill.svg +0 -3
  1748. package/shoelace/assets/icons/chat-left-text.svg +0 -4
  1749. package/shoelace/assets/icons/chat-left.svg +0 -3
  1750. package/shoelace/assets/icons/chat-quote-fill.svg +0 -3
  1751. package/shoelace/assets/icons/chat-quote.svg +0 -4
  1752. package/shoelace/assets/icons/chat-right-dots-fill.svg +0 -3
  1753. package/shoelace/assets/icons/chat-right-dots.svg +0 -4
  1754. package/shoelace/assets/icons/chat-right-fill.svg +0 -3
  1755. package/shoelace/assets/icons/chat-right-quote-fill.svg +0 -3
  1756. package/shoelace/assets/icons/chat-right-quote.svg +0 -4
  1757. package/shoelace/assets/icons/chat-right-text-fill.svg +0 -3
  1758. package/shoelace/assets/icons/chat-right-text.svg +0 -4
  1759. package/shoelace/assets/icons/chat-right.svg +0 -3
  1760. package/shoelace/assets/icons/chat-square-dots-fill.svg +0 -3
  1761. package/shoelace/assets/icons/chat-square-dots.svg +0 -4
  1762. package/shoelace/assets/icons/chat-square-fill.svg +0 -3
  1763. package/shoelace/assets/icons/chat-square-quote-fill.svg +0 -3
  1764. package/shoelace/assets/icons/chat-square-quote.svg +0 -4
  1765. package/shoelace/assets/icons/chat-square-text-fill.svg +0 -3
  1766. package/shoelace/assets/icons/chat-square-text.svg +0 -4
  1767. package/shoelace/assets/icons/chat-square.svg +0 -3
  1768. package/shoelace/assets/icons/chat-text-fill.svg +0 -3
  1769. package/shoelace/assets/icons/chat-text.svg +0 -4
  1770. package/shoelace/assets/icons/chat.svg +0 -3
  1771. package/shoelace/assets/icons/check-all.svg +0 -3
  1772. package/shoelace/assets/icons/check-circle-fill.svg +0 -3
  1773. package/shoelace/assets/icons/check-circle.svg +0 -4
  1774. package/shoelace/assets/icons/check-square-fill.svg +0 -3
  1775. package/shoelace/assets/icons/check-square.svg +0 -4
  1776. package/shoelace/assets/icons/check.svg +0 -3
  1777. package/shoelace/assets/icons/check2-all.svg +0 -4
  1778. package/shoelace/assets/icons/check2-circle.svg +0 -4
  1779. package/shoelace/assets/icons/check2-square.svg +0 -4
  1780. package/shoelace/assets/icons/check2.svg +0 -3
  1781. package/shoelace/assets/icons/chevron-bar-contract.svg +0 -3
  1782. package/shoelace/assets/icons/chevron-bar-down.svg +0 -3
  1783. package/shoelace/assets/icons/chevron-bar-expand.svg +0 -3
  1784. package/shoelace/assets/icons/chevron-bar-left.svg +0 -3
  1785. package/shoelace/assets/icons/chevron-bar-right.svg +0 -3
  1786. package/shoelace/assets/icons/chevron-bar-up.svg +0 -3
  1787. package/shoelace/assets/icons/chevron-compact-down.svg +0 -3
  1788. package/shoelace/assets/icons/chevron-compact-left.svg +0 -3
  1789. package/shoelace/assets/icons/chevron-compact-right.svg +0 -3
  1790. package/shoelace/assets/icons/chevron-compact-up.svg +0 -3
  1791. package/shoelace/assets/icons/chevron-contract.svg +0 -3
  1792. package/shoelace/assets/icons/chevron-double-down.svg +0 -4
  1793. package/shoelace/assets/icons/chevron-double-left.svg +0 -4
  1794. package/shoelace/assets/icons/chevron-double-right.svg +0 -4
  1795. package/shoelace/assets/icons/chevron-double-up.svg +0 -4
  1796. package/shoelace/assets/icons/chevron-down.svg +0 -3
  1797. package/shoelace/assets/icons/chevron-expand.svg +0 -3
  1798. package/shoelace/assets/icons/chevron-left.svg +0 -3
  1799. package/shoelace/assets/icons/chevron-right.svg +0 -3
  1800. package/shoelace/assets/icons/chevron-up.svg +0 -3
  1801. package/shoelace/assets/icons/circle-fill.svg +0 -3
  1802. package/shoelace/assets/icons/circle-half.svg +0 -3
  1803. package/shoelace/assets/icons/circle-square.svg +0 -4
  1804. package/shoelace/assets/icons/circle.svg +0 -3
  1805. package/shoelace/assets/icons/clipboard-check.svg +0 -5
  1806. package/shoelace/assets/icons/clipboard-data.svg +0 -5
  1807. package/shoelace/assets/icons/clipboard-minus.svg +0 -5
  1808. package/shoelace/assets/icons/clipboard-plus.svg +0 -5
  1809. package/shoelace/assets/icons/clipboard-x.svg +0 -5
  1810. package/shoelace/assets/icons/clipboard.svg +0 -4
  1811. package/shoelace/assets/icons/clock-fill.svg +0 -3
  1812. package/shoelace/assets/icons/clock-history.svg +0 -5
  1813. package/shoelace/assets/icons/clock.svg +0 -4
  1814. package/shoelace/assets/icons/cloud-arrow-down-fill.svg +0 -3
  1815. package/shoelace/assets/icons/cloud-arrow-down.svg +0 -4
  1816. package/shoelace/assets/icons/cloud-arrow-up-fill.svg +0 -3
  1817. package/shoelace/assets/icons/cloud-arrow-up.svg +0 -4
  1818. package/shoelace/assets/icons/cloud-check-fill.svg +0 -3
  1819. package/shoelace/assets/icons/cloud-check.svg +0 -4
  1820. package/shoelace/assets/icons/cloud-download-fill.svg +0 -3
  1821. package/shoelace/assets/icons/cloud-download.svg +0 -4
  1822. package/shoelace/assets/icons/cloud-drizzle-fill.svg +0 -3
  1823. package/shoelace/assets/icons/cloud-drizzle.svg +0 -3
  1824. package/shoelace/assets/icons/cloud-fill.svg +0 -3
  1825. package/shoelace/assets/icons/cloud-fog-fill.svg +0 -3
  1826. package/shoelace/assets/icons/cloud-fog.svg +0 -3
  1827. package/shoelace/assets/icons/cloud-fog2-fill.svg +0 -3
  1828. package/shoelace/assets/icons/cloud-fog2.svg +0 -3
  1829. package/shoelace/assets/icons/cloud-hail-fill.svg +0 -3
  1830. package/shoelace/assets/icons/cloud-hail.svg +0 -3
  1831. package/shoelace/assets/icons/cloud-haze-1.svg +0 -3
  1832. package/shoelace/assets/icons/cloud-haze-fill.svg +0 -3
  1833. package/shoelace/assets/icons/cloud-haze.svg +0 -3
  1834. package/shoelace/assets/icons/cloud-haze2-fill.svg +0 -3
  1835. package/shoelace/assets/icons/cloud-lightning-fill.svg +0 -3
  1836. package/shoelace/assets/icons/cloud-lightning-rain-fill.svg +0 -3
  1837. package/shoelace/assets/icons/cloud-lightning-rain.svg +0 -3
  1838. package/shoelace/assets/icons/cloud-lightning.svg +0 -3
  1839. package/shoelace/assets/icons/cloud-minus-fill.svg +0 -3
  1840. package/shoelace/assets/icons/cloud-minus.svg +0 -3
  1841. package/shoelace/assets/icons/cloud-moon-fill.svg +0 -4
  1842. package/shoelace/assets/icons/cloud-moon.svg +0 -4
  1843. package/shoelace/assets/icons/cloud-plus-fill.svg +0 -3
  1844. package/shoelace/assets/icons/cloud-plus.svg +0 -4
  1845. package/shoelace/assets/icons/cloud-rain-fill.svg +0 -3
  1846. package/shoelace/assets/icons/cloud-rain-heavy-fill.svg +0 -3
  1847. package/shoelace/assets/icons/cloud-rain-heavy.svg +0 -3
  1848. package/shoelace/assets/icons/cloud-rain.svg +0 -3
  1849. package/shoelace/assets/icons/cloud-slash-fill.svg +0 -3
  1850. package/shoelace/assets/icons/cloud-slash.svg +0 -4
  1851. package/shoelace/assets/icons/cloud-sleet-fill.svg +0 -3
  1852. package/shoelace/assets/icons/cloud-sleet.svg +0 -3
  1853. package/shoelace/assets/icons/cloud-snow-fill.svg +0 -3
  1854. package/shoelace/assets/icons/cloud-snow.svg +0 -3
  1855. package/shoelace/assets/icons/cloud-sun-fill.svg +0 -4
  1856. package/shoelace/assets/icons/cloud-sun.svg +0 -4
  1857. package/shoelace/assets/icons/cloud-upload-fill.svg +0 -3
  1858. package/shoelace/assets/icons/cloud-upload.svg +0 -4
  1859. package/shoelace/assets/icons/cloud.svg +0 -3
  1860. package/shoelace/assets/icons/clouds-fill.svg +0 -4
  1861. package/shoelace/assets/icons/clouds.svg +0 -4
  1862. package/shoelace/assets/icons/cloudy-fill.svg +0 -3
  1863. package/shoelace/assets/icons/cloudy.svg +0 -3
  1864. package/shoelace/assets/icons/code-slash.svg +0 -3
  1865. package/shoelace/assets/icons/code-square.svg +0 -4
  1866. package/shoelace/assets/icons/code.svg +0 -3
  1867. package/shoelace/assets/icons/collection-fill.svg +0 -3
  1868. package/shoelace/assets/icons/collection-play-fill.svg +0 -3
  1869. package/shoelace/assets/icons/collection-play.svg +0 -4
  1870. package/shoelace/assets/icons/collection.svg +0 -3
  1871. package/shoelace/assets/icons/columns-gap.svg +0 -3
  1872. package/shoelace/assets/icons/columns.svg +0 -3
  1873. package/shoelace/assets/icons/command.svg +0 -3
  1874. package/shoelace/assets/icons/compass-fill.svg +0 -3
  1875. package/shoelace/assets/icons/compass.svg +0 -4
  1876. package/shoelace/assets/icons/cone-striped.svg +0 -3
  1877. package/shoelace/assets/icons/cone.svg +0 -3
  1878. package/shoelace/assets/icons/controller.svg +0 -4
  1879. package/shoelace/assets/icons/cpu-fill.svg +0 -4
  1880. package/shoelace/assets/icons/cpu.svg +0 -3
  1881. package/shoelace/assets/icons/credit-card-2-back-fill.svg +0 -3
  1882. package/shoelace/assets/icons/credit-card-2-back.svg +0 -4
  1883. package/shoelace/assets/icons/credit-card-2-front-fill.svg +0 -3
  1884. package/shoelace/assets/icons/credit-card-2-front.svg +0 -4
  1885. package/shoelace/assets/icons/credit-card-fill.svg +0 -3
  1886. package/shoelace/assets/icons/credit-card.svg +0 -4
  1887. package/shoelace/assets/icons/crop.svg +0 -3
  1888. package/shoelace/assets/icons/cup-fill.svg +0 -3
  1889. package/shoelace/assets/icons/cup-straw.svg +0 -3
  1890. package/shoelace/assets/icons/cup.svg +0 -3
  1891. package/shoelace/assets/icons/cursor-fill.svg +0 -3
  1892. package/shoelace/assets/icons/cursor-text.svg +0 -3
  1893. package/shoelace/assets/icons/cursor.svg +0 -3
  1894. package/shoelace/assets/icons/dash-circle-dotted.svg +0 -3
  1895. package/shoelace/assets/icons/dash-circle-fill.svg +0 -3
  1896. package/shoelace/assets/icons/dash-circle.svg +0 -4
  1897. package/shoelace/assets/icons/dash-square-dotted.svg +0 -3
  1898. package/shoelace/assets/icons/dash-square-fill.svg +0 -3
  1899. package/shoelace/assets/icons/dash-square.svg +0 -4
  1900. package/shoelace/assets/icons/dash.svg +0 -3
  1901. package/shoelace/assets/icons/diagram-2-fill.svg +0 -3
  1902. package/shoelace/assets/icons/diagram-2.svg +0 -3
  1903. package/shoelace/assets/icons/diagram-3-fill.svg +0 -3
  1904. package/shoelace/assets/icons/diagram-3.svg +0 -3
  1905. package/shoelace/assets/icons/diamond-fill.svg +0 -3
  1906. package/shoelace/assets/icons/diamond-half.svg +0 -3
  1907. package/shoelace/assets/icons/diamond.svg +0 -3
  1908. package/shoelace/assets/icons/dice-1-fill.svg +0 -3
  1909. package/shoelace/assets/icons/dice-1.svg +0 -4
  1910. package/shoelace/assets/icons/dice-2-fill.svg +0 -3
  1911. package/shoelace/assets/icons/dice-2.svg +0 -4
  1912. package/shoelace/assets/icons/dice-3-fill.svg +0 -3
  1913. package/shoelace/assets/icons/dice-3.svg +0 -4
  1914. package/shoelace/assets/icons/dice-4-fill.svg +0 -3
  1915. package/shoelace/assets/icons/dice-4.svg +0 -4
  1916. package/shoelace/assets/icons/dice-5-fill.svg +0 -3
  1917. package/shoelace/assets/icons/dice-5.svg +0 -4
  1918. package/shoelace/assets/icons/dice-6-fill.svg +0 -3
  1919. package/shoelace/assets/icons/dice-6.svg +0 -4
  1920. package/shoelace/assets/icons/disc-fill.svg +0 -3
  1921. package/shoelace/assets/icons/disc.svg +0 -4
  1922. package/shoelace/assets/icons/discord.svg +0 -4
  1923. package/shoelace/assets/icons/display-fill.svg +0 -3
  1924. package/shoelace/assets/icons/display.svg +0 -3
  1925. package/shoelace/assets/icons/distribute-horizontal.svg +0 -4
  1926. package/shoelace/assets/icons/distribute-vertical.svg +0 -4
  1927. package/shoelace/assets/icons/door-closed-fill.svg +0 -3
  1928. package/shoelace/assets/icons/door-closed.svg +0 -4
  1929. package/shoelace/assets/icons/door-open-fill.svg +0 -3
  1930. package/shoelace/assets/icons/door-open.svg +0 -4
  1931. package/shoelace/assets/icons/dot.svg +0 -3
  1932. package/shoelace/assets/icons/download.svg +0 -4
  1933. package/shoelace/assets/icons/droplet-fill.svg +0 -3
  1934. package/shoelace/assets/icons/droplet-half.svg +0 -4
  1935. package/shoelace/assets/icons/droplet.svg +0 -4
  1936. package/shoelace/assets/icons/earbuds.svg +0 -3
  1937. package/shoelace/assets/icons/easel-fill.svg +0 -3
  1938. package/shoelace/assets/icons/easel.svg +0 -3
  1939. package/shoelace/assets/icons/egg-fill.svg +0 -3
  1940. package/shoelace/assets/icons/egg-fried.svg +0 -4
  1941. package/shoelace/assets/icons/egg.svg +0 -3
  1942. package/shoelace/assets/icons/eject-fill.svg +0 -3
  1943. package/shoelace/assets/icons/eject.svg +0 -3
  1944. package/shoelace/assets/icons/emoji-angry-fill.svg +0 -3
  1945. package/shoelace/assets/icons/emoji-angry.svg +0 -4
  1946. package/shoelace/assets/icons/emoji-dizzy-fill.svg +0 -3
  1947. package/shoelace/assets/icons/emoji-dizzy.svg +0 -4
  1948. package/shoelace/assets/icons/emoji-expressionless-fill.svg +0 -3
  1949. package/shoelace/assets/icons/emoji-expressionless.svg +0 -4
  1950. package/shoelace/assets/icons/emoji-frown-fill.svg +0 -3
  1951. package/shoelace/assets/icons/emoji-frown.svg +0 -4
  1952. package/shoelace/assets/icons/emoji-heart-eyes-fill.svg +0 -3
  1953. package/shoelace/assets/icons/emoji-heart-eyes.svg +0 -4
  1954. package/shoelace/assets/icons/emoji-laughing-fill.svg +0 -3
  1955. package/shoelace/assets/icons/emoji-laughing.svg +0 -4
  1956. package/shoelace/assets/icons/emoji-neutral-fill.svg +0 -3
  1957. package/shoelace/assets/icons/emoji-neutral.svg +0 -4
  1958. package/shoelace/assets/icons/emoji-smile-fill.svg +0 -3
  1959. package/shoelace/assets/icons/emoji-smile-upside-down-fill.svg +0 -3
  1960. package/shoelace/assets/icons/emoji-smile-upside-down.svg +0 -4
  1961. package/shoelace/assets/icons/emoji-smile.svg +0 -4
  1962. package/shoelace/assets/icons/emoji-sunglasses-fill.svg +0 -3
  1963. package/shoelace/assets/icons/emoji-sunglasses.svg +0 -4
  1964. package/shoelace/assets/icons/emoji-wink-fill.svg +0 -3
  1965. package/shoelace/assets/icons/emoji-wink.svg +0 -4
  1966. package/shoelace/assets/icons/envelope-fill.svg +0 -3
  1967. package/shoelace/assets/icons/envelope-open-fill.svg +0 -3
  1968. package/shoelace/assets/icons/envelope-open.svg +0 -3
  1969. package/shoelace/assets/icons/envelope.svg +0 -3
  1970. package/shoelace/assets/icons/eraser-fill.svg +0 -3
  1971. package/shoelace/assets/icons/eraser.svg +0 -3
  1972. package/shoelace/assets/icons/exclamation-circle-fill.svg +0 -3
  1973. package/shoelace/assets/icons/exclamation-circle.svg +0 -4
  1974. package/shoelace/assets/icons/exclamation-diamond-fill.svg +0 -3
  1975. package/shoelace/assets/icons/exclamation-diamond.svg +0 -4
  1976. package/shoelace/assets/icons/exclamation-octagon-fill.svg +0 -3
  1977. package/shoelace/assets/icons/exclamation-octagon.svg +0 -4
  1978. package/shoelace/assets/icons/exclamation-square-fill.svg +0 -3
  1979. package/shoelace/assets/icons/exclamation-square.svg +0 -4
  1980. package/shoelace/assets/icons/exclamation-triangle-fill.svg +0 -3
  1981. package/shoelace/assets/icons/exclamation-triangle.svg +0 -4
  1982. package/shoelace/assets/icons/exclamation.svg +0 -3
  1983. package/shoelace/assets/icons/exclude.svg +0 -3
  1984. package/shoelace/assets/icons/eye-fill.svg +0 -4
  1985. package/shoelace/assets/icons/eye-slash-fill.svg +0 -4
  1986. package/shoelace/assets/icons/eye-slash.svg +0 -5
  1987. package/shoelace/assets/icons/eye.svg +0 -4
  1988. package/shoelace/assets/icons/eyedropper.svg +0 -3
  1989. package/shoelace/assets/icons/eyeglasses.svg +0 -3
  1990. package/shoelace/assets/icons/facebook.svg +0 -3
  1991. package/shoelace/assets/icons/file-arrow-down-fill.svg +0 -3
  1992. package/shoelace/assets/icons/file-arrow-down.svg +0 -4
  1993. package/shoelace/assets/icons/file-arrow-up-fill.svg +0 -3
  1994. package/shoelace/assets/icons/file-arrow-up.svg +0 -4
  1995. package/shoelace/assets/icons/file-bar-graph-fill.svg +0 -3
  1996. package/shoelace/assets/icons/file-bar-graph.svg +0 -4
  1997. package/shoelace/assets/icons/file-binary-fill.svg +0 -4
  1998. package/shoelace/assets/icons/file-binary.svg +0 -4
  1999. package/shoelace/assets/icons/file-break-fill.svg +0 -3
  2000. package/shoelace/assets/icons/file-break.svg +0 -3
  2001. package/shoelace/assets/icons/file-check-fill.svg +0 -3
  2002. package/shoelace/assets/icons/file-check.svg +0 -4
  2003. package/shoelace/assets/icons/file-code-fill.svg +0 -3
  2004. package/shoelace/assets/icons/file-code.svg +0 -4
  2005. package/shoelace/assets/icons/file-diff-fill.svg +0 -3
  2006. package/shoelace/assets/icons/file-diff.svg +0 -4
  2007. package/shoelace/assets/icons/file-earmark-arrow-down-fill.svg +0 -3
  2008. package/shoelace/assets/icons/file-earmark-arrow-down.svg +0 -4
  2009. package/shoelace/assets/icons/file-earmark-arrow-up-fill.svg +0 -3
  2010. package/shoelace/assets/icons/file-earmark-arrow-up.svg +0 -4
  2011. package/shoelace/assets/icons/file-earmark-bar-graph-fill.svg +0 -3
  2012. package/shoelace/assets/icons/file-earmark-bar-graph.svg +0 -4
  2013. package/shoelace/assets/icons/file-earmark-binary-fill.svg +0 -4
  2014. package/shoelace/assets/icons/file-earmark-binary.svg +0 -4
  2015. package/shoelace/assets/icons/file-earmark-break-fill.svg +0 -3
  2016. package/shoelace/assets/icons/file-earmark-break.svg +0 -3
  2017. package/shoelace/assets/icons/file-earmark-check-fill.svg +0 -3
  2018. package/shoelace/assets/icons/file-earmark-check.svg +0 -4
  2019. package/shoelace/assets/icons/file-earmark-code-fill.svg +0 -3
  2020. package/shoelace/assets/icons/file-earmark-code.svg +0 -4
  2021. package/shoelace/assets/icons/file-earmark-diff-fill.svg +0 -3
  2022. package/shoelace/assets/icons/file-earmark-diff.svg +0 -4
  2023. package/shoelace/assets/icons/file-earmark-easel-fill.svg +0 -4
  2024. package/shoelace/assets/icons/file-earmark-easel.svg +0 -4
  2025. package/shoelace/assets/icons/file-earmark-excel-fill.svg +0 -3
  2026. package/shoelace/assets/icons/file-earmark-excel.svg +0 -4
  2027. package/shoelace/assets/icons/file-earmark-fill.svg +0 -3
  2028. package/shoelace/assets/icons/file-earmark-font-fill.svg +0 -3
  2029. package/shoelace/assets/icons/file-earmark-font.svg +0 -4
  2030. package/shoelace/assets/icons/file-earmark-image-fill.svg +0 -4
  2031. package/shoelace/assets/icons/file-earmark-image.svg +0 -4
  2032. package/shoelace/assets/icons/file-earmark-lock-fill.svg +0 -4
  2033. package/shoelace/assets/icons/file-earmark-lock.svg +0 -4
  2034. package/shoelace/assets/icons/file-earmark-lock2-fill.svg +0 -4
  2035. package/shoelace/assets/icons/file-earmark-lock2.svg +0 -4
  2036. package/shoelace/assets/icons/file-earmark-medical-fill.svg +0 -3
  2037. package/shoelace/assets/icons/file-earmark-medical.svg +0 -4
  2038. package/shoelace/assets/icons/file-earmark-minus-fill.svg +0 -3
  2039. package/shoelace/assets/icons/file-earmark-minus.svg +0 -4
  2040. package/shoelace/assets/icons/file-earmark-music-fill.svg +0 -3
  2041. package/shoelace/assets/icons/file-earmark-music.svg +0 -4
  2042. package/shoelace/assets/icons/file-earmark-person-fill.svg +0 -3
  2043. package/shoelace/assets/icons/file-earmark-person.svg +0 -4
  2044. package/shoelace/assets/icons/file-earmark-play-fill.svg +0 -3
  2045. package/shoelace/assets/icons/file-earmark-play.svg +0 -4
  2046. package/shoelace/assets/icons/file-earmark-plus-fill.svg +0 -3
  2047. package/shoelace/assets/icons/file-earmark-plus.svg +0 -4
  2048. package/shoelace/assets/icons/file-earmark-post-fill.svg +0 -3
  2049. package/shoelace/assets/icons/file-earmark-post.svg +0 -4
  2050. package/shoelace/assets/icons/file-earmark-ppt-fill.svg +0 -4
  2051. package/shoelace/assets/icons/file-earmark-ppt.svg +0 -4
  2052. package/shoelace/assets/icons/file-earmark-richtext-fill.svg +0 -3
  2053. package/shoelace/assets/icons/file-earmark-richtext.svg +0 -4
  2054. package/shoelace/assets/icons/file-earmark-ruled-fill.svg +0 -3
  2055. package/shoelace/assets/icons/file-earmark-ruled.svg +0 -3
  2056. package/shoelace/assets/icons/file-earmark-slides-fill.svg +0 -4
  2057. package/shoelace/assets/icons/file-earmark-slides.svg +0 -5
  2058. package/shoelace/assets/icons/file-earmark-spreadsheet-fill.svg +0 -4
  2059. package/shoelace/assets/icons/file-earmark-spreadsheet.svg +0 -3
  2060. package/shoelace/assets/icons/file-earmark-text-fill.svg +0 -3
  2061. package/shoelace/assets/icons/file-earmark-text.svg +0 -4
  2062. package/shoelace/assets/icons/file-earmark-word-fill.svg +0 -3
  2063. package/shoelace/assets/icons/file-earmark-word.svg +0 -4
  2064. package/shoelace/assets/icons/file-earmark-x-fill.svg +0 -3
  2065. package/shoelace/assets/icons/file-earmark-x.svg +0 -4
  2066. package/shoelace/assets/icons/file-earmark-zip-fill.svg +0 -4
  2067. package/shoelace/assets/icons/file-earmark-zip.svg +0 -4
  2068. package/shoelace/assets/icons/file-earmark.svg +0 -3
  2069. package/shoelace/assets/icons/file-easel-fill.svg +0 -4
  2070. package/shoelace/assets/icons/file-easel.svg +0 -4
  2071. package/shoelace/assets/icons/file-excel-fill.svg +0 -3
  2072. package/shoelace/assets/icons/file-excel.svg +0 -4
  2073. package/shoelace/assets/icons/file-fill.svg +0 -3
  2074. package/shoelace/assets/icons/file-font-fill.svg +0 -3
  2075. package/shoelace/assets/icons/file-font.svg +0 -4
  2076. package/shoelace/assets/icons/file-image-fill.svg +0 -4
  2077. package/shoelace/assets/icons/file-image.svg +0 -4
  2078. package/shoelace/assets/icons/file-lock-fill.svg +0 -4
  2079. package/shoelace/assets/icons/file-lock.svg +0 -4
  2080. package/shoelace/assets/icons/file-lock2-fill.svg +0 -4
  2081. package/shoelace/assets/icons/file-lock2.svg +0 -4
  2082. package/shoelace/assets/icons/file-medical-fill.svg +0 -3
  2083. package/shoelace/assets/icons/file-medical.svg +0 -4
  2084. package/shoelace/assets/icons/file-minus-fill.svg +0 -3
  2085. package/shoelace/assets/icons/file-minus.svg +0 -4
  2086. package/shoelace/assets/icons/file-music-fill.svg +0 -3
  2087. package/shoelace/assets/icons/file-music.svg +0 -4
  2088. package/shoelace/assets/icons/file-person-fill.svg +0 -3
  2089. package/shoelace/assets/icons/file-person.svg +0 -4
  2090. package/shoelace/assets/icons/file-play-fill.svg +0 -3
  2091. package/shoelace/assets/icons/file-play.svg +0 -4
  2092. package/shoelace/assets/icons/file-plus-fill.svg +0 -3
  2093. package/shoelace/assets/icons/file-plus.svg +0 -4
  2094. package/shoelace/assets/icons/file-post-fill.svg +0 -3
  2095. package/shoelace/assets/icons/file-post.svg +0 -4
  2096. package/shoelace/assets/icons/file-ppt-fill.svg +0 -4
  2097. package/shoelace/assets/icons/file-ppt.svg +0 -4
  2098. package/shoelace/assets/icons/file-richtext-fill.svg +0 -3
  2099. package/shoelace/assets/icons/file-richtext.svg +0 -4
  2100. package/shoelace/assets/icons/file-ruled-fill.svg +0 -3
  2101. package/shoelace/assets/icons/file-ruled.svg +0 -3
  2102. package/shoelace/assets/icons/file-slides-fill.svg +0 -4
  2103. package/shoelace/assets/icons/file-slides.svg +0 -4
  2104. package/shoelace/assets/icons/file-spreadsheet-fill.svg +0 -3
  2105. package/shoelace/assets/icons/file-spreadsheet.svg +0 -3
  2106. package/shoelace/assets/icons/file-text-fill.svg +0 -3
  2107. package/shoelace/assets/icons/file-text.svg +0 -4
  2108. package/shoelace/assets/icons/file-word-fill.svg +0 -3
  2109. package/shoelace/assets/icons/file-word.svg +0 -4
  2110. package/shoelace/assets/icons/file-x-fill.svg +0 -3
  2111. package/shoelace/assets/icons/file-x.svg +0 -4
  2112. package/shoelace/assets/icons/file-zip-fill.svg +0 -4
  2113. package/shoelace/assets/icons/file-zip.svg +0 -4
  2114. package/shoelace/assets/icons/file.svg +0 -3
  2115. package/shoelace/assets/icons/files-alt.svg +0 -3
  2116. package/shoelace/assets/icons/files.svg +0 -3
  2117. package/shoelace/assets/icons/film.svg +0 -3
  2118. package/shoelace/assets/icons/filter-circle-fill.svg +0 -3
  2119. package/shoelace/assets/icons/filter-circle.svg +0 -4
  2120. package/shoelace/assets/icons/filter-left.svg +0 -3
  2121. package/shoelace/assets/icons/filter-right.svg +0 -3
  2122. package/shoelace/assets/icons/filter-square-fill.svg +0 -3
  2123. package/shoelace/assets/icons/filter-square.svg +0 -4
  2124. package/shoelace/assets/icons/filter.svg +0 -3
  2125. package/shoelace/assets/icons/flag-fill.svg +0 -3
  2126. package/shoelace/assets/icons/flag.svg +0 -3
  2127. package/shoelace/assets/icons/flower1.svg +0 -3
  2128. package/shoelace/assets/icons/flower2.svg +0 -3
  2129. package/shoelace/assets/icons/flower3.svg +0 -3
  2130. package/shoelace/assets/icons/folder-check.svg +0 -4
  2131. package/shoelace/assets/icons/folder-fill.svg +0 -3
  2132. package/shoelace/assets/icons/folder-minus.svg +0 -4
  2133. package/shoelace/assets/icons/folder-plus.svg +0 -4
  2134. package/shoelace/assets/icons/folder-symlink-fill.svg +0 -3
  2135. package/shoelace/assets/icons/folder-symlink.svg +0 -4
  2136. package/shoelace/assets/icons/folder-x.svg +0 -4
  2137. package/shoelace/assets/icons/folder.svg +0 -3
  2138. package/shoelace/assets/icons/folder2-open.svg +0 -3
  2139. package/shoelace/assets/icons/folder2.svg +0 -3
  2140. package/shoelace/assets/icons/fonts.svg +0 -3
  2141. package/shoelace/assets/icons/forward-fill.svg +0 -3
  2142. package/shoelace/assets/icons/forward.svg +0 -3
  2143. package/shoelace/assets/icons/front.svg +0 -3
  2144. package/shoelace/assets/icons/fullscreen-exit.svg +0 -3
  2145. package/shoelace/assets/icons/fullscreen.svg +0 -3
  2146. package/shoelace/assets/icons/funnel-fill.svg +0 -3
  2147. package/shoelace/assets/icons/funnel.svg +0 -3
  2148. package/shoelace/assets/icons/gear-fill.svg +0 -3
  2149. package/shoelace/assets/icons/gear-wide-connected.svg +0 -3
  2150. package/shoelace/assets/icons/gear-wide.svg +0 -3
  2151. package/shoelace/assets/icons/gear.svg +0 -4
  2152. package/shoelace/assets/icons/gem.svg +0 -3
  2153. package/shoelace/assets/icons/geo-alt-fill.svg +0 -3
  2154. package/shoelace/assets/icons/geo-alt.svg +0 -4
  2155. package/shoelace/assets/icons/geo-fill.svg +0 -3
  2156. package/shoelace/assets/icons/geo.svg +0 -3
  2157. package/shoelace/assets/icons/gift-fill.svg +0 -3
  2158. package/shoelace/assets/icons/gift.svg +0 -3
  2159. package/shoelace/assets/icons/github.svg +0 -3
  2160. package/shoelace/assets/icons/globe.svg +0 -3
  2161. package/shoelace/assets/icons/globe2.svg +0 -3
  2162. package/shoelace/assets/icons/google.svg +0 -3
  2163. package/shoelace/assets/icons/graph-down.svg +0 -3
  2164. package/shoelace/assets/icons/graph-up.svg +0 -3
  2165. package/shoelace/assets/icons/grid-1x2-fill.svg +0 -3
  2166. package/shoelace/assets/icons/grid-1x2.svg +0 -3
  2167. package/shoelace/assets/icons/grid-3x2-gap-fill.svg +0 -3
  2168. package/shoelace/assets/icons/grid-3x2-gap.svg +0 -3
  2169. package/shoelace/assets/icons/grid-3x2.svg +0 -3
  2170. package/shoelace/assets/icons/grid-3x3-gap-fill.svg +0 -3
  2171. package/shoelace/assets/icons/grid-3x3-gap.svg +0 -3
  2172. package/shoelace/assets/icons/grid-3x3.svg +0 -3
  2173. package/shoelace/assets/icons/grid-fill.svg +0 -3
  2174. package/shoelace/assets/icons/grid.svg +0 -3
  2175. package/shoelace/assets/icons/grip-horizontal.svg +0 -3
  2176. package/shoelace/assets/icons/grip-vertical.svg +0 -3
  2177. package/shoelace/assets/icons/hammer.svg +0 -3
  2178. package/shoelace/assets/icons/hand-index-fill.svg +0 -3
  2179. package/shoelace/assets/icons/hand-index-thumb-fill.svg +0 -3
  2180. package/shoelace/assets/icons/hand-index-thumb.svg +0 -3
  2181. package/shoelace/assets/icons/hand-index.svg +0 -3
  2182. package/shoelace/assets/icons/hand-thumbs-down-fill.svg +0 -3
  2183. package/shoelace/assets/icons/hand-thumbs-down.svg +0 -3
  2184. package/shoelace/assets/icons/hand-thumbs-up-fill.svg +0 -3
  2185. package/shoelace/assets/icons/hand-thumbs-up.svg +0 -3
  2186. package/shoelace/assets/icons/handbag-fill.svg +0 -3
  2187. package/shoelace/assets/icons/handbag.svg +0 -3
  2188. package/shoelace/assets/icons/hash.svg +0 -3
  2189. package/shoelace/assets/icons/hdd-fill.svg +0 -3
  2190. package/shoelace/assets/icons/hdd-network-fill.svg +0 -3
  2191. package/shoelace/assets/icons/hdd-network.svg +0 -4
  2192. package/shoelace/assets/icons/hdd-rack-fill.svg +0 -3
  2193. package/shoelace/assets/icons/hdd-rack.svg +0 -4
  2194. package/shoelace/assets/icons/hdd-stack-fill.svg +0 -3
  2195. package/shoelace/assets/icons/hdd-stack.svg +0 -5
  2196. package/shoelace/assets/icons/hdd.svg +0 -4
  2197. package/shoelace/assets/icons/headphones.svg +0 -3
  2198. package/shoelace/assets/icons/headset.svg +0 -3
  2199. package/shoelace/assets/icons/heart-fill.svg +0 -3
  2200. package/shoelace/assets/icons/heart-half.svg +0 -3
  2201. package/shoelace/assets/icons/heart.svg +0 -3
  2202. package/shoelace/assets/icons/heptagon-fill.svg +0 -3
  2203. package/shoelace/assets/icons/heptagon-half.svg +0 -3
  2204. package/shoelace/assets/icons/heptagon.svg +0 -3
  2205. package/shoelace/assets/icons/hexagon-fill.svg +0 -3
  2206. package/shoelace/assets/icons/hexagon-half.svg +0 -3
  2207. package/shoelace/assets/icons/hexagon.svg +0 -3
  2208. package/shoelace/assets/icons/hourglass-bottom.svg +0 -3
  2209. package/shoelace/assets/icons/hourglass-split.svg +0 -3
  2210. package/shoelace/assets/icons/hourglass-top.svg +0 -3
  2211. package/shoelace/assets/icons/hourglass.svg +0 -3
  2212. package/shoelace/assets/icons/house-door-fill.svg +0 -3
  2213. package/shoelace/assets/icons/house-door.svg +0 -3
  2214. package/shoelace/assets/icons/house-fill.svg +0 -4
  2215. package/shoelace/assets/icons/house.svg +0 -4
  2216. package/shoelace/assets/icons/hr.svg +0 -3
  2217. package/shoelace/assets/icons/hurricane.svg +0 -3
  2218. package/shoelace/assets/icons/icons.json +0 -15666
  2219. package/shoelace/assets/icons/image-alt.svg +0 -3
  2220. package/shoelace/assets/icons/image-fill.svg +0 -3
  2221. package/shoelace/assets/icons/image.svg +0 -4
  2222. package/shoelace/assets/icons/images.svg +0 -4
  2223. package/shoelace/assets/icons/inbox-fill.svg +0 -3
  2224. package/shoelace/assets/icons/inbox.svg +0 -3
  2225. package/shoelace/assets/icons/inboxes-fill.svg +0 -3
  2226. package/shoelace/assets/icons/inboxes.svg +0 -3
  2227. package/shoelace/assets/icons/info-circle-fill.svg +0 -3
  2228. package/shoelace/assets/icons/info-circle.svg +0 -4
  2229. package/shoelace/assets/icons/info-square-fill.svg +0 -3
  2230. package/shoelace/assets/icons/info-square.svg +0 -4
  2231. package/shoelace/assets/icons/info.svg +0 -3
  2232. package/shoelace/assets/icons/input-cursor-text.svg +0 -4
  2233. package/shoelace/assets/icons/input-cursor.svg +0 -4
  2234. package/shoelace/assets/icons/instagram.svg +0 -3
  2235. package/shoelace/assets/icons/intersect.svg +0 -3
  2236. package/shoelace/assets/icons/journal-album.svg +0 -5
  2237. package/shoelace/assets/icons/journal-arrow-down.svg +0 -5
  2238. package/shoelace/assets/icons/journal-arrow-up.svg +0 -5
  2239. package/shoelace/assets/icons/journal-bookmark-fill.svg +0 -5
  2240. package/shoelace/assets/icons/journal-bookmark.svg +0 -5
  2241. package/shoelace/assets/icons/journal-check.svg +0 -5
  2242. package/shoelace/assets/icons/journal-code.svg +0 -5
  2243. package/shoelace/assets/icons/journal-medical.svg +0 -5
  2244. package/shoelace/assets/icons/journal-minus.svg +0 -5
  2245. package/shoelace/assets/icons/journal-plus.svg +0 -5
  2246. package/shoelace/assets/icons/journal-richtext.svg +0 -5
  2247. package/shoelace/assets/icons/journal-text.svg +0 -5
  2248. package/shoelace/assets/icons/journal-x.svg +0 -5
  2249. package/shoelace/assets/icons/journal.svg +0 -4
  2250. package/shoelace/assets/icons/journals.svg +0 -4
  2251. package/shoelace/assets/icons/joystick.svg +0 -4
  2252. package/shoelace/assets/icons/justify-left.svg +0 -3
  2253. package/shoelace/assets/icons/justify-right.svg +0 -3
  2254. package/shoelace/assets/icons/justify.svg +0 -3
  2255. package/shoelace/assets/icons/kanban-fill.svg +0 -3
  2256. package/shoelace/assets/icons/kanban.svg +0 -4
  2257. package/shoelace/assets/icons/key-fill.svg +0 -3
  2258. package/shoelace/assets/icons/key.svg +0 -4
  2259. package/shoelace/assets/icons/keyboard-fill.svg +0 -3
  2260. package/shoelace/assets/icons/keyboard.svg +0 -4
  2261. package/shoelace/assets/icons/ladder.svg +0 -3
  2262. package/shoelace/assets/icons/lamp-fill.svg +0 -3
  2263. package/shoelace/assets/icons/lamp.svg +0 -3
  2264. package/shoelace/assets/icons/laptop-fill.svg +0 -3
  2265. package/shoelace/assets/icons/laptop.svg +0 -3
  2266. package/shoelace/assets/icons/layer-backward.svg +0 -4
  2267. package/shoelace/assets/icons/layer-forward.svg +0 -4
  2268. package/shoelace/assets/icons/layers-fill.svg +0 -4
  2269. package/shoelace/assets/icons/layers-half.svg +0 -3
  2270. package/shoelace/assets/icons/layers.svg +0 -3
  2271. package/shoelace/assets/icons/layout-sidebar-inset-reverse.svg +0 -4
  2272. package/shoelace/assets/icons/layout-sidebar-inset.svg +0 -4
  2273. package/shoelace/assets/icons/layout-sidebar-reverse.svg +0 -3
  2274. package/shoelace/assets/icons/layout-sidebar.svg +0 -3
  2275. package/shoelace/assets/icons/layout-split.svg +0 -3
  2276. package/shoelace/assets/icons/layout-text-sidebar-reverse.svg +0 -4
  2277. package/shoelace/assets/icons/layout-text-sidebar.svg +0 -4
  2278. package/shoelace/assets/icons/layout-text-window-reverse.svg +0 -4
  2279. package/shoelace/assets/icons/layout-text-window.svg +0 -4
  2280. package/shoelace/assets/icons/layout-three-columns.svg +0 -3
  2281. package/shoelace/assets/icons/layout-wtf.svg +0 -3
  2282. package/shoelace/assets/icons/life-preserver.svg +0 -3
  2283. package/shoelace/assets/icons/lightbulb-fill.svg +0 -3
  2284. package/shoelace/assets/icons/lightbulb-off-fill.svg +0 -3
  2285. package/shoelace/assets/icons/lightbulb-off.svg +0 -3
  2286. package/shoelace/assets/icons/lightbulb.svg +0 -3
  2287. package/shoelace/assets/icons/lightning-charge-fill.svg +0 -3
  2288. package/shoelace/assets/icons/lightning-charge.svg +0 -3
  2289. package/shoelace/assets/icons/lightning-fill.svg +0 -3
  2290. package/shoelace/assets/icons/lightning.svg +0 -3
  2291. package/shoelace/assets/icons/link-45deg.svg +0 -4
  2292. package/shoelace/assets/icons/link.svg +0 -4
  2293. package/shoelace/assets/icons/linkedin.svg +0 -3
  2294. package/shoelace/assets/icons/list-check.svg +0 -3
  2295. package/shoelace/assets/icons/list-nested.svg +0 -3
  2296. package/shoelace/assets/icons/list-ol.svg +0 -4
  2297. package/shoelace/assets/icons/list-stars.svg +0 -4
  2298. package/shoelace/assets/icons/list-task.svg +0 -5
  2299. package/shoelace/assets/icons/list-ul.svg +0 -3
  2300. package/shoelace/assets/icons/list.svg +0 -3
  2301. package/shoelace/assets/icons/lock-fill.svg +0 -3
  2302. package/shoelace/assets/icons/lock.svg +0 -3
  2303. package/shoelace/assets/icons/mailbox.svg +0 -4
  2304. package/shoelace/assets/icons/mailbox2.svg +0 -4
  2305. package/shoelace/assets/icons/map-fill.svg +0 -3
  2306. package/shoelace/assets/icons/map.svg +0 -3
  2307. package/shoelace/assets/icons/markdown-fill.svg +0 -3
  2308. package/shoelace/assets/icons/markdown.svg +0 -6
  2309. package/shoelace/assets/icons/mask.svg +0 -3
  2310. package/shoelace/assets/icons/megaphone-fill.svg +0 -3
  2311. package/shoelace/assets/icons/megaphone.svg +0 -3
  2312. package/shoelace/assets/icons/menu-app-fill.svg +0 -3
  2313. package/shoelace/assets/icons/menu-app.svg +0 -3
  2314. package/shoelace/assets/icons/menu-button-fill.svg +0 -3
  2315. package/shoelace/assets/icons/menu-button-wide-fill.svg +0 -3
  2316. package/shoelace/assets/icons/menu-button-wide.svg +0 -4
  2317. package/shoelace/assets/icons/menu-button.svg +0 -4
  2318. package/shoelace/assets/icons/menu-down.svg +0 -3
  2319. package/shoelace/assets/icons/menu-up.svg +0 -3
  2320. package/shoelace/assets/icons/mic-fill.svg +0 -4
  2321. package/shoelace/assets/icons/mic-mute-fill.svg +0 -3
  2322. package/shoelace/assets/icons/mic-mute.svg +0 -3
  2323. package/shoelace/assets/icons/mic.svg +0 -4
  2324. package/shoelace/assets/icons/minecart-loaded.svg +0 -4
  2325. package/shoelace/assets/icons/minecart.svg +0 -3
  2326. package/shoelace/assets/icons/moisture.svg +0 -3
  2327. package/shoelace/assets/icons/moon-fill.svg +0 -3
  2328. package/shoelace/assets/icons/moon-stars-fill.svg +0 -4
  2329. package/shoelace/assets/icons/moon-stars.svg +0 -4
  2330. package/shoelace/assets/icons/moon.svg +0 -3
  2331. package/shoelace/assets/icons/mouse-fill.svg +0 -3
  2332. package/shoelace/assets/icons/mouse.svg +0 -3
  2333. package/shoelace/assets/icons/mouse2-fill.svg +0 -3
  2334. package/shoelace/assets/icons/mouse2.svg +0 -3
  2335. package/shoelace/assets/icons/mouse3-fill.svg +0 -3
  2336. package/shoelace/assets/icons/mouse3.svg +0 -3
  2337. package/shoelace/assets/icons/music-note-beamed.svg +0 -5
  2338. package/shoelace/assets/icons/music-note-list.svg +0 -6
  2339. package/shoelace/assets/icons/music-note.svg +0 -5
  2340. package/shoelace/assets/icons/music-player-fill.svg +0 -4
  2341. package/shoelace/assets/icons/music-player.svg +0 -5
  2342. package/shoelace/assets/icons/newspaper.svg +0 -4
  2343. package/shoelace/assets/icons/node-minus-fill.svg +0 -3
  2344. package/shoelace/assets/icons/node-minus.svg +0 -3
  2345. package/shoelace/assets/icons/node-plus-fill.svg +0 -3
  2346. package/shoelace/assets/icons/node-plus.svg +0 -3
  2347. package/shoelace/assets/icons/nut-fill.svg +0 -3
  2348. package/shoelace/assets/icons/nut.svg +0 -4
  2349. package/shoelace/assets/icons/octagon-fill.svg +0 -3
  2350. package/shoelace/assets/icons/octagon-half.svg +0 -3
  2351. package/shoelace/assets/icons/octagon.svg +0 -3
  2352. package/shoelace/assets/icons/option.svg +0 -3
  2353. package/shoelace/assets/icons/outlet.svg +0 -4
  2354. package/shoelace/assets/icons/paint-bucket.svg +0 -3
  2355. package/shoelace/assets/icons/palette-fill.svg +0 -3
  2356. package/shoelace/assets/icons/palette.svg +0 -4
  2357. package/shoelace/assets/icons/palette2.svg +0 -4
  2358. package/shoelace/assets/icons/paperclip.svg +0 -3
  2359. package/shoelace/assets/icons/paragraph.svg +0 -3
  2360. package/shoelace/assets/icons/patch-check-fill.svg +0 -3
  2361. package/shoelace/assets/icons/patch-check.svg +0 -4
  2362. package/shoelace/assets/icons/patch-exclamation-fill.svg +0 -3
  2363. package/shoelace/assets/icons/patch-exclamation.svg +0 -4
  2364. package/shoelace/assets/icons/patch-minus-fill.svg +0 -3
  2365. package/shoelace/assets/icons/patch-minus.svg +0 -4
  2366. package/shoelace/assets/icons/patch-plus-fill.svg +0 -3
  2367. package/shoelace/assets/icons/patch-plus.svg +0 -4
  2368. package/shoelace/assets/icons/patch-question-fill.svg +0 -3
  2369. package/shoelace/assets/icons/patch-question.svg +0 -5
  2370. package/shoelace/assets/icons/pause-btn-fill.svg +0 -3
  2371. package/shoelace/assets/icons/pause-btn.svg +0 -4
  2372. package/shoelace/assets/icons/pause-circle-fill.svg +0 -3
  2373. package/shoelace/assets/icons/pause-circle.svg +0 -4
  2374. package/shoelace/assets/icons/pause-fill.svg +0 -3
  2375. package/shoelace/assets/icons/pause.svg +0 -3
  2376. package/shoelace/assets/icons/peace-fill.svg +0 -3
  2377. package/shoelace/assets/icons/peace.svg +0 -3
  2378. package/shoelace/assets/icons/pen-fill.svg +0 -3
  2379. package/shoelace/assets/icons/pen.svg +0 -3
  2380. package/shoelace/assets/icons/pencil-fill.svg +0 -3
  2381. package/shoelace/assets/icons/pencil-square.svg +0 -4
  2382. package/shoelace/assets/icons/pencil.svg +0 -3
  2383. package/shoelace/assets/icons/pentagon-fill.svg +0 -3
  2384. package/shoelace/assets/icons/pentagon-half.svg +0 -3
  2385. package/shoelace/assets/icons/pentagon.svg +0 -3
  2386. package/shoelace/assets/icons/people-fill.svg +0 -5
  2387. package/shoelace/assets/icons/people.svg +0 -3
  2388. package/shoelace/assets/icons/percent.svg +0 -3
  2389. package/shoelace/assets/icons/person-badge-fill.svg +0 -3
  2390. package/shoelace/assets/icons/person-badge.svg +0 -4
  2391. package/shoelace/assets/icons/person-bounding-box.svg +0 -4
  2392. package/shoelace/assets/icons/person-check-fill.svg +0 -4
  2393. package/shoelace/assets/icons/person-check.svg +0 -4
  2394. package/shoelace/assets/icons/person-circle.svg +0 -4
  2395. package/shoelace/assets/icons/person-dash-fill.svg +0 -4
  2396. package/shoelace/assets/icons/person-dash.svg +0 -4
  2397. package/shoelace/assets/icons/person-fill.svg +0 -3
  2398. package/shoelace/assets/icons/person-lines-fill.svg +0 -3
  2399. package/shoelace/assets/icons/person-plus-fill.svg +0 -4
  2400. package/shoelace/assets/icons/person-plus.svg +0 -4
  2401. package/shoelace/assets/icons/person-square.svg +0 -4
  2402. package/shoelace/assets/icons/person-x-fill.svg +0 -3
  2403. package/shoelace/assets/icons/person-x.svg +0 -4
  2404. package/shoelace/assets/icons/person.svg +0 -3
  2405. package/shoelace/assets/icons/phone-fill.svg +0 -3
  2406. package/shoelace/assets/icons/phone-landscape-fill.svg +0 -3
  2407. package/shoelace/assets/icons/phone-landscape.svg +0 -4
  2408. package/shoelace/assets/icons/phone-vibrate-fill.svg +0 -3
  2409. package/shoelace/assets/icons/phone-vibrate.svg +0 -4
  2410. package/shoelace/assets/icons/phone.svg +0 -4
  2411. package/shoelace/assets/icons/pie-chart-fill.svg +0 -3
  2412. package/shoelace/assets/icons/pie-chart.svg +0 -3
  2413. package/shoelace/assets/icons/pin-angle-fill.svg +0 -3
  2414. package/shoelace/assets/icons/pin-angle.svg +0 -3
  2415. package/shoelace/assets/icons/pin-fill.svg +0 -3
  2416. package/shoelace/assets/icons/pin.svg +0 -3
  2417. package/shoelace/assets/icons/pip-fill.svg +0 -3
  2418. package/shoelace/assets/icons/pip.svg +0 -4
  2419. package/shoelace/assets/icons/play-btn-fill.svg +0 -3
  2420. package/shoelace/assets/icons/play-btn.svg +0 -4
  2421. package/shoelace/assets/icons/play-circle-fill.svg +0 -3
  2422. package/shoelace/assets/icons/play-circle.svg +0 -4
  2423. package/shoelace/assets/icons/play-fill.svg +0 -3
  2424. package/shoelace/assets/icons/play.svg +0 -3
  2425. package/shoelace/assets/icons/plug-fill.svg +0 -3
  2426. package/shoelace/assets/icons/plug.svg +0 -3
  2427. package/shoelace/assets/icons/plus-circle-dotted.svg +0 -3
  2428. package/shoelace/assets/icons/plus-circle-fill.svg +0 -3
  2429. package/shoelace/assets/icons/plus-circle.svg +0 -4
  2430. package/shoelace/assets/icons/plus-square-dotted.svg +0 -3
  2431. package/shoelace/assets/icons/plus-square-fill.svg +0 -3
  2432. package/shoelace/assets/icons/plus-square.svg +0 -4
  2433. package/shoelace/assets/icons/plus.svg +0 -3
  2434. package/shoelace/assets/icons/power.svg +0 -4
  2435. package/shoelace/assets/icons/printer-fill.svg +0 -4
  2436. package/shoelace/assets/icons/printer.svg +0 -4
  2437. package/shoelace/assets/icons/puzzle-fill.svg +0 -3
  2438. package/shoelace/assets/icons/puzzle.svg +0 -3
  2439. package/shoelace/assets/icons/question-circle-fill.svg +0 -3
  2440. package/shoelace/assets/icons/question-circle.svg +0 -4
  2441. package/shoelace/assets/icons/question-diamond-fill.svg +0 -3
  2442. package/shoelace/assets/icons/question-diamond.svg +0 -4
  2443. package/shoelace/assets/icons/question-octagon-fill.svg +0 -3
  2444. package/shoelace/assets/icons/question-octagon.svg +0 -4
  2445. package/shoelace/assets/icons/question-square-fill.svg +0 -3
  2446. package/shoelace/assets/icons/question-square.svg +0 -4
  2447. package/shoelace/assets/icons/question.svg +0 -3
  2448. package/shoelace/assets/icons/rainbow.svg +0 -3
  2449. package/shoelace/assets/icons/receipt-cutoff.svg +0 -4
  2450. package/shoelace/assets/icons/receipt.svg +0 -4
  2451. package/shoelace/assets/icons/reception-0.svg +0 -3
  2452. package/shoelace/assets/icons/reception-1.svg +0 -3
  2453. package/shoelace/assets/icons/reception-2.svg +0 -3
  2454. package/shoelace/assets/icons/reception-3.svg +0 -3
  2455. package/shoelace/assets/icons/reception-4.svg +0 -3
  2456. package/shoelace/assets/icons/record-btn-fill.svg +0 -3
  2457. package/shoelace/assets/icons/record-btn.svg +0 -4
  2458. package/shoelace/assets/icons/record-circle-fill.svg +0 -3
  2459. package/shoelace/assets/icons/record-circle.svg +0 -4
  2460. package/shoelace/assets/icons/record-fill.svg +0 -3
  2461. package/shoelace/assets/icons/record.svg +0 -3
  2462. package/shoelace/assets/icons/record2-fill.svg +0 -4
  2463. package/shoelace/assets/icons/record2.svg +0 -4
  2464. package/shoelace/assets/icons/reply-all-fill.svg +0 -4
  2465. package/shoelace/assets/icons/reply-all.svg +0 -4
  2466. package/shoelace/assets/icons/reply-fill.svg +0 -3
  2467. package/shoelace/assets/icons/reply.svg +0 -3
  2468. package/shoelace/assets/icons/rss-fill.svg +0 -3
  2469. package/shoelace/assets/icons/rss.svg +0 -4
  2470. package/shoelace/assets/icons/rulers.svg +0 -3
  2471. package/shoelace/assets/icons/save-fill.svg +0 -3
  2472. package/shoelace/assets/icons/save.svg +0 -3
  2473. package/shoelace/assets/icons/save2-fill.svg +0 -3
  2474. package/shoelace/assets/icons/save2.svg +0 -3
  2475. package/shoelace/assets/icons/scissors.svg +0 -3
  2476. package/shoelace/assets/icons/screwdriver.svg +0 -3
  2477. package/shoelace/assets/icons/search.svg +0 -3
  2478. package/shoelace/assets/icons/segmented-nav.svg +0 -3
  2479. package/shoelace/assets/icons/server.svg +0 -5
  2480. package/shoelace/assets/icons/share-fill.svg +0 -3
  2481. package/shoelace/assets/icons/share.svg +0 -3
  2482. package/shoelace/assets/icons/shield-check.svg +0 -4
  2483. package/shoelace/assets/icons/shield-exclamation.svg +0 -4
  2484. package/shoelace/assets/icons/shield-fill-check.svg +0 -3
  2485. package/shoelace/assets/icons/shield-fill-exclamation.svg +0 -3
  2486. package/shoelace/assets/icons/shield-fill-minus.svg +0 -3
  2487. package/shoelace/assets/icons/shield-fill-plus.svg +0 -3
  2488. package/shoelace/assets/icons/shield-fill-x.svg +0 -3
  2489. package/shoelace/assets/icons/shield-fill.svg +0 -3
  2490. package/shoelace/assets/icons/shield-lock-fill.svg +0 -3
  2491. package/shoelace/assets/icons/shield-lock.svg +0 -4
  2492. package/shoelace/assets/icons/shield-minus.svg +0 -4
  2493. package/shoelace/assets/icons/shield-plus.svg +0 -4
  2494. package/shoelace/assets/icons/shield-shaded.svg +0 -3
  2495. package/shoelace/assets/icons/shield-slash-fill.svg +0 -3
  2496. package/shoelace/assets/icons/shield-slash.svg +0 -3
  2497. package/shoelace/assets/icons/shield-x.svg +0 -4
  2498. package/shoelace/assets/icons/shield.svg +0 -3
  2499. package/shoelace/assets/icons/shift-fill.svg +0 -3
  2500. package/shoelace/assets/icons/shift.svg +0 -3
  2501. package/shoelace/assets/icons/shop-window.svg +0 -3
  2502. package/shoelace/assets/icons/shop.svg +0 -3
  2503. package/shoelace/assets/icons/shuffle.svg +0 -4
  2504. package/shoelace/assets/icons/signpost-2-fill.svg +0 -3
  2505. package/shoelace/assets/icons/signpost-2.svg +0 -3
  2506. package/shoelace/assets/icons/signpost-fill.svg +0 -3
  2507. package/shoelace/assets/icons/signpost-split-fill.svg +0 -3
  2508. package/shoelace/assets/icons/signpost-split.svg +0 -3
  2509. package/shoelace/assets/icons/signpost.svg +0 -3
  2510. package/shoelace/assets/icons/sim-fill.svg +0 -4
  2511. package/shoelace/assets/icons/sim.svg +0 -4
  2512. package/shoelace/assets/icons/skip-backward-btn-fill.svg +0 -3
  2513. package/shoelace/assets/icons/skip-backward-btn.svg +0 -4
  2514. package/shoelace/assets/icons/skip-backward-circle-fill.svg +0 -3
  2515. package/shoelace/assets/icons/skip-backward-circle.svg +0 -4
  2516. package/shoelace/assets/icons/skip-backward-fill.svg +0 -3
  2517. package/shoelace/assets/icons/skip-backward.svg +0 -3
  2518. package/shoelace/assets/icons/skip-end-btn-fill.svg +0 -3
  2519. package/shoelace/assets/icons/skip-end-btn.svg +0 -4
  2520. package/shoelace/assets/icons/skip-end-circle-fill.svg +0 -3
  2521. package/shoelace/assets/icons/skip-end-circle.svg +0 -4
  2522. package/shoelace/assets/icons/skip-end-fill.svg +0 -3
  2523. package/shoelace/assets/icons/skip-end.svg +0 -3
  2524. package/shoelace/assets/icons/skip-forward-btn-fill.svg +0 -3
  2525. package/shoelace/assets/icons/skip-forward-btn.svg +0 -4
  2526. package/shoelace/assets/icons/skip-forward-circle-fill.svg +0 -3
  2527. package/shoelace/assets/icons/skip-forward-circle.svg +0 -4
  2528. package/shoelace/assets/icons/skip-forward-fill.svg +0 -3
  2529. package/shoelace/assets/icons/skip-forward.svg +0 -3
  2530. package/shoelace/assets/icons/skip-start-btn-fill.svg +0 -3
  2531. package/shoelace/assets/icons/skip-start-btn.svg +0 -4
  2532. package/shoelace/assets/icons/skip-start-circle-fill.svg +0 -3
  2533. package/shoelace/assets/icons/skip-start-circle.svg +0 -4
  2534. package/shoelace/assets/icons/skip-start-fill.svg +0 -3
  2535. package/shoelace/assets/icons/skip-start.svg +0 -3
  2536. package/shoelace/assets/icons/slack.svg +0 -3
  2537. package/shoelace/assets/icons/slash-circle-fill.svg +0 -3
  2538. package/shoelace/assets/icons/slash-circle.svg +0 -4
  2539. package/shoelace/assets/icons/slash-square-fill.svg +0 -3
  2540. package/shoelace/assets/icons/slash-square.svg +0 -4
  2541. package/shoelace/assets/icons/slash.svg +0 -3
  2542. package/shoelace/assets/icons/sliders.svg +0 -3
  2543. package/shoelace/assets/icons/smartwatch.svg +0 -4
  2544. package/shoelace/assets/icons/snow.svg +0 -3
  2545. package/shoelace/assets/icons/snow2.svg +0 -3
  2546. package/shoelace/assets/icons/snow3.svg +0 -4
  2547. package/shoelace/assets/icons/sort-alpha-down-alt.svg +0 -5
  2548. package/shoelace/assets/icons/sort-alpha-down.svg +0 -4
  2549. package/shoelace/assets/icons/sort-alpha-up-alt.svg +0 -5
  2550. package/shoelace/assets/icons/sort-alpha-up.svg +0 -4
  2551. package/shoelace/assets/icons/sort-down-alt.svg +0 -3
  2552. package/shoelace/assets/icons/sort-down.svg +0 -3
  2553. package/shoelace/assets/icons/sort-numeric-down-alt.svg +0 -4
  2554. package/shoelace/assets/icons/sort-numeric-down.svg +0 -5
  2555. package/shoelace/assets/icons/sort-numeric-up-alt.svg +0 -4
  2556. package/shoelace/assets/icons/sort-numeric-up.svg +0 -5
  2557. package/shoelace/assets/icons/sort-up-alt.svg +0 -3
  2558. package/shoelace/assets/icons/sort-up.svg +0 -3
  2559. package/shoelace/assets/icons/soundwave.svg +0 -3
  2560. package/shoelace/assets/icons/speaker-fill.svg +0 -4
  2561. package/shoelace/assets/icons/speaker.svg +0 -4
  2562. package/shoelace/assets/icons/speedometer.svg +0 -4
  2563. package/shoelace/assets/icons/speedometer2.svg +0 -4
  2564. package/shoelace/assets/icons/spellcheck.svg +0 -4
  2565. package/shoelace/assets/icons/square-fill.svg +0 -3
  2566. package/shoelace/assets/icons/square-half.svg +0 -3
  2567. package/shoelace/assets/icons/square.svg +0 -3
  2568. package/shoelace/assets/icons/stack.svg +0 -4
  2569. package/shoelace/assets/icons/star-fill.svg +0 -3
  2570. package/shoelace/assets/icons/star-half.svg +0 -3
  2571. package/shoelace/assets/icons/star.svg +0 -3
  2572. package/shoelace/assets/icons/stars.svg +0 -3
  2573. package/shoelace/assets/icons/stickies-fill.svg +0 -4
  2574. package/shoelace/assets/icons/stickies.svg +0 -4
  2575. package/shoelace/assets/icons/sticky-fill.svg +0 -3
  2576. package/shoelace/assets/icons/sticky.svg +0 -3
  2577. package/shoelace/assets/icons/stop-btn-fill.svg +0 -3
  2578. package/shoelace/assets/icons/stop-btn.svg +0 -4
  2579. package/shoelace/assets/icons/stop-circle-fill.svg +0 -3
  2580. package/shoelace/assets/icons/stop-circle.svg +0 -4
  2581. package/shoelace/assets/icons/stop-fill.svg +0 -3
  2582. package/shoelace/assets/icons/stop.svg +0 -3
  2583. package/shoelace/assets/icons/stoplights-fill.svg +0 -3
  2584. package/shoelace/assets/icons/stoplights.svg +0 -4
  2585. package/shoelace/assets/icons/stopwatch-fill.svg +0 -3
  2586. package/shoelace/assets/icons/stopwatch.svg +0 -4
  2587. package/shoelace/assets/icons/subtract.svg +0 -3
  2588. package/shoelace/assets/icons/suit-club-fill.svg +0 -3
  2589. package/shoelace/assets/icons/suit-club.svg +0 -3
  2590. package/shoelace/assets/icons/suit-diamond-fill.svg +0 -3
  2591. package/shoelace/assets/icons/suit-diamond.svg +0 -3
  2592. package/shoelace/assets/icons/suit-heart-fill.svg +0 -3
  2593. package/shoelace/assets/icons/suit-heart.svg +0 -3
  2594. package/shoelace/assets/icons/suit-spade-fill.svg +0 -3
  2595. package/shoelace/assets/icons/suit-spade.svg +0 -3
  2596. package/shoelace/assets/icons/sun-fill.svg +0 -3
  2597. package/shoelace/assets/icons/sun.svg +0 -3
  2598. package/shoelace/assets/icons/sunglasses.svg +0 -3
  2599. package/shoelace/assets/icons/sunrise-fill.svg +0 -3
  2600. package/shoelace/assets/icons/sunrise.svg +0 -3
  2601. package/shoelace/assets/icons/sunset-fill.svg +0 -3
  2602. package/shoelace/assets/icons/sunset.svg +0 -3
  2603. package/shoelace/assets/icons/symmetry-horizontal.svg +0 -3
  2604. package/shoelace/assets/icons/symmetry-vertical.svg +0 -3
  2605. package/shoelace/assets/icons/table.svg +0 -3
  2606. package/shoelace/assets/icons/tablet-fill.svg +0 -3
  2607. package/shoelace/assets/icons/tablet-landscape-fill.svg +0 -3
  2608. package/shoelace/assets/icons/tablet-landscape.svg +0 -4
  2609. package/shoelace/assets/icons/tablet.svg +0 -4
  2610. package/shoelace/assets/icons/tag-fill.svg +0 -3
  2611. package/shoelace/assets/icons/tag.svg +0 -4
  2612. package/shoelace/assets/icons/tags-fill.svg +0 -4
  2613. package/shoelace/assets/icons/tags.svg +0 -4
  2614. package/shoelace/assets/icons/telegram.svg +0 -3
  2615. package/shoelace/assets/icons/telephone-fill.svg +0 -3
  2616. package/shoelace/assets/icons/telephone-forward-fill.svg +0 -3
  2617. package/shoelace/assets/icons/telephone-forward.svg +0 -3
  2618. package/shoelace/assets/icons/telephone-inbound-fill.svg +0 -3
  2619. package/shoelace/assets/icons/telephone-inbound.svg +0 -3
  2620. package/shoelace/assets/icons/telephone-minus-fill.svg +0 -3
  2621. package/shoelace/assets/icons/telephone-minus.svg +0 -4
  2622. package/shoelace/assets/icons/telephone-outbound-fill.svg +0 -3
  2623. package/shoelace/assets/icons/telephone-outbound.svg +0 -3
  2624. package/shoelace/assets/icons/telephone-plus-fill.svg +0 -3
  2625. package/shoelace/assets/icons/telephone-plus.svg +0 -4
  2626. package/shoelace/assets/icons/telephone-x-fill.svg +0 -3
  2627. package/shoelace/assets/icons/telephone-x.svg +0 -4
  2628. package/shoelace/assets/icons/telephone.svg +0 -3
  2629. package/shoelace/assets/icons/terminal-fill.svg +0 -3
  2630. package/shoelace/assets/icons/terminal.svg +0 -4
  2631. package/shoelace/assets/icons/text-center.svg +0 -3
  2632. package/shoelace/assets/icons/text-indent-left.svg +0 -3
  2633. package/shoelace/assets/icons/text-indent-right.svg +0 -3
  2634. package/shoelace/assets/icons/text-left.svg +0 -3
  2635. package/shoelace/assets/icons/text-paragraph.svg +0 -3
  2636. package/shoelace/assets/icons/text-right.svg +0 -3
  2637. package/shoelace/assets/icons/textarea-resize.svg +0 -3
  2638. package/shoelace/assets/icons/textarea-t.svg +0 -4
  2639. package/shoelace/assets/icons/textarea.svg +0 -3
  2640. package/shoelace/assets/icons/thermometer-half.svg +0 -4
  2641. package/shoelace/assets/icons/thermometer-high.svg +0 -4
  2642. package/shoelace/assets/icons/thermometer-low.svg +0 -4
  2643. package/shoelace/assets/icons/thermometer-snow.svg +0 -4
  2644. package/shoelace/assets/icons/thermometer-sun.svg +0 -4
  2645. package/shoelace/assets/icons/thermometer.svg +0 -4
  2646. package/shoelace/assets/icons/three-dots-vertical.svg +0 -3
  2647. package/shoelace/assets/icons/three-dots.svg +0 -3
  2648. package/shoelace/assets/icons/toggle-off.svg +0 -3
  2649. package/shoelace/assets/icons/toggle-on.svg +0 -3
  2650. package/shoelace/assets/icons/toggle2-off.svg +0 -4
  2651. package/shoelace/assets/icons/toggle2-on.svg +0 -4
  2652. package/shoelace/assets/icons/toggles.svg +0 -3
  2653. package/shoelace/assets/icons/toggles2.svg +0 -5
  2654. package/shoelace/assets/icons/tools.svg +0 -3
  2655. package/shoelace/assets/icons/tornado.svg +0 -3
  2656. package/shoelace/assets/icons/trash-fill.svg +0 -3
  2657. package/shoelace/assets/icons/trash.svg +0 -4
  2658. package/shoelace/assets/icons/trash2-fill.svg +0 -3
  2659. package/shoelace/assets/icons/trash2.svg +0 -3
  2660. package/shoelace/assets/icons/tree-fill.svg +0 -3
  2661. package/shoelace/assets/icons/tree.svg +0 -3
  2662. package/shoelace/assets/icons/triangle-fill.svg +0 -3
  2663. package/shoelace/assets/icons/triangle-half.svg +0 -3
  2664. package/shoelace/assets/icons/triangle.svg +0 -3
  2665. package/shoelace/assets/icons/trophy-fill.svg +0 -3
  2666. package/shoelace/assets/icons/trophy.svg +0 -3
  2667. package/shoelace/assets/icons/tropical-storm.svg +0 -4
  2668. package/shoelace/assets/icons/truck-flatbed.svg +0 -3
  2669. package/shoelace/assets/icons/truck.svg +0 -3
  2670. package/shoelace/assets/icons/tsunami.svg +0 -3
  2671. package/shoelace/assets/icons/tv-fill.svg +0 -3
  2672. package/shoelace/assets/icons/tv.svg +0 -3
  2673. package/shoelace/assets/icons/twitch.svg +0 -4
  2674. package/shoelace/assets/icons/twitter.svg +0 -3
  2675. package/shoelace/assets/icons/type-bold.svg +0 -3
  2676. package/shoelace/assets/icons/type-h1.svg +0 -3
  2677. package/shoelace/assets/icons/type-h2.svg +0 -3
  2678. package/shoelace/assets/icons/type-h3.svg +0 -3
  2679. package/shoelace/assets/icons/type-italic.svg +0 -3
  2680. package/shoelace/assets/icons/type-strikethrough.svg +0 -3
  2681. package/shoelace/assets/icons/type-underline.svg +0 -3
  2682. package/shoelace/assets/icons/type.svg +0 -3
  2683. package/shoelace/assets/icons/ui-checks-grid.svg +0 -3
  2684. package/shoelace/assets/icons/ui-checks.svg +0 -3
  2685. package/shoelace/assets/icons/ui-radios-grid.svg +0 -3
  2686. package/shoelace/assets/icons/ui-radios.svg +0 -3
  2687. package/shoelace/assets/icons/umbrella-fill.svg +0 -3
  2688. package/shoelace/assets/icons/umbrella.svg +0 -3
  2689. package/shoelace/assets/icons/union.svg +0 -4
  2690. package/shoelace/assets/icons/unlock-fill.svg +0 -3
  2691. package/shoelace/assets/icons/unlock.svg +0 -3
  2692. package/shoelace/assets/icons/upc-scan.svg +0 -3
  2693. package/shoelace/assets/icons/upc.svg +0 -3
  2694. package/shoelace/assets/icons/upload.svg +0 -4
  2695. package/shoelace/assets/icons/vector-pen.svg +0 -4
  2696. package/shoelace/assets/icons/view-list.svg +0 -3
  2697. package/shoelace/assets/icons/view-stacked.svg +0 -3
  2698. package/shoelace/assets/icons/vinyl-fill.svg +0 -4
  2699. package/shoelace/assets/icons/vinyl.svg +0 -5
  2700. package/shoelace/assets/icons/voicemail.svg +0 -3
  2701. package/shoelace/assets/icons/volume-down-fill.svg +0 -3
  2702. package/shoelace/assets/icons/volume-down.svg +0 -3
  2703. package/shoelace/assets/icons/volume-mute-fill.svg +0 -3
  2704. package/shoelace/assets/icons/volume-mute.svg +0 -3
  2705. package/shoelace/assets/icons/volume-off-fill.svg +0 -3
  2706. package/shoelace/assets/icons/volume-off.svg +0 -3
  2707. package/shoelace/assets/icons/volume-up-fill.svg +0 -5
  2708. package/shoelace/assets/icons/volume-up.svg +0 -5
  2709. package/shoelace/assets/icons/vr.svg +0 -3
  2710. package/shoelace/assets/icons/wallet-fill.svg +0 -4
  2711. package/shoelace/assets/icons/wallet.svg +0 -3
  2712. package/shoelace/assets/icons/wallet2.svg +0 -3
  2713. package/shoelace/assets/icons/watch.svg +0 -4
  2714. package/shoelace/assets/icons/water.svg +0 -3
  2715. package/shoelace/assets/icons/whatsapp.svg +0 -3
  2716. package/shoelace/assets/icons/wifi-1.svg +0 -3
  2717. package/shoelace/assets/icons/wifi-2.svg +0 -3
  2718. package/shoelace/assets/icons/wifi-off.svg +0 -3
  2719. package/shoelace/assets/icons/wifi.svg +0 -4
  2720. package/shoelace/assets/icons/wind.svg +0 -3
  2721. package/shoelace/assets/icons/window-dock.svg +0 -4
  2722. package/shoelace/assets/icons/window-sidebar.svg +0 -4
  2723. package/shoelace/assets/icons/window.svg +0 -4
  2724. package/shoelace/assets/icons/wrench.svg +0 -3
  2725. package/shoelace/assets/icons/x-circle-fill.svg +0 -3
  2726. package/shoelace/assets/icons/x-circle.svg +0 -4
  2727. package/shoelace/assets/icons/x-diamond-fill.svg +0 -3
  2728. package/shoelace/assets/icons/x-diamond.svg +0 -3
  2729. package/shoelace/assets/icons/x-octagon-fill.svg +0 -3
  2730. package/shoelace/assets/icons/x-octagon.svg +0 -4
  2731. package/shoelace/assets/icons/x-square-fill.svg +0 -3
  2732. package/shoelace/assets/icons/x-square.svg +0 -4
  2733. package/shoelace/assets/icons/x.svg +0 -3
  2734. package/shoelace/assets/icons/youtube.svg +0 -3
  2735. package/shoelace/assets/icons/zoom-in.svg +0 -5
  2736. package/shoelace/assets/icons/zoom-out.svg +0 -5
  2737. package/shoelace/themes/themes/base.css +0 -273
  2738. package/shoelace/themes/themes/base.d.ts +0 -1
  2739. package/shoelace/themes/themes/base.js +0 -0
  2740. package/shoelace/themes/themes/dark.css +0 -237
  2741. package/shoelace/themes/themes/dark.d.ts +0 -1
  2742. package/shoelace/themes/themes/dark.js +0 -0
@@ -1,4500 +0,0 @@
1
- import { h, c as Host, d as getAssetPath, F as Fragment, g as getElement } from './index-38ad4957.js';
2
- import { i as intl } from './global-75e96214.js';
3
- import { b as browser, u as useMemo, k as useState } from './dom-context-hooks.module-50442785.js';
4
- import { H, L, J, d as dist, w as wn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-02cb914c.js';
5
- import { c as cjs } from './cjs-bdfb4486.js';
6
- import { l as luxonLocale } from './utils-334c1e34.js';
7
- import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
8
- import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-25f8b792.js';
9
- import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
10
- import { C as CopyTextView } from './copy-text-view-87259b11.js';
11
- import { T as TextSpanView } from './sqm-text-span-view-4db9e33f.js';
12
- import { u as useChildElements } from './useChildElements-06937df7.js';
13
- import { l as luxon } from './luxon-1be92a8e.js';
14
- import { p as pathToRegexp } from './index-ffa26b43.js';
15
- import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
16
- import { a as isValidColor, b as isMobile } from './utilities-cbd8f2eb.js';
17
- import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-a8c708cd.js';
18
-
19
- function BigStatView(props) {
20
- const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;
21
- // Dependent on props, not feasible to move out
22
- const style = {
23
- Container: {
24
- display: "flex",
25
- "flex-direction": `${flexReverse ? "column-reverse" : "column"}`,
26
- "align-items": `${alignment === "left"
27
- ? "flex-start"
28
- : alignment === "right"
29
- ? "flex-end"
30
- : "center"}`,
31
- },
32
- Stat: {
33
- "font-size": statFontSize
34
- ? `${statFontSize}px`
35
- : "var(--sl-font-size-xx-large)",
36
- "text-align": alignment,
37
- color: statTextColor || "var(--sqm-text)",
38
- lineHeight: "35px",
39
- fontWeight: statFontWeight || "var(--sl-font-weight-normal)",
40
- },
41
- Description: {
42
- "font-size": descriptionFontSize
43
- ? `${descriptionFontSize}px`
44
- : "var(--sl-font-size-small)",
45
- "font-weight": "var(--sl-font-weight-normal)",
46
- color: descriptionTextColor || "var(--sqm-text)",
47
- "text-align": alignment,
48
- lineHeight: "20px",
49
- },
50
- };
51
- const sheet = createStyleSheet(style);
52
- const styleString = sheet.toString();
53
- return (h("div", { part: "stat-wrapper", class: sheet.classes.Container },
54
- h("style", { type: "text/css" }, styleString),
55
- h("div", { part: "stat-value", class: sheet.classes.Stat }, statvalue),
56
- h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
57
- }
58
-
59
- const medium = {
60
- facebook: { color: "#1877f2", text: "#fff", icon: "facebook" },
61
- twitter: { color: "#000000", text: "#fff", icon: "twitter-x" },
62
- email: { color: "#666666", text: "#fff", icon: "envelope" },
63
- direct: {
64
- color: "var(--sqm-primary-button-background)",
65
- text: "var(--sqm-primary-button-color)",
66
- icon: "send",
67
- },
68
- linkedin: { color: "#0077b5", text: "#fff", icon: "linkedin" },
69
- sms: { color: "#34DA50", text: "#fff", icon: "chat" },
70
- fbmessenger: { color: "#0084ff", text: "#fff", icon: "messenger" },
71
- whatsapp: { color: "#25d366", text: "#fff", icon: "whatsapp" },
72
- linemessenger: { color: "#00B300", text: "#fff", icon: "line" },
73
- pinterest: { color: "#e60023", text: "#fff", icon: "pinterest" },
74
- };
75
- const style = {
76
- HostBlock: HostBlock,
77
- buttonStyle: {
78
- display: "flex",
79
- alignItems: "center",
80
- justifyContent: "center",
81
- lineHeight: "0",
82
- },
83
- };
84
- const sheet = createStyleSheet(style);
85
- const styleString = sheet.toString();
86
- function ShareButtonView(props, children) {
87
- const vanillaStyle = `
88
- sl-button::part(base) {
89
- border: ${props.border || "none"};
90
- font-family: var(--sqm-primary-font);
91
-
92
- background: ${props.backgroundcolor
93
- ? props.backgroundcolor
94
- : props.medium
95
- ? medium[props.medium].color
96
- : ""};
97
- color: ${props.textcolor
98
- ? props.textcolor
99
- : props.medium
100
- ? medium[props.medium].text
101
- : ""};
102
- border-radius: ${props.borderradius
103
- ? props.borderradius + "px"
104
- : "var(--sqm-primary-button-radius)"};
105
- }
106
-
107
-
108
-
109
- *::part(label) {
110
- position: relative;
111
- top: 2%;
112
- }
113
- `;
114
- return props.hide ? (h(Host, { style: { display: "none" } })) : (h("div", null,
115
- h("style", { type: "text/css" }, styleString),
116
- h("style", { type: "text/css" }, vanillaStyle),
117
- h("sl-button", { class: sheet.classes.buttonStyle, target: props.openInSameTab ? "_self" : "_blank", loading: props.loading, disabled: props.disabled, pill: props.pill, size: props.size, type: props.type, onClick: !props.isPlainLink ? props.onClick : undefined, href: props.isPlainLink ? props.messageLink : undefined, exportparts: `base: ${props.type}button-base` },
118
- !props.hideicon && (h("sl-icon", { slot: props.iconslot || "prefix", name: props.icon ? props.icon : medium[props.medium].icon, exportparts: "base: icon" })),
119
- !props.hidetext && children)));
120
- }
121
-
122
- function StatContainerView(props, children) {
123
- const divideSpace = () => {
124
- const spaceValue = getComputedStyle(document.documentElement).getPropertyValue(`--sl-spacing-${props.space}`);
125
- return `${Math.floor(parseInt(spaceValue) / 2)}rem`;
126
- };
127
- // take alignment variable and convert it to CSS flexbox alignment
128
- const alignment = props.alignment === "center"
129
- ? "center"
130
- : props.alignment === "right"
131
- ? "flex-end"
132
- : "flex-start";
133
- // Dependent on props, not feasible to move out
134
- const style = {
135
- StatContainer: {
136
- width: "100%",
137
- display: "flex",
138
- flexWrap: "wrap",
139
- alignItems: "center",
140
- justifyContent: alignment,
141
- flexDirection: "row",
142
- gap: `var(--sl-spacing-${props.gap})`,
143
- // Apply border styles conditionally based on the hideBorder prop
144
- "& > *": {
145
- "border-right": props.hideBorder
146
- ? "none"
147
- : "var(--sqm-border-thickness) solid var(--sqm-border-color)",
148
- "padding-right": divideSpace(),
149
- },
150
- "& > :last-child": {
151
- "border-right": "none",
152
- },
153
- "& > ::slotted(*)": {
154
- "border-right": props.hideBorder
155
- ? "none"
156
- : "var(--sqm-border-thickness) solid var(--sqm-border-color)",
157
- "padding-right": divideSpace(),
158
- },
159
- "& > ::slotted(*:last-child)": {
160
- "border-right": "none",
161
- },
162
- "@media screen and (max-width: 430px)": {
163
- "& > ::slotted(*)": {
164
- borderRight: "none",
165
- },
166
- },
167
- },
168
- StatFrame: {
169
- display: "flex",
170
- },
171
- BorderFix: {
172
- "border-right": "var(--sqm-border-thickness) solid transparent",
173
- width: "0px",
174
- "margin-left": "-1px",
175
- },
176
- };
177
- const sheet = createStyleSheet(style);
178
- const styleString = sheet.toString();
179
- return (h("div", { class: sheet.classes.StatFrame, part: "sqm-base" },
180
- h("div", { class: sheet.classes.StatContainer, part: "sqm-inner-container" },
181
- h("style", { type: "text/css" }, styleString),
182
- children),
183
- h("div", { class: sheet.classes.BorderFix, part: "sqm-border" })));
184
- }
185
-
186
- function PortalChangePasswordView(props) {
187
- const { states, callbacks } = props;
188
- const style = {
189
- Dialog: {
190
- padding: "0",
191
- "&::part(panel)": {
192
- background: "var(--sqm-portal-background)",
193
- borderRadius: "var(--sqm-border-radius-normal, var(--sl-border-radius-medium))",
194
- },
195
- "&::part(close-button)": {
196
- "margin-top": "var(--sl-spacing-medium)",
197
- },
198
- "&::part(body)": {
199
- padding: "0 var(--sl-spacing-x-large) var(--sl-spacing-x-large) var(--sl-spacing-x-large)",
200
- },
201
- },
202
- Error: {
203
- "&::part(erroralert-base)": {
204
- "margin-bottom": "15px",
205
- },
206
- },
207
- Success: {
208
- "&::part(successalert-base)": {
209
- "margin-bottom": "15px",
210
- },
211
- },
212
- InputContainer: {
213
- "& > :not(:last-child)": {
214
- "margin-bottom": "var(--sl-spacing-x-large)",
215
- },
216
- },
217
- CancelButton: {
218
- margin: "var(--sl-spacing-large) auto",
219
- width: "100%",
220
- },
221
- PasswordField: {
222
- marginBottom: "var(--sl-spacing-large) !important",
223
- display: "block",
224
- },
225
- ChangePasswordButton: {
226
- paddingTop: "var(--sl-spacing-x-large)",
227
- },
228
- };
229
- const sheet = createStyleSheet(style);
230
- const styleString = sheet.toString();
231
- return (h("div", null,
232
- h("style", { type: "text/css" }, styleString),
233
- h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, "onSl-hide": () => callbacks.setOpen(false) },
234
- h(PortalSectionView, Object.assign({}, {
235
- labelMargin: "x-large",
236
- padding: "none",
237
- label: (h(TextSpanView, Object.assign({}, { type: "h2" }), states.content.modalChangePasswordHeader)),
238
- content: (h(PortalContainerView, Object.assign({}, { direction: "column", padding: "none", gap: "32px" }),
239
- states.error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
240
- h("div", { part: "erroralert-text" }, states.error))),
241
- states.success && (h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
242
- h("div", { part: "successalert-text" }, states.content.successMessage))),
243
- h("sl-form", { "onSl-submit": callbacks.submit },
244
- h("div", { class: sheet.classes.InputContainer },
245
- h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
246
- h("sl-input", { exportparts: "label: input-label, base: input-base", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
247
- h(PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
248
- h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", exportparts: "base: primarybutton-base", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
249
- h("sl-button", { class: sheet.classes.CancelButton, type: "secondary", exportparts: "base: secondarybutton-base", onClick: () => callbacks.setOpen(false) }, states.content.cancelText))))),
250
- }))),
251
- h(PortalSectionView, Object.assign({}, {
252
- labelMargin: "x-large",
253
- padding: "xxx-large",
254
- label: (h(TextSpanView, Object.assign({}, { type: "h2" }), states.content.portalChangePasswordHeader)),
255
- content: (h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => callbacks.setOpen(true) }, states.content.portalChangePasswordButtonText)),
256
- }),
257
- h("style", { type: "text/css" }, styleString))));
258
- }
259
-
260
- function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
261
- return (h("svg", { width: width, height: height, viewBox: "0 0 1662 254", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
262
- h("path", { d: "M801.082 253.58L869.382 1.67969", stroke: color, "stroke-width": "3" }),
263
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M125.682 42.48C123.882 42.48 121.982 42.78 120.382 43.48C118.682 44.18 117.182 45.18 115.882 46.48C114.582 47.68 113.582 49.28 112.882 50.98C112.182 52.68 111.882 54.48 111.982 56.28C112.282 59.68 113.882 63.08 116.382 65.38C118.982 67.78 122.382 68.98 125.782 68.98C129.282 68.98 132.682 67.58 135.182 65.38C137.782 62.98 139.382 59.78 139.582 56.28C139.582 54.38 139.282 52.68 138.682 50.98C137.982 49.28 136.982 47.78 135.682 46.48C134.382 45.18 132.882 44.18 131.182 43.48C129.282 42.78 127.582 42.48 125.682 42.48Z", fill: color }),
264
- h("path", { d: "M135.882 89.2798H115.582V187.58H135.882V89.2798Z", fill: color }),
265
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M231.481 104.18C238.781 93.4799 251.181 87.3799 266.281 87.3799C290.981 87.3799 307.581 103.28 307.381 127.08V187.48H286.781V132.38C286.781 116.38 278.281 107.18 263.381 107.18C248.481 107.18 237.981 117.68 237.981 132.68V187.48H217.281V132.38C217.281 116.38 208.781 107.18 193.881 107.18C178.981 107.18 168.481 117.68 168.481 132.68V187.48H147.981V89.3799H168.681V97.8799C178.081 88.8799 190.181 87.4799 197.081 87.4799C211.881 87.4799 224.381 93.5799 231.481 104.18Z", fill: color }),
266
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M370.781 87.48C358.581 87.48 347.981 91.38 339.981 98.38V89.28H319.481V226.08H339.981V177.78C347.881 185.08 358.581 188.78 370.781 188.78C398.781 188.78 419.881 166.88 419.881 138.08C419.981 109.28 398.781 87.48 370.781 87.48ZM368.881 169.58C351.481 169.58 338.881 156.38 338.881 138.28C338.881 120.38 351.381 106.98 368.881 106.98C386.281 106.98 398.881 120.08 398.881 138.28C398.881 156.48 386.381 169.58 368.881 169.58Z", fill: color }),
267
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M701.782 169.88C707.682 169.88 714.082 167.58 719.582 163.98L721.482 162.88L731.482 178.68L729.782 179.88C721.282 186.28 710.982 189.58 700.382 189.58C678.082 189.58 665.782 176.38 665.782 152.28V108.68H645.682V89.3799H665.782V59.8799H686.482V89.2798H725.682V108.48H686.482V151.88C686.482 163.38 691.982 169.88 701.782 169.88Z", fill: color }),
268
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M551.282 239.88C549.982 239.88 548.782 240.28 547.682 240.88C546.682 241.58 545.782 242.58 545.382 243.68C544.882 244.78 544.782 246.08 545.082 247.28C545.282 248.58 545.882 249.68 546.882 250.48C547.782 251.38 548.882 251.98 550.082 252.28C551.382 252.48 552.582 252.38 553.782 251.98C554.882 251.48 555.982 250.78 556.582 249.68C557.282 248.68 557.582 247.38 557.582 246.18C557.582 244.48 556.982 242.88 555.682 241.68C554.482 240.48 552.882 239.88 551.282 239.88Z", fill: color }),
269
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M586.182 210.78C592.282 210.78 597.582 213.08 601.082 217.18L601.482 217.68L596.282 223.08L595.782 222.58C594.482 221.18 593.082 220.18 591.382 219.48C589.682 218.78 587.882 218.38 586.082 218.48C578.882 218.48 573.682 224.08 573.682 231.58C573.682 239.18 578.882 244.78 586.082 244.78C589.782 244.68 593.282 243.18 595.882 240.58L596.382 240.08L601.382 245.68L600.982 246.08C597.182 250.18 591.982 252.18 586.082 252.18C574.082 252.18 565.382 243.58 565.382 231.58C565.582 219.48 574.182 210.78 586.182 210.78Z", fill: color }),
270
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M633.782 210.78C621.682 210.78 612.582 219.68 612.582 231.38C612.582 243.08 621.682 251.98 633.782 251.98C645.882 251.98 654.882 243.08 654.882 231.38C655.082 219.78 645.982 210.78 633.782 210.78ZM633.782 244.78C626.382 244.78 620.782 239.28 620.782 231.58C620.782 223.88 626.182 218.48 633.782 218.48C641.182 218.48 646.782 224.08 646.782 231.58C646.782 238.98 641.382 244.78 633.782 244.78Z", fill: color }),
271
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M723.982 228.78C723.982 222.18 720.382 218.28 714.082 218.28C707.682 218.28 703.382 222.78 702.982 228.98V252.18H695.082V228.68C695.082 222.08 691.482 218.18 685.182 218.18C680.082 218.18 674.482 221.48 674.482 228.88V252.08H666.582V211.38H674.482V214.78L676.682 213.28C679.582 211.38 683.082 210.48 686.582 210.48C692.082 210.48 696.782 212.48 699.882 216.08L700.882 217.28L701.882 216.08C704.782 212.48 709.582 210.48 715.182 210.48C725.082 210.48 731.982 217.08 731.982 226.38V251.88H724.082V228.68H723.982V228.78Z", fill: color }),
272
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M511.681 89.4797V98.7797C503.681 91.4797 493.181 87.6797 480.981 87.6797C452.981 87.6797 431.981 109.68 431.981 138.68C431.981 167.78 453.081 189.68 480.981 189.68C493.181 189.68 503.681 185.78 511.681 178.38V187.68H532.381V89.4797H511.681ZM482.881 169.88C465.481 169.88 452.781 156.58 452.781 138.48C452.781 120.48 465.281 106.98 482.881 106.98C500.481 106.98 512.781 120.08 512.781 138.48C512.781 156.68 500.181 169.88 482.881 169.88Z", fill: color }),
273
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z", fill: color }),
274
- h("path", { d: "M135.882 89.2798H115.582V187.58H135.882V89.2798Z", fill: color }),
275
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M231.481 104.18C238.781 93.4799 251.181 87.3799 266.281 87.3799C290.981 87.3799 307.581 103.28 307.381 127.08V187.48H286.781V132.38C286.781 116.38 278.281 107.18 263.381 107.18C248.481 107.18 237.981 117.68 237.981 132.68V187.48H217.281V132.38C217.281 116.38 208.781 107.18 193.881 107.18C178.981 107.18 168.481 117.68 168.481 132.68V187.48H147.981V89.3799H168.681V97.8799C178.081 88.8799 190.181 87.4799 197.081 87.4799C211.881 87.4799 224.381 93.5799 231.481 104.18Z", fill: color }),
276
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M370.781 87.48C358.581 87.48 347.981 91.38 339.981 98.38V89.28H319.481V226.08H339.981V177.78C347.881 185.08 358.581 188.78 370.781 188.78C398.781 188.78 419.881 166.88 419.881 138.08C419.981 109.28 398.781 87.48 370.781 87.48ZM368.881 169.58C351.481 169.58 338.881 156.38 338.881 138.28C338.881 120.38 351.381 106.98 368.881 106.98C386.281 106.98 398.881 120.08 398.881 138.28C398.881 156.48 386.381 169.58 368.881 169.58Z", fill: color }),
277
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M701.782 169.88C707.682 169.88 714.082 167.58 719.582 163.98L721.482 162.88L731.482 178.68L729.782 179.88C721.282 186.28 710.982 189.58 700.382 189.58C678.082 189.58 665.782 176.38 665.782 152.28V108.68H645.682V89.3799H665.782V59.8799H686.482V89.2798H725.682V108.48H686.482V151.88C686.482 163.38 691.982 169.88 701.782 169.88Z", fill: color }),
278
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M511.681 89.4797V98.7797C503.681 91.4797 493.181 87.6797 480.981 87.6797C452.981 87.6797 431.981 109.68 431.981 138.68C431.981 167.78 453.081 189.68 480.981 189.68C493.181 189.68 503.681 185.78 511.681 178.38V187.68H532.381V89.4797H511.681ZM482.881 169.88C465.481 169.88 452.781 156.58 452.781 138.48C452.781 120.48 465.281 106.98 482.881 106.98C500.481 106.98 512.781 120.08 512.781 138.48C512.781 156.68 500.181 169.88 482.881 169.88Z", fill: color }),
279
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M595.281 107.08C604.181 107.08 611.781 110.38 618.781 116.98L620.481 118.68L633.981 104.58L632.581 102.98C623.781 92.98 610.781 87.48 595.781 87.48C565.981 87.48 544.481 109.08 544.481 138.48C544.481 167.98 565.981 189.48 595.781 189.48C610.481 189.48 623.681 183.98 632.581 174.08L633.981 172.58L620.981 158.18L619.281 159.88C612.481 166.48 603.981 169.98 595.481 169.98C578.381 169.98 565.681 156.68 565.681 138.58C565.581 120.58 577.881 107.08 595.281 107.08Z", fill: color }),
280
- h("path", { d: "M34.6815 112.78C40.6815 112.78 46.5815 114.18 51.8815 116.68C57.2815 119.18 62.0815 122.78 65.9815 127.28C67.9815 122.68 69.0815 117.78 69.0815 112.88C69.0815 108.38 68.1815 103.88 66.4815 99.8799C64.6815 95.6799 62.1815 91.9799 58.9815 88.8799C55.7815 85.7799 51.9815 83.2799 47.7815 81.4799C43.5815 79.7799 39.0815 78.8799 34.5815 78.8799C30.0815 78.8799 25.5815 79.6799 21.3815 81.4799C17.1815 83.1799 13.3815 85.7799 10.1815 88.8799C6.98154 91.9799 4.48154 95.7799 2.68154 99.8799C0.881541 104.08 0.081543 108.38 0.081543 112.88C0.181543 117.88 1.18154 122.78 3.18154 127.28C7.08154 122.68 11.8815 119.18 17.1815 116.68C22.7815 113.98 28.7815 112.68 34.6815 112.78Z", fill: color }),
281
- h("path", { d: "M69.1817 153.48C69.1817 146.68 67.1817 140.18 63.2817 134.48C59.4817 128.88 54.0817 124.48 47.7817 121.88C41.4817 119.28 34.4817 118.68 27.7817 119.88C21.0817 121.28 14.8817 124.48 10.0817 129.28C5.28166 134.08 1.88166 140.08 0.681661 146.78C-0.718339 153.48 0.0816607 160.18 2.68166 166.48C5.28166 172.78 9.68166 178.08 15.4817 181.78C21.0817 185.58 27.7817 187.48 34.6817 187.48C43.7817 187.38 52.5817 183.88 59.0817 177.38C65.6817 170.98 69.1817 162.58 69.1817 153.48Z", fill: color }),
282
- h("path", { d: "M69.1817 34.9799C69.1817 28.1799 67.1817 21.6799 63.2817 15.9799C59.4817 10.3799 54.1817 5.9799 47.7817 3.3799C41.4817 0.779901 34.4817 0.1799 27.7817 1.3799C21.0817 2.7799 14.8817 5.97986 10.0817 10.7799C5.28166 15.5799 1.88166 21.5799 0.681661 28.2799C-0.718339 34.9799 0.0816607 41.6799 2.68166 47.9799C5.28166 54.2799 9.68166 59.5799 15.4817 63.2799C21.0817 67.0799 27.7817 68.9799 34.6817 68.9799C43.8817 68.9799 52.6817 65.3799 59.1817 58.9799C65.5817 52.6799 69.1817 43.8799 69.1817 34.9799Z", fill: color }),
283
- h("path", { d: "M962.664 203.95C953.044 203.95 945.244 201.285 939.264 195.955C933.284 190.495 930.294 183.41 930.294 174.7C930.294 165.08 933.739 157.605 940.629 152.275C947.649 146.945 957.464 144.28 970.074 144.28H993.864V138.43C993.864 129.72 991.589 123.09 987.039 118.54C982.619 113.86 976.184 111.52 967.734 111.52C962.014 111.52 956.749 112.885 951.939 115.615C947.129 118.345 943.229 122.18 940.239 127.12L933.999 120.295C937.639 114.575 942.384 110.22 948.234 107.23C954.214 104.11 960.974 102.55 968.514 102.55C979.694 102.55 988.404 105.605 994.644 111.715C1001.01 117.695 1004.2 126.015 1004.2 136.675V184.255C1004.2 188.805 1004.98 194.72 1006.54 202H997.569C996.399 199.14 995.554 194.07 995.034 186.79H994.644C990.874 192.25 986.259 196.475 980.799 199.465C975.339 202.455 969.294 203.95 962.664 203.95ZM962.664 195.175C968.124 195.175 973.259 194.07 978.069 191.86C982.879 189.52 986.714 186.465 989.574 182.695C992.434 178.795 993.864 174.7 993.864 170.41V152.665H969.489C960.389 152.665 953.239 154.615 948.039 158.515C942.969 162.415 940.434 167.81 940.434 174.7C940.434 180.68 942.514 185.62 946.674 189.52C950.834 193.29 956.164 195.175 962.664 195.175Z", fill: color }),
284
- h("path", { d: "M1067.55 203.95C1055.07 203.95 1045.25 199.27 1038.1 189.91C1030.95 180.55 1027.38 167.745 1027.38 151.495C1027.38 136.415 1031.02 124.52 1038.3 115.81C1045.71 106.97 1055.72 102.55 1068.33 102.55C1074.7 102.55 1080.55 104.045 1085.88 107.035C1091.21 110.025 1095.5 114.25 1098.75 119.71H1099.14V57.3101H1109.67V178.21C1109.67 189.13 1109.86 197.06 1110.25 202H1100.89C1100.63 197.84 1100.5 192.12 1100.5 184.84H1100.11C1097.12 190.69 1092.7 195.37 1086.85 198.88C1081 202.26 1074.57 203.95 1067.55 203.95ZM1068.13 195.175C1077.23 195.175 1084.64 192.185 1090.36 186.205C1096.21 180.225 1099.14 172.49 1099.14 163V146.815C1099.14 135.895 1096.41 127.25 1090.95 120.88C1085.49 114.38 1078.08 111.13 1068.72 111.13C1059.1 111.13 1051.49 114.77 1045.9 122.05C1040.44 129.2 1037.71 139.145 1037.71 151.885C1037.71 165.275 1040.44 175.87 1045.9 183.67C1051.36 191.34 1058.77 195.175 1068.13 195.175Z", fill: color }),
285
- h("path", { d: "M1208.57 104.5L1172.3 202H1161.96L1125.5 104.5H1136.61L1167.03 189.715L1197.45 104.5H1208.57Z", fill: color }),
286
- h("path", { d: "M1261.51 203.95C1252.54 203.95 1244.61 201.87 1237.72 197.71C1230.96 193.55 1225.7 187.635 1221.93 179.965C1218.29 172.295 1216.47 163.39 1216.47 153.25C1216.47 143.11 1218.29 134.205 1221.93 126.535C1225.7 118.865 1230.96 112.95 1237.72 108.79C1244.61 104.63 1252.54 102.55 1261.51 102.55C1270.48 102.55 1278.35 104.63 1285.11 108.79C1292 112.95 1297.33 118.865 1301.1 126.535C1304.87 134.205 1306.75 143.11 1306.75 153.25C1306.75 163.39 1304.87 172.295 1301.1 179.965C1297.33 187.635 1292 193.55 1285.11 197.71C1278.35 201.87 1270.48 203.95 1261.51 203.95ZM1261.51 195.37C1268.4 195.37 1274.45 193.615 1279.65 190.105C1284.98 186.595 1289.07 181.655 1291.93 175.285C1294.79 168.915 1296.22 161.57 1296.22 153.25C1296.22 144.93 1294.79 137.585 1291.93 131.215C1289.07 124.845 1284.98 119.905 1279.65 116.395C1274.45 112.885 1268.4 111.13 1261.51 111.13C1254.75 111.13 1248.71 112.885 1243.38 116.395C1238.18 119.905 1234.15 124.845 1231.29 131.215C1228.43 137.585 1227 144.93 1227 153.25C1227 161.57 1228.43 168.915 1231.29 175.285C1234.15 181.655 1238.18 186.595 1243.38 190.105C1248.71 193.615 1254.75 195.37 1261.51 195.37Z", fill: color }),
287
- h("path", { d: "M1366.03 203.95C1352.25 203.95 1341.52 199.53 1333.85 190.69C1326.31 181.72 1322.54 169.24 1322.54 153.25C1322.54 137.39 1326.38 124.975 1334.05 116.005C1341.72 107.035 1352.38 102.55 1366.03 102.55C1373.57 102.55 1380.26 104.11 1386.11 107.23C1391.96 110.22 1396.77 114.575 1400.54 120.295L1394.3 126.34C1391.31 121.66 1387.28 118.02 1382.21 115.42C1377.27 112.69 1371.88 111.325 1366.03 111.325C1355.76 111.325 1347.63 115.03 1341.65 122.44C1335.8 129.85 1332.88 140.12 1332.88 153.25C1332.88 166.38 1335.8 176.65 1341.65 184.06C1347.63 191.47 1355.76 195.175 1366.03 195.175C1371.88 195.175 1377.27 193.875 1382.21 191.275C1387.28 188.545 1391.31 184.84 1394.3 180.16L1400.54 186.205C1396.77 191.925 1391.96 196.345 1386.11 199.465C1380.26 202.455 1373.57 203.95 1366.03 203.95Z", fill: color }),
288
- h("path", { d: "M1446.55 203.95C1436.93 203.95 1429.13 201.285 1423.15 195.955C1417.17 190.495 1414.18 183.41 1414.18 174.7C1414.18 165.08 1417.62 157.605 1424.51 152.275C1431.53 146.945 1441.35 144.28 1453.96 144.28H1477.75V138.43C1477.75 129.72 1475.47 123.09 1470.92 118.54C1466.5 113.86 1460.07 111.52 1451.62 111.52C1445.9 111.52 1440.63 112.885 1435.82 115.615C1431.01 118.345 1427.11 122.18 1424.12 127.12L1417.88 120.295C1421.52 114.575 1426.27 110.22 1432.12 107.23C1438.1 104.11 1444.86 102.55 1452.4 102.55C1463.58 102.55 1472.29 105.605 1478.53 111.715C1484.9 117.695 1488.08 126.015 1488.08 136.675V184.255C1488.08 188.805 1488.86 194.72 1490.42 202H1481.45C1480.28 199.14 1479.44 194.07 1478.92 186.79H1478.53C1474.76 192.25 1470.14 196.475 1464.68 199.465C1459.22 202.455 1453.18 203.95 1446.55 203.95ZM1446.55 195.175C1452.01 195.175 1457.14 194.07 1461.95 191.86C1466.76 189.52 1470.6 186.465 1473.46 182.695C1476.32 178.795 1477.75 174.7 1477.75 170.41V152.665H1453.37C1444.27 152.665 1437.12 154.615 1431.92 158.515C1426.85 162.415 1424.32 167.81 1424.32 174.7C1424.32 180.68 1426.4 185.62 1430.56 189.52C1434.72 193.29 1440.05 195.175 1446.55 195.175Z", fill: color }),
289
- h("path", { d: "M1547.14 203.95C1539.08 203.95 1532.97 201.48 1528.81 196.54C1524.65 191.47 1522.57 184.19 1522.57 174.7V113.275H1505.02V104.5H1522.57V77.9801L1532.32 74.6651H1533.1V104.5H1560.59V113.275H1533.1V172.555C1533.1 180.355 1534.33 186.01 1536.8 189.52C1539.27 193.03 1543.17 194.785 1548.5 194.785C1553.83 194.785 1558.06 194.005 1561.18 192.445L1562.35 200.83C1558.19 202.91 1553.12 203.95 1547.14 203.95Z", fill: color }),
290
- h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
291
- }
292
-
293
- const style$1 = {
294
- Wrapper: AuthWrapper,
295
- Column: AuthColumn,
296
- HostBlock: HostBlock,
297
- ":host": {
298
- margin: "0 auto",
299
- width: "100%",
300
- },
301
- ButtonsContainer: {
302
- ...AuthButtonsContainer,
303
- gap: "var(--sl-spacing-medium)",
304
- "& > *": {
305
- margin: "0 !important",
306
- },
307
- },
308
- ErrorStyle: ErrorStyles,
309
- };
310
- const vanillaStyle = `
311
- sqm-portal-register {
312
- margin: 0 auto;
313
- width: 100%;
314
- display: block;
315
- }
316
-
317
- :host{
318
- display: block;
319
- }
320
-
321
- :host([hidden]) {
322
- display: none;
323
- }
324
- `;
325
- const sheet$1 = createStyleSheet(style$1);
326
- const styleString$1 = sheet$1.toString();
327
- function BaseRegistrationFormView(props) {
328
- var _a, _b;
329
- const { states, content, callbacks } = props;
330
- return (h("div", { class: sheet$1.classes.Wrapper },
331
- h("style", { type: "text/css" },
332
- vanillaStyle,
333
- styleString$1),
334
- h(TextSpanView, { type: "h3" }, content.pageLabel),
335
- h("sl-form", { class: sheet$1.classes.Column, "onSl-submit": callbacks.handleEmailSubmit, novalidate: true },
336
- content.formData,
337
- h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", required: true, validationError: ({ value }) => {
338
- if (!value) {
339
- return content.requiredFieldErrorMessage;
340
- }
341
- // this matches shoelace validation, but could be better
342
- if (!value.includes("@")) {
343
- return content.invalidEmailErrorMessage;
344
- }
345
- } }, (((_a = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _a === void 0 ? void 0 : _a.email) ? {
346
- class: sheet$1.classes.ErrorStyle,
347
- helpText: ((_b = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ||
348
- content.requiredFieldErrorMessage,
349
- }
350
- : []))),
351
- content.terms,
352
- h("div", { class: sheet$1.classes.ButtonsContainer },
353
- h("sl-button", { submit: true, exportparts: "base: primarybutton-base", type: "primary", style: { margin: "0" } }, content.submitLabel || "Register"),
354
- h("sl-menu-divider", { style: { margin: "0" } }),
355
- content.googleButton,
356
- content.secondaryButton))));
357
- }
358
-
359
- const debug = browser("sq:useBigStat");
360
- const LOADING = "...";
361
- const debugQuery = (query, variables, getStat) => {
362
- const res = wn(query, variables);
363
- if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
364
- console.error("issue getting stat:", res);
365
- }
366
- const stat = getStat(res);
367
- return { ...stat, loading: res.loading };
368
- };
369
- const referralsCountQuery = (programId,
370
- // locale
371
- _, status) => {
372
- const programFilter = programId === "classic"
373
- ? { programId_exists: false }
374
- : { programId_eq: programId };
375
- const convertedFilter = status && status == "converted"
376
- ? { dateConverted_exists: true }
377
- : status && status == "started"
378
- ? { dateConverted_exists: false }
379
- : {};
380
- const queryFilter = { ...programFilter, ...convertedFilter };
381
- return debugQuery(dist.gql `
382
- query ($queryFilter: ReferralFilterInput) {
383
- viewer {
384
- ... on User {
385
- referrals(filter: $queryFilter) {
386
- totalCount
387
- }
388
- }
389
- }
390
- }
391
- `, { queryFilter }, (res) => {
392
- var _a, _b, _c, _d, _e, _f, _g;
393
- return ({
394
- value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
395
- statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
396
- });
397
- });
398
- };
399
- const programGoalsQuery = (programId, locale, metricType, goalId) => {
400
- // Confirm this behaviour
401
- if (programId === "classic")
402
- return null;
403
- return debugQuery(dist.gql `
404
- query {
405
- viewer {
406
- ... on User {
407
- programGoals {
408
- goalId
409
- programId
410
- count
411
- conversionCount
412
- }
413
- }
414
- }
415
- }
416
- `, { programId, metricType, goalId, locale }, (res) => {
417
- var _a, _b, _c, _d, _e, _f;
418
- const goal = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.programGoals) === null || _c === void 0 ? void 0 : _c.filter((goal) => goal.goalId === goalId && goal.programId === programId);
419
- return {
420
- value: ((_d = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _d === void 0 ? void 0 : _d[metricType]) || 0,
421
- statvalue: ((_f = (_e = goal === null || goal === void 0 ? void 0 : goal[0]) === null || _e === void 0 ? void 0 : _e[metricType]) === null || _f === void 0 ? void 0 : _f.toString()) || 0,
422
- };
423
- });
424
- };
425
- const customFieldsQuery = (_programId, locale, fieldName, goalId) => {
426
- return debugQuery(dist.gql `
427
- query {
428
- viewer {
429
- ... on User {
430
- customFields
431
- }
432
- }
433
- }
434
- `, { fieldName, goalId, locale }, (res) => {
435
- var _a, _b, _c;
436
- const customField = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.customFields) === null || _c === void 0 ? void 0 : _c[fieldName];
437
- return {
438
- value: customField || 0,
439
- statvalue: (customField === null || customField === void 0 ? void 0 : customField.toString()) || "0",
440
- };
441
- });
442
- };
443
- const referralsMonthQuery = (programId,
444
- // locale
445
- _, status) => {
446
- const programFilter = programId === "classic"
447
- ? { programId_exists: false }
448
- : { programId_eq: programId };
449
- const convertedFilter = status && status == "converted"
450
- ? { dateConverted_exists: true }
451
- : status && status == "started"
452
- ? { dateConverted_exists: false }
453
- : {};
454
- const filter = {
455
- ...programFilter,
456
- ...convertedFilter,
457
- dateReferralStarted_timeframe: "this_month",
458
- };
459
- return debugQuery(dist.gql `
460
- query ($filter: ReferralFilterInput) {
461
- viewer {
462
- ... on User {
463
- referrals(filter: $filter) {
464
- totalCount
465
- }
466
- }
467
- }
468
- }
469
- `, { filter }, (res) => {
470
- var _a, _b, _c, _d, _e, _f, _g;
471
- return ({
472
- value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
473
- statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
474
- });
475
- });
476
- };
477
- const referralsWeekQuery = (programId,
478
- // locale
479
- _, status) => {
480
- const programFilter = programId === "classic"
481
- ? { programId_exists: false }
482
- : { programId_eq: programId };
483
- const convertedFilter = status && status == "converted"
484
- ? { dateConverted_exists: true }
485
- : status && status == "started"
486
- ? { dateConverted_exists: false }
487
- : {};
488
- const filter = {
489
- ...programFilter,
490
- ...convertedFilter,
491
- dateReferralStarted_timeframe: "this_week",
492
- };
493
- return debugQuery(dist.gql `
494
- query ($filter: ReferralFilterInput) {
495
- viewer {
496
- ... on User {
497
- referrals(filter: $filter) {
498
- totalCount
499
- }
500
- }
501
- }
502
- }
503
- `, { filter }, (res) => {
504
- var _a, _b, _c, _d, _e, _f, _g;
505
- return ({
506
- value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.referrals) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
507
- statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.referrals) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
508
- });
509
- });
510
- };
511
- const rewardsCountQuery = (programId,
512
- // locale
513
- _, global = "") => {
514
- return debugQuery(dist.gql `
515
- query ($programId: ID) {
516
- viewer {
517
- ... on User {
518
- rewards(filter: { programId_eq: $programId }) {
519
- totalCount
520
- }
521
- }
522
- }
523
- }
524
- `, {
525
- programId: !global && programId !== "classic" ? programId : null,
526
- }, (res) => {
527
- var _a, _b, _c, _d, _e, _f, _g;
528
- return ({
529
- value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
530
- statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
531
- });
532
- });
533
- };
534
- const rewardsCountFilteredQuery = (programId,
535
- // locale
536
- _, type, unit, status, global = "") => {
537
- const statusFilter = status ? { status } : null;
538
- return debugQuery(dist.gql `
539
- query (
540
- $programId: ID
541
- $unit: String
542
- $type: RewardType
543
- $statusFilter: RewardStatusFilterInput
544
- ) {
545
- viewer {
546
- ... on User {
547
- rewards(
548
- filter: {
549
- programId_eq: $programId
550
- type_eq: $type
551
- unit_eq: $unit
552
- statuses_eq: $statusFilter
553
- }
554
- ) {
555
- totalCount
556
- }
557
- }
558
- }
559
- }
560
- `, {
561
- programId: !global && programId !== "classic" ? programId : null,
562
- unit,
563
- type,
564
- statusFilter,
565
- }, (res) => {
566
- var _a, _b, _c, _d, _e, _f, _g;
567
- return ({
568
- value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
569
- statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
570
- });
571
- });
572
- };
573
- const integrationRewardsCountFilteredQuery = (programId,
574
- // locale
575
- _, status, global = "") => {
576
- const statusFilter = status ? { status } : null;
577
- return debugQuery(dist.gql `
578
- query ($programId: ID, $statusFilter: RewardStatusFilterInput) {
579
- viewer {
580
- ... on User {
581
- rewards(
582
- filter: {
583
- programId_eq: $programId
584
- type_eq: INTEGRATION
585
- statuses_eq: $statusFilter
586
- }
587
- ) {
588
- totalCount
589
- }
590
- }
591
- }
592
- }
593
- `, {
594
- programId: !global && programId !== "classic" ? programId : null,
595
- statusFilter,
596
- }, (res) => {
597
- var _a, _b, _c, _d, _e, _f, _g;
598
- return ({
599
- value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
600
- statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
601
- });
602
- });
603
- };
604
- const rewardsMonthQuery = (programId,
605
- // locale
606
- _, global = "") => {
607
- return debugQuery(dist.gql `
608
- query ($programId: ID) {
609
- viewer {
610
- ... on User {
611
- rewards(
612
- filter: {
613
- programId_eq: $programId
614
- dateGiven_timeframe: "this_month"
615
- }
616
- ) {
617
- totalCount
618
- }
619
- }
620
- }
621
- }
622
- `, {
623
- programId: !global && programId !== "classic" ? programId : null,
624
- }, (res) => {
625
- var _a, _b, _c, _d, _e, _f, _g;
626
- return ({
627
- value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
628
- statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
629
- });
630
- });
631
- };
632
- const rewardsWeekQuery = (programId,
633
- // locale
634
- _, global = "") => {
635
- return debugQuery(dist.gql `
636
- query ($programId: ID) {
637
- viewer {
638
- ... on User {
639
- rewards(
640
- filter: {
641
- programId_eq: $programId
642
- dateGiven_timeframe: "this_week"
643
- }
644
- ) {
645
- totalCount
646
- }
647
- }
648
- }
649
- }
650
- `, {
651
- programId: !global && programId !== "classic" ? programId : null,
652
- }, (res) => {
653
- var _a, _b, _c, _d, _e, _f, _g;
654
- return ({
655
- value: ((_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.totalCount) || 0,
656
- statvalue: (_g = (_f = (_e = (_d = res.data) === null || _d === void 0 ? void 0 : _d.viewer) === null || _e === void 0 ? void 0 : _e.rewards) === null || _f === void 0 ? void 0 : _f.totalCount) === null || _g === void 0 ? void 0 : _g.toString(),
657
- });
658
- });
659
- };
660
- const rewardsPendingQuery = (programId, locale, type, unit, global = "") => {
661
- return debugQuery(dist.gql `
662
- query (
663
- $programId: ID
664
- $type: RewardType
665
- $unit: String!
666
- $locale: RSLocale
667
- ) {
668
- fallback: formatRewardPrettyValue(
669
- value: 0
670
- unit: $unit
671
- locale: $locale
672
- formatType: UNIT_FORMATTED
673
- )
674
- viewer: viewer {
675
- ... on User {
676
- rewardBalanceDetails(
677
- programId: $programId
678
- filter: { type_eq: $type, unit_eq: $unit }
679
- locale: $locale
680
- ) {
681
- ... on CreditRewardBalance {
682
- prettyPendingCredit
683
- }
684
- }
685
- }
686
- }
687
- }
688
- `, {
689
- programId: !global && programId !== "classic" ? programId : null,
690
- type,
691
- unit,
692
- locale,
693
- }, (res) => {
694
- var _a, _b, _c, _d, _e;
695
- const arr = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewardBalanceDetails;
696
- const fallback = (_c = res.data) === null || _c === void 0 ? void 0 : _c.fallback;
697
- return {
698
- value: ((_d = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _d === void 0 ? void 0 : _d.prettyPendingCredit) || 0,
699
- statvalue: ((_e = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _e === void 0 ? void 0 : _e.prettyPendingCredit) || fallback,
700
- };
701
- });
702
- };
703
- const rewardsRedeemedQuery = (programId, locale, type, unit, global = "") => {
704
- return debugQuery(dist.gql `
705
- query (
706
- $programId: ID
707
- $type: RewardType
708
- $unit: String!
709
- $locale: RSLocale
710
- ) {
711
- fallback: formatRewardPrettyValue(
712
- value: 0
713
- unit: $unit
714
- locale: $locale
715
- formatType: UNIT_FORMATTED
716
- )
717
- viewer: viewer {
718
- ... on User {
719
- rewardBalanceDetails(
720
- programId: $programId
721
- filter: { type_eq: $type, unit_eq: $unit }
722
- locale: $locale
723
- ) {
724
- ... on CreditRewardBalance {
725
- prettyRedeemedCredit
726
- }
727
- }
728
- }
729
- }
730
- }
731
- `, {
732
- programId: !global && programId !== "classic" ? programId : null,
733
- type,
734
- unit,
735
- locale,
736
- }, (res) => {
737
- var _a, _b, _c, _d, _e;
738
- const arr = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewardBalanceDetails;
739
- const fallback = (_c = res.data) === null || _c === void 0 ? void 0 : _c.fallback;
740
- return {
741
- value: ((_d = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _d === void 0 ? void 0 : _d.prettyRedeemedCredit) || 0,
742
- statvalue: ((_e = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _e === void 0 ? void 0 : _e.prettyRedeemedCredit) || fallback,
743
- };
744
- });
745
- };
746
- const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") => {
747
- return debugQuery(dist.gql `
748
- query ($programId: ID, $type: RewardType, $unit: String!) {
749
- viewer: viewer {
750
- ... on User {
751
- rewards(
752
- limit: 1000
753
- filter: {
754
- programId_eq: $programId
755
- type_eq: $type
756
- unit_eq: $unit
757
- dateRedeemed_timeframe: "this_week"
758
- }
759
- ) {
760
- data {
761
- redeemedCredit
762
- }
763
- totalCount
764
- }
765
- }
766
- }
767
- }
768
- `, {
769
- programId: !global && programId !== "classic" ? programId : null,
770
- type,
771
- unit,
772
- }, (res) => {
773
- var _a, _b, _c, _d;
774
- const rewardData = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.data;
775
- const fallback = 0;
776
- const redeemedTotal = rewardData === null || rewardData === void 0 ? void 0 : rewardData.reduce((total, reward) => (total += reward.redeemedCredit), fallback);
777
- if (redeemedTotal !== undefined) {
778
- const query = `query formatRewardPrettyValue(
779
- $value: Int!
780
- $unit: String!
781
- $locale: RSLocale
782
- ) {
783
- formatRewardPrettyValue(
784
- value: $value
785
- unit: $unit
786
- locale: $locale
787
- formatType: UNIT_FORMATTED
788
- )}`;
789
- const result = wn(query, {
790
- value: redeemedTotal,
791
- unit,
792
- locale,
793
- });
794
- return {
795
- value: redeemedTotal || fallback,
796
- statvalue: (_d = result === null || result === void 0 ? void 0 : result.data) === null || _d === void 0 ? void 0 : _d.formatRewardPrettyValue,
797
- };
798
- }
799
- return {
800
- value: fallback,
801
- statvalue: "...",
802
- };
803
- });
804
- };
805
- const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") => {
806
- return debugQuery(dist.gql `
807
- query ($programId: ID, $type: RewardType, $unit: String!) {
808
- viewer: viewer {
809
- ... on User {
810
- rewards(
811
- limit: 1000
812
- filter: {
813
- programId_eq: $programId
814
- type_eq: $type
815
- unit_eq: $unit
816
- dateRedeemed_timeframe: "this_month"
817
- }
818
- ) {
819
- data {
820
- redeemedCredit
821
- }
822
- totalCount
823
- }
824
- }
825
- }
826
- }
827
- `, {
828
- programId: !global && programId !== "classic" ? programId : null,
829
- type,
830
- unit,
831
- }, (res) => {
832
- var _a, _b, _c, _d;
833
- const rewardData = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewards) === null || _c === void 0 ? void 0 : _c.data;
834
- const fallback = 0;
835
- const redeemedTotal = rewardData === null || rewardData === void 0 ? void 0 : rewardData.reduce((total, reward) => (total += reward.redeemedCredit), fallback);
836
- if (redeemedTotal !== undefined) {
837
- const query = `query formatRewardPrettyValue(
838
- $value: Int!
839
- $unit: String!
840
- $locale: RSLocale
841
- ) {
842
- formatRewardPrettyValue(
843
- value: $value
844
- unit: $unit
845
- locale: $locale
846
- formatType: UNIT_FORMATTED
847
- )}`;
848
- const result = wn(query, {
849
- value: redeemedTotal,
850
- unit,
851
- locale,
852
- });
853
- return {
854
- value: redeemedTotal || fallback,
855
- statvalue: (_d = result === null || result === void 0 ? void 0 : result.data) === null || _d === void 0 ? void 0 : _d.formatRewardPrettyValue,
856
- };
857
- }
858
- return {
859
- value: fallback,
860
- statvalue: "...",
861
- };
862
- });
863
- };
864
- const rewardsAssignedQuery = (programId, locale, type, unit, global = "") => {
865
- return debugQuery(dist.gql `
866
- query (
867
- $programId: ID
868
- $type: RewardType
869
- $unit: String!
870
- $locale: RSLocale
871
- ) {
872
- fallback: formatRewardPrettyValue(
873
- value: 0
874
- unit: $unit
875
- locale: $locale
876
- formatType: UNIT_FORMATTED
877
- )
878
- viewer: viewer {
879
- ... on User {
880
- rewardBalanceDetails(
881
- programId: $programId
882
- filter: { type_eq: $type, unit_eq: $unit }
883
- locale: $locale
884
- ) {
885
- ... on CreditRewardBalance {
886
- prettyAssignedCredit
887
- }
888
- }
889
- }
890
- }
891
- }
892
- `, {
893
- programId: !global && programId !== "classic" ? programId : null,
894
- type,
895
- unit,
896
- locale,
897
- }, (res) => {
898
- var _a, _b, _c, _d, _e;
899
- const arr = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewardBalanceDetails;
900
- const fallback = (_c = res.data) === null || _c === void 0 ? void 0 : _c.fallback;
901
- return {
902
- value: ((_d = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _d === void 0 ? void 0 : _d.prettyAssignedCredit) || 0,
903
- statvalue: ((_e = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _e === void 0 ? void 0 : _e.prettyAssignedCredit) || fallback,
904
- };
905
- });
906
- };
907
- const rewardsExpiredQuery = (programId, locale, type, unit, global = "") => {
908
- return debugQuery(dist.gql `
909
- query (
910
- $programId: ID
911
- $type: RewardType
912
- $unit: String!
913
- $locale: RSLocale
914
- ) {
915
- fallback: formatRewardPrettyValue(
916
- value: 0
917
- unit: $unit
918
- locale: $locale
919
- formatType: UNIT_FORMATTED
920
- )
921
- viewer: viewer {
922
- ... on User {
923
- rewardBalanceDetails(
924
- programId: $programId
925
- filter: { type_eq: $type, unit_eq: $unit }
926
- locale: $locale
927
- ) {
928
- ... on CreditRewardBalance {
929
- prettyExpiredCredit
930
- }
931
- }
932
- }
933
- }
934
- }
935
- `, {
936
- programId: !global && programId !== "classic" ? programId : null,
937
- type,
938
- unit,
939
- locale,
940
- }, (res) => {
941
- var _a, _b, _c, _d, _e;
942
- const arr = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewardBalanceDetails;
943
- const fallback = (_c = res.data) === null || _c === void 0 ? void 0 : _c.fallback;
944
- return {
945
- value: ((_d = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _d === void 0 ? void 0 : _d.prettyExpiredCredit) || 0,
946
- statvalue: ((_e = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _e === void 0 ? void 0 : _e.prettyExpiredCredit) || fallback,
947
- };
948
- });
949
- };
950
- const rewardsCancelledQuery = (programId, locale, type, unit, global = "") => {
951
- return debugQuery(dist.gql `
952
- query (
953
- $programId: ID
954
- $type: RewardType
955
- $unit: String!
956
- $locale: RSLocale
957
- ) {
958
- fallback: formatRewardPrettyValue(
959
- value: 0
960
- unit: $unit
961
- locale: $locale
962
- formatType: UNIT_FORMATTED
963
- )
964
- viewer: viewer {
965
- ... on User {
966
- rewardBalanceDetails(
967
- programId: $programId
968
- filter: { type_eq: $type, unit_eq: $unit }
969
- locale: $locale
970
- ) {
971
- ... on CreditRewardBalance {
972
- prettyCancelledCredit
973
- }
974
- }
975
- }
976
- }
977
- }
978
- `, {
979
- programId: !global && programId !== "classic" ? programId : null,
980
- type,
981
- unit,
982
- locale,
983
- }, (res) => {
984
- var _a, _b, _c, _d, _e;
985
- const arr = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewardBalanceDetails;
986
- const fallback = (_c = res.data) === null || _c === void 0 ? void 0 : _c.fallback;
987
- return {
988
- value: ((_d = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _d === void 0 ? void 0 : _d.prettyCancelledCredit) || 0,
989
- statvalue: ((_e = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _e === void 0 ? void 0 : _e.prettyCancelledCredit) || fallback,
990
- };
991
- });
992
- };
993
- const rewardsAvailableQuery = (programId, locale, type, unit, global = "") => {
994
- return debugQuery(dist.gql `
995
- query (
996
- $programId: ID
997
- $type: RewardType
998
- $unit: String!
999
- $locale: RSLocale
1000
- ) {
1001
- fallback: formatRewardPrettyValue(
1002
- value: 0
1003
- unit: $unit
1004
- locale: $locale
1005
- formatType: UNIT_FORMATTED
1006
- )
1007
- viewer: viewer {
1008
- ... on User {
1009
- rewardBalanceDetails(
1010
- programId: $programId
1011
- filter: { type_eq: $type, unit_eq: $unit }
1012
- locale: $locale
1013
- ) {
1014
- ... on CreditRewardBalance {
1015
- prettyAvailableValue
1016
- }
1017
- }
1018
- }
1019
- }
1020
- }
1021
- `, {
1022
- programId: !global && programId !== "classic" ? programId : null,
1023
- type,
1024
- unit,
1025
- locale,
1026
- }, (res) => {
1027
- var _a, _b, _c, _d, _e;
1028
- const arr = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewardBalanceDetails;
1029
- const fallback = (_c = res.data) === null || _c === void 0 ? void 0 : _c.fallback;
1030
- return {
1031
- value: ((_d = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _d === void 0 ? void 0 : _d.prettyAvailableValue) || 0,
1032
- statvalue: ((_e = arr === null || arr === void 0 ? void 0 : arr[0]) === null || _e === void 0 ? void 0 : _e.prettyAvailableValue) || fallback,
1033
- };
1034
- });
1035
- };
1036
- const parseRewardValueFormat = {
1037
- prettyValue: "UNIT_FORMATTED",
1038
- value: "NUMBER_UNFORMATTED",
1039
- };
1040
- const rewardsBalanceQuery = (programId, locale, type, unit, format = "prettyValue", global = "") => {
1041
- var _a;
1042
- const formatType = (_a = parseRewardValueFormat[format]) !== null && _a !== void 0 ? _a : "UNIT_FORMATTED";
1043
- return debugQuery(dist.gql `
1044
- query (
1045
- $programId: ID
1046
- $type: RewardType!
1047
- $unit: String!
1048
- $locale: RSLocale
1049
- $format: RewardValueFormatType!
1050
- ) {
1051
- fallback: formatRewardPrettyValue(
1052
- value: 0
1053
- unit: $unit
1054
- locale: $locale
1055
- formatType: $format
1056
- )
1057
- viewer: viewer {
1058
- ... on User {
1059
- rewardBalanceDetails(
1060
- programId: $programId
1061
- filter: { type_eq: $type, unit_eq: $unit }
1062
- locale: $locale
1063
- ) {
1064
- ... on CreditRewardBalance {
1065
- totalAssignedCredit
1066
- totalPendingCredit
1067
- }
1068
- }
1069
- }
1070
- }
1071
- }
1072
- `, {
1073
- programId: !global && programId !== "classic" ? programId : null,
1074
- type,
1075
- unit,
1076
- locale,
1077
- format: formatType,
1078
- }, (res) => {
1079
- var _a, _b, _c, _d;
1080
- const arr = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.rewardBalanceDetails;
1081
- const fallback = (_c = res.data) === null || _c === void 0 ? void 0 : _c.fallback;
1082
- const balance = arr === null || arr === void 0 ? void 0 : arr[0];
1083
- const totalEarned = balance
1084
- ? (balance.totalAssignedCredit || 0) +
1085
- (balance.totalPendingCredit || 0)
1086
- : 0;
1087
- const result = wn(dist.gql `
1088
- query (
1089
- $value: Int!
1090
- $unit: String!
1091
- $locale: RSLocale
1092
- $format: RewardValueFormatType!
1093
- ) {
1094
- formatRewardPrettyValue(
1095
- value: $value
1096
- unit: $unit
1097
- locale: $locale
1098
- formatType: $format
1099
- )
1100
- }
1101
- `, {
1102
- value: totalEarned,
1103
- unit,
1104
- locale,
1105
- format: formatType,
1106
- }, res.loading);
1107
- return {
1108
- value: totalEarned,
1109
- statvalue: ((_d = result === null || result === void 0 ? void 0 : result.data) === null || _d === void 0 ? void 0 : _d.formatRewardPrettyValue) || fallback,
1110
- };
1111
- });
1112
- };
1113
- const trafficQuery = () => {
1114
- return debugQuery(dist.gql `
1115
- query traffic {
1116
- viewer: viewer {
1117
- ... on User {
1118
- stats {
1119
- traffic
1120
- }
1121
- }
1122
- }
1123
- }
1124
- `, {}, (res) => {
1125
- var _a, _b, _c;
1126
- const traffic = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats) === null || _c === void 0 ? void 0 : _c.traffic;
1127
- const fallback = 0;
1128
- return {
1129
- value: traffic || fallback,
1130
- statvalue: traffic || fallback,
1131
- };
1132
- });
1133
- };
1134
- const userStatsQuery = (_programId, _locale, statId) => {
1135
- const statArg = {
1136
- [statId]: true,
1137
- };
1138
- const variables = {
1139
- traffic: false,
1140
- referrals: false,
1141
- conversions: false,
1142
- goals: false,
1143
- rewards: false,
1144
- widgetLoads: false,
1145
- revenue: false,
1146
- generatedRevenue: false,
1147
- referredRevenue: false,
1148
- ...statArg,
1149
- };
1150
- return debugQuery(dist.gql `
1151
- query userStat(
1152
- $traffic: Boolean!
1153
- $referrals: Boolean!
1154
- $conversions: Boolean!
1155
- $goals: Boolean!
1156
- $rewards: Boolean!
1157
- $widgetLoads: Boolean!
1158
- $revenue: Boolean!
1159
- $generatedRevenue: Boolean!
1160
- $referredRevenue: Boolean!
1161
- ) {
1162
- viewer: viewer {
1163
- ... on User {
1164
- stats {
1165
- traffic @include(if: $traffic)
1166
- referrals @include(if: $referrals)
1167
- conversions @include(if: $conversions)
1168
- goals @include(if: $goals)
1169
- rewards @include(if: $rewards)
1170
- widgetLoads @include(if: $widgetLoads)
1171
- revenue @include(if: $revenue)
1172
- generatedRevenue @include(if: $generatedRevenue)
1173
- referredRevenue @include(if: $referredRevenue)
1174
- }
1175
- }
1176
- }
1177
- }
1178
- `, { ...variables }, (res) => {
1179
- var _a, _b, _c;
1180
- const stat = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.stats) === null || _c === void 0 ? void 0 : _c[statId];
1181
- const fallback = 0;
1182
- return {
1183
- value: stat || fallback,
1184
- statvalue: stat || fallback,
1185
- };
1186
- });
1187
- };
1188
- const payoutBalanceQuery = () => {
1189
- return debugQuery(dist.gql `
1190
- query payoutBalance {
1191
- viewer: viewer {
1192
- ... on User {
1193
- id
1194
- impactConnection {
1195
- publisher {
1196
- payoutsAccount {
1197
- balance
1198
- }
1199
- }
1200
- }
1201
- }
1202
- }
1203
- }
1204
- `, {}, (res) => {
1205
- var _a, _b, _c, _d;
1206
- const fallback = 0;
1207
- const balance = (_d = (_c = (_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.payoutsAccount) === null || _d === void 0 ? void 0 : _d.balance;
1208
- const balanceText = `${balance || fallback}`;
1209
- return {
1210
- value: balance || fallback,
1211
- statvalue: balanceText,
1212
- };
1213
- });
1214
- };
1215
- // functions are of the form (programId: string, ...args: string) => string
1216
- const queries = {
1217
- rewardsAssigned: {
1218
- label: "Rewards Earned",
1219
- query: rewardsAssignedQuery,
1220
- },
1221
- rewardsPending: {
1222
- label: "Rewards Pending",
1223
- query: rewardsPendingQuery,
1224
- },
1225
- rewardsExpired: {
1226
- label: "Rewards Expired",
1227
- query: rewardsExpiredQuery,
1228
- },
1229
- rewardsCancelled: {
1230
- label: "Rewards Cancelled",
1231
- query: rewardsCancelledQuery,
1232
- },
1233
- rewardsRedeemed: {
1234
- label: "Rewards Paid",
1235
- query: rewardsRedeemedQuery,
1236
- },
1237
- rewardsRedeemedMonth: {
1238
- label: "Rewards Paid - This Month",
1239
- query: rewardsRedeemedMonthQuery,
1240
- },
1241
- rewardsRedeemedWeek: {
1242
- label: "Rewards Paid - This Week",
1243
- query: rewardsRedeemedWeekQuery,
1244
- },
1245
- rewardsAvailable: {
1246
- label: "Rewards Available",
1247
- query: rewardsAvailableQuery,
1248
- },
1249
- referralsCount: {
1250
- label: "Referrals - Count",
1251
- query: referralsCountQuery,
1252
- },
1253
- referralsMonth: {
1254
- label: "Referrals - This Month",
1255
- query: referralsMonthQuery,
1256
- },
1257
- referralsWeek: {
1258
- label: "Referrals - This Week",
1259
- query: referralsWeekQuery,
1260
- },
1261
- rewardsCount: {
1262
- label: "Rewards",
1263
- query: rewardsCountQuery,
1264
- },
1265
- rewardsCountFiltered: {
1266
- label: "Rewards",
1267
- query: rewardsCountFilteredQuery,
1268
- },
1269
- integrationRewardsCountFiltered: {
1270
- label: "Rewards",
1271
- query: integrationRewardsCountFilteredQuery,
1272
- },
1273
- rewardsMonth: {
1274
- label: "Rewards - This Month",
1275
- query: rewardsMonthQuery,
1276
- },
1277
- rewardsWeek: {
1278
- label: "Rewards - This Week",
1279
- query: rewardsWeekQuery,
1280
- },
1281
- rewardBalance: {
1282
- label: "Balance - Credit Earned",
1283
- query: rewardsBalanceQuery,
1284
- },
1285
- programGoals: {
1286
- label: "Program Goals",
1287
- query: programGoalsQuery,
1288
- },
1289
- customFields: {
1290
- label: "Custom Fields",
1291
- query: customFieldsQuery,
1292
- },
1293
- traffic: {
1294
- label: "Traffic",
1295
- query: trafficQuery,
1296
- },
1297
- userStats: {
1298
- label: "User Stat",
1299
- query: userStatsQuery,
1300
- },
1301
- payoutBalance: {
1302
- label: "Payout Balance",
1303
- query: payoutBalanceQuery,
1304
- },
1305
- };
1306
- // ! Any update to this should be reflected in StatPathBuilder.tsx in the saasquatch repo
1307
- // this should be exposed in documentation somehow
1308
- const StatPaths = [
1309
- { name: "programGoals", route: "/(programGoals)/:metricType/:goalId" },
1310
- { name: "customFields", route: "/(customFields)/:customField" },
1311
- { name: "referralsCount", route: "/(referralsCount)/:status?" },
1312
- { name: "referralsMonth", route: "/(referralsMonth)/:status?" },
1313
- { name: "referralsWeek", route: "/(referralsWeek)/:status?" },
1314
- { name: "rewardsCount", route: "/(rewardsCount)/:global?" },
1315
- { name: "rewardsMonth", route: "/(rewardsMonth)/:global?" },
1316
- { name: "rewardsWeek", route: "/(rewardsWeek)/:global?" },
1317
- {
1318
- name: "rewardsCountFiltered",
1319
- route: "/(rewardsCountFiltered)/:statType([FUELTANK|INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?",
1320
- },
1321
- {
1322
- name: "integrationRewardsCountFiltered",
1323
- route: "/(integrationRewardsCountFiltered)/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?",
1324
- },
1325
- {
1326
- name: "rewardsAssigned",
1327
- route: "/(rewardsAssigned)/:statType/:unit/:global?",
1328
- },
1329
- {
1330
- name: "rewardsExpired",
1331
- route: "/(rewardsExpired)/:statType/:unit/:global?",
1332
- },
1333
- {
1334
- name: "rewardsCancelled",
1335
- route: "/(rewardsCancelled)/:statType/:unit/:global?",
1336
- },
1337
- {
1338
- name: "rewardsPending",
1339
- route: "/(rewardsPending)/:statType/:unit/:global?",
1340
- },
1341
- {
1342
- name: "rewardsRedeemed",
1343
- route: "/(rewardsRedeemed)/:statType/:unit/:global?",
1344
- },
1345
- {
1346
- name: "rewardsRedeemedWeek",
1347
- route: "/(rewardsRedeemedWeek)/:statType/:unit/:global?",
1348
- },
1349
- {
1350
- name: "rewardsRedeemedMonth",
1351
- route: "/(rewardsRedeemedMonth)/:statType/:unit/:global?",
1352
- },
1353
- {
1354
- name: "rewardsAvailable",
1355
- route: "/(rewardsAvailable)/:statType/:unit/:global?",
1356
- },
1357
- {
1358
- name: "rewardBalance",
1359
- route: "/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?",
1360
- },
1361
- {
1362
- name: "traffic",
1363
- route: "/(traffic)",
1364
- },
1365
- {
1366
- name: "userStats",
1367
- route: "/(userStats)/:statId",
1368
- },
1369
- {
1370
- name: "payoutBalance",
1371
- route: "/(payoutBalance)",
1372
- },
1373
- ];
1374
- const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
1375
- function useBigStat(props) {
1376
- var _a;
1377
- const { statType, flexReverse, alignment, programId = H(), } = props;
1378
- // triggers a re-render if the label is manually changed
1379
- useChildElements();
1380
- const locale = L();
1381
- const userIdent = J();
1382
- const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
1383
- if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
1384
- return {
1385
- props: {
1386
- value: 0,
1387
- statvalue: "-",
1388
- flexReverse,
1389
- alignment,
1390
- loading: false,
1391
- statTextColor: props.statTextColor,
1392
- statFontSize: props.statFontSize,
1393
- descriptionTextColor: props.descriptionTextColor,
1394
- descriptionFontSize: props.descriptionFontSize,
1395
- statFontWeight: props.statFontWeight,
1396
- },
1397
- label: "BAD PROP TYPE",
1398
- };
1399
- }
1400
- const result = re.exec(statType);
1401
- const queryName = result[1];
1402
- const statPath = StatPaths.find((pattern) => pattern.name === queryName);
1403
- // Get a list all possible keys in path
1404
- const keys = [];
1405
- const regex = pathToRegexp(statPath === null || statPath === void 0 ? void 0 : statPath.route, keys, {
1406
- strict: false,
1407
- sensitive: false,
1408
- end: true,
1409
- });
1410
- const allQueryArgs = regex.exec(statType);
1411
- // Retrieve all key values in order including undefined
1412
- const queryArgs = keys.map((_, i) => allQueryArgs[i + 1] ? decodeURIComponent(allQueryArgs[i + 1]) : undefined);
1413
- // remove query name from list
1414
- queryArgs.shift();
1415
- const label = queries[queryName].label;
1416
- const stat = (userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt) && queries[queryName].query(programId, locale, ...queryArgs);
1417
- debug("stat:", stat);
1418
- return {
1419
- props: {
1420
- value: stat === null || stat === void 0 ? void 0 : stat.value,
1421
- statvalue: (_a = stat === null || stat === void 0 ? void 0 : stat.statvalue) !== null && _a !== void 0 ? _a : LOADING,
1422
- loading: stat === null || stat === void 0 ? void 0 : stat.loading,
1423
- flexReverse,
1424
- alignment,
1425
- statTextColor: props.statTextColor,
1426
- statFontSize: props.statFontSize,
1427
- descriptionTextColor: props.descriptionTextColor,
1428
- descriptionFontSize: props.descriptionFontSize,
1429
- statFontWeight: props.statFontWeight,
1430
- },
1431
- label,
1432
- };
1433
- }
1434
-
1435
- function useDemoBigStat(props) {
1436
- const { statType } = props;
1437
- const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
1438
- // triggers a re-render if the label is manually changed
1439
- useChildElements();
1440
- if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
1441
- return {
1442
- props: {
1443
- value: 0,
1444
- statvalue: "-",
1445
- loading: false,
1446
- flexReverse: props.flexReverse,
1447
- alignment: props.alignment,
1448
- statTextColor: props.statTextColor,
1449
- statFontSize: props.statFontSize,
1450
- descriptionTextColor: props.descriptionTextColor,
1451
- descriptionFontSize: props.descriptionFontSize,
1452
- },
1453
- label: "BAD PROP TYPE",
1454
- };
1455
- }
1456
- const result = re.exec(statType);
1457
- const queryName = result[1];
1458
- const label = queries[queryName].label;
1459
- return {
1460
- props: cjs({
1461
- statvalue: "12345",
1462
- value: 0,
1463
- flexReverse: props.flexReverse,
1464
- alignment: props.alignment,
1465
- statTextColor: props.statTextColor,
1466
- statFontSize: props.statFontSize,
1467
- descriptionTextColor: props.descriptionTextColor,
1468
- descriptionFontSize: props.descriptionFontSize,
1469
- statFontWeight: props.statFontWeight,
1470
- }, props.demoData || {}, { arrayMerge: (_, a) => a }),
1471
- label: label !== null && label !== void 0 ? label : "Demo Label",
1472
- };
1473
- }
1474
-
1475
- function CardFeedView(props, children) {
1476
- // Dependent on props, not feasiable to move out
1477
- const style = {
1478
- Container: {
1479
- columnGap: props.gap + "px",
1480
- columnWidth: props.width + "px",
1481
- "& > div": {
1482
- marginBottom: "24px",
1483
- },
1484
- },
1485
- };
1486
- const sheet = createStyleSheet(style);
1487
- const styleString = sheet.toString();
1488
- const vanillaStyle = `
1489
- :host{
1490
- display: block;
1491
- }
1492
-
1493
- `;
1494
- return (h("div", null,
1495
- h("style", { type: "text/css" },
1496
- styleString,
1497
- vanillaStyle),
1498
- h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
1499
- }
1500
-
1501
- const style$2 = {
1502
- Description: {
1503
- "& .icon": {
1504
- color: "var(--sqm-text)",
1505
- "&:hover": {
1506
- color: "var(--sqm-accent-color-icon)",
1507
- },
1508
- },
1509
- "& input[type=checkbox]": {
1510
- display: "none",
1511
- },
1512
- "& input:checked ~ .details": {
1513
- transform: "rotate(-180deg)",
1514
- },
1515
- "& .details": {
1516
- position: "absolute",
1517
- top: "var(--sl-spacing-medium)",
1518
- right: "var(--sl-spacing-medium)",
1519
- color: "var(--sqm-text)",
1520
- fontSize: "var(--sl-font-size-large)",
1521
- "& :hover": {
1522
- color: "var(--sl-color-primary-700)",
1523
- },
1524
- transformOrigin: "50% 37%",
1525
- transition: "transform var(--sl-transition-medium) ease",
1526
- cursor: "pointer",
1527
- },
1528
- "& input:checked ~ .summary": {
1529
- transition: "all var(--sl-transition-medium) ease",
1530
- maxHeight: "300px",
1531
- marginBottom: "var(--sl-spacing-x-large)",
1532
- },
1533
- "& input:checked ~ .summary[progress-bar]": {
1534
- marginBottom: "var(--sl-spacing-xx-large)",
1535
- },
1536
- "& .summary": {
1537
- display: "block",
1538
- overflow: "hidden",
1539
- fontSize: "var(--sl-font-size-small)",
1540
- maxHeight: "0px",
1541
- transition: "all var(--sl-transition-fast) ease-out",
1542
- marginBottom: "var(--sl-spacing-medium)",
1543
- },
1544
- },
1545
- };
1546
- const sheet$2 = createStyleSheet(style$2);
1547
- const styleString$2 = sheet$2.toString();
1548
- function Details(props) {
1549
- const rid = Math.random().toString(36).slice(2);
1550
- return (h("div", { style: { opacity: props.opacity } },
1551
- h("style", { type: "text/css" }, styleString$2),
1552
- h("span", { class: sheet$2.classes.Description },
1553
- h("input", { type: "checkbox", id: "details-" + rid }),
1554
- h("label", { class: "details", htmlFor: "details-" + rid },
1555
- h("sl-icon", { class: "icon", exportparts: "base: chevron-icon", name: "chevron-down" })),
1556
- h("span", { class: "summary", "progress-bar": props.progressBar }, props.content.description))));
1557
- }
1558
-
1559
- const Gift = () => {
1560
- return (h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
1561
- h("path", { d: "M15 5H12.4508H9V16H13.5C14.0523 16 14.5 15.5523 14.5 15V9H15C15.5523 9 16 8.55228 16 8V6C16 5.44772 15.5523 5 15 5Z", fill: "#F2C94C" }),
1562
- h("path", { d: "M1.5 9V15C1.5 15.5523 1.94772 16 2.5 16H7V5H4.64242H1C0.447715 5 0 5.44772 0 6V8C0 8.55228 0.447715 9 1 9H1.5Z", fill: "#F2C94C" }),
1563
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.5 9V10H14.5V9H1.5Z", fill: "#BE9720" }),
1564
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#EB5757" })));
1565
- };
1566
- const GreyGift = () => {
1567
- return (h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
1568
- h("path", { d: "M15 5H12.4508H9V16H13.5C14.0523 16 14.5 15.5523 14.5 15V9H15C15.5523 9 16 8.55228 16 8V6C16 5.44772 15.5523 5 15 5Z", fill: "#C9C9C9" }),
1569
- h("path", { d: "M1.5 9V15C1.5 15.5523 1.94772 16 2.5 16H7V5H4.64242H1C0.447715 5 0 5.44772 0 6V8C0 8.55228 0.447715 9 1 9H1.5Z", fill: "#C9C9C9" }),
1570
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.5 9V10H14.5V9H1.5Z", fill: "#A5A3A3" }),
1571
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
1572
- };
1573
-
1574
- const style$3 = {
1575
- ProgressBar: {
1576
- "& .progress-bar": {
1577
- height: "0",
1578
- marginTop: "var(--sl-spacing-large)",
1579
- marginBottom: "var(--sl-spacing-xxx-large)",
1580
- marginRight: "var(--sl-spacing-x-small)",
1581
- fontSize: "var(--sl-font-size-x-small)",
1582
- display: "grid",
1583
- lineHeight: "45px",
1584
- userSelect: "none",
1585
- },
1586
- "& .progress-bar.repeatable-steps": {
1587
- marginLeft: "var(--sl-spacing-x-small)",
1588
- },
1589
- "&[data-steps]": {
1590
- marginTop: "calc(-1*var(--sl-spacing-x-small))",
1591
- },
1592
- "&[data-steps] .progress-bar": {
1593
- marginTop: "var(--sl-spacing-medium)",
1594
- },
1595
- "&[data-expired] .progress::after": {
1596
- backgroundColor: "#bfbfbf",
1597
- },
1598
- "&[data-expired] .filled::after": {
1599
- backgroundColor: "#bfbfbf",
1600
- },
1601
- "&[data-complete] .filled::after .progress::after": {
1602
- backgroundColor: "var(--sl-color-primary-200)",
1603
- },
1604
- "& .gift": {
1605
- textAlign: "center",
1606
- marginLeft: "-100px",
1607
- marginRight: "-100px",
1608
- position: "relative",
1609
- top: "-18px",
1610
- },
1611
- "& .gift.start": {
1612
- transform: "scale(80%)",
1613
- top: "-20px",
1614
- },
1615
- "& .filled:after": {
1616
- content: '""',
1617
- display: "flex",
1618
- width: "100%",
1619
- height: "4px",
1620
- borderRadius: "4px",
1621
- backgroundColor: "var(--sqm-accent-color-icon)",
1622
- background: "red",
1623
- },
1624
- "& .progress": {
1625
- display: "block",
1626
- textAlign: "center",
1627
- marginLeft: "-100px",
1628
- marginRight: "-100px",
1629
- },
1630
- "& .progress::after": {
1631
- content: '""',
1632
- width: "12px",
1633
- height: "12px",
1634
- display: "flex",
1635
- backgroundColor: "var(--sqm-accent-color-icon)",
1636
- borderRadius: "50%",
1637
- position: "relative",
1638
- left: "47%",
1639
- top: "-85%",
1640
- },
1641
- "& .progress.bg:after": {
1642
- width: "0",
1643
- height: "0",
1644
- border: "none",
1645
- },
1646
- "& .progress.top": {
1647
- position: "relative",
1648
- top: "-40px",
1649
- },
1650
- "& .progress.top:after": {
1651
- top: "-16%",
1652
- },
1653
- "& .empty": {
1654
- display: "block",
1655
- textAlign: "center",
1656
- marginLeft: "-100px",
1657
- marginRight: "-100px",
1658
- },
1659
- "& .empty::after": {
1660
- content: '""',
1661
- width: "12px",
1662
- height: "12px",
1663
- border: "2px solid #E0E0E0",
1664
- margin: "-2px",
1665
- display: "flex",
1666
- backgroundColor: "white",
1667
- borderRadius: "50%",
1668
- position: "relative",
1669
- left: "47%",
1670
- top: "-85%",
1671
- },
1672
- "& .empty.bg:after": {
1673
- width: "0",
1674
- height: "0",
1675
- border: "none",
1676
- },
1677
- "& .remain:after": {
1678
- content: '""',
1679
- display: "flex",
1680
- width: "100%",
1681
- height: "4px",
1682
- borderRadius: "4px",
1683
- backgroundColor: "#E0E0E0",
1684
- },
1685
- },
1686
- };
1687
- const sheet$3 = createStyleSheet(style$3, { classNamePrefix: "sqm-prog-bar" });
1688
- const styleString$3 = sheet$3.toString();
1689
- function ProgressBarView(props) {
1690
- const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1691
- let aggregate = buildProgressBar(repeatable, steps, props);
1692
- const { columns, items } = aggregate;
1693
- return (h("div", { class: sheet$3.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1694
- h("style", { type: "text/css" }, styleString$3),
1695
- h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1696
- (Boolean(finite) && progress > 2 * goal)
1697
- ? "progress-bar repeatable-steps"
1698
- : "progress-bar", style: {
1699
- gridTemplateColumns: columns,
1700
- marginLeft: progress === 0 && !steps ? "var(--sl-spacing-x-small)" : "",
1701
- } }, items)));
1702
- }
1703
- function buildProgressBar(repeatable, steps, props) {
1704
- if (repeatable) {
1705
- if (steps) {
1706
- return addStepsRepeatable(props);
1707
- }
1708
- else {
1709
- return addLinearRepeatable(props);
1710
- }
1711
- }
1712
- // non repeatable
1713
- else {
1714
- if (steps) {
1715
- return addSteps(props);
1716
- }
1717
- else {
1718
- return addLinear(props);
1719
- }
1720
- }
1721
- }
1722
- function addSteps({ progress, goal, expired }) {
1723
- const items = [];
1724
- const columns = [];
1725
- let ratio = 1 / goal;
1726
- for (let i = 1; i < goal; i++) {
1727
- columns.push(ratio + "fr");
1728
- columns.push("0fr");
1729
- if (i > progress) {
1730
- items.push(h("div", { class: "remain" }));
1731
- items.push(h("div", { class: "empty" }, i));
1732
- }
1733
- else {
1734
- items.push(h("div", { class: "filled" }));
1735
- items.push(h("div", { class: "progress" }, i));
1736
- }
1737
- }
1738
- columns.push(ratio + "fr");
1739
- columns.push("0fr");
1740
- // reward success
1741
- if (goal <= progress) {
1742
- columns.push("0fr");
1743
- items.push(h("div", { class: "filled" }));
1744
- items.push(h("div", { class: "progress bg" }, goal));
1745
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1746
- }
1747
- // reward fail
1748
- else {
1749
- columns.push("0fr");
1750
- items.push(h("div", { class: "remain" }));
1751
- items.push(h("div", { class: "empty bg" }, goal));
1752
- items.push(h("div", { class: "gift" },
1753
- h(GreyGift, null)));
1754
- }
1755
- return {
1756
- items,
1757
- columns: columns.join(" "),
1758
- };
1759
- }
1760
- function addLinearRepeatable({ progress, goal, progressBarUnit, finite, expired, }) {
1761
- let repetitions = Math.floor(progress / goal);
1762
- let ratio = ((progress % goal) / goal) * 0.5;
1763
- const items = [];
1764
- let columns = "";
1765
- // 0 repetition
1766
- if (repetitions == 0) {
1767
- columns = ratio + "fr 0fr " + (0.5 - ratio) + "fr 0fr 0fr 0.5fr 0fr 0fr";
1768
- items.push(h("div", { class: "filled" }));
1769
- items.push(h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progressBarUnit + progress));
1770
- items.push(h("div", { class: "remain" }));
1771
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
1772
- items.push(h("div", { class: "gift" }, progress == goal ? expired ? h(GreyGift, null) : h(Gift, null) : h(GreyGift, null)));
1773
- items.push(h("div", { class: "remain" }));
1774
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * 2));
1775
- items.push(h("div", { class: "gift" }, h(GreyGift, null)));
1776
- }
1777
- // single repetition
1778
- else if (repetitions == 1) {
1779
- columns =
1780
- "0.5fr 0fr 0fr " + ratio + "fr 0fr " + (0.5 - ratio) + "fr 0fr 0fr";
1781
- items.push(h("div", { class: "filled" }));
1782
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
1783
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1784
- items.push(h("div", { class: "filled" }));
1785
- items.push(h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progress == goal ? "" : progressBarUnit + progress));
1786
- items.push(h("div", { class: "remain" }));
1787
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * 2));
1788
- items.push(h("div", { class: "gift" }, h(GreyGift, null)));
1789
- }
1790
- // finite repetition hit
1791
- else if (finite && repetitions >= finite) {
1792
- if (repetitions > 2) {
1793
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 2)));
1794
- items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
1795
- columns = "0fr 0fr 0.5fr 0fr 0fr 0.5fr 0fr 0fr";
1796
- }
1797
- else {
1798
- columns = "0.5fr 0fr 0fr 0.5fr 0fr 0fr";
1799
- }
1800
- items.push(h("div", { class: "filled" }));
1801
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 1)));
1802
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1803
- items.push(h("div", { class: "filled" }));
1804
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * finite));
1805
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1806
- }
1807
- // multiple repetitions
1808
- else {
1809
- columns =
1810
- "0fr 0fr 0.5fr 0fr 0fr " +
1811
- ratio +
1812
- "fr 0fr " +
1813
- (0.5 - ratio) +
1814
- "fr 0fr 0fr";
1815
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (repetitions - 1)));
1816
- items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
1817
- items.push(h("div", { class: "filled" }));
1818
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * repetitions));
1819
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1820
- items.push(h("div", { class: "filled" }));
1821
- items.push(h("div", { class: progress == goal * repetitions ? "progress top bg" : "progress top" }, progress == goal * repetitions ? "" : progressBarUnit + progress));
1822
- items.push(h("div", { class: "remain" }));
1823
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal * (repetitions + 1)));
1824
- items.push(h("div", { class: "gift" }, h(GreyGift, null)));
1825
- }
1826
- return { items, columns };
1827
- }
1828
- function addStepsRepeatable({ progress, goal, finite, expired, }) {
1829
- const items = [];
1830
- const columns = [];
1831
- let repetitions = Math.floor(progress / goal);
1832
- // no or single repetition
1833
- if (repetitions < 2) {
1834
- let ratio = 1 / goal;
1835
- for (let i = 1; i < goal * 2 + 1; i++) {
1836
- columns.push(ratio + "fr");
1837
- columns.push("0fr");
1838
- if (i > progress) {
1839
- if (i == goal) {
1840
- columns.push("0fr");
1841
- items.push(h("div", { class: "remain" }));
1842
- items.push(h("div", { class: "empty bg" }, goal));
1843
- items.push(h("div", { class: "gift" }, h(GreyGift, null)));
1844
- }
1845
- else if (i == goal * 2) {
1846
- columns.push("0fr");
1847
- columns.push("0fr");
1848
- items.push(h("div", { class: "remain" }));
1849
- items.push(h("div", { class: "empty bg" }, goal * 2));
1850
- items.push(h("div", { class: "gift" }, h(GreyGift, null)));
1851
- }
1852
- else {
1853
- items.push(h("div", { class: "remain" }));
1854
- items.push(h("div", { class: "empty" }, i));
1855
- }
1856
- }
1857
- else if (i == goal) {
1858
- columns.push("0fr");
1859
- items.push(h("div", { class: "filled" }));
1860
- items.push(h("div", { class: "progress bg" }, i));
1861
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1862
- }
1863
- else {
1864
- items.push(h("div", { class: "filled" }));
1865
- items.push(h("div", { class: "progress" }, i));
1866
- }
1867
- }
1868
- }
1869
- // finite repetition hit
1870
- else if (finite && repetitions >= finite) {
1871
- let ratio = 1 / goal;
1872
- if (repetitions > 2) {
1873
- columns.push("0fr");
1874
- columns.push("0fr");
1875
- items.push(h("div", { class: "progress bg" }, goal * (finite - 2)));
1876
- items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
1877
- }
1878
- for (let i = 1; i < goal * 2 + 1; i++) {
1879
- columns.push(ratio + "fr");
1880
- columns.push("0fr");
1881
- if (i > progress) {
1882
- if (i == goal) {
1883
- columns.push("0fr");
1884
- items.push(h("div", { class: "remain" }));
1885
- items.push(h("div", { class: "progress bg" }, goal * (finite - 1)));
1886
- items.push(h("div", { class: "gift" }, h(GreyGift, null)));
1887
- }
1888
- }
1889
- else if (i == goal) {
1890
- columns.push("0fr");
1891
- items.push(h("div", { class: "filled" }));
1892
- items.push(h("div", { class: "progress bg" }, goal * (finite - 1)));
1893
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1894
- }
1895
- else if (i == goal * 2) {
1896
- columns.push("0fr");
1897
- columns.push("0fr");
1898
- items.push(h("div", { class: "filled" }));
1899
- items.push(h("div", { class: "progress bg" }, goal * finite));
1900
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1901
- }
1902
- else {
1903
- items.push(h("div", { class: "filled" }));
1904
- items.push(h("div", { class: "progress" }, i + goal * (finite - 2)));
1905
- }
1906
- }
1907
- }
1908
- // case repetition many
1909
- else {
1910
- let position = (progress % goal) + goal;
1911
- let ratio = 1 / goal;
1912
- columns.push("0fr");
1913
- columns.push("0fr");
1914
- items.push(h("div", { class: "progress bg" }, goal * (repetitions - 1)));
1915
- items.push(h("div", { class: "gift start" }, expired ? h(GreyGift, null) : h(Gift, null)));
1916
- for (let i = 1; i < goal * 2 + 1; i++) {
1917
- columns.push(ratio + "fr");
1918
- columns.push("0fr");
1919
- if (i <= goal) {
1920
- if (i == goal) {
1921
- columns.push("0fr");
1922
- items.push(h("div", { class: "filled" }));
1923
- items.push(h("div", { class: "progress bg" }, i + goal * (repetitions - 1)));
1924
- items.push(h("div", { class: "gift" }, expired ? h(GreyGift, null) : h(Gift, null)));
1925
- }
1926
- else {
1927
- items.push(h("div", { class: "filled" }));
1928
- items.push(h("div", { class: "progress" }, i + goal * (repetitions - 1)));
1929
- }
1930
- }
1931
- else if (i > position) {
1932
- if (i == goal * 2) {
1933
- columns.push("0fr");
1934
- columns.push("0fr");
1935
- items.push(h("div", { class: "remain" }));
1936
- items.push(h("div", { class: "empty bg" }, i + goal * (repetitions - 1)));
1937
- items.push(h("div", { class: "gift" }, h(GreyGift, null)));
1938
- }
1939
- else {
1940
- items.push(h("div", { class: "remain" }));
1941
- items.push(h("div", { class: "empty" }, i + goal * (repetitions - 1)));
1942
- }
1943
- }
1944
- else {
1945
- items.push(h("div", { class: "filled" }));
1946
- items.push(h("div", { class: "progress" }, i + goal * (repetitions - 1)));
1947
- }
1948
- }
1949
- }
1950
- return { items, columns: columns.join(" ") };
1951
- }
1952
- function addLinear({ progress, goal, progressBarUnit, expired, }) {
1953
- const items = [];
1954
- let columns = "";
1955
- const ratio = progress / goal;
1956
- columns =
1957
- clamp(ratio, 0, 1) + "fr 0fr " + clamp(1 - ratio, 0, 1) + "fr 0fr 0fr";
1958
- items.push(h("div", { class: "filled" }));
1959
- items.push(h("div", { class: clamp(progress, 0, goal) == goal ? "progress top bg" : "progress top" }, clamp(progress, 0, goal) == goal
1960
- ? ""
1961
- : progressBarUnit + clamp(progress, 0, goal)));
1962
- items.push(h("div", { class: "remain" }));
1963
- items.push(h("div", { class: "progress bg" }, progressBarUnit + goal));
1964
- items.push(h("div", { class: "gift" }, clamp(progress, 0, goal) == goal ? (expired ? (h(GreyGift, null)) : (h(Gift, null))) : (h(GreyGift, null))));
1965
- return { items, columns };
1966
- }
1967
- function clamp(x, min, max) {
1968
- return Math.min(Math.max(x, min), max);
1969
- }
1970
-
1971
- const checkmark_circle = () => {
1972
- return (h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
1973
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.81818 10C1.81818 5.48131 5.48131 1.81818 10 1.81818C14.5187 1.81818 18.1818 5.48131 18.1818 10C18.1818 14.5187 14.5187 18.1818 10 18.1818C5.48131 18.1818 1.81818 14.5187 1.81818 10ZM10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0ZM15.7692 6.96189C16.1398 6.48683 16.0551 5.80132 15.58 5.43077C15.1049 5.06022 14.4194 5.14495 14.0489 5.62001L8.72994 12.4391L5.86229 9.5715C5.43627 9.14548 4.74554 9.14548 4.31952 9.5715C3.89349 9.99752 3.89349 10.6882 4.31952 11.1143L8.05976 14.8545C8.28083 15.0756 8.58613 15.1912 8.89818 15.172C9.21023 15.1528 9.49905 15.0006 9.69133 14.7541L15.7692 6.96189Z", fill: "currentColor" })));
1974
- };
1975
- const checkmark_filled = () => {
1976
- return (h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
1977
- h("circle", { cx: "10", cy: "10", r: "10", fill: "currentColor" }),
1978
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14.65 6.19231C15.0459 6.5011 15.1165 7.07236 14.8077 7.46825L9.74277 13.9617C9.58254 14.1672 9.34186 14.294 9.08182 14.31C8.82178 14.326 8.56736 14.2297 8.38314 14.0454L5.26627 10.9286C4.91124 10.5735 4.91124 9.99794 5.26627 9.64292C5.62129 9.2879 6.19689 9.2879 6.55191 9.64292L8.94162 12.0326L13.3741 6.35001C13.6828 5.95412 14.2541 5.88352 14.65 6.19231Z", fill: "white" })));
1979
- };
1980
- const arrow_left_right = () => {
1981
- return (h("svg", { width: 11, height: 12, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
1982
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
1983
- };
1984
-
1985
- function TaskCardView(props) {
1986
- var _a, _b;
1987
- const { callbacks, states, content } = props;
1988
- const style = {
1989
- TaskCard: {
1990
- display: "inline-block",
1991
- width: "100%",
1992
- "& .main": {
1993
- position: "relative",
1994
- boxSizing: "border-box",
1995
- background: content.backgroundColor || "var(--sqm-portal-background)",
1996
- border: `var(--sqm-border-thickness) solid ${content.borderColor || "var(--sqm-border-color)"}`,
1997
- borderRadius: "var(--sqm-border-radius-normal)",
1998
- boxShadow: "1px 2px 4px rgba(211, 211, 211, 0.4)",
1999
- fontSize: "var(--sl-font-size-small)",
2000
- lineHeight: "var(--sl-line-height-dense)",
2001
- color: content.textColor || "var(--sqm-text)",
2002
- },
2003
- "& .main.complete": {
2004
- opacity: "0.8",
2005
- borderColor: "var(--sqm-accent-color-border)",
2006
- },
2007
- "& .main.expired": {
2008
- color: content.textColor || "var(--sqm-text)",
2009
- opacity: "0.8",
2010
- },
2011
- "& .title": {
2012
- fontSize: "var(--sl-font-size-medium)",
2013
- color: content.textColor || "var(--sqm-text)",
2014
- },
2015
- "& .container": {
2016
- margin: "var(--sl-spacing-medium)",
2017
- },
2018
- "& .container.subdued": {
2019
- opacity: "0.45",
2020
- },
2021
- "& .container > div": {
2022
- margin: "var(--sl-spacing-medium) 0",
2023
- },
2024
- },
2025
- NotStarted: {
2026
- fontSize: "var(--sl-font-size-small)",
2027
- padding: "var(--sl-spacing-medium)",
2028
- color: content.textColor || "var(--sqm-primary-color)",
2029
- border: `var(--sqm-border-thickness, 1px) solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2030
- borderRadius: "var(--sqm-border-radius-normal) var(--sqm-border-radius-normal) 0 0",
2031
- borderBottom: "none",
2032
- background: content.backgroundColor || "var(--sl-color-primary-50)",
2033
- fontWeight: "var(--sl-font-weight-semibold)",
2034
- lineHeight: "var(--sl-line-height-dense)",
2035
- "& .icon": {
2036
- position: "relative",
2037
- top: "0.1em",
2038
- marginRight: "var(--sl-spacing-small)",
2039
- color: content.textColor || "var(--sqm-text)",
2040
- },
2041
- },
2042
- Ended: {
2043
- fontSize: "var(--sl-font-size-small)",
2044
- padding: "var(--sl-spacing-medium)",
2045
- color: content.textColor || "var(--sqm-warning-color-text)",
2046
- border: `var(--sqm-border-thickness, 1px) solid ${content.borderColor || "var(--sl-color-neutral-200)"}`,
2047
- borderRadius: "var(--sqm-border-radius-normal) var(--sqm-border-radius-normal) 0 0",
2048
- borderBottom: "none",
2049
- background: content.backgroundColor || "var(--sqm-warning-color-background)",
2050
- fontWeight: "var(--sl-font-weight-semibold)",
2051
- lineHeight: "var(--sl-line-height-dense)",
2052
- "& .icon": {
2053
- position: "relative",
2054
- top: "0.1em",
2055
- marginRight: "var(--sl-spacing-small)",
2056
- color: content.textColor || "var(--sqm-text)",
2057
- },
2058
- },
2059
- Header: {
2060
- display: "flex",
2061
- "& .icon": {
2062
- position: "relative",
2063
- top: "5%",
2064
- alignSelf: "center",
2065
- lineHeight: "0",
2066
- color: "var(--sqm-accent-color-icon)",
2067
- fontSize: "var(--sl-font-size-large)",
2068
- marginRight: "var(--sl-spacing-x-small)",
2069
- },
2070
- "& .value": {
2071
- alignSelf: "center",
2072
- fontSize: "var(--sl-font-size-x-large)",
2073
- fontWeight: "var(--sl-font-weight-semibold)",
2074
- color: content.textColor || "var(--sqm-text)",
2075
- lineHeight: "100%",
2076
- marginRight: "var(--sl-spacing-xx-small)",
2077
- },
2078
- "& .text": {
2079
- alignSelf: "end",
2080
- textTransform: "uppercase",
2081
- fontSize: "var(--sl-font-size-x-small)",
2082
- color: content.textColor || "var(--sqm-text)",
2083
- lineHeight: "var(--sl-font-size-medium)",
2084
- marginRight: "var(--sl-spacing-xx-small)",
2085
- },
2086
- "& .end": {
2087
- color: content.textColor || "var(--sqm-warning-color-text)",
2088
- fontWeight: "var(--sl-font-weight-semibold)",
2089
- marginBottom: "var(--sl-spacing-xx-small)",
2090
- },
2091
- "& .neutral": {
2092
- color: content.textColor || "var(--sl-color-neutral-400)",
2093
- },
2094
- },
2095
- Footer: {
2096
- "&[data-subdue] .success": {
2097
- color: content.textColor || "var(--sqm-accent-color-text)",
2098
- },
2099
- "&[data-subdue] .neutral": {
2100
- color: content.textColor || "var(--sqm-text)",
2101
- },
2102
- display: "flex",
2103
- "& .icon": {
2104
- fontSize: "var(--sl-font-size-xx-small)",
2105
- marginRight: "var(--sl-spacing-xx-small)",
2106
- verticalAlign: "middle",
2107
- },
2108
- "& .text": {
2109
- marginTop: "auto",
2110
- verticalAlign: "text-bottom",
2111
- fontSize: "var(--sl-font-size-x-small)",
2112
- color: content.textColor || "var(--sqm-text)",
2113
- },
2114
- "& .success": {
2115
- color: content.textColor || "var(--sqm-text)",
2116
- fontWeight: "var(--sl-font-weight-semibold)",
2117
- },
2118
- "& .neutral": {
2119
- color: content.textColor || "var(--sqm-text)",
2120
- },
2121
- "& .datetime": {
2122
- display: "block",
2123
- marginTop: "var(--sl-spacing-xx-small)",
2124
- },
2125
- },
2126
- };
2127
- const sheet = createStyleSheet(style);
2128
- const contentString = sheet.toString();
2129
- const dateStart = content.rewardDuration &&
2130
- luxon.DateTime.fromISO(content.rewardDuration.split("/")[0]);
2131
- const dateEnd = content.rewardDuration &&
2132
- luxon.DateTime.fromISO(content.rewardDuration.split("/")[1]);
2133
- const dateToday = luxon.DateTime.now();
2134
- if (content.displayDuration) {
2135
- const start = (_a = content.displayDuration.split("/")) === null || _a === void 0 ? void 0 : _a[0];
2136
- const end = (_b = content.displayDuration.split("/")) === null || _b === void 0 ? void 0 : _b[1];
2137
- const displayDateStart = start ? luxon.DateTime.fromISO(start) : dateToday;
2138
- const displayDateEnd = end ? luxon.DateTime.fromISO(end) : dateToday;
2139
- if (dateToday < displayDateStart || dateToday > displayDateEnd)
2140
- return h("span", null);
2141
- }
2142
- const checkmark_circle$1 = checkmark_circle();
2143
- const checkmark_filled$1 = checkmark_filled();
2144
- const arrow_left_right$1 = arrow_left_right();
2145
- const showComplete = states.progress >= content.goal;
2146
- const repetitions = content.showProgressBar
2147
- ? Math.floor(states.progress / content.goal)
2148
- : states.progress;
2149
- const taskComplete = (showComplete && content.repeatable === false) ||
2150
- (content.finite && states.progress >= content.finite * content.goal);
2151
- const taskEnded = content.rewardDuration && dateEnd <= dateToday;
2152
- const taskNotStarted = content.rewardDuration && dateToday <= dateStart;
2153
- const taskUnavailable = taskEnded || taskNotStarted;
2154
- const vanillaStyle = `
2155
- :host{
2156
- display: block;
2157
- margin-bottom: var(--sl-spacing-large);
2158
- }
2159
-
2160
- `;
2161
- return (h("div", { class: sheet.classes.TaskCard, part: "sqm-base" },
2162
- h("style", { type: "text/css" },
2163
- contentString,
2164
- vanillaStyle),
2165
- !states.loading && taskNotStarted && (h("div", { class: sheet.classes.NotStarted },
2166
- h("span", { class: "icon" },
2167
- h("sl-icon", { name: "info-circle-fill" })),
2168
- intl.formatMessage({
2169
- id: "startsOnMessage",
2170
- defaultMessage: content.startsOnMessage,
2171
- }, {
2172
- startDate: dateStart
2173
- .setLocale(luxonLocale(states.locale))
2174
- .toLocaleString(luxon.DateTime.DATETIME_MED),
2175
- }))),
2176
- !states.loading && taskEnded && (h("div", { class: sheet.classes.Ended },
2177
- h("span", { class: "icon" },
2178
- h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
2179
- intl.formatMessage({
2180
- id: "endedMessage",
2181
- defaultMessage: content.endedMessage,
2182
- }, {
2183
- endDate: dateEnd
2184
- .setLocale(luxonLocale(states.locale))
2185
- .toLocaleString(luxon.DateTime.DATETIME_MED),
2186
- }))),
2187
- h("div", { part: "sqm-style-container", style: {
2188
- borderRadius: taskUnavailable &&
2189
- "0 0 var(--sqm-border-radius-normal) var(--sqm-border-radius-normal)",
2190
- }, class: taskUnavailable
2191
- ? "main expired"
2192
- : taskComplete
2193
- ? "main complete"
2194
- : "main" },
2195
- h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
2196
- h("div", { class: sheet.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sqm-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
2197
- showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
2198
- h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
2199
- h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
2200
- states.loading ? (h("sqm-skeleton", { style: { width: "42%", margin: "var(--sl-spacing-medium) 0" } })) : (h("div", { class: "title", part: "sqm-title", style: {
2201
- marginBottom: !content.description
2202
- ? content.steps
2203
- ? "var(--sl-spacing-x-large)"
2204
- : content.showProgressBar
2205
- ? "var(--sl-spacing-xx-large)"
2206
- : ""
2207
- : "",
2208
- opacity: taskComplete || taskUnavailable ? "0.45" : "1",
2209
- } }, content.cardTitle)),
2210
- states.loading ? (h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
2211
- content.showProgressBar && states.loading ? (h("sqm-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.75" : "1", complete: taskComplete, expired: taskUnavailable })))),
2212
- h("div", { class: sheet.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sqm-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
2213
- h("span", { class: "text" },
2214
- content.repeatable && (h("div", null,
2215
- h("span", { class: repetitions > 0
2216
- ? taskUnavailable
2217
- ? "icon neutral"
2218
- : "icon success"
2219
- : "icon neutral", "data-subdue": taskComplete || taskUnavailable }, arrow_left_right$1),
2220
- h("span", { class: repetitions > 0
2221
- ? taskUnavailable
2222
- ? "neutral"
2223
- : "success"
2224
- : "neutral", "data-subdue": taskComplete || taskUnavailable }, intl.formatMessage({
2225
- id: "completedMessage",
2226
- defaultMessage: content.completedText,
2227
- }, {
2228
- finite: content.finite,
2229
- count: content.finite
2230
- ? Math.min(repetitions, content.finite)
2231
- : repetitions,
2232
- })))),
2233
- dateEnd && !taskUnavailable && (h("span", { class: "datetime neutral", "data-subdue": taskComplete || taskUnavailable }, intl.formatMessage({
2234
- id: "expiryMessage",
2235
- defaultMessage: content.expiryMessage,
2236
- }, {
2237
- endDate: dateEnd
2238
- .setLocale(luxonLocale(states.locale))
2239
- .toLocaleString(luxon.DateTime.DATETIME_MED),
2240
- })))),
2241
- content.hideButton ? ("") : (h("sl-button", { exportparts: `base: ${content.buttonType || "primary"}button-base`, type: "primary", id: "sl-button", size: "small", onClick: callbacks.onClick, loading: states.loadingEvent, disabled: taskComplete || taskUnavailable, style: {
2242
- opacity: taskComplete || taskUnavailable ? "0.45" : "1",
2243
- } }, content.buttonText)))))))));
2244
- }
2245
-
2246
- const style$4 = {
2247
- ErrorStyle: {
2248
- "&::part(control)": {
2249
- borderColor: "var(--sl-color-danger-500)",
2250
- outline: "var(--sl-color-danger-500)",
2251
- },
2252
- "&:host": {
2253
- "--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
2254
- },
2255
- },
2256
- ErrorMessageStyle: {
2257
- margin: 0,
2258
- marginTop: "5px",
2259
- color: "var(--sl-color-danger-500)",
2260
- fontSize: "var(--sl-input-help-text-font-size-medium)",
2261
- fontFamily: "var(--sl-font-sans)",
2262
- fontWeight: "var(--sl-font-weight-normal)",
2263
- },
2264
- FieldContainer: {
2265
- "margin-bottom": "var(--sl-spacing-large)",
2266
- },
2267
- };
2268
- const vanillaStyle$1 = `
2269
- :host {
2270
- margin: 0 auto;
2271
- width: 100%;
2272
- display: block;
2273
- }
2274
- sl-checkbox::part(label){
2275
- font-size: var(--sl-input-label-font-size-small);
2276
- font-weight: var(--sl-font-weight-normal);
2277
- line-height: 20px;
2278
- }
2279
- sl-checkbox::part(base){
2280
- align-items: start;
2281
- }
2282
- sl-checkbox[checked]::part(control){
2283
- background-color: var(--sqm-input-border-color-focus);
2284
- }
2285
-
2286
- sl-checkbox[checked]::part(checked-icon){
2287
- color: var(--sqm-input-background);
2288
- }
2289
- `;
2290
- jss.setup(create());
2291
- const sheet$4 = jss.createStyleSheet(style$4);
2292
- const styleString$4 = sheet$4.toString();
2293
- function CheckboxFieldView(props) {
2294
- var _a, _b, _c, _d, _e;
2295
- const { states, content, callbacks } = props;
2296
- const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2297
- return (h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
2298
- h("style", { type: "text/css" },
2299
- vanillaStyle$1,
2300
- styleString$4),
2301
- h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
2302
- e.target.value = e.target.checked;
2303
- callbacks.setChecked(e.target.value);
2304
- } }, (!content.checkboxOptional ? { required: false } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
2305
- if (!value && !content.checkboxOptional) {
2306
- return content.errorMessage;
2307
- }
2308
- } }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.checkboxName]) ? {
2309
- class: sheet$4.classes.ErrorStyle,
2310
- }
2311
- : [])), intl.formatMessage({
2312
- id: content.checkboxName + "-message",
2313
- defaultMessage: content.checkboxLabel,
2314
- }, {
2315
- labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
2316
- })),
2317
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$4.classes.ErrorMessageStyle }, content.errorMessage))));
2318
- }
2319
-
2320
- function CouponCodeView(props) {
2321
- const error = !props.loading && props.error;
2322
- const style = {
2323
- HostBlock: HostBlock,
2324
- couponCodeLabel: {
2325
- margin: "var(--sl-spacing-x-small) 0",
2326
- color: props.textColor || "var(--sqm-text-subdued)",
2327
- fontSize: "var(--sl-font-size-small)",
2328
- },
2329
- };
2330
- const vanillaStyle = `
2331
- :host{
2332
- display: block;
2333
- width: 100%;
2334
- }
2335
- `;
2336
- const sheet = createStyleSheet(style);
2337
- const styleString = sheet.toString();
2338
- return (h("div", null,
2339
- h("style", { type: "text/css" },
2340
- styleString,
2341
- vanillaStyle),
2342
- h("p", { class: sheet.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
2343
- error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
2344
- h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
2345
- }
2346
-
2347
- const style$5 = {
2348
- ErrorStyle: {
2349
- "--sl-input-border-color": "var(--sl-color-danger-500)",
2350
- "--sl-input-background-color": "var(--sl-color-danger-10)",
2351
- "--sl-input-border-color-focus": "var(--sl-color-danger-500)",
2352
- "--sl-input-border-color-hover": "var(--sl-color-danger-500)",
2353
- },
2354
- ErrorMessageStyle: {
2355
- margin: 0,
2356
- color: "var(--sl-color-danger-500)",
2357
- fontSize: "var(--sl-input-help-text-font-size-medium)",
2358
- },
2359
- FieldContainer: {
2360
- "margin-bottom": "var(--sl-spacing-medium)",
2361
- },
2362
- };
2363
- const vanillaStyle$2 = `
2364
- :host {
2365
- margin: 0 auto;
2366
- width: 100%;
2367
- display: block;
2368
- }
2369
- sl-select::part(label){
2370
- font-size: var(--sl-input-label-font-size-small);
2371
- font-weight: var(--sl-font-weight-semibold);
2372
- }
2373
- `;
2374
- jss.setup(create());
2375
- const sheet$5 = jss.createStyleSheet(style$5);
2376
- const styleString$5 = sheet$5.toString();
2377
- function DropdownFieldView(props) {
2378
- var _a, _b, _c, _d, _e, _f, _g;
2379
- const { states, content } = props;
2380
- const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2381
- return (h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
2382
- h("style", { type: "text/css" },
2383
- vanillaStyle$2,
2384
- styleString$5),
2385
- h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
2386
- value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
2387
- }
2388
- : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
2389
- class: sheet$5.classes.ErrorStyle,
2390
- }
2391
- : [])), content.selectOptions),
2392
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$5.classes.ErrorMessageStyle }, intl.formatMessage({
2393
- id: `errorMessage-${content.dropdownName}`,
2394
- defaultMessage: content.errorMessage,
2395
- })))));
2396
- }
2397
-
2398
- const EditProfileView = (props) => {
2399
- var _a, _b, _c, _d;
2400
- const { states, callbacks } = props;
2401
- const { text } = states;
2402
- const { errors } = states.formState;
2403
- if (states.showEdit) {
2404
- return (h("div", { class: `CardWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-base" },
2405
- h("h2", { part: "sqm-header", style: {
2406
- fontSize: "var(--sl-font-size-x-large)",
2407
- margin: "0px",
2408
- textAlign: "center",
2409
- } }, text.editprofileheader),
2410
- h("form", { class: "FormWrapper", onSubmit: callbacks.onSubmit },
2411
- h("div", { class: "FormSection" },
2412
- states.formState.error && (h("sqm-form-message", { loading: states.loading, type: "error", exportparts: "erroralert-icon" },
2413
- h("div", { part: "erroralert-text" }, states.formState.error))),
2414
- h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: states.formState.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, (errors.firstName && errors.firstName.status !== "valid"
2415
- ? { class: "ErrorStyles", helpText: text.fieldEmptyText }
2416
- : []), { id: "firstName", name: "firstName", error: errors.firstName && errors.firstName.status !== "valid"
2417
- ? errors.firstName.message
2418
- : undefined })),
2419
- h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: states.formState.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, (errors.lastName && errors.lastName.status !== "valid"
2420
- ? { class: "ErrorStyles", helpText: text.fieldEmptyText }
2421
- : []), { error: errors.lastName && errors.lastName.status !== "valid"
2422
- ? errors.lastName.message
2423
- : undefined }))),
2424
- text.showregion && states.formState.currentRegion && (h("sl-input", { exportparts: "label: input-label, base: input-base", disabled: true, value: states.formState.currentRegion, label: text.currentregiontext, id: "currentRegion", name: "currentRegion" })),
2425
- h("div", { class: "ButtonWrapper" },
2426
- h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
2427
- callbacks.onSubmit(e);
2428
- }, submit: true, exportparts: "base: primarybutton-base" }, text.updatetext),
2429
- h("sl-button", { onClick: () => {
2430
- callbacks.setShowEdit(false);
2431
- }, type: "secondary", exportparts: "base: secondarybutton-base" }, text.canceltext)))));
2432
- }
2433
- return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-base" },
2434
- h("div", { class: "FormSection" },
2435
- h("h2", { part: "sqm-header", style: {
2436
- fontSize: "var(--sl-font-size-x-large)",
2437
- marginBottom: "0px",
2438
- textAlign: "center",
2439
- } }, text.editprofileheader),
2440
- h("div", null,
2441
- h("p", { style: { fontSize: "var(--sl-font-size-medium)" } }, (_a = states.user) === null || _a === void 0 ? void 0 :
2442
- _a.firstName,
2443
- " ", (_b = states.user) === null || _b === void 0 ? void 0 :
2444
- _b.lastName),
2445
- h("p", { style: { fontSize: "var(--sl-font-size-medium)" }, title: (_c = states.user) === null || _c === void 0 ? void 0 : _c.email }, (_d = states.user) === null || _d === void 0 ? void 0 : _d.email))),
2446
- h("sl-button", { type: "primary", loading: states.loading, onClick: () => {
2447
- callbacks.resetForm();
2448
- callbacks.setShowEdit(true);
2449
- }, exportparts: "base: primarybutton-base" }, text.editprofiletext)));
2450
- };
2451
-
2452
- function LeaderboardView(props) {
2453
- var _a, _b, _c;
2454
- const { states, data, elements } = props;
2455
- const { styles } = states;
2456
- const style = {
2457
- Leaderboard: {
2458
- "& table": {
2459
- width: "100%",
2460
- borderCollapse: "collapse",
2461
- background: styles.background || "transparent",
2462
- borderRadius: styles.borderRadius ? `${styles.borderRadius}px` : "0",
2463
- },
2464
- "& th": {
2465
- textAlign: "left",
2466
- padding: "var(--sl-spacing-medium)",
2467
- paddingTop: "0",
2468
- fontSize: "var(--sl-font-size-medium)",
2469
- fontWeight: "var(--sl-font-weight-semibold)",
2470
- },
2471
- "& tr:not(:first-child)": {
2472
- borderTop: `var(--sqm-border-thickness) solid ${styles.borderColor || "var(--sqm-border-color)"}`,
2473
- },
2474
- "& td": {
2475
- fontSize: "var(--sl-font-size-medium)",
2476
- fontWeight: "var(--sl-font-weight-normal)",
2477
- },
2478
- "& .ellipses": {
2479
- textAlign: "left",
2480
- padding: "0",
2481
- color: styles.textColor || "var(--sqm-text)",
2482
- paddingLeft: "25%",
2483
- },
2484
- "& .highlight": {
2485
- background: styles.viewingUserHighlightColor ||
2486
- "var(--sqm-accent-color-background)",
2487
- "& td, th": {
2488
- color: styles.viewingUserHighlightTextColor || "var(--sqm-text)",
2489
- },
2490
- },
2491
- "& td, th": {
2492
- color: styles.textColor || "var(--sqm-text)",
2493
- padding: "var(--sl-spacing-medium)",
2494
- },
2495
- "& .User": {
2496
- width: "100%",
2497
- },
2498
- "& .Score": {
2499
- width: "auto",
2500
- whiteSpace: "nowrap",
2501
- },
2502
- "& .Rank": {
2503
- whiteSpace: "nowrap",
2504
- },
2505
- "& .fullWidth": {
2506
- width: "100%",
2507
- },
2508
- },
2509
- };
2510
- const sheet = createStyleSheet(style);
2511
- const styleString = sheet.toString();
2512
- const vanillaStyle = `
2513
- :host{
2514
- display: block;
2515
- }
2516
- `;
2517
- if (states.isEssentials) {
2518
- return (h("sqm-empty", { "empty-state-image": "https://res.cloudinary.com/saasquatch/image/upload/v1715360191/squatch-assets/Leaderboard_Not_Available.svg", "empty-state-header": "Leaderboards aren\u2019t available on your plan", "empty-state-text": "Contact {supportText} to upgrade your plan and start leveraging gamification in your program.", "support-text": "Support" }));
2519
- }
2520
- if (states.loading) {
2521
- return (h("div", { class: sheet.classes.Leaderboard, style: { width: styles.width || "100%" } },
2522
- h("style", { type: "text/css" },
2523
- styleString,
2524
- vanillaStyle),
2525
- h("table", null, [...Array(5)].map(() => {
2526
- return (h("tr", null,
2527
- h("td", null,
2528
- h("sqm-skeleton", null))));
2529
- }))));
2530
- }
2531
- if (!states.hasLeaders)
2532
- return elements.empty;
2533
- let userSeenFlag = false;
2534
- const getUsersName = (user) => {
2535
- if (!user.firstName && !user.lastInitial)
2536
- return styles.anonymousUser;
2537
- const { firstName, lastInitial } = user;
2538
- if (firstName && lastInitial)
2539
- return `${firstName} ${lastInitial}`;
2540
- if (firstName || lastInitial)
2541
- return firstName || lastInitial;
2542
- return styles.anonymousUser;
2543
- };
2544
- const getRankCellText = (userRank, isViewingUsersRow) => {
2545
- if (!userRank) {
2546
- return styles.hideNames ? `${styles.viewingUserText}` : "-";
2547
- }
2548
- const viewingUserText = ` - ${styles.viewingUserText}`;
2549
- return styles.rankSuffix
2550
- ? intl.formatMessage({
2551
- id: "rank",
2552
- defaultMessage: styles.rankSuffix,
2553
- }, {
2554
- rank: userRank,
2555
- }) + `${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`
2556
- : `${userRank} ${isViewingUsersRow && styles.hideNames ? viewingUserText : ""}`;
2557
- };
2558
- return (h("div", { class: sheet.classes.Leaderboard, part: "sqm-base", style: { width: styles.width || "100%" } },
2559
- h("style", { type: "text/css" },
2560
- styleString,
2561
- vanillaStyle),
2562
- h("table", { part: "sqm-table" },
2563
- h("tr", null,
2564
- styles.showRank && (h("th", { class: `Rank ${styles.hideNames ? "fullWidth" : ""}` }, styles.rankheading)),
2565
- !styles.hideNames && h("th", { class: "User" }, styles.usersheading),
2566
- h("th", { class: "Score" }, styles.statsheading)), (_a = data.leaderboard) === null || _a === void 0 ? void 0 :
2567
- _a.map((user) => {
2568
- var _a, _b;
2569
- if (user.rowNumber === ((_a = data.viewerRank) === null || _a === void 0 ? void 0 : _a.rowNumber))
2570
- userSeenFlag = true;
2571
- const isViewingUsersRow = !styles.hideViewer && user.rowNumber === ((_b = data.viewerRank) === null || _b === void 0 ? void 0 : _b.rowNumber);
2572
- return (h("tr", { class: isViewingUsersRow ? "highlight" : "" },
2573
- styles.showRank && (h("td", { class: "Rank" }, getRankCellText(user.rank, isViewingUsersRow))),
2574
- !styles.hideNames && h("td", { class: "User" }, getUsersName(user)),
2575
- h("td", { class: "Score" }, user.textValue)));
2576
- }),
2577
- !userSeenFlag && !styles.hideViewer && (h("tr", null,
2578
- h("td", { colSpan: 100, class: "ellipses" },
2579
- h("sl-icon", { name: "three-dots", style: { verticalAlign: "middle" } })))),
2580
- !userSeenFlag && !styles.hideViewer && (h("tr", { class: "highlight" },
2581
- styles.showRank && (h("td", { class: "Rank" }, getRankCellText((_b = data.viewerRank) === null || _b === void 0 ? void 0 : _b.rank, true))),
2582
- !styles.hideNames && (h("td", { class: "User" }, getUsersName(data.viewerRank || {}))),
2583
- h("td", { class: "Score" }, ((_c = data.viewerRank) === null || _c === void 0 ? void 0 : _c.textValue) || "0"))))));
2584
- }
2585
-
2586
- const paddingList = [
2587
- "var(--sl-spacing-xxx-small)",
2588
- "var(--sl-spacing-xx-small)",
2589
- "var(--sl-spacing-x-small)",
2590
- "var(--sl-spacing-small)",
2591
- "var(--sl-spacing-medium)",
2592
- "var(--sl-spacing-large)",
2593
- "var(--sl-spacing-x-large)",
2594
- "var(--sl-spacing-xx-large)",
2595
- "var(--sl-spacing-xxx-large)",
2596
- "var(--sl-spacing-xxxx-large)",
2597
- ];
2598
- const parseBackground = (provided_bg) => {
2599
- if (provided_bg) {
2600
- if (isValidColor(provided_bg)) {
2601
- return provided_bg;
2602
- }
2603
- else {
2604
- return `url(${optimizeCloudinaryUrl(provided_bg)})`;
2605
- }
2606
- }
2607
- else {
2608
- return "var(--sqm-portal-background)";
2609
- }
2610
- };
2611
- function HeroView(props) {
2612
- const { states, content } = props;
2613
- const { secondaryBackground = "var(--sqm-portal-background)" } = states;
2614
- const getVertivalPadding = (size, half) => {
2615
- const sizes = {
2616
- small: 7,
2617
- medium: 8,
2618
- large: 9,
2619
- };
2620
- var index = sizes[size];
2621
- if (isMobile(650)) {
2622
- index = index - 2;
2623
- }
2624
- else if (isMobile(767)) {
2625
- index = index - 1;
2626
- }
2627
- return half ? paddingList[index - 2] : paddingList[index];
2628
- };
2629
- const getHorizontalPadding = (size) => {
2630
- if (size == "small") {
2631
- return "1%";
2632
- }
2633
- else if (size == "medium") {
2634
- return "3%";
2635
- }
2636
- else {
2637
- return "5%";
2638
- }
2639
- };
2640
- // Dependent on props, not feasiable to move out
2641
- const style = {
2642
- TwoColumnContainer: {
2643
- display: "flex",
2644
- "@media screen and (max-width: 650px)": {
2645
- flexDirection: states.wrapDirection == "wrap-reverse" ? "column-reverse" : "column",
2646
- justfiyContent: "center",
2647
- },
2648
- },
2649
- ColumnPadding: {
2650
- paddingTop: states.paddingSize == "none"
2651
- ? "0px"
2652
- : getVertivalPadding(states.paddingSize),
2653
- paddingBottom: states.paddingSize == "none"
2654
- ? "0px"
2655
- : getVertivalPadding(states.paddingSize),
2656
- paddingLeft: states.paddingSize == "none"
2657
- ? "0px"
2658
- : getHorizontalPadding(states.paddingSize),
2659
- paddingRight: states.paddingSize == "none"
2660
- ? "0px"
2661
- : getHorizontalPadding(states.paddingSize),
2662
- },
2663
- ColumnWrapper: {
2664
- "&:first-of-type": {
2665
- background: `no-repeat center/cover ${parseBackground(states.background)}`,
2666
- },
2667
- "&:last-of-type": {
2668
- background: `no-repeat center/cover ${parseBackground(secondaryBackground)}`,
2669
- },
2670
- "@media screen and (min-width: 650px)": { flex: "1 1 0" },
2671
- minHeight: `${states.minHeight}px`,
2672
- display: "block",
2673
- },
2674
- HideColumn: {
2675
- "@media screen and (max-width: 650px)": { display: "none" },
2676
- },
2677
- SingleColumnContainer: {
2678
- background: `no-repeat center/cover ${parseBackground(states.background)}`,
2679
- minHeight: `${states.minHeight}px`,
2680
- },
2681
- Container: {
2682
- width: "100%",
2683
- maxWidth: "var(--sqm-max-width)",
2684
- margin: "0 auto",
2685
- flex: 1,
2686
- display: "flex",
2687
- flexDirection: "column",
2688
- minHeight: "100%",
2689
- },
2690
- };
2691
- const sheet = createStyleSheet(style);
2692
- const styleString = sheet.toString();
2693
- const vanillaStyle = `
2694
- :host{
2695
- height: 100%;
2696
- display: contents;
2697
- }
2698
- sqm-hero{
2699
- height: 100%;
2700
- display: contents;
2701
- }
2702
- img{
2703
- max-width: 100%;
2704
- height: auto;
2705
- }
2706
-
2707
- `;
2708
- // NOTE: Spacing on the columns is controlled on the slots itself. For example using inline styling
2709
- return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
2710
- h("style", { type: "text/css" },
2711
- vanillaStyle,
2712
- styleString),
2713
- states.columns == 2 ? (h("div", { class: sheet.classes.TwoColumnContainer, part: "sqm-two-col-container" },
2714
- h("div", { part: "sqm-two-col-primary-col", class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding} ${states.columnToHideInMobile === "primary"
2715
- ? sheet.classes.HideColumn
2716
- : ""}` }, content.primaryColumn),
2717
- h("div", { part: "sqm-two-col-secondary-col", class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding} ${states.columnToHideInMobile === "secondary"
2718
- ? sheet.classes.HideColumn
2719
- : ""}` }, content.secondaryColumn))) : (h("div", { part: "sqm-single-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
2720
- }
2721
-
2722
- const style$6 = {
2723
- ErrorStyle: ErrorStyles,
2724
- FieldContainer: {
2725
- "margin-bottom": "var(--sl-spacing-large)",
2726
- },
2727
- };
2728
- const vanillaStyle$3 = `
2729
- :host {
2730
- margin: 0 auto;
2731
- width: 100%;
2732
- display: block;
2733
- }
2734
- `;
2735
- jss.setup(create());
2736
- const sheet$6 = jss.createStyleSheet(style$6);
2737
- const styleString$6 = sheet$6.toString();
2738
- function InputFieldView(props) {
2739
- var _a, _b, _c, _d, _e, _f, _g;
2740
- const { states, content } = props;
2741
- const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2742
- return (h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
2743
- h("style", { type: "text/css" },
2744
- vanillaStyle$3,
2745
- styleString$6),
2746
- h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
2747
- value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
2748
- }
2749
- : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
2750
- class: sheet$6.classes.ErrorStyle,
2751
- helpText: intl.formatMessage({
2752
- id: `errorMessage-${content.fieldName}`,
2753
- defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
2754
- }),
2755
- }
2756
- : [])))));
2757
- }
2758
-
2759
- const style$7 = {
2760
- ErrorStyle: ErrorStyles,
2761
- FieldsContainer: {
2762
- "& sl-input": {
2763
- "margin-bottom": "var(--sl-spacing-large)",
2764
- },
2765
- },
2766
- };
2767
- const vanillaStyle$4 = `
2768
- :host {
2769
- margin: 0 auto;
2770
- width: 100%;
2771
- display: block;
2772
- }
2773
-
2774
- *::part(input-label), *::part(select-label), *::part(textarea-label){
2775
- font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));
2776
- font-weight: var(--sl-font-weight-semibold);
2777
- color: var(--sqm-input-label-color, var(--sqm-text), black);
2778
- }
2779
-
2780
- *::part(input-base), *::part(select-base), *::part(textarea-base){
2781
- background-color: var(--sqm-input-background, #fff);
2782
- border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
2783
- color: var(--sqm-input-color, white);
2784
- border-width: var(--sqm-border-thickness, 1px);
2785
- }
2786
-
2787
- sl-input::part(base):focus,
2788
- sl-select::part(form-control-wrapper):focus,
2789
- sl-textare::part(textarea-label):focus {
2790
- border-color: none;
2791
- border: var(--sqm-input-focus-border, var(--sqm-border-thickness) solid var(--sl-input-border-color-focus));
2792
- }
2793
-
2794
- *::part(input-label):disabled, *::part(select-label):disabled, *::part(textarea-label):disabled{
2795
- background: var(--sqm-input-disabled-background, #f5f5f5);
2796
- color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));
2797
- }
2798
-
2799
- sl-input {
2800
- --sl-input-border-color-focus: var(--sqm-border-color-focus);
2801
- }
2802
-
2803
- `;
2804
- const sheet$7 = createStyleSheet(style$7);
2805
- const styleString$7 = sheet$7.toString();
2806
- function NameFieldsView(props) {
2807
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2808
- const { states } = props;
2809
- const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2810
- return (h("div", { class: sheet$7.classes.FieldsContainer },
2811
- h("style", { type: "text/css" },
2812
- vanillaStyle$4,
2813
- styleString$7),
2814
- h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: !states.optional, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
2815
- value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2816
- }
2817
- : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2818
- class: sheet$7.classes.ErrorStyle,
2819
- helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2820
- }
2821
- : []))),
2822
- h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: !states.optional, disabled: ((_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.loading) || ((_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.disabled) }, (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.initialData) === null || _l === void 0 ? void 0 : _l.lastName) ? {
2823
- value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2824
- }
2825
- : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2826
- class: sheet$7.classes.ErrorStyle,
2827
- helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2828
- }
2829
- : [])))));
2830
- }
2831
-
2832
- function ChangeMarktingView(props) {
2833
- const { states, callbacks } = props;
2834
- const { text, formState } = states;
2835
- const { error } = formState;
2836
- const style = {
2837
- Container: {
2838
- display: "flex",
2839
- flexDirection: "column",
2840
- gap: "var(--sl-spacing-x-small)",
2841
- padding: "0 var(--sl-spacing-xxx-large) var(--sl-spacing-xxx-large)",
2842
- },
2843
- SubmitButton: { marginBottom: "var(--sl-spacing-medium)" },
2844
- Error: {
2845
- "&::part(erroralert-base)": {
2846
- "margin-bottom": "15px",
2847
- },
2848
- },
2849
- Success: {
2850
- "&::part(successalert-base)": {
2851
- "margin-bottom": "15px",
2852
- },
2853
- },
2854
- };
2855
- const sheet = createStyleSheet(style);
2856
- const styleString = sheet.toString();
2857
- return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
2858
- h("style", { type: "text/css" }, styleString),
2859
- h(TextSpanView, Object.assign({}, { type: "h2" }), text.emailPreferencesHeader),
2860
- h("sl-form", { "onSl-submit": callbacks.onSubmit },
2861
- h(CheckboxFieldView, { states: {
2862
- checked: states.formState.marketingEmailOptIn,
2863
- }, content: {
2864
- checkboxLabel: text.marketingCheckboxLabel,
2865
- checkboxName: "marketingEmailOptIn",
2866
- }, callbacks: {
2867
- setChecked: callbacks.setChecked,
2868
- } }),
2869
- h("sl-button", { class: sheet.classes.SubmitButton, type: "primary", submit: true, loading: states.loading, disabled: states.submitDisabled }, text.submitChangeButtonText),
2870
- error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
2871
- h("div", { part: "erroralert-text" }, error))),
2872
- states.success && (h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
2873
- h("div", { part: "successalert-text" }, states.text.successMessage))))));
2874
- }
2875
-
2876
- const vanillaStyle$5 = `
2877
- :host {
2878
- margin: 0 auto;
2879
- width: 100%;
2880
- }
2881
- a {
2882
- cursor:pointer;
2883
- color: var(--sqm-text-subdued);
2884
- text-decoration: none;
2885
- }
2886
- `;
2887
- function PortalFooterView(props) {
2888
- const style = {
2889
- RowContainer: {
2890
- display: "flex",
2891
- "& > :not(:last-child)": {
2892
- "margin-right": "var(--sl-spacing-large)",
2893
- },
2894
- },
2895
- Container: {
2896
- display: "flex",
2897
- "flex-direction": "column",
2898
- "align-items": "center",
2899
- "font-size": "var(--sl-font-size-small)",
2900
- color: "var(--sqm-text-subdued)",
2901
- "padding-top": `var(--sl-spacing-${props.paddingTop})`,
2902
- "padding-right": `var(--sl-spacing-${props.paddingRight})`,
2903
- "padding-bottom": `var(--sl-spacing-${props.paddingBottom})`,
2904
- "padding-left": `var(--sl-spacing-${props.paddingLeft})`,
2905
- "row-gap": `var(--sl-spacing-small)`,
2906
- "& a:hover": {
2907
- color: "var(--sqm-text)",
2908
- },
2909
- },
2910
- SupportText: {
2911
- textAlign: "center",
2912
- margin: 0,
2913
- },
2914
- PoweredByLink: {
2915
- color: "var(--sqm-text-subdued)",
2916
- "font-size": "var(--sl-font-size-small)",
2917
- display: "flex",
2918
- alignItems: "center",
2919
- svg: {
2920
- marginTop: "2px",
2921
- shapeRendering: "geometricprecision",
2922
- },
2923
- "&:hover, &:hover *": {
2924
- color: "var(--sqm-text)",
2925
- },
2926
- },
2927
- };
2928
- const sheet = createStyleSheet(style);
2929
- const styleString = sheet.toString();
2930
- return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
2931
- h("style", { type: "text/css" },
2932
- vanillaStyle$5,
2933
- styleString),
2934
- h("div", { class: sheet.classes.RowContainer },
2935
- props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
2936
- props.termsLink && (h("a", { target: "_blank", href: props.termsLink }, props.termsText))),
2937
- !props.hideSupportText && (h("p", { class: sheet.classes.SupportText }, intl.formatMessage({
2938
- id: "supportFooter",
2939
- defaultMessage: props.supportText,
2940
- }, {
2941
- email: (h("a", { target: "_blank", href: `mailto:${props.supportEmail}` }, props.supportEmail)),
2942
- }))),
2943
- !props.hidePoweredBy && (h("a", { class: sheet.classes.PoweredByLink, target: "_blank", href: props.poweredByLink },
2944
- "Powered by ",
2945
- h(PoweredByImg, { color: "currentColor" })))));
2946
- }
2947
-
2948
- function PortalFrameView(props, children) {
2949
- const { data, notFullScreen, border } = props;
2950
- const style = {
2951
- HostBlock: HostBlock,
2952
- Frame: {
2953
- display: "flex",
2954
- "flex-direction": "column",
2955
- "box-sizing": "border-box",
2956
- "&:nth-child(2)": {
2957
- background: props.backgroundColor,
2958
- },
2959
- },
2960
- FooterWrapper: {
2961
- width: "100%",
2962
- "max-width": "100%",
2963
- padding: "var(--sl-spacing-medium) var(--sl-spacing-x-large)",
2964
- background: props.headerAndFooterBackgroundColor,
2965
- display: "flex",
2966
- "justify-content": "flex-end",
2967
- "align-items": "center",
2968
- "box-sizing": "border-box",
2969
- borderTop: border,
2970
- "margin-top": "auto",
2971
- },
2972
- HeaderWrapper: {
2973
- width: "100%",
2974
- "max-width": "100%",
2975
- "box-sizing": "border-box",
2976
- display: "flex",
2977
- "justify-content": "space-between",
2978
- padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
2979
- "align-items": "center",
2980
- borderBottom: border,
2981
- background: props.headerAndFooterBackgroundColor,
2982
- "@media screen and (max-width: 499px)": {
2983
- "flex-direction": "row-reverse",
2984
- "justify-content": "flex-end",
2985
- padding: "0",
2986
- },
2987
- },
2988
- };
2989
- const sheet = createStyleSheet(style);
2990
- const styleString = sheet.toString();
2991
- return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet.classes.Frame, part: "sqm-base" },
2992
- h("style", { type: "text/css" }, styleString),
2993
- h("div", { class: sheet.classes.HeaderWrapper, part: "sqm-header" },
2994
- data.header,
2995
- h("slot", { name: "sqm-navigation-menu" })),
2996
- children,
2997
- h("div", { class: sheet.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
2998
- }
2999
-
3000
- function ReferralIframeView(props) {
3001
- const { states, data } = props;
3002
- const { content } = states;
3003
- // dependent on props
3004
- const style = {
3005
- Container: {
3006
- position: "relative",
3007
- width: content.iframeWidth,
3008
- height: content.iframeHeight,
3009
- },
3010
- IFrame: {
3011
- position: "absolute",
3012
- width: "100%",
3013
- height: "100%",
3014
- border: "0",
3015
- top: "0",
3016
- left: "0",
3017
- right: "0",
3018
- },
3019
- };
3020
- // JSS config
3021
- const sheet = createStyleSheet(style);
3022
- const styleString = sheet.toString();
3023
- return (h("div", { class: sheet.classes.Container },
3024
- h("style", { type: "text/css" }, styleString),
3025
- h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
3026
- }
3027
-
3028
- const CheckMark = () => (h("svg", { width: 12, height: 10, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
3029
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.58.23c.475.371.56 1.057.19 1.532L5.69 9.554a1.091 1.091 0 0 1-1.631.1L.32 5.915a1.09 1.09 0 1 1 1.542-1.542L4.73 7.239 10.049.42A1.09 1.09 0 0 1 11.58.23Z", fill: "#fff" })));
3030
- const CheckmarkFilled = () => (h("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
3031
- h("path", { d: "M0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9Z", fill: "currentColor" }),
3032
- h("path", { d: "M5.68394 8.77046C5.28103 8.39273 4.64819 8.41315 4.27046 8.81606C3.89273 9.21897 3.91315 9.85181 4.31606 10.2295L5.68394 8.77046ZM7.66667 12L6.98273 12.7295C7.36738 13.0902 7.96595 13.0902 8.35061 12.7295L7.66667 12ZM13.6839 7.72954C14.0869 7.35181 14.1073 6.71897 13.7295 6.31606C13.3518 5.91315 12.719 5.89273 12.3161 6.27046L13.6839 7.72954ZM4.31606 10.2295L6.98273 12.7295L8.35061 11.2705L5.68394 8.77046L4.31606 10.2295ZM8.35061 12.7295L13.6839 7.72954L12.3161 6.27046L6.98273 11.2705L8.35061 12.7295Z", fill: "white" })));
3033
- const Gift$1 = () => (h("svg", { width: 156, height: 157, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
3034
- h("path", { d: "M40.18 126h83.663a3 3 0 0 0 3-3V73.966a3 3 0 0 0-3-3H40.18a3 3 0 0 0-3 3V123a3 3 0 0 0 3 3Z", fill: "#FFD34F" }),
3035
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M37.18 73.862v7.966h89.663v-7.966H37.18Z", fill: "#E9BB30" }),
3036
- h("path", { d: "M133.039 74.224a2.18 2.18 0 0 0 2.187-2.172v-19.19c0-1.2-.98-2.172-2.187-2.172H31.347a2.18 2.18 0 0 0-2.187 2.172v19.19c0 1.2.98 2.172 2.187 2.172H133.04Z", fill: "#FFC000" }),
3037
- h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M123.287 35.172c0 6.056-9.155 15.226-13.76 15.654H88.888V126H75.141V50.826H58.534c-9.462-2.038-17.803-9.258-17.803-16.944 0-7.49 3.274-13.422 9.23-15.983 5.693-2.446 12.265-1.105 17.46 2.479 6.378 4.398 9.956 12.654 13.202 20.144.284.657.567 1.308.848 1.95.274-.608.55-1.228.83-1.856 3.216-7.22 6.887-15.464 13.057-19.89 5.454-3.913 12.387-5.39 18.38-2.711 6.197 2.77 9.549 9.127 9.549 17.157Zm-23.306-8.266c3.305-2.37 7.262-2.8 10.645 0 2.946 2.44 3.103 3.588 3.482 6.351l.067.483c0 4.09-3.549 10.252-7.097 10.252-2.515 0-4.489-.022-6.34-.041-3.375-.036-6.337-.068-11.403.04.966-1.86 1.737-3.644 2.473-5.346 1.967-4.553 3.678-8.515 8.173-11.739Zm-39.034 0c-1.6-1.103-5.268-.61-6.79.043-1.257.54-3.134 2.19-3.134 6.933 0 4.61 7.511 8.59 7.511 8.59s5.962 1.52 16.607 1.52c-3.624-8.922-8.757-13.336-14.194-17.086Z", fill: "#EB5757" }),
3038
- h("path", { d: "M75.086 74.224h13.85v7.604h-13.85v-7.604Z", fill: "#DD4747" }),
3039
- h("g", { filter: "url(#a)" },
3040
- h("ellipse", { cx: 82.008, cy: 141.207, rx: 36.813, ry: 5.793, fill: "#E0DDDD", "fill-opacity": 0.8 })),
3041
- h("path", { d: "M150.446 79.134a.5.5 0 0 1 .9 0l1.133 2.336c.05.102.132.184.234.233l2.344 1.122a.5.5 0 0 1 0 .902l-2.344 1.122a.503.503 0 0 0-.234.233l-1.133 2.336a.5.5 0 0 1-.9 0l-1.134-2.336a.499.499 0 0 0-.234-.233l-2.343-1.122a.5.5 0 0 1 0-.902l2.343-1.122a.499.499 0 0 0 .234-.233l1.134-2.336Z", fill: "#FAB6B6" }),
3042
- h("path", { d: "M14.86 29.168a.5.5 0 0 1 .9 0l1.133 2.336a.5.5 0 0 0 .234.233l2.344 1.122a.5.5 0 0 1 0 .902l-2.344 1.122a.5.5 0 0 0-.234.233l-1.133 2.336a.5.5 0 0 1-.9 0l-1.134-2.336a.5.5 0 0 0-.234-.233l-2.343-1.122a.5.5 0 0 1 0-.902l2.344-1.122a.5.5 0 0 0 .233-.233l1.134-2.336Z", fill: "#F4EFBC" }),
3043
- h("path", { d: "m125.382 0 .712 1.466 1.475.706-1.475.707-.712 1.466-.711-1.466-1.476-.707 1.476-.706.711-1.466Z", fill: "#FDA802" }),
3044
- h("path", { d: "m2.187 103.552.711 1.466 1.476.706-1.476.707-.711 1.466-.711-1.466L0 105.724l1.476-.706.71-1.466Z", fill: "#E4599C" }),
3045
- h("defs", null,
3046
- h("filter", { id: "a", x: 35.195, y: 125.414, width: 93.625, height: 31.586, filterUnits: "userSpaceOnUse", "color-interpolation-filters": "s-rGB" },
3047
- h("feFlood", { "flood-opacity": 0, result: "BackgroundImageFix" }),
3048
- h("feBlend", { in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }),
3049
- h("feGaussianBlur", { stdDeviation: 5, result: "effect1_foregroundBlur_653_17907" })))));
3050
-
3051
- function Dot({ active, completed, incomplete, stage, }) {
3052
- return (h("div", { style: {
3053
- display: "flex",
3054
- } },
3055
- h("div", { style: {
3056
- backgroundColor: completed
3057
- ? "var(--sqm-success-color-icon)"
3058
- : incomplete
3059
- ? "var(--sqm-border-color)"
3060
- : "white",
3061
- border: active
3062
- ? "1px solid var(--sqm-success-color-border)"
3063
- : incomplete
3064
- ? "1px solid var(--sqm-border-color)"
3065
- : "1px solid var(--sqm-success-color-border)",
3066
- borderRadius: "50%",
3067
- width: "23px",
3068
- height: "23px",
3069
- margin: "-11px",
3070
- zIndex: "1",
3071
- boxSizing: "content-box",
3072
- } }, completed ? (h("div", { style: { top: "-10.5%", left: "23.5%", position: "relative" } },
3073
- h(CheckMark, null))) : (h("div", { style: {
3074
- color: active
3075
- ? "var(--sqm-success-color-border)"
3076
- : "var(--sqm-text-subdued)",
3077
- width: "23px",
3078
- lineHeight: "24px",
3079
- textAlign: "center",
3080
- position: "relative",
3081
- } }, stage + 1)))));
3082
- }
3083
- function ProgressLine({ incomplete = false, active = false, invisible = false, }) {
3084
- return (h("div", { style: {
3085
- content: "''",
3086
- flex: "0.5 0.5 0",
3087
- height: "4px",
3088
- borderRadius: "4px",
3089
- background: incomplete || active
3090
- ? "var(--sqm-border-color)"
3091
- : "var(--sqm-success-color-icon)",
3092
- position: "relative",
3093
- bottom: "0",
3094
- left: "0",
3095
- display: "flex",
3096
- justifyContent: "center",
3097
- columnGap: "50px",
3098
- marginRight: "-2px",
3099
- boxSizing: "content-box",
3100
- opacity: invisible ? "0" : "1",
3101
- } }));
3102
- }
3103
- function Progress({ active, completed, incomplete, stage }) {
3104
- return [
3105
- h(ProgressLine, { incomplete: incomplete, invisible: stage === 0 }),
3106
- h(Dot, { active: active, completed: completed, incomplete: incomplete, stage: stage }),
3107
- h(ProgressLine, { incomplete: incomplete, active: active, invisible: stage === 2 }),
3108
- ];
3109
- }
3110
- function ProgressBar({ stageCount, currentStage, }) {
3111
- return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
3112
- }
3113
-
3114
- const style$8 = {
3115
- HostBlock: HostBlock,
3116
- Container: {
3117
- minWidth: "300px",
3118
- position: "relative",
3119
- },
3120
- FullImage: {
3121
- objectFit: "contain",
3122
- maxWidth: "100%",
3123
- height: "250px",
3124
- display: "flex",
3125
- margin: "0 auto",
3126
- },
3127
- Select: {
3128
- "&::part(base)": {
3129
- borderRadius: "var(--sqm-input-border-radius)",
3130
- },
3131
- "&::part(label)": {
3132
- color: "var(--sqm-input-label-color)",
3133
- },
3134
- "&::part(menu)": {
3135
- maxHeight: "450px",
3136
- },
3137
- "& sl-menu-item::part(checked-icon)": {
3138
- top: "8px",
3139
- color: "var(--sqm-text)",
3140
- },
3141
- "& sl-menu-item::part(base)": {
3142
- flexDirection: "column",
3143
- color: "var(--sqm-input-color)",
3144
- },
3145
- "& sl-menu-item::part(base):hover": {
3146
- backgroundColor: "var(--sqm-input-border-color-hover)",
3147
- },
3148
- "& sl-menu-item::part(base):focus": {
3149
- background: "var(--sqm-accent-color-background)",
3150
- },
3151
- },
3152
- ProgressBar: {
3153
- maxWidth: "350px",
3154
- width: "100%",
3155
- margin: "auto",
3156
- marginBottom: "var(--sl-spacing-xxx-large)",
3157
- "& .text-area": {
3158
- marginTop: "5px",
3159
- display: "flex",
3160
- justifyContent: "center",
3161
- textAlign: "center",
3162
- whiteSpace: "nowrap",
3163
- marginBottom: "6px",
3164
- "& .text": {
3165
- marginBottom: "var(--sl-spacing-x-small)",
3166
- flex: "1 1 0",
3167
- },
3168
- "& .text.subdued": {
3169
- color: "var(--sqm-text-subdued)",
3170
- },
3171
- },
3172
- },
3173
- CardLayout: {
3174
- display: "flex",
3175
- width: "100%",
3176
- borderRadius: "3px",
3177
- background: "rgba(0, 0, 0, 0)",
3178
- },
3179
- Card: {
3180
- display: "flex",
3181
- userSelect: "none",
3182
- height: "120px",
3183
- "&::part(base)": {
3184
- background: "var(--sqm-portal-background)",
3185
- border: "var(--sqm-border-thickness) solid var(--sqm-border-color)",
3186
- borderRadius: "var(--sqm-border-radius-normal)",
3187
- boxShadow: "none",
3188
- width: "100%",
3189
- },
3190
- "&::part(body)": {
3191
- display: "flex",
3192
- padding: 0,
3193
- },
3194
- "& .selected": {
3195
- borderRadius: "var(--sqm-border-radius-normal)",
3196
- position: "relative",
3197
- top: "-2%",
3198
- left: "100%",
3199
- color: "var(--sqm-primary-color)",
3200
- margin: "-9px",
3201
- },
3202
- },
3203
- Title: {
3204
- fontSize: "var(--sl-font-size-large)",
3205
- fontWeight: "var(--sl-font-weight-semibold)",
3206
- margin: "var(--sl-spacing-large) 0",
3207
- },
3208
- Image: {
3209
- padding: "var(--sl-spacing-small)",
3210
- minWidth: "96px",
3211
- maxWidth: "96px",
3212
- "& .image": {
3213
- width: "100%",
3214
- height: "100%",
3215
- objectFit: "contain",
3216
- borderRadius: "4px",
3217
- },
3218
- "& .image.subdued": {
3219
- filter: "brightness(0.95)",
3220
- opacity: "0.5",
3221
- },
3222
- },
3223
- TextArea: {
3224
- textAlign: "left",
3225
- padding: "var(--sl-spacing-small)",
3226
- paddingLeft: "0",
3227
- "& .title": {
3228
- fontSize: "var(--sl-font-size-medium)",
3229
- lineHeight: "var(--sl-line-height-dense)",
3230
- fontWeight: "600",
3231
- color: "var(--sqm-text)",
3232
- display: "-webkit-box",
3233
- "-webkit-line-clamp": "1",
3234
- "-webkit-box-orient": "vertical",
3235
- overflow: "hidden",
3236
- },
3237
- "& .amount": {
3238
- fontSize: "var(--sl-font-size-small)",
3239
- lineHeight: "var(--sl-line-height-dense)",
3240
- marginTop: "var(--sl-spacing-x-small)",
3241
- color: "var(--sqm-text-subdued)",
3242
- display: "-webkit-box",
3243
- "-webkit-line-clamp": "1",
3244
- "-webkit-box-orient": "vertical",
3245
- overflow: "hidden",
3246
- },
3247
- "& .error": {
3248
- fontSize: "var(--sl-font-size-small)",
3249
- lineHeight: "var(--sl-line-height-dense)",
3250
- marginTop: "var(--sl-spacing-x-small)",
3251
- fontWeight: "600",
3252
- color: "var(--sqm-warning-color-icon)",
3253
- display: "-webkit-box",
3254
- "-webkit-line-clamp": "1",
3255
- "-webkit-box-orient": "vertical",
3256
- overflow: "hidden",
3257
- "& .icon": {
3258
- position: "relative",
3259
- top: "0.1em",
3260
- marginRight: "var(--sl-spacing-xx-small)",
3261
- },
3262
- },
3263
- },
3264
- ChooseAmount: {
3265
- maxWidth: "800px",
3266
- margin: "auto",
3267
- "& .wrapper": {
3268
- display: "flex",
3269
- gap: "var(--sl-spacing-xx-large)",
3270
- "@media (max-width: 799px)": {
3271
- flexDirection: "column",
3272
- },
3273
- },
3274
- "& .image": {
3275
- width: "50%",
3276
- objectFit: "contain",
3277
- maxWidth: "100%",
3278
- height: "250px",
3279
- display: "flex",
3280
- "@media (max-width: 799px)": {
3281
- width: "auto",
3282
- },
3283
- },
3284
- "& .text": {
3285
- width: "50%",
3286
- maxWidth: "400px",
3287
- "@media (max-width: 799px)": {
3288
- width: "auto",
3289
- margin: "auto",
3290
- },
3291
- },
3292
- "& .title": {
3293
- fontSize: "var(--sl-font-size-large)",
3294
- fontWeight: "var(--sl-font-weight-semibold)",
3295
- color: "var(--sqm-text)",
3296
- },
3297
- "& .points": {
3298
- fontSize: "var(--sl-font-size-large)",
3299
- fontWeight: "var(--sl-font-weight-semibold)",
3300
- color: "var(--sqm-accent-color-text)",
3301
- },
3302
- "& .description": {
3303
- fontSize: "var(--sl-font-size-medium)",
3304
- fontWeight: "var(--sl-font-weight-normal)",
3305
- color: "var(--sqm-text-subdued)",
3306
- margin: "var(--sl-spacing-medium) 0",
3307
- lineHeight: "var(--sl-line-height-dense)",
3308
- marginTop: "var(--sl-spacing-xx-small)",
3309
- },
3310
- "& .space": {
3311
- marginBottom: "var(--sl-spacing-xxx-large)",
3312
- },
3313
- "& sl-menu-item[disabled]::part(label)": {
3314
- color: "var(--sqm-text-subdued)",
3315
- },
3316
- "& sl-menu-item[disabled]": {
3317
- "& .step-cost": {
3318
- color: "var(--sqm-text-subdued)",
3319
- },
3320
- "& .step-value": {
3321
- color: "var(--sqm-text-subdued)",
3322
- },
3323
- },
3324
- },
3325
- SelectItem: {
3326
- display: "flex",
3327
- flexDirection: "column",
3328
- "&::part(label)": {
3329
- color: "var(--sqm-text)",
3330
- margin: "0",
3331
- },
3332
- "& .step-cost": {
3333
- color: "var(--sqm-text-subdued)",
3334
- marginBottom: "var(--sl-spacing-x-small)",
3335
- },
3336
- "& .step-unavailable": {
3337
- fontSize: "var(--sl-font-size-small)",
3338
- color: "var(--sqm-warning-color-text)",
3339
- margin: "0",
3340
- },
3341
- },
3342
- Success: {
3343
- textAlign: "center",
3344
- "& .title": {
3345
- fontSize: "var(--sl-font-size-large)",
3346
- fontWeight: "var(--sl-font-weight-semibold)",
3347
- color: "var(--sqm-text)",
3348
- },
3349
- "& .description": {
3350
- color: "var(--sqm-text-subued)",
3351
- maxWidth: "350px",
3352
- margin: "0 auto",
3353
- lineHeight: "var(--sl-line-height-dense)",
3354
- marginBottom: "var(--sl-spacing-xx-large)",
3355
- marginTop: "var(--sl-spacing-xx-small)",
3356
- },
3357
- "& .promo": {
3358
- maxWidth: "350px",
3359
- margin: "-30px auto var(--sl-spacing-xxx-large) auto",
3360
- textAlign: "left",
3361
- color: "var(--sqm-text-subdued)",
3362
- },
3363
- },
3364
- Grid: {
3365
- display: "grid",
3366
- justifyContent: "center",
3367
- gap: "20px",
3368
- gridTemplateColumns: "repeat(auto-fill, minmax(300px, 1fr))",
3369
- },
3370
- Confirmation: {
3371
- maxWidth: "800px",
3372
- margin: "auto",
3373
- "& .wrapper": {
3374
- display: "flex",
3375
- "@media (max-width: 499px)": {
3376
- flexDirection: "column",
3377
- },
3378
- },
3379
- "& .reward-item-container": {
3380
- "@media (max-width: 499px)": {
3381
- display: "flex",
3382
- flexDirection: "row-reverse",
3383
- justifyContent: "flex-end",
3384
- alignItems: "center",
3385
- },
3386
- },
3387
- "& .reward-item-container .reward-title": {
3388
- paddingBottom: "var(--sl-spacing-medium)",
3389
- lineHeight: "20px",
3390
- "@media (max-width: 499px)": {
3391
- paddingBottom: "none",
3392
- paddingLeft: "var(--sl-spacing-small)",
3393
- },
3394
- },
3395
- "& .padding": {
3396
- padding: "var(--sl-spacing-medium) 0",
3397
- "@media (max-width: 499px)": {
3398
- padding: "var(--sl-spacing-small) 0",
3399
- },
3400
- },
3401
- "& .field": {
3402
- width: "30%",
3403
- fontSize: "var(--sl-font-size-medium)",
3404
- fontWeight: "var(--sl-font-weight-normal)",
3405
- color: "var(--sqm-text-subdued)",
3406
- textAlign: "left",
3407
- paddingRight: "var(--sl-spacing-xxx-large)",
3408
- "@media (max-width: 499px)": {
3409
- width: "100%",
3410
- paddingRight: "0",
3411
- paddingBottom: "0",
3412
- },
3413
- },
3414
- "& .value": {
3415
- fontSize: "var(--sl-font-size-large)",
3416
- fontWeight: "var(--sl-font-weight-semibold)",
3417
- },
3418
- "& .top-border": {
3419
- borderTop: "var(--sqm-border-thickness) solid var(--sqm-border-color)",
3420
- },
3421
- "& .image": {
3422
- width: "200px",
3423
- "@media (max-width: 499px)": {
3424
- width: "100px",
3425
- },
3426
- },
3427
- },
3428
- Button: {
3429
- display: "flex",
3430
- flexWrap: "wrap-reverse",
3431
- margin: "var(--sl-spacing-medium) 0",
3432
- "& .cancel": {
3433
- marginLeft: "auto",
3434
- marginRight: "var(--sl-spacing-medium)",
3435
- "@media (max-width: 499px)": {
3436
- width: "100%",
3437
- marginRight: "0",
3438
- marginTop: "var(--sl-spacing-small)",
3439
- },
3440
- },
3441
- "& .continue": {
3442
- "@media (max-width: 499px)": {
3443
- width: "100%",
3444
- },
3445
- },
3446
- "& .continue.right": {
3447
- marginLeft: "auto",
3448
- },
3449
- "& .continue.center": {
3450
- margin: "0 auto",
3451
- },
3452
- },
3453
- Confetti: {
3454
- pointerEvents: "none",
3455
- position: "absolute",
3456
- width: "100%",
3457
- height: "100%",
3458
- top: "0%",
3459
- left: "0%",
3460
- zIndex: "1",
3461
- },
3462
- };
3463
- // JSS config
3464
- const sheet$8 = createStyleSheet(style$8);
3465
- const styleString$8 = sheet$8.toString();
3466
- const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
3467
- function RewardExchangeView(props) {
3468
- const { states, data, callbacks, refs } = props;
3469
- const { selectedItem, selectedStep } = states;
3470
- const stageProgressList = {
3471
- chooseReward: states.content.text.chooseRewardTitle,
3472
- chooseAmount: states.content.text.chooseAmountTitle,
3473
- confirmation: states.content.text.confirmationTitle,
3474
- };
3475
- function getInput() {
3476
- var _a, _b, _c;
3477
- const item = states.selectedItem;
3478
- if (!item || (item === null || item === void 0 ? void 0 : item.ruleType) === "FIXED_GLOBAL_REWARD")
3479
- return h("span", { class: "points" }, item === null || item === void 0 ? void 0 : item.prettySourceValue);
3480
- if (!((_a = item.steps) === null || _a === void 0 ? void 0 : _a.length)) {
3481
- return (h("p", null, intl.formatMessage({
3482
- id: "notEnoughError",
3483
- defaultMessage: states.content.text.notEnoughError,
3484
- }, {
3485
- sourceUnit: item.sourceUnit,
3486
- })));
3487
- }
3488
- return (h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$8.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3489
- var _a, _b, _c, _d, _e;
3490
- return callbacks.setExchangeState({
3491
- amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
3492
- selectedStep: (_e = (_d = e.detail) === null || _d === void 0 ? void 0 : _d.item) === null || _e === void 0 ? void 0 : _e.value,
3493
- });
3494
- } }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
3495
- var _a, _b;
3496
- return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$8.classes.SelectItem },
3497
- step.prettyDestinationValue,
3498
- h("br", null),
3499
- h("div", { class: "step-cost", slot: "suffix" },
3500
- step.prettySourceValue,
3501
- step.unavailableReasonCode && (h("p", { class: "step-unavailable" }, intl.formatMessage({
3502
- id: "unavailableCode",
3503
- defaultMessage: (_b = (_a = states.content) === null || _a === void 0 ? void 0 : _a.text) === null || _b === void 0 ? void 0 : _b.notAvailableError,
3504
- }, {
3505
- unavailableReasonCode: step.unavailableReasonCode,
3506
- sourceUnit: item.sourceUnit,
3507
- sourceValue: step.prettySourceValue || item.prettySourceMinValue,
3508
- }))))));
3509
- })));
3510
- }
3511
- function chooseReward() {
3512
- var _a;
3513
- return [
3514
- h("div", { part: "choose-reward-container" },
3515
- h("div", { class: sheet$8.classes.Title }, states.content.text.rewardTitle),
3516
- states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$8.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3517
- var _a, _b, _c, _d, _e;
3518
- const style = {
3519
- boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
3520
- ? "0 0 0 2px var(--sqm-primary-color)"
3521
- : "none",
3522
- borderRadius: "var(--sqm-border-radius-normal)",
3523
- borderColor: "none",
3524
- };
3525
- return (h("div", { key: item.key, style: style },
3526
- h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$8.classes.Card, style: {
3527
- cursor: item.unavailableReasonCode
3528
- ? "not-allowed"
3529
- : "pointer",
3530
- }, onClick: () => item.available &&
3531
- callbacks.setExchangeState({ selectedItem: item }) },
3532
- item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key) && (h("div", { class: "selected" },
3533
- h(CheckmarkFilled, null))),
3534
- h("div", { style: {
3535
- display: "flex",
3536
- width: "100%",
3537
- height: "120px",
3538
- borderRadius: "3px",
3539
- background: item.unavailableReasonCode
3540
- ? "rgba(0, 0, 0, 0.05)"
3541
- : "rgba(0, 0, 0, 0)",
3542
- } },
3543
- h("div", { class: sheet$8.classes.Image, style: {
3544
- opacity: item.unavailableReasonCode ? "0.5" : "1",
3545
- } },
3546
- h("img", { class: item.unavailableReasonCode
3547
- ? "image subdued"
3548
- : "image", src: optimizeCloudinaryUrl((item === null || item === void 0 ? void 0 : item.imageUrl) ||
3549
- getAssetPath("./assets/Reward-image.png")), decoding: "async" })),
3550
- h("div", { class: sheet$8.classes.TextArea, style: {
3551
- opacity: item.unavailableReasonCode ? "0.5" : "1",
3552
- } },
3553
- h("div", { class: "title", style: {
3554
- "-webkit-line-clamp": item.unavailableReasonCode
3555
- ? "1"
3556
- : "2",
3557
- } }, (_a = item.name) !== null && _a !== void 0 ? _a : ""),
3558
- h("div", { class: "amount", style: {
3559
- "-webkit-line-clamp": item.unavailableReasonCode
3560
- ? "1"
3561
- : "2",
3562
- } }, intl.formatMessage({
3563
- id: "sourceAmountMessage",
3564
- defaultMessage: (_c = (_b = states.content) === null || _b === void 0 ? void 0 : _b.text) === null || _c === void 0 ? void 0 : _c.sourceAmountMessage,
3565
- }, {
3566
- ruleType: item.ruleType,
3567
- sourceValue: item.prettySourceValue,
3568
- sourceMinValue: item.prettySourceMinValue,
3569
- sourceMaxValue: item.prettySourceMaxValue,
3570
- })),
3571
- item.unavailableReasonCode && (h("div", { class: "error" },
3572
- h("sl-icon", { class: "icon", name: "exclamation-triangle-fill" }),
3573
- intl.formatMessage({
3574
- id: "unavailableCode",
3575
- defaultMessage: (_e = (_d = states.content) === null || _d === void 0 ? void 0 : _d.text) === null || _e === void 0 ? void 0 : _e.notAvailableError,
3576
- }, {
3577
- unavailableReasonCode: item.unavailableReasonCode,
3578
- sourceUnit: item.sourceUnit,
3579
- sourceValue: item.prettySourceValue ||
3580
- item.prettySourceMinValue,
3581
- }))))))));
3582
- }))),
3583
- h("div", { class: sheet$8.classes.Button },
3584
- h("sl-button", { exportparts: "base: primarybutton-base", type: "primary", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
3585
- ];
3586
- }
3587
- function chooseAmount() {
3588
- var _a, _b, _c, _d;
3589
- const input = getInput();
3590
- const isDisabled = ((_a = states.selectedItem) === null || _a === void 0 ? void 0 : _a.ruleType) === "FIXED_GLOBAL_REWARD"
3591
- ? false
3592
- : input && !states.amount;
3593
- return (h("div", null,
3594
- h("div", { class: sheet$8.classes.ChooseAmount, part: "choose-amount-container" },
3595
- h("div", { class: "wrapper" },
3596
- h("img", { class: "image", src: optimizeCloudinaryUrl((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3597
- getAssetPath("./assets/Reward-image.png")), decoding: "async" }),
3598
- h("div", { class: "text" },
3599
- h("div", { class: "title" }, (_b = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.name) !== null && _b !== void 0 ? _b : ""),
3600
- ((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
3601
- ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
3602
- h("div", { class: "space" }))),
3603
- h("div", { class: sheet$8.classes.Button },
3604
- h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "secondary", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
3605
- h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
3606
- }
3607
- function confirmation() {
3608
- const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.prettySourceValue);
3609
- const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
3610
- return (h("div", null,
3611
- h("div", { class: sheet$8.classes.Confirmation, part: "confirmation-container" },
3612
- h("div", { class: sheet$8.classes.Title }, states.content.text.redeemTitle),
3613
- h("div", { class: "wrapper" },
3614
- h("div", { class: "field" }, states.content.text.rewardNameTitle),
3615
- h("div", { class: "reward-item-container" },
3616
- h("div", { class: "reward-title" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.name),
3617
- h("img", { class: "image", src: optimizeCloudinaryUrl((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3618
- getAssetPath("./assets/Reward-image.png")), decoding: "async" }))),
3619
- h("div", { class: "wrapper padding" },
3620
- h("div", { class: "field" })),
3621
- amount && (h("div", { class: "wrapper top-border padding" },
3622
- h("div", { class: "field" }, states.content.text.rewardAmountTitle),
3623
- h("div", null, amount))),
3624
- h("div", { class: "wrapper top-border padding" },
3625
- h("div", { class: "field" }, states.content.text.costTitle),
3626
- h("div", { class: "value" }, cost)),
3627
- h("div", { class: sheet$8.classes.Button },
3628
- h("sl-button", { class: "cancel", type: "secondary", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
3629
- h("sl-button", { class: "continue", size: "large", type: "primary", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
3630
- }
3631
- function success() {
3632
- var _a, _b, _c, _d, _e, _f, _g, _h;
3633
- return (h("div", { class: sheet$8.classes.Success, part: "success-container" },
3634
- h(Gift$1, null),
3635
- h(Confetti, null),
3636
- h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
3637
- h("div", { class: "description" }, intl.formatMessage({
3638
- id: "successMessage",
3639
- defaultMessage: states.content.text.redemptionSuccessText,
3640
- }, {
3641
- sourceValue: (_c = (_b = states.selectedItem) === null || _b === void 0 ? void 0 : _b.prettySourceValue) !== null && _c !== void 0 ? _c : (_d = states.selectedStep) === null || _d === void 0 ? void 0 : _d.prettySourceValue,
3642
- destinationValue: ((_e = states.selectedStep) === null || _e === void 0 ? void 0 : _e.prettyDestinationValue) || ((_f = states.selectedItem) === null || _f === void 0 ? void 0 : _f.name) || ((_g = states.selectedItem) === null || _g === void 0 ? void 0 : _g.globalRewardKey),
3643
- })),
3644
- (data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
3645
- states.content.text.promoCode,
3646
- h(CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_h = states === null || states === void 0 ? void 0 : states.content) === null || _h === void 0 ? void 0 : _h.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
3647
- h("div", { class: sheet$8.classes.Button },
3648
- h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
3649
- }
3650
- const stages = {
3651
- chooseReward: () => chooseReward(),
3652
- chooseAmount: () => chooseAmount(),
3653
- confirmation: () => confirmation(),
3654
- success: () => success(),
3655
- };
3656
- const currentStage = stages[states.redeemStage];
3657
- function stageMap() {
3658
- const stageNumber = stageList.indexOf(states.redeemStage);
3659
- return (h("div", { class: sheet$8.classes.ProgressBar },
3660
- h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
3661
- if (stageList.indexOf(stage) <= stageNumber) {
3662
- return h("span", { class: "text" }, stageProgressList[stage]);
3663
- }
3664
- else {
3665
- return (h("span", { class: "text subdued" }, stageProgressList[stage]));
3666
- }
3667
- })),
3668
- h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
3669
- }
3670
- function loading() {
3671
- return (h("div", { class: sheet$8.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3672
- return (h("div", null,
3673
- h("sl-card", { class: sheet$8.classes.Card },
3674
- h("div", { class: sheet$8.classes.CardLayout },
3675
- h("div", null,
3676
- h("sqm-skeleton", { style: {
3677
- margin: "9px",
3678
- }, width: "100px", height: "100px" })),
3679
- h("div", { style: {
3680
- margin: "var(--sl-spacing-small) var(--sl-spacing-small) 0 0",
3681
- width: "100%",
3682
- display: "flex",
3683
- flexDirection: "column",
3684
- gap: "var(--sl-spacing-small)",
3685
- } },
3686
- h("sqm-skeleton", null),
3687
- h("sqm-skeleton", null),
3688
- h("sqm-skeleton", { width: "45%" }))))));
3689
- })));
3690
- }
3691
- function errorMessage() {
3692
- return (h("sl-alert", { type: "danger", open: true },
3693
- h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
3694
- states.content.text.redemptionError));
3695
- }
3696
- function queryErrorMessage() {
3697
- return (h("sl-alert", { type: "danger", open: true },
3698
- h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
3699
- states.content.text.queryError));
3700
- }
3701
- function Confetti() {
3702
- return (h("canvas", { ref: (canvas) => {
3703
- if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
3704
- return;
3705
- refs.canvasRef.current = canvas;
3706
- }, id: "my-canvas", class: sheet$8.classes.Confetti }));
3707
- }
3708
- if (states.noExchangeOptions)
3709
- return states.content.text.empty;
3710
- return (h("div", { class: sheet$8.classes.Container, part: "sqm-base" },
3711
- h("style", { type: "text/css" }, styleString$8),
3712
- h("div", null,
3713
- stageMap(),
3714
- states.exchangeError && errorMessage(),
3715
- states.queryError && !states.exchangeError && queryErrorMessage(),
3716
- currentStage && currentStage(),
3717
- states.redeemStage === "success")));
3718
- }
3719
-
3720
- const baseResponse = (data, stage = "chooseReward", selectedItem = null, selectedStep = null, exchangeError = false, loading = false, fueltank = null, noExchangeOptions = false, queryError = false) => ({
3721
- states: {
3722
- content: {
3723
- text: {
3724
- notAvailableError: "{unavailableReasonCode, select, NOT_CHAMPION {CUSTOM ERROR MESSAGE } US_TAX {Exceeds tax limit for this year} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }",
3725
- chooseRewardTitle: "Rewards",
3726
- chooseAmountTitle: "Select",
3727
- confirmationTitle: "Confirm",
3728
- rewardTitle: "Choose a reward",
3729
- cancelText: "Cancel",
3730
- backText: "Back",
3731
- continueText: "Continue",
3732
- continueToConfirmationText: "Continue to confirmation",
3733
- redeemText: "Redeem",
3734
- redeemTitle: "Confirm and redeem",
3735
- redemptionSuccessText: "Redeemed {sourceValue} for {destinationValue}",
3736
- doneText: "Done",
3737
- tooltipText: "Copied!",
3738
- selectText: "Select amount to receive",
3739
- sourceAmountMessage: "{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}",
3740
- rewardRedeemedText: "Reward redeemed",
3741
- redemptionError: "An error occured trying to redeem this reward. Please try again",
3742
- queryError: "Unable to load reward exchange list. Please try again",
3743
- promoCode: "Promo code",
3744
- skeletonCardNum: 8,
3745
- rewardNameTitle: "Reward Name",
3746
- rewardAmountTitle: "Reward Amount",
3747
- costTitle: "Cost",
3748
- notEnoughError: "Sorry not enough!",
3749
- empty: (h("sqm-empty", { emptyStateImage: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png", emptyStateHeader: "Redeem rewards", emptyStateText: "Use your points to redeem rewards once they become available" })),
3750
- },
3751
- },
3752
- queryError: queryError,
3753
- redeemStage: stage,
3754
- amount: 0,
3755
- exchangeError: exchangeError,
3756
- loading: loading,
3757
- selectedItem: selectedItem,
3758
- selectedStep: selectedStep,
3759
- noExchangeOptions: noExchangeOptions,
3760
- open: false,
3761
- },
3762
- data: {
3763
- exchangeList: data,
3764
- fuelTankCode: fueltank,
3765
- },
3766
- callbacks: {
3767
- exchangeReward: null,
3768
- resetState: null,
3769
- setStage: null,
3770
- setExchangeState: null,
3771
- copyFuelTankCode: null,
3772
- },
3773
- refs: null,
3774
- });
3775
- const baseReward = {
3776
- key: "reward",
3777
- name: "Demo Reward",
3778
- description: "Description of reward. Lorem ipsum dolor sit amet, consectetur adipiscing. Id nec semper sapien dignissim rhoncus nunc.",
3779
- imageUrl: "https://res.cloudinary.com/saasquatch/image/upload/v1643653103/squatch-assets/default_rewards_1.png",
3780
- available: true,
3781
- unavailableReasonCode: null,
3782
- ruleType: "FIXED_GLOBAL_REWARD",
3783
- sourceUnit: "POINT",
3784
- sourceValue: 10,
3785
- prettySourceValue: "10 SaaSquatch Points",
3786
- sourceMinValue: null,
3787
- prettySourceMinValue: null,
3788
- sourceMaxValue: null,
3789
- prettySourceMaxValue: null,
3790
- destinationMinValue: null,
3791
- prettyDestinationMinValue: null,
3792
- destinationMaxValue: null,
3793
- prettyDestinationMaxValue: null,
3794
- globalRewardKey: "",
3795
- destinationUnit: null,
3796
- steps: [
3797
- {
3798
- prettyDestinationValue: "Reward Step 1",
3799
- prettySourceValue: "50 Points",
3800
- available: true,
3801
- unavailableReasonCode: null,
3802
- destinationValue: 10,
3803
- sourceValue: 1,
3804
- globalRewardKey: "reward1",
3805
- rewardInput: {
3806
- accountId: "zach",
3807
- userId: "zach",
3808
- },
3809
- },
3810
- {
3811
- prettyDestinationValue: "Reward Step 2",
3812
- prettySourceValue: "100 Points",
3813
- available: false,
3814
- unavailableReasonCode: "Not enough points",
3815
- destinationValue: 10,
3816
- sourceValue: 1,
3817
- globalRewardKey: "reward1",
3818
- rewardInput: {
3819
- accountId: "zach",
3820
- userId: "zach",
3821
- },
3822
- },
3823
- ],
3824
- };
3825
- const notEnoughPoints = {
3826
- available: false,
3827
- unavailableReasonCode: "INSUFFICIENT_REDEEMABLE_CREDIT",
3828
- };
3829
- const usTax = {
3830
- available: false,
3831
- unavailableReasonCode: "US_TAX",
3832
- };
3833
- const customError = {
3834
- available: false,
3835
- unavailableReasonCode: "NOT_CHAMPION",
3836
- };
3837
- const selected = {
3838
- key: "r1",
3839
- };
3840
- const imageUrl = (props) => ({
3841
- imageUrl: props,
3842
- });
3843
- const name = (props) => ({
3844
- name: props,
3845
- });
3846
- const description = (props) => ({
3847
- description: props,
3848
- });
3849
- const fixedValue = (props) => ({
3850
- prettySourceValue: props,
3851
- });
3852
- const variableValue = (min, max, unit) => ({
3853
- ruleType: "VARIABLE_CREDIT_REWARD",
3854
- sourceMinValue: min,
3855
- prettySourceMinValue: min + " " + unit,
3856
- sourceMaxValue: max,
3857
- prettySourceMaxValue: max + " " + unit,
3858
- });
3859
- const demoData = [
3860
- {
3861
- ...baseReward,
3862
- ...name("Free swag with a promo code"),
3863
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1643653103/squatch-assets/default_rewards_1.png"),
3864
- ...fixedValue("40 Points"),
3865
- },
3866
- {
3867
- ...baseReward,
3868
- ...selected,
3869
- ...name("Visa® Prepaid Card USD"),
3870
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),
3871
- ...variableValue(20, 80, "Points"),
3872
- },
3873
- {
3874
- ...baseReward,
3875
- ...name("$50 Store credit"),
3876
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000270/squatch-assets/WkCMVSE.png"),
3877
- ...fixedValue("100 Points"),
3878
- },
3879
- {
3880
- ...baseReward,
3881
- ...name("Variable amount of store credit"),
3882
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000240/squatch-assets/Jn2fE0s.png"),
3883
- ...variableValue(20, 100, "Points"),
3884
- },
3885
- ];
3886
- const data = [
3887
- {
3888
- ...baseReward,
3889
- ...name("Free swag with a promo code"),
3890
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1643653103/squatch-assets/default_rewards_1.png"),
3891
- ...fixedValue("40 SaaSquatch Points"),
3892
- },
3893
- {
3894
- ...baseReward,
3895
- ...selected,
3896
- ...name("Visa® Prepaid Card USD"),
3897
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),
3898
- ...variableValue(20, 80, "Points"),
3899
- },
3900
- {
3901
- ...baseReward,
3902
- ...name("A very exclusive gift box"),
3903
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/93BvEgH.png"),
3904
- ...fixedValue("30 SaaSquatch Points"),
3905
- },
3906
- {
3907
- ...baseReward,
3908
- ...name("$50 Store credit"),
3909
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000270/squatch-assets/WkCMVSE.png"),
3910
- ...fixedValue("100 SaaSquatch Points"),
3911
- },
3912
- {
3913
- ...baseReward,
3914
- ...name("Variable amount of store credit"),
3915
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000240/squatch-assets/Jn2fE0s.png"),
3916
- ...variableValue(20, 100, "Points"),
3917
- },
3918
- {
3919
- ...baseReward,
3920
- ...notEnoughPoints,
3921
- ...name("A very rare cactus"),
3922
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000224/squatch-assets/hhlF2Ey.png"),
3923
- ...fixedValue("2000 SaaSquatch Points"),
3924
- },
3925
- {
3926
- ...baseReward,
3927
- ...usTax,
3928
- ...name("$1000 Store credit with a really super long name in the front page"),
3929
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000273/squatch-assets/y9HSls1.png"),
3930
- ...fixedValue("2000 SaaSquatch Long Points"),
3931
- },
3932
- {
3933
- ...baseReward,
3934
- ...notEnoughPoints,
3935
- ...name("A holiday gift box"),
3936
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/dWEdB3p.png"),
3937
- ...fixedValue("100 SaaSquatch Points"),
3938
- },
3939
- ];
3940
- const rewardExchange = {
3941
- ...baseResponse(data),
3942
- };
3943
- const demoRewardExchange = {
3944
- ...baseResponse(demoData, "chooseReward", baseReward),
3945
- };
3946
- const rewardExchangeLongText = {
3947
- ...baseResponse([
3948
- {
3949
- ...baseReward,
3950
- ...notEnoughPoints,
3951
- ...name("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
3952
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/dWEdB3p.png"),
3953
- ...fixedValue("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
3954
- },
3955
- {
3956
- ...baseReward,
3957
- ...name("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
3958
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000273/squatch-assets/y9HSls1.png"),
3959
- ...fixedValue("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
3960
- },
3961
- {
3962
- ...baseReward,
3963
- ...name("Suuuuuuuuper aweeeeesssssoooommme reward!!!!!!"),
3964
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000270/squatch-assets/WkCMVSE.png"),
3965
- ...fixedValue("Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt ratione a itaque non obcaecati iste, amet repudiandae at consequatur adipisci culpa nam, incidunt exercitationem aliquid."),
3966
- },
3967
- ...data,
3968
- ]),
3969
- };
3970
- const rewardExchangeCustomErrorMsg = {
3971
- ...baseResponse([
3972
- {
3973
- ...baseReward,
3974
- ...customError,
3975
- ...name("A very rare cactus"),
3976
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000224/squatch-assets/hhlF2Ey.png"),
3977
- ...fixedValue("2000 SaaSquatch Points"),
3978
- },
3979
- ...data,
3980
- ]),
3981
- };
3982
- const rewardExchangeSelected = {
3983
- ...baseResponse(data, "chooseReward", {
3984
- ...baseReward,
3985
- ...selected,
3986
- ...name("Visa® Prepaid Card USD"),
3987
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),
3988
- ...variableValue(20, 80, "Points"),
3989
- }),
3990
- };
3991
- const baseStep = (dst, dstUnit, src, srcUnit, available = true, unavailableReason = null) => ({
3992
- destinationValue: dst,
3993
- prettyDestinationValue: dstUnit + dst,
3994
- sourceValue: src,
3995
- prettySourceValue: src + " " + srcUnit,
3996
- available: available,
3997
- unavailableReasonCode: unavailableReason,
3998
- });
3999
- const chooseAmountVariable = {
4000
- ...baseResponse(data, "chooseAmount", {
4001
- ...baseReward,
4002
- ...name("Visa® Prepaid Card USD"),
4003
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),
4004
- ...variableValue(20, 80, "Points"),
4005
- steps: [
4006
- baseStep(20, "$", 40, "Points"),
4007
- baseStep(30, "$", 60, "Points"),
4008
- baseStep(40, "$", 80, "Points"),
4009
- baseStep(50, "$", 100, "Points"),
4010
- baseStep(60, "$", 120, "Points"),
4011
- ],
4012
- }),
4013
- };
4014
- const chooseAmountVariableNoDescription = {
4015
- ...baseResponse(data, "chooseAmount", {
4016
- ...baseReward,
4017
- ...name("Visa® Prepaid Card USD"),
4018
- ...description(""),
4019
- ...imageUrl("https://i.imgur.com/veHErQX.png"),
4020
- ...variableValue(20, 80, "Points"),
4021
- steps: [
4022
- baseStep(20, "$", 40, "Points"),
4023
- baseStep(30, "$", 60, "Points"),
4024
- baseStep(40, "$", 80, "Points"),
4025
- baseStep(50, "$", 100, "Points"),
4026
- baseStep(60, "$", 120, "Points"),
4027
- ],
4028
- }),
4029
- };
4030
- const chooseAmountVariableDisabled = {
4031
- ...baseResponse(data, "chooseAmount", {
4032
- ...baseReward,
4033
- ...name("Visa® Prepaid Card USD"),
4034
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),
4035
- ...variableValue(20, 80, "Points"),
4036
- steps: [
4037
- baseStep(20, "$", 40, "Points"),
4038
- baseStep(30, "$", 60, "Points"),
4039
- baseStep(40, "$", 80, "Points", false, "INSUFFICIENT_REDEEMABLE_CREDIT"),
4040
- baseStep(50, "$", 100, "Points", false, "INSUFFICIENT_REDEEMABLE_CREDIT"),
4041
- baseStep(60, "$", 120, "Points", false, "INSUFFICIENT_REDEEMABLE_CREDIT"),
4042
- ],
4043
- }),
4044
- };
4045
- const chooseAmountVariableUnavailable = {
4046
- ...baseResponse(data, "chooseAmount", {
4047
- ...baseReward,
4048
- ...name("Visa® Prepaid Card USD"),
4049
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),
4050
- ...variableValue(20, 80, "Points"),
4051
- steps: [
4052
- baseStep(20, "$", 40, "Points"),
4053
- baseStep(30, "$", 60, "Points"),
4054
- baseStep(40, "$", 80, "Points", false, "US_TAX"),
4055
- baseStep(50, "$", 100, "Points", false, "US_TAX"),
4056
- baseStep(60, "$", 120, "Points", false, "US_TAX"),
4057
- ],
4058
- }),
4059
- };
4060
- const chooseAmountFixed = {
4061
- ...baseResponse(data, "chooseAmount", {
4062
- ...baseReward,
4063
- ...name("Free swag with a promo code"),
4064
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000252/squatch-assets/n7vC4BR.png"),
4065
- ...fixedValue("40 SaaSquatch Points"),
4066
- }),
4067
- };
4068
- const chooseAmountFixedNoDescription = {
4069
- ...baseResponse(data, "chooseAmount", {
4070
- ...baseReward,
4071
- ...description(""),
4072
- ...name("Free swag with a promo code"),
4073
- ...imageUrl("https://i.imgur.com/n7vC4BR.png"),
4074
- ...fixedValue("40 SaaSquatch Points"),
4075
- }),
4076
- };
4077
- const confirmFixed = {
4078
- ...baseResponse(data, "confirmation", {
4079
- ...baseReward,
4080
- ...name("Free swag with a promo code"),
4081
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000252/squatch-assets/n7vC4BR.png"),
4082
- ...fixedValue("40 SaaSquatch Points"),
4083
- }),
4084
- };
4085
- const confirmVariable = {
4086
- ...baseResponse(data, "confirmation", {
4087
- ...baseReward,
4088
- ...name("Visa® Prepaid Card USD"),
4089
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),
4090
- ...variableValue(20, 80, "Points"),
4091
- }, baseStep(20, "$", 40, "Points")),
4092
- };
4093
- const redemptionError = {
4094
- ...baseResponse(data, "confirmation", {
4095
- ...baseReward,
4096
- ...name("Visa® Prepaid Card USD"),
4097
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000268/squatch-assets/veHErQX.png"),
4098
- ...variableValue(20, 80, "Points"),
4099
- }, baseStep(20, "$", 40, "Points"), true),
4100
- };
4101
- const queryError = {
4102
- ...baseResponse(undefined, "chooseReward", undefined, undefined, undefined, undefined, undefined, undefined, true),
4103
- };
4104
- const success = {
4105
- ...baseResponse(data, "success", {
4106
- ...baseReward,
4107
- ...name("Free swag with a promo code"),
4108
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000252/squatch-assets/n7vC4BR.png"),
4109
- ...fixedValue("40 SaaSquatch Points"),
4110
- }, undefined, undefined, undefined, "4ah2-hh46-gk7r"),
4111
- };
4112
- const successVariable = {
4113
- ...baseResponse(data, "success", {
4114
- ...baseReward,
4115
- ...name("Visa® Prepaid Card USD"),
4116
- ...imageUrl("https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/93BvEgH.png"),
4117
- ...variableValue(20, 80, "Points"),
4118
- }, baseStep(20, "$", 40, "Points")),
4119
- };
4120
- const loading = {
4121
- ...baseResponse(null, "chooseReward", null, null, false, true),
4122
- };
4123
- const empty = {
4124
- ...baseResponse(null, "chooseReward", null, null, false, false, null, true),
4125
- };
4126
-
4127
- const MessageLinkQuery = dist.gql `
4128
- query (
4129
- $programId: ID
4130
- $engagementMedium: UserEngagementMedium!
4131
- $shareMedium: ReferralShareMedium!
4132
- ) {
4133
- viewer {
4134
- ... on User {
4135
- messageLink(
4136
- programId: $programId
4137
- engagementMedium: $engagementMedium
4138
- shareMedium: $shareMedium
4139
- )
4140
- shareLink(programId: $programId, engagementMedium: $engagementMedium)
4141
- }
4142
- }
4143
- }
4144
- `;
4145
- function NativeShare(props, directLink, undefinedErrorText, unsupportedPlatformText) {
4146
- const title = props.sharetitle || "Share title";
4147
- const text = props.sharetext || "Share text";
4148
- if (directLink === "undefined") {
4149
- return alert(undefinedErrorText);
4150
- }
4151
- if (window.navigator.share) {
4152
- window.navigator
4153
- .share({
4154
- title,
4155
- text,
4156
- url: directLink,
4157
- })
4158
- .catch((error) => console.error("Error on web share", error));
4159
- }
4160
- else {
4161
- alert(unsupportedPlatformText);
4162
- }
4163
- }
4164
- function FacebookShare(directLink, messageLink, errorText) {
4165
- if (messageLink === "undefined" || directLink === "undefined") {
4166
- return alert(errorText);
4167
- }
4168
- if (typeof SquatchAndroid.shareOnFacebook !== "undefined") {
4169
- return SquatchAndroid.shareOnFacebook(directLink, messageLink);
4170
- }
4171
- else {
4172
- return GenericShare(messageLink, errorText);
4173
- }
4174
- }
4175
- function GenericShare(messageLink, errorText) {
4176
- return messageLink ? (window.location.href = messageLink) : alert(errorText);
4177
- }
4178
- function useShareButton(props) {
4179
- var _a, _b, _c, _d;
4180
- const { sharetitle, sharetext, medium } = props;
4181
- const programId = props.programId ? props.programId : H();
4182
- const user = J();
4183
- const engagementMedium = B();
4184
- const variables = {
4185
- engagementMedium,
4186
- programId: programId,
4187
- shareMedium: medium.toUpperCase(),
4188
- };
4189
- const contextData = Fn(REFERRAL_CODES_NAMESPACE);
4190
- const overrideData = contextData === null || contextData === void 0 ? void 0 : contextData[medium];
4191
- // only queries if a programId is available
4192
- const res = wn(MessageLinkQuery, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId || overrideData !== undefined);
4193
- const [setCopied, copiedRes] = $e(SET_CODE_COPIED);
4194
- const directLink = (overrideData === null || overrideData === void 0 ? void 0 : overrideData.shareLink) || ((_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink);
4195
- const environment = getEnvironmentSDK();
4196
- const hide = (medium.toLocaleUpperCase() === "SMS" &&
4197
- window.orientation === undefined) ||
4198
- (medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
4199
- const messageLink = (overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.messageLink);
4200
- async function onClick() {
4201
- if (overrideData) {
4202
- await setCopied({ referralCode: contextData.referralCode });
4203
- contextData.refresh();
4204
- }
4205
- if (medium.toLocaleUpperCase() === "FACEBOOK" &&
4206
- environment.type === "SquatchAndroid") {
4207
- FacebookShare(directLink, messageLink, props.errorText);
4208
- }
4209
- else if (medium.toLocaleUpperCase() === "DIRECT") {
4210
- NativeShare({ sharetitle, sharetext }, directLink, props.errorText, props.unsupportedPlatformText);
4211
- }
4212
- }
4213
- const isPlainLink = !(medium.toLocaleUpperCase() === "FACEBOOK" &&
4214
- environment.type === "SquatchAndroid") &&
4215
- medium.toLocaleUpperCase() !== "DIRECT" &&
4216
- messageLink;
4217
- const userAgent = window.navigator.userAgent.toLowerCase(), safari = /safari/.test(userAgent), ios = /iphone|ipod|ipad/.test(userAgent);
4218
- const openInSameTab = ios && !safari;
4219
- return {
4220
- ...props,
4221
- loading: res.loading && !(overrideData === null || overrideData === void 0 ? void 0 : overrideData.messageLink),
4222
- messageLink,
4223
- isPlainLink,
4224
- onClick,
4225
- openInSameTab,
4226
- hide,
4227
- };
4228
- }
4229
-
4230
- const MessageLinkQuery$1 = dist.gql `
4231
- query ($programId: ID, $engagementMedium: UserEngagementMedium!) {
4232
- user: viewer {
4233
- ... on User {
4234
- shareLink(
4235
- programId: $programId
4236
- engagementMedium: $engagementMedium
4237
- shareMedium: DIRECT
4238
- )
4239
- }
4240
- }
4241
- }
4242
- `;
4243
- const WIDGET_ENGAGEMENT_EVENT = dist.gql `
4244
- mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
4245
- createUserAnalyticsEvent(eventMeta: $eventMeta)
4246
- }
4247
- `;
4248
- function useShareLink(props) {
4249
- var _a, _b;
4250
- const { programId = H() } = props;
4251
- const user = J();
4252
- const engagementMedium = B();
4253
- const contextData = Fn(REFERRAL_CODES_NAMESPACE);
4254
- const { data } = wn(MessageLinkQuery$1, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt) || !!props.linkOverride || (contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) !== undefined);
4255
- const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
4256
- const [setCopied, copiedRes] = $e(SET_CODE_COPIED);
4257
- const copyString = (_b = ((contextData === null || contextData === void 0 ? void 0 : contextData.shareLink) || ((_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink))) !== null && _b !== void 0 ? _b :
4258
- // Shown during loading
4259
- "...";
4260
- const [open, setOpen] = useState(false);
4261
- async function onClick() {
4262
- if (contextData) {
4263
- await setCopied({ referralCode: contextData.referralCode });
4264
- contextData.refresh();
4265
- }
4266
- // Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
4267
- // Only if called from a user-initiated event
4268
- navigator.clipboard.writeText(copyString);
4269
- setOpen(true);
4270
- setTimeout(() => setOpen(false), props.tooltiplifespan);
4271
- sendLoadEvent({
4272
- eventMeta: {
4273
- programId,
4274
- id: user === null || user === void 0 ? void 0 : user.id,
4275
- accountId: user === null || user === void 0 ? void 0 : user.accountId,
4276
- type: "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",
4277
- meta: {
4278
- engagementMedium,
4279
- shareMedium: "DIRECT",
4280
- },
4281
- },
4282
- });
4283
- }
4284
- return { ...props, onClick, open, copyString: copyString };
4285
- }
4286
-
4287
- const style$9 = {
4288
- Wrapper: {
4289
- ...AuthWrapper,
4290
- "max-width": "600px",
4291
- border: "none",
4292
- margin: "0",
4293
- },
4294
- Column: AuthColumn,
4295
- HostBlock: HostBlock,
4296
- ":host": {
4297
- margin: "0 auto",
4298
- width: "100%",
4299
- },
4300
- NameFieldWrapper: {
4301
- display: "flex",
4302
- gap: "var(--sl-spacing-medium)",
4303
- marginBottom: "0 !important",
4304
- },
4305
- ContinueButton: { maxWidth: "169px" },
4306
- ButtonsContainer: AuthButtonsContainer,
4307
- SuccessAlertContainer: {
4308
- "&::part(base)": {
4309
- backgroundColor: "var(--sl-color-green-100)",
4310
- borderTop: "none",
4311
- },
4312
- },
4313
- ErrorAlertContainer: {
4314
- "&::part(base)": {
4315
- backgroundColor: "var(--sl-color-red-100)",
4316
- borderTop: "none",
4317
- },
4318
- },
4319
- NameInput: {
4320
- marginBottom: "0",
4321
- width: "50%",
4322
- },
4323
- ErrorStyle: ErrorStyles,
4324
- };
4325
- const vanillaStyle$6 = `
4326
- sqm-portal-register {
4327
- margin: 0 auto;
4328
- width: 100%;
4329
- display: block;
4330
- }
4331
-
4332
- :host{
4333
- display: block;
4334
- }
4335
-
4336
- :host([hidden]) {
4337
- display: none;
4338
- }
4339
- `;
4340
- const sheet$9 = createStyleSheet(style$9);
4341
- const styleString$9 = sheet$9.toString();
4342
- function LeadFormView(props) {
4343
- var _a, _b, _c, _d;
4344
- const { states, refs, callbacks, content } = props;
4345
- if (states.error) {
4346
- window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
4347
- }
4348
- const getRequiredFieldErrorMessage = ({ fieldLabel, }) => intl.formatMessage({
4349
- id: "requiredFieldErrorMessage",
4350
- defaultMessage: content.requiredFieldErrorMessage,
4351
- }, {
4352
- fieldLabel,
4353
- });
4354
- return (h(Fragment, null,
4355
- states.success && (h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base" },
4356
- h("style", { type: "text/css" },
4357
- vanillaStyle$6,
4358
- styleString$9),
4359
- h(TextSpanView, { type: "h3" }, content.pageLabel),
4360
- h("sqm-form-message", { loading: states.loading, exportparts: "success-icon" },
4361
- h("b", null, content.submitSuccessHeader),
4362
- h("br", null),
4363
- h("div", { part: "successalert-text" }, content.submitSuccessDescription)),
4364
- h("sl-button", { class: sheet$9.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
4365
- h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
4366
- h("style", { type: "text/css" },
4367
- vanillaStyle$6,
4368
- styleString$9),
4369
- h(TextSpanView, { type: "h3" }, content.pageLabel),
4370
- h("sl-form", { class: sheet$9.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
4371
- states.error && (h("sqm-form-message", { type: "error" },
4372
- h("p", { part: "alert-title" }, content.submitErrorHeader),
4373
- h("p", { part: "alert-description" }, intl.formatMessage({
4374
- id: "submitErrorDescription",
4375
- defaultMessage: content.submitErrorDescription,
4376
- }, {
4377
- supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, content.supportLinkText)),
4378
- })))),
4379
- h("div", { class: sheet$9.classes.NameFieldWrapper },
4380
- h("sqm-lead-input-field", { class: sheet$9.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
4381
- h("sqm-lead-input-field", { class: sheet$9.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
4382
- h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
4383
- if (!value) {
4384
- return getRequiredFieldErrorMessage({
4385
- fieldLabel: content.emailLabel || "Email",
4386
- });
4387
- }
4388
- // this matches shoelace validation, but could be better
4389
- if (!value.includes("@")) {
4390
- return content.invalidEmailErrorMessage;
4391
- }
4392
- } }, (((_b = (_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
4393
- class: sheet$9.classes.ErrorStyle,
4394
- helpText: ((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
4395
- content.requiredFieldErrorMessage,
4396
- }
4397
- : []))),
4398
- h("input", { type: "hidden", hidden: true, name: "/referralCode", value: states.referralCode }),
4399
- content.formData,
4400
- h("div", { class: sheet$9.classes.ButtonsContainer },
4401
- h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"))))));
4402
- }
4403
-
4404
- const style$a = {
4405
- ErrorStyle: {
4406
- "--sl-input-border-color": "var(--sl-color-danger-500)",
4407
- "--sl-input-background-color": "var(--sl-color-danger-10)",
4408
- "--sl-input-border-color-focus": "var(--sl-color-danger-500)",
4409
- "--sl-input-border-color-hover": "var(--sl-color-danger-500)",
4410
- },
4411
- ErrorMessageStyle: {
4412
- margin: 0,
4413
- color: "var(--sl-color-danger-500)",
4414
- fontSize: "var(--sl-input-help-text-font-size-medium)",
4415
- },
4416
- FieldContainer: {
4417
- "margin-bottom": "var(--sl-spacing-large)",
4418
- },
4419
- };
4420
- const vanillaStyle$7 = `
4421
- :host {
4422
- margin: 0 auto;
4423
- width: 100%;
4424
- display: block;
4425
- }
4426
- sl-select::part(label){
4427
- font-size: var(--sl-input-label-font-size-small);
4428
- font-weight: var(--sl-font-weight-semibold);
4429
- }
4430
- sl-select::part(menu){
4431
- max-height: 300px;
4432
- }
4433
- `;
4434
- jss.setup(create());
4435
- const sheet$a = jss.createStyleSheet(style$a);
4436
- const styleString$a = sheet$a.toString();
4437
- function LeadDropdownFieldView(props) {
4438
- var _a, _b, _c, _d, _e;
4439
- const { states, content } = props;
4440
- const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
4441
- const getRequiredFieldErrorMessage = ({ dropdownLabel, }) => intl.formatMessage({
4442
- id: `requiredFieldErrorMessage-${dropdownLabel}`,
4443
- defaultMessage: content.requiredFieldErrorMessage,
4444
- }, {
4445
- dropdownLabel,
4446
- });
4447
- return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
4448
- h("style", { type: "text/css" },
4449
- vanillaStyle$7,
4450
- styleString$a),
4451
- h("sl-select", Object.assign({ style: { maxHeight: "100px" }, exportparts: "label: input-label, base: input-base", label: `${content.dropdownLabel}${content.dropdownOptional ? ` ${content.optionalLabel}` : ""}`, name: `/${content.dropdownName}`, multiple: content.multiple }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
4452
- if (!value && !content.dropdownOptional) {
4453
- return getRequiredFieldErrorMessage({
4454
- dropdownLabel: content.dropdownLabel,
4455
- });
4456
- }
4457
- } }, (((_e = (_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
4458
- class: sheet$a.classes.ErrorStyle,
4459
- }
4460
- : [])), content.selectOptions),
4461
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$a.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
4462
- dropdownLabel: content.dropdownLabel,
4463
- })))));
4464
- }
4465
-
4466
- const map = new Map();
4467
- function withShadowView(component) {
4468
- // TODO: Could only do this if rendered in a Stencilbook environment to prevent unintended side-effects
4469
- const element = getElement(component);
4470
- let renderFn = component["render"].bind(component);
4471
- const newRenderFn = () => {
4472
- const key = element.getAttribute("stencilbook-shadow-view");
4473
- if (key) {
4474
- const value = map.get(key);
4475
- if (value) {
4476
- return value;
4477
- }
4478
- }
4479
- return renderFn();
4480
- };
4481
- component["render"] = newRenderFn;
4482
- }
4483
- /**
4484
- * Any story that defines `parameters.tagname` will be used as a wrapper component around the view
4485
- */
4486
- const ShadowViewAddon = ({ story }, children) => {
4487
- var _a;
4488
- let TagName = (_a = story.parent.parameters) === null || _a === void 0 ? void 0 : _a.tagname;
4489
- if (!TagName)
4490
- return children;
4491
- const randomInt = Math.round(Math.random() * 100000);
4492
- map.set(randomInt + "", children);
4493
- const RandomTagName = "stencilbook-shawdow-view-" + randomInt;
4494
- // This will only re-render when the tag name changes, so we use a random tag name every time.
4495
- // Altneratively we could try to trick Stencil to call `forceUpdate` every time.
4496
- return (h(RandomTagName, null,
4497
- h(TagName, { "stencilbook-shadow-view": randomInt })));
4498
- };
4499
-
4500
- export { empty as A, BigStatView as B, CardFeedView as C, DropdownFieldView as D, EditProfileView as E, rewardExchange as F, useShareButton as G, HeroView as H, InputFieldView as I, useShareLink as J, ProgressBarView as K, LeaderboardView as L, ProgressBar as M, NameFieldsView as N, LeadFormView as O, PortalChangePasswordView as P, LeadDropdownFieldView as Q, ReferralIframeView as R, StatContainerView as S, TaskCardView as T, ShadowViewAddon as U, useBigStat as V, withShadowView as W, demoRewardExchange as X, ShareButtonView as a, PoweredByImg as b, BaseRegistrationFormView as c, CheckboxFieldView as d, CouponCodeView as e, ChangeMarktingView as f, PortalFooterView as g, PortalFrameView as h, RewardExchangeView as i, rewardExchangeLongText as j, rewardExchangeSelected as k, chooseAmountFixed as l, chooseAmountFixedNoDescription as m, chooseAmountVariable as n, chooseAmountVariableNoDescription as o, chooseAmountVariableDisabled as p, chooseAmountVariableUnavailable as q, rewardExchangeCustomErrorMsg as r, confirmFixed as s, confirmVariable as t, useDemoBigStat as u, redemptionError as v, queryError as w, success as x, successVariable as y, loading as z };