@saasquatch/mint-components 1.5.0-4 → 1.5.0-5

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 (230) hide show
  1. package/dist/cjs/{ShadowViewAddon-a85b8c8d.js → ShadowViewAddon-475e00d3.js} +3 -3
  2. package/dist/cjs/{global-6223fe8f.js → global-89f66e76.js} +2 -2
  3. package/dist/cjs/{index.module-7dd4b981.js → index.module-c0bf9df0.js} +16 -16
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/mint-components.cjs.js +3 -3
  6. package/dist/cjs/{re-render-6111d4bd.js → re-render-124b56ee.js} +4 -4
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-big-stat.cjs.entry.js +2 -2
  9. package/dist/cjs/sqm-brand_31.cjs.entry.js +112 -117
  10. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -4
  11. package/dist/cjs/{sqm-leaderboard-rank-view-7dd44d62.js → sqm-leaderboard-rank-view-510f16d3.js} +2 -2
  12. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  13. package/dist/cjs/sqm-leaderboard.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-name-fields.cjs.entry.js +1 -1
  15. package/dist/cjs/{sqm-navigation-sidebar-item-view-6c7f78e6.js → sqm-navigation-sidebar-item-view-a2bdcf05.js} +2 -2
  16. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  17. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  18. package/dist/cjs/{sqm-portal-email-verification-view-08d1848c.js → sqm-portal-email-verification-view-5093ac20.js} +1 -1
  19. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
  20. package/dist/cjs/{sqm-portal-footer-view-69c73802.js → sqm-portal-footer-view-03408484.js} +1 -1
  21. package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
  22. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
  23. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  24. package/dist/cjs/{sqm-portal-profile-view-14b41436.js → sqm-portal-profile-view-fa2db439.js} +1 -1
  25. package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
  26. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  27. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
  28. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
  29. package/dist/cjs/{sqm-program-explainer-step-view-74863815.js → sqm-program-explainer-step-view-6a01cda0.js} +1 -1
  30. package/dist/cjs/sqm-program-explainer-step.cjs.entry.js +1 -1
  31. package/dist/cjs/{sqm-program-explainer-view-afed92f5.js → sqm-program-explainer-view-8a4af972.js} +1 -1
  32. package/dist/cjs/sqm-program-explainer.cjs.entry.js +1 -1
  33. package/dist/cjs/sqm-referral-table-column.cjs.entry.js +2 -2
  34. package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +2 -2
  35. package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +2 -2
  36. package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +2 -2
  37. package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +2 -2
  38. package/dist/cjs/sqm-share-code.cjs.entry.js +4 -4
  39. package/dist/cjs/{useDemoBigStat-2786227e.js → useDemoBigStat-5d71bbdf.js} +3 -3
  40. package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +4 -4
  41. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
  42. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +2 -2
  43. package/dist/collection/components/sqm-program-explainer-step/ProgramExplainerStep.stories.js +1 -1
  44. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +1 -1
  45. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
  46. package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +4 -9
  47. package/dist/esm/{ShadowViewAddon-a3f510db.js → ShadowViewAddon-558fabb7.js} +3 -3
  48. package/dist/esm/{global-90da933f.js → global-e0e25c22.js} +2 -2
  49. package/dist/esm/{index.module-90d2c3ad.js → index.module-eb50a8d2.js} +2 -2
  50. package/dist/esm/loader.js +3 -3
  51. package/dist/esm/mint-components.js +3 -3
  52. package/dist/esm/{re-render-e06f2f7f.js → re-render-6d5b856e.js} +4 -4
  53. package/dist/esm/sqm-asset-card.entry.js +1 -1
  54. package/dist/esm/sqm-big-stat.entry.js +2 -2
  55. package/dist/esm/sqm-brand_31.entry.js +112 -117
  56. package/dist/esm/sqm-graphql-client-provider.entry.js +4 -4
  57. package/dist/esm/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-cd1e8962.js} +2 -2
  58. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  59. package/dist/esm/sqm-leaderboard.entry.js +2 -2
  60. package/dist/esm/sqm-name-fields.entry.js +1 -1
  61. package/dist/esm/{sqm-navigation-sidebar-item-view-f2304ad9.js → sqm-navigation-sidebar-item-view-2d8c368c.js} +2 -2
  62. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  63. package/dist/esm/sqm-popup-container.entry.js +1 -1
  64. package/dist/esm/{sqm-portal-email-verification-view-8cefe480.js → sqm-portal-email-verification-view-2af31979.js} +1 -1
  65. package/dist/esm/sqm-portal-email-verification.entry.js +5 -5
  66. package/dist/esm/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-60cd9ae5.js} +1 -1
  67. package/dist/esm/sqm-portal-footer.entry.js +3 -3
  68. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  69. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  70. package/dist/esm/{sqm-portal-profile-view-b67467b4.js → sqm-portal-profile-view-f1deea0f.js} +1 -1
  71. package/dist/esm/sqm-portal-profile.entry.js +6 -6
  72. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  73. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  74. package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
  75. package/dist/esm/{sqm-program-explainer-step-view-f190277a.js → sqm-program-explainer-step-view-41c1eecd.js} +1 -1
  76. package/dist/esm/sqm-program-explainer-step.entry.js +1 -1
  77. package/dist/esm/{sqm-program-explainer-view-1c603bb7.js → sqm-program-explainer-view-098a64a9.js} +1 -1
  78. package/dist/esm/sqm-program-explainer.entry.js +1 -1
  79. package/dist/esm/sqm-referral-table-column.entry.js +2 -2
  80. package/dist/esm/sqm-referral-table-date-column.entry.js +2 -2
  81. package/dist/esm/sqm-referral-table-rewards-column.entry.js +2 -2
  82. package/dist/esm/sqm-referral-table-status-column.entry.js +2 -2
  83. package/dist/esm/sqm-referral-table-user-column.entry.js +2 -2
  84. package/dist/esm/sqm-share-code.entry.js +4 -4
  85. package/dist/esm/{useDemoBigStat-c3b955b7.js → useDemoBigStat-d227b2f9.js} +3 -3
  86. package/dist/esm-es5/ShadowViewAddon-558fabb7.js +1 -0
  87. package/dist/esm-es5/{global-90da933f.js → global-e0e25c22.js} +2 -2
  88. package/dist/esm-es5/{index.module-90d2c3ad.js → index.module-eb50a8d2.js} +1 -1
  89. package/dist/esm-es5/loader.js +1 -1
  90. package/dist/esm-es5/mint-components.js +1 -1
  91. package/dist/esm-es5/{re-render-e06f2f7f.js → re-render-6d5b856e.js} +1 -1
  92. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  93. package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
  94. package/dist/esm-es5/sqm-brand_31.entry.js +2 -2
  95. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  96. package/dist/esm-es5/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-cd1e8962.js} +1 -1
  97. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  98. package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
  99. package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
  100. package/dist/esm-es5/sqm-navigation-sidebar-item-view-2d8c368c.js +1 -0
  101. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  102. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  103. package/dist/esm-es5/{sqm-portal-email-verification-view-8cefe480.js → sqm-portal-email-verification-view-2af31979.js} +1 -1
  104. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  105. package/dist/esm-es5/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-60cd9ae5.js} +1 -1
  106. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  107. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  108. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  109. package/dist/esm-es5/{sqm-portal-profile-view-b67467b4.js → sqm-portal-profile-view-f1deea0f.js} +1 -1
  110. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  111. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  112. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  113. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  114. package/dist/esm-es5/{sqm-program-explainer-step-view-f190277a.js → sqm-program-explainer-step-view-41c1eecd.js} +1 -1
  115. package/dist/esm-es5/sqm-program-explainer-step.entry.js +1 -1
  116. package/dist/esm-es5/{sqm-program-explainer-view-1c603bb7.js → sqm-program-explainer-view-098a64a9.js} +1 -1
  117. package/dist/esm-es5/sqm-program-explainer.entry.js +1 -1
  118. package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
  119. package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
  120. package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
  121. package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
  122. package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
  123. package/dist/esm-es5/sqm-share-code.entry.js +1 -1
  124. package/dist/esm-es5/useDemoBigStat-d227b2f9.js +1 -0
  125. package/dist/mint-components/mint-components.esm.js +1 -1
  126. package/dist/mint-components/mint-components.js +1 -1
  127. package/dist/mint-components/{p-a6094ff9.system.js → p-02dc36a4.system.js} +1 -1
  128. package/dist/mint-components/{p-3ce2fb83.system.js → p-03e93c82.system.js} +1 -1
  129. package/dist/mint-components/p-0d8b2757.system.entry.js +1 -0
  130. package/dist/mint-components/{p-b608f7a4.system.js → p-0e8ae7e3.system.js} +1 -1
  131. package/dist/mint-components/{p-3b6228f4.system.js → p-10103ce2.system.js} +1 -1
  132. package/dist/mint-components/{p-221a4097.entry.js → p-1705e549.entry.js} +1 -1
  133. package/dist/mint-components/{p-2d6421b6.system.js → p-1b5b5928.system.js} +1 -1
  134. package/dist/mint-components/{p-0eb3e89c.js → p-1f95b411.js} +1 -1
  135. package/dist/mint-components/{p-44d0fc80.system.entry.js → p-2027edc0.system.entry.js} +1 -1
  136. package/dist/mint-components/{p-a4c2c7ed.entry.js → p-20c95798.entry.js} +1 -1
  137. package/dist/mint-components/{p-b1bb07db.entry.js → p-21b4044a.entry.js} +1 -1
  138. package/dist/mint-components/{p-9e4e397a.system.entry.js → p-21df3f85.system.entry.js} +1 -1
  139. package/dist/mint-components/{p-db2e4c42.js → p-221bd06e.js} +1 -1
  140. package/dist/mint-components/p-2338162a.entry.js +1 -0
  141. package/dist/mint-components/{p-73148868.system.entry.js → p-24fa8920.system.entry.js} +1 -1
  142. package/dist/mint-components/{p-e6d77d20.system.entry.js → p-29ee7d11.system.entry.js} +1 -1
  143. package/dist/mint-components/{p-e7f633b9.system.js → p-2e63dcfd.system.js} +1 -1
  144. package/dist/mint-components/{p-9d6dbb2d.entry.js → p-3143cce4.entry.js} +1 -1
  145. package/dist/mint-components/p-34112d74.entry.js +1 -0
  146. package/dist/mint-components/{p-3b97aed8.system.js → p-40e83a85.system.js} +1 -1
  147. package/dist/mint-components/{p-be2738b0.system.entry.js → p-46493de5.system.entry.js} +1 -1
  148. package/dist/mint-components/{p-1dcdca58.system.entry.js → p-4658d225.system.entry.js} +1 -1
  149. package/dist/mint-components/{p-6882070c.js → p-4b719313.js} +1 -1
  150. package/dist/mint-components/{p-29fab29b.entry.js → p-53e51b3f.entry.js} +1 -1
  151. package/dist/mint-components/p-5939212e.system.entry.js +1 -0
  152. package/dist/mint-components/{p-d35b0366.js → p-5d925bb6.js} +1 -1
  153. package/dist/mint-components/{p-c6114bfe.system.js → p-5e4e7f01.system.js} +1 -1
  154. package/dist/mint-components/{p-224504ad.js → p-61acba7a.js} +1 -1
  155. package/dist/mint-components/{p-f17050de.entry.js → p-65c79eec.entry.js} +1 -1
  156. package/dist/mint-components/{p-bf1b79ba.entry.js → p-748ad4f5.entry.js} +1 -1
  157. package/dist/mint-components/{p-52802c88.entry.js → p-759d3800.entry.js} +2 -2
  158. package/dist/mint-components/{p-49cbd0a2.entry.js → p-760762d3.entry.js} +2 -2
  159. package/dist/mint-components/{p-33c5ffb7.entry.js → p-7cdbe82a.entry.js} +1 -1
  160. package/dist/mint-components/{p-84dc4854.entry.js → p-7cec5098.entry.js} +4 -3
  161. package/dist/mint-components/{p-223b42bd.system.entry.js → p-7ff22998.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-6c9c4477.js → p-81786aa0.js} +1 -1
  163. package/dist/mint-components/p-85efd952.entry.js +1 -0
  164. package/dist/mint-components/p-86255b95.entry.js +1 -0
  165. package/dist/mint-components/{p-24c9a599.system.entry.js → p-88fdfd94.system.entry.js} +1 -1
  166. package/dist/mint-components/{p-c3f91add.system.entry.js → p-8ec5127e.system.entry.js} +1 -1
  167. package/dist/mint-components/{p-46a4269a.js → p-8fd8682c.js} +1 -1
  168. package/dist/mint-components/{p-412a9226.system.entry.js → p-97b946c2.system.entry.js} +1 -1
  169. package/dist/mint-components/p-9be0cb19.entry.js +1 -0
  170. package/dist/mint-components/{p-1a09e4e1.system.entry.js → p-a0a26fc5.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-304e6c82.system.entry.js → p-a355eeaf.system.entry.js} +1 -1
  172. package/dist/mint-components/p-a4bd0778.system.entry.js +58 -0
  173. package/dist/mint-components/{p-67ae18d1.system.entry.js → p-a8246a50.system.entry.js} +1 -1
  174. package/dist/mint-components/p-a831de18.entry.js +1 -0
  175. package/dist/mint-components/p-a833dbb3.js +1 -0
  176. package/dist/mint-components/p-a88a08bb.system.js +1 -0
  177. package/dist/mint-components/{p-b8bd2607.entry.js → p-a9a6f205.entry.js} +1 -1
  178. package/dist/mint-components/{p-6e245fa3.system.entry.js → p-aee83885.system.entry.js} +1 -1
  179. package/dist/mint-components/{p-cca9026f.system.entry.js → p-b86cbac3.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-07c924fa.system.js → p-be3a0cc4.system.js} +1 -1
  181. package/dist/mint-components/{p-3397167c.entry.js → p-c0f9d0b1.entry.js} +1 -1
  182. package/dist/mint-components/{p-60855d33.system.js → p-c65cfc9d.system.js} +1 -1
  183. package/dist/mint-components/{p-dc603d08.system.entry.js → p-ca40dbaa.system.entry.js} +1 -1
  184. package/dist/mint-components/{p-9c554ca0.system.js → p-cc189fc4.system.js} +1 -1
  185. package/dist/mint-components/{p-fce1dbf6.entry.js → p-cc652a53.entry.js} +1 -1
  186. package/dist/mint-components/{p-f90486ca.js → p-d19d6012.js} +15 -15
  187. package/dist/mint-components/p-d3c7dbfc.entry.js +1 -0
  188. package/dist/mint-components/{p-24b3c6f0.system.entry.js → p-d4a1bce9.system.entry.js} +1 -1
  189. package/dist/mint-components/p-d68f6b64.system.entry.js +1 -0
  190. package/dist/mint-components/p-e36ff7fa.entry.js +1 -0
  191. package/dist/mint-components/{p-723ebe45.entry.js → p-e608f340.entry.js} +2 -2
  192. package/dist/mint-components/{p-c79c608d.system.entry.js → p-e7cb4274.system.entry.js} +1 -1
  193. package/dist/mint-components/{p-bc8b6125.js → p-ee684b5f.js} +1 -1
  194. package/dist/mint-components/{p-6bf0a4d9.system.entry.js → p-ef7f70f2.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-396bf448.system.entry.js → p-f20d9204.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-96a1967b.entry.js → p-f5cfc52a.entry.js} +1 -1
  197. package/dist/mint-components/{p-d21e0dbd.js → p-f7f87338.js} +1 -1
  198. package/dist/mint-components/{p-cdeae699.system.js → p-f9ada3d7.system.js} +1 -1
  199. package/dist/mint-components/{p-563253e8.js → p-faf66fdb.js} +1 -1
  200. package/dist/mint-components/p-fcd03042.entry.js +1 -0
  201. package/dist/mint-components/{p-69bcf4fa.system.entry.js → p-fd281e6b.system.entry.js} +1 -1
  202. package/dist/types/components/sqm-program-explainer/sqm-program-explainer-view.d.ts +1 -1
  203. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
  204. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
  205. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -1
  206. package/dist/types/components.d.ts +16 -16
  207. package/grapesjs/grapesjs.js +1 -1
  208. package/package.json +1 -1
  209. package/dist/esm-es5/ShadowViewAddon-a3f510db.js +0 -1
  210. package/dist/esm-es5/sqm-navigation-sidebar-item-view-f2304ad9.js +0 -1
  211. package/dist/esm-es5/useDemoBigStat-c3b955b7.js +0 -1
  212. package/dist/mint-components/p-160bd62f.entry.js +0 -1
  213. package/dist/mint-components/p-16f5a7cb.system.js +0 -1
  214. package/dist/mint-components/p-1c8b0290.entry.js +0 -1
  215. package/dist/mint-components/p-20d41ab1.entry.js +0 -1
  216. package/dist/mint-components/p-3d856985.entry.js +0 -1
  217. package/dist/mint-components/p-4052b948.system.entry.js +0 -1
  218. package/dist/mint-components/p-45c752a0.entry.js +0 -1
  219. package/dist/mint-components/p-5480e4ee.entry.js +0 -1
  220. package/dist/mint-components/p-5f4d838e.system.entry.js +0 -58
  221. package/dist/mint-components/p-8435a22d.entry.js +0 -1
  222. package/dist/mint-components/p-883a32e7.entry.js +0 -1
  223. package/dist/mint-components/p-9e4fee30.system.entry.js +0 -1
  224. package/dist/mint-components/p-a2c3cff3.js +0 -1
  225. package/dist/mint-components/p-ade44a4e.entry.js +0 -1
  226. package/dist/mint-components/p-d174d0bc.system.entry.js +0 -1
  227. package/dist/types/global/android.d.ts +0 -7
  228. package/dist/types/global/demo.d.ts +0 -1
  229. package/dist/types/stories/features.d.ts +0 -4
  230. package/dist/types/stories/templates.d.ts +0 -4
@@ -698,6 +698,10 @@ export namespace Components {
698
698
  * @uiWidget color
699
699
  */
700
700
  "background": string;
701
+ /**
702
+ * @uiName Title
703
+ */
704
+ "cardTitle": string;
701
705
  /**
702
706
  * @uiName Color
703
707
  * @uiWidget color
@@ -711,16 +715,16 @@ export namespace Components {
711
715
  * @uiName Header
712
716
  */
713
717
  "header": string;
714
- /**
715
- * @uiName Title
716
- */
717
- "title": string;
718
718
  }
719
719
  interface SqmProgramExplainerStep {
720
720
  /**
721
721
  * @uiName Background
722
722
  */
723
723
  "background": string;
724
+ /**
725
+ * @uiName Title
726
+ */
727
+ "cardTitle": string;
724
728
  /**
725
729
  * @uiName Color
726
730
  * @uiWidget color
@@ -734,10 +738,6 @@ export namespace Components {
734
738
  * @uiName Icon
735
739
  */
736
740
  "icon": string;
737
- /**
738
- * @uiName Title
739
- */
740
- "title": string;
741
741
  }
742
742
  interface SqmProgramMenu {
743
743
  }
