@saasquatch/mint-components 1.11.1-2 → 1.11.1-3

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 (32) hide show
  1. package/dist/cjs/{ShadowViewAddon-de6eb98c.js → ShadowViewAddon-1c01c324.js} +1 -1
  2. package/dist/cjs/{copy-text-view-cb8e3aac.js → copy-text-view-3cfef405.js} +15 -11
  3. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +2 -2
  4. package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
  6. package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +15 -11
  7. package/dist/esm/{ShadowViewAddon-ae2dfaaa.js → ShadowViewAddon-afc80fe0.js} +1 -1
  8. package/dist/esm/{copy-text-view-a5f832c5.js → copy-text-view-3cd1338e.js} +15 -11
  9. package/dist/esm/sqm-big-stat_38.entry.js +2 -2
  10. package/dist/esm/sqm-pagination_3.entry.js +1 -1
  11. package/dist/esm/sqm-stencilbook.entry.js +2 -2
  12. package/dist/esm-es5/{ShadowViewAddon-ae2dfaaa.js → ShadowViewAddon-afc80fe0.js} +1 -1
  13. package/dist/esm-es5/copy-text-view-3cd1338e.js +1 -0
  14. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  15. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  16. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  17. package/dist/mint-components/mint-components.esm.js +1 -1
  18. package/dist/mint-components/p-14bf2068.system.js +1 -0
  19. package/dist/mint-components/{p-732ab43a.system.entry.js → p-20560db6.system.entry.js} +1 -1
  20. package/dist/mint-components/{p-6d1efe65.entry.js → p-4256e919.entry.js} +1 -1
  21. package/dist/mint-components/{p-4a1478aa.entry.js → p-4ec6708d.entry.js} +1 -1
  22. package/dist/mint-components/p-5fc8d87c.system.js +1 -1
  23. package/dist/mint-components/{p-70547b71.entry.js → p-6061beaf.entry.js} +1 -1
  24. package/dist/mint-components/{p-7adbf73b.js → p-76764513.js} +1 -1
  25. package/dist/mint-components/{p-0825e9b8.js → p-7c1668ca.js} +15 -11
  26. package/dist/mint-components/{p-54c7c6ba.system.entry.js → p-99a08cbb.system.entry.js} +1 -1
  27. package/dist/mint-components/{p-545071ac.system.js → p-ecfb1582.system.js} +1 -1
  28. package/dist/mint-components/{p-2ae61add.system.entry.js → p-fbf07dcd.system.entry.js} +1 -1
  29. package/docs/docs.docx +0 -0
  30. package/package.json +1 -1
  31. package/dist/esm-es5/copy-text-view-a5f832c5.js +0 -1
  32. package/dist/mint-components/p-7210e973.system.js +0 -1
@@ -6,7 +6,7 @@ const global = require('./global-02e50f09.js');
6
6
  const index_module = require('./index.module-df530553.js');
7
7
  const utils = require('./utils-6847bc06.js');
8
8
  const JSS = require('./JSS-8503a151.js');
9
- const copyTextView = require('./copy-text-view-cb8e3aac.js');
9
+ const copyTextView = require('./copy-text-view-3cfef405.js');
10
10
  const cjs = require('./cjs-1066ec21.js');
11
11
  const mixins = require('./mixins-fe9d4112.js');
12
12
  const useChildElements = require('./useChildElements-e0d44916.js');
@@ -7,21 +7,25 @@ const JSS = require('./JSS-8503a151.js');
7
7
  const mixins = require('./mixins-fe9d4112.js');
8
8
 
9
9
  const GET_REFERRAL_CODES = index_module.dist.gql `
10
- query getCodes(limit:Int!, $offset: Int!) {
11
- referralCodeList(limit: $limit, offset: $offset) {
12
- data {
13
- code
14
- dateUsed
15
- dateCopied
16
- shareLinkCodes(limit: $limit, offset: $offset) {
10
+ query getCodes($limit: Int!, $offset: Int!) {
11
+ viewer {
12
+ ... on User {
13
+ referralCodeList(limit: $limit, offset: $offset) {
17
14
  data {
18
- linkCode
19
- shortUrl
15
+ code
16
+ dateUsed
17
+ dateCopied
18
+ shareLinkCodes(limit: $limit, offset: $offset) {
19
+ data {
20
+ linkCode
21
+ shortUrl
22
+ }
23
+ }
20
24
  }
25
+ count
26
+ totalCount
21
27
  }
22
28
  }
23
- count
24
- totalCount
25
29
  }
26
30
  }
27
31
  `;
