@saasquatch/mint-components 1.15.0-46 → 1.15.0-47

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 (273) hide show
  1. package/dist/cjs/IndirectTaxDetailsView-4c0acb81.js +646 -0
  2. package/dist/cjs/{ShadowViewAddon-85d2eed4.js → ShadowViewAddon-299060ce.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-efecb6c8.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} +287 -1976
  9. package/dist/cjs/sqm-big-stat_42.cjs.entry.js +143 -165
  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-313a3d62.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-e7faaf7b.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 +4 -5
  22. package/dist/cjs/sqm-stencilbook.cjs.entry.js +12599 -11320
  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-116d7ec5.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 +2 -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 +4 -3
  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/ReferralTable.stories.js +2 -2
  36. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +6 -4
  37. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +2 -1
  38. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
  39. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
  40. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
  41. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
  42. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -2
  43. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -1
  44. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +1 -1
  45. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
  46. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +2 -1
  47. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +2 -1
  48. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +6 -5
  49. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +3 -2
  50. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +4 -3
  51. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
  52. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +4 -3
  53. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +5 -3
  54. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
  55. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  56. package/dist/collection/components/sqm-share-button/sqm-share-button.js +3 -3
  57. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +1 -1
  58. package/dist/collection/components/sqm-stencilbook/Themes.js +140 -162
  59. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +78 -78
  60. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  61. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
  62. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +42 -7
  63. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +12 -8
  64. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -1
  65. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
  66. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -1
  67. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +1 -1
  68. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +1 -1
  69. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
  70. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +2 -2
  71. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  72. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
  73. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
  74. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  75. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
  76. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +77 -28
  77. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
  78. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +19 -4
  79. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
  80. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +6 -5
  81. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  82. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
  83. package/dist/collection/global/styles.js +73 -58
  84. package/dist/collection/global/styles.ts +48 -40
  85. package/dist/collection/stories/PortalTemplates.stories.js +22 -30
  86. package/dist/collection/utils/parseStates.js +12 -0
  87. package/dist/esm/IndirectTaxDetailsView-7c8fb28e.js +639 -0
  88. package/dist/esm/{ShadowViewAddon-d59ef625.js → ShadowViewAddon-fe5ada08.js} +1017 -1017
  89. package/dist/esm/data-ce8ed0ae.js +121 -0
  90. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  91. package/dist/esm/{global-2da1dcec.js → global-28b9c531.js} +73 -58
  92. package/dist/esm/loader.js +2 -2
  93. package/dist/esm/mint-components.js +2 -2
  94. package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +211 -1893
  95. package/dist/esm/sqm-big-stat_42.entry.js +143 -165
  96. package/dist/esm/sqm-code-verification.entry.js +338 -0
  97. package/dist/esm/sqm-email-verification.entry.js +1 -1
  98. package/dist/esm/sqm-empty_4.entry.js +1 -1
  99. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
  100. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  101. package/dist/esm/sqm-pagination_3.entry.js +1 -1
  102. package/dist/esm/{sqm-portal-email-verification-view-e38ec8cc.js → sqm-portal-email-verification-view-db573324.js} +1 -1
  103. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  104. package/dist/esm/{sqm-portal-profile-view-e594d1ee.js → sqm-portal-profile-view-bd3dcf0e.js} +1 -1
  105. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  106. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  107. package/dist/esm/sqm-rewards-table_9.entry.js +4 -5
  108. package/dist/esm/sqm-stencilbook.entry.js +12595 -11316
  109. package/dist/esm/sqm-tax-and-cash.entry.js +1216 -0
  110. package/dist/esm/sqm-widget-verification-controller.entry.js +12 -4
  111. package/dist/esm/sqm-widget-verification.entry.js +17 -7
  112. package/dist/esm/{usePayoutStatus-3768c8c3.js → usePayoutStatus-e92a6e43.js} +8 -5
  113. package/dist/esm/utils-0dc9e217.js +97 -0
  114. package/dist/esm-es5/IndirectTaxDetailsView-7c8fb28e.js +1 -0
  115. package/dist/esm-es5/ShadowViewAddon-fe5ada08.js +1 -0
  116. package/dist/esm-es5/data-ce8ed0ae.js +1 -0
  117. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  118. package/dist/esm-es5/{global-2da1dcec.js → global-28b9c531.js} +4 -4
  119. package/dist/esm-es5/loader.js +1 -1
  120. package/dist/esm-es5/mint-components.js +1 -1
  121. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
  122. package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
  123. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  124. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  125. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  126. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
  127. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  128. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  129. package/dist/esm-es5/{sqm-portal-email-verification-view-e38ec8cc.js → sqm-portal-email-verification-view-db573324.js} +1 -1
  130. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  131. package/dist/esm-es5/{sqm-portal-profile-view-e594d1ee.js → sqm-portal-profile-view-bd3dcf0e.js} +1 -1
  132. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  133. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  134. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  135. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  136. package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
  137. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  138. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  139. package/dist/esm-es5/{usePayoutStatus-3768c8c3.js → usePayoutStatus-e92a6e43.js} +2 -2
  140. package/dist/esm-es5/utils-0dc9e217.js +1 -0
  141. package/dist/mint-components/global/styles.ts +48 -40
  142. package/dist/mint-components/mint-components.esm.js +1 -1
  143. package/dist/mint-components/mint-components.js +1 -1
  144. package/dist/mint-components/p-0304f99e.system.js +1 -0
  145. package/dist/mint-components/{p-7daa731c.system.js → p-06061ea4.system.js} +1 -1
  146. package/dist/mint-components/p-0797a946.js +1 -0
  147. package/dist/mint-components/p-13485ce6.entry.js +1 -0
  148. package/dist/mint-components/p-192c1de0.system.js +1 -0
  149. package/dist/mint-components/p-1e79befd.entry.js +1 -0
  150. package/dist/mint-components/p-1eaf3ce4.system.entry.js +1 -0
  151. package/dist/mint-components/{p-9fcc7901.system.entry.js → p-1ed6da99.system.entry.js} +1 -1
  152. package/dist/mint-components/p-2378a0dd.entry.js +16 -0
  153. package/dist/mint-components/{p-0019d57c.entry.js → p-2a056c5e.entry.js} +1 -1
  154. package/dist/mint-components/p-3206d0a4.js +103 -0
  155. package/dist/mint-components/p-3fbb70c4.system.entry.js +1 -0
  156. package/dist/mint-components/{p-e1e96de9.entry.js → p-454b0d9a.entry.js} +19 -19
  157. package/dist/mint-components/{p-7dac5a58.system.entry.js → p-489acd82.system.entry.js} +1 -1
  158. package/dist/mint-components/{p-b090bbd2.js → p-4abb01c8.js} +1 -1
  159. package/dist/mint-components/{p-5125ec72.system.entry.js → p-4c2252a4.system.entry.js} +1 -1
  160. package/dist/mint-components/p-505977d4.js +1 -0
  161. package/dist/mint-components/p-5088a459.system.entry.js +1 -0
  162. package/dist/mint-components/p-661b264a.system.js +1 -0
  163. package/dist/mint-components/{p-7953c3da.entry.js → p-687b5dcb.entry.js} +1 -1
  164. package/dist/mint-components/p-6b528b15.entry.js +11 -0
  165. package/dist/mint-components/{p-73069eba.entry.js → p-7c07d7cd.entry.js} +1 -1
  166. package/dist/mint-components/p-7dc10820.system.js +1 -0
  167. package/dist/mint-components/{p-d4e49019.entry.js → p-80ee389c.entry.js} +1 -1
  168. package/dist/mint-components/p-8c126ccb.system.entry.js +1 -0
  169. package/dist/mint-components/{p-f2c48bc8.entry.js → p-8f55e46e.entry.js} +1 -1
  170. package/dist/mint-components/{p-232996b5.system.entry.js → p-907f6cd2.system.entry.js} +1 -1
  171. package/dist/mint-components/{p-7aba33e1.js → p-9b4c25cb.js} +1 -1
  172. package/dist/mint-components/p-9df8a483.entry.js +9 -0
  173. package/dist/mint-components/{p-3466bfaa.js → p-a341ce23.js} +2 -2
  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-7ae3ec51.system.js → p-aba19648.system.js} +1 -1
  177. package/dist/mint-components/p-b5ad3804.js +394 -0
  178. package/dist/mint-components/p-b6d4f014.system.entry.js +1 -0
  179. package/dist/mint-components/p-b7e6d975.system.entry.js +1 -0
  180. package/dist/mint-components/{p-fad1752b.system.entry.js → p-c6c10a57.system.entry.js} +1 -1
  181. package/dist/mint-components/p-cf9ff8bd.system.js +1 -0
  182. package/dist/mint-components/p-d4c1480f.entry.js +93 -0
  183. package/dist/mint-components/{p-761ee9ea.entry.js → p-dc9639c9.entry.js} +2 -2
  184. package/dist/mint-components/{p-4ce7e3b1.entry.js → p-de5f6446.entry.js} +1 -1
  185. package/dist/mint-components/{p-d49373b7.system.js → p-e05bd4f8.system.js} +1 -1
  186. package/dist/mint-components/p-e524056f.entry.js +1 -0
  187. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  188. package/dist/mint-components/p-e76767f4.js +1 -0
  189. package/dist/mint-components/{p-28aed7f7.system.entry.js → p-e93bbfed.system.entry.js} +1 -1
  190. package/dist/mint-components/p-f2ebbbe3.system.entry.js +1 -0
  191. package/dist/mint-components/{p-cc5f9775.system.entry.js → p-f4f0151b.system.entry.js} +1 -1
  192. package/dist/mint-components/{p-f3a52eb6.js → p-f67e3d90.js} +1 -1
  193. package/dist/mint-components/{p-836d3ec7.entry.js → p-fae6223c.entry.js} +2 -2
  194. package/dist/mint-components/{p-e70d8201.system.entry.js → p-fecc18f3.system.entry.js} +1 -1
  195. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
  196. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
  197. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
  198. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +2 -1
  199. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
  200. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
  201. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +1 -0
  202. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +3 -3
  203. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
  204. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +1 -0
  205. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
  206. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
  207. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
  208. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
  209. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
  210. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
  211. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -0
  212. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
  213. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
  214. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
  215. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
  216. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
  217. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -1
  218. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +3 -2
  219. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
  220. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +3 -2
  221. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +2 -1
  222. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
  223. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
  224. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
  225. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
  226. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +3 -3
  227. package/dist/types/components/sqm-stencilbook/Themes.d.ts +5 -4
  228. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
  229. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +6 -1
  230. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -1
  231. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
  232. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
  233. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
  234. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
  235. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -4
  236. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  237. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
  238. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  239. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  240. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  241. package/dist/types/components.d.ts +51 -7
  242. package/dist/types/global/styles.d.ts +2 -1
  243. package/dist/types/saasquatch.d.ts +106 -50
  244. package/dist/types/utils/parseStates.d.ts +1 -0
  245. package/docs/docs.docx +0 -0
  246. package/docs/raisins.json +1 -1
  247. package/grapesjs/grapesjs.js +1 -1
  248. package/package.json +2 -1
  249. package/dist/cjs/sqm-invoice-table-view-90b2433f.js +0 -2038
  250. package/dist/esm/sqm-invoice-table-view-df370e4a.js +0 -2022
  251. package/dist/esm-es5/ShadowViewAddon-d59ef625.js +0 -1
  252. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  253. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
  254. package/dist/esm-es5/sqm-invoice-table-view-df370e4a.js +0 -1
  255. package/dist/mint-components/p-04cc08e7.system.entry.js +0 -1
  256. package/dist/mint-components/p-097a255f.js +0 -1
  257. package/dist/mint-components/p-15ad1e97.entry.js +0 -16
  258. package/dist/mint-components/p-16c55bb4.entry.js +0 -205
  259. package/dist/mint-components/p-26468242.js +0 -1
  260. package/dist/mint-components/p-31b8f0ca.system.js +0 -1
  261. package/dist/mint-components/p-62d924e6.system.entry.js +0 -1
  262. package/dist/mint-components/p-6bcac9ed.system.entry.js +0 -1
  263. package/dist/mint-components/p-7b97c0f4.system.entry.js +0 -1
  264. package/dist/mint-components/p-a121e5a1.system.entry.js +0 -1
  265. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  266. package/dist/mint-components/p-bfe08ca4.system.js +0 -1
  267. package/dist/mint-components/p-c53bd5bd.entry.js +0 -9
  268. package/dist/mint-components/p-e53c3c6e.system.js +0 -1
  269. package/dist/mint-components/p-f3558ef0.js +0 -394
  270. package/dist/mint-components/p-f66ccd51.entry.js +0 -1
  271. package/shoelace/assets/icons/twitter-x.svg +0 -4
  272. /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
  273. /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