@@ -2359,6 +2359,10 @@ declare namespace LocalJSX {
2359
2359
  * @uiWidget color
2360
2360
  */
2361
2361
  "background"?: string;
2362
+ /**
2363
+ * @uiName Title
2364
+ */
2365
+ "cardTitle"?: string;
2362
2366
  /**
2363
2367
  * @uiName Color
2364
2368
  * @uiWidget color
@@ -2372,16 +2376,16 @@ declare namespace LocalJSX {
2372
2376
  * @uiName Header
2373
2377
  */
2374
2378
  "header"?: string;
2375
- /**
2376
- * @uiName Title
2377
- */
2378
- "title"?: string;
2379
2379
  }
2380
2380
  interface SqmProgramExplainerStep {
2381
2381
  /**
2382
2382
  * @uiName Background
2383
2383
  */
2384
2384
  "background"?: string;
2385
+ /**
2386
+ * @uiName Title
2387
+ */
2388
+ "cardTitle"?: string;
2385
2389
  /**
2386
2390
  * @uiName Color
2387
2391
  * @uiWidget color
@@ -2395,10 +2399,6 @@ declare namespace LocalJSX {
2395
2399
  * @uiName Icon
2396
2400
  */
2397
2401
  "icon"?: string;
2398
- /**
2399
- * @uiName Title
2400
- */
2401
- "title"?: string;
2402
2402
  }
2403
2403
  interface SqmProgramMenu {
2404
2404
  }
