@saasquatch/mint-components 1.14.3-1 → 1.14.3-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 (55) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +144 -2
  4. package/dist/cjs/{sqm-invoice-table-view-16ac73d0.js → sqm-invoice-table-view-0f7fa309.js} +17 -0
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +15 -2
  6. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
  7. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +16 -0
  8. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +35 -1
  9. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +79 -1
  10. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +6 -0
  11. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +38 -0
  12. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +79 -1
  13. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +4 -0
  14. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +174 -0
  15. package/dist/esm/loader.js +1 -1
  16. package/dist/esm/mint-components.js +1 -1
  17. package/dist/esm/sqm-banking-info-form_17.entry.js +144 -2
  18. package/dist/esm/{sqm-invoice-table-view-2c726568.js → sqm-invoice-table-view-7f376a75.js} +17 -0
  19. package/dist/esm/sqm-stencilbook.entry.js +15 -2
  20. package/dist/esm-es5/loader.js +1 -1
  21. package/dist/esm-es5/mint-components.js +1 -1
  22. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  23. package/dist/esm-es5/sqm-invoice-table-view-7f376a75.js +1 -0
  24. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  25. package/dist/mint-components/mint-components.esm.js +1 -1
  26. package/dist/mint-components/p-12fd5498.system.entry.js +1 -0
  27. package/dist/mint-components/p-37996351.system.js +1 -1
  28. package/dist/mint-components/{p-ef6381d4.entry.js → p-805446b1.entry.js} +2 -2
  29. package/dist/mint-components/p-94bb2626.entry.js +205 -0
  30. package/dist/mint-components/p-9a1843cb.system.js +1 -0
  31. package/dist/mint-components/{p-1f089c3f.system.entry.js → p-c82859b2.system.entry.js} +1 -1
  32. package/dist/mint-components/p-ccd60c4b.js +1 -0
  33. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  34. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  35. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  36. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
  37. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +12 -0
  38. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +6 -0
  39. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
  40. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +3 -0
  41. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +30 -0
  42. package/dist/types/components.d.ts +108 -0
  43. package/dist/types/global/android.d.ts +7 -0
  44. package/dist/types/global/demo.d.ts +2 -0
  45. package/dist/types/stories/features.d.ts +4 -0
  46. package/dist/types/stories/templates.d.ts +4 -0
  47. package/docs/docs.docx +0 -0
  48. package/docs/raisins.json +1 -1
  49. package/grapesjs/grapesjs.js +1 -1
  50. package/package.json +1 -1
  51. package/dist/esm-es5/sqm-invoice-table-view-2c726568.js +0 -1
  52. package/dist/mint-components/p-070e5813.entry.js +0 -205
  53. package/dist/mint-components/p-3f067fd5.js +0 -1
  54. package/dist/mint-components/p-4df3526e.system.entry.js +0 -1
  55. package/dist/mint-components/p-a7746488.system.js +0 -1
