@saasquatch/mint-components 1.5.5-0 → 1.5.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 (173) hide show
  1. package/dist/cjs/{ShadowViewAddon-1716c9f5.js → ShadowViewAddon-1bbdf477.js} +2 -2
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +126 -161
  5. package/dist/cjs/sqm-empty_5.cjs.entry.js +2 -2
  6. package/dist/cjs/sqm-hero.cjs.entry.js +7 -15
  7. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +15 -8
  8. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -5
  9. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  10. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  11. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-portal-profile.cjs.entry.js +8 -18
  13. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  14. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +10 -12
  15. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -21
  17. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -8
  18. package/dist/cjs/sqm-stencilbook.cjs.entry.js +300 -98
  19. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +2 -2
  20. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +7 -13
  21. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +10 -11
  22. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +4 -4
  23. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -5
  24. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +9 -9
  25. package/dist/collection/components/sqm-empty/EmptyState.stories.js +1 -0
  26. package/dist/collection/components/sqm-empty/sqm-empty.js +0 -1
  27. package/dist/collection/components/sqm-form-message/sqm-form-message.js +3 -3
  28. package/dist/collection/components/sqm-hero/sqm-hero.js +15 -23
  29. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +3 -7
  30. package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +0 -3
  31. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +147 -27
  32. package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +56 -0
  33. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
  34. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +70 -20
  35. package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +42 -19
  36. package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +18 -0
  37. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +28 -8
  38. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +15 -8
  39. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +4 -4
  40. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +3 -3
  41. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +1 -1
  42. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -1
  43. package/dist/collection/components/sqm-password-field/sqm-password-field.js +6 -9
  44. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +11 -11
  45. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +22 -34
  46. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +4 -4
  47. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +8 -8
  48. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +8 -8
  49. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +26 -42
  50. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +2 -2
  51. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +21 -31
  52. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +2 -2
  53. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +28 -36
  54. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +21 -23
  55. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +4 -4
  56. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -1
  57. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +9 -11
  58. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +6 -10
  59. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +14 -23
  60. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +15 -22
  61. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -2
  62. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +8 -12
  63. package/dist/collection/components/sqm-route/sqm-route.js +1 -1
  64. package/dist/collection/components/sqm-share-button/sqm-share-button.js +15 -18
  65. package/dist/collection/components/sqm-share-code/sqm-share-code.js +7 -6
  66. package/dist/collection/components/sqm-share-link/sqm-share-link.js +7 -6
  67. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -2
  68. package/dist/collection/components/sqm-task-card/sqm-task-card.js +8 -96
  69. package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -1
  70. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -1
  71. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +4 -4
  72. package/dist/collection/components/sqm-user-name/sqm-user-name.js +5 -6
  73. package/dist/esm/{ShadowViewAddon-16edf1a4.js → ShadowViewAddon-e2996624.js} +2 -2
  74. package/dist/esm/loader.js +1 -1
  75. package/dist/esm/mint-components.js +1 -1
  76. package/dist/esm/sqm-big-stat_35.entry.js +127 -162
  77. package/dist/esm/sqm-empty_5.entry.js +2 -2
  78. package/dist/esm/sqm-hero.entry.js +7 -15
  79. package/dist/esm/sqm-leaderboard-rank.entry.js +15 -8
  80. package/dist/esm/sqm-password-field.entry.js +2 -5
  81. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  82. package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
  83. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  84. package/dist/esm/sqm-portal-profile.entry.js +8 -18
  85. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  86. package/dist/esm/sqm-portal-reset-password.entry.js +10 -12
  87. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  88. package/dist/esm/sqm-referral-table_11.entry.js +8 -21
  89. package/dist/esm/sqm-rewards-table_9.entry.js +4 -8
  90. package/dist/esm/sqm-stencilbook.entry.js +300 -98
  91. package/dist/esm-es5/ShadowViewAddon-e2996624.js +1 -0
  92. package/dist/esm-es5/loader.js +1 -1
  93. package/dist/esm-es5/mint-components.js +1 -1
  94. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  95. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  96. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  97. package/dist/mint-components/mint-components.esm.js +1 -1
  98. package/dist/mint-components/mint-components.js +1 -1
  99. package/dist/mint-components/p-232672a2.entry.js +13 -0
  100. package/dist/mint-components/{p-294c486f.js → p-3facf714.js} +1 -1
  101. package/dist/mint-components/p-64cc1a70.system.entry.js +1 -0
  102. package/dist/mint-components/p-87ffb558.entry.js +9 -0
  103. package/dist/mint-components/p-91acec3d.entry.js +159 -0
  104. package/dist/mint-components/p-94096609.system.js +1 -1
  105. package/dist/mint-components/p-951e7817.system.entry.js +1 -0
  106. package/dist/mint-components/p-ba99d04e.system.entry.js +1 -0
  107. package/dist/mint-components/p-d3cc0d60.system.js +1 -0
  108. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +2 -2
  109. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +4 -12
  110. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +5 -6
  111. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -2
  112. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +3 -3
  113. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +7 -10
  114. package/dist/types/components/sqm-empty/sqm-empty.d.ts +0 -1
  115. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +2 -8
  116. package/dist/types/components/sqm-hero/sqm-hero.d.ts +8 -20
  117. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -5
  118. package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +0 -3
  119. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +2 -1
  120. package/dist/types/components/sqm-leaderboard/UseLeaderboard.stories.d.ts +18 -0
  121. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +2 -2
  122. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +25 -9
  123. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +4 -2
  124. package/dist/types/components/sqm-leaderboard-rank/LeaderboardRank.stories.d.ts +5 -0
  125. package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +14 -7
  126. package/dist/types/components/sqm-leaderboard-rank/useLeaderboardRank.d.ts +2 -1
  127. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +2 -2
  128. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +2 -4
  129. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +1 -1
  130. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +1 -1
  131. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +2 -5
  132. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +6 -21
  133. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -20
  134. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -5
  135. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +4 -4
  136. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +4 -4
  137. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +9 -25
  138. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -1
  139. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +8 -18
  140. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -1
  141. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +12 -20
  142. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +10 -12
  143. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +2 -2
  144. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -1
  145. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +4 -7
  146. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +2 -6
  147. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +6 -15
  148. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +9 -16
  149. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -1
  150. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +3 -7
  151. package/dist/types/components/sqm-route/sqm-route.d.ts +1 -1
  152. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +9 -17
  153. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +2 -2
  154. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +2 -2
  155. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
  156. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +8 -35
  157. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -1
  158. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -1
  159. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -2
  160. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -3
  161. package/dist/types/components.d.ts +372 -494
  162. package/grapesjs/grapesjs.js +1 -1
  163. package/package.json +3 -8
  164. package/dist/esm-es5/ShadowViewAddon-16edf1a4.js +0 -1
  165. package/dist/mint-components/p-075154b7.entry.js +0 -13
  166. package/dist/mint-components/p-20305fa4.system.entry.js +0 -1
  167. package/dist/mint-components/p-4ccb3b36.system.entry.js +0 -1
  168. package/dist/mint-components/p-62cc7fae.entry.js +0 -9
  169. package/dist/mint-components/p-6ce2e2eb.system.entry.js +0 -1
  170. package/dist/mint-components/p-acc840a5.system.js +0 -1
  171. package/dist/mint-components/p-dbf1beab.entry.js +0 -150
  172. package/docs/docs.docx +0 -0
  173. package/docs/raisins.json +0 -1
