@saasquatch/mint-components 1.15.0-44 → 1.15.0-45

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 (270) hide show
  1. package/dist/cjs/IndirectTaxDetailsView-81f1ce92.js +646 -0
  2. package/dist/cjs/{ShadowViewAddon-85d2eed4.js → ShadowViewAddon-bebbd4d0.js} +1014 -1014
  3. package/dist/cjs/data-68a42a7b.js +137 -0
  4. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  5. package/dist/cjs/{global-2298fc8b.js → global-242743b1.js} +73 -58
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/mint-components.cjs.js +2 -2
  8. package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +201 -1890
  9. package/dist/cjs/sqm-big-stat_42.cjs.entry.js +3 -3
  10. package/dist/cjs/sqm-code-verification.cjs.entry.js +342 -0
  11. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  13. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
  14. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
  16. package/dist/cjs/{sqm-portal-email-verification-view-0a93a148.js → sqm-portal-email-verification-view-38bfdda4.js} +1 -1
  17. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  18. package/dist/cjs/{sqm-portal-profile-view-44a83439.js → sqm-portal-profile-view-036d355e.js} +1 -1
  19. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  20. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
  21. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -4
  22. package/dist/cjs/sqm-stencilbook.cjs.entry.js +11405 -10110
  23. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1220 -0
  24. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +11 -3
  25. package/dist/cjs/sqm-widget-verification.cjs.entry.js +17 -7
  26. package/dist/cjs/{usePayoutStatus-f26f0467.js → usePayoutStatus-3cca69e5.js} +8 -5
  27. package/dist/cjs/utils-a6957c85.js +105 -0
  28. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +1 -1
  29. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +1 -1
  30. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +3 -2
  31. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
  32. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +1 -1
  33. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +3 -3
  34. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
  35. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -4
  36. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +2 -2
  37. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -1
  38. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
  39. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +2 -2
  40. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +2 -2
  41. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +2 -2
  42. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -1
  43. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +1 -1
  44. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
  45. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -3
  46. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -3
  47. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +11 -8
  48. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +1 -1
  49. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +3 -3
  50. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +1 -1
  51. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -3
  52. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +2 -2
  53. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
  54. package/dist/collection/components/sqm-share-button/sqm-share-button.js +3 -3
  55. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +78 -78
  56. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  57. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
  58. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +42 -7
  59. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +12 -8
  60. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -1
  61. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
  62. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -1
  63. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +1 -1
  64. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +1 -1
  65. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
  66. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +2 -2
  67. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  68. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
  69. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
  70. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  71. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
  72. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +77 -28
  73. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
  74. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +19 -4
  75. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
  76. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +6 -5
  77. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  78. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
  79. package/dist/collection/global/styles.js +73 -58
  80. package/dist/collection/global/styles.ts +48 -40
  81. package/dist/collection/utils/parseStates.js +12 -0
  82. package/dist/esm/IndirectTaxDetailsView-89731480.js +639 -0
  83. package/dist/esm/{ShadowViewAddon-d59ef625.js → ShadowViewAddon-b439f9c5.js} +1017 -1017
  84. package/dist/esm/data-ce8ed0ae.js +121 -0
  85. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  86. package/dist/esm/{global-2da1dcec.js → global-f33bb903.js} +73 -58
  87. package/dist/esm/loader.js +2 -2
  88. package/dist/esm/mint-components.js +2 -2
  89. package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +125 -1807
  90. package/dist/esm/sqm-big-stat_42.entry.js +3 -3
  91. package/dist/esm/sqm-code-verification.entry.js +338 -0
  92. package/dist/esm/sqm-email-verification.entry.js +1 -1
  93. package/dist/esm/sqm-empty_4.entry.js +1 -1
  94. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
  95. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  96. package/dist/esm/sqm-pagination_3.entry.js +1 -1
  97. package/dist/esm/{sqm-portal-email-verification-view-e38ec8cc.js → sqm-portal-email-verification-view-e8661ca9.js} +1 -1
  98. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  99. package/dist/esm/{sqm-portal-profile-view-e594d1ee.js → sqm-portal-profile-view-70e1a345.js} +1 -1
  100. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  101. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  102. package/dist/esm/sqm-rewards-table_9.entry.js +3 -4
  103. package/dist/esm/sqm-stencilbook.entry.js +11077 -9782
  104. package/dist/esm/sqm-tax-and-cash.entry.js +1216 -0
  105. package/dist/esm/sqm-widget-verification-controller.entry.js +12 -4
  106. package/dist/esm/sqm-widget-verification.entry.js +17 -7
  107. package/dist/esm/{usePayoutStatus-3768c8c3.js → usePayoutStatus-e92a6e43.js} +8 -5
  108. package/dist/esm/utils-79d81bca.js +97 -0
  109. package/dist/esm-es5/IndirectTaxDetailsView-89731480.js +1 -0
  110. package/dist/esm-es5/ShadowViewAddon-b439f9c5.js +1 -0
  111. package/dist/esm-es5/data-ce8ed0ae.js +1 -0
  112. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  113. package/dist/esm-es5/{global-2da1dcec.js → global-f33bb903.js} +4 -4
  114. package/dist/esm-es5/loader.js +1 -1
  115. package/dist/esm-es5/mint-components.js +1 -1
  116. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
  117. package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
  118. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  119. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  120. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  121. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
  122. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  123. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  124. package/dist/esm-es5/{sqm-portal-email-verification-view-e38ec8cc.js → sqm-portal-email-verification-view-e8661ca9.js} +1 -1
  125. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  126. package/dist/esm-es5/{sqm-portal-profile-view-e594d1ee.js → sqm-portal-profile-view-70e1a345.js} +1 -1
  127. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  128. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  129. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  130. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  131. package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
  132. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  133. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  134. package/dist/esm-es5/{usePayoutStatus-3768c8c3.js → usePayoutStatus-e92a6e43.js} +2 -2
  135. package/dist/esm-es5/utils-79d81bca.js +1 -0
  136. package/dist/mint-components/global/styles.ts +48 -40
  137. package/dist/mint-components/mint-components.esm.js +1 -1
  138. package/dist/mint-components/mint-components.js +1 -1
  139. package/dist/mint-components/{p-a121e5a1.system.entry.js → p-059ad130.system.entry.js} +1 -1
  140. package/dist/mint-components/p-0768fe1d.system.js +1 -0
  141. package/dist/mint-components/p-0797a946.js +1 -0
  142. package/dist/mint-components/{p-d49373b7.system.js → p-10849094.system.js} +1 -1
  143. package/dist/mint-components/p-169c8564.system.js +1 -0
  144. package/dist/mint-components/p-1e79befd.entry.js +1 -0
  145. package/dist/mint-components/{p-761ee9ea.entry.js → p-1f8d3b1a.entry.js} +2 -2
  146. package/dist/mint-components/{p-4ce7e3b1.entry.js → p-227aa136.entry.js} +1 -1
  147. package/dist/mint-components/p-2378a0dd.entry.js +16 -0
  148. package/dist/mint-components/{p-f3a52eb6.js → p-24d6cfcd.js} +1 -1
  149. package/dist/mint-components/{p-28aed7f7.system.entry.js → p-283848df.system.entry.js} +1 -1
  150. package/dist/mint-components/{p-7dac5a58.system.entry.js → p-28e4b275.system.entry.js} +1 -1
  151. package/dist/mint-components/{p-5125ec72.system.entry.js → p-2d730bef.system.entry.js} +1 -1
  152. package/dist/mint-components/p-3206d0a4.js +103 -0
  153. package/dist/mint-components/{p-cc5f9775.system.entry.js → p-3bdccbc9.system.entry.js} +1 -1
  154. package/dist/mint-components/{p-73069eba.entry.js → p-44435060.entry.js} +1 -1
  155. package/dist/mint-components/{p-fad1752b.system.entry.js → p-4cfd562e.system.entry.js} +1 -1
  156. package/dist/mint-components/{p-e70d8201.system.entry.js → p-538fe844.system.entry.js} +1 -1
  157. package/dist/mint-components/{p-7ae3ec51.system.js → p-5a48bf9d.system.js} +1 -1
  158. package/dist/mint-components/{p-9fcc7901.system.entry.js → p-5dd09973.system.entry.js} +1 -1
  159. package/dist/mint-components/p-6a4582eb.system.entry.js +1 -0
  160. package/dist/mint-components/{p-d4e49019.entry.js → p-6d23f01a.entry.js} +2 -2
  161. package/dist/mint-components/p-6f323a9f.entry.js +11 -0
  162. package/dist/mint-components/p-7274fe6e.js +1 -0
  163. package/dist/mint-components/p-7813a75a.js +1 -0
  164. package/dist/mint-components/{p-e1e96de9.entry.js → p-7aef9c53.entry.js} +1 -1
  165. package/dist/mint-components/{p-7953c3da.entry.js → p-7cbbca72.entry.js} +1 -1
  166. package/dist/mint-components/p-7dc10820.system.js +1 -0
  167. package/dist/mint-components/p-8c126ccb.system.entry.js +1 -0
  168. package/dist/mint-components/p-901358ee.system.entry.js +1 -0
  169. package/dist/mint-components/p-9481740a.system.entry.js +1 -0
  170. package/dist/mint-components/{p-232996b5.system.entry.js → p-95ff58b2.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-7aba33e1.js → p-9d48280a.js} +1 -1
  172. package/dist/mint-components/{p-3466bfaa.js → p-a341ce23.js} +2 -2
  173. package/dist/mint-components/{p-b090bbd2.js → p-a348f9b9.js} +1 -1
  174. package/dist/mint-components/p-a39c3535.system.entry.js +1 -0
  175. package/dist/mint-components/{p-5efed40f.system.js → p-a44b7a52.system.js} +2 -2
  176. package/dist/mint-components/p-a86635aa.system.entry.js +1 -0
  177. package/dist/mint-components/p-ae0636bb.system.js +1 -0
  178. package/dist/mint-components/{p-0019d57c.entry.js → p-b55e454d.entry.js} +1 -1
  179. package/dist/mint-components/p-c25b0ff4.js +394 -0
  180. package/dist/mint-components/{p-f2c48bc8.entry.js → p-c2e3f0f0.entry.js} +1 -1
  181. package/dist/mint-components/{p-7daa731c.system.js → p-c7878ec7.system.js} +1 -1
  182. package/dist/mint-components/p-e228b351.system.js +1 -0
  183. package/dist/mint-components/p-e524056f.entry.js +1 -0
  184. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  185. package/dist/mint-components/{p-836d3ec7.entry.js → p-e8422f7b.entry.js} +2 -2
  186. package/dist/mint-components/p-ee17ee0b.entry.js +1 -0
  187. package/dist/mint-components/p-f2ebbbe3.system.entry.js +1 -0
  188. package/dist/mint-components/p-fba00613.entry.js +93 -0
  189. package/dist/mint-components/p-fd2ee10c.entry.js +9 -0
  190. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
  191. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
  192. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +2 -1
  193. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
  194. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
  195. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +3 -3
  196. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
  197. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
  198. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -0
  199. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
  200. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
  201. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
  202. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
  203. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +3 -3
  204. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
  205. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +6 -1
  206. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -1
  207. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
  208. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
  209. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
  210. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
  211. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -4
  212. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  213. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
  214. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  215. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  216. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  217. package/dist/types/components.d.ts +66 -22
  218. package/dist/types/global/styles.d.ts +2 -1
  219. package/dist/types/saasquatch.d.ts +106 -50
  220. package/dist/types/utils/parseStates.d.ts +1 -0
  221. package/docs/docs.docx +0 -0
  222. package/docs/raisins.json +1 -1
  223. package/grapesjs/grapesjs.js +1 -1
  224. package/package.json +2 -1
  225. package/dist/cjs/sqm-invoice-table-view-90b2433f.js +0 -2038
  226. package/dist/esm/sqm-invoice-table-view-df370e4a.js +0 -2022
  227. package/dist/esm-es5/ShadowViewAddon-d59ef625.js +0 -1
  228. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  229. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
  230. package/dist/esm-es5/sqm-invoice-table-view-df370e4a.js +0 -1
  231. package/dist/mint-components/p-04cc08e7.system.entry.js +0 -1
  232. package/dist/mint-components/p-097a255f.js +0 -1
  233. package/dist/mint-components/p-15ad1e97.entry.js +0 -16
  234. package/dist/mint-components/p-16c55bb4.entry.js +0 -205
  235. package/dist/mint-components/p-26468242.js +0 -1
  236. package/dist/mint-components/p-31b8f0ca.system.js +0 -1
  237. package/dist/mint-components/p-62d924e6.system.entry.js +0 -1
  238. package/dist/mint-components/p-6bcac9ed.system.entry.js +0 -1
  239. package/dist/mint-components/p-7b97c0f4.system.entry.js +0 -1
  240. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  241. package/dist/mint-components/p-bfe08ca4.system.js +0 -1
  242. package/dist/mint-components/p-c53bd5bd.entry.js +0 -9
  243. package/dist/mint-components/p-e53c3c6e.system.js +0 -1
  244. package/dist/mint-components/p-f3558ef0.js +0 -394
  245. package/dist/mint-components/p-f66ccd51.entry.js +0 -1
  246. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +0 -20
  247. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +0 -60
  248. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +0 -7
  249. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -16
  250. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -43
  251. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +0 -71
  252. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -43
  253. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +0 -31
  254. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -8
  255. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +0 -11
  256. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +0 -24
  257. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +0 -31
  258. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +0 -20
  259. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +0 -32
  260. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +0 -50
  261. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +0 -104
  262. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -48
  263. package/dist/types/components/sqm-stencilbook/Themes.d.ts +0 -16
  264. package/dist/types/global/android.d.ts +0 -7
  265. package/dist/types/global/demo.d.ts +0 -2
  266. package/dist/types/stories/features.d.ts +0 -4
  267. package/dist/types/stories/templates.d.ts +0 -4
  268. package/shoelace/assets/icons/twitter-x.svg +0 -4
  269. /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
  270. /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