@@ -70,8 +70,7 @@
70
70
  --teal-6: #0b6270;
71
71
  --teal-7: #004551;
72
72
  } */
73
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90;
74
- console.log("The input hover color is ", (_a = window.SquatchBrandingConfig.inputs) === null || _a === void 0 ? void 0 : _a.hoverBorderColor);
73
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89;
75
74
  const style = `
76
75
  /* vietnamese */
77
76
  @font-face {
@@ -571,31 +570,34 @@ html {
571
570
  --sqm-color-text-error: #e63717;
572
571
  --sqm-content-max-width: 700px;
573
572
  --sqm-content-background: var(--sl-color-white);
574
- --sqm-portal-background: ${((_c = (_b = window.SquatchBrandingConfig) === null || _b === void 0 ? void 0 : _b.color) === null || _c === void 0 ? void 0 : _c.background) || "#121212"};
573
+ --sqm-portal-background: ${((_b = (_a = window.SquatchBrandingConfig) === null || _a === void 0 ? void 0 : _a.color) === null || _b === void 0 ? void 0 : _b.backgroundColor) || "#121212"};
575
574
  --widget-background-color: var(--sl-color-white);
576
575
  --sqm-portal-main-width: 900px;
577
576
  --sqm-max-width: 100%;
578
577
  --sqm-skeleton-background: #eee;
579
- --sqm-text: ${((_d = window.SquatchBrandingConfig) === null || _d === void 0 ? void 0 : _d.font.textColor) || "white"};
580
- --sqm-text-subdued: ${((_e = window.SquatchBrandingConfig) === null || _e === void 0 ? void 0 : _e.font.secondaryTextColor) || "#b3b3b3"};
581
-
582
- --sqm-primary-color: ${((_g = (_f = window.SquatchBrandingConfig) === null || _f === void 0 ? void 0 : _f.color) === null || _g === void 0 ? void 0 : _g.primaryColor) || "#1ed760"};
583
- --sqm-primary-button-background:${((_j = (_h = window.SquatchBrandingConfig) === null || _h === void 0 ? void 0 : _h.primaryButton) === null || _j === void 0 ? void 0 : _j.buttonColor) || "#1ed760"};
584
- --sqm-primary-button-background-hover: ${((_l = (_k = window.SquatchBrandingConfig) === null || _k === void 0 ? void 0 : _k.primaryButton) === null || _l === void 0 ? void 0 : _l.hoverColor) || "#1ed760"};
585
- --sqm-primary-button-color: ${((_o = (_m = window.SquatchBrandingConfig) === null || _m === void 0 ? void 0 : _m.primaryButton) === null || _o === void 0 ? void 0 : _o.buttonTextColor) || "#FFFFFF"};
586
- --sqm-primary-button-color-border: ${((_q = (_p = window.SquatchBrandingConfig) === null || _p === void 0 ? void 0 : _p.primaryButton) === null || _q === void 0 ? void 0 : _q.buttonBorderColor) ||
578
+ --sqm-text: ${((_e = (_d = (_c = window.SquatchBrandingConfig) === null || _c === void 0 ? void 0 : _c.color) === null || _d === void 0 ? void 0 : _d.textColorShades) === null || _e === void 0 ? void 0 : _e.mainText) || "white"};
579
+ --sqm-text-subdued: ${((_h = (_g = (_f = window.SquatchBrandingConfig) === null || _f === void 0 ? void 0 : _f.color) === null || _g === void 0 ? void 0 : _g.textColorShades) === null || _h === void 0 ? void 0 : _h.subduedText) ||
580
+ "#b3b3b3"};
581
+
582
+ --sqm-primary-color: ${((_k = (_j = window.SquatchBrandingConfig) === null || _j === void 0 ? void 0 : _j.main) === null || _k === void 0 ? void 0 : _k.brandColor) || "#1ed760"};
583
+ --sqm-primary-button-background:${((_m = (_l = window.SquatchBrandingConfig) === null || _l === void 0 ? void 0 : _l.primaryButton) === null || _m === void 0 ? void 0 : _m.buttonColor) || "#1ed760"};
584
+ --sqm-primary-button-background-hover: ${((_q = (_p = (_o = window.SquatchBrandingConfig) === null || _o === void 0 ? void 0 : _o.primaryButton) === null || _p === void 0 ? void 0 : _p.buttonHoverColor) === null || _q === void 0 ? void 0 : _q.background) ||
585
+ "#1ed760"};
586
+ --sqm-primary-button-color: ${((_t = (_s = (_r = window.SquatchBrandingConfig) === null || _r === void 0 ? void 0 : _r.primaryButton) === null || _s === void 0 ? void 0 : _s.buttonColor) === null || _t === void 0 ? void 0 : _t.label) || "#FFFFFF"};
587
+ --sqm-primary-button-color-border: ${((_w = (_v = (_u = window.SquatchBrandingConfig) === null || _u === void 0 ? void 0 : _u.primaryButton) === null || _v === void 0 ? void 0 : _v.buttonColor) === null || _w === void 0 ? void 0 : _w.border) ||
587
588
  "transparent"};
588
- --sqm-primary-button-radius: ${((_s = (_r = window.SquatchBrandingConfig) === null || _r === void 0 ? void 0 : _r.primaryButton) === null || _s === void 0 ? void 0 : _s.borderRadius) || "4px"};
589
+ --sqm-primary-button-radius: ${((_y = (_x = window.SquatchBrandingConfig) === null || _x === void 0 ? void 0 : _x.primaryButton) === null || _y === void 0 ? void 0 : _y.borderRadius) || "4px"};
589
590
 
590
591
 
591
- --sqm-secondary-button-background: ${((_u = (_t = window.SquatchBrandingConfig) === null || _t === void 0 ? void 0 : _t.secondaryButton) === null || _u === void 0 ? void 0 : _u.buttonColor) || "#191414"};
592
- --sqm-secondary-button-background-hover: ${((_w = (_v = window.SquatchBrandingConfig) === null || _v === void 0 ? void 0 : _v.secondaryButton) === null || _w === void 0 ? void 0 : _w.hoverColor) || "#282828"};
592
+ --sqm-secondary-button-background: ${((_0 = (_z = window.SquatchBrandingConfig) === null || _z === void 0 ? void 0 : _z.secondaryButton) === null || _0 === void 0 ? void 0 : _0.buttonColor) || "#191414"};
593
+ --sqm-secondary-button-background-hover: ${((_3 = (_2 = (_1 = window.SquatchBrandingConfig) === null || _1 === void 0 ? void 0 : _1.secondaryButton) === null || _2 === void 0 ? void 0 : _2.buttonHoverColor) === null || _3 === void 0 ? void 0 : _3.background) || "#282828"};
593
594
 
594
595
 
595
- --sqm-secondary-button-color: ${((_y = (_x = window.SquatchBrandingConfig) === null || _x === void 0 ? void 0 : _x.secondaryButton) === null || _y === void 0 ? void 0 : _y.buttonTextColor) || "#FFFFFF"};
596
- --sqm-secondary-button-color-border: ${((_0 = (_z = window.SquatchBrandingConfig) === null || _z === void 0 ? void 0 : _z.secondaryButton) === null || _0 === void 0 ? void 0 : _0.buttonBorderColor) ||
596
+ --sqm-secondary-button-color: ${((_6 = (_5 = (_4 = window.SquatchBrandingConfig) === null || _4 === void 0 ? void 0 : _4.secondaryButton) === null || _5 === void 0 ? void 0 : _5.buttonHoverColor) === null || _6 === void 0 ? void 0 : _6.label) ||
597
+ "#FFFFFF"};
598
+ --sqm-secondary-button-color-border: ${((_9 = (_8 = (_7 = window.SquatchBrandingConfig) === null || _7 === void 0 ? void 0 : _7.secondaryButton) === null || _8 === void 0 ? void 0 : _8.buttonHoverColor) === null || _9 === void 0 ? void 0 : _9.border) ||
597
599
  "#FFFFFF"};
598
- --sqm-secondary-button-radius: ${((_2 = (_1 = window.SquatchBrandingConfig) === null || _1 === void 0 ? void 0 : _1.secondaryButton) === null || _2 === void 0 ? void 0 : _2.borderRadius) || "30px"};
600
+ --sqm-secondary-button-radius: ${((_11 = (_10 = window.SquatchBrandingConfig) === null || _10 === void 0 ? void 0 : _10.secondaryButton) === null || _11 === void 0 ? void 0 : _11.borderRadius) || "30px"};
599
601
 
600
602
  --sqm-tertiary-button-background: transparent;
601
603
  --sqm-tertiary-button-background-hover: var(--sqm-primary-color);
@@ -603,65 +605,78 @@ html {
603
605
  --sqm-tertiary-button-color-border: transparent;
604
606
  --sqm-tertiary-button-radius: 30px;
605
607
 
606
- --sqm-border-radius-normal: ${((_4 = (_3 = window.SquatchBrandingConfig) === null || _3 === void 0 ? void 0 : _3.border) === null || _4 === void 0 ? void 0 : _4.radius) || "18px"};
607
- --sqm-border-color: ${((_6 = (_5 = window.SquatchBrandingConfig) === null || _5 === void 0 ? void 0 : _5.border) === null || _6 === void 0 ? void 0 : _6.color) || "white"};
608
-
609
- --sqm-border-thickness: ${((_8 = (_7 = window.SquatchBrandingConfig) === null || _7 === void 0 ? void 0 : _7.border) === null || _8 === void 0 ? void 0 : _8.thickness) || "1px"};
610
-
611
- --sqm-accent-color-icon: ${((_11 = (_10 = (_9 = window.SquatchBrandingConfig) === null || _9 === void 0 ? void 0 : _9.color) === null || _10 === void 0 ? void 0 : _10.accentColorShades) === null || _11 === void 0 ? void 0 : _11.iconAndBadge) ||
612
- "#1ed760"};
613
- --sqm-accent-color-text: ${((_14 = (_13 = (_12 = window.SquatchBrandingConfig) === null || _12 === void 0 ? void 0 : _12.color) === null || _13 === void 0 ? void 0 : _13.accentColorShades) === null || _14 === void 0 ? void 0 : _14.text) || "#fff"};
614
- --sqm-accent-color-border: ${((_17 = (_16 = (_15 = window.SquatchBrandingConfig) === null || _15 === void 0 ? void 0 : _15.color) === null || _16 === void 0 ? void 0 : _16.accentColorShades) === null || _17 === void 0 ? void 0 : _17.border) || "#1ed760"};
615
- --sqm-accent-color-background: ${((_20 = (_19 = (_18 = window.SquatchBrandingConfig) === null || _18 === void 0 ? void 0 : _18.color) === null || _19 === void 0 ? void 0 : _19.accentColorShades) === null || _20 === void 0 ? void 0 : _20.background) ||
608
+ --sqm-border-radius-normal: ${
609
+ // window.SquatchBrandingConfig?.border?.radius || "18px"
610
+ "18px"};
611
+ --sqm-border-color: ${
612
+ // window.SquatchBrandingConfig?.border?.color || "white"
613
+ "white"};
614
+
615
+ --sqm-border-thickness: ${
616
+ // window.SquatchBrandingConfig?.border?.thickness || "1px"
617
+ "1px"};
618
+
619
+ --sqm-accent-color-icon: ${((_14 = (_13 = (_12 = window.SquatchBrandingConfig) === null || _12 === void 0 ? void 0 : _12.color) === null || _13 === void 0 ? void 0 : _13.accentColorShades) === null || _14 === void 0 ? void 0 : _14.icon) || "#1ed760"};
620
+ --sqm-accent-color-text: ${((_17 = (_16 = (_15 = window.SquatchBrandingConfig) === null || _15 === void 0 ? void 0 : _15.color) === null || _16 === void 0 ? void 0 : _16.accentColorShades) === null || _17 === void 0 ? void 0 : _17.text) || "#fff"};
621
+ --sqm-accent-color-border: ${((_20 = (_19 = (_18 = window.SquatchBrandingConfig) === null || _18 === void 0 ? void 0 : _18.color) === null || _19 === void 0 ? void 0 : _19.accentColorShades) === null || _20 === void 0 ? void 0 : _20.border) || "#1ed760"};
622
+ --sqm-accent-color-background: ${((_23 = (_22 = (_21 = window.SquatchBrandingConfig) === null || _21 === void 0 ? void 0 : _21.color) === null || _22 === void 0 ? void 0 : _22.accentColorShades) === null || _23 === void 0 ? void 0 : _23.background) ||
616
623
  "#0d4a27"};
617
624
 
618
- --sqm-success-color-icon: ${((_23 = (_22 = (_21 = window.SquatchBrandingConfig) === null || _21 === void 0 ? void 0 : _21.color) === null || _22 === void 0 ? void 0 : _22.success) === null || _23 === void 0 ? void 0 : _23.iconAndBadge) ||
625
+ --sqm-success-color-icon: ${((_26 = (_25 = (_24 = window.SquatchBrandingConfig) === null || _24 === void 0 ? void 0 : _24.color) === null || _25 === void 0 ? void 0 : _25.success) === null || _26 === void 0 ? void 0 : _26.iconAndBadge) ||
619
626
  "var(--sl-color-success-600)"};
620
- --sqm-success-color-text: ${((_26 = (_25 = (_24 = window.SquatchBrandingConfig) === null || _24 === void 0 ? void 0 : _24.color) === null || _25 === void 0 ? void 0 : _25.success) === null || _26 === void 0 ? void 0 : _26.text) ||
627
+ --sqm-success-color-text: ${((_29 = (_28 = (_27 = window.SquatchBrandingConfig) === null || _27 === void 0 ? void 0 : _27.color) === null || _28 === void 0 ? void 0 : _28.success) === null || _29 === void 0 ? void 0 : _29.text) ||
621
628
  "var(--sl-color-success-950)"};
622
- --sqm-success-color-border: ${((_29 = (_28 = (_27 = window.SquatchBrandingConfig) === null || _27 === void 0 ? void 0 : _27.color) === null || _28 === void 0 ? void 0 : _28.success) === null || _29 === void 0 ? void 0 : _29.border) ||
629
+ --sqm-success-color-border: ${((_32 = (_31 = (_30 = window.SquatchBrandingConfig) === null || _30 === void 0 ? void 0 : _30.color) === null || _31 === void 0 ? void 0 : _31.success) === null || _32 === void 0 ? void 0 : _32.border) ||
623
630
  "var(--sl-color-success-400)"};
624
- --sqm-success-color-background: ${((_32 = (_31 = (_30 = window.SquatchBrandingConfig) === null || _30 === void 0 ? void 0 : _30.color) === null || _31 === void 0 ? void 0 : _31.success) === null || _32 === void 0 ? void 0 : _32.background) ||
631
+ --sqm-success-color-background: ${((_35 = (_34 = (_33 = window.SquatchBrandingConfig) === null || _33 === void 0 ? void 0 : _33.color) === null || _34 === void 0 ? void 0 : _34.success) === null || _35 === void 0 ? void 0 : _35.background) ||
625
632
  "var(--sl-color-success-300)"};
626
633
 
627
- --sqm-warning-color-icon: ${((_35 = (_34 = (_33 = window.SquatchBrandingConfig) === null || _33 === void 0 ? void 0 : _33.color) === null || _34 === void 0 ? void 0 : _34.warning) === null || _35 === void 0 ? void 0 : _35.iconAndBadge) ||
634
+ --sqm-warning-color-icon: ${((_38 = (_37 = (_36 = window.SquatchBrandingConfig) === null || _36 === void 0 ? void 0 : _36.color) === null || _37 === void 0 ? void 0 : _37.warning) === null || _38 === void 0 ? void 0 : _38.iconAndBadge) ||
628
635
  "var(--sl-color-warning-600)"};
629
- --sqm-warning-color-text: ${((_38 = (_37 = (_36 = window.SquatchBrandingConfig) === null || _36 === void 0 ? void 0 : _36.color) === null || _37 === void 0 ? void 0 : _37.warning) === null || _38 === void 0 ? void 0 : _38.text) ||
636
+ --sqm-warning-color-text: ${((_41 = (_40 = (_39 = window.SquatchBrandingConfig) === null || _39 === void 0 ? void 0 : _39.color) === null || _40 === void 0 ? void 0 : _40.warning) === null || _41 === void 0 ? void 0 : _41.text) ||
630
637
  "var(--sl-color-warning-950)"};
631
- --sqm-warning-color-border: ${((_41 = (_40 = (_39 = window.SquatchBrandingConfig) === null || _39 === void 0 ? void 0 : _39.color) === null || _40 === void 0 ? void 0 : _40.warning) === null || _41 === void 0 ? void 0 : _41.border) ||
638
+ --sqm-warning-color-border: ${((_44 = (_43 = (_42 = window.SquatchBrandingConfig) === null || _42 === void 0 ? void 0 : _42.color) === null || _43 === void 0 ? void 0 : _43.warning) === null || _44 === void 0 ? void 0 : _44.border) ||
632
639
  "var(--sl-color-warning-400)"};
633
- --sqm-warning-color-background: ${((_44 = (_43 = (_42 = window.SquatchBrandingConfig) === null || _42 === void 0 ? void 0 : _42.color) === null || _43 === void 0 ? void 0 : _43.warning) === null || _44 === void 0 ? void 0 : _44.background) ||
640
+ --sqm-warning-color-background: ${((_47 = (_46 = (_45 = window.SquatchBrandingConfig) === null || _45 === void 0 ? void 0 : _45.color) === null || _46 === void 0 ? void 0 : _46.warning) === null || _47 === void 0 ? void 0 : _47.background) ||
634
641
  "var(--sl-color-warning-300)"};
635
642
 
636
- --sqm-danger-color-icon: ${((_47 = (_46 = (_45 = window.SquatchBrandingConfig) === null || _45 === void 0 ? void 0 : _45.color) === null || _46 === void 0 ? void 0 : _46.critical) === null || _47 === void 0 ? void 0 : _47.iconAndBadge) ||
643
+ --sqm-danger-color-icon: ${((_50 = (_49 = (_48 = window.SquatchBrandingConfig) === null || _48 === void 0 ? void 0 : _48.color) === null || _49 === void 0 ? void 0 : _49.critical) === null || _50 === void 0 ? void 0 : _50.iconAndBadge) ||
637
644
  "var(--sl-color-danger-600)"};
638
- --sqm-danger-color-text: ${((_50 = (_49 = (_48 = window.SquatchBrandingConfig) === null || _48 === void 0 ? void 0 : _48.color) === null || _49 === void 0 ? void 0 : _49.critical) === null || _50 === void 0 ? void 0 : _50.text) ||
645
+ --sqm-danger-color-text: ${((_53 = (_52 = (_51 = window.SquatchBrandingConfig) === null || _51 === void 0 ? void 0 : _51.color) === null || _52 === void 0 ? void 0 : _52.critical) === null || _53 === void 0 ? void 0 : _53.text) ||
639
646
  "var(--sl-color-danger-950)"};
640
- --sqm-danger-color-border: ${((_53 = (_52 = (_51 = window.SquatchBrandingConfig) === null || _51 === void 0 ? void 0 : _51.color) === null || _52 === void 0 ? void 0 : _52.critical) === null || _53 === void 0 ? void 0 : _53.border) ||
647
+ --sqm-danger-color-border: ${((_56 = (_55 = (_54 = window.SquatchBrandingConfig) === null || _54 === void 0 ? void 0 : _54.color) === null || _55 === void 0 ? void 0 : _55.critical) === null || _56 === void 0 ? void 0 : _56.border) ||
641
648
  "var(--sl-color-danger-400)"};
642
- --sqm-danger-color-background: ${((_56 = (_55 = (_54 = window.SquatchBrandingConfig) === null || _54 === void 0 ? void 0 : _54.color) === null || _55 === void 0 ? void 0 : _55.critical) === null || _56 === void 0 ? void 0 : _56.background) ||
649
+ --sqm-danger-color-background: ${((_59 = (_58 = (_57 = window.SquatchBrandingConfig) === null || _57 === void 0 ? void 0 : _57.color) === null || _58 === void 0 ? void 0 : _58.critical) === null || _59 === void 0 ? void 0 : _59.background) ||
643
650
  "var(--sl-color-danger-300)"};
644
651
 
645
- --sqm-informative-color-icon: ${((_59 = (_58 = (_57 = window.SquatchBrandingConfig) === null || _57 === void 0 ? void 0 : _57.color) === null || _58 === void 0 ? void 0 : _58.informative) === null || _59 === void 0 ? void 0 : _59.iconAndBadge) ||
652
+ --sqm-informative-color-icon: ${((_62 = (_61 = (_60 = window.SquatchBrandingConfig) === null || _60 === void 0 ? void 0 : _60.color) === null || _61 === void 0 ? void 0 : _61.informative) === null || _62 === void 0 ? void 0 : _62.iconAndBadge) ||
646
653
  "var(--sl-color-sky-600)"};
647
- --sqm-informative-color-text: ${((_62 = (_61 = (_60 = window.SquatchBrandingConfig) === null || _60 === void 0 ? void 0 : _60.color) === null || _61 === void 0 ? void 0 : _61.informative) === null || _62 === void 0 ? void 0 : _62.text) ||
654
+ --sqm-informative-color-text: ${((_65 = (_64 = (_63 = window.SquatchBrandingConfig) === null || _63 === void 0 ? void 0 : _63.color) === null || _64 === void 0 ? void 0 : _64.informative) === null || _65 === void 0 ? void 0 : _65.text) ||
648
655
  "var(--sl-color-sky-950)"};
649
- --sqm-informative-color-border: ${((_65 = (_64 = (_63 = window.SquatchBrandingConfig) === null || _63 === void 0 ? void 0 : _63.color) === null || _64 === void 0 ? void 0 : _64.informative) === null || _65 === void 0 ? void 0 : _65.border) ||
656
+ --sqm-informative-color-border: ${((_68 = (_67 = (_66 = window.SquatchBrandingConfig) === null || _66 === void 0 ? void 0 : _66.color) === null || _67 === void 0 ? void 0 : _67.informative) === null || _68 === void 0 ? void 0 : _68.border) ||
650
657
  "var(--sl-color-sky-400)"};
651
- --sqm-informative-color-background: ${((_68 = (_67 = (_66 = window.SquatchBrandingConfig) === null || _66 === void 0 ? void 0 : _66.color) === null || _67 === void 0 ? void 0 : _67.informative) === null || _68 === void 0 ? void 0 : _68.background) ||
658
+ --sqm-informative-color-background: ${((_71 = (_70 = (_69 = window.SquatchBrandingConfig) === null || _69 === void 0 ? void 0 : _69.color) === null || _70 === void 0 ? void 0 : _70.informative) === null || _71 === void 0 ? void 0 : _71.background) ||
652
659
  "var(--sl-color-sky-300)"};
653
660
 
654
- --sqm-input-background: ${((_70 = (_69 = window.SquatchBrandingConfig) === null || _69 === void 0 ? void 0 : _69.inputs) === null || _70 === void 0 ? void 0 : _70.background) || "#fff"};
655
- --sqm-input-border-color: ${((_72 = (_71 = window.SquatchBrandingConfig) === null || _71 === void 0 ? void 0 : _71.inputs) === null || _72 === void 0 ? void 0 : _72.borderColor) || "#eaeaea"};
656
- --sqm-input-border-radius: ${((_74 = (_73 = window.SquatchBrandingConfig) === null || _73 === void 0 ? void 0 : _73.inputs) === null || _74 === void 0 ? void 0 : _74.borderRadius) || "4px"};
657
- --sqm-input-color: ${((_76 = (_75 = window.SquatchBrandingConfig) === null || _75 === void 0 ? void 0 : _75.inputs) === null || _76 === void 0 ? void 0 : _76.textColor) || "#000"};
658
- --sqm-input-label-color: ${((_78 = (_77 = window.SquatchBrandingConfig) === null || _77 === void 0 ? void 0 : _77.inputs) === null || _78 === void 0 ? void 0 : _78.labelColor) || "#000"};
659
- --sqm-border-width: ${((_80 = (_79 = window.SquatchBrandingConfig) === null || _79 === void 0 ? void 0 : _79.inputs) === null || _80 === void 0 ? void 0 : _80.borderThickness) || "1px"};
660
- --sqm-input-border-color-focus: ${((_82 = (_81 = window.SquatchBrandingConfig) === null || _81 === void 0 ? void 0 : _81.inputs) === null || _82 === void 0 ? void 0 : _82.focusBorderColor) || "#eaeaea"};
661
- --sqm-input-border-color-hover: ${((_84 = (_83 = window.SquatchBrandingConfig) === null || _83 === void 0 ? void 0 : _83.inputs) === null || _84 === void 0 ? void 0 : _84.hoverBorderColor) || "#ccc"};
662
- --sqm-input-label-font-size: ${((_86 = (_85 = window.SquatchBrandingConfig) === null || _85 === void 0 ? void 0 : _85.inputs) === null || _86 === void 0 ? void 0 : _86.labelFontSize) || "18px"};
663
- --sqm-input-disabled-color: ${((_88 = (_87 = window.SquatchBrandingConfig) === null || _87 === void 0 ? void 0 : _87.inputs) === null || _88 === void 0 ? void 0 : _88.labelFontSize) || "#fff"};
664
- --sqm-input-disabled-background: ${((_90 = (_89 = window.SquatchBrandingConfig) === null || _89 === void 0 ? void 0 : _89.inputs) === null || _90 === void 0 ? void 0 : _90.disabledBackground) || "#fff"};
661
+ --sqm-input-background: ${((_74 = (_73 = (_72 = window.SquatchBrandingConfig) === null || _72 === void 0 ? void 0 : _72.formFields) === null || _73 === void 0 ? void 0 : _73.formFieldColor) === null || _74 === void 0 ? void 0 : _74.background) ||
662
+ "#fff"};
663
+ --sqm-input-border-color: ${((_77 = (_76 = (_75 = window.SquatchBrandingConfig) === null || _75 === void 0 ? void 0 : _75.formFields) === null || _76 === void 0 ? void 0 : _76.formFieldColor) === null || _77 === void 0 ? void 0 : _77.border) ||
664
+ "#eaeaea"};
665
+ --sqm-input-border-radius: ${
666
+ // window.SquatchBrandingConfig?.formFields?.borderRadius || "4px"
667
+ "4px"};
668
+ --sqm-input-color: ${((_80 = (_79 = (_78 = window.SquatchBrandingConfig) === null || _78 === void 0 ? void 0 : _78.formFields) === null || _79 === void 0 ? void 0 : _79.formFieldColor) === null || _80 === void 0 ? void 0 : _80.inputText) ||
669
+ "#000"};
670
+ --sqm-input-label-color: ${((_83 = (_82 = (_81 = window.SquatchBrandingConfig) === null || _81 === void 0 ? void 0 : _81.color) === null || _82 === void 0 ? void 0 : _82.textColorShades) === null || _83 === void 0 ? void 0 : _83.mainText) || "#000"};
671
+ --sqm-input-border-color-focus: ${((_85 = (_84 = window.SquatchBrandingConfig) === null || _84 === void 0 ? void 0 : _84.formFields) === null || _85 === void 0 ? void 0 : _85.selectedStateColor) || "#eaeaea"};
672
+ --sqm-input-border-color-hover: ${((_87 = (_86 = window.SquatchBrandingConfig) === null || _86 === void 0 ? void 0 : _86.formFields) === null || _87 === void 0 ? void 0 : _87.hoverStateColor) || "#ccc"};
673
+ --sqm-input-label-font-size: inherit;
674
+ --sqm-input-disabled-color: ${
675
+ // window.SquatchBrandingConfig?.inputs?.labelFontSize || "#fff"
676
+ "#fff"};
677
+ --sqm-input-disabled-background: ${
678
+ // window.SquatchBrandingConfig?.inputs?.disabledBackground || "#fff"
679
+ "#fff"};
665
680
 
666
681
  --sl-color-primary-100: var(--sqm-primary-color);
667
682
  --sl-color-primary-200: var(--sqm-primary-color);
@@ -683,7 +698,7 @@ html {
683
698
  --sl-input-color: var(--sqm-input-color, var(--sqm-text), #333);
684
699
  --sl-input-placeholder-color: var(--sqm-text-subdued, var(--sl-color-neutral-500));
685
700
  --sl-input-background-color-hover: var(--sqm-input-background, #ffffff);
686
- --sl-input-border-width: var(--sqm-border-width, 1px);
701
+ --sl-input-border-width: var(--sqm-border-thickness, 1px);
687
702
  --sl-input-border-style: solid;
688
703
 
689
704
 
@@ -710,7 +725,7 @@ html {
710
725
  }
711
726
 
712
727
  body {
713
- font-family: ${window.SquatchBrandingConfig.font.font || "var(--sl-font-sans)"};
728
+ font-family: ${((_89 = (_88 = window.SquatchBrandingConfig) === null || _88 === void 0 ? void 0 : _88.main) === null || _89 === void 0 ? void 0 : _89.brandFont) || "var(--sl-font-sans)"};
714
729
  font-size: var(--sl-font-size-medium);
715
730
  font-weight: var(--sl-font-weight-normal);
716
731
  letter-spacing: var(--sl-letter-spacing-small);
@@ -887,7 +902,7 @@ sl-button[type="secondary"]::part(base):hover {
887
902
  background-color: var(--sqm-input-background, #fff);
888
903
  border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
889
904
  color: var(--sqm-input-color, white);
890
- border-width: var(--sqm-border-width, 1px);
905
+ border-width: var(--sqm-border-thickness, 1px);
891
906
  }
892
907
 
893
908
  *::part(input-base):hover, *::part(select-base):hover, *::part(textarea-base):hover{
@@ -902,7 +917,7 @@ sqm-name-fields::part(input-base) {
902
917
  background-color: var(--sqm-input-background, #fff);
903
918
  border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
904
919
  color: var(--sqm-input-color, white);
905
- border-width: var(--sqm-border-width, 1px);
920
+ border-width: var(--sqm-border-thickness, 1px);
906
921
  }
907
922
 
908
923
  sl-input::part(base):focus,
@@ -71,17 +71,14 @@
71
71
  --teal-7: #004551;
72
72
  } */
73
73
 
74
+ import { BrandingConfiguration } from "../saasquatch";
75
+
74
76
  declare global {
75
77
  interface Window {
76
- SquatchBrandingConfig: BrandingConfig | null;
78
+ SquatchBrandingConfig: BrandingConfiguration | null;
77
79
  }
78
80
  }
79
81
 
80
- console.log(
81
- "The input hover color is ",
82
- window.SquatchBrandingConfig.inputs?.hoverBorderColor
83
- );
84
-
85
82
  const style = `
