@saasquatch/mint-components 2.0.0-3 → 2.0.0-30

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 (59) hide show
  1. package/dist/cjs/{ShadowViewAddon-23b04c91.js → ShadowViewAddon-016bebfd.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +44 -43
  5. package/dist/cjs/sqm-big-stat_46.cjs.entry.js +17 -45
  6. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  7. package/dist/cjs/{sqm-portal-container-view-07e4343f.js → sqm-portal-container-view-ca86b9e5.js} +1 -1
  8. package/dist/cjs/sqm-stencilbook.cjs.entry.js +6 -5
  9. package/dist/collection/components/sqm-hero/sqm-hero.js +1 -9
  10. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  11. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
  12. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +1 -34
  13. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  14. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +4 -3
  15. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +48 -2
  16. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +46 -45
  17. package/dist/esm/{ShadowViewAddon-c0bd62f7.js → ShadowViewAddon-4cde160a.js} +1 -1
  18. package/dist/esm/loader.js +1 -1
  19. package/dist/esm/mint-components.js +1 -1
  20. package/dist/esm/sqm-banking-info-form_10.entry.js +44 -43
  21. package/dist/esm/sqm-big-stat_46.entry.js +17 -45
  22. package/dist/esm/sqm-empty_4.entry.js +1 -1
  23. package/dist/esm/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-16309b22.js} +1 -1
  24. package/dist/esm/sqm-stencilbook.entry.js +6 -5
  25. package/dist/esm-es5/{ShadowViewAddon-c0bd62f7.js → ShadowViewAddon-4cde160a.js} +1 -1
  26. package/dist/esm-es5/loader.js +1 -1
  27. package/dist/esm-es5/mint-components.js +1 -1
  28. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  29. package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
  30. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  31. package/dist/esm-es5/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-16309b22.js} +1 -1
  32. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  33. package/dist/mint-components/mint-components.esm.js +1 -1
  34. package/dist/mint-components/p-1ac5cbd6.system.entry.js +1 -0
  35. package/dist/mint-components/{p-9580aac3.js → p-1fa9ef02.js} +1 -1
  36. package/dist/mint-components/{p-b8d3fb57.entry.js → p-38263521.entry.js} +12 -12
  37. package/dist/mint-components/{p-76d4ef41.entry.js → p-3bf5cd51.entry.js} +1 -1
  38. package/dist/mint-components/{p-a38dd63f.system.entry.js → p-3ea29bac.system.entry.js} +1 -1
  39. package/dist/mint-components/{p-7d735c9c.js → p-4ffc5bce.js} +1 -1
  40. package/dist/mint-components/p-69d8b4f2.system.entry.js +1 -0
  41. package/dist/mint-components/p-92bed2ad.system.js +1 -0
  42. package/dist/mint-components/p-967a9040.system.js +1 -1
  43. package/dist/mint-components/{p-35081b0c.system.entry.js → p-9fed62f8.system.entry.js} +1 -1
  44. package/dist/mint-components/{p-bb452830.system.js → p-c62b277d.system.js} +1 -1
  45. package/dist/mint-components/p-d460e0bd.entry.js +99 -0
  46. package/dist/mint-components/{p-f860e7f1.entry.js → p-e110688b.entry.js} +2 -2
  47. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
  48. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  49. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +8 -0
  50. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +1 -1
  51. package/dist/types/components.d.ts +18 -2
  52. package/docs/docs.docx +0 -0
  53. package/docs/raisins.json +1 -1
  54. package/grapesjs/grapesjs.js +1 -1
  55. package/package.json +1 -1
  56. package/dist/mint-components/p-13e66b37.system.entry.js +0 -1
  57. package/dist/mint-components/p-a0730259.entry.js +0 -99
  58. package/dist/mint-components/p-a6f4fb03.system.js +0 -1
  59. package/dist/mint-components/p-c5fea579.system.entry.js +0 -1
@@ -22,8 +22,8 @@ import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
22
22
  import { u as usePortalLogin } from './usePortalLogin-95814943.js';