@@ -9,7 +9,7 @@ const index_module = require('./index.module-df530553.js');
9
9
  const jsonpointer = require('./jsonpointer-11327262.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
- const copyTextView = require('./copy-text-view-cb8e3aac.js');
12
+ const copyTextView = require('./copy-text-view-3cfef405.js');
13
13
  const cjs = require('./cjs-1066ec21.js');
14
14
  require('./mixins-fe9d4112.js');
15
15
  const reRender = require('./re-render-1976e05e.js');
@@ -20,7 +20,7 @@ const index$1 = require('./index-8c6255f5.js');
20
20
  const useRegistrationFormState = require('./useRegistrationFormState-876ed65d.js');
21
21
  const utilities = require('./utilities-cec9dd36.js');
22
22
  const AsYouType = require('./AsYouType-6788393a.js');
23
- const ShadowViewAddon = require('./ShadowViewAddon-de6eb98c.js');
23
+ const ShadowViewAddon = require('./ShadowViewAddon-1c01c324.js');
24
24
  require('./sqm-portal-container-view-990a85a3.js');
25
25
 
26
26
  const BigStat = class {
@@ -7,7 +7,7 @@ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
7
  const index_module = require('./index.module-df530553.js');
8
8
  const utils = require('./utils-6847bc06.js');
9
9
  const JSS = require('./JSS-8503a151.js');
10
- const copyTextView = require('./copy-text-view-cb8e3aac.js');
10
+ const copyTextView = require('./copy-text-view-3cfef405.js');
11
11
  const cjs = require('./cjs-1066ec21.js');
12
12
  require('./mixins-fe9d4112.js');
13
13
 
@@ -8,7 +8,7 @@ require('./global-02e50f09.js');
8
8
  const index_module = require('./index.module-df530553.js');
9
9
  require('./utils-6847bc06.js');
10
10
  const JSS = require('./JSS-8503a151.js');
11
- const copyTextView = require('./copy-text-view-cb8e3aac.js');
11
+ const copyTextView = require('./copy-text-view-3cfef405.js');
12
12
  require('./cjs-1066ec21.js');
13
13
  require('./mixins-fe9d4112.js');
14
14
  const GenericTableView = require('./GenericTableView-a3f48e15.js');
@@ -29,7 +29,7 @@ const sqmPortalProfileView = require('./sqm-portal-profile-view-fde54e35.js');
29
29
  require('./utilities-cec9dd36.js');
30
30
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-34771d2c.js');
31
31
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-c8f91506.js');
32
- const ShadowViewAddon = require('./ShadowViewAddon-de6eb98c.js');
32
+ const ShadowViewAddon = require('./ShadowViewAddon-1c01c324.js');
33
33
  const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
34
34
  const sqmInvoiceTableView = require('./sqm-invoice-table-view-e3b03a00.js');
35
35
 
@@ -2,21 +2,25 @@ import { usePaginatedQuery, useParentState, useUserIdentity, } from "@saasquatch
2
2
  import { gql } from "graphql-request";
3
3
  import { useEffect } from "@saasquatch/universal-hooks";
4
4
  const GET_REFERRAL_CODES = gql `
5
- query getCodes(limit:Int!, $offset: Int!) {
6
- referralCodeList(limit: $limit, offset: $offset) {
7
- data {
8
- code
9
- dateUsed
10
- dateCopied
11
- shareLinkCodes(limit: $limit, offset: $offset) {
5
+ query getCodes($limit: Int!, $offset: Int!) {
6
+ viewer {
7
+ ... on User {
8
+ referralCodeList(limit: $limit, offset: $offset) {
12
9
  data {
13
- linkCode
14
- shortUrl
10
+ code
11
+ dateUsed
12
+ dateCopied
13
+ shareLinkCodes(limit: $limit, offset: $offset) {
14
+ data {
15
+ linkCode
16
+ shortUrl
17
+ }
18
+ }
15
19
  }
20
+ count
21
+ totalCount
16
22
  }
17
23
  }
18
- count
19
- totalCount
20
24
  }
21
25
  }
22
26
  `;
@@ -4,7 +4,7 @@ import { i as intl } from './global-b89b6edc.js';
4
4
  import { d as dist, H, Q, I as In, y as yn, $ as $e, B, a as getEnvironmentSDK, L } from './index.module-f122af7b.js';
5
5
  import { l as luxonLocale } from './utils-334c1e34.js';
6
6
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
7
- import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_USED, C as CopyTextView } from './copy-text-view-a5f832c5.js';
7
+ import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_USED, C as CopyTextView } from './copy-text-view-3cd1338e.js';
8
8
  import { c as cjs } from './cjs-bdfb4486.js';