@@ -2,7 +2,7 @@ import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js'
2
2
  import { m as h, e as useEffect, k as useState, y, o as d, f as useRef, b as browser, u as useReducer } from './stencil-hooks.module-acc8a613.js';
3
3
  import { i as intl } from './global-5c84f57f.js';
4
4
  import { u as useCallback } from './use-callback-7e0bfd3b.js';
5
- import { j as jn, P, d as dist, i as ie, b as sn, q as qe, M, r as rn, c as dn, g as $e, E as Ee, D as De, H as He, l as ln, R as Rn, A as An } from './index.module-f5e17a4e.js';
5
+ import { j as jn, P, d as dist, i as ie, b as sn, q as qe, M, A as An, r as rn, c as dn, g as $e, E as Ee, D as De, H as He, l as ln, R as Rn } from './index.module-f5e17a4e.js';
6
6
  import './extends-c31f1eff.js';
7
7
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
8
8
  import { c as cjs } from './cjs-bdfb4486.js';
@@ -14,16 +14,14 @@ import './luxon-f44215d9.js';
14
14
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
15
15
  import './sqm-text-span-view-0ba1484d.js';
16
16
  import './sqm-portal-container-view-ca454627.js';
17
- import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-16edf1a4.js';
17
+ import { c as useDemoBigStat, K as useBigStat, B as BigStatView, H as autoColorScaleCss, G as CardFeedView, C as CheckboxFieldView, D as DropdownFieldView, E as EditProfileView, I as InputFieldView, M as withShadowView, L as LeaderboardView, N as NameFieldsView, e as PortalChangePasswordView, P as PortalFrameView, f as PortalLoginView, g as PortalRegisterView, R as ReferralIframeView, O as demoRewardExchange, i as RewardExchangeView, Q as pathToRegexp, b as useShareButton, S as ShareButtonView, a as ShareLinkView, u as useShareLink, d as StatContainerView, T as TaskCardView } from './ShadowViewAddon-e2996624.js';
18
18
  import './sqm-portal-section-view-6c249c74.js';
19
19
 