23
23
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
24
24
  import { i as isEmpty } from './utilities-72c07b09.js';
25
- import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-c0bd62f7.js';
26
- import './sqm-portal-container-view-176e92e3.js';
25
+ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-4cde160a.js';
26
+ import './sqm-portal-container-view-16309b22.js';
27
27
  import { p as parseStates } from './parseStates-ed75e224.js';
28
28
  import { u as usePayoutStatus } from './usePayoutStatus-42cc6a2c.js';
29
29
 
@@ -1564,13 +1564,6 @@ const Hero = class {
1564
1564
  * @uiName Minimum height (in px)
1565
1565
  */
1566
1566
  this.minHeight = 200;
1567
- /**
1568
- * Content background color or image (for use in the left column)
1569
- *
1570
- * @uiName Content background
1571
- * @uiWidget Background
1572
- */
1573
- this.background = "#f9fafb";
1574
1567
  /**
1575
1568
  * @uiName Padding size
1576
1569
  * @uiEnum ["none", "small", "medium","large"]
@@ -3187,6 +3180,14 @@ const PayoutStatusAlert = class {
3187
3180
  * @uiName Error description
3188
3181
  */
3189
3182
  this.errorDescription = "There was an error with determining your payout status.";
3183
+ /**
3184
+ * @undocumented
3185
+ * @componentState { "title": "Payout Info Required", "props": { "states": { "status": "INFORMATION_REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
3186
+ * @componentState { "title": "Verification Required", "props": { "states": { "status": "VERIFICATION:REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
3187
+ * @componentState { "title": "Identity Verification", "props": { "states": { "status": "VERIFICATION:REVIEW" } }, "dependencies": ["sqm-payout-status-alert"] }
3188
+ * @componentState { "title": "Account Hold", "props": { "states": { "status": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] }
3189
+ */
3190
+ this.stateController = "{}";
3190
3191
  h(this);
3191
3192
  }
3192
3193
  disconnectedCallback() { }
@@ -3201,12 +3202,16 @@ const PayoutStatusAlert = class {
3201
3202
  }
3202
3203
  };
3203
3204
  function useDemoPayoutStatusAlert(props) {
3205
+ const states = parseStates(props.stateController);
3206
+ const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
3207
+ ? { ...prev, ...states[key] }
3208
+ : { ...prev, [`${key}_stateController`]: states[key] }, {});
3204
3209
  return cjs({
3205
3210
  states: {
3206
3211
  error: false,
3207
3212
  status: "INFORMATION_REQUIRED",
3208
3213
  loading: false,
3209
- showVerifyIdentity: false,
3214
+ veriffLoading: false,
3210
3215
  },
3211
3216
  data: { type: "SquatchAdmin" },
3212
3217
  text: props.getTextProps(),
@@ -3214,7 +3219,7 @@ function useDemoPayoutStatusAlert(props) {
3214
3219
  onTermsClick: () => { },
3215
3220
  onClick: () => console.log("show"),
3216
3221
  },
3217
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
3222
+ }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
3218
3223
  }
3219
3224
 