@@ -0,0 +1 @@
1
+ import{h as e}from"./p-f708da7b.js";import{i as a}from"./p-65069b66.js";import{c as t}from"./p-cef45012.js";import{E as o}from"./p-9acb5038.js";const s=[{regionCode:"ALBERTA",taxType:"GST",displayName:"Alberta"},{regionCode:"BRITISHCOLUMBIA",taxType:"HST",displayName:"British Columbia"},{regionCode:"MANITOBA",taxType:"HST",displayName:"Manitoba"},{regionCode:"NEWBRUNSWICK",taxType:"HST",displayName:"New Brunswick"},{regionCode:"NEWFOUNDLANDLABRADOR",taxType:"HST",displayName:"Newfoundland"},{regionCode:"NORTHWESTTERRITORIES",taxType:"GST",displayName:"North West Territories"},{regionCode:"NOVASCOTIA",taxType:"HST",displayName:"Nova Scotia"},{regionCode:"NUNAVUT",taxType:"HST",displayName:"Nunavut"},{regionCode:"ONTARIO",taxType:"HST",displayName:"Ontario"},{regionCode:"PRINCEEDWARDISLAND",taxType:"HST",displayName:"Prince Edward Island"},{regionCode:"QUEBEC",taxType:"GST",displayName:"Quebec"},{regionCode:"SASKATCHEWAN",taxType:"HST",displayName:"Saskatchewan"},{regionCode:"YUKON",taxType:"GST",displayName:"Yukon"}],r=[{regionCode:"SPAINPROPER",taxType:"VAT",displayName:"Spain Proper"},{regionCode:"CANARYISLANDS",taxType:"VAT",displayName:"Canary Islands"}],n={CA:{labelEnum:"PROVINCE",regions:[{label:"Alberta",value:"ALBERTA"},{label:"British Columbia",value:"BRITISHCOLUMBIA"},{label:"Manitoba",value:"MANITOBA"},{label:"New Brunswick",value:"NEWBRUNSWICK"},{label:"Newfoundland & Labrador",value:"NEWFOUNDLANDANDLABRADOR"},{label:"Northwest Territories",value:"NORTHWESTTERRITORIES"},{label:"Nova Scotia",value:"NOVASCOTIA"},{label:"Nunavut",value:"NUNAVUT"},{label:"Ontario",value:"ONTARIO"},{label:"Prince Edward Island",value:"PRINCEEDWARDISLAND"},{label:"Quebec",value:"QUEBEC"},{label:"Saskatchewan",value:"SASKATCHEWAN"},{label:"Yukon",value:"YUKON"}]},ES:{labelEnum:"REGION",regions:[{label:"Canary Islands",value:"CANARYISLANDS"},{label:"Spain Proper",value:"SPAINPROPER"}]},AU:{labelEnum:"STATE",regions:[{label:"Australian Capital Territory",value:"CAPITALTERRITORY"},{label:"New South Wales",value:"NEWSOUTHWALES"},{label:"Northern Territory",value:"NORTHERNTERRITORY"},{label:"Queensland",value:"QUEENSLAND"},{label:"South Australia",value:"SOUTHAUSTRALIA"},{label:"Tasmania",value:"TASMANIA"},{label:"Victoria",value:"VICTORIA"},{label:"Western Australia",value:"WESTERNAUSTRALIA"}]},US:{labelEnum:"STATE",regions:[{label:"Alabama",value:"ALABAMA"},{label:"Alaska",value:"ALASKA"},{label:"Arizona",value:"ARIZONA"},{label:"Arkansas",value:"ARKANSAS"},{label:"California",value:"CALIFORNIA"},{label:"Colorado",value:"COLORADO"},{label:"Connecticut",value:"CONNECTICUT"},{label:"Delaware",value:"DELAWARE"},{label:"District of Columbia",value:"DISTRICTOFCOLUMBIA"},{label:"Florida",value:"FLORIDA"},{label:"Georgia",value:"GEORGIA"},{label:"Hawaii",value:"HAWAII"},{label:"Idaho",value:"IDAHO"},{label:"Illinois",value:"ILLINOIS"},{label:"Indiana",value:"INDIANA"},{label:"Iowa",value:"IOWA"},{label:"Kansas",value:"KANSAS"},{label:"Kentucky",value:"KENTUCKY"},{label:"Louisiana",value:"LOUISIANA"},{label:"Maine",value:"MAINE"},{label:"Maryland",value:"MARYLAND"},{label:"Massachusetts",value:"MASSACHUSETTS"},{label:"Michigan",value:"MICHIGAN"},{label:"Minnesota",value:"MINNESOTA"},{label:"Mississippi",value:"MISSISSIPPI"},{label:"Missouri",value:"MISSOURI"},{label:"Montana",value:"MONTANA"},{label:"Nebraska",value:"NEBRASKA"},{label:"Nevada",value:"NEVADA"},{label:"New Hampshire",value:"NEWHAMPSHIRE"},{label:"New Jersey",value:"NEWJERSEY"},{label:"New Mexico",value:"NEWMEXICO"},{label:"New York",value:"NEWYORK"},{label:"North Carolina",value:"NORTHCAROLINA"},{label:"North Dakota",value:"NORTHDAKOTA"},{label:"Ohio",value:"OHIO"},{label:"Oklahoma",value:"OKLAHOMA"},{label:"Oregon",value:"OREGON"},{label:"Pennsylvania",value:"PENNSYLVANIA"},{label:"Rhode Island",value:"RHODEISLAND"},{label:"South Carolina",value:"SOUTHCAROLINA"},{label:"South Dakota",value:"SOUTHDAKOTA"},{label:"Tennessee",value:"TENNESSEE"},{label:"Texas",value:"TEXAS"},{label:"Utah",value:"UTAH"},{label:"Vermont",value:"VERMONT"},{label:"Virgin Islands",value:"VIRGINISLANDS"},{label:"Virginia",value:"VIRGINIA"},{label:"Washington",value:"WASHINGTON"},{label:"West Virginia",value:"WESTVIRGINIA"},{label:"Wisconsin",value:"WISCONSIN"},{label:"Wyoming",value:"WYOMING"},{label:"Americas Forces",value:"AAMILITARY"},{label:"Europe, Middle East, Canada, Africa and Canada Forces",value:"AEMILITARY"},{label:"Pacific Forces",value:"APMILITARY"},{label:"Other",value:"OTHER"}]}},i=t({Container:{display:"flex",flexDirection:"column",gap:"24px"},HeaderContainer:{display:"flex",flexDirection:"column",gap:"10px"},TitleSkeleton:{width:"45%",height:"40px !important"},StepSkeleton:{width:"15%"},HeaderSkeleton:{width:"25%",height:"30px !important"},InputSkeleton:{width:"75%"},ButtonSkeleton:{width:"80px",height:"30px !important"}}),d=i.toString(),l=()=>e("div",{class:i.classes.Container},e("style",{type:"text/css"},d),e("sl-skeleton",{class:i.classes.TitleSkeleton}),e("div",{class:i.classes.HeaderContainer},e("sl-skeleton",{class:i.classes.StepSkeleton}),e("sl-skeleton",{class:i.classes.HeaderSkeleton})),e("sl-skeleton",{class:i.classes.InputSkeleton}),e("sl-skeleton",{class:i.classes.InputSkeleton}),e("sl-skeleton",{class:i.classes.InputSkeleton}),e("sl-skeleton",{class:i.classes.InputSkeleton}),e("sl-skeleton",{class:i.classes.InputSkeleton}),e("sl-skeleton",{class:i.classes.StepSkeleton}),e("sl-skeleton",{class:i.classes.ButtonSkeleton}));function u(e){return!!["W9","W8BENE","W8BEN"].includes(e)}const m=e=>!Object.keys(e).find((a=>null==e[a])),c=e=>{switch(e){case"W9":return"W-9";case"W8BEN":case"W8BENE":return"W-8";default:return""}};function T(e,a){return a.trim().search(e)>-1}const p=(e,t)=>a.formatMessage({id:e,defaultMessage:t},{fieldName:e});function b({countryCode:e,locale:a}){return{countryCode:e,displayName:new Intl.DisplayNames([a],{type:"region"}).of(e)}}const h={states:{step:"1",hideSteps:!1,hideState:!1,loading:!1,disabled:!1,isPartner:!1,isUser:!1,loadingError:!1,formState:{firstName:"Bob",lastName:"Testerson",email:"bobtesterson@example.com",phoneNumberCountryCode:"US",phoneNumber:"555 555 5555",countryCode:"US",currency:"CAD",address:"2/1337 Johnson Street",city:"Vancouver",state:"BC",postalCode:"555 555",errors:{}}},data:{regionLabelEnum:"STATE",regions:[],phoneCountries:[{countryCode:"CA",displayName:"Canada"}],countries:[{countryCode:"CA",displayName:"Canada"},{countryCode:"ES",displayName:"Spain"},{countryCode:"UK",displayName:"United Kingdom"},{countryCode:"US",displayName:"United States"},{countryCode:"AR",displayName:"Argentina"},{countryCode:"AU",displayName:"Australia"},{countryCode:"ZW",displayName:"Zimbabwe"}],currencies:[{currencyCode:"CAD",displayName:"CAD"},{currencyCode:"GBP",displayName:"GBP"},{currencyCode:"USD",displayName:"USD"}],allCountries:[{countryCode:"CA",displayName:"Canada"},{countryCode:"ES",displayName:"Spain"},{countryCode:"UK",displayName:"United Kingdom"},{countryCode:"US",displayName:"United States"}],allCurrencies:[{currencyCode:"CAD",displayName:"CAD"},{currencyCode:"GBP",displayName:"GBP"},{currencyCode:"USD",displayName:"USD"}]},refs:{formRef:{current:null},currencyRef:{current:null},phoneCountryRef:{current:null}}},S={step:"2",hideSteps:!1,disabled:!1,loading:!1,isPartner:!1,loadingError:!1,formState:{checked:void 0,errors:{}}},N={states:{showVerification:!1,step:"4",hideSteps:!1,disabled:!1,loading:!1,hasPayPal:!1,isPartner:!1,hideBackButton:!1,saveDisabled:!1,thresholds:[],loadingError:!1,email:"test@example.com",formState:{paymentMethodChecked:"toBankAccount"},showModal:!1},callbacks:{onVerificationHide:()=>{},onVerification:()=>{},onSubmit:async()=>console.log("Submit"),setPaymentMethodChecked:()=>{},setPaymentScheduleChecked:()=>{},onBack:async()=>console.log("back"),setCountrySearch:()=>{},onModalOpen:()=>{},onModalClose:()=>{}},refs:{formRef:{current:null}}},g={showExitButton:!0,step:"3",urlLoading:!1,docusignStatus:void 0,hideSteps:!1,documentType:"W9",documentTypeString:"W9",loading:!1,disabled:!1,participantTypeDisabled:!1,loadingError:!1,formState:{participantType:"individualParticipant",errors:{},taxFormExpired:!1},showModal:!1},A={states:{veriffLoading:!1,payoutStatus:"DONE",canEditPayoutInfo:!0,disabled:!1,status:"ACTIVE",documentType:"W9",documentTypeString:c("W9"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,country:"United Kingdom",indirectTaxNumber:"123456",indirectTaxType:"VAT",showNewFormDialog:!1,hasHold:!1},slots:{payoutDetailsCardSlot:e("sqm-payout-details-card",{demoData:{states:{badgeStatus:"nextPayout"}}})}},E=()=>e(l,null),y=Object.freeze({__proto__:null,default:{title:"Components/Tax Form"},GeneralLoadingView:E,GeneralErrorView:()=>e(o,{loadingErrorAlertHeader:"There was a problem loading your form",loadingErrorAlertDescription:"Please refresh the page and try again. If this problem continues, contact our support team."}),StepOne:()=>e("sqm-user-info-form",{demoData:h}),StepOneLoading:()=>e("sqm-user-info-form",{demoData:{states:{...h.states,loading:!0}}}),StepOneDisabled:()=>e("sqm-user-info-form",{demoData:{states:{...h.states,disabled:!0}}}),StepOneIsUser:()=>e("sqm-user-info-form",{demoData:{states:{...h.states,isUser:!0}}}),StepOneIsPartner:()=>e("sqm-user-info-form",{demoData:{states:{...h.states,disabled:!0,isPartner:!0}}}),StepOneWithErrors:()=>e("sqm-user-info-form",{demoData:{states:{...h.states,formState:{...h.states.formState,errors:{firstName:!0,lastName:!0,email:!0,countryCode:!0,currency:!0,participantType:!0,allowBankingCollection:!0}}}}}),StepOneWithGeneralError:()=>e("sqm-user-info-form",{demoData:{states:{...h.states,formState:{...h.states.formState,errors:{general:!0}}}}}),StepOneWithLoadingError:()=>e("sqm-user-info-form",{demoData:{states:{...h.states,loadingError:!0,loading:!0,formState:{...h.states.formState}}}}),StepTwoLoading:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,loading:!0}}}),StepTwoLoadingError:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,loading:!0,loadingError:!0}}}),StepTwoDisabled:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,disabled:!0}}}),StepTwoIsPartner:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,isPartner:!0}}}),StepTwoWithGeneralError:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,errors:{general:!0}}}}}),StepTwoOtherRegionChecked:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"UK",indirectTaxNumber:"123456",errors:{}}}}}),StepTwoOtherRegionCheckedCanada:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"CA",province:"BRITISHCOLUMBIA",indirectTaxNumber:"123456",errors:{}}}}}),StepTwoOtherRegionCheckedCanadaGST:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"CA",province:"QUEBEC",indirectTaxNumber:"123456",errors:{}}}}}),StepTwoOtherRegionCheckedCanadaGSTAndQST:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"CA",province:"QUEBEC",qstNumber:"654321",hasQst:!0,errors:{}}}}}),StepTwoOtherRegionCheckedOtherCountrySubRegion:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"ES",subRegion:"CANARYISLANDS",errors:{}}}}}),StepTwoOtherRegionCheckedOtherCountrySubRegionIncomeTax:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"ES",subRegion:"CANARYISLANDS",hasSubRegionTaxNumber:!0,subRegionTaxNumber:"654321",errors:{}}}}}),StepTwoOtherRegionCheckedWithInputErrors:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{checked:"otherRegion",errors:{}}},slotProps:{formState:{province:"",selectedRegion:"GB",errors:{selectedRegion:!0,indirectTaxNumber:!0}}}}}),StepTwoOtherRegionCheckedCanadaWithProvinceError:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"CA",province:"BC",errors:{province:!0,indirectTaxNumber:!0}}}}}),StepTwoOtherRegionCheckedCanadaGSTAndQSTError:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"CA",province:"QUEBEC",hasQst:!0,errors:{province:!0,indirectTaxNumber:!0,qstNumber:!0}}}}}),StepTwoOtherRegionCheckedOtherCountrySubRegionErrors:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"otherRegion"}},slotProps:{formState:{selectedRegion:"ES",hasSubRegionTaxNumber:!0,errors:{indirectTaxNumber:!0,subRegionTaxNumberError:!0,subRegion:!0}}}}}),StepTwoNotRegisteredChecked:()=>e("sqm-indirect-tax-form",{demoData:{states:{...S,formState:{...S.formState,checked:"notRegistered"}}}}),StepThreeWithDocusign:()=>e("sqm-docusign-form",{demoData:{states:{documentType:"W9",documentTypeString:c("W9"),...g}}}),StepThreeWithDocusignW8BEN:()=>e("sqm-docusign-form",{demoData:{states:{...g,documentType:"W8BEN",documentTypeString:c("W8BEN")}}}),StepThreeWithDocusignW8BENE:()=>e("sqm-docusign-form",{demoData:{states:{...g,documentType:"W8BENE",documentTypeString:c("W8BENE"),formState:{taxFormExpired:!1,participantType:"businessEntity",errors:{participantType:"",general:!1}}}}}),StepThreeWithDocusignExpired:()=>e("sqm-docusign-form",{demoData:{states:{...g,docusignStatus:"ttl_expired",formState:{participantType:"individualParticipant",taxFormExpired:!0,errors:{}}}}}),StepThreeWithDocusignCompleted:()=>e("sqm-docusign-form",{demoData:{states:{...g,docusignStatus:"signing_complete",formState:{participantType:"individualParticipant",taxFormExpired:!1,errors:{}}}}}),StepThreeDocusignWithError:()=>e("sqm-docusign-form",{demoData:{states:{...g,docusignStatus:"exception",formState:{...g.formState,errors:{formSubmission:!0}}}}}),StepThreeDocusignWithGeneralError:()=>e("sqm-docusign-form",{demoData:{states:{...g,formState:{...g.formState,errors:{general:!0}}}}}),StepThreeDocusignWithLoadingError:()=>e("sqm-docusign-form",{demoData:{states:{...g,loadingError:!0,formState:{...g.formState}}}}),StepThreeDocusignLoading:()=>e("sqm-docusign-form",{demoData:{states:{...g,loading:!0}}}),StepThreeDocusignDisabled:()=>e("sqm-docusign-form",{demoData:{states:{...g,disabled:!0}}}),StepThreeWithDocusignModalOpen:()=>e("sqm-docusign-form",{demoData:{states:{documentType:"W9",documentTypeString:c("W9"),...g,showModal:!0}}}),StepFourDefault:()=>e("sqm-banking-info-form",null),StepFourIsPartner:()=>e("sqm-banking-info-form",{demoData:{...N,states:{...N.states,isPartner:!0,formState:{...N.states.formState}}}}),StepFourDirectToBankChecked:()=>e("sqm-banking-info-form",{demoData:{...N,states:{...N.states,formState:{...N.states.formState}}}}),StepFourToPaypalChecked:()=>e("sqm-banking-info-form",{demoData:{...N,states:{...N.states,formState:{...N.states.formState,paymentMethodChecked:"toPayPalAccount"}}}}),StepFourReVerifyEmail:()=>e("sqm-banking-info-form",{demoData:{...N,states:{...N.states,showVerification:!0,isPartner:!0,formState:{...N.states.formState,paymentMethodChecked:"toPayPalAccount"}}}}),TaxAndCashDashboardActiveW9Form:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A}}),TaxAndCashDashboardActiveW8BENForm:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,noFormNeeded:!1,canEditPayoutInfo:!0,documentType:"W8BEN",documentTypeString:c("W8BEN"),country:"United Kingdom",indirectTaxType:"VAT",indirectTaxNumber:"123456",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardActiveW8BENEForm:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,noFormNeeded:!1,canEditPayoutInfo:!0,documentType:"W8BENE",documentTypeString:c("W8BENE"),country:"United Kingdom",indirectTaxType:"VAT",indirectTaxNumber:"123456",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardNotActiveW9Form:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,noFormNeeded:!1,canEditPayoutInfo:!0,status:"INACTIVE",documentType:"W9",documentTypeString:c("W9"),country:"United Kingdom",indirectTaxType:"VAT",indirectTaxNumber:"123456",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardNotVerifiedW9Form:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",canEditPayoutInfo:!0,disabled:!1,status:"NOT_VERIFIED",documentType:"W9",documentTypeString:c("W9"),noFormNeeded:!1,country:"United States",indirectTaxType:"VAT",indirectTaxNumber:"123456",showNewFormDialog:!1,hasHold:!1,veriffLoading:!1}}}),TaxAndCashDashboardNotVerifiedW8BENForm:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,disabled:!1,status:"NOT_VERIFIED",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,country:"United Kingdom",indirectTaxType:"VAT",indirectTaxNumber:"123456",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardNotVerifiedW8BENEForm:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,disabled:!1,status:"NOT_VERIFIED",documentType:"W8BENE",documentTypeString:c("W8BENE"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,country:"United Kingdom",indirectTaxType:"VAT",indirectTaxNumber:"123456",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardNotActiveW8BENEForm:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,disabled:!1,status:"NOT_ACTIVE",documentType:"W8BENE",documentTypeString:c("W8BENE"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,indirectTaxNumber:"123456",indirectTaxType:"VAT",country:"United Kingdom",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardNoFormNeeded:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,disabled:!1,documentType:"W9",documentTypeString:c("W9"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!0,province:"Ontario",country:"Canada",indirectTaxNumber:"123456",indirectTaxType:"GST",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardIndirectTaxCanada:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",disabled:!1,documentType:"W8BENE",documentTypeString:c("W8BENE"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,province:"Ontario",country:"Canada",indirectTaxType:"GST",indirectTaxNumber:"123456",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardIndirectTaxCanadaQuebec:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",disabled:!1,documentType:"W8BENE",documentTypeString:c("W8BENE"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,province:"Quebec",country:"Canada",indirectTaxType:"GST",indirectTaxNumber:"123456",qstNumber:"44212",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardIndirectTaxSpain:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",disabled:!1,documentType:"W8BENE",documentTypeString:c("W8BENE"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,country:"Spain",subRegion:"Spain Proper",indirectTaxType:"VAT",indirectTaxNumber:"123456",subRegionTaxNumber:"44212",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardIndirectTaxNotRegistered:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,notRegistered:!0,showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardIdentityVerifcationRequired:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"VERIFICATION:REQUIRED",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,notRegistered:!0,showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardIdentityVerifcationRequiredInternal:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"VERIFICATION:INTERNAL",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,notRegistered:!0,showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardIdentityVerifcationReviewInternal:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"VERIFICATION:REVIEW",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,notRegistered:!0,showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardIdentityVerifcationFailedInternal:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"VERIFICATION:FAILED",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,notRegistered:!0,showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardNewTaxForm:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,status:"ACTIVE",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,notRegistered:!0,showNewFormDialog:!0,hasHold:!1}}}),TaxAndCashDashboardPayoutsOnHold:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,disabled:!0,status:"ACTIVE",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,indirectTaxNumber:"123456",country:"Slovania",showNewFormDialog:!1,hasHold:!0}}}),TaxAndCashDashboardLoading:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,disabled:!1,status:"ACTIVE",documentType:"W9",documentTypeString:c("W9"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,loading:!0,showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardWithLoadingError:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,disabled:!1,canEditPayoutInfo:!0,status:"ACTIVE",documentType:"W9",documentTypeString:c("W9"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,loading:!0,loadingError:!0,showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashDashboardWithGeneralError:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,disabled:!1,status:"ACTIVE",documentType:"W9",documentTypeString:c("W9"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,indirectTaxNumber:"123456",indirectTaxType:"VAT",country:"Slovania",showNewFormDialog:!1,hasHold:!1,errors:{general:!0}}}}),TaxAndCashDashboardDisabled:()=>e("sqm-tax-and-cash-dashboard",{demoData:{...A,states:{payoutStatus:"DONE",veriffLoading:!1,canEditPayoutInfo:!0,disabled:!0,status:"ACTIVE",documentType:"W8BEN",documentTypeString:c("W8BEN"),dateSubmitted:"Jan 18th, 2025",noFormNeeded:!1,indirectTaxNumber:"123456",country:"Slovania",showNewFormDialog:!1,hasHold:!1}}}),TaxAndCashTextProps:()=>e("sqm-tax-and-cash",{demoData:{showTextProps:!0}})}),f={GB:"VAT",AU:"GST",NZ:"GST",CA:"HST",AT:"VAT",BE:"VAT",BG:"VAT",HR:"VAT",CY:"VAT",CZ:"VAT",DK:"VAT",EE:"VAT",FI:"VAT",FR:"VAT",DE:"VAT",GR:"VAT",HU:"VAT",IE:"VAT",IT:"VAT",LV:"VAT",LT:"VAT",LU:"VAT",MT:"VAT",NL:"VAT",PL:"VAT",PT:"VAT",RO:"VAT",SK:"VAT",SI:"VAT",ES:"VAT",SE:"VAT",IS:"VAT",IN:"GST",IL:"VAT",JP:"CT",MX:"VAT",NO:"VAT",SG:"GST",ZA:"VAT",KR:"VAT",CH:"VAT",TW:"VAT",TH:"VAT",PH:"VAT",MY:"SST",AE:"VAT",TR:"VAT",RU:"VAT"},x=t({Container:{width:"100%"},InputContainer:{width:"100%",display:"flex",justifyContent:"flex-start",flexDirection:"column",gap:"16px",padding:"16px",maxWidth:"450px"},ConditionalInputsContainer:{width:"100%",display:"flex",justifyContent:"flex-start",flexDirection:"column",gap:"16px"},HR:{border:"1px solid #E0E0E0",margin:"10px 0"},Input:{maxWidth:"500px"},Checkbox:{"&::part(control)":{borderRadius:"0 !important"}},SearchInput:{padding:"var(--sl-spacing-x-small)"},ErrorInput:{maxWidth:"500px","&::part(base)":{border:"1px solid var(--sl-color-danger-500)",borderRadius:"var(--sl-input-border-radius-medium)"},"&::part(help-text)":{color:"var(--sl-color-danger-500)"}}}),C=x.toString(),D=t=>{var o,r,n;const{states:i,states:{formState:d},callbacks:l,text:u}=t,{classes:m}=x,c=e=>a.formatMessage({id:`tax-field-label${e}`,defaultMessage:u.indirectTaxNumber},{taxType:e}),T=e=>a.formatMessage({id:`tax-field-label${e}`,defaultMessage:u.error.indirectTaxNumber},{taxType:e}),b=({label:a,error:t,name:o})=>{var s;return e("sl-input",Object.assign({required:!0,exportparts:"label: input-label, base: input-base",class:m.Input,label:a,disabled:i.loading||i.disabled,value:d[o]},(null===(s=d.errors)||void 0===s?void 0:s[o])&&{class:m.ErrorInput,helpText:t},{id:o,name:`/${o}`}))},h=()=>{var a,o;return e("div",{class:m.ConditionalInputsContainer},e("sl-select",Object.assign({required:!0,exportparts:"label: input-label, base: input-base",class:m.Input,value:d.subRegion,label:u.subRegion,disabled:i.loading||i.disabled},(null===(a=d.errors)||void 0===a?void 0:a.indirectTaxNumber)&&{class:m.ErrorInput,helpText:p(u.subRegion,u.error.fieldRequiredError)},{id:"subRegion",name:"/subRegion"}),t.data.esRegions.map((a=>e("sl-menu-item",{value:a.regionCode},a.displayName)))),e(b,{name:"indirectTaxNumber",label:c("VAT"),error:T("VAT")}),e("sl-checkbox",{class:m.Checkbox,exportparts:"label: input-label, base: input-base",checked:d.hasSubRegionTaxNumber,"onSl-change":l.onSpainToggle,disabled:i.disabled||i.isPartner},u.isRegisteredSubRegionIncomeTax),d.hasSubRegionTaxNumber&&e("sl-input",Object.assign({required:!0,exportparts:"label: input-label, base: input-base",class:m.Input,label:u.subRegionTaxNumberLabel,disabled:i.loading||i.disabled,value:d.subRegionTaxNumber},(null===(o=d.errors)||void 0===o?void 0:o.subRegionTaxNumber)&&{class:m.ErrorInput,helpText:p(u.subRegionTaxNumberLabel,u.error.fieldRequiredError)},{id:"subRegionTaxNumber",name:"/subRegionTaxNumber"})))},S=()=>{var a,o;const{classes:r}=x,n=null===(a=null==s?void 0:s.find((e=>e.regionCode===d.province)))||void 0===a?void 0:a.taxType;return e("div",{class:r.ConditionalInputsContainer},e("sl-select",Object.assign({required:!0,value:d.province,exportparts:"label: input-label, base: input-base",class:r.Input,label:u.province,disabled:i.loading||i.disabled,"onSl-select":e=>l.onFormChange("province",e)},(null===(o=d.errors)||void 0===o?void 0:o.province)&&{class:r.ErrorInput,helpText:p(u.province,u.error.fieldRequiredError)},{id:"province",name:"/province"}),t.data.provinces.map((a=>e("sl-menu-item",{value:a.regionCode},a.displayName)))),"GST"===n&&e(b,{label:c("GST"),error:T("GST"),name:"indirectTaxNumber"}),"HST"===n&&e(b,{label:c("HST"),error:T("HST"),name:"indirectTaxNumber"}),"QUEBEC"===d.province&&e("div",{class:r.ConditionalInputsContainer},e("sl-checkbox",{class:r.Checkbox,exportparts:"label: input-label, base: input-base","onSl-change":l.onQstToggle,checked:d.hasQst,disabled:i.isPartner||i.disabled},u.isRegisteredQST),d.hasQst&&e(b,{name:"qstNumber",label:u.qstNumber,error:p(u.qstNumber,u.error.fieldRequiredError)})))},N=(a=>{var t;switch(a){case"CA":return e(S,null);case"ES":return e(h,null);default:return e("sl-input",Object.assign({required:!0,exportparts:"label: input-label, base: input-base",class:m.Input,value:d.indirectTaxNumber,label:c(f[a]||"GENERAL"),disabled:i.loading||i.disabled},(null===(t=d.errors)||void 0===t?void 0:t.indirectTaxNumber)&&{class:m.ErrorInput,helpText:T(f[a]||"GENERAL")},{id:"indirectTaxNumber",name:"/indirectTaxNumber"}))}})(d.selectedRegion);return e("div",{style:i.hide?{display:"none"}:{}},e("form",{class:m.Container},e("style",{type:"text/css"},C,"\n :host{\n display: block; \n }\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n "),e("hr",{class:m.HR}),e("div",{class:m.InputContainer},e("sl-select",Object.assign({required:!0,class:m.Input,value:d.selectedRegion,exportparts:"label: input-label, base: input-base",label:u.selectedRegion,disabled:i.loading||i.disabled,"onSl-select":e=>l.onFormChange("selectedRegion",e)},(null===(o=d.errors)||void 0===o?void 0:o.selectedRegion)&&{class:m.ErrorInput,helpText:p(u.selectedRegion,u.error.fieldRequiredError)},{id:"selectedRegion",name:"/selectedRegion"}),e("sl-input",{class:m.SearchInput,placeholder:u.searchForCountryText,onKeyDown:e=>{e.stopPropagation()},"onSl-input":e=>{l.setCountrySearch(e.target.value)}}),null===(r=t.data.countries)||void 0===r?void 0:r.map((a=>e("sl-menu-item",{value:a.countryCode},a.displayName))),null===(n=t.data.allCountries)||void 0===n?void 0:n.map((a=>e("sl-menu-item",{value:a.countryCode,style:{display:"none"}},a.displayName)))),N),e("hr",{class:m.HR})))},I={Description:{fontSize:"var(--sl-font-size-small)",marginTop:"var(--sl-spacing-small)",margin:"0 0 var(--sl-spacing-large)",color:"var(--sl-color-gray-500)"},Header:{fontSize:"var(--sl-font-size-large)",fontWeight:"var(-sl-font-weight-semibold)",margin:"0 0 var(--sl-spacing-xxx-small)"},Container:{},InvoiceTableContaier:{"& sl-details::part(base)":{border:"none"},"& sl-details::part(content)":{padding:0},"& sl-details::part(header)":{fontSize:"var(--sl-font-size-medium)",padding:"0px"},"& sl-details::part(summary)":{fontWeight:"var(-sl-font-weight-semibold)"},"& sl-details::part(summary-icon)":{marginRight:"100%",marginLeft:"var(--sl-spacing-x-small)",transform:"rotate(90deg)"},"& sl-details[open]::part(summary-icon)":{transform:"rotate(270deg)"}}};function v(a,o){const s=t(I),r=s.toString();return e("div",{class:s.classes.Container},e("style",{type:"text/css"},"\n :host{\n display: block;\n }",r),e("div",{class:s.classes.InvoiceTableContaier},e("sl-details",{summary:a.header},e("p",{class:s.classes.Description},a.description),o)))}export{n as A,E as G,v as I,l as L,D as O,y as T,r as a,s as b,f as c,T as d,p as f,b as g,m as o,c as t,u as v}
@@ -18,7 +18,7 @@ export declare class RewardTableStatusCell {
18
18
  payoutCancelled: string;
19
19
  rewardStatus(reward: Reward): string;
20
20
  getTaxPendingReasons(reward: Reward, taxConnection: ImpactConnection): string;
21
- getBadgeType(rewardStatus: string): "warning" | "primary" | "success" | "danger";
21
+ getBadgeType(rewardStatus: string): "primary" | "warning" | "success" | "danger";
22
22
  getPayoutStatusText(taxStatus: string): string;
23
23
  render(): any;
24
24
  }