9
9
  import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
10
10
  import { u as useChildElements } from './useChildElements-37daf533.js';
@@ -5,21 +5,25 @@ import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
  import { H as HostBlock } from './mixins-f60a614c.js';
6
6
 
7
7
  const GET_REFERRAL_CODES = dist.gql `
8
- query getCodes(limit:Int!, $offset: Int!) {
9
- referralCodeList(limit: $limit, offset: $offset) {
10
- data {
11
- code
12
- dateUsed
13
- dateCopied
14
- shareLinkCodes(limit: $limit, offset: $offset) {
8
+ query getCodes($limit: Int!, $offset: Int!) {
9
+ viewer {
10
+ ... on User {
11
+ referralCodeList(limit: $limit, offset: $offset) {
15
12
  data {
16
- linkCode
17
- shortUrl
13
+ code
14
+ dateUsed
15
+ dateCopied
16
+ shareLinkCodes(limit: $limit, offset: $offset) {
17
+ data {
18
+ linkCode
19
+ shortUrl
20
+ }
21
+ }
18
22
  }
23
+ count
24
+ totalCount
19
25
  }
20
26
  }
21
- count
22
- totalCount
23
27
  }
24
28
  }
25
29
  `;
@@ -5,7 +5,7 @@ import { i as isDemo, _, d as dist, Q, H, $ as $e, y as yn, B, L, g as gn, e as
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
- import { C as CopyTextView } from './copy-text-view-a5f832c5.js';
8
+ import { C as CopyTextView } from './copy-text-view-3cd1338e.js';
9
9
  import { c as cjs } from './cjs-bdfb4486.js';
10
10
  import './mixins-f60a614c.js';
11
11
  import { a as useRequestRerender } from './re-render-c64289f3.js';
@@ -16,7 +16,7 @@ import { p as pathToRegexp } from './index-ffa26b43.js';
16
16
  import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-53c71782.js';
17
17
  import { i as isEmpty } from './utilities-18d10876.js';
18
18
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
19
- import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, C as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-ae2dfaaa.js';
19
+ import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, C as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-afc80fe0.js';
20
20
  import './sqm-portal-container-view-6c582684.js';
21
21
 
22
22
  const BigStat = class {
@@ -3,7 +3,7 @@ import { n as h$1, k as useState } from './stencil-hooks.module-ac12ca1c.js';
3
3
  import { I as In, i as isDemo, d as dist, H, Q, y as yn, $ as $e, B } from './index.module-f122af7b.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
6
- import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_USED, C as CopyTextView, u as useReferralCodes } from './copy-text-view-a5f832c5.js';
6
+ import { R as REFERRAL_CODES_PAGINATION_CONTEXT, a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_USED, C as CopyTextView, u as useReferralCodes } from './copy-text-view-3cd1338e.js';
7
7
  import { c as cjs } from './cjs-bdfb4486.js';
8
8
  import './mixins-f60a614c.js';
9
9
 
@@ -4,7 +4,7 @@ import './global-b89b6edc.js';
4
4
  import { e as $n, S as Sn, b as setUserIdentity, d as dist, X as Xe, o as setProgramId } from './index.module-f122af7b.js';
5
5
  import './utils-334c1e34.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
- import { C as CopyTextView } from './copy-text-view-a5f832c5.js';
7
+ import { C as CopyTextView } from './copy-text-view-3cd1338e.js';
8
8
  import './cjs-bdfb4486.js';
9
9
  import './mixins-f60a614c.js';
10
10
  import { G as GenericTableView } from './GenericTableView-bf154727.js';
@@ -25,7 +25,7 @@ import { P as PortalProfileView } from './sqm-portal-profile-view-d72dd5ac.js';
25
25
  import './utilities-18d10876.js';
26
26
  import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-f1454d43.js';
27
27
  import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-3739f523.js';
28
- import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-ae2dfaaa.js';
28
+ import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, C as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as autoColorScaleCss, Q as ShadowViewAddon } from './ShadowViewAddon-afc80fe0.js';
29
29
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.js';
30
30
  import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-09cc28d6.js';
31
31