3220
3225
  const GET_USER$1 = dist.gql `
@@ -5755,40 +5760,7 @@ function useRewardExchangeListDemo(props) {
5755
5760
  const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-reward-exchange-list"
5756
5761
  ? { ...prev, ...states[key] }
5757
5762
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
5758
- const finalProps = cjs({ ...demoRewardExchange, content: { text: props } },
5759
- // {
5760
- // states: {
5761
- // content: {
5762
- // text: props,
5763
- // },
5764
- // redeemStage: "chooseReward",
5765
- // amount: 0,
5766
- // selectedStep: undefined,
5767
- // selectedItem: undefined,
5768
- // open: false,
5769
- // exchangeError: false,
5770
- // queryError: false,
5771
- // loading: false,
5772
- // noExchangeOptions: false,
5773
- // // empty: EmptySlot(),
5774
- // },
5775
- // data: {
5776
- // // shareCode: "SHARECODE123",
5777
- // exchangeList: demoRewardExchange.data.exchangeList,
5778
- // },
5779
- // callbacks: {
5780
- // exchangeReward: () => {},
5781
- // setExchangeState: (_: ExchangeState) => {},
5782
- // setStage: (_: Stages) => {},
5783
- // resetState: () => {},
5784
- // copyFuelTankCode: () => {},
5785
- // },
5786
- // refs: {
5787
- // canvasRef: {},
5788
- // },
5789
- // },
5790
- props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
5791
- console.log({ finalProps });
5763
+ const finalProps = cjs({ ...demoRewardExchange, content: { text: props } }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
5792
5764
  return finalProps;
5793
5765
  }
5794
5766
 
@@ -4,7 +4,7 @@ import { n as h$1 } from './dom-context-hooks.module-63370afd.js';
4
4
  import './index.module-c9811a48.js';
5
5
  import { g as getProps } from './utils-84b4b092.js';
6
6
  import './JSS-67b5cff8.js';
7
- import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-176e92e3.js';
7
+ import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-16309b22.js';
8
8
 
9
9
  function EmptyStateView(props) {
10
10
  const { emptyStateHeader, emptyStateImage, emptyStateText, supportText, missingFeature = "", } = props;
@@ -36,7 +36,7 @@ function PortalContainerView(props, children) {
36
36
  maxWidth: props.maxWidth,
37
37
  margin: props.center && "auto",
38
38
  justifyContent: props.justifyContent,
39
- backgroundColor: props.backgroundColor || "var(--sqm-portal-background)",
39
+ backgroundColor: props.backgroundColor || "inherit",
40
40
  },
41
41
  };
42
42
  const vanillaStyle = `
@@ -30,8 +30,8 @@ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-a
30
30
  import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-33805220.js';
31
31
  import './ErrorView-bbf0a042.js';
32
32
  import { Q as QrCodeView } from './sqm-qr-code-view-ea505213.js';
33
- import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, R as ReferralIframeView, 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 useShareButton, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-c0bd62f7.js';
34
- import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-176e92e3.js';
33
+ import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, R as ReferralIframeView, 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 useShareButton, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-4cde160a.js';
34
+ import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-16309b22.js';
35
35
  import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView } from './IndirectTaxDetailsView-0a57b622.js';
36
36
  import { t as taxTypeToName, L as LoadingView } from './utils-6122971b.js';
37
37
  import { L as LeadInputFieldView } from './sqm-lead-input-field-view-f3775c28.js';
@@ -16718,9 +16718,10 @@ const TaxAndCashDashboardW9ThresholdReached = () => {
16718
16718
  documentTypeString: taxTypeToName("W9"),
16719
16719
  dateSubmitted: "Jan 18th, 2025",
16720
16720
  noFormNeeded: false,
16721
- notRegistered: true,
16721
+ notRegistered: false,
16722
16722
  showNewFormDialog: false,
16723
16723
  hasHold: false,
16724
+ enforceUsTaxComplianceOption: "CASH_ONLY_DEFER_W9",
16724
16725
  },
16725
16726
  } }));
16726
16727
  };
@@ -16746,7 +16747,7 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
16746
16747
  return (h("sqm-tax-and-cash-dashboard", { demoData: {
16747
16748
  ...dashboardProps,
16748
16749
  states: {
16749
- payoutStatus: "DONE",
16750
+ payoutStatus: "HOLD",
16750
16751
  veriffLoading: false,
16751
16752
  canEditPayoutInfo: true,
16752
16753
  disabled: true,
@@ -16758,7 +16759,7 @@ const TaxAndCashDashboardPayoutsOnHold = () => {
16758
16759
  indirectTaxNumber: "123456",
16759
16760
  country: "Slovania",
16760
16761
  showNewFormDialog: false,
16761
- hasHold: true,
16762
+ hasHold: false,
16762
16763
  },
16763
16764
  } }));
16764
16765
  };