@@ -25,3 +25,4 @@ export declare const BankingInfoFormWithFixedDayPaymentSchedule: () => any;
25
25
  export declare const BankingInfoFormWithFixedDayPaymentScheduleWithError: () => any;
26
26
  export declare const BankingInfoFormWithFixedDayPaymentScheduleLoading: () => any;
27
27
  export declare const BankingInfoFormVerififyIdentityModal: () => any;
28
+ export declare const BankingInfoFormModalOpen: () => any;
@@ -38,6 +38,7 @@ export declare const StepThreeDocusignWithGeneralError: () => any;
38
38
  export declare const StepThreeDocusignWithLoadingError: () => any;
39
39
  export declare const StepThreeDocusignLoading: () => any;
40
40
  export declare const StepThreeDocusignDisabled: () => any;
41
+ export declare const StepThreeWithDocusignModalOpen: () => any;
41
42
  export declare const StepFourDefault: () => any;
42
43
  export declare const StepFourIsPartner: () => any;
43
44
  export declare const StepFourDirectToBankChecked: () => any;
@@ -48,6 +48,7 @@ export interface BankingInfoFormViewProps {
48
48
  bankCountry?: string;
49
49
  countrySearch?: string;
50
50
  email?: string;
51
+ showModal: boolean;
51
52
  };