@@ -1,2022 +0,0 @@
1
- import { h } from './index-b3a06de8.js';
2
- import { i as intl } from './global-2da1dcec.js';
3
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
- import { E as ErrorView } from './ErrorView-eaafd6f5.js';
5
-
6
- const INDIRECT_TAX_PROVINCES = [
7
- { regionCode: "ALBERTA", taxType: "GST", displayName: "Alberta" },
8
- {
9
- regionCode: "BRITISHCOLUMBIA",
10
- taxType: "HST",
11
- displayName: "British Columbia",
12
- },
13
- { regionCode: "MANITOBA", taxType: "HST", displayName: "Manitoba" },
14
- {
15
- regionCode: "NEWBRUNSWICK",
16
- taxType: "HST",
17
- displayName: "New Brunswick",
18
- },
19
- {
20
- regionCode: "NEWFOUNDLANDLABRADOR",
21
- taxType: "HST",
22
- displayName: "Newfoundland",
23
- },
24
- {
25
- regionCode: "NORTHWESTTERRITORIES",
26
- taxType: "GST",
27
- displayName: "North West Territories",
28
- },
29
- { regionCode: "NOVASCOTIA", taxType: "HST", displayName: "Nova Scotia" },
30
- { regionCode: "NUNAVUT", taxType: "HST", displayName: "Nunavut" },
31
- { regionCode: "ONTARIO", taxType: "HST", displayName: "Ontario" },
32
- {
33
- regionCode: "PRINCEEDWARDISLAND",
34
- taxType: "HST",
35
- displayName: "Prince Edward Island",
36
- },
37
- { regionCode: "QUEBEC", taxType: "GST", displayName: "Quebec" },
38
- { regionCode: "SASKATCHEWAN", taxType: "HST", displayName: "Saskatchewan" },
39
- { regionCode: "YUKON", taxType: "GST", displayName: "Yukon" },
40
- ];
41
- const INDIRECT_TAX_SPAIN_REGIONS = [
42
- { regionCode: "SPAINPROPER", taxType: "VAT", displayName: "Spain Proper" },
43
- {
44
- regionCode: "CANARYISLANDS",
45
- taxType: "VAT",
46
- displayName: "Canary Islands",
47
- },
48
- ];
49
- const ADDRESS_REGIONS = {
50
- CA: {
51
- labelEnum: "PROVINCE",
52
- regions: [
53
- {
54
- label: "Alberta",
55
- value: "ALBERTA",
56
- },
57
- {
58
- label: "British Columbia",
59
- value: "BRITISHCOLUMBIA",
60
- },
61
- {
62
- label: "Manitoba",
63
- value: "MANITOBA",
64
- },
65
- {
66
- label: "New Brunswick",
67
- value: "NEWBRUNSWICK",
68
- },
69
- {
70
- label: "Newfoundland & Labrador",
71
- value: "NEWFOUNDLANDANDLABRADOR",
72
- },
73
- {
74
- label: "Northwest Territories",
75
- value: "NORTHWESTTERRITORIES",
76
- },
77
- {
78
- label: "Nova Scotia",
79
- value: "NOVASCOTIA",
80
- },
81
- {
82
- label: "Nunavut",
83
- value: "NUNAVUT",
84
- },
85
- {
86
- label: "Ontario",
87
- value: "ONTARIO",
88
- },
89
- {
90
- label: "Prince Edward Island",
91
- value: "PRINCEEDWARDISLAND",
92
- },
93
- {
94
- label: "Quebec",
95
- value: "QUEBEC",
96
- },
97
- {
98
- label: "Saskatchewan",
99
- value: "SASKATCHEWAN",
100
- },
101
- {
102
- label: "Yukon",
103
- value: "YUKON",
104
- },
105
- ],
106
- },
107
- ES: {
108
- labelEnum: "REGION",
109
- regions: [
110
- {
111
- label: "Canary Islands",
112
- value: "CANARYISLANDS",
113
- },
114
- {
115
- label: "Spain Proper",
116
- value: "SPAINPROPER",
117
- },
118
- ],
119
- },
120
- AU: {
121
- labelEnum: "STATE",
122
- regions: [
123
- {
124
- label: "Australian Capital Territory",
125
- value: "CAPITALTERRITORY",
126
- },
127
- {
128
- label: "New South Wales",
129
- value: "NEWSOUTHWALES",
130
- },
131
- {
132
- label: "Northern Territory",
133
- value: "NORTHERNTERRITORY",
134
- },
135
- {
136
- label: "Queensland",
137
- value: "QUEENSLAND",
138
- },
139
- {
140
- label: "South Australia",
141
- value: "SOUTHAUSTRALIA",
142
- },
143
- {
144
- label: "Tasmania",
145
- value: "TASMANIA",
146
- },
147
- {
148
- label: "Victoria",
149
- value: "VICTORIA",
150
- },
151
- {
152
- label: "Western Australia",
153
- value: "WESTERNAUSTRALIA",
154
- },
155
- ],
156
- },
157
- US: {
158
- labelEnum: "STATE",
159
- regions: [
160
- {
161
- label: "Alabama",
162
- value: "ALABAMA",
163
- },
164
- {
165
- label: "Alaska",
166
- value: "ALASKA",
167
- },
168
- {
169
- label: "Arizona",
170
- value: "ARIZONA",
171
- },
172
- {
173
- label: "Arkansas",
174
- value: "ARKANSAS",
175
- },
176
- {
177
- label: "California",
178
- value: "CALIFORNIA",
179
- },
180
- {
181
- label: "Colorado",
182
- value: "COLORADO",
183
- },
184
- {
185
- label: "Connecticut",
186
- value: "CONNECTICUT",
187
- },
188
- {
189
- label: "Delaware",
190
- value: "DELAWARE",
191
- },
192
- {
193
- label: "District of Columbia",
194
- value: "DISTRICTOFCOLUMBIA",
195
- },
196
- {
197
- label: "Florida",
198
- value: "FLORIDA",
199
- },
200
- {
201
- label: "Georgia",
202
- value: "GEORGIA",
203
- },
204
- {
205
- label: "Hawaii",
206
- value: "HAWAII",
207
- },
208
- {
209
- label: "Idaho",
210
- value: "IDAHO",
211
- },
212
- {
213
- label: "Illinois",
214
- value: "ILLINOIS",
215
- },
216
- {
217
- label: "Indiana",
218
- value: "INDIANA",
219
- },
220
- {
221
- label: "Iowa",
222
- value: "IOWA",
223
- },
224
- {
225
- label: "Kansas",
226
- value: "KANSAS",
227
- },
228
- {
229
- label: "Kentucky",
230
- value: "KENTUCKY",
231
- },
232
- {
233
- label: "Louisiana",
234
- value: "LOUISIANA",
235
- },
236
- {
237
- label: "Maine",
238
- value: "MAINE",
239
- },
240
- {
241
- label: "Maryland",
242
- value: "MARYLAND",
243
- },
244
- {
245
- label: "Massachusetts",
246
- value: "MASSACHUSETTS",
247
- },
248
- {
249
- label: "Michigan",
250
- value: "MICHIGAN",
251
- },
252
- {
253
- label: "Minnesota",
254
- value: "MINNESOTA",
255
- },
256
- {
257
- label: "Mississippi",
258
- value: "MISSISSIPPI",
259
- },
260
- {
261
- label: "Missouri",
262
- value: "MISSOURI",
263
- },
264
- {
265
- label: "Montana",
266
- value: "MONTANA",
267
- },
268
- {
269
- label: "Nebraska",
270
- value: "NEBRASKA",
271
- },
272
- {
273
- label: "Nevada",
274
- value: "NEVADA",
275
- },
276
- {
277
- label: "New Hampshire",
278
- value: "NEWHAMPSHIRE",
279
- },
280
- {
281
- label: "New Jersey",
282
- value: "NEWJERSEY",
283
- },
284
- {
285
- label: "New Mexico",
286
- value: "NEWMEXICO",
287
- },
288
- {
289
- label: "New York",
290
- value: "NEWYORK",
291
- },
292
- {
293
- label: "North Carolina",
294
- value: "NORTHCAROLINA",
295
- },
296
- {
297
- label: "North Dakota",
298
- value: "NORTHDAKOTA",
299
- },
300
- {
301
- label: "Ohio",
302
- value: "OHIO",
303
- },
304
- {
305
- label: "Oklahoma",
306
- value: "OKLAHOMA",
307
- },
308
- {
309
- label: "Oregon",
310
- value: "OREGON",
311
- },
312
- {
313
- label: "Pennsylvania",
314
- value: "PENNSYLVANIA",
315
- },
316
- {
317
- label: "Rhode Island",
318
- value: "RHODEISLAND",
319
- },
320
- {
321
- label: "South Carolina",
322
- value: "SOUTHCAROLINA",
323
- },
324
- {
325
- label: "South Dakota",
326
- value: "SOUTHDAKOTA",
327
- },
328
- {
329
- label: "Tennessee",
330
- value: "TENNESSEE",
331
- },
332
- {
333
- label: "Texas",
334
- value: "TEXAS",
335
- },
336
- {
337
- label: "Utah",
338
- value: "UTAH",
339
- },
340
- {
341
- label: "Vermont",
342
- value: "VERMONT",
343
- },
344
- {
345
- label: "Virgin Islands",
346
- value: "VIRGINISLANDS",
347
- },
348
- {
349
- label: "Virginia",
350
- value: "VIRGINIA",
351
- },
352
- {
353
- label: "Washington",
354
- value: "WASHINGTON",
355
- },
356
- {
357
- label: "West Virginia",
358
- value: "WESTVIRGINIA",
359
- },
360
- {
361
- label: "Wisconsin",
362
- value: "WISCONSIN",
363
- },
364
- {
365
- label: "Wyoming",
366
- value: "WYOMING",
367
- },
368
- {
369
- label: "Americas Forces",
370
- value: "AAMILITARY",
371
- },
372
- {
373
- label: "Europe, Middle East, Canada, Africa and Canada Forces",
374
- value: "AEMILITARY",
375
- },
376
- {
377
- label: "Pacific Forces",
378
- value: "APMILITARY",
379
- },
380
- {
381
- label: "Other",
382
- value: "OTHER",
383
- },
384
- ],
385
- },
386
- };
387
-
388
- const style = {
389
- Container: {
390
- display: "flex",
391
- flexDirection: "column",
392
- gap: "24px",
393
- },
394
- HeaderContainer: {
395
- display: "flex",
396
- flexDirection: "column",
397
- gap: "10px",
398
- },
399
- TitleSkeleton: {
400
- width: "45%",
401
- height: "40px !important",
402
- },
403
- StepSkeleton: {
404
- width: "15%",
405
- },
406
- HeaderSkeleton: {
407
- width: "25%",
408
- height: "30px !important",
409
- },
410
- InputSkeleton: {
411
- width: "75%",
412
- },
413
- ButtonSkeleton: {
414
- width: "80px",
415
- height: "30px !important",
416
- },
417
- };
418
- const sheet = createStyleSheet(style);
419
- const styleString = sheet.toString();
420
- const LoadingView = () => {
421
- return (h("div", { class: sheet.classes.Container },
422
- h("style", { type: "text/css" }, styleString),
423
- h("sl-skeleton", { class: sheet.classes.TitleSkeleton }),
424
- h("div", { class: sheet.classes.HeaderContainer },
425
- h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
426
- h("sl-skeleton", { class: sheet.classes.HeaderSkeleton })),
427
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
428
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
429
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
430
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
431
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
432
- h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
433
- h("sl-skeleton", { class: sheet.classes.ButtonSkeleton })));
434
- };
435
-
436
- function validTaxDocument(requiredType) {
437
- const validTypes = ["W9", "W8BENE", "W8BEN"];
438
- if (validTypes.includes(requiredType))
439
- return true;
440
- return false;
441
- }
442
- const objectIsFull = (obj) => {
443
- return !Object.keys(obj).find((k) => obj[k] == undefined);
444
- };
445
- const taxTypeToName = (taxType) => {
446
- switch (taxType) {
447
- case "W9":
448
- return "W-9";
449
- case "W8BEN":
450
- case "W8BENE":
451
- return "W-8";
452
- default:
453
- return "";
454
- }
455
- };
456
- function validateBillingField(regex, value) {
457
- const trimmed = value.trim();
458
- const idx = trimmed.search(regex);
459
- return idx > -1;
460
- }
461
- const formatErrorMessage = (fieldName, errorMessage) => {
462
- return intl.formatMessage({
463
- id: fieldName,
464
- defaultMessage: errorMessage,
465
- }, {
466
- fieldName,
467
- });
468
- };
469
- function getCountryObj({ countryCode, locale, }) {
470
- // @ts-ignore DisplayNames not in Intl type
471
- const displayName = new Intl.DisplayNames([locale], {
472
- type: "region",
473
- }).of(countryCode);
474
- return {
475
- countryCode,
476
- displayName,
477
- };
478
- }
479
-
480
- const TaxForm_stories = {
481
- title: "Components/Tax Form",
482
- };
483
- const stepOneProps = {
484
- states: {
485
- step: "1",
486
- hideSteps: false,
487
- hideState: false,
488
- loading: false,
489
- disabled: false,
490
- isPartner: false,
491
- isUser: false,
492
- loadingError: false,
493
- formState: {
494
- firstName: "Bob",
495
- lastName: "Testerson",
496
- email: "bobtesterson@example.com",
497
- phoneNumberCountryCode: "US",
498
- phoneNumber: "555 555 5555",
499
- countryCode: "US",
500
- currency: "CAD",
501
- address: "2/1337 Johnson Street",
502
- city: "Vancouver",
503
- state: "BC",
504
- postalCode: "555 555",
505
- errors: {},
506
- },
507
- },
508
- data: {
509
- regionLabelEnum: "STATE",
510
- regions: [],
511
- phoneCountries: [
512
- {
513
- countryCode: "CA",
514
- displayName: "Canada",
515
- },
516
- ],
517
- countries: [
518
- {
519
- countryCode: "CA",
520
- displayName: "Canada",
521
- },
522
- {
523
- countryCode: "ES",
524
- displayName: "Spain",
525
- },
526
- {
527
- countryCode: "UK",
528
- displayName: "United Kingdom",
529
- },
530
- {
531
- countryCode: "US",
532
- displayName: "United States",
533
- },
534
- {
535
- countryCode: "AR",
536
- displayName: "Argentina",
537
- },
538
- {
539
- countryCode: "AU",
540
- displayName: "Australia",
541
- },
542
- {
543
- countryCode: "ZW",
544
- displayName: "Zimbabwe",
545
- },
546
- ],
547
- currencies: [
548
- {
549
- currencyCode: "CAD",
550
- displayName: "CAD",
551
- },
552
- {
553
- currencyCode: "GBP",
554
- displayName: "GBP",
555
- },
556
- {
557
- currencyCode: "USD",
558
- displayName: "USD",
559
- },
560
- ],
561
- allCountries: [
562
- {
563
- countryCode: "CA",
564
- displayName: "Canada",
565
- },
566
- {
567
- countryCode: "ES",
568
- displayName: "Spain",
569
- },
570
- {
571
- countryCode: "UK",
572
- displayName: "United Kingdom",
573
- },
574
- {
575
- countryCode: "US",
576
- displayName: "United States",
577
- },
578
- ],
579
- allCurrencies: [
580
- {
581
- currencyCode: "CAD",
582
- displayName: "CAD",
583
- },
584
- {
585
- currencyCode: "GBP",
586
- displayName: "GBP",
587
- },
588
- {
589
- currencyCode: "USD",
590
- displayName: "USD",
591
- },
592
- ],
593
- },
594
- refs: {
595
- formRef: { current: null },
596
- currencyRef: { current: null },
597
- phoneCountryRef: { current: null },
598
- },
599
- };
600
- const stepTwoProps = {
601
- states: {
602
- step: "2",
603
- hideSteps: false,
604
- disabled: false,
605
- loading: false,
606
- isPartner: false,
607
- loadingError: false,
608
- formState: {
609
- checked: undefined,
610
- errors: {},
611
- },
612
- },
613
- callbacks: {
614
- onSubmit: async () => console.log("Submit"),
615
- onChange: () => console.log("Submit"),
616
- onBack: () => console.log("Submit"),
617
- onFormChange: (field, e) => console.log(field, e),
618
- onQstToggle: () => { },
619
- onSpainToggle: () => { },
620
- setCountrySearch: (c) => console.log(c),
621
- },
622
- data: {
623
- esRegions: INDIRECT_TAX_SPAIN_REGIONS,
624
- countries: [
625
- {
626
- countryCode: "CA",
627
- displayName: "Canada",
628
- },
629
- {
630
- countryCode: "ES",
631
- displayName: "Spain",
632
- },
633
- {
634
- countryCode: "UK",
635
- displayName: "United Kingdom",
636
- },
637
- {
638
- countryCode: "US",
639
- displayName: "United States",
640
- },
641
- ],
642
- allCountries: [
643
- {
644
- countryCode: "CA",
645
- displayName: "Canada",
646
- },
647
- {
648
- countryCode: "ES",
649
- displayName: "Spain",
650
- },
651
- {
652
- countryCode: "UK",
653
- displayName: "United Kingdom",
654
- },
655
- {
656
- countryCode: "US",
657
- displayName: "United States",
658
- },
659
- ],
660
- provinces: INDIRECT_TAX_PROVINCES,
661
- },
662
- slotProps: {
663
- formState: {
664
- errors: {},
665
- },
666
- },
667
- refs: { formRef: { current: null } },
668
- };
669
- const stepFourProps = {
670
- states: {
671
- showVerification: false,
672
- step: "4",
673
- hideSteps: false,
674
- disabled: false,
675
- loading: false,
676
- hasPayPal: false,
677
- isPartner: false,
678
- hideBackButton: false,
679
- saveDisabled: false,
680
- thresholds: [],
681
- loadingError: false,
682
- email: "test@example.com",
683
- formState: {
684
- paymentMethodChecked: "toBankAccount",
685
- },
686
- },
687
- callbacks: {
688
- onVerificationHide: () => { },
689
- onVerification: () => { },
690
- onSubmit: async () => console.log("Submit"),
691
- setPaymentMethodChecked: () => { },
692
- setPaymentScheduleChecked: () => { },
693
- onBack: async () => console.log("back"),
694
- setCountrySearch: () => { },
695
- },
696
- refs: { formRef: { current: null } },
697
- };
698
- const docusignFormProps = {
699
- states: {
700
- showExitButton: true,
701
- step: "3",
702
- urlLoading: false,
703
- docusignStatus: undefined,
704
- hideSteps: false,
705
- documentType: "W9",
706
- documentTypeString: "W9",
707
- loading: false,
708
- disabled: false,
709
- participantTypeDisabled: false,
710
- loadingError: false,
711
- formState: {
712
- participantType: "individualParticipant",
713
- errors: {},
714
- taxFormExpired: false,
715
- },
716
- },
717
- callbacks: {
718
- onExit: () => { },
719
- completeDocument: async () => { },
720
- setParticipantType: (p) => console.log({ p }),
721
- setDocusignStatus: (status) => console.log(status),
722
- },
723
- };
724
- const dashboardProps = {
725
- states: {
726
- veriffLoading: false,
727
- payoutStatus: "DONE",
728
- canEditPayoutInfo: true,
729
- disabled: false,
730
- status: "ACTIVE",
731
- documentType: "W9",
732
- documentTypeString: taxTypeToName("W9"),
733
- dateSubmitted: "Jan 18th, 2025",
734
- noFormNeeded: false,
735
- country: "United Kingdom",
736
- indirectTaxNumber: "123456",
737
- indirectTaxType: "VAT",
738
- showNewFormDialog: false,
739
- hasHold: false,
740
- },
741
- slots: {
742
- payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
743
- states: {
744
- badgeStatus: "nextPayout",
745
- },
746
- } })),
747
- },
748
- };
749
- const GeneralLoadingView = () => {
750
- return h(LoadingView, null);
751
- };
752
- const GeneralErrorView = () => {
753
- return (h(ErrorView, { loadingErrorAlertHeader: "There was a problem loading your form", loadingErrorAlertDescription: "Please refresh the page and try again. If this problem continues, contact our support team." }));
754
- };
755
- // STEP ONE
756
- const StepOne = () => {
757
- return h("sqm-user-info-form", { demoData: stepOneProps });
758
- };
759
- const StepOneLoading = () => {
760
- return (h("sqm-user-info-form", { demoData: {
761
- states: { ...stepOneProps.states, loading: true },
762
- } }));
763
- };
764
- const StepOneDisabled = () => {
765
- return (h("sqm-user-info-form", { demoData: {
766
- states: { ...stepOneProps.states, disabled: true },
767
- } }));
768
- };
769
- const StepOneIsUser = () => {
770
- return (h("sqm-user-info-form", { demoData: {
771
- states: { ...stepOneProps.states, isUser: true },
772
- } }));
773
- };
774
- const StepOneIsPartner = () => {
775
- return (h("sqm-user-info-form", { demoData: {
776
- states: { ...stepOneProps.states, disabled: true, isPartner: true },
777
- } }));
778
- };
779
- const StepOneWithErrors = () => {
780
- return (h("sqm-user-info-form", { demoData: {
781
- states: {
782
- ...stepOneProps.states,
783
- formState: {
784
- ...stepOneProps.states.formState,
785
- errors: {
786
- firstName: true,
787
- lastName: true,
788
- email: true,
789
- countryCode: true,
790
- currency: true,
791
- participantType: true,
792
- allowBankingCollection: true,
793
- },
794
- },
795
- },
796
- } }));
797
- };
798
- const StepOneWithGeneralError = () => {
799
- return (h("sqm-user-info-form", { demoData: {
800
- states: {
801
- ...stepOneProps.states,
802
- formState: {
803
- ...stepOneProps.states.formState,
804
- errors: {
805
- general: true,
806
- },
807
- },
808
- },
809
- } }));
810
- };
811
- const StepOneWithLoadingError = () => {
812
- return (h("sqm-user-info-form", { demoData: {
813
- states: {
814
- ...stepOneProps.states,
815
- loadingError: true,
816
- loading: true,
817
- formState: {
818
- ...stepOneProps.states.formState,
819
- },
820
- },
821
- } }));
822
- };
823
- // STEP TWO
824
- const StepTwoLoading = () => {
825
- return (h("sqm-indirect-tax-form", { demoData: {
826
- states: {
827
- ...stepTwoProps.states,
828
- loading: true,
829
- },
830
- } }));
831
- };
832
- const StepTwoLoadingError = () => {
833
- return (h("sqm-indirect-tax-form", { demoData: {
834
- states: {
835
- ...stepTwoProps.states,
836
- loading: true,
837
- loadingError: true,
838
- },
839
- } }));
840
- };
841
- const StepTwoDisabled = () => {
842
- return (h("sqm-indirect-tax-form", { demoData: {
843
- states: {
844
- ...stepTwoProps.states,
845
- disabled: true,
846
- },
847
- } }));
848
- };
849
- const StepTwoIsPartner = () => {
850
- return (h("sqm-indirect-tax-form", { demoData: {
851
- states: {
852
- ...stepTwoProps.states,
853
- isPartner: true,
854
- },
855
- } }));
856
- };
857
- const StepTwoWithGeneralError = () => {
858
- return (h("sqm-indirect-tax-form", { demoData: {
859
- states: {
860
- ...stepTwoProps.states,
861
- formState: {
862
- ...stepTwoProps.states.formState,
863
- errors: {
864
- general: true,
865
- },
866
- },
867
- },
868
- } }));
869
- };
870
- const StepTwoOtherRegionChecked = () => {
871
- return (h("sqm-indirect-tax-form", { demoData: {
872
- states: {
873
- ...stepTwoProps.states,
874
- formState: {
875
- ...stepTwoProps.states.formState,
876
- checked: "otherRegion",
877
- },
878
- },
879
- slotProps: {
880
- formState: {
881
- selectedRegion: "UK",
882
- indirectTaxNumber: "123456",
883
- errors: {},
884
- },
885
- },
886
- } }));
887
- };
888
- const StepTwoOtherRegionCheckedCanada = () => {
889
- return (h("sqm-indirect-tax-form", { demoData: {
890
- states: {
891
- ...stepTwoProps.states,
892
- formState: {
893
- ...stepTwoProps.states.formState,
894
- checked: "otherRegion",
895
- },
896
- },
897
- slotProps: {
898
- formState: {
899
- selectedRegion: "CA",
900
- province: "BRITISHCOLUMBIA",
901
- indirectTaxNumber: "123456",
902
- errors: {},
903
- },
904
- },
905
- } }));
906
- };
907
- const StepTwoOtherRegionCheckedCanadaGST = () => {
908
- return (h("sqm-indirect-tax-form", { demoData: {
909
- states: {
910
- ...stepTwoProps.states,
911
- formState: {
912
- ...stepTwoProps.states.formState,
913
- checked: "otherRegion",
914
- },
915
- },
916
- slotProps: {
917
- formState: {
918
- selectedRegion: "CA",
919
- province: "QUEBEC",
920
- indirectTaxNumber: "123456",
921
- errors: {},
922
- },
923
- },
924
- } }));
925
- };
926
- const StepTwoOtherRegionCheckedCanadaGSTAndQST = () => {
927
- return (h("sqm-indirect-tax-form", { demoData: {
928
- states: {
929
- ...stepTwoProps.states,
930
- formState: {
931
- ...stepTwoProps.states.formState,
932
- checked: "otherRegion",
933
- },
934
- },
935
- slotProps: {
936
- formState: {
937
- selectedRegion: "CA",
938
- province: "QUEBEC",
939
- qstNumber: "654321",
940
- hasQst: true,
941
- errors: {},
942
- },
943
- },
944
- } }));
945
- };
946
- const StepTwoOtherRegionCheckedOtherCountrySubRegion = () => {
947
- return (h("sqm-indirect-tax-form", { demoData: {
948
- states: {
949
- ...stepTwoProps.states,
950
- formState: {
951
- ...stepTwoProps.states.formState,
952
- checked: "otherRegion",
953
- },
954
- },
955
- slotProps: {
956
- formState: {
957
- selectedRegion: "ES",
958
- subRegion: "CANARYISLANDS",
959
- errors: {},
960
- },
961
- },
962
- } }));
963
- };
964
- const StepTwoOtherRegionCheckedOtherCountrySubRegionIncomeTax = () => {
965
- return (h("sqm-indirect-tax-form", { demoData: {
966
- states: {
967
- ...stepTwoProps.states,
968
- formState: {
969
- ...stepTwoProps.states.formState,
970
- checked: "otherRegion",
971
- },
972
- },
973
- slotProps: {
974
- formState: {
975
- selectedRegion: "ES",
976
- subRegion: "CANARYISLANDS",
977
- hasSubRegionTaxNumber: true,
978
- subRegionTaxNumber: "654321",
979
- errors: {},
980
- },
981
- },
982
- } }));
983
- };
984
- const StepTwoOtherRegionCheckedWithInputErrors = () => {
985
- return (h("sqm-indirect-tax-form", { demoData: {
986
- states: {
987
- ...stepTwoProps.states,
988
- formState: {
989
- checked: "otherRegion",
990
- errors: {},
991
- },
992
- },
993
- slotProps: {
994
- formState: {
995
- province: "",
996
- selectedRegion: "GB",
997
- errors: {
998
- selectedRegion: true,
999
- indirectTaxNumber: true,
1000
- },
1001
- },
1002
- },
1003
- } }));
1004
- };
1005
- const StepTwoOtherRegionCheckedCanadaWithProvinceError = () => {
1006
- return (h("sqm-indirect-tax-form", { demoData: {
1007
- states: {
1008
- ...stepTwoProps.states,
1009
- formState: {
1010
- ...stepTwoProps.states.formState,
1011
- checked: "otherRegion",
1012
- },
1013
- },
1014
- slotProps: {
1015
- formState: {
1016
- selectedRegion: "CA",
1017
- province: "BC",
1018
- errors: {
1019
- province: true,
1020
- indirectTaxNumber: true,
1021
- },
1022
- },
1023
- },
1024
- } }));
1025
- };
1026
- const StepTwoOtherRegionCheckedCanadaGSTAndQSTError = () => {
1027
- return (h("sqm-indirect-tax-form", { demoData: {
1028
- states: {
1029
- ...stepTwoProps.states,
1030
- formState: {
1031
- ...stepTwoProps.states.formState,
1032
- checked: "otherRegion",
1033
- },
1034
- },
1035
- slotProps: {
1036
- formState: {
1037
- selectedRegion: "CA",
1038
- province: "QUEBEC",
1039
- hasQst: true,
1040
- errors: {
1041
- province: true,
1042
- indirectTaxNumber: true,
1043
- qstNumber: true,
1044
- },
1045
- },
1046
- },
1047
- } }));
1048
- };
1049
- const StepTwoOtherRegionCheckedOtherCountrySubRegionErrors = () => {
1050
- return (h("sqm-indirect-tax-form", { demoData: {
1051
- states: {
1052
- ...stepTwoProps.states,
1053
- formState: {
1054
- ...stepTwoProps.states.formState,
1055
- checked: "otherRegion",
1056
- },
1057
- },
1058
- slotProps: {
1059
- formState: {
1060
- selectedRegion: "ES",
1061
- hasSubRegionTaxNumber: true,
1062
- errors: {
1063
- indirectTaxNumber: true,
1064
- subRegionTaxNumberError: true,
1065
- subRegion: true,
1066
- },
1067
- },
1068
- },
1069
- } }));
1070
- };
1071
- const StepTwoNotRegisteredChecked = () => {
1072
- return (h("sqm-indirect-tax-form", { demoData: {
1073
- states: {
1074
- ...stepTwoProps.states,
1075
- formState: {
1076
- ...stepTwoProps.states.formState,
1077
- checked: "notRegistered",
1078
- },
1079
- },
1080
- } }));
1081
- };
1082
- // STEP THREE
1083
- const StepThreeWithDocusign = () => {
1084
- return (h("sqm-docusign-form", { demoData: {
1085
- states: {
1086
- documentType: "W9",
1087
- documentTypeString: taxTypeToName("W9"),
1088
- ...docusignFormProps.states,
1089
- },
1090
- } }));
1091
- };
1092
- const StepThreeWithDocusignW8BEN = () => {
1093
- return (h("sqm-docusign-form", { demoData: {
1094
- states: {
1095
- ...docusignFormProps.states,
1096
- documentType: "W8BEN",
1097
- documentTypeString: taxTypeToName("W8BEN"),
1098
- },
1099
- } }));
1100
- };
1101
- const StepThreeWithDocusignW8BENE = () => {
1102
- return (h("sqm-docusign-form", { demoData: {
1103
- states: {
1104
- ...docusignFormProps.states,
1105
- documentType: "W8BENE",
1106
- documentTypeString: taxTypeToName("W8BENE"),
1107
- formState: {
1108
- taxFormExpired: false,
1109
- participantType: "businessEntity",
1110
- errors: {
1111
- participantType: "",
1112
- general: false,
1113
- },
1114
- },
1115
- },
1116
- } }));
1117
- };
1118
- const StepThreeWithDocusignExpired = () => {
1119
- return (h("sqm-docusign-form", { demoData: {
1120
- states: {
1121
- ...docusignFormProps.states,
1122
- docusignStatus: "ttl_expired",
1123
- formState: {
1124
- participantType: "individualParticipant",
1125
- taxFormExpired: true,
1126
- errors: {},
1127
- },
1128
- },
1129
- } }));
1130
- };
1131
- const StepThreeWithDocusignCompleted = () => {
1132
- return (h("sqm-docusign-form", { demoData: {
1133
- states: {
1134
- ...docusignFormProps.states,
1135
- docusignStatus: "signing_complete",
1136
- formState: {
1137
- participantType: "individualParticipant",
1138
- taxFormExpired: false,
1139
- errors: {},
1140
- },
1141
- },
1142
- } }));
1143
- };
1144
- const StepThreeDocusignWithError = () => {
1145
- return (h("sqm-docusign-form", { demoData: {
1146
- states: {
1147
- ...docusignFormProps.states,
1148
- docusignStatus: "exception",
1149
- formState: {
1150
- ...docusignFormProps.states.formState,
1151
- errors: {
1152
- formSubmission: true,
1153
- },
1154
- },
1155
- },
1156
- } }));
1157
- };
1158
- const StepThreeDocusignWithGeneralError = () => {
1159
- return (h("sqm-docusign-form", { demoData: {
1160
- states: {
1161
- ...docusignFormProps.states,
1162
- formState: {
1163
- ...docusignFormProps.states.formState,
1164
- errors: {
1165
- general: true,
1166
- },
1167
- },
1168
- },
1169
- } }));
1170
- };
1171
- const StepThreeDocusignWithLoadingError = () => {
1172
- return (h("sqm-docusign-form", { demoData: {
1173
- states: {
1174
- ...docusignFormProps.states,
1175
- loadingError: true,
1176
- formState: {
1177
- ...docusignFormProps.states.formState,
1178
- },
1179
- },
1180
- } }));
1181
- };
1182
- const StepThreeDocusignLoading = () => {
1183
- return (h("sqm-docusign-form", { demoData: {
1184
- states: {
1185
- ...docusignFormProps.states,
1186
- loading: true,
1187
- },
1188
- } }));
1189
- };
1190
- const StepThreeDocusignDisabled = () => {
1191
- return (h("sqm-docusign-form", { demoData: {
1192
- states: {
1193
- ...docusignFormProps.states,
1194
- disabled: true,
1195
- },
1196
- } }));
1197
- };
1198
- // STEP 4
1199
- const StepFourDefault = () => {
1200
- return h("sqm-banking-info-form", null);
1201
- };
1202
- const StepFourIsPartner = () => {
1203
- return (h("sqm-banking-info-form", { demoData: {
1204
- ...stepFourProps,
1205
- states: {
1206
- ...stepFourProps.states,
1207
- isPartner: true,
1208
- formState: {
1209
- ...stepFourProps.states.formState,
1210
- },
1211
- },
1212
- } }));
1213
- };
1214
- const StepFourDirectToBankChecked = () => {
1215
- return (h("sqm-banking-info-form", { demoData: {
1216
- ...stepFourProps,
1217
- states: {
1218
- ...stepFourProps.states,
1219
- formState: {
1220
- ...stepFourProps.states.formState,
1221
- },
1222
- },
1223
- } }));
1224
- };
1225
- const StepFourToPaypalChecked = () => {
1226
- return (h("sqm-banking-info-form", { demoData: {
1227
- ...stepFourProps,
1228
- states: {
1229
- ...stepFourProps.states,
1230
- formState: {
1231
- ...stepFourProps.states.formState,
1232
- paymentMethodChecked: "toPayPalAccount",
1233
- },
1234
- },
1235
- } }));
1236
- };
1237
- const StepFourReVerifyEmail = () => {
1238
- return (h("sqm-banking-info-form", { demoData: {
1239
- ...stepFourProps,
1240
- states: {
1241
- ...stepFourProps.states,
1242
- showVerification: true,
1243
- isPartner: true,
1244
- formState: {
1245
- ...stepFourProps.states.formState,
1246
- paymentMethodChecked: "toPayPalAccount",
1247
- },
1248
- },
1249
- } }));
1250
- };
1251
- const TaxAndCashDashboardActiveW9Form = () => {
1252
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1253
- ...dashboardProps,
1254
- } }));
1255
- };
1256
- const TaxAndCashDashboardActiveW8BENForm = () => {
1257
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1258
- ...dashboardProps,
1259
- states: {
1260
- payoutStatus: "DONE",
1261
- veriffLoading: false,
1262
- noFormNeeded: false,
1263
- canEditPayoutInfo: true,
1264
- documentType: "W8BEN",
1265
- documentTypeString: taxTypeToName("W8BEN"),
1266
- country: "United Kingdom",
1267
- indirectTaxType: "VAT",
1268
- indirectTaxNumber: "123456",
1269
- showNewFormDialog: false,
1270
- hasHold: false,
1271
- },
1272
- } }));
1273
- };
1274
- const TaxAndCashDashboardActiveW8BENEForm = () => {
1275
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1276
- ...dashboardProps,
1277
- states: {
1278
- payoutStatus: "DONE",
1279
- veriffLoading: false,
1280
- noFormNeeded: false,
1281
- canEditPayoutInfo: true,
1282
- documentType: "W8BENE",
1283
- documentTypeString: taxTypeToName("W8BENE"),
1284
- country: "United Kingdom",
1285
- indirectTaxType: "VAT",
1286
- indirectTaxNumber: "123456",
1287
- showNewFormDialog: false,
1288
- hasHold: false,
1289
- },
1290
- } }));
1291
- };
1292
- const TaxAndCashDashboardNotActiveW9Form = () => {
1293
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1294
- ...dashboardProps,
1295
- states: {
1296
- payoutStatus: "DONE",
1297
- veriffLoading: false,
1298
- noFormNeeded: false,
1299
- canEditPayoutInfo: true,
1300
- status: "INACTIVE",
1301
- documentType: "W9",
1302
- documentTypeString: taxTypeToName("W9"),
1303
- country: "United Kingdom",
1304
- indirectTaxType: "VAT",
1305
- indirectTaxNumber: "123456",
1306
- showNewFormDialog: false,
1307
- hasHold: false,
1308
- },
1309
- } }));
1310
- };
1311
- const TaxAndCashDashboardNotVerifiedW9Form = () => {
1312
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1313
- ...dashboardProps,
1314
- states: {
1315
- payoutStatus: "DONE",
1316
- canEditPayoutInfo: true,
1317
- disabled: false,
1318
- status: "NOT_VERIFIED",
1319
- documentType: "W9",
1320
- documentTypeString: taxTypeToName("W9"),
1321
- noFormNeeded: false,
1322
- country: "United States",
1323
- indirectTaxType: "VAT",
1324
- indirectTaxNumber: "123456",
1325
- showNewFormDialog: false,
1326
- hasHold: false,
1327
- veriffLoading: false,
1328
- },
1329
- } }));
1330
- };
1331
- const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
1332
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1333
- ...dashboardProps,
1334
- states: {
1335
- payoutStatus: "DONE",
1336
- veriffLoading: false,
1337
- canEditPayoutInfo: true,
1338
- disabled: false,
1339
- status: "NOT_VERIFIED",
1340
- documentType: "W8BEN",
1341
- documentTypeString: taxTypeToName("W8BEN"),
1342
- dateSubmitted: "Jan 18th, 2025",
1343
- noFormNeeded: false,
1344
- country: "United Kingdom",
1345
- indirectTaxType: "VAT",
1346
- indirectTaxNumber: "123456",
1347
- showNewFormDialog: false,
1348
- hasHold: false,
1349
- },
1350
- } }));
1351
- };
1352
- const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
1353
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1354
- ...dashboardProps,
1355
- states: {
1356
- payoutStatus: "DONE",
1357
- veriffLoading: false,
1358
- canEditPayoutInfo: true,
1359
- disabled: false,
1360
- status: "NOT_VERIFIED",
1361
- documentType: "W8BENE",
1362
- documentTypeString: taxTypeToName("W8BENE"),
1363
- dateSubmitted: "Jan 18th, 2025",
1364
- noFormNeeded: false,
1365
- country: "United Kingdom",
1366
- indirectTaxType: "VAT",
1367
- indirectTaxNumber: "123456",
1368
- showNewFormDialog: false,
1369
- hasHold: false,
1370
- },
1371
- } }));
1372
- };
1373
- const TaxAndCashDashboardNotActiveW8BENEForm = () => {
1374
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1375
- ...dashboardProps,
1376
- states: {
1377
- payoutStatus: "DONE",
1378
- veriffLoading: false,
1379
- canEditPayoutInfo: true,
1380
- disabled: false,
1381
- status: "NOT_ACTIVE",
1382
- documentType: "W8BENE",
1383
- documentTypeString: taxTypeToName("W8BENE"),
1384
- dateSubmitted: "Jan 18th, 2025",
1385
- noFormNeeded: false,
1386
- indirectTaxNumber: "123456",
1387
- indirectTaxType: "VAT",
1388
- country: "United Kingdom",
1389
- showNewFormDialog: false,
1390
- hasHold: false,
1391
- },
1392
- } }));
1393
- };
1394
- const TaxAndCashDashboardNoFormNeeded = () => {
1395
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1396
- ...dashboardProps,
1397
- states: {
1398
- payoutStatus: "DONE",
1399
- veriffLoading: false,
1400
- canEditPayoutInfo: true,
1401
- disabled: false,
1402
- documentType: "W9",
1403
- documentTypeString: taxTypeToName("W9"),
1404
- dateSubmitted: "Jan 18th, 2025",
1405
- noFormNeeded: true,
1406
- province: "Ontario",
1407
- country: "Canada",
1408
- indirectTaxNumber: "123456",
1409
- indirectTaxType: "GST",
1410
- showNewFormDialog: false,
1411
- hasHold: false,
1412
- },
1413
- } }));
1414
- };
1415
- const TaxAndCashDashboardIndirectTaxCanada = () => {
1416
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1417
- ...dashboardProps,
1418
- states: {
1419
- payoutStatus: "DONE",
1420
- veriffLoading: false,
1421
- canEditPayoutInfo: true,
1422
- status: "ACTIVE",
1423
- disabled: false,
1424
- documentType: "W8BENE",
1425
- documentTypeString: taxTypeToName("W8BENE"),
1426
- dateSubmitted: "Jan 18th, 2025",
1427
- noFormNeeded: false,
1428
- province: "Ontario",
1429
- country: "Canada",
1430
- indirectTaxType: "GST",
1431
- indirectTaxNumber: "123456",
1432
- showNewFormDialog: false,
1433
- hasHold: false,
1434
- },
1435
- } }));
1436
- };
1437
- const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
1438
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1439
- ...dashboardProps,
1440
- states: {
1441
- payoutStatus: "DONE",
1442
- veriffLoading: false,
1443
- canEditPayoutInfo: true,
1444
- status: "ACTIVE",
1445
- disabled: false,
1446
- documentType: "W8BENE",
1447
- documentTypeString: taxTypeToName("W8BENE"),
1448
- dateSubmitted: "Jan 18th, 2025",
1449
- noFormNeeded: false,
1450
- province: "Quebec",
1451
- country: "Canada",
1452
- indirectTaxType: "GST",
1453
- indirectTaxNumber: "123456",
1454
- qstNumber: "44212",
1455
- showNewFormDialog: false,
1456
- hasHold: false,
1457
- },
1458
- } }));
1459
- };
1460
- const TaxAndCashDashboardIndirectTaxSpain = () => {
1461
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1462
- ...dashboardProps,
1463
- states: {
1464
- payoutStatus: "DONE",
1465
- veriffLoading: false,
1466
- canEditPayoutInfo: true,
1467
- status: "ACTIVE",
1468
- disabled: false,
1469
- documentType: "W8BENE",
1470
- documentTypeString: taxTypeToName("W8BENE"),
1471
- dateSubmitted: "Jan 18th, 2025",
1472
- noFormNeeded: false,
1473
- country: "Spain",
1474
- subRegion: "Spain Proper",
1475
- indirectTaxType: "VAT",
1476
- indirectTaxNumber: "123456",
1477
- subRegionTaxNumber: "44212",
1478
- showNewFormDialog: false,
1479
- hasHold: false,
1480
- },
1481
- } }));
1482
- };
1483
- const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
1484
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1485
- ...dashboardProps,
1486
- states: {
1487
- payoutStatus: "DONE",
1488
- veriffLoading: false,
1489
- canEditPayoutInfo: true,
1490
- status: "ACTIVE",
1491
- documentType: "W8BEN",
1492
- documentTypeString: taxTypeToName("W8BEN"),
1493
- dateSubmitted: "Jan 18th, 2025",
1494
- noFormNeeded: false,
1495
- notRegistered: true,
1496
- showNewFormDialog: false,
1497
- hasHold: false,
1498
- },
1499
- } }));
1500
- };
1501
- const TaxAndCashDashboardIdentityVerifcationRequired = () => {
1502
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1503
- ...dashboardProps,
1504
- states: {
1505
- payoutStatus: "VERIFICATION:REQUIRED",
1506
- veriffLoading: false,
1507
- canEditPayoutInfo: true,
1508
- status: "ACTIVE",
1509
- documentType: "W8BEN",
1510
- documentTypeString: taxTypeToName("W8BEN"),
1511
- dateSubmitted: "Jan 18th, 2025",
1512
- noFormNeeded: false,
1513
- notRegistered: true,
1514
- showNewFormDialog: false,
1515
- hasHold: false,
1516
- },
1517
- } }));
1518
- };
1519
- const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
1520
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1521
- ...dashboardProps,
1522
- states: {
1523
- payoutStatus: "VERIFICATION:INTERNAL",
1524
- veriffLoading: false,
1525
- canEditPayoutInfo: true,
1526
- status: "ACTIVE",
1527
- documentType: "W8BEN",
1528
- documentTypeString: taxTypeToName("W8BEN"),
1529
- dateSubmitted: "Jan 18th, 2025",
1530
- noFormNeeded: false,
1531
- notRegistered: true,
1532
- showNewFormDialog: false,
1533
- hasHold: false,
1534
- },
1535
- } }));
1536
- };
1537
- const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
1538
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1539
- ...dashboardProps,
1540
- states: {
1541
- payoutStatus: "VERIFICATION:REVIEW",
1542
- veriffLoading: false,
1543
- canEditPayoutInfo: true,
1544
- status: "ACTIVE",
1545
- documentType: "W8BEN",
1546
- documentTypeString: taxTypeToName("W8BEN"),
1547
- dateSubmitted: "Jan 18th, 2025",
1548
- noFormNeeded: false,
1549
- notRegistered: true,
1550
- showNewFormDialog: false,
1551
- hasHold: false,
1552
- },
1553
- } }));
1554
- };
1555
- const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
1556
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1557
- ...dashboardProps,
1558
- states: {
1559
- payoutStatus: "VERIFICATION:FAILED",
1560
- veriffLoading: false,
1561
- canEditPayoutInfo: true,
1562
- status: "ACTIVE",
1563
- documentType: "W8BEN",
1564
- documentTypeString: taxTypeToName("W8BEN"),
1565
- dateSubmitted: "Jan 18th, 2025",
1566
- noFormNeeded: false,
1567
- notRegistered: true,
1568
- showNewFormDialog: false,
1569
- hasHold: false,
1570
- },
1571
- } }));
1572
- };
1573
- const TaxAndCashDashboardNewTaxForm = () => {
1574
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1575
- ...dashboardProps,
1576
- states: {
1577
- payoutStatus: "DONE",
1578
- veriffLoading: false,
1579
- canEditPayoutInfo: true,
1580
- status: "ACTIVE",
1581
- documentType: "W8BEN",
1582
- documentTypeString: taxTypeToName("W8BEN"),
1583
- dateSubmitted: "Jan 18th, 2025",
1584
- noFormNeeded: false,
1585
- notRegistered: true,
1586
- showNewFormDialog: true,
1587
- hasHold: false,
1588
- },
1589
- } }));
1590
- };
1591
- const TaxAndCashDashboardPayoutsOnHold = () => {
1592
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1593
- ...dashboardProps,
1594
- states: {
1595
- payoutStatus: "DONE",
1596
- veriffLoading: false,
1597
- canEditPayoutInfo: true,
1598
- disabled: true,
1599
- status: "ACTIVE",
1600
- documentType: "W8BEN",
1601
- documentTypeString: taxTypeToName("W8BEN"),
1602
- dateSubmitted: "Jan 18th, 2025",
1603
- noFormNeeded: false,
1604
- indirectTaxNumber: "123456",
1605
- country: "Slovania",
1606
- showNewFormDialog: false,
1607
- hasHold: true,
1608
- },
1609
- } }));
1610
- };
1611
- const TaxAndCashDashboardLoading = () => {
1612
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1613
- ...dashboardProps,
1614
- states: {
1615
- payoutStatus: "DONE",
1616
- veriffLoading: false,
1617
- canEditPayoutInfo: true,
1618
- disabled: false,
1619
- status: "ACTIVE",
1620
- documentType: "W9",
1621
- documentTypeString: taxTypeToName("W9"),
1622
- dateSubmitted: "Jan 18th, 2025",
1623
- noFormNeeded: false,
1624
- loading: true,
1625
- showNewFormDialog: false,
1626
- hasHold: false,
1627
- },
1628
- } }));
1629
- };
1630
- const TaxAndCashDashboardWithLoadingError = () => {
1631
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1632
- ...dashboardProps,
1633
- states: {
1634
- payoutStatus: "DONE",
1635
- veriffLoading: false,
1636
- disabled: false,
1637
- canEditPayoutInfo: true,
1638
- status: "ACTIVE",
1639
- documentType: "W9",
1640
- documentTypeString: taxTypeToName("W9"),
1641
- dateSubmitted: "Jan 18th, 2025",
1642
- noFormNeeded: false,
1643
- loading: true,
1644
- loadingError: true,
1645
- showNewFormDialog: false,
1646
- hasHold: false,
1647
- },
1648
- } }));
1649
- };
1650
- const TaxAndCashDashboardWithGeneralError = () => {
1651
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1652
- ...dashboardProps,
1653
- states: {
1654
- payoutStatus: "DONE",
1655
- veriffLoading: false,
1656
- canEditPayoutInfo: true,
1657
- disabled: false,
1658
- status: "ACTIVE",
1659
- documentType: "W9",
1660
- documentTypeString: taxTypeToName("W9"),
1661
- dateSubmitted: "Jan 18th, 2025",
1662
- noFormNeeded: false,
1663
- indirectTaxNumber: "123456",
1664
- indirectTaxType: "VAT",
1665
- country: "Slovania",
1666
- showNewFormDialog: false,
1667
- hasHold: false,
1668
- errors: {
1669
- general: true,
1670
- },
1671
- },
1672
- } }));
1673
- };
1674
- const TaxAndCashDashboardDisabled = () => {
1675
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1676
- ...dashboardProps,
1677
- states: {
1678
- payoutStatus: "DONE",
1679
- veriffLoading: false,
1680
- canEditPayoutInfo: true,
1681
- disabled: true,
1682
- status: "ACTIVE",
1683
- documentType: "W8BEN",
1684
- documentTypeString: taxTypeToName("W8BEN"),
1685
- dateSubmitted: "Jan 18th, 2025",
1686
- noFormNeeded: false,
1687
- indirectTaxNumber: "123456",
1688
- country: "Slovania",
1689
- showNewFormDialog: false,
1690
- hasHold: false,
1691
- },
1692
- } }));
1693
- };
1694
- const TaxAndCashTextProps = () => {
1695
- return (h("sqm-tax-and-cash", { demoData: {
1696
- // @ts-ignore
1697
- showTextProps: true,
1698
- } }));
1699
- };
1700
-
1701
- const TaxForm = /*#__PURE__*/Object.freeze({
1702
- __proto__: null,
1703
- 'default': TaxForm_stories,
1704
- GeneralLoadingView: GeneralLoadingView,
1705
- GeneralErrorView: GeneralErrorView,
1706
- StepOne: StepOne,
1707
- StepOneLoading: StepOneLoading,
1708
- StepOneDisabled: StepOneDisabled,
1709
- StepOneIsUser: StepOneIsUser,
1710
- StepOneIsPartner: StepOneIsPartner,
1711
- StepOneWithErrors: StepOneWithErrors,
1712
- StepOneWithGeneralError: StepOneWithGeneralError,
1713
- StepOneWithLoadingError: StepOneWithLoadingError,
1714
- StepTwoLoading: StepTwoLoading,
1715
- StepTwoLoadingError: StepTwoLoadingError,
1716
- StepTwoDisabled: StepTwoDisabled,
1717
- StepTwoIsPartner: StepTwoIsPartner,
1718
- StepTwoWithGeneralError: StepTwoWithGeneralError,
1719
- StepTwoOtherRegionChecked: StepTwoOtherRegionChecked,
1720
- StepTwoOtherRegionCheckedCanada: StepTwoOtherRegionCheckedCanada,
1721
- StepTwoOtherRegionCheckedCanadaGST: StepTwoOtherRegionCheckedCanadaGST,
1722
- StepTwoOtherRegionCheckedCanadaGSTAndQST: StepTwoOtherRegionCheckedCanadaGSTAndQST,
1723
- StepTwoOtherRegionCheckedOtherCountrySubRegion: StepTwoOtherRegionCheckedOtherCountrySubRegion,
1724
- StepTwoOtherRegionCheckedOtherCountrySubRegionIncomeTax: StepTwoOtherRegionCheckedOtherCountrySubRegionIncomeTax,
1725
- StepTwoOtherRegionCheckedWithInputErrors: StepTwoOtherRegionCheckedWithInputErrors,
1726
- StepTwoOtherRegionCheckedCanadaWithProvinceError: StepTwoOtherRegionCheckedCanadaWithProvinceError,
1727
- StepTwoOtherRegionCheckedCanadaGSTAndQSTError: StepTwoOtherRegionCheckedCanadaGSTAndQSTError,
1728
- StepTwoOtherRegionCheckedOtherCountrySubRegionErrors: StepTwoOtherRegionCheckedOtherCountrySubRegionErrors,
1729
- StepTwoNotRegisteredChecked: StepTwoNotRegisteredChecked,
1730
- StepThreeWithDocusign: StepThreeWithDocusign,
1731
- StepThreeWithDocusignW8BEN: StepThreeWithDocusignW8BEN,
1732
- StepThreeWithDocusignW8BENE: StepThreeWithDocusignW8BENE,
1733
- StepThreeWithDocusignExpired: StepThreeWithDocusignExpired,
1734
- StepThreeWithDocusignCompleted: StepThreeWithDocusignCompleted,
1735
- StepThreeDocusignWithError: StepThreeDocusignWithError,
1736
- StepThreeDocusignWithGeneralError: StepThreeDocusignWithGeneralError,
1737
- StepThreeDocusignWithLoadingError: StepThreeDocusignWithLoadingError,
1738
- StepThreeDocusignLoading: StepThreeDocusignLoading,
1739
- StepThreeDocusignDisabled: StepThreeDocusignDisabled,
1740
- StepFourDefault: StepFourDefault,
1741
- StepFourIsPartner: StepFourIsPartner,
1742
- StepFourDirectToBankChecked: StepFourDirectToBankChecked,
1743
- StepFourToPaypalChecked: StepFourToPaypalChecked,
1744
- StepFourReVerifyEmail: StepFourReVerifyEmail,
1745
- TaxAndCashDashboardActiveW9Form: TaxAndCashDashboardActiveW9Form,
1746
- TaxAndCashDashboardActiveW8BENForm: TaxAndCashDashboardActiveW8BENForm,
1747
- TaxAndCashDashboardActiveW8BENEForm: TaxAndCashDashboardActiveW8BENEForm,
1748
- TaxAndCashDashboardNotActiveW9Form: TaxAndCashDashboardNotActiveW9Form,
1749
- TaxAndCashDashboardNotVerifiedW9Form: TaxAndCashDashboardNotVerifiedW9Form,
1750
- TaxAndCashDashboardNotVerifiedW8BENForm: TaxAndCashDashboardNotVerifiedW8BENForm,
1751
- TaxAndCashDashboardNotVerifiedW8BENEForm: TaxAndCashDashboardNotVerifiedW8BENEForm,
1752
- TaxAndCashDashboardNotActiveW8BENEForm: TaxAndCashDashboardNotActiveW8BENEForm,
1753
- TaxAndCashDashboardNoFormNeeded: TaxAndCashDashboardNoFormNeeded,
1754
- TaxAndCashDashboardIndirectTaxCanada: TaxAndCashDashboardIndirectTaxCanada,
1755
- TaxAndCashDashboardIndirectTaxCanadaQuebec: TaxAndCashDashboardIndirectTaxCanadaQuebec,
1756
- TaxAndCashDashboardIndirectTaxSpain: TaxAndCashDashboardIndirectTaxSpain,
1757
- TaxAndCashDashboardIndirectTaxNotRegistered: TaxAndCashDashboardIndirectTaxNotRegistered,
1758
- TaxAndCashDashboardIdentityVerifcationRequired: TaxAndCashDashboardIdentityVerifcationRequired,
1759
- TaxAndCashDashboardIdentityVerifcationRequiredInternal: TaxAndCashDashboardIdentityVerifcationRequiredInternal,
1760
- TaxAndCashDashboardIdentityVerifcationReviewInternal: TaxAndCashDashboardIdentityVerifcationReviewInternal,
1761
- TaxAndCashDashboardIdentityVerifcationFailedInternal: TaxAndCashDashboardIdentityVerifcationFailedInternal,
1762
- TaxAndCashDashboardNewTaxForm: TaxAndCashDashboardNewTaxForm,
1763
- TaxAndCashDashboardPayoutsOnHold: TaxAndCashDashboardPayoutsOnHold,
1764
- TaxAndCashDashboardLoading: TaxAndCashDashboardLoading,
1765
- TaxAndCashDashboardWithLoadingError: TaxAndCashDashboardWithLoadingError,
1766
- TaxAndCashDashboardWithGeneralError: TaxAndCashDashboardWithGeneralError,
1767
- TaxAndCashDashboardDisabled: TaxAndCashDashboardDisabled,
1768
- TaxAndCashTextProps: TaxAndCashTextProps
1769
- });
1770
-
1771
- const vatLabels = {
1772
- GB: "VAT",
1773
- AU: "GST",
1774
- NZ: "GST",
1775
- CA: "HST",
1776
- AT: "VAT",
1777
- BE: "VAT",
1778
- BG: "VAT",
1779
- HR: "VAT",
1780
- CY: "VAT",
1781
- CZ: "VAT",
1782
- DK: "VAT",
1783
- EE: "VAT",
1784
- FI: "VAT",
1785
- FR: "VAT",
1786
- DE: "VAT",
1787
- GR: "VAT",
1788
- HU: "VAT",
1789
- IE: "VAT",
1790
- IT: "VAT",
1791
- LV: "VAT",
1792
- LT: "VAT",
1793
- LU: "VAT",
1794
- MT: "VAT",
1795
- NL: "VAT",
1796
- PL: "VAT",
1797
- PT: "VAT",
1798
- RO: "VAT",
1799
- SK: "VAT",
1800
- SI: "VAT",
1801
- ES: "VAT",
1802
- SE: "VAT",
1803
- IS: "VAT",
1804
- IN: "GST",
1805
- IL: "VAT",
1806
- JP: "CT",
1807
- MX: "VAT",
1808
- NO: "VAT",
1809
- SG: "GST",
1810
- ZA: "VAT",
1811
- KR: "VAT",
1812
- CH: "VAT",
1813
- TW: "VAT",
1814
- TH: "VAT",
1815
- PH: "VAT",
1816
- MY: "SST",
1817
- AE: "VAT",
1818
- TR: "VAT",
1819
- RU: "VAT",
1820
- };
1821
-
1822
- const style$1 = {
1823
- Container: {
1824
- width: "100%",
1825
- },
1826
- InputContainer: {
1827
- width: "100%",
1828
- display: "flex",
1829
- justifyContent: "flex-start",
1830
- flexDirection: "column",
1831
- gap: "16px",
1832
- padding: "16px",
1833
- maxWidth: "450px",
1834
- },
1835
- ConditionalInputsContainer: {
1836
- width: "100%",
1837
- display: "flex",
1838
- justifyContent: "flex-start",
1839
- flexDirection: "column",
1840
- gap: "16px",
1841
- },
1842
- HR: {
1843
- border: "1px solid #E0E0E0",
1844
- margin: "10px 0",
1845
- },
1846
- Input: { maxWidth: "500px" },
1847
- Checkbox: {
1848
- "&::part(control)": {
1849
- borderRadius: "0 !important",
1850
- },
1851
- },
1852
- SearchInput: {
1853
- padding: "var(--sl-spacing-x-small)",
1854
- },
1855
- ErrorInput: {
1856
- maxWidth: "500px",
1857
- "&::part(base)": {
1858
- border: "1px solid var(--sl-color-danger-500)",
1859
- borderRadius: "var(--sl-input-border-radius-medium)",
1860
- },
1861
- "&::part(help-text)": {
1862
- color: "var(--sl-color-danger-500)",
1863
- },
1864
- },
1865
- };
1866
- const sheet$1 = createStyleSheet(style$1);
1867
- const styleString$1 = sheet$1.toString();
1868
- const vanillaStyle = `
1869
- :host{
1870
- display: block;
1871
- }
1872
- * {
1873
- margin: 0;
1874
- padding: 0;
1875
- box-sizing: border-box;
1876
- }
1877
- `;
1878
- const OtherRegionSlotView = (props) => {
1879
- var _a, _b, _c;
1880
- const { states, states: { formState }, callbacks, text, } = props;
1881
- const { classes } = sheet$1;
1882
- const getTaxFieldLabel = (taxType) => {
1883
- return intl.formatMessage({
1884
- id: `tax-field-label${taxType}`,
1885
- defaultMessage: text.indirectTaxNumber,
1886
- }, { taxType });
1887
- };
1888
- const getTaxFieldError = (taxType) => {
1889
- return intl.formatMessage({
1890
- id: `tax-field-label${taxType}`,
1891
- defaultMessage: text.error.indirectTaxNumber,
1892
- }, { taxType });
1893
- };
1894
- const IndirectTaxNumberInput = ({ label, error, name, }) => {
1895
- var _a;
1896
- return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, label: label, disabled: states.loading || states.disabled, value: formState[name] }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a[name]) && {
1897
- class: classes.ErrorInput,
1898
- helpText: error,
1899
- }), { id: name, name: `/${name}` })));
1900
- };
1901
- const SpainFields = () => {
1902
- var _a, _b;
1903
- return (h("div", { class: classes.ConditionalInputsContainer },
1904
- h("sl-select", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, value: formState.subRegion, label: text.subRegion, disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1905
- class: classes.ErrorInput,
1906
- helpText: formatErrorMessage(text.subRegion, text.error.fieldRequiredError),
1907
- }), { id: "subRegion", name: "/subRegion" }), props.data.esRegions.map((r) => (h("sl-menu-item", { value: r.regionCode }, r.displayName)))),
1908
- h(IndirectTaxNumberInput, { name: "indirectTaxNumber", label: getTaxFieldLabel("VAT"), error: getTaxFieldError("VAT") }),
1909
- h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.hasSubRegionTaxNumber, "onSl-change": callbacks.onSpainToggle, disabled: states.disabled || states.isPartner }, text.isRegisteredSubRegionIncomeTax),
1910
- formState.hasSubRegionTaxNumber && (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, label: text.subRegionTaxNumberLabel, disabled: states.loading || states.disabled, value: formState.subRegionTaxNumber }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.subRegionTaxNumber) && {
1911
- class: classes.ErrorInput,
1912
- helpText: formatErrorMessage(text.subRegionTaxNumberLabel, text.error.fieldRequiredError),
1913
- }), { id: "subRegionTaxNumber", name: "/subRegionTaxNumber" })))));
1914
- };
1915
- const CanadaFields = () => {
1916
- var _a, _b;
1917
- const { classes } = sheet$1;
1918
- const currentTaxType = (_a = INDIRECT_TAX_PROVINCES === null || INDIRECT_TAX_PROVINCES === void 0 ? void 0 : INDIRECT_TAX_PROVINCES.find((p) => p.regionCode === formState.province)) === null || _a === void 0 ? void 0 : _a.taxType;
1919
- return (h("div", { class: classes.ConditionalInputsContainer },
1920
- h("sl-select", Object.assign({ required: true, value: formState.province, exportparts: "label: input-label, base: input-base", class: classes.Input, label: text.province, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("province", e) }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.province) && {
1921
- class: classes.ErrorInput,
1922
- helpText: formatErrorMessage(text.province, text.error.fieldRequiredError),
1923
- }), { id: "province", name: "/province" }), props.data.provinces.map((p) => (h("sl-menu-item", { value: p.regionCode }, p.displayName)))),
1924
- currentTaxType === "GST" && (h(IndirectTaxNumberInput, { label: getTaxFieldLabel("GST"), error: getTaxFieldError("GST"), name: "indirectTaxNumber" })),
1925
- currentTaxType === "HST" && (h(IndirectTaxNumberInput, { label: getTaxFieldLabel("HST"), error: getTaxFieldError("HST"), name: "indirectTaxNumber" })),
1926
- formState.province === "QUEBEC" && (h("div", { class: classes.ConditionalInputsContainer },
1927
- h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", "onSl-change": callbacks.onQstToggle, checked: formState.hasQst, disabled: states.isPartner || states.disabled }, text.isRegisteredQST),
1928
- formState.hasQst && (h(IndirectTaxNumberInput, { name: "qstNumber", label: text.qstNumber, error: formatErrorMessage(text.qstNumber, text.error.fieldRequiredError) }))))));
1929
- };
1930
- const getActiveForm = (selectedRegion) => {
1931
- var _a;
1932
- switch (selectedRegion) {
1933
- case "CA":
1934
- return h(CanadaFields, null);
1935
- case "ES":
1936
- return h(SpainFields, null);
1937
- default:
1938
- return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, value: formState.indirectTaxNumber, label: getTaxFieldLabel(vatLabels[selectedRegion] || "GENERAL"), disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1939
- class: classes.ErrorInput,
1940
- helpText: getTaxFieldError(vatLabels[selectedRegion] || "GENERAL"),
1941
- }), { id: "indirectTaxNumber", name: "/indirectTaxNumber" })));
1942
- }
1943
- };
1944
- const activeForm = getActiveForm(formState.selectedRegion);
1945
- return (h("div", { style: states.hide ? { display: "none" } : {} },
1946
- h("form", { class: classes.Container },
1947
- h("style", { type: "text/css" },
1948
- styleString$1,
1949
- vanillaStyle),
1950
- h("hr", { class: classes.HR }),
1951
- h("div", { class: classes.InputContainer },
1952
- h("sl-select", Object.assign({ required: true, class: classes.Input, value: formState.selectedRegion, exportparts: "label: input-label, base: input-base", label: text.selectedRegion, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("selectedRegion", e) }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.selectedRegion) && {
1953
- class: classes.ErrorInput,
1954
- helpText: formatErrorMessage(text.selectedRegion, text.error.fieldRequiredError),
1955
- }), { id: "selectedRegion", name: "/selectedRegion" }),
1956
- h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
1957
- // Stop shoelace intercepting key presses
1958
- e.stopPropagation();
1959
- }, "onSl-input": (e) => {
1960
- callbacks.setCountrySearch(e.target.value);
1961
- } }), (_b = props.data.countries) === null || _b === void 0 ? void 0 :
1962
- _b.map((c) => (h("sl-menu-item", { value: c.countryCode }, c.displayName))), (_c = props.data.allCountries) === null || _c === void 0 ? void 0 :
1963
- _c.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName)))),
1964
- activeForm),
1965
- h("hr", { class: classes.HR }))));
1966
- };
1967
-
1968
- const style$2 = {
1969
- Description: {
1970
- fontSize: "var(--sl-font-size-small)",
1971
- marginTop: "var(--sl-spacing-small)",
1972
- margin: "0 0 var(--sl-spacing-large)",
1973
- color: "var(--sqm-text-subdued)",
1974
- },
1975
- Header: {
1976
- fontSize: "var(--sl-font-size-large)",
1977
- fontWeight: "var(-sl-font-weight-semibold)",
1978
- margin: "0 0 var(--sl-spacing-xxx-small)",
1979
- },
1980
- Container: {},
1981
- InvoiceTableContaier: {
1982
- "& sl-details::part(base)": {
1983
- border: "none",
1984
- },
1985
- "& sl-details::part(content)": {
1986
- padding: 0,
1987
- },
1988
- "& sl-details::part(header)": {
1989
- fontSize: "var(--sl-font-size-medium)",
1990
- padding: "0px",
1991
- },
1992
- "& sl-details::part(summary)": {
1993
- fontWeight: "var(-sl-font-weight-semibold)",
1994
- },
1995
- "& sl-details::part(summary-icon)": {
1996
- marginRight: "100%",
1997
- marginLeft: "var(--sl-spacing-x-small)",
1998
- transform: "rotate(90deg)",
1999
- },
2000
- "& sl-details[open]::part(summary-icon)": {
2001
- transform: "rotate(270deg)",
2002
- },
2003
- },
2004
- };
2005
- function InvoiceTableView(props, children) {
2006
- const sheet = createStyleSheet(style$2);
2007
- const styleString = sheet.toString();
2008
- const vanillaStyle = `
2009
- :host{
2010
- display: block;
2011
- }`;
2012
- return (h("div", { class: sheet.classes.Container },
2013
- h("style", { type: "text/css" },
2014
- vanillaStyle,
2015
- styleString),
2016
- h("div", { class: sheet.classes.InvoiceTableContaier },
2017
- h("sl-details", { summary: props.header },
2018
- h("p", { class: sheet.classes.Description }, props.description),
2019
- children))));
2020
- }
2021
-
2022
- export { ADDRESS_REGIONS as A, GeneralLoadingView as G, InvoiceTableView as I, LoadingView as L, OtherRegionSlotView as O, TaxForm as T, INDIRECT_TAX_SPAIN_REGIONS as a, INDIRECT_TAX_PROVINCES as b, vatLabels as c, validateBillingField as d, formatErrorMessage as f, getCountryObj as g, objectIsFull as o, taxTypeToName as t, validTaxDocument as v };