86
83
  /* vietnamese */
87
84
  @font-face {
@@ -582,31 +579,35 @@ html {
582
579
  --sqm-content-max-width: 700px;
583
580
  --sqm-content-background: var(--sl-color-white);
584
581
  --sqm-portal-background: ${
585
- window.SquatchBrandingConfig?.color?.background || "#121212"
582
+ window.SquatchBrandingConfig?.color?.backgroundColor || "#121212"
586
583
  };
587
584
  --widget-background-color: var(--sl-color-white);
588
585
  --sqm-portal-main-width: 900px;
589
586
  --sqm-max-width: 100%;
590
587
  --sqm-skeleton-background: #eee;
591
- --sqm-text: ${window.SquatchBrandingConfig?.font.textColor || "white"};
588
+ --sqm-text: ${
589
+ window.SquatchBrandingConfig?.color?.textColorShades?.mainText || "white"
590
+ };
592
591
  --sqm-text-subdued: ${
593
- window.SquatchBrandingConfig?.font.secondaryTextColor || "#b3b3b3"
592
+ window.SquatchBrandingConfig?.color?.textColorShades?.subduedText ||
593
+ "#b3b3b3"
594
594
  };
595
595
 
596
596
  --sqm-primary-color: ${
597
- window.SquatchBrandingConfig?.color?.primaryColor || "#1ed760"
597
+ window.SquatchBrandingConfig?.main?.brandColor || "#1ed760"
598
598
  };
599
599
  --sqm-primary-button-background:${
600
600
  window.SquatchBrandingConfig?.primaryButton?.buttonColor || "#1ed760"
601
601
  };
602
602
  --sqm-primary-button-background-hover: ${
603
- window.SquatchBrandingConfig?.primaryButton?.hoverColor || "#1ed760"
603
+ window.SquatchBrandingConfig?.primaryButton?.buttonHoverColor?.background ||
604
+ "#1ed760"
604
605
  };
605
606
  --sqm-primary-button-color: ${
606
- window.SquatchBrandingConfig?.primaryButton?.buttonTextColor || "#FFFFFF"
607
+ window.SquatchBrandingConfig?.primaryButton?.buttonColor?.label || "#FFFFFF"
607
608
  };
608
609
  --sqm-primary-button-color-border: ${
609
- window.SquatchBrandingConfig?.primaryButton?.buttonBorderColor ||
610
+ window.SquatchBrandingConfig?.primaryButton?.buttonColor?.border ||
610
611
  "transparent"
611
612
  };
612
613
  --sqm-primary-button-radius: ${
@@ -618,15 +619,17 @@ html {
618
619
  window.SquatchBrandingConfig?.secondaryButton?.buttonColor || "#191414"
619
620
  };
620
621
  --sqm-secondary-button-background-hover: ${
621
- window.SquatchBrandingConfig?.secondaryButton?.hoverColor || "#282828"
622
+ window.SquatchBrandingConfig?.secondaryButton?.buttonHoverColor
623
+ ?.background || "#282828"
622
624
  };
623
625
 
624
626
 
625
627
  --sqm-secondary-button-color: ${
626
- window.SquatchBrandingConfig?.secondaryButton?.buttonTextColor || "#FFFFFF"
628
+ window.SquatchBrandingConfig?.secondaryButton?.buttonHoverColor?.label ||
629
+ "#FFFFFF"
627
630
  };
628
631
  --sqm-secondary-button-color-border: ${
629
- window.SquatchBrandingConfig?.secondaryButton?.buttonBorderColor ||
632
+ window.SquatchBrandingConfig?.secondaryButton?.buttonHoverColor?.border ||
630
633
  "#FFFFFF"
631
634
  };
632
635
  --sqm-secondary-button-radius: ${
@@ -640,17 +643,21 @@ html {
640
643
  --sqm-tertiary-button-radius: 30px;
641
644
 
642
645
  --sqm-border-radius-normal: ${
643
- window.SquatchBrandingConfig?.border?.radius || "18px"
646
+ // window.SquatchBrandingConfig?.border?.radius || "18px"
647
+ "18px"
644
648
  };
645
- --sqm-border-color: ${window.SquatchBrandingConfig?.border?.color || "white"};
649
+ --sqm-border-color: ${
650
+ // window.SquatchBrandingConfig?.border?.color || "white"
651
+ "white"
652
+ };
646
653
 
647
654
  --sqm-border-thickness: ${
648
- window.SquatchBrandingConfig?.border?.thickness || "1px"
655
+ // window.SquatchBrandingConfig?.border?.thickness || "1px"
656
+ "1px"
649
657
  };
650
658
 
651
659
  --sqm-accent-color-icon: ${
652
- window.SquatchBrandingConfig?.color?.accentColorShades?.iconAndBadge ||
653
- "#1ed760"
660
+ window.SquatchBrandingConfig?.color?.accentColorShades?.icon || "#1ed760"
654
661
  };
655
662
  --sqm-accent-color-text: ${
656
663
  window.SquatchBrandingConfig?.color?.accentColorShades?.text || "#fff"
@@ -732,37 +739,38 @@ html {
732
739
  };
733
740
 
734
741
  --sqm-input-background: ${
735
- window.SquatchBrandingConfig?.inputs?.background || "#fff"
742
+ window.SquatchBrandingConfig?.formFields?.formFieldColor?.background ||
743
+ "#fff"
736
744
  };
737
745
  --sqm-input-border-color: ${
738
- window.SquatchBrandingConfig?.inputs?.borderColor || "#eaeaea"
746
+ window.SquatchBrandingConfig?.formFields?.formFieldColor?.border ||
747
+ "#eaeaea"
739
748
  };
740
749
  --sqm-input-border-radius: ${
741
- window.SquatchBrandingConfig?.inputs?.borderRadius || "4px"
750
+ // window.SquatchBrandingConfig?.formFields?.borderRadius || "4px"
751
+ "4px"
742
752
  };
743
753
  --sqm-input-color: ${
744
- window.SquatchBrandingConfig?.inputs?.textColor || "#000"
754
+ window.SquatchBrandingConfig?.formFields?.formFieldColor?.inputText ||
755
+ "#000"
745
756
  };
746
757
  --sqm-input-label-color: ${
747
- window.SquatchBrandingConfig?.inputs?.labelColor || "#000"
748
- };
749
- --sqm-border-width: ${
750
- window.SquatchBrandingConfig?.inputs?.borderThickness || "1px"
758
+ window.SquatchBrandingConfig?.color?.textColorShades?.mainText || "#000"
751
759
  };
752
760
  --sqm-input-border-color-focus: ${
753
- window.SquatchBrandingConfig?.inputs?.focusBorderColor || "#eaeaea"
761
+ window.SquatchBrandingConfig?.formFields?.selectedStateColor || "#eaeaea"
754
762
  };
755
763
  --sqm-input-border-color-hover: ${
756
- window.SquatchBrandingConfig?.inputs?.hoverBorderColor || "#ccc"
757
- };
758
- --sqm-input-label-font-size: ${
759
- window.SquatchBrandingConfig?.inputs?.labelFontSize || "18px"
764
+ window.SquatchBrandingConfig?.formFields?.hoverStateColor || "#ccc"
760
765
  };
766
+ --sqm-input-label-font-size: inherit;
761
767
  --sqm-input-disabled-color: ${
762
- window.SquatchBrandingConfig?.inputs?.labelFontSize || "#fff"
768
+ // window.SquatchBrandingConfig?.inputs?.labelFontSize || "#fff"
769
+ "#fff"
763
770
  };
764
771
  --sqm-input-disabled-background: ${
765
- window.SquatchBrandingConfig?.inputs?.disabledBackground || "#fff"
772
+ // window.SquatchBrandingConfig?.inputs?.disabledBackground || "#fff"
773
+ "#fff"
766
774
  };
767
775
 
768
776
  --sl-color-primary-100: var(--sqm-primary-color);
@@ -785,7 +793,7 @@ html {
785
793
  --sl-input-color: var(--sqm-input-color, var(--sqm-text), #333);
786
794
  --sl-input-placeholder-color: var(--sqm-text-subdued, var(--sl-color-neutral-500));
787
795
  --sl-input-background-color-hover: var(--sqm-input-background, #ffffff);
788
- --sl-input-border-width: var(--sqm-border-width, 1px);
796
+ --sl-input-border-width: var(--sqm-border-thickness, 1px);
789
797
  --sl-input-border-style: solid;
790
798
 
791
799
 
@@ -813,7 +821,7 @@ html {
813
821
 
814
822
  body {
815
823
  font-family: ${
816
- window.SquatchBrandingConfig.font.font || "var(--sl-font-sans)"
824
+ window.SquatchBrandingConfig?.main?.brandFont || "var(--sl-font-sans)"
817
825
  };
818
826
  font-size: var(--sl-font-size-medium);
819
827
  font-weight: var(--sl-font-weight-normal);
@@ -991,7 +999,7 @@ sl-button[type="secondary"]::part(base):hover {
991
999
  background-color: var(--sqm-input-background, #fff);
992
1000
  border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
993
1001
  color: var(--sqm-input-color, white);
994
- border-width: var(--sqm-border-width, 1px);
1002
+ border-width: var(--sqm-border-thickness, 1px);
995
1003
  }
996
1004
 
997
1005
  *::part(input-base):hover, *::part(select-base):hover, *::part(textarea-base):hover{
@@ -1006,7 +1014,7 @@ sqm-name-fields::part(input-base) {
1006
1014
  background-color: var(--sqm-input-background, #fff);
1007
1015
  border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
1008
1016
  color: var(--sqm-input-color, white);
1009
- border-width: var(--sqm-border-width, 1px);
1017
+ border-width: var(--sqm-border-thickness, 1px);
1010
1018
  }
1011
1019
 
1012
1020
  sl-input::part(base):focus,
@@ -1,34 +1,26 @@
1
1
  import { useState } from "@saasquatch/universal-hooks";
2
2
  import { h } from "@stencil/core";
3
3
  import { createHookStory } from "../components/sqm-stencilbook/HookStoryAddon";
4
+ import activityTemplate from "../templates/Activity.html";
5
+ import dashboardTemplate from "../templates/Dashboard.html";
6
+ import editProfileTemplate from "../templates/EditProfile.html";
7
+ import emailVerificationTemplate from "../templates/EmailVerification.html";
8
+ import emailVerifiedTemplate from "../templates/EmailVerified.html";
9
+ import forgotPasswordTemplate from "../templates/ForgotPassword.html";
10
+ import leadSubmitTemplate from "../templates/LeadSubmit.html";
11
+ import loginTemplate from "../templates/Login.html";
12
+ import multiProgramTemplate from "../templates/MultiProgramPortal.html";
13
+ import multiProgramTemplateWithDashboard from "../templates/MultiProgramPortalWithDashboard.html";
4
14
  import portalTemplate from "../templates/Portal.html";
5
15
  import portalLeadSubmitTemplate from "../templates/PortalLeadSubmit.html";
6
- import taxAndCashTemplate from "../templates/TaxAndCash.html";
7
16
  import portalLeadSubmitTemplateWithDashboard from "../templates/PortalLeadSubmitWithDashboard.html";
8
17
  import portalTemplateWithDashboard from "../templates/PortalWithDashboard.html";
9
- import multiProgramTemplate from "../templates/MultiProgramPortal.html";
10
- import multiProgramTemplateWithDashboard from "../templates/MultiProgramPortalWithDashboard.html";
11
- import dashboardTemplate from "../templates/Dashboard.html";
12
- import leadSubmitTemplate from "../templates/LeadSubmit.html";
13
- import editProfileTemplate from "../templates/EditProfile.html";
14
- import activityTemplate from "../templates/Activity.html";
15
- import resetPasswordEmailTemplate from "../templates/ResetPasswordEmail.html";
16
- import verifyEmailTemplate from "../templates/VerifyEmail.html";
17
- import taxPayoutReminderEmailTemplate from "../templates/TaxPayoutReminderEmail.html";
18
- import loginTemplate from "../templates/Login.html";
19
18
  import registerTemplate from "../templates/Register.html";
20
- import forgotPasswordTemplate from "../templates/ForgotPassword.html";
21
19
  import resetPasswordTemplate from "../templates/ResetPassword.html";
22
- import emailVerifiedTemplate from "../templates/EmailVerified.html";
23
- import emailVerificationTemplate from "../templates/EmailVerification.html";
24
- import LoginReadme from "../components/sqm-portal-login/readme.md";
25
- import ReferralIframeReadme from "../components/sqm-referral-iframe/readme.md";
26
- import ForgotPasswordReadme from "../components/sqm-portal-forgot-password/readme.md";
27
- import RegisterReadme from "../components/sqm-portal-register/readme.md";
28
- import EditProfileReadme from "../components/sqm-portal-profile/readme.md";
29
- import ResetPasswordReadme from "../components/sqm-portal-reset-password/readme.md";
30
- import EmailVerificationReadme from "../components/sqm-portal-email-verification/readme.md";
31
- import EmailVerifiedReadme from "../components/sqm-portal-verify-email/readme.md";
20
+ import resetPasswordEmailTemplate from "../templates/ResetPasswordEmail.html";
21
+ import taxAndCashTemplate from "../templates/TaxAndCash.html";
22
+ import taxPayoutReminderEmailTemplate from "../templates/TaxPayoutReminderEmail.html";
23
+ import verifyEmailTemplate from "../templates/VerifyEmail.html";
32
24
  import { DefaultTemplateView } from "../utils/DefaultTemplateView";
33
25
  import { TemplateView } from "../utils/TemplateView";
34
26
  export default {
@@ -60,15 +52,15 @@ export const TaxAndCash = createHookStory(() => {
60
52
  });
61
53
  export const Login = createHookStory(() => {
62
54
  const { states, callbacks } = useTemplate(loginTemplate);
63
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: LoginReadme }));
55
+ return h(TemplateView, { states: states, callbacks: callbacks });
64
56
  });
65
57
  export const ForgotPassword = createHookStory(() => {
66
58
  const { states, callbacks } = useTemplate(forgotPasswordTemplate);
67
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: ForgotPasswordReadme }));
59
+ return h(TemplateView, { states: states, callbacks: callbacks });
68
60
  });
69
61
  export const Register = createHookStory(() => {
70
62
  const { states, callbacks } = useTemplate(registerTemplate);
71
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: RegisterReadme }));
63
+ return h(TemplateView, { states: states, callbacks: callbacks });
72
64
  });
73
65
  export const Dashboard = createHookStory(() => {
74
66
  const { states, callbacks } = useTemplate(dashboardTemplate);
@@ -76,7 +68,7 @@ export const Dashboard = createHookStory(() => {
76
68
  });
77
69
  export const LeadSubmitIframe = createHookStory(() => {
78
70
  const { states, callbacks } = useTemplate(leadSubmitTemplate);
79
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: ReferralIframeReadme }));
71
+ return h(TemplateView, { states: states, callbacks: callbacks });
80
72
  });
81
73
  export const Activity = createHookStory(() => {
82
74
  const { states, callbacks } = useTemplate(activityTemplate);
@@ -84,19 +76,19 @@ export const Activity = createHookStory(() => {
84
76
  });
85
77
  export const EditProfile = createHookStory(() => {
86
78
  const { states, callbacks } = useTemplate(editProfileTemplate);
87
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: EditProfileReadme }));
79
+ return h(TemplateView, { states: states, callbacks: callbacks });
88
80
  });
89
81
  export const ResetPassword = createHookStory(() => {
90
82
  const { states, callbacks } = useTemplate(resetPasswordTemplate);
91
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: ResetPasswordReadme }));
83
+ return h(TemplateView, { states: states, callbacks: callbacks });
92
84
  });
93
85
  export const EmailVerification = createHookStory(() => {
94
86
  const { states, callbacks } = useTemplate(emailVerificationTemplate);
95
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: EmailVerificationReadme }));
87
+ return h(TemplateView, { states: states, callbacks: callbacks });
96
88
  });
97
89
  export const EmailVerified = createHookStory(() => {
98
90
  const { states, callbacks } = useTemplate(emailVerifiedTemplate);
99
- return (h(TemplateView, { states: states, callbacks: callbacks, readme: EmailVerifiedReadme }));
91
+ return h(TemplateView, { states: states, callbacks: callbacks });
100
92
  });
101
93
  export const Widget = createHookStory(() => {
102
94
  return (h("sqb-widget", { "widget-type": "p/Vacay-referral/w/referrerWidget", demoData: {
@@ -0,0 +1,12 @@
1
+ export function parseStates(states) {
2
+ if (typeof states === "string") {
3
+ try {
4
+ return JSON.parse(states);
5
+ }
6
+ catch (e) {
7
+ return undefined;
8
+ }
9
+ }
10
+ if (typeof states === "object")
11
+ return states;
12
+ }