52
53
  slots?: {
53
54
  verificationDialogSlot?: VNode;
@@ -68,6 +69,8 @@ export interface BankingInfoFormViewProps {
68
69
  setCurrency?: (currency: string) => void;
69
70
  setCountrySearch: (c: any) => void;
70
71
  onVerification: (token: string) => void;
72
+ onModalOpen: () => void;
73
+ onModalClose: () => void;
71
74
  };
72
75
  text: {
73
76
  formStep: string;
@@ -93,6 +96,9 @@ export interface BankingInfoFormViewProps {
93
96
  supportLink: string;
94
97
  verifyEmailHeaderText: string;
95
98
  verifyEmailDescriptionText: string;
99
+ modalTitle: string;
100
+ modalDescription: string;
101
+ modalButtonText: string;
96
102
  error: {
97
103
  generalTitle: string;
98
104
  generalDescription: string;
@@ -263,6 +263,18 @@ export declare class BankingInfoForm {
263
263
  * @uiWidget textArea
264
264
  */
265
265
  loadingErrorAlertDescription: string;
266
+ /**
267
+ * @uiName Information modal title
268
+ */
269
+ modalTitle: string;
270
+ /**
271
+ * @uiName Information modal description text
272
+ */
273
+ modalDescription: string;
274
+ /**
275
+ * @uiName Information modal button text
276
+ */
277
+ modalButtonText: string;
266
278
  /**
267
279
  * @undocumented
268
280
  * @uiType object
@@ -11,6 +11,7 @@ export interface DocusignFormViewProps {
11
11
  participantTypeDisabled: boolean;
12
12
  loadingError?: boolean;
13
13
  showExitButton: boolean;
14
+ showModal: boolean;
14
15
  formState: {
15
16
  taxFormExpired: boolean;
16
17
  participantType: "individualParticipant" | "businessEntity" | undefined;
@@ -29,6 +30,8 @@ export interface DocusignFormViewProps {
29
30
  callbacks: {
30
31
  onExit: () => void;
31
32
  setParticipantType: (p: ParticipantType) => void;
33
+ onModalOpen: () => void;
34
+ onModalClose: () => void;
32
35
  };
33
36
  text: {
34
37
  exitButton: string;
@@ -45,6 +48,9 @@ export interface DocusignFormViewProps {
45
48
  participantType: string;
46
49
  taxAndPayoutsDescription: string;
47
50
  supportLink: string;
51
+ modalTitle: string;
52
+ modalDescription: string;
53
+ modalButtonText: string;
48
54
  error: {
49
55
  generalTitle: string;
50
56
  generalDescription: string;
@@ -113,6 +113,18 @@ export declare class DocusignForm {
113
113
  * @uiName Exit button text
114
114
  */
115
115
  exitButton: string;
116
+ /**
117
+ * @uiName Information modal title
118
+ */
119
+ modalTitle: string;
120
+ /**
121
+ * @uiName Information modal description text
122
+ */
123
+ modalDescription: string;
124
+ /**
125
+ * @uiName Information modal button text
126
+ */
127
+ modalButtonText: string;
116
128
  /**
117
129
  * @undocumented
118
130
  * @uiType object
@@ -22,6 +22,7 @@ export declare function useDocusignForm(props: DocusignForm): {
22
22
  documentType: import("../sqm-tax-and-cash/data").TaxDocumentType;
23
23
  documentTypeString: string;
24
24
  showExitButton: boolean;
25
+ showModal: boolean;
25
26
  };
26
27
  data: {
27
28
  taxForm: import("../sqm-tax-and-cash/data").TaxDocumentType;
@@ -32,6 +33,8 @@ export declare function useDocusignForm(props: DocusignForm): {
32
33
  completeDocument: () => Promise<void>;
33
34
  onExit: () => void;
34
35
  setParticipantType: (value: "individualParticipant" | "businessEntity" | ((prev: "individualParticipant" | "businessEntity") => "individualParticipant" | "businessEntity")) => void;
36
+ onModalClose: () => void;
37
+ onModalOpen: () => void;
35
38
  };
36
39
  text: DocusignForm & {
37
40
  error: {
@@ -286,6 +286,21 @@ export declare class TaxAndCashMonolith {
286
286
  * @uiGroup Step 3 Properties
287
287
  */
288
288
  step3_exitButton: string;
289
+ /**
290
+ * @uiName Information modal title
291
+ * @uiGroup Step 3 Properties
292
+ */
293
+ step3_modalTitle: string;
294
+ /**
295
+ * @uiName Information modal description text
296
+ * @uiGroup Step 3 Properties
297
+ */
298
+ step3_modalDescription: string;
299
+ /**
300
+ * @uiName Information modal button text
301
+ * @uiGroup Step 3 Properties
302
+ */
303
+ step3_modalButtonText: string;
289
304
  /**
290
305
  * @uiName Step 4 title
291
306
  * @uiGroup Step 4 Properties
@@ -512,6 +527,21 @@ export declare class TaxAndCashMonolith {
512
527
  * @uiGroup Step 4 Properties
513
528
  */
514
529
  step4_verifyEmailDescriptionText: string;
530
+ /**
531
+ * @uiName Information modal title
532
+ * @uiGroup Step 4 Properties
533
+ */
534
+ step4_modalTitle: string;
535
+ /**
536
+ * @uiName Information modal description text
537
+ * @uiGroup Step 4 Properties
538
+ */
539
+ step4_modalDescription: string;
540
+ /**
541
+ * @uiName Information modal button text
542
+ * @uiGroup Step 4 Properties
543
+ */
544
+ step4_modalButtonText: string;
515
545
  /**
516
546
  * @uiName Active tax form badge label
517
547
  * @uiGroup Dashboard Properties
@@ -236,6 +236,18 @@ export namespace Components {
236
236
  * @uiWidget textArea
237
237
  */
238
238
  "loadingErrorAlertHeader": string;
239
+ /**
240
+ * @uiName Information modal button text
241
+ */
242
+ "modalButtonText": string;
243
+ /**
244
+ * @uiName Information modal description text
245
+ */
246
+ "modalDescription": string;
247
+ /**
248
+ * @uiName Information modal title
249
+ */
250
+ "modalTitle": string;
239
251
  /**
240
252
  * @uiName Patronymic name field label
241
253
  */
@@ -673,6 +685,18 @@ export namespace Components {
673
685
  * @uiWidget textArea
674
686
  */
675
687
  "loadingErrorAlertHeader": string;
688
+ /**
689
+ * @uiName Information modal button text
690
+ */
691
+ "modalButtonText": string;
692
+ /**
693
+ * @uiName Information modal description text
694
+ */
695
+ "modalDescription": string;
696
+ /**
697
+ * @uiName Information modal title
698
+ */
699
+ "modalTitle": string;
676
700
  /**
677
701
  * @uiName Participant type field label
678
702
  */
@@ -5017,6 +5041,21 @@ export namespace Components {
5017
5041
  * @uiGroup Step 3 Properties
5018
5042
  */
5019
5043
  "step3_individualParticipant": string;
5044
+ /**
5045
+ * @uiName Information modal button text
5046
+ * @uiGroup Step 3 Properties
5047
+ */
5048
+ "step3_modalButtonText": string;
5049
+ /**
5050
+ * @uiName Information modal description text
5051
+ * @uiGroup Step 3 Properties
5052
+ */
5053
+ "step3_modalDescription": string;
5054
+ /**
5055
+ * @uiName Information modal title
5056
+ * @uiGroup Step 3 Properties
5057
+ */
5058
+ "step3_modalTitle": string;
5020
5059
  /**
5021
5060
  * @uiName Participant type field label
5022
5061
  * @uiGroup Step 3 Properties
@@ -5179,6 +5218,21 @@ export namespace Components {
5179
5218
  * @uiGroup Step 4 Properties
5180
5219
  */
5181
5220
  "step4_individualSelectItemLabel": string;
5221
+ /**
5222
+ * @uiName Information modal button text
5223
+ * @uiGroup Step 4 Properties
5224
+ */
5225
+ "step4_modalButtonText": string;
5226
+ /**
5227
+ * @uiName Information modal description text
5228
+ * @uiGroup Step 4 Properties
5229
+ */
5230
+ "step4_modalDescription": string;
5231
+ /**
5232
+ * @uiName Information modal title
5233
+ * @uiGroup Step 4 Properties
5234
+ */
5235
+ "step4_modalTitle": string;
5182
5236
  /**
5183
5237
  * @uiName Patronymic name field label
5184
5238
  * @uiGroup Step 4 Properties
@@ -6989,6 +7043,18 @@ declare namespace LocalJSX {
6989
7043
  * @uiWidget textArea
6990
7044
  */
6991
7045
  "loadingErrorAlertHeader"?: string;
7046
+ /**
7047
+ * @uiName Information modal button text
7048
+ */
7049
+ "modalButtonText"?: string;
7050
+ /**
7051
+ * @uiName Information modal description text
7052
+ */
7053
+ "modalDescription"?: string;
7054
+ /**
7055
+ * @uiName Information modal title
7056
+ */
7057
+ "modalTitle"?: string;
6992
7058
  /**
6993
7059
  * @uiName Patronymic name field label
6994
7060
  */
@@ -7426,6 +7492,18 @@ declare namespace LocalJSX {
7426
7492
  * @uiWidget textArea
7427
7493
  */
7428
7494
  "loadingErrorAlertHeader"?: string;
7495
+ /**
7496
+ * @uiName Information modal button text
7497
+ */
7498
+ "modalButtonText"?: string;
7499
+ /**
7500
+ * @uiName Information modal description text
7501
+ */
7502
+ "modalDescription"?: string;
7503
+ /**
7504
+ * @uiName Information modal title
7505
+ */
7506
+ "modalTitle"?: string;
7429
7507
  /**
7430
7508
  * @uiName Participant type field label
7431
7509
  */
@@ -11741,6 +11819,21 @@ declare namespace LocalJSX {
11741
11819
  * @uiGroup Step 3 Properties
11742
11820
  */
11743
11821
  "step3_individualParticipant"?: string;
11822
+ /**
11823
+ * @uiName Information modal button text
11824
+ * @uiGroup Step 3 Properties
11825
+ */
11826
+ "step3_modalButtonText"?: string;
11827
+ /**
11828
+ * @uiName Information modal description text
11829
+ * @uiGroup Step 3 Properties
11830
+ */
11831
+ "step3_modalDescription"?: string;
11832
+ /**
11833
+ * @uiName Information modal title
11834
+ * @uiGroup Step 3 Properties
11835
+ */
11836
+ "step3_modalTitle"?: string;
11744
11837
  /**
11745
11838
  * @uiName Participant type field label
11746
11839
  * @uiGroup Step 3 Properties
@@ -11903,6 +11996,21 @@ declare namespace LocalJSX {
11903
11996
  * @uiGroup Step 4 Properties
11904
11997
  */
11905
11998
  "step4_individualSelectItemLabel"?: string;
11999
+ /**
12000
+ * @uiName Information modal button text
12001
+ * @uiGroup Step 4 Properties
12002
+ */
12003
+ "step4_modalButtonText"?: string;
12004
+ /**
12005
+ * @uiName Information modal description text
12006
+ * @uiGroup Step 4 Properties
12007
+ */
12008
+ "step4_modalDescription"?: string;
12009
+ /**
12010
+ * @uiName Information modal title
12011
+ * @uiGroup Step 4 Properties
12012
+ */
12013
+ "step4_modalTitle"?: string;
11906
12014
  /**
11907
12015
  * @uiName Patronymic name field label
11908
12016
  * @uiGroup Step 4 Properties
@@ -0,0 +1,7 @@
1
+ interface AndroidInterface {
2
+ platform: 'android';
3
+ shareOnFacebook(shareUrl: string, fallbackUrl: string): void;
4
+ showToast(toast: string): void;
5
+ }
6
+
7
+ export type PlatformNativeActions = AndroidInterface | undefined;
@@ -0,0 +1,2 @@
1
+ export type DemoData<T extends {}> = Partial<Omit<T, "callbacks" | "text">>;
2
+ export type StoryDemoData<T extends {}> = Partial<Omit<T, "text">>;
@@ -0,0 +1,4 @@
1
+ declare module "*.feature" {
2
+ const content: string;
3
+ export default content;
4
+ }
@@ -0,0 +1,4 @@
1
+ declare module "*.html" {
2
+ const content: string;
3
+ export default content;
4
+ }
package/docs/docs.docx CHANGED
Binary file