@@ -5,7 +5,7 @@ System.register([], function (exports_1, context_1) {
5
5
  return {
6
6
  setters: [],
7
7
  execute: function () {
8
- components = [{ "tag": "sqm-asset-card", "name": "Asset Card", "uiSchema": { "demoData": { "ui:help": "" }, "img-url": { "ui:name": "Banner image", "ui:help": "" }, "title-text": { "ui:name": "Banner title", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "img-url", "type": "string", "title": "Banner image" }, { "name": "title-text", "type": "string", "title": "Banner title" }] }, { "tag": "sqm-big-stat", "name": "Big Stat", "uiSchema": { "alignment": { "ui:name": "Alignment - controls the alignment of the flexbox", "ui:help": "" }, "demoData": { "ui:help": "" }, "flex-reverse": { "ui:name": "Flex Reverse - controls the order of the stat value & description column", "ui:help": "" }, "stat-type": { "ui:widget": "StatTypeSelectWidget", "ui:name": "Stat Type", "ui:help": "Select what type of stat to display. Manual paths are also supported.", "ui:options": { "version": 1.1 } } }, "traits": [{ "name": "alignment", "type": "string", "title": "Alignment - controls the alignment of the flexbox", "enum": ["left", "right", "center"] }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "flex-reverse", "type": "boolean", "title": "Flex Reverse - controls the order of the stat value & description column" }, { "name": "stat-type", "type": "string", "title": "Stat Type" }] }, { "tag": "sqm-brand", "name": "Big Stat", "uiSchema": { "brand-color": { "ui:name": "Brand Color", "ui:help": "Controls the primary brand color used in the Mint Components library. Note that this\r\ndoes not affect vanilla components or other component libraries." }, "brand-font": { "ui:name": "Brand Font", "ui:help": "The brand font that you want to use" } }, "traits": [{ "name": "brand-color", "type": "string", "title": "Brand Color" }, { "name": "brand-font", "type": "string", "title": "Brand Font" }] }, { "tag": "sqm-divided-layout", "name": "Divided Layout", "uiSchema": { "direction": { "ui:name": "Direction", "ui:help": "" }, "divider-style": { "ui:name": "Border style", "ui:help": "Uses CSS border style syntax" } }, "traits": [{ "name": "direction", "type": "string", "title": "Direction", "enum": ["row", "column"] }, { "name": "divider-style", "type": "string", "title": "Border style" }] }, { "tag": "sqm-edit-profile", "name": "Edit Profile", "uiSchema": { "canceltext": { "ui:name": "Cancel button text", "ui:help": "" }, "currentregiontext": { "ui:name": "Region field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "editprofileheader": { "ui:name": "Heading", "ui:help": "" }, "editprofiletext": { "ui:name": "Enable editing button text", "ui:help": "" }, "firstnametext": { "ui:name": "First name field label", "ui:help": "" }, "lastnametext": { "ui:name": "Last name field label", "ui:help": "" }, "showregion": { "ui:name": "Show or hide current region", "ui:help": "" }, "updatetext": { "ui:name": "Update info button text", "ui:help": "" } }, "traits": [{ "name": "canceltext", "type": "string", "title": "Cancel button text" }, { "name": "currentregiontext", "type": "string", "title": "Region field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "editprofileheader", "type": "string", "title": "Heading" }, { "name": "editprofiletext", "type": "string", "title": "Enable editing button text" }, { "name": "firstnametext", "type": "string", "title": "First name field label" }, { "name": "lastnametext", "type": "string", "title": "Last name field label" }, { "name": "showregion", "type": "boolean", "title": "Show or hide current region" }, { "name": "updatetext", "type": "string", "title": "Update info button text" }] }, { "tag": "sqm-form-message", "name": "Form Message", "uiSchema": { "icon": { "ui:name": "Icon to use in alert", "ui:help": "" }, "type": { "ui:name": "Type of alert", "ui:help": "" } }, "traits": [{ "name": "icon", "type": "string", "title": "Icon to use in alert" }, { "name": "type", "type": "string", "title": "Type of alert" }] }, { "tag": "sqm-graphql-client-provider", "name": "GraphQL Client Provider", "uiSchema": { "domain": { "ui:name": "Domain", "ui:help": "" } }, "traits": [{ "name": "domain", "type": "string", "title": "Domain" }] }, { "tag": "sqm-hero", "name": "Hero Layout", "uiSchema": { "background": { "ui:name": "Background image or color", "ui:help": "" }, "columns": { "ui:name": "Number of columns in the layout", "ui:help": "" }, "padding-size": { "ui:name": "Padding size", "ui:help": "" }, "secondary-background": { "ui:name": "Secondary background image or color (for use in right column)", "ui:help": "" }, "wrap-direction": { "ui:name": "Wrap direction", "ui:help": "" } }, "traits": [{ "name": "background", "type": "string", "title": "Background image or color" }, { "name": "columns", "type": "1 | 2", "title": "Number of columns in the layout" }, { "name": "padding-size", "type": "\"large\" | \"medium\" | \"none\" | \"small\"", "title": "Padding size" }, { "name": "secondary-background", "type": "string", "title": "Secondary background image or color (for use in right column)" }, { "name": "wrap-direction", "type": "\"wrap\" | \"wrap-reverse\"", "title": "Wrap direction" }] }, { "tag": "sqm-hook-story-container", "name": "sqm-hook-story-container", "uiSchema": { "hookStory": { "ui:help": "" } }, "traits": [{ "name": "hookStory", "type": "FunctionalComponent<{}>", "title": "hookStory" }] }, { "tag": "sqm-leaderboard", "name": "Leaderboard", "uiSchema": { "demoData": { "ui:help": "" }, "interval": { "ui:widget": "DateRange", "ui:name": "Leaderboard time interval", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-type": { "ui:name": "Rank type", "ui:help": "" }, "rankheading": { "ui:name": "Rank Heading", "ui:help": "" }, "show-rank": { "ui:name": "Show the ranking numbers", "ui:help": "" }, "statsheading": { "ui:name": "Stats Column Heading", "ui:help": "" }, "usersheading": { "ui:name": "User Column Heading", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "interval", "type": "string", "title": "Leaderboard time interval" }, { "name": "leaderboard-type", "type": "string", "title": "Leaderboard type", "enum": ["topStartedReferrers", "topConvertedReferrers"] }, { "name": "rank-type", "type": "string", "title": "Rank type", "enum": ["rowNumber", "rank", "denseRank"] }, { "name": "rankheading", "type": "string", "title": "Rank Heading" }, { "name": "show-rank", "type": "boolean", "title": "Show the ranking numbers" }, { "name": "statsheading", "type": "string", "title": "Stats Column Heading" }, { "name": "usersheading", "type": "string", "title": "User Column Heading" }] }, { "tag": "sqm-leaderboard-rank", "name": "Leaderboard Rank", "uiSchema": { "demoData": { "ui:help": "" }, "interval": { "ui:widget": "DateRange", "ui:name": "Leaderboard time interval", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-text": { "ui:name": "Rank Text", "ui:help": "" }, "rank-type": { "ui:name": "Default rank", "ui:help": "" }, "unranked-text": { "ui:name": "Unranked Text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "interval", "type": "string", "title": "Leaderboard time interval" }, { "name": "leaderboard-type", "type": "string", "title": "Leaderboard type", "enum": ["topStartedReferrers", "topConvertedReferrers"] }, { "name": "rank-text", "type": "string", "title": "Rank Text" }, { "name": "rank-type", "type": "string", "title": "Default rank", "enum": ["rowNumber", "rank", "denseRank"] }, { "name": "unranked-text", "type": "string", "title": "Unranked Text" }] }, { "tag": "sqm-name-fields", "name": "Name Fields", "uiSchema": { "demoData": { "ui:help": "" }, "first-name-label": { "ui:name": "First name field label", "ui:help": "" }, "last-name-label": { "ui:name": "Last name field label", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "{ states?: { validationErrors?: Record<string, string>; content: { firstNameLabel: string; lastNameLabel: string; }; }; }", "title": "demoData" }, { "name": "first-name-label", "type": "string", "title": "First name field label" }, { "name": "last-name-label", "type": "string", "title": "Last name field label" }] }, { "tag": "sqm-navigation-menu", "name": "Navigation Menu", "uiSchema": { "demoData": { "ui:help": "" }, "include-dropdown": { "ui:name": "Include dropdown menu", "ui:help": "" }, "menu-label": { "ui:name": "Label on the header menu", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "include-dropdown", "type": "boolean", "title": "Include dropdown menu" }, { "name": "menu-label", "type": "string", "title": "Label on the header menu" }] }, { "tag": "sqm-navigation-sidebar", "name": "Navigation Sidebar", "uiSchema": {}, "traits": [] }, { "tag": "sqm-navigation-sidebar-item", "name": "Navigation Link", "uiSchema": { "demoData": { "ui:help": "" }, "icon": { "ui:name": "Icon", "ui:help": "" }, "label": { "ui:name": "Label", "ui:help": "" }, "path": { "ui:name": "Navigation path", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "icon", "type": "string", "title": "Icon" }, { "name": "label", "type": "string", "title": "Label" }, { "name": "path", "type": "string", "title": "Navigation path" }] }, { "tag": "sqm-password-field", "name": "Portal Password Field", "uiSchema": { "demoData": { "ui:help": "" }, "enable-validation": { "ui:name": "Enable live password validation", "ui:help": "" }, "field-label": { "ui:name": "Label for password field", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "enable-validation", "type": "boolean", "title": "Enable live password validation" }, { "name": "field-label", "type": "string", "title": "Label for password field" }] }, { "tag": "sqm-popup-container", "name": "Popup container for widgets", "uiSchema": { "close-button": { "ui:name": "Display a close button on the popup", "ui:help": "" }, "close-button-text": { "ui:name": "Text to be used as the close button", "ui:help": "" }, "embed-padding": { "ui:name": "Specify padding on the popup contents when in embedded mode", "ui:help": "" }, "popup-padding": { "ui:name": "Specify padding on the popup contents when in popup mode", "ui:help": "" }, "powered-by": { "ui:name": "Show SaaSquatch Powered By messaging", "ui:help": "" } }, "traits": [{ "name": "close-button", "type": "boolean", "title": "Display a close button on the popup" }, { "name": "close-button-text", "type": "string", "title": "Text to be used as the close button" }, { "name": "embed-padding", "type": "string", "title": "Specify padding on the popup contents when in embedded mode", "enum": ["none", "small", "medium", "large"] }, { "name": "popup-padding", "type": "string", "title": "Specify padding on the popup contents when in popup mode", "enum": ["none", "small", "medium", "large"] }, { "name": "powered-by", "type": "boolean", "title": "Show SaaSquatch Powered By messaging" }] }, { "tag": "sqm-portal-change-password", "name": "Portal Profile", "uiSchema": { "cancel-text": { "ui:name": "Modal cancel password change button text", "ui:help": "" }, "change-password-button-text": { "ui:name": "Modal change password button text", "ui:help": "" }, "confirm-password-field-label": { "ui:name": "Password confirmation input field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "modal-change-password-header": { "ui:name": "Change password modal header", "ui:help": "" }, "password-field-label": { "ui:name": "Password input field label", "ui:help": "" }, "portal-change-password-button-text": { "ui:name": "Portal change password button text", "ui:help": "" }, "portal-change-password-header": { "ui:name": "Portal change password section header", "ui:help": "" }, "success-message": { "ui:name": "Successful password change message", "ui:help": "" } }, "traits": [{ "name": "cancel-text", "type": "string", "title": "Modal cancel password change button text" }, { "name": "change-password-button-text", "type": "string", "title": "Modal change password button text" }, { "name": "confirm-password-field-label", "type": "string", "title": "Password confirmation input field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "modal-change-password-header", "type": "string", "title": "Change password modal header" }, { "name": "password-field-label", "type": "string", "title": "Password input field label" }, { "name": "portal-change-password-button-text", "type": "string", "title": "Portal change password button text" }, { "name": "portal-change-password-header", "type": "string", "title": "Portal change password section header" }, { "name": "success-message", "type": "string", "title": "Successful password change message" }] }, { "tag": "sqm-portal-container", "name": "Portal Container", "uiSchema": { "direction": { "ui:name": "Direction", "ui:help": "" }, "gap": { "ui:name": "Gap", "ui:help": "" }, "min-width": { "ui:name": "Minimum width", "ui:help": "" }, "padding": { "ui:name": "Padding", "ui:help": "" } }, "traits": [{ "name": "direction", "type": "string", "title": "Direction", "enum": ["row", "column"] }, { "name": "gap", "type": "string", "title": "Gap", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }, { "name": "min-width", "type": "string", "title": "Minimum width" }, { "name": "padding", "type": "string", "title": "Padding", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-portal-email-verification", "name": "Portal Email Verification", "uiSchema": { "demoData": { "ui:help": "" }, "email-verification-header": { "ui:name": "Email verification header text", "ui:help": "" }, "resend-email-button-text": { "ui:name": "Re-send email button text", "ui:help": "" }, "verify-message": { "ui:name": "Email verification body text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-verification-header", "type": "string", "title": "Email verification header text" }, { "name": "resend-email-button-text", "type": "string", "title": "Re-send email button text" }, { "name": "verify-message", "type": "string", "title": "Email verification body text" }] }, { "tag": "sqm-portal-footer", "name": "Portal Footer", "uiSchema": { "faq-link": { "ui:name": "FAQ Link", "ui:help": "" }, "faq-text": { "ui:name": "FAQ Text", "ui:help": "" }, "padding-bottom": { "ui:name": "Padding Bottom", "ui:help": "" }, "padding-left": { "ui:name": "Padding Left", "ui:help": "" }, "padding-right": { "ui:name": "Padding Right", "ui:help": "" }, "padding-top": { "ui:name": "Padding Top", "ui:help": "" }, "powered-by-link": { "ui:name": "Powered By Link", "ui:help": "" }, "show-powered-by": { "ui:name": "Show Powered By SaaSquatch", "ui:help": "" }, "support-email": { "ui:name": "Support Email", "ui:help": "" }, "support-text": { "ui:name": "Support Text", "ui:help": "" }, "terms-link": { "ui:name": "Terms and Conditions Link", "ui:help": "" }, "terms-text": { "ui:name": "Terms and Conditions Text", "ui:help": "" } }, "traits": [{ "name": "faq-link", "type": "string", "title": "FAQ Link" }, { "name": "faq-text", "type": "string", "title": "FAQ Text" }, { "name": "padding-bottom", "type": "string", "title": "Padding Bottom" }, { "name": "padding-left", "type": "string", "title": "Padding Left" }, { "name": "padding-right", "type": "string", "title": "Padding Right" }, { "name": "padding-top", "type": "string", "title": "Padding Top" }, { "name": "powered-by-link", "type": "string", "title": "Powered By Link" }, { "name": "show-powered-by", "type": "boolean", "title": "Show Powered By SaaSquatch" }, { "name": "support-email", "type": "string", "title": "Support Email" }, { "name": "support-text", "type": "string", "title": "Support Text" }, { "name": "terms-link", "type": "string", "title": "Terms and Conditions Link" }, { "name": "terms-text", "type": "string", "title": "Terms and Conditions Text" }] }, { "tag": "sqm-portal-forgot-password", "name": "Portal Forgot Password", "uiSchema": { "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Email label", "ui:help": "" }, "submit-label": { "ui:name": "Password reset button text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Email label" }, { "name": "submit-label", "type": "string", "title": "Password reset button text" }] }, { "tag": "sqm-portal-frame", "name": "Portal Frame", "uiSchema": { "demoData": { "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }] }, { "tag": "sqm-portal-login", "name": "Portal Login", "uiSchema": { "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Label for email field", "ui:help": "" }, "forgot-password-label": { "ui:name": "Label for forgotten password button", "ui:help": "" }, "next-page": { "ui:name": "Page navigated to after sign-in", "ui:help": "" }, "page-label": { "ui:name": "Heading label", "ui:help": "" }, "password-label": { "ui:name": "Label for password field", "ui:help": "" }, "register-label": { "ui:name": "Label for register navigation button", "ui:help": "" }, "submit-label": { "ui:name": "Label for submit button", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Label for email field" }, { "name": "forgot-password-label", "type": "string", "title": "Label for forgotten password button" }, { "name": "next-page", "type": "string", "title": "Page navigated to after sign-in" }, { "name": "page-label", "type": "string", "title": "Heading label" }, { "name": "password-label", "type": "string", "title": "Label for password field" }, { "name": "register-label", "type": "string", "title": "Label for register navigation button" }, { "name": "submit-label", "type": "string", "title": "Label for submit button" }] }, { "tag": "sqm-portal-logout", "name": "Portal Logout", "uiSchema": { "next-page": { "ui:name": "Next Page path", "ui:help": "" } }, "traits": [{ "name": "next-page", "type": "string", "title": "Next Page path" }] }, { "tag": "sqm-portal-profile", "name": "Portal Profile", "uiSchema": { "countrytext": { "ui:name": "Country input field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "edit-profile-header": { "ui:name": "Edit profile header", "ui:help": "" }, "edit-profile-sub-header": { "ui:name": "Edit profile sub header", "ui:help": "" }, "emailtext": { "ui:name": "Email input field label", "ui:help": "" }, "firstnametext": { "ui:name": "First name input field label", "ui:help": "" }, "lastnametext": { "ui:name": "Last name input field label", "ui:help": "" }, "show-country": { "ui:name": "Show or hide country field", "ui:help": "" }, "submit-change-button-text": { "ui:name": "Text for the submit changes button", "ui:help": "" } }, "traits": [{ "name": "countrytext", "type": "string", "title": "Country input field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "edit-profile-header", "type": "string", "title": "Edit profile header" }, { "name": "edit-profile-sub-header", "type": "string", "title": "Edit profile sub header" }, { "name": "emailtext", "type": "string", "title": "Email input field label" }, { "name": "firstnametext", "type": "string", "title": "First name input field label" }, { "name": "lastnametext", "type": "string", "title": "Last name input field label" }, { "name": "show-country", "type": "boolean", "title": "Show or hide country field" }, { "name": "submit-change-button-text", "type": "string", "title": "Text for the submit changes button" }] }, { "tag": "sqm-portal-protected-route", "name": "Portal Protected Route", "uiSchema": { "redirect-to": { "ui:name": "Redirect Path", "ui:help": "" }, "redirect-to-unverified": { "ui:name": "Redirect unverified users path", "ui:help": "" }, "require-email-verification": { "ui:name": "Require Email Verification", "ui:help": "" } }, "traits": [{ "name": "redirect-to", "type": "string", "title": "Redirect Path" }, { "name": "redirect-to-unverified", "type": "string", "title": "Redirect unverified users path" }, { "name": "require-email-verification", "type": "boolean", "title": "Require Email Verification" }] }, { "tag": "sqm-portal-register", "name": "Portal Register", "uiSchema": { "confirm-password": { "ui:name": "Show confirm password field", "ui:help": "" }, "confirm-password-label": { "ui:name": "Label for confirm password field", "ui:help": "" }, "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Label for email field", "ui:help": "" }, "enable-password-validation": { "ui:name": "Use password field with live validation", "ui:help": "" }, "hide-inputs": { "ui:name": "Hide default input fields to use custom fields", "ui:help": "" }, "login-label": { "ui:name": "Label for login navigation button", "ui:help": "" }, "next-page": { "ui:name": "Page navigated to after registration", "ui:help": "" }, "page-label": { "ui:name": "Heading label", "ui:help": "" }, "password-label": { "ui:name": "Label for password field", "ui:help": "" }, "submit-label": { "ui:name": "Label for submit button", "ui:help": "" } }, "traits": [{ "name": "confirm-password", "type": "boolean", "title": "Show confirm password field" }, { "name": "confirm-password-label", "type": "string", "title": "Label for confirm password field" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Label for email field" }, { "name": "enable-password-validation", "type": "boolean", "title": "Use password field with live validation" }, { "name": "hide-inputs", "type": "boolean", "title": "Hide default input fields to use custom fields" }, { "name": "login-label", "type": "string", "title": "Label for login navigation button" }, { "name": "next-page", "type": "string", "title": "Page navigated to after registration" }, { "name": "page-label", "type": "string", "title": "Heading label" }, { "name": "password-label", "type": "string", "title": "Label for password field" }, { "name": "submit-label", "type": "string", "title": "Label for submit button" }] }, { "tag": "sqm-portal-reset-password", "name": "Portal Reset Password", "uiSchema": { "confirm-password": { "ui:name": "Show confirm password", "ui:help": "" }, "confirm-password-field-label": { "ui:name": "Confirm password field label", "ui:help": "" }, "continue-button-text": { "ui:name": "Continue button text", "ui:help": "Displayed after a successful password reset" }, "demoData": { "ui:help": "" }, "next-page": { "ui:name": "Next page path", "ui:help": "" }, "password-field-label": { "ui:name": "Password field label", "ui:help": "" }, "password-reset-header": { "ui:name": "Password reset header text", "ui:help": "Displayed after a successful password reset" }, "reset-password-button-text": { "ui:name": "Password reset button text", "ui:help": "" }, "reset-password-header": { "ui:name": "Password reset header text", "ui:help": "" } }, "traits": [{ "name": "confirm-password", "type": "boolean", "title": "Show confirm password" }, { "name": "confirm-password-field-label", "type": "string", "title": "Confirm password field label" }, { "name": "continue-button-text", "type": "string", "title": "Continue button text" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "next-page", "type": "string", "title": "Next page path" }, { "name": "password-field-label", "type": "string", "title": "Password field label" }, { "name": "password-reset-header", "type": "string", "title": "Password reset header text" }, { "name": "reset-password-button-text", "type": "string", "title": "Password reset button text" }, { "name": "reset-password-header", "type": "string", "title": "Password reset header text" }] }, { "tag": "sqm-portal-verify-email", "name": "Portal Verify Email", "uiSchema": { "demoData": { "ui:help": "" }, "next-page": { "ui:name": "Next page path", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "next-page", "type": "string", "title": "Next page path" }] }, { "tag": "sqm-program-explainer", "name": "Program Explainer", "uiSchema": { "background": { "ui:widget": "color", "ui:name": "Background", "ui:help": "" }, "color": { "ui:widget": "color", "ui:name": "Color", "ui:help": "" }, "description": { "ui:name": "Description", "ui:help": "" }, "header": { "ui:name": "Header", "ui:help": "" }, "title": { "ui:name": "Title", "ui:help": "" } }, "traits": [{ "name": "background", "type": "string", "title": "Background" }, { "name": "color", "type": "string", "title": "Color" }, { "name": "description", "type": "string", "title": "Description" }, { "name": "header", "type": "string", "title": "Header" }, { "name": "title", "type": "string", "title": "Title" }] }, { "tag": "sqm-program-explainer-step", "name": "Program Explainer Step", "uiSchema": { "background": { "ui:name": "Background", "ui:help": "" }, "color": { "ui:widget": "color", "ui:name": "Color", "ui:help": "" }, "description": { "ui:name": "Description", "ui:help": "" }, "icon": { "ui:name": "Icon", "ui:help": "" }, "title": { "ui:name": "Title", "ui:help": "" } }, "traits": [{ "name": "background", "type": "string", "title": "Background" }, { "name": "color", "type": "string", "title": "Color" }, { "name": "description", "type": "string", "title": "Description" }, { "name": "icon", "type": "string", "title": "Icon" }, { "name": "title", "type": "string", "title": "Title" }] }, { "tag": "sqm-program-menu", "name": "Portal Menu", "uiSchema": {}, "traits": [] }, { "tag": "sqm-referral-iframe", "name": "Referral IFrame", "uiSchema": { "demoData": { "ui:help": "" }, "iframe-height": { "ui:name": "Height of the iframe container", "ui:help": "" }, "iframe-src": { "ui:name": "URL of iframe to display", "ui:help": "" }, "iframe-width": { "ui:name": "Width of the iframe container", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "iframe-height", "type": "string", "title": "Height of the iframe container" }, { "name": "iframe-src", "type": "string", "title": "URL of iframe to display" }, { "name": "iframe-width", "type": "string", "title": "Width of the iframe container" }] }, { "tag": "sqm-referral-table", "name": "Referral Table", "uiSchema": { "demoData": { "ui:help": "" }, "more-label": { "ui:name": "View More button text", "ui:help": "" }, "per-page": { "ui:name": "Number of referrals per page", "ui:help": "" }, "prev-label": { "ui:name": "Previous button text", "ui:help": "" }, "program-id": { "ui:name": "Program", "ui:help": "Filters to only show referrals in this program. Will default to filtering by the program context where\r\nthis table lives. If no program ID is set or provided by context, then shows all referrals from all programs.\r\nIf program ID is \"classic\", shows classic-only referrals" }, "show-labels": { "ui:name": "Show column labels", "ui:help": "" }, "show-referrer": { "ui:name": "Show Referred by user in table", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "more-label", "type": "string", "title": "View More button text" }, { "name": "per-page", "type": "number", "title": "Number of referrals per page" }, { "name": "prev-label", "type": "string", "title": "Previous button text" }, { "name": "program-id", "type": "string", "title": "Program" }, { "name": "show-labels", "type": "boolean", "title": "Show column labels" }, { "name": "show-referrer", "type": "boolean", "title": "Show Referred by user in table" }] }, { "tag": "sqm-referral-table-cell", "name": "sqm-referral-table-cell", "uiSchema": { "inner-template": { "ui:help": "" } }, "traits": [{ "name": "inner-template", "type": "string", "title": "inner-template" }] }, { "tag": "sqm-referral-table-column", "name": "Referral Table Generic Column", "uiSchema": { "column-title": { "ui:name": "Column Title", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Column Title" }] }, { "tag": "sqm-referral-table-date-cell", "name": "sqm-referral-table-date-cell", "uiSchema": { "date": { "ui:help": "" } }, "traits": [{ "name": "date", "type": "number", "title": "date" }] }, { "tag": "sqm-referral-table-date-column", "name": "Referral Table Date Column", "uiSchema": { "column-title": { "ui:name": "Date Column Title", "ui:help": "" }, "date-shown": { "ui:name": "Date Displayed", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Date Column Title" }, { "name": "date-shown", "type": "string", "title": "Date Displayed", "enum": ["dateConverted", "dateReferralStarted", "dateFraudChecksCompleted", "dateModerated", "dateModified", "dateReferralEnded", "dateReferralPaid", "dateUserModified"] }] }, { "tag": "sqm-referral-table-rewards-cell", "name": "sqm-referral-table-rewards-cell", "uiSchema": { "hide-details": { "ui:help": "" }, "rewards": { "ui:help": "" } }, "traits": [{ "name": "hide-details", "type": "boolean", "title": "hide-details" }, { "name": "rewards", "type": "Reward[]", "title": "rewards" }] }, { "tag": "sqm-referral-table-rewards-column", "name": "Referral Table Rewards Column", "uiSchema": { "column-title": { "ui:name": "Reward column title", "ui:help": "" }, "hide-details": { "ui:name": "Hide dropdown details of reward", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Reward column title" }, { "name": "hide-details", "type": "boolean", "title": "Hide dropdown details of reward" }] }, { "tag": "sqm-referral-table-status-cell", "name": "sqm-referral-table-status-cell", "uiSchema": { "converted": { "ui:help": "" }, "status-text": { "ui:help": "" } }, "traits": [{ "name": "converted", "type": "boolean", "title": "converted" }, { "name": "status-text", "type": "string", "title": "status-text" }] }, { "tag": "sqm-referral-table-status-column", "name": "Referral Table Status Column", "uiSchema": { "column-title": { "ui:name": "Column Title", "ui:help": "" }, "converted-status-text": { "ui:name": "Converted Status Text", "ui:help": "" }, "in-progress-status-text": { "ui:name": "In Progress Status Text", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Column Title" }, { "name": "converted-status-text", "type": "string", "title": "Converted Status Text" }, { "name": "in-progress-status-text", "type": "string", "title": "In Progress Status Text" }] }, { "tag": "sqm-referral-table-user-cell", "name": "sqm-referral-table-user-cell", "uiSchema": { "name": { "ui:help": "" } }, "traits": [{ "name": "name", "type": "string", "title": "name" }] }, { "tag": "sqm-referral-table-user-column", "name": "Referral Table User Column", "uiSchema": { "anonymous-user": { "ui:name": "Name displayed for anonymous users", "ui:help": "" }, "column-title": { "ui:name": "User Column Title", "ui:help": "" }, "deleted-user": { "ui:name": "Name displayed for deleted users", "ui:help": "" } }, "traits": [{ "name": "anonymous-user", "type": "string", "title": "Name displayed for anonymous users" }, { "name": "column-title", "type": "string", "title": "User Column Title" }, { "name": "deleted-user", "type": "string", "title": "Name displayed for deleted users" }] }, { "tag": "sqm-reward-exchange-list", "name": "Reward Exchange List", "uiSchema": { "back-text": { "ui:name": "Back Button Text", "ui:help": "" }, "button-text": { "ui:name": "Exchange button text", "ui:help": "" }, "cancel-text": { "ui:name": "Cancel Button Text", "ui:help": "" }, "choose-amount-title": { "ui:name": "Choose Amount Progress Title", "ui:help": "" }, "choose-reward-title": { "ui:name": "Choose Reward Progress Title", "ui:help": "" }, "confirmation-title": { "ui:name": "Confirmation Progress Title", "ui:help": "" }, "continue-text": { "ui:name": "Continue Button Text", "ui:help": "" }, "continue-to-confirmation-text": { "ui:name": "Continue to Confirmation Button Text", "ui:help": "" }, "demoData": { "ui:help": "" }, "done-text": { "ui:name": "Done Text", "ui:help": "" }, "not-available-error": { "ui:name": "Exchange button text", "ui:help": "" }, "not-enough-error": { "ui:name": "Not Enough Available Error Message", "ui:help": "" }, "query-error": { "ui:name": "Reward List Error Message", "ui:help": "" }, "redeem-text": { "ui:name": "Redeem Button Text", "ui:help": "" }, "redeem-title": { "ui:name": "Confirmation Title Text", "ui:help": "" }, "redemption-error": { "ui:name": "Redemption Error Message", "ui:help": "" }, "redemption-success-text": { "ui:help": "" } }, "traits": [{ "name": "back-text", "type": "string", "title": "Back Button Text" }, { "name": "button-text", "type": "string", "title": "Exchange button text" }, { "name": "cancel-text", "type": "string", "title": "Cancel Button Text" }, { "name": "choose-amount-title", "type": "string", "title": "Choose Amount Progress Title" }, { "name": "choose-reward-title", "type": "string", "title": "Choose Reward Progress Title" }, { "name": "confirmation-title", "type": "string", "title": "Confirmation Progress Title" }, { "name": "continue-text", "type": "string", "title": "Continue Button Text" }, { "name": "continue-to-confirmation-text", "type": "string", "title": "Continue to Confirmation Button Text" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "done-text", "type": "string", "title": "Done Text" }, { "name": "not-available-error", "type": "string", "title": "Exchange button text" }, { "name": "not-enough-error", "type": "string", "title": "Not Enough Available Error Message" }, { "name": "query-error", "type": "string", "title": "Reward List Error Message" }, { "name": "redeem-text", "type": "string", "title": "Redeem Button Text" }, { "name": "redeem-title", "type": "string", "title": "Confirmation Title Text" }, { "name": "redemption-error", "type": "string", "title": "Redemption Error Message" }, { "name": "redemption-success-text", "type": "string", "title": "redemption-success-text" }] }, { "tag": "sqm-rewards-table", "name": "Rewards Table", "uiSchema": { "demoData": { "ui:help": "" }, "more-label": { "ui:name": "View More button text", "ui:help": "" }, "per-page": { "ui:name": "Number of rewards per page", "ui:help": "" }, "prev-label": { "ui:name": "Previous button text", "ui:help": "" }, "program-id": { "ui:name": "Program", "ui:help": "Filters to only show rewards in this program. Will default to filtering by the program context where\r\nthis table lives. If no program ID is set or provided by context, then shows all rewards from all programs." }, "show-labels": { "ui:name": "Show column labels", "ui:help": "" }, "show-referrer": { "ui:name": "Show Referred by user in table", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "more-label", "type": "string", "title": "View More button text" }, { "name": "per-page", "type": "number", "title": "Number of rewards per page" }, { "name": "prev-label", "type": "string", "title": "Previous button text" }, { "name": "program-id", "type": "string", "title": "Program" }, { "name": "show-labels", "type": "boolean", "title": "Show column labels" }, { "name": "show-referrer", "type": "boolean", "title": "Show Referred by user in table" }] }, { "tag": "sqm-rewards-table-column", "name": "Rewards Table Column", "uiSchema": { "column-title": { "ui:name": "Reward column title", "ui:help": "" }, "hide-details": { "ui:name": "Hide dropdown details of reward", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Reward column title" }, { "name": "hide-details", "type": "boolean", "title": "Hide dropdown details of reward" }] }, { "tag": "sqm-route", "name": "Route (for pages)", "uiSchema": { "path": { "ui:name": "Navigation path name", "ui:help": "" } }, "traits": [{ "name": "path", "type": "string", "title": "Navigation path name" }] }, { "tag": "sqm-router", "name": "Router (for pages)", "uiSchema": {}, "traits": [] }, { "tag": "sqm-share-button", "name": "Share Button", "uiSchema": { "ui:order": ["medium", "program-id", "*", "pill", "disabled", "hideicon"], "demoData": { "ui:help": "" }, "disabled": { "ui:name": "Disabled", "ui:help": "" }, "hideicon": { "ui:name": "Hide the icon", "ui:help": "" }, "hidetext": { "ui:name": "Hide the text", "ui:help": "" }, "icon": { "ui:name": "Icon used in button. Will try to select an icon based on the share medium if left empty.", "ui:help": "" }, "iconslot": { "ui:name": "Icon Location", "ui:help": "" }, "medium": { "ui:name": "Share Medium", "ui:help": "The social medium to share on. Share messages and links\r\nwill be pulled from your program config and tagged for analytics." }, "pill": { "ui:name": "Display as pill", "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "Optional programId, or uses the programId context where this button is rendered." }, "sharetext": { "ui:name": "Text used for native sharing (mobile only)", "ui:help": "" }, "sharetitle": { "ui:name": "Title used for native sharing (mobile only)", "ui:help": "" }, "size": { "ui:name": "Button Size", "ui:help": "" }, "type": { "ui:name": "Button Style", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "disabled", "type": "boolean", "title": "Disabled" }, { "name": "hideicon", "type": "boolean", "title": "Hide the icon" }, { "name": "hidetext", "type": "boolean", "title": "Hide the text" }, { "name": "icon", "type": "string", "title": "Icon used in button. Will try to select an icon based on the share medium if left empty." }, { "name": "iconslot", "type": "string", "title": "Icon Location", "enum": ["prefix", "suffix"], "enumNames": ["Prefix", "Suffix"] }, { "name": "medium", "type": "string", "title": "Share Medium", "enum": ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest", "reminder", "unknown"], "enumNames": ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest", "Reminder", "Unknown"] }, { "name": "pill", "type": "boolean", "title": "Display as pill" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "sharetext", "type": "string", "title": "Text used for native sharing (mobile only)" }, { "name": "sharetitle", "type": "string", "title": "Title used for native sharing (mobile only)" }, { "name": "size", "type": "string", "title": "Button Size", "enum": ["small", "medium", "large"], "enumNames": ["Small", "Medium", "Large"] }, { "name": "type", "type": "string", "title": "Button Style", "enum": ["primary", "success", "info", "warning", "danger", "default", "text"] }] }, { "tag": "sqm-share-code", "name": "Share Code", "uiSchema": { "demoData": { "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the code. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the cpde to the clipboard." } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-share-link", "name": "Share Link", "uiSchema": { "demoData": { "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the link to the clipboard." } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-stat-container", "name": "Stat Container", "uiSchema": { "space": { "ui:name": "Space between stats", "ui:help": "" } }, "traits": [{ "name": "space", "type": "string", "title": "Space between stats", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-stencilbook", "name": "sqm-stencilbook", "uiSchema": {}, "traits": [] }, { "tag": "sqm-table-cell", "name": "sqm-table-cell", "uiSchema": { "colspan": { "ui:help": "" }, "padding": { "ui:help": "" } }, "traits": [{ "name": "colspan", "type": "number", "title": "colspan" }, { "name": "padding", "type": "string", "title": "padding" }] }, { "tag": "sqm-table-row", "name": "sqm-table-row", "uiSchema": { "border": { "ui:help": "" } }, "traits": [{ "name": "border", "type": "string", "title": "border" }] }, { "tag": "sqm-task-card", "name": "Task Card", "uiSchema": { "ui:order": ["reward-amount", "reward-unit", "card-title", "description", "repeatable", "finite", "show-progress-bar", "stat-type", "progress-source", "goal", "steps", "progress-bar-unit", "show-expiry", "reward-duration", "button-text", "button-link", "open-new-tab"], "button-link": { "ui:name": "CTA Button Link", "ui:help": "" }, "button-text": { "ui:name": "CTA Button Text", "ui:help": "" }, "card-title": { "ui:name": "Title Text", "ui:help": "" }, "description": { "ui:name": "Description Text", "ui:help": "" }, "finite": { "ui:name": "Repeat Amount (0 for no limit)", "ui:help": "" }, "goal": { "ui:name": "Goal Completion Number", "ui:help": "" }, "open-new-tab": { "ui:name": "CTA Button Link Open in New Tab", "ui:help": "" }, "progress-bar-unit": { "ui:name": "Progress Bar Unit", "ui:help": "" }, "repeatable": { "ui:name": "Goal Repeatable", "ui:help": "" }, "reward-amount": { "ui:name": "Reward Amount", "ui:help": "" }, "reward-duration": { "ui:widget": "DateRange", "ui:name": "Reward Duration", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "reward-unit": { "ui:name": "Reward Unit", "ui:help": "" }, "show-expiry": { "ui:name": "Show Goal Expiry", "ui:help": "" }, "show-progress-bar": { "ui:name": "Show Progress Bar", "ui:help": "" }, "stat-type": { "ui:widget": "StatTypeSelectWidget", "ui:name": "Goal Progress Source", "ui:help": "Select what type of stat to display for the goal. Manual paths are also supported.", "ui:options": { "version": 1.1 } }, "steps": { "ui:name": "Progress Bar Steps", "ui:help": "" } }, "traits": [{ "name": "button-link", "type": "string", "title": "CTA Button Link" }, { "name": "button-text", "type": "string", "title": "CTA Button Text" }, { "name": "card-title", "type": "string", "title": "Title Text" }, { "name": "description", "type": "string", "title": "Description Text" }, { "name": "finite", "type": "number", "title": "Repeat Amount (0 for no limit)" }, { "name": "goal", "type": "number", "title": "Goal Completion Number" }, { "name": "open-new-tab", "type": "boolean", "title": "CTA Button Link Open in New Tab" }, { "name": "progress-bar-unit", "type": "string", "title": "Progress Bar Unit" }, { "name": "repeatable", "type": "boolean", "title": "Goal Repeatable" }, { "name": "reward-amount", "type": "string", "title": "Reward Amount" }, { "name": "reward-duration", "type": "string", "title": "Reward Duration" }, { "name": "reward-unit", "type": "string", "title": "Reward Unit" }, { "name": "show-expiry", "type": "boolean", "title": "Show Goal Expiry" }, { "name": "show-progress-bar", "type": "boolean", "title": "Show Progress Bar" }, { "name": "stat-type", "type": "string", "title": "Goal Progress Source" }, { "name": "steps", "type": "boolean", "title": "Progress Bar Steps" }] }, { "tag": "sqm-text", "name": "Text", "uiSchema": {}, "traits": [] }, { "tag": "sqm-text-span", "name": "Text Span", "uiSchema": { "text": { "ui:name": "Text", "ui:help": "" }, "type": { "ui:name": "Text", "ui:help": "" } }, "traits": [{ "name": "text", "type": "string", "title": "Text" }, { "name": "type", "type": "string", "title": "Text", "enum": ["p", "subtext", "h1", "h2", "h3", "h4"] }] }, { "tag": "sqm-titled-section", "name": "Section (with title)", "uiSchema": { "label": { "ui:help": "" }, "label-margin": { "ui:name": "Label margin style", "ui:help": "" }, "padding": { "ui:name": "Section padding", "ui:help": "" } }, "traits": [{ "name": "label", "type": "string", "title": "label" }, { "name": "label-margin", "type": "string", "title": "Label margin style", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }, { "name": "padding", "type": "string", "title": "Section padding", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-user-name", "name": "Navigation Link", "uiSchema": { "demoData": { "ui:help": "" }, "fallback": { "ui:name": "Fallback name for nameless users", "ui:help": "" }, "loading-text": { "ui:name": "Loading text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "fallback", "type": "string", "title": "Fallback name for nameless users" }, { "name": "loading-text", "type": "string", "title": "Loading text" }] }, { "tag": "sl-details", "name": "Details", "traits": [{ "type": "string", "name": "summary", "title": "Label" }] }, { "tag": "sl-tab", "name": "Tab", "traits": [{ "type": "string", "name": "panel", "title": "Panel ID" }] }, { "tag": "sl-tab-panel", "name": "Tab Panel", "traits": [{ "type": "string", "name": "name", "title": "Panel ID" }] }, { "tag": "sl-tab-group", "name": "Tab Group", "traits": [{ "type": "string", "name": "placement", "title": "Placement of Tabs", "enum": ["top", "right", "bottom", "left"] }] }, { "tag": "sl-skeleton", "name": "Loading Skeleton", "traits": [] }];
8
+ components = [{ "tag": "sqm-asset-card", "name": "Asset Card", "uiSchema": { "demoData": { "ui:help": "" }, "img-url": { "ui:name": "Banner image", "ui:help": "" }, "title-text": { "ui:name": "Banner title", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "img-url", "type": "string", "title": "Banner image" }, { "name": "title-text", "type": "string", "title": "Banner title" }] }, { "tag": "sqm-big-stat", "name": "Big Stat", "uiSchema": { "alignment": { "ui:name": "Alignment - controls the alignment of the flexbox", "ui:help": "" }, "demoData": { "ui:help": "" }, "flex-reverse": { "ui:name": "Flex Reverse - controls the order of the stat value & description column", "ui:help": "" }, "stat-type": { "ui:widget": "StatTypeSelectWidget", "ui:name": "Stat Type", "ui:help": "Select what type of stat to display. Manual paths are also supported.", "ui:options": { "version": 1.1 } } }, "traits": [{ "name": "alignment", "type": "string", "title": "Alignment - controls the alignment of the flexbox", "enum": ["left", "right", "center"] }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "flex-reverse", "type": "boolean", "title": "Flex Reverse - controls the order of the stat value & description column" }, { "name": "stat-type", "type": "string", "title": "Stat Type" }] }, { "tag": "sqm-brand", "name": "Big Stat", "uiSchema": { "brand-color": { "ui:name": "Brand Color", "ui:help": "Controls the primary brand color used in the Mint Components library. Note that this\r\ndoes not affect vanilla components or other component libraries." }, "brand-font": { "ui:name": "Brand Font", "ui:help": "The brand font that you want to use" } }, "traits": [{ "name": "brand-color", "type": "string", "title": "Brand Color" }, { "name": "brand-font", "type": "string", "title": "Brand Font" }] }, { "tag": "sqm-divided-layout", "name": "Divided Layout", "uiSchema": { "direction": { "ui:name": "Direction", "ui:help": "" }, "divider-style": { "ui:name": "Border style", "ui:help": "Uses CSS border style syntax" } }, "traits": [{ "name": "direction", "type": "string", "title": "Direction", "enum": ["row", "column"] }, { "name": "divider-style", "type": "string", "title": "Border style" }] }, { "tag": "sqm-edit-profile", "name": "Edit Profile", "uiSchema": { "canceltext": { "ui:name": "Cancel button text", "ui:help": "" }, "currentregiontext": { "ui:name": "Region field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "editprofileheader": { "ui:name": "Heading", "ui:help": "" }, "editprofiletext": { "ui:name": "Enable editing button text", "ui:help": "" }, "firstnametext": { "ui:name": "First name field label", "ui:help": "" }, "lastnametext": { "ui:name": "Last name field label", "ui:help": "" }, "showregion": { "ui:name": "Show or hide current region", "ui:help": "" }, "updatetext": { "ui:name": "Update info button text", "ui:help": "" } }, "traits": [{ "name": "canceltext", "type": "string", "title": "Cancel button text" }, { "name": "currentregiontext", "type": "string", "title": "Region field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "editprofileheader", "type": "string", "title": "Heading" }, { "name": "editprofiletext", "type": "string", "title": "Enable editing button text" }, { "name": "firstnametext", "type": "string", "title": "First name field label" }, { "name": "lastnametext", "type": "string", "title": "Last name field label" }, { "name": "showregion", "type": "boolean", "title": "Show or hide current region" }, { "name": "updatetext", "type": "string", "title": "Update info button text" }] }, { "tag": "sqm-form-message", "name": "Form Message", "uiSchema": { "icon": { "ui:name": "Icon to use in alert", "ui:help": "" }, "type": { "ui:name": "Type of alert", "ui:help": "" } }, "traits": [{ "name": "icon", "type": "string", "title": "Icon to use in alert" }, { "name": "type", "type": "string", "title": "Type of alert" }] }, { "tag": "sqm-graphql-client-provider", "name": "GraphQL Client Provider", "uiSchema": { "domain": { "ui:name": "Domain", "ui:help": "" } }, "traits": [{ "name": "domain", "type": "string", "title": "Domain" }] }, { "tag": "sqm-hero", "name": "Hero Layout", "uiSchema": { "background": { "ui:name": "Background image or color", "ui:help": "" }, "columns": { "ui:name": "Number of columns in the layout", "ui:help": "" }, "padding-size": { "ui:name": "Padding size", "ui:help": "" }, "secondary-background": { "ui:name": "Secondary background image or color (for use in right column)", "ui:help": "" }, "wrap-direction": { "ui:name": "Wrap direction", "ui:help": "" } }, "traits": [{ "name": "background", "type": "string", "title": "Background image or color" }, { "name": "columns", "type": "1 | 2", "title": "Number of columns in the layout" }, { "name": "padding-size", "type": "\"large\" | \"medium\" | \"none\" | \"small\"", "title": "Padding size" }, { "name": "secondary-background", "type": "string", "title": "Secondary background image or color (for use in right column)" }, { "name": "wrap-direction", "type": "\"wrap\" | \"wrap-reverse\"", "title": "Wrap direction" }] }, { "tag": "sqm-hook-story-container", "name": "sqm-hook-story-container", "uiSchema": { "hookStory": { "ui:help": "" } }, "traits": [{ "name": "hookStory", "type": "FunctionalComponent<{}>", "title": "hookStory" }] }, { "tag": "sqm-leaderboard", "name": "Leaderboard", "uiSchema": { "demoData": { "ui:help": "" }, "interval": { "ui:widget": "DateRange", "ui:name": "Leaderboard time interval", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-type": { "ui:name": "Rank type", "ui:help": "" }, "rankheading": { "ui:name": "Rank Heading", "ui:help": "" }, "show-rank": { "ui:name": "Show the ranking numbers", "ui:help": "" }, "statsheading": { "ui:name": "Stats Column Heading", "ui:help": "" }, "usersheading": { "ui:name": "User Column Heading", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "interval", "type": "string", "title": "Leaderboard time interval" }, { "name": "leaderboard-type", "type": "string", "title": "Leaderboard type", "enum": ["topStartedReferrers", "topConvertedReferrers"] }, { "name": "rank-type", "type": "string", "title": "Rank type", "enum": ["rowNumber", "rank", "denseRank"] }, { "name": "rankheading", "type": "string", "title": "Rank Heading" }, { "name": "show-rank", "type": "boolean", "title": "Show the ranking numbers" }, { "name": "statsheading", "type": "string", "title": "Stats Column Heading" }, { "name": "usersheading", "type": "string", "title": "User Column Heading" }] }, { "tag": "sqm-leaderboard-rank", "name": "Leaderboard Rank", "uiSchema": { "demoData": { "ui:help": "" }, "interval": { "ui:widget": "DateRange", "ui:name": "Leaderboard time interval", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "leaderboard-type": { "ui:name": "Leaderboard type", "ui:help": "" }, "rank-text": { "ui:name": "Rank Text", "ui:help": "" }, "rank-type": { "ui:name": "Default rank", "ui:help": "" }, "unranked-text": { "ui:name": "Unranked Text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "interval", "type": "string", "title": "Leaderboard time interval" }, { "name": "leaderboard-type", "type": "string", "title": "Leaderboard type", "enum": ["topStartedReferrers", "topConvertedReferrers"] }, { "name": "rank-text", "type": "string", "title": "Rank Text" }, { "name": "rank-type", "type": "string", "title": "Default rank", "enum": ["rowNumber", "rank", "denseRank"] }, { "name": "unranked-text", "type": "string", "title": "Unranked Text" }] }, { "tag": "sqm-name-fields", "name": "Name Fields", "uiSchema": { "demoData": { "ui:help": "" }, "first-name-label": { "ui:name": "First name field label", "ui:help": "" }, "last-name-label": { "ui:name": "Last name field label", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "{ states?: { validationErrors?: Record<string, string>; content: { firstNameLabel: string; lastNameLabel: string; }; }; }", "title": "demoData" }, { "name": "first-name-label", "type": "string", "title": "First name field label" }, { "name": "last-name-label", "type": "string", "title": "Last name field label" }] }, { "tag": "sqm-navigation-menu", "name": "Navigation Menu", "uiSchema": { "demoData": { "ui:help": "" }, "include-dropdown": { "ui:name": "Include dropdown menu", "ui:help": "" }, "menu-label": { "ui:name": "Label on the header menu", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "include-dropdown", "type": "boolean", "title": "Include dropdown menu" }, { "name": "menu-label", "type": "string", "title": "Label on the header menu" }] }, { "tag": "sqm-navigation-sidebar", "name": "Navigation Sidebar", "uiSchema": {}, "traits": [] }, { "tag": "sqm-navigation-sidebar-item", "name": "Navigation Link", "uiSchema": { "demoData": { "ui:help": "" }, "icon": { "ui:name": "Icon", "ui:help": "" }, "label": { "ui:name": "Label", "ui:help": "" }, "path": { "ui:name": "Navigation path", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "icon", "type": "string", "title": "Icon" }, { "name": "label", "type": "string", "title": "Label" }, { "name": "path", "type": "string", "title": "Navigation path" }] }, { "tag": "sqm-password-field", "name": "Portal Password Field", "uiSchema": { "demoData": { "ui:help": "" }, "enable-validation": { "ui:name": "Enable live password validation", "ui:help": "" }, "field-label": { "ui:name": "Label for password field", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "enable-validation", "type": "boolean", "title": "Enable live password validation" }, { "name": "field-label", "type": "string", "title": "Label for password field" }] }, { "tag": "sqm-popup-container", "name": "Popup container for widgets", "uiSchema": { "close-button": { "ui:name": "Display a close button on the popup", "ui:help": "" }, "close-button-text": { "ui:name": "Text to be used as the close button", "ui:help": "" }, "embed-padding": { "ui:name": "Specify padding on the popup contents when in embedded mode", "ui:help": "" }, "popup-padding": { "ui:name": "Specify padding on the popup contents when in popup mode", "ui:help": "" }, "powered-by": { "ui:name": "Show SaaSquatch Powered By messaging", "ui:help": "" } }, "traits": [{ "name": "close-button", "type": "boolean", "title": "Display a close button on the popup" }, { "name": "close-button-text", "type": "string", "title": "Text to be used as the close button" }, { "name": "embed-padding", "type": "string", "title": "Specify padding on the popup contents when in embedded mode", "enum": ["none", "small", "medium", "large"] }, { "name": "popup-padding", "type": "string", "title": "Specify padding on the popup contents when in popup mode", "enum": ["none", "small", "medium", "large"] }, { "name": "powered-by", "type": "boolean", "title": "Show SaaSquatch Powered By messaging" }] }, { "tag": "sqm-portal-change-password", "name": "Portal Profile", "uiSchema": { "cancel-text": { "ui:name": "Modal cancel password change button text", "ui:help": "" }, "change-password-button-text": { "ui:name": "Modal change password button text", "ui:help": "" }, "confirm-password-field-label": { "ui:name": "Password confirmation input field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "modal-change-password-header": { "ui:name": "Change password modal header", "ui:help": "" }, "password-field-label": { "ui:name": "Password input field label", "ui:help": "" }, "portal-change-password-button-text": { "ui:name": "Portal change password button text", "ui:help": "" }, "portal-change-password-header": { "ui:name": "Portal change password section header", "ui:help": "" }, "success-message": { "ui:name": "Successful password change message", "ui:help": "" } }, "traits": [{ "name": "cancel-text", "type": "string", "title": "Modal cancel password change button text" }, { "name": "change-password-button-text", "type": "string", "title": "Modal change password button text" }, { "name": "confirm-password-field-label", "type": "string", "title": "Password confirmation input field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "modal-change-password-header", "type": "string", "title": "Change password modal header" }, { "name": "password-field-label", "type": "string", "title": "Password input field label" }, { "name": "portal-change-password-button-text", "type": "string", "title": "Portal change password button text" }, { "name": "portal-change-password-header", "type": "string", "title": "Portal change password section header" }, { "name": "success-message", "type": "string", "title": "Successful password change message" }] }, { "tag": "sqm-portal-container", "name": "Portal Container", "uiSchema": { "direction": { "ui:name": "Direction", "ui:help": "" }, "gap": { "ui:name": "Gap", "ui:help": "" }, "min-width": { "ui:name": "Minimum width", "ui:help": "" }, "padding": { "ui:name": "Padding", "ui:help": "" } }, "traits": [{ "name": "direction", "type": "string", "title": "Direction", "enum": ["row", "column"] }, { "name": "gap", "type": "string", "title": "Gap", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }, { "name": "min-width", "type": "string", "title": "Minimum width" }, { "name": "padding", "type": "string", "title": "Padding", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-portal-email-verification", "name": "Portal Email Verification", "uiSchema": { "demoData": { "ui:help": "" }, "email-verification-header": { "ui:name": "Email verification header text", "ui:help": "" }, "resend-email-button-text": { "ui:name": "Re-send email button text", "ui:help": "" }, "verify-message": { "ui:name": "Email verification body text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-verification-header", "type": "string", "title": "Email verification header text" }, { "name": "resend-email-button-text", "type": "string", "title": "Re-send email button text" }, { "name": "verify-message", "type": "string", "title": "Email verification body text" }] }, { "tag": "sqm-portal-footer", "name": "Portal Footer", "uiSchema": { "faq-link": { "ui:name": "FAQ Link", "ui:help": "" }, "faq-text": { "ui:name": "FAQ Text", "ui:help": "" }, "padding-bottom": { "ui:name": "Padding Bottom", "ui:help": "" }, "padding-left": { "ui:name": "Padding Left", "ui:help": "" }, "padding-right": { "ui:name": "Padding Right", "ui:help": "" }, "padding-top": { "ui:name": "Padding Top", "ui:help": "" }, "powered-by-link": { "ui:name": "Powered By Link", "ui:help": "" }, "show-powered-by": { "ui:name": "Show Powered By SaaSquatch", "ui:help": "" }, "support-email": { "ui:name": "Support Email", "ui:help": "" }, "support-text": { "ui:name": "Support Text", "ui:help": "" }, "terms-link": { "ui:name": "Terms and Conditions Link", "ui:help": "" }, "terms-text": { "ui:name": "Terms and Conditions Text", "ui:help": "" } }, "traits": [{ "name": "faq-link", "type": "string", "title": "FAQ Link" }, { "name": "faq-text", "type": "string", "title": "FAQ Text" }, { "name": "padding-bottom", "type": "string", "title": "Padding Bottom" }, { "name": "padding-left", "type": "string", "title": "Padding Left" }, { "name": "padding-right", "type": "string", "title": "Padding Right" }, { "name": "padding-top", "type": "string", "title": "Padding Top" }, { "name": "powered-by-link", "type": "string", "title": "Powered By Link" }, { "name": "show-powered-by", "type": "boolean", "title": "Show Powered By SaaSquatch" }, { "name": "support-email", "type": "string", "title": "Support Email" }, { "name": "support-text", "type": "string", "title": "Support Text" }, { "name": "terms-link", "type": "string", "title": "Terms and Conditions Link" }, { "name": "terms-text", "type": "string", "title": "Terms and Conditions Text" }] }, { "tag": "sqm-portal-forgot-password", "name": "Portal Forgot Password", "uiSchema": { "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Email label", "ui:help": "" }, "submit-label": { "ui:name": "Password reset button text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Email label" }, { "name": "submit-label", "type": "string", "title": "Password reset button text" }] }, { "tag": "sqm-portal-frame", "name": "Portal Frame", "uiSchema": { "demoData": { "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }] }, { "tag": "sqm-portal-login", "name": "Portal Login", "uiSchema": { "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Label for email field", "ui:help": "" }, "forgot-password-label": { "ui:name": "Label for forgotten password button", "ui:help": "" }, "next-page": { "ui:name": "Page navigated to after sign-in", "ui:help": "" }, "page-label": { "ui:name": "Heading label", "ui:help": "" }, "password-label": { "ui:name": "Label for password field", "ui:help": "" }, "register-label": { "ui:name": "Label for register navigation button", "ui:help": "" }, "submit-label": { "ui:name": "Label for submit button", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Label for email field" }, { "name": "forgot-password-label", "type": "string", "title": "Label for forgotten password button" }, { "name": "next-page", "type": "string", "title": "Page navigated to after sign-in" }, { "name": "page-label", "type": "string", "title": "Heading label" }, { "name": "password-label", "type": "string", "title": "Label for password field" }, { "name": "register-label", "type": "string", "title": "Label for register navigation button" }, { "name": "submit-label", "type": "string", "title": "Label for submit button" }] }, { "tag": "sqm-portal-logout", "name": "Portal Logout", "uiSchema": { "next-page": { "ui:name": "Next Page path", "ui:help": "" } }, "traits": [{ "name": "next-page", "type": "string", "title": "Next Page path" }] }, { "tag": "sqm-portal-profile", "name": "Portal Profile", "uiSchema": { "countrytext": { "ui:name": "Country input field label", "ui:help": "" }, "demoData": { "ui:help": "" }, "edit-profile-header": { "ui:name": "Edit profile header", "ui:help": "" }, "edit-profile-sub-header": { "ui:name": "Edit profile sub header", "ui:help": "" }, "emailtext": { "ui:name": "Email input field label", "ui:help": "" }, "firstnametext": { "ui:name": "First name input field label", "ui:help": "" }, "lastnametext": { "ui:name": "Last name input field label", "ui:help": "" }, "show-country": { "ui:name": "Show or hide country field", "ui:help": "" }, "submit-change-button-text": { "ui:name": "Text for the submit changes button", "ui:help": "" } }, "traits": [{ "name": "countrytext", "type": "string", "title": "Country input field label" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "edit-profile-header", "type": "string", "title": "Edit profile header" }, { "name": "edit-profile-sub-header", "type": "string", "title": "Edit profile sub header" }, { "name": "emailtext", "type": "string", "title": "Email input field label" }, { "name": "firstnametext", "type": "string", "title": "First name input field label" }, { "name": "lastnametext", "type": "string", "title": "Last name input field label" }, { "name": "show-country", "type": "boolean", "title": "Show or hide country field" }, { "name": "submit-change-button-text", "type": "string", "title": "Text for the submit changes button" }] }, { "tag": "sqm-portal-protected-route", "name": "Portal Protected Route", "uiSchema": { "redirect-to": { "ui:name": "Redirect Path", "ui:help": "" }, "redirect-to-unverified": { "ui:name": "Redirect unverified users path", "ui:help": "" }, "require-email-verification": { "ui:name": "Require Email Verification", "ui:help": "" } }, "traits": [{ "name": "redirect-to", "type": "string", "title": "Redirect Path" }, { "name": "redirect-to-unverified", "type": "string", "title": "Redirect unverified users path" }, { "name": "require-email-verification", "type": "boolean", "title": "Require Email Verification" }] }, { "tag": "sqm-portal-register", "name": "Portal Register", "uiSchema": { "confirm-password": { "ui:name": "Show confirm password field", "ui:help": "" }, "confirm-password-label": { "ui:name": "Label for confirm password field", "ui:help": "" }, "demoData": { "ui:help": "" }, "email-label": { "ui:name": "Label for email field", "ui:help": "" }, "enable-password-validation": { "ui:name": "Use password field with live validation", "ui:help": "" }, "hide-inputs": { "ui:name": "Hide default input fields to use custom fields", "ui:help": "" }, "login-label": { "ui:name": "Label for login navigation button", "ui:help": "" }, "next-page": { "ui:name": "Page navigated to after registration", "ui:help": "" }, "page-label": { "ui:name": "Heading label", "ui:help": "" }, "password-label": { "ui:name": "Label for password field", "ui:help": "" }, "submit-label": { "ui:name": "Label for submit button", "ui:help": "" } }, "traits": [{ "name": "confirm-password", "type": "boolean", "title": "Show confirm password field" }, { "name": "confirm-password-label", "type": "string", "title": "Label for confirm password field" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "email-label", "type": "string", "title": "Label for email field" }, { "name": "enable-password-validation", "type": "boolean", "title": "Use password field with live validation" }, { "name": "hide-inputs", "type": "boolean", "title": "Hide default input fields to use custom fields" }, { "name": "login-label", "type": "string", "title": "Label for login navigation button" }, { "name": "next-page", "type": "string", "title": "Page navigated to after registration" }, { "name": "page-label", "type": "string", "title": "Heading label" }, { "name": "password-label", "type": "string", "title": "Label for password field" }, { "name": "submit-label", "type": "string", "title": "Label for submit button" }] }, { "tag": "sqm-portal-reset-password", "name": "Portal Reset Password", "uiSchema": { "confirm-password": { "ui:name": "Show confirm password", "ui:help": "" }, "confirm-password-field-label": { "ui:name": "Confirm password field label", "ui:help": "" }, "continue-button-text": { "ui:name": "Continue button text", "ui:help": "Displayed after a successful password reset" }, "demoData": { "ui:help": "" }, "next-page": { "ui:name": "Next page path", "ui:help": "" }, "password-field-label": { "ui:name": "Password field label", "ui:help": "" }, "password-reset-header": { "ui:name": "Password reset header text", "ui:help": "Displayed after a successful password reset" }, "reset-password-button-text": { "ui:name": "Password reset button text", "ui:help": "" }, "reset-password-header": { "ui:name": "Password reset header text", "ui:help": "" } }, "traits": [{ "name": "confirm-password", "type": "boolean", "title": "Show confirm password" }, { "name": "confirm-password-field-label", "type": "string", "title": "Confirm password field label" }, { "name": "continue-button-text", "type": "string", "title": "Continue button text" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "next-page", "type": "string", "title": "Next page path" }, { "name": "password-field-label", "type": "string", "title": "Password field label" }, { "name": "password-reset-header", "type": "string", "title": "Password reset header text" }, { "name": "reset-password-button-text", "type": "string", "title": "Password reset button text" }, { "name": "reset-password-header", "type": "string", "title": "Password reset header text" }] }, { "tag": "sqm-portal-verify-email", "name": "Portal Verify Email", "uiSchema": { "demoData": { "ui:help": "" }, "next-page": { "ui:name": "Next page path", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "next-page", "type": "string", "title": "Next page path" }] }, { "tag": "sqm-program-explainer", "name": "Program Explainer", "uiSchema": { "background": { "ui:widget": "color", "ui:name": "Background", "ui:help": "" }, "card-title": { "ui:name": "Title", "ui:help": "" }, "color": { "ui:widget": "color", "ui:name": "Color", "ui:help": "" }, "description": { "ui:name": "Description", "ui:help": "" }, "header": { "ui:name": "Header", "ui:help": "" } }, "traits": [{ "name": "background", "type": "string", "title": "Background" }, { "name": "card-title", "type": "string", "title": "Title" }, { "name": "color", "type": "string", "title": "Color" }, { "name": "description", "type": "string", "title": "Description" }, { "name": "header", "type": "string", "title": "Header" }] }, { "tag": "sqm-program-explainer-step", "name": "Program Explainer Step", "uiSchema": { "background": { "ui:name": "Background", "ui:help": "" }, "card-title": { "ui:name": "Title", "ui:help": "" }, "color": { "ui:widget": "color", "ui:name": "Color", "ui:help": "" }, "description": { "ui:name": "Description", "ui:help": "" }, "icon": { "ui:name": "Icon", "ui:help": "" } }, "traits": [{ "name": "background", "type": "string", "title": "Background" }, { "name": "card-title", "type": "string", "title": "Title" }, { "name": "color", "type": "string", "title": "Color" }, { "name": "description", "type": "string", "title": "Description" }, { "name": "icon", "type": "string", "title": "Icon" }] }, { "tag": "sqm-program-menu", "name": "Portal Menu", "uiSchema": {}, "traits": [] }, { "tag": "sqm-referral-iframe", "name": "Referral IFrame", "uiSchema": { "demoData": { "ui:help": "" }, "iframe-height": { "ui:name": "Height of the iframe container", "ui:help": "" }, "iframe-src": { "ui:name": "URL of iframe to display", "ui:help": "" }, "iframe-width": { "ui:name": "Width of the iframe container", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "iframe-height", "type": "string", "title": "Height of the iframe container" }, { "name": "iframe-src", "type": "string", "title": "URL of iframe to display" }, { "name": "iframe-width", "type": "string", "title": "Width of the iframe container" }] }, { "tag": "sqm-referral-table", "name": "Referral Table", "uiSchema": { "demoData": { "ui:help": "" }, "more-label": { "ui:name": "View More button text", "ui:help": "" }, "per-page": { "ui:name": "Number of referrals per page", "ui:help": "" }, "prev-label": { "ui:name": "Previous button text", "ui:help": "" }, "program-id": { "ui:name": "Program", "ui:help": "Filters to only show referrals in this program. Will default to filtering by the program context where\r\nthis table lives. If no program ID is set or provided by context, then shows all referrals from all programs.\r\nIf program ID is \"classic\", shows classic-only referrals" }, "show-labels": { "ui:name": "Show column labels", "ui:help": "" }, "show-referrer": { "ui:name": "Show Referred by user in table", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "more-label", "type": "string", "title": "View More button text" }, { "name": "per-page", "type": "number", "title": "Number of referrals per page" }, { "name": "prev-label", "type": "string", "title": "Previous button text" }, { "name": "program-id", "type": "string", "title": "Program" }, { "name": "show-labels", "type": "boolean", "title": "Show column labels" }, { "name": "show-referrer", "type": "boolean", "title": "Show Referred by user in table" }] }, { "tag": "sqm-referral-table-cell", "name": "sqm-referral-table-cell", "uiSchema": { "inner-template": { "ui:help": "" } }, "traits": [{ "name": "inner-template", "type": "string", "title": "inner-template" }] }, { "tag": "sqm-referral-table-column", "name": "Referral Table Generic Column", "uiSchema": { "column-title": { "ui:name": "Column Title", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Column Title" }] }, { "tag": "sqm-referral-table-date-cell", "name": "sqm-referral-table-date-cell", "uiSchema": { "date": { "ui:help": "" } }, "traits": [{ "name": "date", "type": "number", "title": "date" }] }, { "tag": "sqm-referral-table-date-column", "name": "Referral Table Date Column", "uiSchema": { "column-title": { "ui:name": "Date Column Title", "ui:help": "" }, "date-shown": { "ui:name": "Date Displayed", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Date Column Title" }, { "name": "date-shown", "type": "string", "title": "Date Displayed", "enum": ["dateConverted", "dateReferralStarted", "dateFraudChecksCompleted", "dateModerated", "dateModified", "dateReferralEnded", "dateReferralPaid", "dateUserModified"] }] }, { "tag": "sqm-referral-table-rewards-cell", "name": "sqm-referral-table-rewards-cell", "uiSchema": { "hide-details": { "ui:help": "" }, "rewards": { "ui:help": "" } }, "traits": [{ "name": "hide-details", "type": "boolean", "title": "hide-details" }, { "name": "rewards", "type": "Reward[]", "title": "rewards" }] }, { "tag": "sqm-referral-table-rewards-column", "name": "Referral Table Rewards Column", "uiSchema": { "column-title": { "ui:name": "Reward column title", "ui:help": "" }, "hide-details": { "ui:name": "Hide dropdown details of reward", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Reward column title" }, { "name": "hide-details", "type": "boolean", "title": "Hide dropdown details of reward" }] }, { "tag": "sqm-referral-table-status-cell", "name": "sqm-referral-table-status-cell", "uiSchema": { "converted": { "ui:help": "" }, "status-text": { "ui:help": "" } }, "traits": [{ "name": "converted", "type": "boolean", "title": "converted" }, { "name": "status-text", "type": "string", "title": "status-text" }] }, { "tag": "sqm-referral-table-status-column", "name": "Referral Table Status Column", "uiSchema": { "column-title": { "ui:name": "Column Title", "ui:help": "" }, "converted-status-text": { "ui:name": "Converted Status Text", "ui:help": "" }, "in-progress-status-text": { "ui:name": "In Progress Status Text", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Column Title" }, { "name": "converted-status-text", "type": "string", "title": "Converted Status Text" }, { "name": "in-progress-status-text", "type": "string", "title": "In Progress Status Text" }] }, { "tag": "sqm-referral-table-user-cell", "name": "sqm-referral-table-user-cell", "uiSchema": { "name": { "ui:help": "" } }, "traits": [{ "name": "name", "type": "string", "title": "name" }] }, { "tag": "sqm-referral-table-user-column", "name": "Referral Table User Column", "uiSchema": { "anonymous-user": { "ui:name": "Name displayed for anonymous users", "ui:help": "" }, "column-title": { "ui:name": "User Column Title", "ui:help": "" }, "deleted-user": { "ui:name": "Name displayed for deleted users", "ui:help": "" } }, "traits": [{ "name": "anonymous-user", "type": "string", "title": "Name displayed for anonymous users" }, { "name": "column-title", "type": "string", "title": "User Column Title" }, { "name": "deleted-user", "type": "string", "title": "Name displayed for deleted users" }] }, { "tag": "sqm-reward-exchange-list", "name": "Reward Exchange List", "uiSchema": { "back-text": { "ui:name": "Back Button Text", "ui:help": "" }, "button-text": { "ui:name": "Exchange button text", "ui:help": "" }, "cancel-text": { "ui:name": "Cancel Button Text", "ui:help": "" }, "choose-amount-title": { "ui:name": "Choose Amount Progress Title", "ui:help": "" }, "choose-reward-title": { "ui:name": "Choose Reward Progress Title", "ui:help": "" }, "confirmation-title": { "ui:name": "Confirmation Progress Title", "ui:help": "" }, "continue-text": { "ui:name": "Continue Button Text", "ui:help": "" }, "continue-to-confirmation-text": { "ui:name": "Continue to Confirmation Button Text", "ui:help": "" }, "demoData": { "ui:help": "" }, "done-text": { "ui:name": "Done Text", "ui:help": "" }, "not-available-error": { "ui:name": "Exchange button text", "ui:help": "" }, "not-enough-error": { "ui:name": "Not Enough Available Error Message", "ui:help": "" }, "query-error": { "ui:name": "Reward List Error Message", "ui:help": "" }, "redeem-text": { "ui:name": "Redeem Button Text", "ui:help": "" }, "redeem-title": { "ui:name": "Confirmation Title Text", "ui:help": "" }, "redemption-error": { "ui:name": "Redemption Error Message", "ui:help": "" }, "redemption-success-text": { "ui:help": "" } }, "traits": [{ "name": "back-text", "type": "string", "title": "Back Button Text" }, { "name": "button-text", "type": "string", "title": "Exchange button text" }, { "name": "cancel-text", "type": "string", "title": "Cancel Button Text" }, { "name": "choose-amount-title", "type": "string", "title": "Choose Amount Progress Title" }, { "name": "choose-reward-title", "type": "string", "title": "Choose Reward Progress Title" }, { "name": "confirmation-title", "type": "string", "title": "Confirmation Progress Title" }, { "name": "continue-text", "type": "string", "title": "Continue Button Text" }, { "name": "continue-to-confirmation-text", "type": "string", "title": "Continue to Confirmation Button Text" }, { "name": "demoData", "type": "object", "title": "demoData" }, { "name": "done-text", "type": "string", "title": "Done Text" }, { "name": "not-available-error", "type": "string", "title": "Exchange button text" }, { "name": "not-enough-error", "type": "string", "title": "Not Enough Available Error Message" }, { "name": "query-error", "type": "string", "title": "Reward List Error Message" }, { "name": "redeem-text", "type": "string", "title": "Redeem Button Text" }, { "name": "redeem-title", "type": "string", "title": "Confirmation Title Text" }, { "name": "redemption-error", "type": "string", "title": "Redemption Error Message" }, { "name": "redemption-success-text", "type": "string", "title": "redemption-success-text" }] }, { "tag": "sqm-rewards-table", "name": "Rewards Table", "uiSchema": { "demoData": { "ui:help": "" }, "more-label": { "ui:name": "View More button text", "ui:help": "" }, "per-page": { "ui:name": "Number of rewards per page", "ui:help": "" }, "prev-label": { "ui:name": "Previous button text", "ui:help": "" }, "program-id": { "ui:name": "Program", "ui:help": "Filters to only show rewards in this program. Will default to filtering by the program context where\r\nthis table lives. If no program ID is set or provided by context, then shows all rewards from all programs." }, "show-labels": { "ui:name": "Show column labels", "ui:help": "" }, "show-referrer": { "ui:name": "Show Referred by user in table", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "more-label", "type": "string", "title": "View More button text" }, { "name": "per-page", "type": "number", "title": "Number of rewards per page" }, { "name": "prev-label", "type": "string", "title": "Previous button text" }, { "name": "program-id", "type": "string", "title": "Program" }, { "name": "show-labels", "type": "boolean", "title": "Show column labels" }, { "name": "show-referrer", "type": "boolean", "title": "Show Referred by user in table" }] }, { "tag": "sqm-rewards-table-column", "name": "Rewards Table Column", "uiSchema": { "column-title": { "ui:name": "Reward column title", "ui:help": "" }, "hide-details": { "ui:name": "Hide dropdown details of reward", "ui:help": "" } }, "traits": [{ "name": "column-title", "type": "string", "title": "Reward column title" }, { "name": "hide-details", "type": "boolean", "title": "Hide dropdown details of reward" }] }, { "tag": "sqm-route", "name": "Route (for pages)", "uiSchema": { "path": { "ui:name": "Navigation path name", "ui:help": "" } }, "traits": [{ "name": "path", "type": "string", "title": "Navigation path name" }] }, { "tag": "sqm-router", "name": "Router (for pages)", "uiSchema": {}, "traits": [] }, { "tag": "sqm-share-button", "name": "Share Button", "uiSchema": { "ui:order": ["medium", "program-id", "*", "pill", "disabled", "hideicon"], "demoData": { "ui:help": "" }, "disabled": { "ui:name": "Disabled", "ui:help": "" }, "hideicon": { "ui:name": "Hide the icon", "ui:help": "" }, "hidetext": { "ui:name": "Hide the text", "ui:help": "" }, "icon": { "ui:name": "Icon used in button. Will try to select an icon based on the share medium if left empty.", "ui:help": "" }, "iconslot": { "ui:name": "Icon Location", "ui:help": "" }, "medium": { "ui:name": "Share Medium", "ui:help": "The social medium to share on. Share messages and links\r\nwill be pulled from your program config and tagged for analytics." }, "pill": { "ui:name": "Display as pill", "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "Optional programId, or uses the programId context where this button is rendered." }, "sharetext": { "ui:name": "Text used for native sharing (mobile only)", "ui:help": "" }, "sharetitle": { "ui:name": "Title used for native sharing (mobile only)", "ui:help": "" }, "size": { "ui:name": "Button Size", "ui:help": "" }, "type": { "ui:name": "Button Style", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "disabled", "type": "boolean", "title": "Disabled" }, { "name": "hideicon", "type": "boolean", "title": "Hide the icon" }, { "name": "hidetext", "type": "boolean", "title": "Hide the text" }, { "name": "icon", "type": "string", "title": "Icon used in button. Will try to select an icon based on the share medium if left empty." }, { "name": "iconslot", "type": "string", "title": "Icon Location", "enum": ["prefix", "suffix"], "enumNames": ["Prefix", "Suffix"] }, { "name": "medium", "type": "string", "title": "Share Medium", "enum": ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest", "reminder", "unknown"], "enumNames": ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest", "Reminder", "Unknown"] }, { "name": "pill", "type": "boolean", "title": "Display as pill" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "sharetext", "type": "string", "title": "Text used for native sharing (mobile only)" }, { "name": "sharetitle", "type": "string", "title": "Title used for native sharing (mobile only)" }, { "name": "size", "type": "string", "title": "Button Size", "enum": ["small", "medium", "large"], "enumNames": ["Small", "Medium", "Large"] }, { "name": "type", "type": "string", "title": "Button Style", "enum": ["primary", "success", "info", "warning", "danger", "default", "text"] }] }, { "tag": "sqm-share-code", "name": "Share Code", "uiSchema": { "demoData": { "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the code. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the cpde to the clipboard." } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-share-link", "name": "Share Link", "uiSchema": { "demoData": { "ui:help": "" }, "program-id": { "ui:name": "Program ID", "ui:help": "The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded." }, "tooltip-lifespan": { "ui:name": "Tooltip lifespan", "ui:help": "The number of milliseconds that the tooltip will appear for" }, "tooltip-text": { "ui:name": "Tooltip text", "ui:help": "This is shown after someone has successfully copied the link to the clipboard." } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "program-id", "type": "string", "title": "Program ID" }, { "name": "tooltip-lifespan", "type": "number", "title": "Tooltip lifespan" }, { "name": "tooltip-text", "type": "string", "title": "Tooltip text" }] }, { "tag": "sqm-stat-container", "name": "Stat Container", "uiSchema": { "space": { "ui:name": "Space between stats", "ui:help": "" } }, "traits": [{ "name": "space", "type": "string", "title": "Space between stats", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-stencilbook", "name": "sqm-stencilbook", "uiSchema": {}, "traits": [] }, { "tag": "sqm-table-cell", "name": "sqm-table-cell", "uiSchema": { "colspan": { "ui:help": "" }, "padding": { "ui:help": "" } }, "traits": [{ "name": "colspan", "type": "number", "title": "colspan" }, { "name": "padding", "type": "string", "title": "padding" }] }, { "tag": "sqm-table-row", "name": "sqm-table-row", "uiSchema": { "border": { "ui:help": "" } }, "traits": [{ "name": "border", "type": "string", "title": "border" }] }, { "tag": "sqm-task-card", "name": "Task Card", "uiSchema": { "ui:order": ["reward-amount", "reward-unit", "card-title", "description", "repeatable", "finite", "show-progress-bar", "stat-type", "progress-source", "goal", "steps", "progress-bar-unit", "show-expiry", "reward-duration", "button-text", "button-link", "open-new-tab"], "button-link": { "ui:name": "CTA Button Link", "ui:help": "" }, "button-text": { "ui:name": "CTA Button Text", "ui:help": "" }, "card-title": { "ui:name": "Title Text", "ui:help": "" }, "description": { "ui:name": "Description Text", "ui:help": "" }, "finite": { "ui:name": "Repeat Amount (0 for no limit)", "ui:help": "" }, "goal": { "ui:name": "Goal Completion Number", "ui:help": "" }, "open-new-tab": { "ui:name": "CTA Button Link Open in New Tab", "ui:help": "" }, "progress-bar-unit": { "ui:name": "Progress Bar Unit", "ui:help": "" }, "repeatable": { "ui:name": "Goal Repeatable", "ui:help": "" }, "reward-amount": { "ui:name": "Reward Amount", "ui:help": "" }, "reward-duration": { "ui:widget": "DateRange", "ui:name": "Reward Duration", "ui:help": "", "ui:options": { "allowPastDates": true, "months": 1 } }, "reward-unit": { "ui:name": "Reward Unit", "ui:help": "" }, "show-expiry": { "ui:name": "Show Goal Expiry", "ui:help": "" }, "show-progress-bar": { "ui:name": "Show Progress Bar", "ui:help": "" }, "stat-type": { "ui:widget": "StatTypeSelectWidget", "ui:name": "Goal Progress Source", "ui:help": "Select what type of stat to display for the goal. Manual paths are also supported.", "ui:options": { "version": 1.1 } }, "steps": { "ui:name": "Progress Bar Steps", "ui:help": "" } }, "traits": [{ "name": "button-link", "type": "string", "title": "CTA Button Link" }, { "name": "button-text", "type": "string", "title": "CTA Button Text" }, { "name": "card-title", "type": "string", "title": "Title Text" }, { "name": "description", "type": "string", "title": "Description Text" }, { "name": "finite", "type": "number", "title": "Repeat Amount (0 for no limit)" }, { "name": "goal", "type": "number", "title": "Goal Completion Number" }, { "name": "open-new-tab", "type": "boolean", "title": "CTA Button Link Open in New Tab" }, { "name": "progress-bar-unit", "type": "string", "title": "Progress Bar Unit" }, { "name": "repeatable", "type": "boolean", "title": "Goal Repeatable" }, { "name": "reward-amount", "type": "string", "title": "Reward Amount" }, { "name": "reward-duration", "type": "string", "title": "Reward Duration" }, { "name": "reward-unit", "type": "string", "title": "Reward Unit" }, { "name": "show-expiry", "type": "boolean", "title": "Show Goal Expiry" }, { "name": "show-progress-bar", "type": "boolean", "title": "Show Progress Bar" }, { "name": "stat-type", "type": "string", "title": "Goal Progress Source" }, { "name": "steps", "type": "boolean", "title": "Progress Bar Steps" }] }, { "tag": "sqm-text", "name": "Text", "uiSchema": {}, "traits": [] }, { "tag": "sqm-text-span", "name": "Text Span", "uiSchema": { "text": { "ui:name": "Text", "ui:help": "" }, "type": { "ui:name": "Text", "ui:help": "" } }, "traits": [{ "name": "text", "type": "string", "title": "Text" }, { "name": "type", "type": "string", "title": "Text", "enum": ["p", "subtext", "h1", "h2", "h3", "h4"] }] }, { "tag": "sqm-titled-section", "name": "Section (with title)", "uiSchema": { "label": { "ui:help": "" }, "label-margin": { "ui:name": "Label margin style", "ui:help": "" }, "padding": { "ui:name": "Section padding", "ui:help": "" } }, "traits": [{ "name": "label", "type": "string", "title": "label" }, { "name": "label-margin", "type": "string", "title": "Label margin style", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }, { "name": "padding", "type": "string", "title": "Section padding", "enum": ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"] }] }, { "tag": "sqm-user-name", "name": "Navigation Link", "uiSchema": { "demoData": { "ui:help": "" }, "fallback": { "ui:name": "Fallback name for nameless users", "ui:help": "" }, "loading-text": { "ui:name": "Loading text", "ui:help": "" } }, "traits": [{ "name": "demoData", "type": "object", "title": "demoData" }, { "name": "fallback", "type": "string", "title": "Fallback name for nameless users" }, { "name": "loading-text", "type": "string", "title": "Loading text" }] }, { "tag": "sl-details", "name": "Details", "traits": [{ "type": "string", "name": "summary", "title": "Label" }] }, { "tag": "sl-tab", "name": "Tab", "traits": [{ "type": "string", "name": "panel", "title": "Panel ID" }] }, { "tag": "sl-tab-panel", "name": "Tab Panel", "traits": [{ "type": "string", "name": "name", "title": "Panel ID" }] }, { "tag": "sl-tab-group", "name": "Tab Group", "traits": [{ "type": "string", "name": "placement", "title": "Placement of Tabs", "enum": ["top", "right", "bottom", "left"] }] }, { "tag": "sl-skeleton", "name": "Loading Skeleton", "traits": [] }];
9
9
  exports_1("default", (function (editor, config) {
10
10
  if (config === void 0) { config = {}; }
11
11
  // Get DomComponents module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/mint-components",
3
- "version": "1.5.0-4",
3
+ "version": "1.5.0-5",
4
4
  "description": "Mint Components - Built with Shoelace Components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "es2015": "dist/esm/index.js",
@@ -1 +0,0 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,a){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:a})}else{e.raw=a}return e};import{h,g as getElement}from"./index-17b4da69.js";import{d as dist,M,T,e as en}from"./index.module-90d2c3ad.js";function LeaderboardView(e){var a;var r=e.states,t=e.data,n=e.elements;var i=r.styles;if(r.loading){return n.loadingstate}return h("div",null,!r.hasLeaders&&n.empty,r.hasLeaders&&h("table",null,h("tr",null,i.showRank&&h("th",{class:"Rank"},i.rankheading),h("th",{class:"User"},i.usersheading),h("th",{class:"Score"},i.statsheading)),(a=t.leaderboard)===null||a===void 0?void 0:a.map((function(e){return h("tr",{class:"SeparateContent"},i.showRank&&h("td",{class:"Rank"},e.rank),h("td",{class:"User"},e.firstName+" "+e.lastInitial+" "),h("td",{class:"Score"},e.value))}))))}var GET_LEADERBOARD=dist.gql(templateObject_1||(templateObject_1=__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n userLeaderboard(type: $type, filter: $filter) {\n dateModified\n rows {\n value\n firstName\n lastInitial\n rank {\n rank\n denseRank\n rowNumber\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n userLeaderboard(type: $type, filter: $filter) {\n dateModified\n rows {\n value\n firstName\n lastInitial\n rank {\n rank\n denseRank\n rowNumber\n }\n }\n }\n }\n"])));function useLeaderboard(e){var a;var r=M();var t=T();var n={type:e.leaderboardType,filter:{programId_eq:r}};if(e.interval){n.filter["interval"]=e.interval}var i=en(GET_LEADERBOARD,n,!(t===null||t===void 0?void 0:t.jwt)),d=i.data,l=i.loading;var o=(a=d===null||d===void 0?void 0:d.userLeaderboard)===null||a===void 0?void 0:a.rows;var s=v(o);var u=s===null||s===void 0?void 0:s.sort((function(e,a){return e.rank-a.rank}));function v(a){return a===null||a===void 0?void 0:a.flatMap((function(a){var r;return{value:a.value,firstName:a.firstName||"Anonymous",lastInitial:a.lastInitial,rank:(r=a.rank)===null||r===void 0?void 0:r[e.rankType]}}))}return{states:{loading:l,hasLeaders:(u===null||u===void 0?void 0:u.length)>0,styles:e},data:{leaderboard:u,rankType:e.rankType},elements:{empty:e.empty,loadingstate:e.loadingstate}}}var map=new Map;function withShadowView(e){var a=getElement(e);var r=e["render"].bind(e);var t=function(){var e=a.getAttribute("stencilbook-shadow-view");if(e){var t=map.get(e);if(t){return t}}return r()};e["render"]=t}var ShadowViewAddon=function(e,a){var r=e.story;var t;var n=(t=r.parent.parameters)===null||t===void 0?void 0:t.tagname;if(!n)return a;var i=Math.round(Math.random()*1e5);map.set(i+"",a);var d="stencilbook-shawdow-view-"+i;return h(d,null,h(n,{"stencilbook-shadow-view":i}))};export{LeaderboardView as L,ShadowViewAddon as S,useLeaderboard as u,withShadowView as w};var templateObject_1;
@@ -1 +0,0 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(a){for(var s,r=1,e=arguments.length;r<e;r++){s=arguments[r];for(var t in s)if(Object.prototype.hasOwnProperty.call(s,t))a[t]=s[t]}return a};return __assign.apply(this,arguments)};import{h}from"./index-17b4da69.js";import{r as rn}from"./index.module-90d2c3ad.js";import{j as jss,c as create}from"./jss-preset-default.esm-71fae192.js";import{g as gap}from"./mixins-10353a39.js";function NavigationSidebarItemView(a){var s=a.states,r=a.data;var e={ItemContainer:__assign(__assign({display:"flex","background-color":""+(s.active?"var(--sl-color-gray-200)":"var(--sl-color-white)"),"border-radius":"8px",padding:"8px","text-decoration":"none",color:"#454444","align-items":"center"},gap({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:s.active?"var(--sl-color-gray-300)":"var(--sl-color-gray-50)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};jss.setup(create());var t=jss.createStyleSheet(e);var i=t.toString();return h("a",{href:r.path,onClick:function(a){a.preventDefault();rn.push(r.path)},class:t.classes.ItemContainer},h("style",{type:"text/css"},i),h("sl-icon",{class:t.classes.Icon,name:r.icon}),h("p",{class:t.classes.Label},r.label))}export{NavigationSidebarItemView as N};
@@ -1 +0,0 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,n=1,t=arguments.length;n<t;n++){r=arguments[n];for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a))e[a]=r[a]}return e};return __assign.apply(this,arguments)};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,r=0,n=arguments.length;r<n;r++)e+=arguments[r].length;for(var t=Array(e),a=0,r=0;r<n;r++)for(var l=arguments[r],i=0,o=l.length;i<o;i++,a++)t[a]=l[i];return t};import{h}from"./index-17b4da69.js";import{b as browser,k as useMemo}from"./extends-3a3f9fe2.js";import{M,R,T,d as dist,e as en}from"./index.module-90d2c3ad.js";import{j as jss,c as create}from"./jss-preset-default.esm-71fae192.js";import{c as cjs}from"./cjs-bdfb4486.js";function lexer(e){var r=[];var n=0;while(n<e.length){var t=e[n];if(t==="*"||t==="+"||t==="?"){r.push({type:"MODIFIER",index:n,value:e[n++]});continue}if(t==="\\"){r.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if(t==="{"){r.push({type:"OPEN",index:n,value:e[n++]});continue}if(t==="}"){r.push({type:"CLOSE",index:n,value:e[n++]});continue}if(t===":"){var a="";var l=n+1;while(l<e.length){var i=e.charCodeAt(l);if(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){a+=e[l++];continue}break}if(!a)throw new TypeError("Missing parameter name at "+n);r.push({type:"NAME",index:n,value:a});n=l;continue}if(t==="("){var o=1;var u="";var l=n+1;if(e[l]==="?"){throw new TypeError('Pattern cannot start with "?" at '+l)}while(l<e.length){if(e[l]==="\\"){u+=e[l++]+e[l++];continue}if(e[l]===")"){o--;if(o===0){l++;break}}else if(e[l]==="("){o++;if(e[l+1]!=="?"){throw new TypeError("Capturing groups are not allowed at "+l)}}u+=e[l++]}if(o)throw new TypeError("Unbalanced pattern at "+n);if(!u)throw new TypeError("Missing pattern at "+n);r.push({type:"PATTERN",index:n,value:u});n=l;continue}r.push({type:"CHAR",index:n,value:e[n++]})}r.push({type:"END",index:n,value:""});return r}function parse(e,r){if(r===void 0){r={}}var n=lexer(e);var t=r.prefixes,a=t===void 0?"./":t;var l="[^"+escapeString(r.delimiter||"/#?")+"]+?";var i=[];var o=0;var u=0;var d="";var s=function(e){if(u<n.length&&n[u].type===e)return n[u++].value};var v=function(e){var r=s(e);if(r!==undefined)return r;var t=n[u],a=t.type,l=t.index;throw new TypeError("Unexpected "+a+" at "+l+", expected "+e)};var p=function(){var e="";var r;while(r=s("CHAR")||s("ESCAPED_CHAR")){e+=r}return e};while(u<n.length){var f=s("CHAR");var c=s("NAME");var m=s("PATTERN");if(c||m){var g=f||"";if(a.indexOf(g)===-1){d+=g;g=""}if(d){i.push(d);d=""}i.push({name:c||o++,prefix:g,suffix:"",pattern:m||l,modifier:s("MODIFIER")||""});continue}var y=f||s("ESCAPED_CHAR");if(y){d+=y;continue}if(d){i.push(d);d=""}var w=s("OPEN");if(w){var g=p();var _=s("NAME")||"";var b=s("PATTERN")||"";var I=p();v("CLOSE");i.push({name:_||(b?o++:""),pattern:_&&!b?l:b,prefix:g,suffix:I,modifier:s("MODIFIER")||""});continue}v("END")}return i}function escapeString(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags(e){return e&&e.sensitive?"":"i"}function regexpToRegexp(e,r){if(!r)return e;var n=/\((?:\?<(.*?)>)?(?!\?)/g;var t=0;var a=n.exec(e.source);while(a){r.push({name:a[1]||t++,prefix:"",suffix:"",modifier:"",pattern:""});a=n.exec(e.source)}return e}function arrayToRegexp(e,r,n){var t=e.map((function(e){return pathToRegexp(e,r,n).source}));return new RegExp("(?:"+t.join("|")+")",flags(n))}function stringToRegexp(e,r,n){return tokensToRegexp(parse(e,n),r,n)}function tokensToRegexp(e,r,n){if(n===void 0){n={}}var t=n.strict,a=t===void 0?false:t,l=n.start,i=l===void 0?true:l,o=n.end,u=o===void 0?true:o,d=n.encode,s=d===void 0?function(e){return e}:d;var v="["+escapeString(n.endsWith||"")+"]|$";var p="["+escapeString(n.delimiter||"/#?")+"]";var f=i?"^":"";for(var c=0,m=e;c<m.length;c++){var g=m[c];if(typeof g==="string"){f+=escapeString(s(g))}else{var y=escapeString(s(g.prefix));var w=escapeString(s(g.suffix));if(g.pattern){if(r)r.push(g);if(y||w){if(g.modifier==="+"||g.modifier==="*"){var _=g.modifier==="*"?"?":"";f+="(?:"+y+"((?:"+g.pattern+")(?:"+w+y+"(?:"+g.pattern+"))*)"+w+")"+_}else{f+="(?:"+y+"("+g.pattern+")"+w+")"+g.modifier}}else{f+="("+g.pattern+")"+g.modifier}}else{f+="(?:"+y+w+")"+g.modifier}}}if(u){if(!a)f+=p+"?";f+=!n.endsWith?"$":"(?="+v+")"}else{var b=e[e.length-1];var I=typeof b==="string"?p.indexOf(b[b.length-1])>-1:b===undefined;if(!a){f+="(?:"+p+"(?="+v+"))?"}if(!I){f+="(?="+p+"|"+v+")"}}return new RegExp(f,flags(n))}function pathToRegexp(e,r,n){if(e instanceof RegExp)return regexpToRegexp(e,r);if(Array.isArray(e))return arrayToRegexp(e,r,n);return stringToRegexp(e,r,n)}function BigStatView(e,r){var n=e.statvalue,t=e.flexReverse,a=e.alignment;var l={Container:{display:"flex",height:"inherit","justify-content":"space-between","flex-direction":""+(t?"column-reverse":"column"),"align-items":""+(a==="left"?"flex-start":a==="right"?"flex-end":"center")},Stat:{"font-size":"var(--sl-font-size-x-large)","text-align":a},Description:{"font-size":"var(--sl-font-size-small)","font-weight":"var(--sl-font-weight-normal)",color:"var(--sl-color-gray-600)","text-transform":"uppercase","text-align":a}};jss.setup(create());var i=jss.createStyleSheet(l);var o=i.toString();return h("div",{part:"stat-wrapper",class:i.classes.Container},h("style",{type:"text/css"},o),h("div",{part:"stat-value",class:i.classes.Stat},n),h("div",{part:"stat-description",class:i.classes.Description},r))}var debug=browser("sq:useBigStat");var LOADING="...";var debugQuery=function(e,r,n){var t=en(e,r);if(!(t===null||t===void 0?void 0:t.data)&&!t.loading){console.error("issue getting stat:",t)}var a=n(t);return a};var referralsCountQuery=function(e,r,n){var t=e==="classic"?{programId_exists:false}:{programId_eq:e};var a=n&&n=="converted"?{dateConverted_exists:true}:n&&n=="started"?{dateConverted_exists:false}:{};var l=__assign(__assign({},t),a);return debugQuery(dist.gql(templateObject_1||(templateObject_1=__makeTemplateObject(["\n query ($queryFilter: ReferralFilterInput) {\n viewer {\n ... on User {\n referrals(filter: $queryFilter) {\n totalCount\n }\n }\n }\n }\n "],["\n query ($queryFilter: ReferralFilterInput) {\n viewer {\n ... on User {\n referrals(filter: $queryFilter) {\n totalCount\n }\n }\n }\n }\n "]))),{queryFilter:l},(function(e){var r,n,t,a,l,i,o;return{value:(t=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.referrals)===null||t===void 0?void 0:t.totalCount,statvalue:(o=(i=(l=(a=e.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.referrals)===null||i===void 0?void 0:i.totalCount)===null||o===void 0?void 0:o.toString()}}))};var programGoalsQuery=function(e,r,n,t){if(e==="classic")return null;return debugQuery(dist.gql(templateObject_2||(templateObject_2=__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n programGoals {\n goalId\n programId\n count\n conversionCount\n }\n }\n }\n }\n "],["\n query {\n viewer {\n ... on User {\n programGoals {\n goalId\n programId\n count\n conversionCount\n }\n }\n }\n }\n "]))),{programId:e,metricType:n,goalId:t,locale:r},(function(r){var a,l,i,o,u,d;var s=(i=(l=(a=r.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.programGoals)===null||i===void 0?void 0:i.filter((function(r){return r.goalId===t&&r.programId===e}));return{value:((o=s===null||s===void 0?void 0:s[0])===null||o===void 0?void 0:o[n])||0,statvalue:((d=(u=s===null||s===void 0?void 0:s[0])===null||u===void 0?void 0:u[n])===null||d===void 0?void 0:d.toString())||0}}))};var customFieldsQuery=function(e,r,n,t){if(e==="classic")return null;return debugQuery(dist.gql(templateObject_3||(templateObject_3=__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n customFields\n }\n }\n }\n "],["\n query {\n viewer {\n ... on User {\n customFields\n }\n }\n }\n "]))),{programId:e,fieldName:n,goalId:t,locale:r},(function(e){var r,t,a;var l=(a=(t=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||t===void 0?void 0:t.customFields)===null||a===void 0?void 0:a[n];return{value:l||0,statvalue:(l===null||l===void 0?void 0:l.toString())||"0"}}))};var referralsMonthQuery=function(e){var r=e==="classic"?{programId_exists:false}:{programId_eq:e};var n=__assign(__assign({},r),{dateReferralStarted_timeframe:"this_month"});return debugQuery(dist.gql(templateObject_4||(templateObject_4=__makeTemplateObject(["\n query ($filter: ReferralFilterInput) {\n viewer {\n ... on User {\n referrals(filter: $filter) {\n totalCount\n }\n }\n }\n }\n "],["\n query ($filter: ReferralFilterInput) {\n viewer {\n ... on User {\n referrals(filter: $filter) {\n totalCount\n }\n }\n }\n }\n "]))),{filter:n},(function(e){var r,n,t,a,l,i,o;return{value:((t=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.referrals)===null||t===void 0?void 0:t.totalCount)||0,statvalue:(o=(i=(l=(a=e.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.referrals)===null||i===void 0?void 0:i.totalCount)===null||o===void 0?void 0:o.toString()}}))};var referralsWeekQuery=function(e){var r=e==="classic"?{programId_exists:false}:{programId_eq:e};var n=__assign(__assign({},r),{dateReferralStarted_timeframe:"this_month"});return debugQuery(dist.gql(templateObject_5||(templateObject_5=__makeTemplateObject(["\n query ($filter: ReferralFilterInput) {\n viewer {\n ... on User {\n referrals(filter: $filter) {\n totalCount\n }\n }\n }\n }\n "],["\n query ($filter: ReferralFilterInput) {\n viewer {\n ... on User {\n referrals(filter: $filter) {\n totalCount\n }\n }\n }\n }\n "]))),{filter:n},(function(e){var r,n,t,a,l,i,o;return{value:((t=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.referrals)===null||t===void 0?void 0:t.totalCount)||0,statvalue:(o=(i=(l=(a=e.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.referrals)===null||i===void 0?void 0:i.totalCount)===null||o===void 0?void 0:o.toString()}}))};var rewardsCountQuery=function(e,r,n){if(n===void 0){n=""}return debugQuery(dist.gql(templateObject_6||(templateObject_6=__makeTemplateObject(["\n query ($programId: ID) {\n viewer {\n ... on User {\n rewards(filter: { programId_eq: $programId }) {\n totalCount\n }\n }\n }\n }\n "],["\n query ($programId: ID) {\n viewer {\n ... on User {\n rewards(filter: { programId_eq: $programId }) {\n totalCount\n }\n }\n }\n }\n "]))),{programId:!n&&e!=="classic"?e:null},(function(e){var r,n,t,a,l,i,o;return{value:((t=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewards)===null||t===void 0?void 0:t.totalCount)||0,statvalue:(o=(i=(l=(a=e.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.rewards)===null||i===void 0?void 0:i.totalCount)===null||o===void 0?void 0:o.toString()}}))};var rewardsCountFilteredQuery=function(e,r,n,t,a,l){if(l===void 0){l=""}var i=a?{status:a}:null;return debugQuery(dist.gql(templateObject_7||(templateObject_7=__makeTemplateObject(["\n query (\n $programId: ID\n $unit: String\n $type: RewardType\n $statusFilter: RewardStatusFilterInput\n ) {\n viewer {\n ... on User {\n rewards(\n filter: {\n programId_eq: $programId\n type_eq: $type\n unit_eq: $unit\n statuses_eq: $statusFilter\n }\n ) {\n totalCount\n }\n }\n }\n }\n "],["\n query (\n $programId: ID\n $unit: String\n $type: RewardType\n $statusFilter: RewardStatusFilterInput\n ) {\n viewer {\n ... on User {\n rewards(\n filter: {\n programId_eq: $programId\n type_eq: $type\n unit_eq: $unit\n statuses_eq: $statusFilter\n }\n ) {\n totalCount\n }\n }\n }\n }\n "]))),{programId:!l&&e!=="classic"?e:null,unit:t,type:n,statusFilter:i},(function(e){var r,n,t,a,l,i,o;return{value:((t=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewards)===null||t===void 0?void 0:t.totalCount)||0,statvalue:(o=(i=(l=(a=e.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.rewards)===null||i===void 0?void 0:i.totalCount)===null||o===void 0?void 0:o.toString()}}))};var integrationRewardsCountFilteredQuery=function(e,r,n,t){if(t===void 0){t=""}var a=n?{status:n}:null;return debugQuery(dist.gql(templateObject_8||(templateObject_8=__makeTemplateObject(["\n query ($programId: ID, $statusFilter: RewardStatusFilterInput) {\n viewer {\n ... on User {\n rewards(\n filter: {\n programId_eq: $programId\n type_eq: INTEGRATION\n statuses_eq: $statusFilter\n }\n ) {\n totalCount\n }\n }\n }\n }\n "],["\n query ($programId: ID, $statusFilter: RewardStatusFilterInput) {\n viewer {\n ... on User {\n rewards(\n filter: {\n programId_eq: $programId\n type_eq: INTEGRATION\n statuses_eq: $statusFilter\n }\n ) {\n totalCount\n }\n }\n }\n }\n "]))),{programId:!t&&e!=="classic"?e:null,statusFilter:a},(function(e){var r,n,t,a,l,i,o;return{value:((t=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewards)===null||t===void 0?void 0:t.totalCount)||0,statvalue:(o=(i=(l=(a=e.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.rewards)===null||i===void 0?void 0:i.totalCount)===null||o===void 0?void 0:o.toString()}}))};var rewardsMonthQuery=function(e,r,n){if(n===void 0){n=""}return debugQuery(dist.gql(templateObject_9||(templateObject_9=__makeTemplateObject(['\n query ($programId: ID) {\n viewer {\n ... on User {\n rewards(\n filter: {\n programId_eq: $programId\n dateGiven_timeframe: "this_month"\n }\n ) {\n totalCount\n }\n }\n }\n }\n '],['\n query ($programId: ID) {\n viewer {\n ... on User {\n rewards(\n filter: {\n programId_eq: $programId\n dateGiven_timeframe: "this_month"\n }\n ) {\n totalCount\n }\n }\n }\n }\n ']))),{programId:!n&&e!=="classic"?e:null},(function(e){var r,n,t,a,l,i,o;return{value:((t=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewards)===null||t===void 0?void 0:t.totalCount)||0,statvalue:(o=(i=(l=(a=e.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.rewards)===null||i===void 0?void 0:i.totalCount)===null||o===void 0?void 0:o.toString()}}))};var rewardsWeekQuery=function(e,r,n){if(n===void 0){n=""}return debugQuery(dist.gql(templateObject_10||(templateObject_10=__makeTemplateObject(['\n query ($programId: ID) {\n viewer {\n ... on User {\n rewards(\n filter: {\n programId_eq: $programId\n dateGiven_timeframe: "this_week"\n }\n ) {\n totalCount\n }\n }\n }\n }\n '],['\n query ($programId: ID) {\n viewer {\n ... on User {\n rewards(\n filter: {\n programId_eq: $programId\n dateGiven_timeframe: "this_week"\n }\n ) {\n totalCount\n }\n }\n }\n }\n ']))),{programId:!n&&e!=="classic"?e:null},(function(e){var r,n,t,a,l,i,o;return{value:((t=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewards)===null||t===void 0?void 0:t.totalCount)||0,statvalue:(o=(i=(l=(a=e.data)===null||a===void 0?void 0:a.viewer)===null||l===void 0?void 0:l.rewards)===null||i===void 0?void 0:i.totalCount)===null||o===void 0?void 0:o.toString()}}))};var rewardsRedeemedQuery=function(e,r,n,t,a){if(a===void 0){a=""}return debugQuery(dist.gql(templateObject_11||(templateObject_11=__makeTemplateObject(["\n query (\n $programId: ID\n $type: RewardType\n $unit: String!\n $locale: RSLocale\n ) {\n fallback: formatRewardPrettyValue(\n value: 0\n unit: $unit\n locale: $locale\n formatType: UNIT_FORMATTED\n )\n viewer: viewer {\n ... on User {\n rewardBalanceDetails(\n programId: $programId\n filter: { type_eq: $type, unit_eq: $unit }\n ) {\n ... on CreditRewardBalance {\n prettyRedeemedCredit\n }\n }\n }\n }\n }\n "],["\n query (\n $programId: ID\n $type: RewardType\n $unit: String!\n $locale: RSLocale\n ) {\n fallback: formatRewardPrettyValue(\n value: 0\n unit: $unit\n locale: $locale\n formatType: UNIT_FORMATTED\n )\n viewer: viewer {\n ... on User {\n rewardBalanceDetails(\n programId: $programId\n filter: { type_eq: $type, unit_eq: $unit }\n ) {\n ... on CreditRewardBalance {\n prettyRedeemedCredit\n }\n }\n }\n }\n }\n "]))),{programId:!a&&e!=="classic"?e:null,type:n,unit:t,locale:r},(function(e){var r,n,t,a,l;var i=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewardBalanceDetails;var o=(t=e.data)===null||t===void 0?void 0:t.fallback;return{value:((a=i===null||i===void 0?void 0:i[0])===null||a===void 0?void 0:a.prettyRedeemedCredit)||0,statvalue:((l=i===null||i===void 0?void 0:i[0])===null||l===void 0?void 0:l.prettyRedeemedCredit)||o}}))};var rewardsAssignedQuery=function(e,r,n,t,a){if(a===void 0){a=""}return debugQuery(dist.gql(templateObject_12||(templateObject_12=__makeTemplateObject(["\n query (\n $programId: ID\n $type: RewardType\n $unit: String!\n $locale: RSLocale\n ) {\n fallback: formatRewardPrettyValue(\n value: 0\n unit: $unit\n locale: $locale\n formatType: UNIT_FORMATTED\n )\n viewer: viewer {\n ... on User {\n rewardBalanceDetails(\n programId: $programId\n filter: { type_eq: $type, unit_eq: $unit }\n ) {\n ... on CreditRewardBalance {\n prettyAssignedCredit\n }\n }\n }\n }\n }\n "],["\n query (\n $programId: ID\n $type: RewardType\n $unit: String!\n $locale: RSLocale\n ) {\n fallback: formatRewardPrettyValue(\n value: 0\n unit: $unit\n locale: $locale\n formatType: UNIT_FORMATTED\n )\n viewer: viewer {\n ... on User {\n rewardBalanceDetails(\n programId: $programId\n filter: { type_eq: $type, unit_eq: $unit }\n ) {\n ... on CreditRewardBalance {\n prettyAssignedCredit\n }\n }\n }\n }\n }\n "]))),{programId:!a&&e!=="classic"?e:null,type:n,unit:t,locale:r},(function(e){var r,n,t,a,l;var i=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewardBalanceDetails;var o=(t=e.data)===null||t===void 0?void 0:t.fallback;return{value:((a=i===null||i===void 0?void 0:i[0])===null||a===void 0?void 0:a.prettyAssignedCredit)||0,statvalue:((l=i===null||i===void 0?void 0:i[0])===null||l===void 0?void 0:l.prettyAssignedCredit)||o}}))};var rewardsAvailableQuery=function(e,r,n,t,a){if(a===void 0){a=""}return debugQuery(dist.gql(templateObject_13||(templateObject_13=__makeTemplateObject(["\n query (\n $programId: ID\n $type: RewardType\n $unit: String!\n $locale: RSLocale\n ) {\n fallback: formatRewardPrettyValue(\n value: 0\n unit: $unit\n locale: $locale\n formatType: UNIT_FORMATTED\n )\n viewer: viewer {\n ... on User {\n rewardBalanceDetails(\n programId: $programId\n filter: { type_eq: $type, unit_eq: $unit }\n ) {\n ... on CreditRewardBalance {\n prettyAvailableValue\n }\n }\n }\n }\n }\n "],["\n query (\n $programId: ID\n $type: RewardType\n $unit: String!\n $locale: RSLocale\n ) {\n fallback: formatRewardPrettyValue(\n value: 0\n unit: $unit\n locale: $locale\n formatType: UNIT_FORMATTED\n )\n viewer: viewer {\n ... on User {\n rewardBalanceDetails(\n programId: $programId\n filter: { type_eq: $type, unit_eq: $unit }\n ) {\n ... on CreditRewardBalance {\n prettyAvailableValue\n }\n }\n }\n }\n }\n "]))),{programId:!a&&e!=="classic"?e:null,type:n,unit:t,locale:r},(function(e){var r,n,t,a,l;var i=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewardBalanceDetails;var o=(t=e.data)===null||t===void 0?void 0:t.fallback;return{value:((a=i===null||i===void 0?void 0:i[0])===null||a===void 0?void 0:a.prettyAvailableValue)||0,statvalue:((l=i===null||i===void 0?void 0:i[0])===null||l===void 0?void 0:l.prettyAvailableValue)||o}}))};var parseRewardValueFormat={prettyValue:"UNIT_FORMATTED",value:"NUMBER_UNFORMATTED"};var rewardsBalanceQuery=function(e,r,n,t,a,l){if(a===void 0){a="prettyValue"}if(l===void 0){l=""}var i;return debugQuery(dist.gql(templateObject_14||(templateObject_14=__makeTemplateObject(["\n query (\n $programId: ID\n $type: RewardType!\n $unit: String!\n $format: RewardValueFormatType!\n $locale: RSLocale\n ) {\n fallback: formatRewardPrettyValue(\n value: 0\n unit: $unit\n locale: $locale\n formatType: $format\n )\n viewer: viewer {\n ... on User {\n rewardBalanceDetails(\n programId: $programId\n filter: { type_eq: $type, unit_eq: $unit }\n ) {\n ... on CreditRewardBalance {\n prettyAvailableValue(formatType: $format)\n }\n }\n }\n }\n }\n "],["\n query (\n $programId: ID\n $type: RewardType!\n $unit: String!\n $format: RewardValueFormatType!\n $locale: RSLocale\n ) {\n fallback: formatRewardPrettyValue(\n value: 0\n unit: $unit\n locale: $locale\n formatType: $format\n )\n viewer: viewer {\n ... on User {\n rewardBalanceDetails(\n programId: $programId\n filter: { type_eq: $type, unit_eq: $unit }\n ) {\n ... on CreditRewardBalance {\n prettyAvailableValue(formatType: $format)\n }\n }\n }\n }\n }\n "]))),{programId:!l&&e!=="classic"?e:null,type:n,unit:t,format:(i=parseRewardValueFormat[a])!==null&&i!==void 0?i:"UNIT_FORMATTED",locale:r},(function(e){var r,n,t,a,l;var i=(n=(r=e.data)===null||r===void 0?void 0:r.viewer)===null||n===void 0?void 0:n.rewardBalanceDetails;var o=(t=e.data)===null||t===void 0?void 0:t.fallback;return{value:((a=i===null||i===void 0?void 0:i[0])===null||a===void 0?void 0:a.prettyAvailableValue)||0,statvalue:((l=i===null||i===void 0?void 0:i[0])===null||l===void 0?void 0:l.prettyAvailableValue)||o}}))};var queries={rewardsAssigned:{label:"Rewards Earned",query:rewardsAssignedQuery},rewardsRedeemed:{label:"Rewards Paid",query:rewardsRedeemedQuery},rewardsAvailable:{label:"Rewards Available",query:rewardsAvailableQuery},referralsCount:{label:"Referrals - Count",query:referralsCountQuery},referralsMonth:{label:"Referrals - This Month",query:referralsMonthQuery},referralsWeek:{label:"Referrals - This Week",query:referralsWeekQuery},rewardsCount:{label:"Rewards",query:rewardsCountQuery},rewardsCountFiltered:{label:"Rewards",query:rewardsCountFilteredQuery},integrationRewardsCountFiltered:{label:"Rewards",query:integrationRewardsCountFilteredQuery},rewardsMonth:{label:"Rewards - This Month",query:rewardsMonthQuery},rewardsWeek:{label:"Rewards - This Week",query:rewardsWeekQuery},rewardBalance:{label:"Balance - Credit Earned",query:rewardsBalanceQuery},programGoals:{label:"Program Goals",query:programGoalsQuery},customFields:{label:"Custom Fields",query:customFieldsQuery}};var StatPaths=[{name:"programGoals",route:"/(programGoals)/:metricType/:goalId"},{name:"customFields",route:"/(customFields)/:customField"},{name:"referralsCount",route:"/(referralsCount)/:status?"},{name:"referralsMonth",route:"/(referralsMonth)"},{name:"referralsWeek",route:"/(referralsWeek)"},{name:"rewardsCount",route:"/(rewardsCount)/:global?"},{name:"rewardsMonth",route:"/(rewardsMonth)/:global?"},{name:"rewardsWeek",route:"/(rewardsWeek)/:global?"},{name:"rewardsCountFiltered",route:"/(rewardsCountFiltered)/:statType([INTEGRATION|PCT_DISCOUNT|CREDIT]*)?/:unit((?!global)(?!PENDING)(?!CANCELLED)(?!EXPIRED)(?!REDEEMED)(?!AVAILABLE)[a-zA-Z0-9%]+)?/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"},{name:"integrationRewardsCountFiltered",route:"/(integrationRewardsCountFiltered)/:status([PENDING|CANCELLED|EXPIRED|REDEEMED|AVAILABLE]*)?/:global?"},{name:"rewardsAssigned",route:"/(rewardsAssigned)/:statType/:unit/:global?"},{name:"rewardsRedeemed",route:"/(rewardsRedeemed)/:statType/:unit/:global?"},{name:"rewardsAvailable",route:"/(rewardsAvailable)/:statType/:unit/:global?"},{name:"rewardBalance",route:"/(rewardBalance)/:statType/:unit/:format([prettyValue|value]*)?/:global?"}];var StatPatterns=StatPaths.map((function(e){return pathToRegexp(e.route)}));function useBigStat(e){var r;var n;var t=e.statType,a=e.flexReverse,l=e.alignment;var i=M();var o=R();var u=T();var d=useMemo((function(){return StatPatterns.find((function(e){return e.exec(t)}))}),[t]);if(!(d===null||d===void 0?void 0:d.exec(t))){return{props:{value:0,statvalue:"!!!",flexReverse:a,alignment:l},label:"BAD PROP TYPE"}}var s=d.exec(t);var v=s[1];var p=StatPaths.find((function(e){return e.name===v}));var f=[];var c=pathToRegexp(p===null||p===void 0?void 0:p.route,f,{strict:false,sensitive:false,end:true});var m=c.exec(t);var g=f.map((function(e,r){return m[r+1]?decodeURIComponent(m[r+1]):undefined}));g.shift();var y=queries[v].label;var w=(u===null||u===void 0?void 0:u.jwt)&&(r=queries[v]).query.apply(r,__spreadArrays([i,o],g));debug("stat:",w);return{props:{value:w===null||w===void 0?void 0:w.value,statvalue:(n=w===null||w===void 0?void 0:w.statvalue)!==null&&n!==void 0?n:LOADING,flexReverse:a,alignment:l},label:y}}function useDemoBigStat(e){var r=e.statType;var n=useMemo((function(){return StatPatterns.find((function(e){return e.exec(r)}))}),[r]);if(!(n===null||n===void 0?void 0:n.exec(r))){return{props:{value:0,statvalue:"!!!",flexReverse:false,alignment:"center"},label:"BAD PROP TYPE"}}var t=n.exec(r);var a=t[1];var l=queries[a].label;return{props:cjs({statvalue:"12345",flexReverse:false,alignment:"center"},e.demoData||{},{arrayMerge:function(e,r){return r}}),label:l!==null&&l!==void 0?l:"Demo Label"}}export{BigStatView as B,useDemoBigStat as a,pathToRegexp as p,useBigStat as u};var templateObject_1,templateObject_2,templateObject_3,templateObject_4,templateObject_5,templateObject_6,templateObject_7,templateObject_8,templateObject_9,templateObject_10,templateObject_11,templateObject_12,templateObject_13,templateObject_14;
@@ -1 +0,0 @@
1
- import{r as s,h as t,c as a}from"./p-64c3217a.js";import{o,e as r,m as c}from"./p-44578b22.js";import"./p-ba505a8c.js";import{Q as n,k as i,g as p,h as e}from"./p-a2c3cff3.js";const l=class{constructor(t){s(this,t),this.ignored=!0,c(this)}disconnectedCallback(){}render(){return async function({domain:s}){const t=n(),a=s,c=i(),l=p(a,c,t),[,m]=o(e,l);r((()=>{m(l)}),[l])}(this),t(a,{style:{display:"contents"}},t("slot",null))}};export{l as sqm_graphql_client_provider}
@@ -1 +0,0 @@
1
- System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-b608f7a4.system.js","./p-1e182e88.system.js","./p-3b97aed8.system.js"],(function(e,t){"use strict";var a,r,o;return{setters:[function(e){a=e.p;r=e.H;o=e.b},function(){},function(){},function(){},function(){}],execute:function(){var e=function(){{s(r.prototype)}var e=t.meta.url;var o={};if(e!==""){o.resourcesUrl=new URL(".",e).href}return a(o)};var s=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var a=t.call(this,false);var r=this.childNodes;if(e){for(var o=0;o<r.length;o++){if(r[o].nodeType!==2){a.appendChild(r[o].cloneNode(true))}}}return a}};e().then((function(e){return o(JSON.parse('[["p-cca9026f.system",[[1,"sqm-portal-reset-password",{"nextPage":[1,"next-page"],"confirmPassword":[4,"confirm-password"],"resetPasswordHeader":[1,"reset-password-header"],"passwordResetHeader":[1,"password-reset-header"],"resetPasswordButtonText":[1,"reset-password-button-text"],"continueButtonText":[1,"continue-button-text"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"passwordFieldLabel":[1,"password-field-label"],"demoData":[16],"ignored":[32]}]]],["p-6bf0a4d9.system",[[1,"sqm-portal-email-verification",{"emailVerificationHeader":[1,"email-verification-header"],"resendEmailButtonText":[1,"resend-email-button-text"],"verifyMessage":[1,"verify-message"],"demoData":[16],"ignored":[32]}]]],["p-1dcdca58.system",[[1,"sqm-portal-forgot-password",{"emailLabel":[1,"email-label"],"submitLabel":[1,"submit-label"],"demoData":[16],"ignored":[32]}]]],["p-dc603d08.system",[[1,"sqm-portal-profile",{"firstnametext":[1],"lastnametext":[1],"emailtext":[1],"countrytext":[1],"editProfileHeader":[1,"edit-profile-header"],"editProfileSubHeader":[1,"edit-profile-sub-header"],"submitChangeButtonText":[1,"submit-change-button-text"],"showCountry":[4,"show-country"],"demoData":[16],"ignored":[32]}]]],["p-d174d0bc.system",[[1,"sqm-portal-verify-email",{"nextPage":[1,"next-page"],"demoData":[16],"ignored":[32]}]]],["p-24b3c6f0.system",[[1,"sqm-referral-table-column",{"columnTitle":[1,"column-title"],"renderCell":[64],"renderLabel":[64]}]]],["p-c79c608d.system",[[1,"sqm-referral-table-date-column",{"columnTitle":[1,"column-title"],"dateShown":[1,"date-shown"],"renderCell":[64],"renderLabel":[64]}]]],["p-1a09e4e1.system",[[1,"sqm-referral-table-rewards-column",{"columnTitle":[1,"column-title"],"hideDetails":[4,"hide-details"],"renderCell":[64],"renderLabel":[64]}]]],["p-223b42bd.system",[[1,"sqm-referral-table-status-column",{"columnTitle":[1,"column-title"],"convertedStatusText":[1,"converted-status-text"],"inProgressStatusText":[1,"in-progress-status-text"],"renderCell":[64],"renderLabel":[64]}]]],["p-24c9a599.system",[[1,"sqm-referral-table-user-column",{"columnTitle":[1,"column-title"],"anonymousUser":[1,"anonymous-user"],"deletedUser":[1,"deleted-user"],"renderCell":[64],"renderLabel":[64]}]]],["p-304e6c82.system",[[1,"sqm-asset-card",{"titleText":[1,"title-text"],"imgUrl":[1,"img-url"],"demoData":[16],"ignored":[32]}]]],["p-9e4fee30.system",[[1,"sqm-big-stat",{"statType":[1,"stat-type"],"flexReverse":[4,"flex-reverse"],"alignment":[1],"demoData":[16],"ignored":[32]}]]],["p-73148868.system",[[4,"sqm-graphql-client-provider",{"domain":[1],"ignored":[32]}]]],["p-e14c15ca.system",[[1,"sqm-hero",{"columns":[2],"background":[1],"paddingSize":[1,"padding-size"],"secondaryBackground":[1,"secondary-background"],"wrapDirection":[1,"wrap-direction"]}]]],["p-412a9226.system",[[1,"sqm-leaderboard",{"usersheading":[1],"statsheading":[1],"rankheading":[1],"showRank":[4,"show-rank"],"rankType":[1,"rank-type"],"leaderboardType":[1,"leaderboard-type"],"interval":[1],"demoData":[16],"ignored":[32]}]]],["p-67ae18d1.system",[[1,"sqm-leaderboard-rank",{"rankType":[1,"rank-type"],"rankText":[1,"rank-text"],"leaderboardType":[1,"leaderboard-type"],"unrankedText":[1,"unranked-text"],"interval":[1],"demoData":[16]}]]],["p-69bcf4fa.system",[[0,"sqm-name-fields",{"firstNameLabel":[1,"first-name-label"],"lastNameLabel":[1,"last-name-label"],"demoData":[16],"ignored":[32]}]]],["p-fee468b7.system",[[1,"sqm-navigation-sidebar",{"ignored":[32]}]]],["p-396bf448.system",[[1,"sqm-navigation-sidebar-item",{"path":[1],"icon":[1],"label":[1],"demoData":[16]}]]],["p-be2738b0.system",[[4,"sqm-popup-container",{"poweredBy":[4,"powered-by"],"closeButton":[4,"close-button"],"closeButtonText":[1,"close-button-text"],"embedPadding":[1,"embed-padding"],"popupPadding":[1,"popup-padding"]}]]],["p-e43cc1f8.system",[[1,"sqm-portal-container",{"direction":[1],"padding":[1],"gap":[1],"minWidth":[1,"min-width"],"ignored":[32]}]]],["p-44d0fc80.system",[[1,"sqm-portal-footer",{"supportEmail":[1,"support-email"],"supportText":[1,"support-text"],"termsLink":[1,"terms-link"],"termsText":[1,"terms-text"],"faqLink":[1,"faq-link"],"faqText":[1,"faq-text"],"showPoweredBy":[4,"show-powered-by"],"poweredByLink":[1,"powered-by-link"],"paddingTop":[1,"padding-top"],"paddingRight":[1,"padding-right"],"paddingBottom":[1,"padding-bottom"],"paddingLeft":[1,"padding-left"],"ignored":[32]}]]],["p-6e245fa3.system",[[1,"sqm-portal-logout",{"nextPage":[1,"next-page"],"ignored":[32]}]]],["p-4052b948.system",[[1,"sqm-portal-protected-route",{"redirectTo":[1,"redirect-to"],"requireEmailVerification":[4,"require-email-verification"],"redirectToUnverified":[1,"redirect-to-unverified"],"ignored":[32]}]]],["p-c3f91add.system",[[1,"sqm-program-explainer",{"header":[1],"title":[1],"description":[1],"color":[1],"background":[1],"ignored":[32]}]]],["p-9e4e397a.system",[[1,"sqm-program-explainer-step",{"title":[1],"description":[1],"color":[1],"background":[1],"icon":[1]}]]],["p-c1a47137.system",[[1,"sqm-route",{"path":[1],"ignored":[32]}]]],["p-e6d77d20.system",[[1,"sqm-share-code",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}]]],["p-0a39b23c.system",[[1,"sqm-stat-container",{"space":[1],"ignored":[32]}]]],["p-6d27cd05.system",[[0,"sqm-text-span",{"text":[1],"type":[1],"ignored":[32]}]]],["p-f85f36c6.system",[[1,"sqm-titled-section",{"label":[1],"labelMargin":[1,"label-margin"],"padding":[1]}]]],["p-5f4d838e.system",[[4,"sqm-stencilbook",{"ignored":[32]}],[1,"sqm-referral-table",{"programId":[1,"program-id"],"perPage":[2,"per-page"],"showLabels":[4,"show-labels"],"prevLabel":[1,"prev-label"],"moreLabel":[1,"more-label"],"showReferrer":[4,"show-referrer"],"demoData":[16]}],[1,"sqm-portal-change-password",{"modalChangePasswordHeader":[1,"modal-change-password-header"],"cancelText":[1,"cancel-text"],"changePasswordButtonText":[1,"change-password-button-text"],"passwordFieldLabel":[1,"password-field-label"],"confirmPasswordFieldLabel":[1,"confirm-password-field-label"],"successMessage":[1,"success-message"],"portalChangePasswordHeader":[1,"portal-change-password-header"],"portalChangePasswordButtonText":[1,"portal-change-password-button-text"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-register",{"nextPage":[1,"next-page"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"loginLabel":[1,"login-label"],"confirmPasswordLabel":[1,"confirm-password-label"],"confirmPassword":[4,"confirm-password"],"enablePasswordValidation":[4,"enable-password-validation"],"hideInputs":[4,"hide-inputs"],"pageLabel":[1,"page-label"],"demoData":[16],"ignored":[32]}],[1,"sqm-edit-profile",{"editprofileheader":[1],"editprofiletext":[1],"canceltext":[1],"updatetext":[1],"firstnametext":[1],"lastnametext":[1],"currentregiontext":[1],"showregion":[4],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-login",{"nextPage":[1,"next-page"],"emailLabel":[1,"email-label"],"passwordLabel":[1,"password-label"],"submitLabel":[1,"submit-label"],"forgotPasswordLabel":[1,"forgot-password-label"],"registerLabel":[1,"register-label"],"pageLabel":[1,"page-label"],"demoData":[16],"ignored":[32]}],[1,"sqm-rewards-table",{"programId":[1,"program-id"],"perPage":[2,"per-page"],"showLabels":[4,"show-labels"],"prevLabel":[1,"prev-label"],"moreLabel":[1,"more-label"],"showReferrer":[4,"show-referrer"],"demoData":[16]}],[1,"sqm-rewards-table-column",{"columnTitle":[1,"column-title"],"hideDetails":[4,"hide-details"],"renderCell":[64],"renderLabel":[64]}],[1,"sqm-brand",{"brandColor":[1,"brand-color"],"brandFont":[1,"brand-font"]}],[1,"sqm-divided-layout",{"direction":[1],"dividerStyle":[1,"divider-style"]}],[0,"sqm-hook-story-container",{"hookStory":[16],"ignored":[32]}],[1,"sqm-navigation-menu",{"includeDropdown":[4,"include-dropdown"],"menuLabel":[1,"menu-label"],"demoData":[16],"ignored":[32]}],[1,"sqm-portal-frame",{"demoData":[16],"ignored":[32]}],[4,"sqm-program-menu",{"ignored":[32]}],[0,"sqm-referral-iframe",{"iframeSrc":[1,"iframe-src"],"iframeHeight":[1,"iframe-height"],"iframeWidth":[1,"iframe-width"],"demoData":[16],"ignored":[32]}],[1,"sqm-reward-exchange-list",{"buttonText":[1,"button-text"],"notAvailableError":[1,"not-available-error"],"chooseRewardTitle":[1,"choose-reward-title"],"chooseAmountTitle":[1,"choose-amount-title"],"confirmationTitle":[1,"confirmation-title"],"cancelText":[1,"cancel-text"],"backText":[1,"back-text"],"continueText":[1,"continue-text"],"continueToConfirmationText":[1,"continue-to-confirmation-text"],"redeemText":[1,"redeem-text"],"redeemTitle":[1,"redeem-title"],"redemptionSuccessText":[1,"redemption-success-text"],"doneText":[1,"done-text"],"queryError":[1,"query-error"],"redemptionError":[1,"redemption-error"],"notEnoughError":[1,"not-enough-error"],"demoData":[16],"ignored":[32]}],[4,"sqm-router",{"ignored":[32]}],[1,"sqm-share-button",{"medium":[1],"programId":[1,"program-id"],"pill":[4],"disabled":[4],"type":[1],"size":[1],"iconslot":[1],"icon":[1],"hideicon":[4],"hidetext":[4],"sharetitle":[1],"sharetext":[1],"demoData":[16]}],[1,"sqm-share-link",{"programId":[1,"program-id"],"tooltiptext":[1,"tooltip-text"],"tooltiplifespan":[2,"tooltip-lifespan"],"demoData":[16]}],[1,"sqm-task-card",{"rewardAmount":[1,"reward-amount"],"rewardUnit":[1,"reward-unit"],"cardTitle":[1,"card-title"],"description":[1],"repeatable":[4],"finite":[2],"showProgressBar":[4,"show-progress-bar"],"goal":[2],"steps":[4],"progressBarUnit":[1,"progress-bar-unit"],"showExpiry":[4,"show-expiry"],"rewardDuration":[1,"reward-duration"],"buttonText":[1,"button-text"],"buttonLink":[1,"button-link"],"openNewTab":[4,"open-new-tab"],"statType":[1,"stat-type"],"ignored":[32]}],[1,"sqm-user-name",{"fallback":[1],"loadingText":[1,"loading-text"],"demoData":[16],"_ignored":[32]}],[1,"sqm-referral-table-cell",{"innerTemplate":[1,"inner-template"],"ignored":[32]}],[1,"sqm-referral-table-date-cell",{"date":[2],"ignored":[32]}],[1,"sqm-referral-table-status-cell",{"statusText":[1,"status-text"],"converted":[4]}],[1,"sqm-referral-table-user-cell",{"name":[1]}],[1,"sqm-table-cell",{"colspan":[2],"padding":[1]}],[1,"sqm-table-row",{"border":[1]}],[1,"sqm-referral-table-rewards-cell",{"rewards":[16],"hideDetails":[4,"hide-details"]}],[4,"sqm-text",{"ignored":[32]}],[0,"sqm-password-field",{"fieldLabel":[1,"field-label"],"enableValidation":[4,"enable-validation"],"demoData":[16],"ignored":[32]}],[1,"sqm-form-message",{"type":[1],"icon":[1],"ignored":[32]}]]]]'),e)}))}}}));