20
20
  const BigStat = class {
21
21
  constructor(hostRef) {
22
22
  registerInstance(this, hostRef);
23
23
  /**
24
- * Controls the order of the stat value & description column
25
- *
26
- * @uiName Flex Reverse
24
+ * @uiName Flex Reverse - controls the order of the stat value & description column
27
25
  */
28
26
  this.flexReverse = false;
29
27
  this.ignored = true;
@@ -199,21 +197,20 @@ const CheckboxField = class {
199
197
  registerInstance(this, hostRef);
200
198
  this.ignored = true;
201
199
  /**
202
- * @uiName Checkbox Label
200
+ * @uiName Checkbox label
203
201
  */
204
202
  this.checkboxLabel = "By signing up you agree to the {labelLink}";
205
203
  /**
204
+ * @uiName Checkbox label link
206
205
  * Used with link text if the checkbox label contains {labelLink}
207
- *
208
- * @uiName Checkbox Label Link
209
206
  */
210
207
  this.checkboxLabelLink = "https://example.com";
211
208
  /**
212
- * @uiName Checkbox Label Link Text
209
+ * @uiName Checkbox label link text
213
210
  */
214
211
  this.checkboxLabelLinkText = "Terms and Conditions";
215
212
  /**
216
- * @uiName Unchecked Error Message
213
+ * @uiName Unchecked error message
217
214
  */
218
215
  this.errorMessage = "Must be checked";
219
216
  /**
@@ -309,8 +306,8 @@ const DividedLayout = class {
309
306
  constructor(hostRef) {
310
307
  registerInstance(this, hostRef);
311
308
  /**
312
- * Uses Shorthand CSS border syntax
313
- * @uiName Border Style
309
+ * Uses CSS border style syntax
310
+ * @uiName Border style
314
311
  */
315
312
  this.dividerStyle = "1px solid #EAEAEA";
316
313
  h(this);
@@ -335,11 +332,11 @@ const DropdownField = class {
335
332
  registerInstance(this, hostRef);
336
333
  this.ignored = true;
337
334
  /**
338
- * @uiName Dropdown Label
335
+ * @uiName Dropdown label
339
336
  */
340
337
  this.dropdownLabel = "Select an option";
341
338
  /**
342
- * @uiName Unselected Error Message
339
+ * @uiName Unselected error message
343
340
  */
344
341
  this.errorMessage = "Select an option";
345
342
  /**
@@ -772,9 +769,7 @@ const HeroImage = class {
772
769
  */
773
770
  this.imageMobilePos = "top";
774
771
  /**
775
- * CTA Button Opens Link in New Tab
776
- *
777
- * @uiName Button New Tab
772
+ * @uiName CTA Button Link Open in New Tab
778
773
  */
779
774
  this.buttonNewTab = false;
780
775
  /**
@@ -869,11 +864,16 @@ function useInputFieldDemo(props) {
869
864
  }
870
865
 
871
866
  const GET_LEADERBOARD = dist.gql `
872
- query ($type: String!, $filter: UserLeaderboardFilterInput) {
867
+ query (
868
+ $type: String!
869
+ $filter: UserLeaderboardFilterInput
870
+ $locale: RSLocale
871
+ $limit: Int!
872
+ ) {
873
873
  userLeaderboard(type: $type, filter: $filter) {
874
874
  dateModified
875
- rows {
876
- value
875
+ rows(limit: $limit) {
876
+ textValue(locale: $locale)
877
877
  firstName
878
878
  lastInitial
879
879
  rank {
@@ -886,13 +886,17 @@ const GET_LEADERBOARD = dist.gql `
886
886
  }
887
887
  `;
888
888
  const GET_RANK = dist.gql `
889
- query ($type: String!, $filter: UserLeaderboardFilterInput) {
889
+ query (
890
+ $type: String!
891
+ $filter: UserLeaderboardFilterInput
892
+ $locale: RSLocale
893
+ ) {
890
894
  viewer {
891
895
  ... on User {
892
896
  firstName
893
897
  lastInitial
894
898
  leaderboardRank(type: $type, filter: $filter) {
895
- value
899
+ textValue(locale: $locale)
896
900
  rank
897
901
  denseRank
898
902
  rowNumber
@@ -902,19 +906,33 @@ const GET_RANK = dist.gql `
902
906
  }
903
907
  `;
904
908
  function useLeaderboard(props) {
905
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
906
- const programId = M();
909
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
910
+ const programIdContext = M();
911
+ // Default to context, overriden by props
912
+ const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
907
913
  const user = ie();
908
- const variables = {
909
- type: props.leaderboardType,
910
- filter: { programId_eq: programId },
911
- };
914
+ const locale = An();
915
+ const variables = programId
916
+ ? {
917
+ type: props.leaderboardType,
918
+ filter: { programId_eq: programId },
919
+ }
920
+ : {
921
+ type: props.leaderboardType,
922
+ filter: {},
923
+ };
912
924
  if (props.interval) {
913
925
  variables.filter["interval"] = props.interval;
914
926
  }
927
+ if (locale) {
928
+ variables["locale"] = locale;
929
+ }
930
+ if (props.maxRows > 0) {
931
+ variables["limit"] = props.maxRows;
932
+ }
915
933
  const { data: leaderboardData, loading: loadingLeaderboard } = sn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
916
934
  const { data: rankData } = sn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
917
- const leaderboardRows = (_a = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _a === void 0 ? void 0 : _a.rows;
935
+ const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
918
936
  const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
919
937
  const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
920
938
  return a.rank - b.rank;
@@ -923,7 +941,7 @@ function useLeaderboard(props) {
923
941
  return leaderboardRows === null || leaderboardRows === void 0 ? void 0 : leaderboardRows.flatMap((user) => {
924
942
  var _a, _b;
925
943
  return ({
926
- value: user.value,
944
+ textValue: user.textValue,
927
945
  firstName: user.firstName,
928
946
  lastInitial: user.lastInitial,
929
947
  rank: (_a = user.rank) === null || _a === void 0 ? void 0 : _a[props.rankType],
@@ -932,11 +950,11 @@ function useLeaderboard(props) {
932
950
  });
933
951
  }
934
952
  const viewingUser = {
935
- value: (_c = (_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) === null || _c === void 0 ? void 0 : _c.value,
936
- firstName: (_d = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _d === void 0 ? void 0 : _d.firstName,
937
- lastInitial: (_e = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _e === void 0 ? void 0 : _e.lastInitial,
938
- rank: (_g = (_f = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _f === void 0 ? void 0 : _f.leaderboardRank) === null || _g === void 0 ? void 0 : _g[props.rankType],
939
- rowNumber: (_j = (_h = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _h === void 0 ? void 0 : _h.leaderboardRank) === null || _j === void 0 ? void 0 : _j.rowNumber,
953
+ textValue: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d.textValue,
954
+ firstName: (_e = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _e === void 0 ? void 0 : _e.firstName,
955
+ lastInitial: (_f = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _f === void 0 ? void 0 : _f.lastInitial,
956
+ rank: (_h = (_g = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _g === void 0 ? void 0 : _g.leaderboardRank) === null || _h === void 0 ? void 0 : _h[props.rankType],
957
+ rowNumber: (_k = (_j = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _j === void 0 ? void 0 : _j.leaderboardRank) === null || _k === void 0 ? void 0 : _k.rowNumber,
940
958
  };
941
959
  return {
942
960
  states: {
@@ -960,16 +978,23 @@ const Leaderboard = class {
960
978
  constructor(hostRef) {
961
979
  registerInstance(this, hostRef);
962
980
  /**
963
- * Hide the current user's leaderboard information when they are not in the top 10
981
+ * Hide the viewer's leaderboard row if not in the top 10.
964
982
  *
965
983
  * @uiName Hide Viewing User
966
984
  */
967
985
  this.hideViewer = false;
968
986
  /**
969
- * Title displayed for users without names
970
- * @uiName Unknown User Text
987
+ * Text displayed for users without names in the leaderboard
988
+ *
989
+ * @uiName Anonymous User Name
971
990
  */
972
991
  this.anonymousUser = "Anonymous User";
992
+ /**
993
+ * Control the maximum amount of rows displayed on the leaderboard.
994
+ *
995
+ * @uiName Maximum Rows Number
996
+ */
997
+ this.maxRows = 10;
973
998
  this.ignored = true;
974
999
  h(this);
975
1000
  withShadowView(this);
@@ -984,6 +1009,8 @@ const Leaderboard = class {
984
1009
  rankheading: this.rankheading,
985
1010
  rankType: this.rankType,
986
1011
  leaderboardType: this.leaderboardType,
1012
+ maxRows: this.maxRows,
1013
+ programId: this.programId,
987
1014
  anonymousUser: this.anonymousUser,
988
1015
  interval: this.interval,
989
1016
  hideViewer: this.hideViewer,
@@ -1010,33 +1037,33 @@ function useLeaderboardDemo(props) {
1010
1037
  {
1011
1038
  firstName: "Viktor",
1012
1039
  lastInitial: "V",
1013
- value: 82,
1040
+ textValue: "82",
1014
1041
  rank: 1,
1015
1042
  rowNumber: 1,
1016
1043
  },
1017
1044
  {
1018
1045
  firstName: "MF",
1019
1046
  lastInitial: "D",
1020
- value: 73,
1047
+ textValue: "73",
1021
1048
  rank: 2,
1022
1049
  rowNumber: 2,
1023
1050
  },
1024
1051
  {
1025
1052
  firstName: "Freddie",
1026
1053
  lastInitial: "G",
1027
- value: 64,
1054
+ textValue: "64",
1028
1055
  rank: 3,
1029
1056
  rowNumber: 3,
1030
1057
  },
1031
1058
  {
1032
1059
  firstName: "Benny",
1033
1060
  lastInitial: "B",
1034
- value: 55,
1061
+ textValue: "55",
1035
1062
  rank: 4,
1036
1063
  rowNumber: 4,
1037
1064
  },
1038
1065
  {
1039
- value: 46,
1066
+ textValue: "46",
1040
1067
  rank: 5,
1041
1068
  rowNumber: 5,
1042
1069
  },
@@ -1089,11 +1116,11 @@ const NameFields = class {
1089
1116
  registerInstance(this, hostRef);
1090
1117
  this.ignored = true;
1091
1118
  /**
1092
- * @uiName First Name label
1119
+ * @uiName First name field label
1093
1120
  */
1094
1121
  this.firstNameLabel = "First Name";
1095
1122
  /**
1096
- * @uiName Last Name label
1123
+ * @uiName Last name field label
1097
1124
  */
1098
1125
  this.lastNameLabel = "Last Name";
1099
1126
  h(this);
@@ -1252,47 +1279,35 @@ const PortalChangePassword = class {
1252
1279
  registerInstance(this, hostRef);
1253
1280
  this.ignored = true;
1254
1281
  /**
1255
- * @uiName Change Password Modal Header
1282
+ * @uiName Change password modal header
1256
1283
  */
1257
1284
  this.modalChangePasswordHeader = "Change Password";
1258
1285
  /**
1259
- * Modal cancel button text
1260
- *
1261
- * @uiName Cancel Button Text
1286
+ * @uiName Modal cancel password change button text
1262
1287
  */
1263
1288
  this.cancelText = "Cancel";
1264
1289
  /**
1265
- * Modal change password button text
1266
- *
1267
- * @uiName Change Password Button Text
1290
+ * @uiName Modal change password button text
1268
1291
  */
1269
1292
  this.changePasswordButtonText = "Change Password";
1270
1293
  /**
1271
- * Password input field label
1272
- *
1273
- * @uiName Password Label
1294
+ * @uiName Password input field label
1274
1295
  */
1275
1296
  this.passwordFieldLabel = "New Password";
1276
1297
  /**
1277
- * Password confirmation input field label
1278
- *
1279
- * @uiName Confirm Password Label
1298
+ * @uiName Password confirmation input field label
1280
1299
  */
1281
1300
  this.confirmPasswordFieldLabel = "Confirm New Password";
1282
1301
  /**
1283
- * Successful password change message
1284
- *
1285
- * @uiName Successful Message
1302
+ * @uiName Successful password change message
1286
1303
  */
1287
1304
  this.successMessage = "Your password has been updated.";
1288
1305
  /**
1289
- * Portal change password section header
1290
- *
1291
- * @uiName Change Password Header
1306
+ * @uiName Portal change password section header
1292
1307
  */
1293
1308
  this.portalChangePasswordHeader = "Password";
1294
1309
  /**
1295
- * @uiName Change Password Button Text
1310
+ * @uiName Portal change password button text
1296
1311
  */
1297
1312
  this.portalChangePasswordButtonText = "Change your password...";
1298
1313
  h(this);
@@ -1420,55 +1435,39 @@ const PortalLogin = class {
1420
1435
  registerInstance(this, hostRef);
1421
1436
  this.ignored = true;
1422
1437
  /**
1423
- * Page navigated to after sign-in
1424
- *
1425
- * @uiName Next Page Path
1438
+ * @uiName Page navigated to after sign-in
1426
1439
  */
1427
1440
  this.nextPage = "/";
1428
1441
  /**
1429
- * Label for email field
1430
- *
1431
- * @uiName Email Label
1442
+ * @uiName Label for email field
1432
1443
  */
1433
1444
  this.emailLabel = "Email";
1434
1445
  /**
1435
- * Label for password field
1436
- *
1437
- * @uiName Password Label
1446
+ * @uiName Label for password field
1438
1447
  */
1439
1448
  this.passwordLabel = "Password";
1440
1449
  /**
1441
- * Label for submit button
1442
- *
1443
- * @uiName Submit Button Text
1450
+ * @uiName Label for submit button
1444
1451
  */
1445
1452
  this.submitLabel = "Sign In";
1446
1453
  /**
1447
- * Label for forgotten password button
1448
- *
1449
- * @uiName Forgot Password Text
1454
+ * @uiName Label for forgotten password button
1450
1455
  */
1451
1456
  this.forgotPasswordLabel = "Forgot Password?";
1452
1457
  /**
1453
- * Label for register button
1454
- *
1455
- * @uiName Register Button Text
1458
+ * @uiName Label for register navigation button
1456
1459
  */
1457
1460
  this.registerLabel = "Register";
1458
1461
  /**
1459
- * @uiName Heading Label
1462
+ * @uiName Heading label
1460
1463
  */
1461
1464
  this.pageLabel = "Sign in to your account";
1462
1465
  /**
1463
- * Register redirect path
1464
- *
1465
- * @uiName Register Path
1466
+ * @uiName Register button redirection path
1466
1467
  */
1467
1468
  this.registerPath = "/register";
1468
1469
  /**
1469
- * Forgot password redirect path
1470
- *
1471
- * @uiName Forgot Password Path
1470
+ * @uiName Forgot password button redirect path
1472
1471
  */
1473
1472
  this.forgotPasswordPath = "/forgotPassword";
1474
1473
  h(this);
@@ -5492,61 +5491,53 @@ const PortalRegister = class {
5492
5491
  registerInstance(this, hostRef);
5493
5492
  this.ignored = true;
5494
5493
  /**
5495
- * Page navigated to after registration
5496
- *
5497
- * @uiName Next Page
5494
+ * @uiName Page navigated to after registration
5498
5495
  */
5499
5496
  this.nextPage = "/";
5500
5497
  /**
5501
5498
  * The page that users are redirected to from the verification email.
5502
5499
  *
5503
- * @uiName Email Redirection Base Path
5500
+ * @uiName Email redirection base path
5504
5501
  */
5505
5502
  this.redirectPath = "/verifyEmail";
5506
5503
  /**
5507
- * @uiName Email Label
5504
+ * @uiName Label for email field
5508
5505
  */
5509
5506
  this.emailLabel = "Email";
5510
5507
  /**
5511
- * @uiName Password Label
5508
+ * @uiName Label for password field
5512
5509
  */
5513
5510
  this.passwordLabel = "Password";
5514
5511
  /**
5515
- * @uiName Submit Button Text
5512
+ * @uiName Label for submit button
5516
5513
  */
5517
5514
  this.submitLabel = "Register";
5518
5515
  /**
5519
- * @uiName Login Button Text
5516
+ * @uiName Label for login navigation button
5520
5517
  */
5521
5518
  this.loginLabel = "Sign in";
5522
5519
  /**
5523
- * @uiName Confirm Password Label
5520
+ * @uiName Label for confirm password field
5524
5521
  */
5525
5522
  this.confirmPasswordLabel = "Confirm Password";
5526
5523
  /**
5527
- * Show or hide the confirm password input
5528
- *
5529
- * @uiName Show Confirm Password Field
5524
+ * @uiName Show confirm password field
5530
5525
  */
5531
5526
  this.confirmPassword = false;
5532
5527
  /**
5533
- * @uiName Enable Password Validation
5528
+ * @uiName Use password field with live validation
5534
5529
  */
5535
5530
  this.enablePasswordValidation = true;
5536
5531
  /**
5537
- * Hide default input fields to use custom fields
5538
- *
5539
- * @uiName Hide Default Inputs
5532
+ * @uiName Hide default input fields to use custom fields
5540
5533
  */
5541
5534
  this.hideInputs = false;
5542
5535
  /**
5543
- * @uiName Heading Label
5536
+ * @uiName Heading label
5544
5537
  */
5545
5538
  this.pageLabel = "Register";
5546
5539
  /**
5547
- * Login button redirection path
5548
- *
5549
- * @uiName Login Path
5540
+ * @uiName Sign in button redirection path
5550
5541
  */
5551
5542
  this.loginPath = "/login";
5552
5543
  h(this);
@@ -5868,13 +5859,11 @@ const SqmReferralIframe = class {
5868
5859
  registerInstance(this, hostRef);
5869
5860
  this.ignored = true;
5870
5861
  /**
5871
- * Height of the iframe container
5872
- * @uiName Iframe Height
5862
+ * @uiName Height of the iframe container
5873
5863
  */
5874
5864
  this.iframeHeight = "100%";
5875
5865
  /**
5876
- * Width of the iframe container
5877
- * @uiName Iframe Width
5866
+ * @uiName Width of the iframe container
5878
5867
  */
5879
5868
  this.iframeWidth = "100%";
5880
5869
  h(this);
@@ -6717,11 +6706,9 @@ const SqmRewardExchangeList = class {
6717
6706
  registerInstance(this, hostRef);
6718
6707
  this.ignored = true;
6719
6708
  /**
6720
- * Error message shown when reward is not available
6721
- *
6722
- * @uiName Not Available Error
6709
+ * @uiName Exchange button text
6723
6710
  */
6724
- this.notAvailableError = "{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }";
6711
+ this.notAvailableError = "{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }";
6725
6712
  /**
6726
6713
  * @uiName Choose Reward Progress Title
6727
6714
  */
@@ -6751,7 +6738,7 @@ const SqmRewardExchangeList = class {
6751
6738
  */
6752
6739
  this.continueText = "Continue";
6753
6740
  /**
6754
- * Displayed on the reward selection page.
6741
+ * Displayed on the reward selection page.
6755
6742
  * @uiName Continue to Confirmation Button Text
6756
6743
  */
6757
6744
  this.continueToConfirmationText = "Continue to confirmation";
@@ -6760,20 +6747,17 @@ const SqmRewardExchangeList = class {
6760
6747
  */
6761
6748
  this.redeemText = "Redeem";
6762
6749
  /**
6763
- * Displayed as the header for the confirmation page.
6764
- *
6750
+ * Displayed as the header for the confirmation page.
6765
6751
  * @uiName Confirmation Title Text
6766
6752
  */
6767
6753
  this.redeemTitle = "Confirm and redeem";
6768
6754
  /**
6769
- * Displayed on the success screen when a user successfully exchanges for a reward.
6770
- *
6755
+ * Displayed on the success screen when a user successfully exchanges for a reward.
6771
6756
  * @uiName Redemption Success Message
6772
6757
  */
6773
6758
  this.redemptionSuccessText = "Redeemed {sourceValue} for {destinationValue}";
6774
6759
  /**
6775
- * Displayed on the reward exchange cards.
6776
- *
6760
+ * Displayed on the reward exchange cards.
6777
6761
  * @uiName Reward Exchange Amount Text
6778
6762
  */
6779
6763
  this.sourceAmountMessage = "{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}";
@@ -6792,19 +6776,17 @@ const SqmRewardExchangeList = class {
6792
6776
  */
6793
6777
  this.selectText = "Select amount to receive";
6794
6778
  /**
6795
- * Shown if an error occurs when loading the reward exchange.
6796
- *
6779
+ * Shown if an error occurs when loading the reward exchange.
6797
6780
  * @uiName Reward List Error Message
6798
6781
  */
6799
6782
  this.queryError = "Unable to load reward exchange list. Please try again";
6800
6783
  /**
6801
- * Shown if an error occurs during the reward exchange.
6802
- *
6784
+ * Shown if an error occurs during the reward exchange.
6803
6785
  * @uiName Redemption Error Message
6804
6786
  */
6805
6787
  this.redemptionError = "An error occured trying to redeem this reward. Please try again";
6806
6788
  /**
6807
- * @uiName Not Enough Error Message
6789
+ * @uiName Not Enough Available Error Message
6808
6790
  */
6809
6791
  this.notEnoughError = "Not enough {sourceUnit} to redeem for this reward";
6810
6792
  /**
@@ -6818,7 +6800,7 @@ const SqmRewardExchangeList = class {
6818
6800
  /**
6819
6801
  * Set the number of placeholder cards to be shown in loading state.
6820
6802
  *
6821
- * @uiName Loading Cards
6803
+ * @undocumented Loading Cards
6822
6804
  */
6823
6805
  this.skeletonCardNum = 8;
6824
6806
  /**
@@ -7103,11 +7085,11 @@ const ShareButton = class {
7103
7085
  */
7104
7086
  this.iconslot = "prefix";
7105
7087
  /**
7106
- * @uiName Hide Icon
7088
+ * @uiName Hide the icon
7107
7089
  */
7108
7090
  this.hideicon = false;
7109
7091
  /**
7110
- * @uiName Hide Text
7092
+ * @uiName Hide the text
7111
7093
  */
7112
7094
  this.hidetext = false;
7113
7095
  h(this);
@@ -7180,13 +7162,14 @@ function useShareCode(props) {
7180
7162
  return { ...props, onClick, open, shareString };
7181
7163
  }
7182
7164
 
7165
+ const DEFAULT_TOOLTIP_LIFESPAN = 1000;
7183
7166
  const ShareCode = class {
7184
7167
  constructor(hostRef) {
7185
7168
  registerInstance(this, hostRef);
7186
7169
  /**
7187
- * This is shown after someone has successfully copied the code to the clipboard.
7170
+ * This is shown after someone has successfully copied the cpde to the clipboard.
7188
7171
  *
7189
- * @uiName Tooltip Text
7172
+ * @uiName Tooltip text
7190
7173
  */
7191
7174
  this.tooltiptext = "Copied to Clipboard";
7192
7175
  /**
@@ -7194,7 +7177,7 @@ const ShareCode = class {
7194
7177
  *
7195
7178
  * @uiName Tooltip lifespan
7196
7179
  */
7197
- this.tooltiplifespan = 1000;
7180
+ this.tooltiplifespan = DEFAULT_TOOLTIP_LIFESPAN;
7198
7181
  h(this);
7199
7182
  }
7200
7183
  disconnectedCallback() { }
@@ -7223,21 +7206,22 @@ function useDemoShareCode(props) {
7223
7206
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
7224
7207
  }
7225
7208
 
7209
+ const DEFAULT_TOOLTIP_LIFESPAN$1 = 1000;
7226
7210
  const ShareLink = class {
7227
7211
  constructor(hostRef) {
7228
7212
  registerInstance(this, hostRef);
7229
7213
  /**
7230
7214
  * This is shown after someone has successfully copied the link to the clipboard.
7231
7215
  *
7232
- * @uiName Tooltip Text
7216
+ * @uiName Tooltip text
7233
7217
  */
7234
7218
  this.tooltiptext = "Copied to Clipboard";
7235
7219
  /**
7236
7220
  * The number of milliseconds that the tooltip will appear for
7237
7221
  *
7238
- * @uiName Tooltip Lifespan
7222
+ * @uiName Tooltip lifespan
7239
7223
  */
7240
- this.tooltiplifespan = 1000;
7224
+ this.tooltiplifespan = DEFAULT_TOOLTIP_LIFESPAN$1;
7241
7225
  h(this);
7242
7226
  }
7243
7227
  disconnectedCallback() { }
@@ -7271,7 +7255,7 @@ const StatContainer = class {
7271
7255
  registerInstance(this, hostRef);
7272
7256
  this.ignored = true;
7273
7257
  /**
7274
- * @uiName Space Between Stats
7258
+ * @uiName Space between stats
7275
7259
  * @uiType string
7276
7260
  * @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
7277
7261
  * @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
@@ -7360,94 +7344,76 @@ const TaskCard = class {
7360
7344
  this.ignored = true;
7361
7345
  /**
7362
7346
  * @uiName Reward Amount
7363
- * @uiGroup Reward
7364
7347
  */
7365
7348
  this.rewardAmount = "0";
7366
7349
  /**
7367
7350
  * @uiName Reward Unit
7368
- * @uiGroup Reward
7369
7351
  */
7370
7352
  this.rewardUnit = "Points";
7371
7353
  /**
7372
7354
  * @uiName Title Text
7373
- * @uiGroup Task
7374
7355
  */
7375
7356
  this.cardTitle = "Title Text";
7376
7357
  /**
7377
7358
  * @uiName Description Text
7378
- * @uiGroup Task
7379
7359
  */
7380
7360
  this.description = "";
7381
7361
  /**
7382
7362
  * @uiName Goal Repeatable
7383
- * @uiGroup Goal
7384
7363
  */
7385
7364
  this.repeatable = false;
7386
7365
  /**
7387
7366
  * The number of times a reward can be earned. Use zero for no limit (the default).
7388
7367
  *
7389
7368
  * @uiName Repeat Amount
7390
- * @uiGroup Reward
7391
7369
  */
7392
7370
  this.finite = 0;
7393
7371
  /**
7394
7372
  * @uiName Show Progress Bar
7395
- * @uiGroup Goal
7396
7373
  */
7397
7374
  this.showProgressBar = false;
7398
7375
  /**
7399
7376
  * Sets the goal for users progress to know when a task has been completed. If repeatable is checked, repeatable goals is an increment of this.
7400
7377
  *
7401
7378
  * @uiName Goal Completion Number
7402
- * @uiGroup Goal
7403
7379
  */
7404
7380
  this.goal = 1;
7405
7381
  /**
7406
7382
  * @uiName Progress Bar Steps
7407
- * @uiGroup Goal
7408
7383
  */
7409
7384
  this.steps = false;
7410
7385
  /**
7411
7386
  * @uiName Progress Bar Unit
7412
- * @uiGroup Goal
7413
7387
  */
7414
7388
  this.progressBarUnit = "";
7415
7389
  /**
7416
7390
  * @uiName Expiry Date Message
7417
- * @uiGroup Task
7418
7391
  */
7419
7392
  this.expiryMessage = "Ends {endDate}";
7420
7393
  /**
7421
7394
  * Shown to users before the start of the task duration.
7422
7395
  *
7423
7396
  * @uiName Start Date Message
7424
- * @uiGroup Task
7425
7397
  */
7426
7398
  this.startsOnMessage = "Starts {startDate}";
7427
7399
  /**
7428
7400
  * Shown to users after the end of the task duration.
7429
7401
  *
7430
7402
  * @uiName Ended Date Message
7431
- * @uiGroup Task
7432
7403
  */
7433
7404
  this.endedMessage = "Ended {endDate}";
7434
7405
  /**
7435
7406
  * Displays the amount of times that a user has completed a repeatable task.
7436
7407
  *
7437
7408
  * @uiName Completed Count Text
7438
- * @uiGroup Task
7439
7409
  */
7440
7410
  this.completedText = "Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}";
7441
7411
  /**
7442
7412
  * @uiName CTA Button Text
7443
- * @uiGroup CTA Button
7444
7413
  */
7445
7414
  this.buttonText = "Complete Action";
7446
7415
  /**
7447
- * CTA Button Link Opens in New Tab
7448
- * @uiName Open In New Tab
7449
- * @uiGroup CTA Button
7450
- * @default undefined
7416
+ * @uiName CTA Button Link Open in New Tab
7451
7417
  */
7452
7418
  this.openNewTab = false;
7453
7419
  h(this);
@@ -7650,12 +7616,11 @@ const UserName = class {
7650
7616
  registerInstance(this, hostRef);
7651
7617
  this._ignored = true;
7652
7618
  /**
7653
- * Fallback name for unknown users
7654
- * @uiName Fallback Name
7619
+ * @uiName Fallback name for nameless users
7655
7620
  */
7656
7621
  this.fallback = "Anonymous User";
7657
7622
  /**
7658
- * @uiName Loading Text
7623
+ * @uiName Loading text
7659
7624
  */
7660
7625
  this.loadingText = "...";
7661
7626
  h(this);