@saasquatch/mint-components 1.15.0-62 → 1.15.0-63
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.
- package/dist/cjs/{IndirectTaxDetailsView-d7d3a220.js → IndirectTaxDetailsView-79703291.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-dbc78438.js → ShadowViewAddon-e0aa9b07.js} +2 -2
- package/dist/cjs/{global-a3a85ff0.js → global-38031ab9.js} +61 -54
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +139 -282
- package/dist/cjs/sqm-big-stat_42.cjs.entry.js +27 -57
- package/dist/cjs/sqm-code-verification.cjs.entry.js +14 -4
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +10 -13
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-form-message.cjs.entry.js +5 -5
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-aec35ba2.js → sqm-portal-email-verification-view-f1671646.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-cff9bfc7.js → sqm-portal-profile-view-5aabad8c.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-qr-code-view-af9f6df7.js → sqm-qr-code-view-0c3b2f48.js} +7 -2
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -3
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +20 -28
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +4 -5
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +1 -1
- package/dist/cjs/{usePortalLogin-1c022d8d.js → usePortalLogin-6aa864ef.js} +1 -1
- package/dist/cjs/{utils-940abb91.js → utils-62fd5f09.js} +1 -1
- package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
- package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
- package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
- package/dist/collection/components/sqm-stencilbook/Themes.js +1 -1
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +8 -11
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +3 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +4 -33
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +19 -47
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +13 -64
- package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -6
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +3 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +86 -82
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +12 -44
- package/dist/collection/global/styles.js +61 -54
- package/dist/collection/global/styles.ts +9 -2
- package/dist/collection/utils/utils.js +4 -0
- package/dist/esm/{IndirectTaxDetailsView-0ae0aeb9.js → IndirectTaxDetailsView-3bf366d5.js} +2 -2
- package/dist/esm/{ShadowViewAddon-51e9ebf7.js → ShadowViewAddon-2984432d.js} +2 -2
- package/dist/esm/{global-e9173b4c.js → global-75f87c77.js} +61 -54
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/sqm-banking-info-form_10.entry.js +139 -282
- package/dist/esm/sqm-big-stat_42.entry.js +27 -57
- package/dist/esm/sqm-code-verification.entry.js +14 -4
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +10 -13
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-form-message.entry.js +5 -5
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +1 -1
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-a82e199f.js → sqm-portal-email-verification-view-46311e88.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/sqm-portal-google-login.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-caabc8d3.js → sqm-portal-profile-view-f7cb1c88.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/{sqm-qr-code-view-7be282fd.js → sqm-qr-code-view-97124a66.js} +6 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -3
- package/dist/esm/sqm-referral-table_11.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +20 -28
- package/dist/esm/sqm-tabs.entry.js +1 -1
- package/dist/esm/sqm-tax-and-cash.entry.js +4 -5
- package/dist/esm/sqm-widget-verification.entry.js +1 -1
- package/dist/esm/{usePortalLogin-61abe78e.js → usePortalLogin-d0720c81.js} +1 -1
- package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
- package/dist/esm/{utils-985d9996.js → utils-edd7677f.js} +1 -1
- package/dist/esm-es5/{IndirectTaxDetailsView-0ae0aeb9.js → IndirectTaxDetailsView-3bf366d5.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-51e9ebf7.js → ShadowViewAddon-2984432d.js} +1 -1
- package/dist/esm-es5/{global-e9173b4c.js → global-75f87c77.js} +3 -3
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-a82e199f.js → sqm-portal-email-verification-view-46311e88.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-caabc8d3.js → sqm-portal-profile-view-f7cb1c88.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{usePortalLogin-61abe78e.js → usePortalLogin-d0720c81.js} +1 -1
- package/dist/esm-es5/utils-03188de2.js +1 -0
- package/dist/esm-es5/{utils-985d9996.js → utils-edd7677f.js} +1 -1
- package/dist/mint-components/global/styles.ts +9 -2
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-949ca517.system.entry.js → p-002e6205.system.entry.js} +1 -1
- package/dist/mint-components/{p-fe01d78b.system.js → p-03bc8092.system.js} +1 -1
- package/dist/mint-components/{p-d1184054.system.entry.js → p-09faca85.system.entry.js} +1 -1
- package/dist/mint-components/p-0b0f49ad.entry.js +1 -0
- package/dist/mint-components/{p-93c743a4.system.js → p-0b9d56b2.system.js} +1 -1
- package/dist/mint-components/{p-23671c40.entry.js → p-0d178b8a.entry.js} +1 -1
- package/dist/mint-components/{p-3c546860.system.entry.js → p-0d22c0e5.system.entry.js} +1 -1
- package/dist/mint-components/{p-c7861962.entry.js → p-0fca4ae0.entry.js} +1 -1
- package/dist/mint-components/p-15bfd7e2.system.js +1 -0
- package/dist/mint-components/p-16b37afe.system.entry.js +1 -0
- package/dist/mint-components/{p-08a77d1e.system.entry.js → p-1ad8f7f4.system.entry.js} +1 -1
- package/dist/mint-components/p-1cad4160.system.entry.js +1 -0
- package/dist/mint-components/{p-717f926c.system.entry.js → p-207fb692.system.entry.js} +1 -1
- package/dist/mint-components/{p-01551599.system.js → p-21b680c9.system.js} +1 -1
- package/dist/mint-components/{p-b5346a5a.entry.js → p-22c11f0e.entry.js} +1 -1
- package/dist/mint-components/{p-7b635ed8.system.entry.js → p-22d20816.system.entry.js} +1 -1
- package/dist/mint-components/{p-b64f7dcb.system.entry.js → p-258f4e5e.system.entry.js} +1 -1
- package/dist/mint-components/p-29be244d.entry.js +9 -0
- package/dist/mint-components/{p-b11dd241.system.js → p-2ce2d1f0.system.js} +1 -1
- package/dist/mint-components/{p-4ec69d24.js → p-32ed7c0c.js} +1 -1
- package/dist/mint-components/p-32fa454c.entry.js +1 -0
- package/dist/mint-components/{p-2cec44e0.entry.js → p-33d0edc0.entry.js} +2 -2
- package/dist/mint-components/p-40c01a5a.system.js +1 -0
- package/dist/mint-components/{p-35061d76.system.entry.js → p-4271f436.system.entry.js} +1 -1
- package/dist/mint-components/{p-a554c304.js → p-474124e9.js} +1 -1
- package/dist/mint-components/p-4aefb976.system.entry.js +1 -0
- package/dist/mint-components/{p-0c7135bb.entry.js → p-50348f43.entry.js} +1 -1
- package/dist/mint-components/{p-c431aedf.entry.js → p-564ac69e.entry.js} +2 -2
- package/dist/mint-components/p-59f8eb90.entry.js +93 -0
- package/dist/mint-components/{p-e49b253f.entry.js → p-5e0af707.entry.js} +2 -2
- package/dist/mint-components/{p-f7700805.js → p-5ed49bf2.js} +1 -1
- package/dist/mint-components/{p-f5f97cd2.system.js → p-643749bc.system.js} +1 -1
- package/dist/mint-components/p-692bacf3.js +1 -0
- package/dist/mint-components/{p-9ec99ced.js → p-6951663b.js} +1 -1
- package/dist/mint-components/{p-674d9089.system.entry.js → p-6b076bae.system.entry.js} +1 -1
- package/dist/mint-components/p-6f6d5370.entry.js +25 -0
- package/dist/mint-components/{p-8846046e.entry.js → p-6fb9b5ab.entry.js} +1 -1
- package/dist/mint-components/{p-65ed872f.entry.js → p-711bc624.entry.js} +1 -1
- package/dist/mint-components/{p-641bdf0e.system.entry.js → p-7b4eb94e.system.entry.js} +1 -1
- package/dist/mint-components/{p-734dde9b.system.js → p-82505f6e.system.js} +1 -1
- package/dist/mint-components/p-8c69fc5f.system.entry.js +1 -0
- package/dist/mint-components/{p-3a7e5207.entry.js → p-97852163.entry.js} +1 -1
- package/dist/mint-components/{p-b11d89bd.entry.js → p-9aadc253.entry.js} +1 -1
- package/dist/mint-components/p-9d126299.system.entry.js +1 -0
- package/dist/mint-components/{p-b70ef2f5.system.entry.js → p-a2533860.system.entry.js} +1 -1
- package/dist/mint-components/{p-8a9939ef.system.entry.js → p-a67cbe0b.system.entry.js} +1 -1
- package/dist/mint-components/p-a99658e0.entry.js +1 -0
- package/dist/mint-components/{p-bf89cd86.system.js → p-acb26ec0.system.js} +1 -1
- package/dist/mint-components/{p-4aed3645.entry.js → p-b2bf7fcb.entry.js} +1 -1
- package/dist/mint-components/p-b2c04108.system.entry.js +1 -0
- package/dist/mint-components/{p-d9cfd2ad.js → p-b6da4fa0.js} +1 -1
- package/dist/mint-components/{p-f45be408.system.js → p-b7d13172.system.js} +1 -1
- package/dist/mint-components/{p-0de7e5ec.entry.js → p-b9bccc55.entry.js} +1 -1
- package/dist/mint-components/{p-85029918.entry.js → p-bad50dc1.entry.js} +1 -1
- package/dist/mint-components/{p-8aa5f1ee.entry.js → p-bb627d95.entry.js} +2 -2
- package/dist/mint-components/p-bcbac6f3.system.entry.js +1 -0
- package/dist/mint-components/{p-adb13f08.system.entry.js → p-d513848f.system.entry.js} +1 -1
- package/dist/mint-components/{p-e5d72a05.entry.js → p-d5f1df29.entry.js} +1 -1
- package/dist/mint-components/p-d785a297.system.entry.js +1 -0
- package/dist/mint-components/{p-d577a32d.js → p-d87982c1.js} +1 -1
- package/dist/mint-components/{p-0ac9e4d2.entry.js → p-d97c6f67.entry.js} +1 -1
- package/dist/mint-components/{p-c6fc6ce5.js → p-dec5f3fc.js} +1 -1
- package/dist/mint-components/{p-884a1b19.entry.js → p-e539fed3.entry.js} +1 -1
- package/dist/mint-components/{p-dcddb256.system.entry.js → p-e992648a.system.entry.js} +1 -1
- package/dist/mint-components/{p-f8520da2.system.entry.js → p-ebb487d0.system.entry.js} +1 -1
- package/dist/mint-components/{p-a8b53df1.system.entry.js → p-f0e0d0b9.system.entry.js} +1 -1
- package/dist/mint-components/p-f1da802b.entry.js +11 -0
- package/dist/mint-components/{p-a7b66236.system.entry.js → p-f2140374.system.entry.js} +1 -1
- package/dist/mint-components/{p-cd207258.js → p-f2ee69f1.js} +1 -1
- package/dist/mint-components/{p-b35ceac8.system.entry.js → p-f94788ab.system.entry.js} +1 -1
- package/dist/mint-components/{p-3191e4a8.entry.js → p-fe3fe6b6.entry.js} +1 -1
- package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/ErrorView-0f564e2a.js +0 -35
- package/dist/esm/ErrorView-b396dcc7.js +0 -33
- package/dist/esm-es5/ErrorView-b396dcc7.js +0 -1
- package/dist/esm-es5/sqm-qr-code-view-7be282fd.js +0 -1
- package/dist/esm-es5/utils-334c1e34.js +0 -1
- package/dist/mint-components/p-0ea0f9e3.system.entry.js +0 -1
- package/dist/mint-components/p-1b99001f.js +0 -1
- package/dist/mint-components/p-2b819683.entry.js +0 -9
- package/dist/mint-components/p-6333265f.system.js +0 -1
- package/dist/mint-components/p-65fec8a8.entry.js +0 -25
- package/dist/mint-components/p-6aaf431f.system.entry.js +0 -1
- package/dist/mint-components/p-6d20d500.system.js +0 -1
- package/dist/mint-components/p-6d2d4f7c.entry.js +0 -1
- package/dist/mint-components/p-73213344.system.entry.js +0 -1
- package/dist/mint-components/p-7f54c9f9.entry.js +0 -11
- package/dist/mint-components/p-84b95bd2.system.js +0 -1
- package/dist/mint-components/p-89854fe2.system.entry.js +0 -1
- package/dist/mint-components/p-a18e9043.system.entry.js +0 -1
- package/dist/mint-components/p-af125497.entry.js +0 -93
- package/dist/mint-components/p-c00c4e19.system.entry.js +0 -1
- package/dist/mint-components/p-c8524b9c.entry.js +0 -1
- package/dist/mint-components/p-d2d15c86.system.entry.js +0 -1
- package/dist/mint-components/p-d6bc1680.js +0 -1
- package/dist/mint-components/p-d9a18e00.system.entry.js +0 -1
- package/dist/mint-components/p-fa89e7d4.entry.js +0 -1
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-38031ab9.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
|
-
require('./utils-
|
|
10
|
+
require('./utils-7cbd60cc.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./useReferralCodes-11cdf43b.js');
|
|
13
13
|
require('./mixins-4761d472.js');
|
|
@@ -23,21 +23,20 @@ const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-6a1e63de.js'
|
|
|
23
23
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-b61c8bdf.js');
|
|
24
24
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-de90ef03.js');
|
|
25
25
|
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-ec7a5c53.js');
|
|
26
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
26
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-f1671646.js');
|
|
27
27
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-0a8d3243.js');
|
|
28
28
|
const sqmPortalLoginView = require('./sqm-portal-login-view-bb50304c.js');
|
|
29
29
|
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-8847804c.js');
|
|
30
30
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-5a96c2f5.js');
|
|
31
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
31
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-5aabad8c.js');
|
|
32
32
|
require('./utilities-9a0c5e91.js');
|
|
33
33
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-25eb2099.js');
|
|
34
34
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-1c4e781f.js');
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const ShadowViewAddon = require('./ShadowViewAddon-dbc78438.js');
|
|
35
|
+
const sqmQrCodeView = require('./sqm-qr-code-view-0c3b2f48.js');
|
|
36
|
+
const ShadowViewAddon = require('./ShadowViewAddon-e0aa9b07.js');
|
|
38
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
|
|
39
|
-
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-
|
|
40
|
-
const utils = require('./utils-
|
|
38
|
+
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-79703291.js');
|
|
39
|
+
const utils = require('./utils-62fd5f09.js');
|
|
41
40
|
|
|
42
41
|
/**
|
|
43
42
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -6413,31 +6412,23 @@ const FormMessage_stories = {
|
|
|
6413
6412
|
};
|
|
6414
6413
|
const SuccessAlert = () => {
|
|
6415
6414
|
return (index.h("sqm-form-message", { type: "success" },
|
|
6416
|
-
index.h("
|
|
6415
|
+
index.h("p", { part: "alert-title" }, "This is the title"),
|
|
6416
|
+
index.h("p", { part: "alert-description" }, "This is the description")));
|
|
6417
6417
|
};
|
|
6418
6418
|
const ErrorAlert = () => {
|
|
6419
6419
|
return (index.h("sqm-form-message", { type: "error" },
|
|
6420
|
-
index.h("
|
|
6420
|
+
index.h("p", { part: "alert-title" }, "This is the title"),
|
|
6421
|
+
index.h("p", { part: "alert-description" }, "This is the description")));
|
|
6421
6422
|
};
|
|
6422
6423
|
const WarningAlert = () => {
|
|
6423
6424
|
return (index.h("sqm-form-message", { type: "warning" },
|
|
6424
|
-
index.h("
|
|
6425
|
+
index.h("p", { part: "alert-title" }, "This is the title"),
|
|
6426
|
+
index.h("p", { part: "alert-description" }, "This is the description")));
|
|
6425
6427
|
};
|
|
6426
6428
|
const InfoAlert = () => {
|
|
6427
6429
|
return (index.h("sqm-form-message", { type: "info" },
|
|
6428
|
-
index.h("
|
|
6429
|
-
};
|
|
6430
|
-
const FullStackSuccess = () => {
|
|
6431
|
-
return (index.h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
6432
|
-
index.h("div", { class: "AlertContent" },
|
|
6433
|
-
index.h("div", { part: "successalert-text" }, "Title"),
|
|
6434
|
-
index.h("div", { part: "successalert-subtext" }, "Body text."),
|
|
6435
|
-
index.h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => {
|
|
6436
|
-
console.log("click");
|
|
6437
|
-
} }, "Primary Action"),
|
|
6438
|
-
index.h("sl-button", { class: "SecondaryTextButton", type: "text", onClick: () => {
|
|
6439
|
-
console.log("click");
|
|
6440
|
-
} }, "Secondary Action"))));
|
|
6430
|
+
index.h("p", { part: "alert-title" }, "This is the title"),
|
|
6431
|
+
index.h("p", { part: "alert-description" }, "This is the description")));
|
|
6441
6432
|
};
|
|
6442
6433
|
|
|
6443
6434
|
const FormMessage = /*#__PURE__*/Object.freeze({
|
|
@@ -6446,8 +6437,7 @@ const FormMessage = /*#__PURE__*/Object.freeze({
|
|
|
6446
6437
|
SuccessAlert: SuccessAlert,
|
|
6447
6438
|
ErrorAlert: ErrorAlert,
|
|
6448
6439
|
WarningAlert: WarningAlert,
|
|
6449
|
-
InfoAlert: InfoAlert
|
|
6450
|
-
FullStackSuccess: FullStackSuccess
|
|
6440
|
+
InfoAlert: InfoAlert
|
|
6451
6441
|
});
|
|
6452
6442
|
|
|
6453
6443
|
const scenario$6 = "@author:kutay\n@owner:kutay\nFeature: Hero Image\n\n\tThe Hero Image component displays media images with a header, description and button using an overlay or a double column layout to offer an attrative widget page.\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the Hero Image component\n\n\t@motivating\n\t@ui\n\tScenario: Overlay image displays header, description, and button with brand color\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\tThen they see their image\n\t\tAnd the image has no padding\n\t\tAnd it has a brand colour overlay\n\t\tAnd \"Klip Rewards\" is displayed over top of the image in xxx-large font\n\t\tAnd below \"Refer friends or complete tasks while using Klip to earn rewards\" is displayed over top of the image in x-large font\n\t\tAnd below they see a brand coloured button with text \"Start earning\"\n\t\tAnd the text section has xxx-large padding\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is scaled to fit content\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay image crop can be aligned left, center or right\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| image-pos | <value> |\n\t\tThen the image with overlay is displayed\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is <alignment> to fit content\n\t\tExamples:\n\t\t\t| value | alignment |\n\t\t\t| left | left aligned |\n\t\t\t| center | centered |\n\t\t\t| right | right aligned |\n\t\t\t| N/A | centered |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay padding is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| padding-text | <value> |\n\t\tThen the image with overlay is displayed\n\t\tAnd <padding> is applied around header, description and button\n\t\tExamples:\n\t\t\t| value | padding |\n\t\t\t| none | no padding |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| N/A | no padding |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay color and background is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| overlay-color | <overlayColor> |\n\t\t\t| overlay-opacity | <overlayOpacity> |\n\t\tThen the image with overlay is displayed\n\t\tAnd the overlay is <overlayColor>\n\t\tAnd the overlay has <overlayOpacity>\n\t\tAnd the text is <textColor>\n\t\tExamples:\n\t\t\t| textColor | overlayColor | overlayOpacity |\n\t\t\t| #fffc4b | #ff7f7f | 0.9 |\n\t\t\t| #1d0314 | #4baa1a | 0 |\n\t\t\t| #211a27 | #aa481a | 1 |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout displays an image on one side and on the other side a header, description, and button\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\tThen the image is displayed on the left\n\t\tAnd the following elements are displayed on the right\n\t\t\t| elements |\n\t\t\t| header |\n\t\t\t| description |\n\t\t\t| button |\n\t\tWhen the component is scaled down to 599px\n\t\tThen the two-column layout switches to a row layout\n\t\tAnd the image is displayed on top\n\t\tAnd the content is displayed below\n\n\t@motivating\n\t@ui\n\tScenario Outline: Image position is configurable for desktop and mobile\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| image-pos | <imagePos> |\n\t\t\t| image-mobile-pos | <imageMobilePos> |\n\t\tThen the image is displayed on the <imagePos>\n\t\tWhen the component is scaled down to 599px\n\t\tThen two-column layout switches to a row layout\n\t\tAnd image is displayed on the <imageMobilePos>\n\t\tExamples:\n\t\t\t| imagePos | imageMobilePos |\n\t\t\t| left | top |\n\t\t\t| right | bottom |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Padding is configurable for the image and text of two column layouts\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| padding-text | <paddingText> |\n\t\t\t| padding-image | <paddingImage> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image has padding <paddingImage>\n\t\tAnd the text has padding <paddingText>\n\t\tExamples:\n\t\t\t| paddingText | paddingImage |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| none | none |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Two-column layout image division percentage is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| image-percentage | <percent> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image takes up <percent> of the two-column layout\n\t\tAnd the text elements take up the remainder of the space\n\t\tExamples:\n\t\t\t| percent |\n\t\t\t| 25% |\n\t\t\t| 42% |\n\t\t\t| 66% |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout text and background color is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| background-color | <backgroundColor> |\n\t\tThen the two column layout is displayed\n\t\tAnd the text has color <textColor>\n\t\tAnd the background has color <backgroundColor>\n\t\tExamples:\n\t\t\t| textColor | backgroundColor |\n\t\t\t| #fffc4b | #ff7f7f |\n\t\t\t| #1d0314 | #4baa1a |\n\t\t\t| #211a27 | #aa481a |";
|
|
@@ -15851,7 +15841,9 @@ const GeneralLoadingView = () => {
|
|
|
15851
15841
|
return index.h(utils.LoadingView, null);
|
|
15852
15842
|
};
|
|
15853
15843
|
const GeneralErrorView = () => {
|
|
15854
|
-
return (index.h(
|
|
15844
|
+
return (index.h("sqm-form-message", { type: "error" },
|
|
15845
|
+
index.h("p", { part: "alert-title" }, "There was a problem loading your form"),
|
|
15846
|
+
index.h("p", { part: "alert-description" }, "Please refresh the page and try again. If this problem continues, contact our support team.")));
|
|
15855
15847
|
};
|
|
15856
15848
|
// STEP ONE
|
|
15857
15849
|
const StepOne = () => {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
7
7
|
const index_module = require('./index.module-4f54e412.js');
|
|
8
|
-
const utils = require('./utils-
|
|
8
|
+
const utils = require('./utils-7cbd60cc.js');
|
|
9
9
|
const reRender = require('./re-render-d516138a.js');
|
|
10
10
|
const useChildElements = require('./useChildElements-966c9041.js');
|
|
11
11
|
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-38031ab9.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
const index_module = require('./index.module-4f54e412.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
const utils$1 = require('./utils-
|
|
10
|
+
const utils$1 = require('./utils-7cbd60cc.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
|
-
const
|
|
13
|
-
const utils = require('./utils-940abb91.js');
|
|
12
|
+
const utils = require('./utils-62fd5f09.js');
|
|
14
13
|
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
15
14
|
const data = require('./data-d4339c2e.js');
|
|
16
15
|
|
|
@@ -1230,7 +1229,7 @@ const TaxAndCashMonolith = class {
|
|
|
1230
1229
|
case "/dashboard":
|
|
1231
1230
|
return (index.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"), extractProps.extractProps(props, "sqm-tax-and-cash-dashboard_"))));
|
|
1232
1231
|
case "/error":
|
|
1233
|
-
return (index.h(
|
|
1232
|
+
return (index.h("sqm-form-message", { type: "error" }, index.h("p", { part: "alert-title" }, this.loadingErrorAlertHeader), index.h("p", { part: "alert-description" }, this.loadingErrorAlertDescription)));
|
|
1234
1233
|
}
|
|
1235
1234
|
};
|
|
1236
1235
|
return getStep() || index.h(utils.LoadingView, null);
|
|
@@ -6,7 +6,7 @@ const index = require('./index-a43a63b4.js');
|
|
|
6
6
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
7
7
|
const index_module = require('./index.module-4f54e412.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
|
-
const utils = require('./utils-
|
|
9
|
+
const utils = require('./utils-7cbd60cc.js');
|
|
10
10
|
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
11
11
|
const keys = require('./keys-cff24974.js');
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
4
4
|
const index_module = require('./index.module-4f54e412.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-7cbd60cc.js');
|
|
7
7
|
|
|
8
8
|
function usePortalLogin(props) {
|
|
9
9
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
@@ -39,7 +39,12 @@ function sanitizeUrlPath(path) {
|
|
|
39
39
|
cleanUrl.hash = url.hash;
|
|
40
40
|
return cleanUrl;
|
|
41
41
|
}
|
|
42
|
+
function capitalizeFirstLetter(word) {
|
|
43
|
+
return word[0].toUpperCase() + word.slice(1);
|
|
44
|
+
}
|
|
45
|
+
console.log(capitalizeFirstLetter("warning"));
|
|
42
46
|
|
|
47
|
+
exports.capitalizeFirstLetter = capitalizeFirstLetter;
|
|
43
48
|
exports.getMissingProps = getMissingProps;
|
|
44
49
|
exports.getProps = getProps;
|
|
45
50
|
exports.luxonLocale = luxonLocale;
|
|
@@ -4,29 +4,21 @@ export default {
|
|
|
4
4
|
};
|
|
5
5
|
export const SuccessAlert = () => {
|
|
6
6
|
return (h("sqm-form-message", { type: "success" },
|
|
7
|
-
h("
|
|
7
|
+
h("p", { part: "alert-title" }, "This is the title"),
|
|
8
|
+
h("p", { part: "alert-description" }, "This is the description")));
|
|
8
9
|
};
|
|
9
10
|
export const ErrorAlert = () => {
|
|
10
11
|
return (h("sqm-form-message", { type: "error" },
|
|
11
|
-
h("
|
|
12
|
+
h("p", { part: "alert-title" }, "This is the title"),
|
|
13
|
+
h("p", { part: "alert-description" }, "This is the description")));
|
|
12
14
|
};
|
|
13
15
|
export const WarningAlert = () => {
|
|
14
16
|
return (h("sqm-form-message", { type: "warning" },
|
|
15
|
-
h("
|
|
17
|
+
h("p", { part: "alert-title" }, "This is the title"),
|
|
18
|
+
h("p", { part: "alert-description" }, "This is the description")));
|
|
16
19
|
};
|
|
17
20
|
export const InfoAlert = () => {
|
|
18
21
|
return (h("sqm-form-message", { type: "info" },
|
|
19
|
-
h("
|
|
20
|
-
};
|
|
21
|
-
export const FullStackSuccess = () => {
|
|
22
|
-
return (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
23
|
-
h("div", { class: "AlertContent" },
|
|
24
|
-
h("div", { part: "successalert-text" }, "Title"),
|
|
25
|
-
h("div", { part: "successalert-subtext" }, "Body text."),
|
|
26
|
-
h("sl-button", { type: "primary", exportparts: "base: primarybutton-base", onClick: () => {
|
|
27
|
-
console.log("click");
|
|
28
|
-
} }, "Primary Action"),
|
|
29
|
-
h("sl-button", { class: "SecondaryTextButton", type: "text", onClick: () => {
|
|
30
|
-
console.log("click");
|
|
31
|
-
} }, "Secondary Action"))));
|
|
22
|
+
h("p", { part: "alert-title" }, "This is the title"),
|
|
23
|
+
h("p", { part: "alert-description" }, "This is the description")));
|
|
32
24
|
};
|
|
@@ -1,25 +1,64 @@
|
|
|
1
1
|
sl-alert::part(base) {
|
|
2
|
-
border:
|
|
3
|
-
border-radius:
|
|
4
|
-
|
|
2
|
+
border: var(--sqm-border-thickness) solid;
|
|
3
|
+
border-radius: var(--sqm-border-radius-normal);
|
|
4
|
+
font-family: var(--sqm-primary-font);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.Error::part(base) {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
color: var(--sqm-danger-color-text);
|
|
9
|
+
background-color: var(--sqm-danger-color-background);
|
|
10
|
+
border-color: var(--sqm-danger-color-border);
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.Error::part(icon) {
|
|
15
|
+
color: var(--sqm-danger-color-icon);
|
|
16
|
+
font-size: 24px;
|
|
10
17
|
}
|
|
11
18
|
|
|
12
19
|
.Warning::part(base) {
|
|
13
|
-
|
|
14
|
-
|
|
20
|
+
color: var(--sqm-warning-color-text);
|
|
21
|
+
background-color: var(--sqm-warning-color-background);
|
|
22
|
+
border-color: var(--sqm-warning-color-border);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.Warning::part(icon) {
|
|
26
|
+
color: var(--sqm-warning-color-icon);
|
|
27
|
+
font-size: 24px;
|
|
15
28
|
}
|
|
16
29
|
|
|
17
30
|
.Success::part(base) {
|
|
18
|
-
|
|
19
|
-
|
|
31
|
+
color: var(--sqm-success-color-text);
|
|
32
|
+
background-color: var(--sqm-success-color-background);
|
|
33
|
+
border-color: var(--sqm-success-color-border);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.Success::part(icon) {
|
|
37
|
+
color: var(--sqm-success-color-icon);
|
|
38
|
+
font-size: 24px;
|
|
20
39
|
}
|
|
21
40
|
|
|
22
41
|
.Info::part(base) {
|
|
23
|
-
|
|
24
|
-
|
|
42
|
+
color: var(--sqm-informative-color-text);
|
|
43
|
+
background-color: var(--sqm-informative-color-background);
|
|
44
|
+
border-color: var(--sqm-informative-color-border);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.Info::part(icon) {
|
|
48
|
+
color: var(--sqm-informative-color-icon);
|
|
49
|
+
font-size: 24px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
::slotted(*) {
|
|
53
|
+
margin: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
::slotted(*[part=alert-title]) {
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
font-weight: bold;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
::slotted(*[part=alert-description]),
|
|
62
|
+
::slotted(*[part=erroralert-text]) {
|
|
63
|
+
font-size: 14px;
|
|
25
64
|
}
|
|
@@ -13,22 +13,22 @@ export class FormMessage {
|
|
|
13
13
|
render() {
|
|
14
14
|
if (this.type === "error") {
|
|
15
15
|
return (h("sl-alert", { exportparts: "base: erroralert-base, icon:erroralert-icon", class: "Error", type: "danger", open: true },
|
|
16
|
-
h("sl-icon", { slot: "icon", name: `${this.icon ? this.icon : "exclamation-octagon"}` }),
|
|
16
|
+
h("sl-icon", { part: "alert-icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-octagon"}` }),
|
|
17
17
|
h("slot", null)));
|
|
18
18
|
}
|
|
19
19
|
else if (this.type === "info") {
|
|
20
20
|
return (h("sl-alert", { exportparts: "base: infoalert-base, icon:infoalert-icon", class: "Info", type: "primary", open: true },
|
|
21
|
-
h("sl-icon", { slot: "icon", name: `${this.icon ? this.icon : "info-circle"}` }),
|
|
21
|
+
h("sl-icon", { slot: "icon", part: "alert-icon", name: `${this.icon ? this.icon : "info-circle"}` }),
|
|
22
22
|
h("slot", null)));
|
|
23
23
|
}
|
|
24
24
|
else if (this.type === "warning") {
|
|
25
25
|
return (h("sl-alert", { exportparts: "base: warningalert-base, icon:warningalert-icon", class: "Warning", type: "warning", open: true },
|
|
26
|
-
h("sl-icon", { slot: "icon", name: `${this.icon ? this.icon : "exclamation-triangle"}` }),
|
|
26
|
+
h("sl-icon", { part: "alert-icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-triangle"}` }),
|
|
27
27
|
h("slot", null)));
|
|
28
28
|
}
|
|
29
29
|
else {
|
|
30
30
|
return (h("sl-alert", { exportparts: "base: successalert-base, icon:successalert-icon", class: "Success", type: "success", open: true },
|
|
31
|
-
h("sl-icon", { slot: "icon", name: `${this.icon ? this.icon : "check2-circle"}` }),
|
|
31
|
+
h("sl-icon", { part: "alert-icon", slot: "icon", name: `${this.icon ? this.icon : "check2-circle"}` }),
|
|
32
32
|
h("slot", null)));
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -26,6 +26,9 @@ const style = {
|
|
|
26
26
|
},
|
|
27
27
|
CodeInput: {
|
|
28
28
|
maxWidth: "40px",
|
|
29
|
+
"&::part(base)": {
|
|
30
|
+
borderRadius: "4px !important",
|
|
31
|
+
},
|
|
29
32
|
"&::part(input)": {
|
|
30
33
|
margin: "0",
|
|
31
34
|
padding: "0 var(--sl-input-spacing-small)",
|
|
@@ -35,6 +38,9 @@ const style = {
|
|
|
35
38
|
CodeInputError: {
|
|
36
39
|
...ErrorStyles,
|
|
37
40
|
maxWidth: "40px",
|
|
41
|
+
"&::part(base)": {
|
|
42
|
+
borderRadius: "4px !important",
|
|
43
|
+
},
|
|
38
44
|
"&::part(input)": {
|
|
39
45
|
margin: "0",
|
|
40
46
|
padding: "0 var(--sl-input-spacing-small)",
|
|
@@ -42,7 +48,7 @@ const style = {
|
|
|
42
48
|
},
|
|
43
49
|
},
|
|
44
50
|
ErrorText: {
|
|
45
|
-
color: "var(--
|
|
51
|
+
color: "var(--sqm-danger-color-text)",
|
|
46
52
|
fontSize: "var(--sl-font-size-small)",
|
|
47
53
|
margin: "0",
|
|
48
54
|
},
|
|
@@ -85,7 +91,11 @@ export function WidgetCodeVerificationView(props) {
|
|
|
85
91
|
id: "resendCodeText",
|
|
86
92
|
defaultMessage: text.resendCodeText,
|
|
87
93
|
}, {
|
|
88
|
-
resendCodeLink: (h("a", { href: "", style: {
|
|
94
|
+
resendCodeLink: (h("a", { href: "", style: {
|
|
95
|
+
textDecoration: "underline",
|
|
96
|
+
color: "inherit",
|
|
97
|
+
cursor: "pointer",
|
|
98
|
+
}, onClick: (e) => {
|
|
89
99
|
e.preventDefault();
|
|
90
100
|
callbacks.resendEmail();
|
|
91
101
|
} }, text.resendCodeLabel)),
|
|
@@ -16,13 +16,6 @@ const style = {
|
|
|
16
16
|
flexDirection: "column",
|
|
17
17
|
maxWidth: "320px",
|
|
18
18
|
},
|
|
19
|
-
ErrorAlertContainer: {
|
|
20
|
-
"&::part(base)": {
|
|
21
|
-
backgroundColor: "var(--sl-color-red-100)",
|
|
22
|
-
borderTop: "none",
|
|
23
|
-
},
|
|
24
|
-
"&::part(message)": {},
|
|
25
|
-
},
|
|
26
19
|
ContinueButton: {
|
|
27
20
|
width: "100%",
|
|
28
21
|
maxWidth: "100px",
|
|
@@ -56,6 +49,12 @@ const vanillaStyle = `
|
|
|
56
49
|
:host([hidden]): {
|
|
57
50
|
display: none;
|
|
58
51
|
}
|
|
52
|
+
|
|
53
|
+
a {
|
|
54
|
+
color: inherit;
|
|
55
|
+
text-decoration: underline;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
}
|
|
59
58
|
`;
|
|
60
59
|
const sheet = createStyleSheet(style);
|
|
61
60
|
const styleString = sheet.toString();
|
|
@@ -71,10 +70,8 @@ export function WidgetEmailVerificationView(props) {
|
|
|
71
70
|
h("style", { type: "text/css" },
|
|
72
71
|
vanillaStyle,
|
|
73
72
|
styleString),
|
|
74
|
-
states.sendCodeError && (h("
|
|
75
|
-
h("
|
|
76
|
-
h("b", null, text.sendCodeErrorHeader),
|
|
77
|
-
h("br", null),
|
|
73
|
+
states.sendCodeError && (h("sqm-form-message", { type: "error" },
|
|
74
|
+
h("p", { part: "alert-title" }, text.sendCodeErrorHeader),
|
|
78
75
|
intl.formatMessage({
|
|
79
76
|
id: "sendCodeErrorDescription",
|
|
80
77
|
defaultMessage: text.sendCodeErrorDescription,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { ErrorView } from "./sqm-tax-and-cash/ErrorView";
|
|
3
2
|
import LoadingView from "./sqm-tax-and-cash/LoadingView";
|
|
4
3
|
import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "./subregions";
|
|
5
4
|
import { taxTypeToName } from "./utils";
|
|
@@ -282,7 +281,9 @@ export const GeneralLoadingView = () => {
|
|
|
282
281
|
return h(LoadingView, null);
|
|
283
282
|
};
|
|
284
283
|
export const GeneralErrorView = () => {
|
|
285
|
-
return (h(
|
|
284
|
+
return (h("sqm-form-message", { type: "error" },
|
|
285
|
+
h("p", { part: "alert-title" }, "There was a problem loading your form"),
|
|
286
|
+
h("p", { part: "alert-description" }, "Please refresh the page and try again. If this problem continues, contact our support team.")));
|
|
286
287
|
};
|
|
287
288
|
// STEP ONE
|
|
288
289
|
export const StepOne = () => {
|
package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js
CHANGED
|
@@ -48,35 +48,10 @@ const style = {
|
|
|
48
48
|
DescriptionText: {
|
|
49
49
|
color: "var(--sqm-text-subdued)",
|
|
50
50
|
},
|
|
51
|
-
AlertContainer: {
|
|
52
|
-
"&::part(base)": {
|
|
53
|
-
backgroundColor: "var(--sqm-danger-color-background)",
|
|
54
|
-
border: "none",
|
|
55
|
-
padding: "0 16px",
|
|
56
|
-
color: "var(--sqm-danger-color-text)",
|
|
57
|
-
marginBottom: "16px",
|
|
58
|
-
},
|
|
59
|
-
"& sl-icon::part(base)": {
|
|
60
|
-
color: "var(--sqm-danger-color-icon)",
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
51
|
RadioContainer: {
|
|
64
52
|
display: "flex",
|
|
65
53
|
flexDirection: "column",
|
|
66
54
|
},
|
|
67
|
-
PartnerAlertContainer: {
|
|
68
|
-
"&::part(base)": {
|
|
69
|
-
backgroundColor: "var(--sqm-informative-color-background)",
|
|
70
|
-
borderTop: "none",
|
|
71
|
-
padding: "0 16px",
|
|
72
|
-
border: "none",
|
|
73
|
-
color: "var(--sqm-informative-color-text)",
|
|
74
|
-
marginBottom: "16px",
|
|
75
|
-
},
|
|
76
|
-
"& sl-icon::part(base)": {
|
|
77
|
-
color: "var(--sqm-informative-color-icon)",
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
55
|
Checkbox: {
|
|
81
56
|
"&::part(control)": {
|
|
82
57
|
borderRadius: "50% !important",
|
|
@@ -231,20 +206,16 @@ export const BankingInfoFormView = (props) => {
|
|
|
231
206
|
}, { step: states.step, count: FORM_STEPS }))),
|
|
232
207
|
h("h3", { style: { fontSize: "24px" } }, text.taxAndPayouts),
|
|
233
208
|
h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription)),
|
|
234
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("
|
|
235
|
-
h("
|
|
236
|
-
h("strong", null, text.error.generalTitle),
|
|
237
|
-
h("br", null),
|
|
209
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
|
|
210
|
+
h("p", { part: "alert-title" }, text.error.generalTitle),
|
|
238
211
|
intl.formatMessage({
|
|
239
212
|
id: "generalDescription",
|
|
240
213
|
defaultMessage: text.error.generalDescription,
|
|
241
214
|
}, {
|
|
242
215
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
243
216
|
}))),
|
|
244
|
-
states.isPartner && !states.hideSteps && (h("
|
|
245
|
-
h("
|
|
246
|
-
h("strong", null, text.isPartnerAlertHeader),
|
|
247
|
-
h("br", null),
|
|
217
|
+
states.isPartner && !states.hideSteps && (h("sqm-form-message", { type: "info" },
|
|
218
|
+
h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
248
219
|
intl.formatMessage({
|
|
249
220
|
id: "isPartnerAlertDescription",
|
|
250
221
|
defaultMessage: text.isPartnerAlertDescription,
|
|
@@ -48,31 +48,6 @@ const style = {
|
|
|
48
48
|
BoldText: {
|
|
49
49
|
fontWeight: "bold",
|
|
50
50
|
},
|
|
51
|
-
ErrorAlertContainer: {
|
|
52
|
-
"&::part(base)": {
|
|
53
|
-
backgroundColor: "var(--sqm-danger-color-background)",
|
|
54
|
-
border: "none",
|
|
55
|
-
padding: "0 16px",
|
|
56
|
-
color: "var(--sqm-danger-color-text)",
|
|
57
|
-
marginBottom: "16px",
|
|
58
|
-
},
|
|
59
|
-
"& sl-icon::part(base)": {
|
|
60
|
-
color: "var(--sqm-danger-color-icon)",
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
InfoAlert: {
|
|
64
|
-
"&::part(base)": {
|
|
65
|
-
backgroundColor: "var(--sqm-informative-color-background)",
|
|
66
|
-
borderTop: "none",
|
|
67
|
-
padding: "0 16px",
|
|
68
|
-
border: "none",
|
|
69
|
-
color: "var(--sqm-informative-color-text)",
|
|
70
|
-
marginBottom: "16px",
|
|
71
|
-
},
|
|
72
|
-
"& sl-icon::part(base)": {
|
|
73
|
-
color: "var(--sqm-informative-color-icon)",
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
51
|
Container: {
|
|
77
52
|
width: "100%",
|
|
78
53
|
display: "flex",
|
|
@@ -122,20 +97,21 @@ const style = {
|
|
|
122
97
|
const sheet = createStyleSheet(style);
|
|
123
98
|
const styleString = sheet.toString();
|
|
124
99
|
const vanillaStyle = `
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
100
|
+
:host{
|
|
101
|
+
display: block;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
* {
|
|
105
|
+
margin: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
}
|
|
133
109
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
110
|
+
a {
|
|
111
|
+
color: inherit;
|
|
112
|
+
text-decoration: underline;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
}
|
|
139
115
|
|
|
140
116
|
|
|
141
117
|
`;
|
|
@@ -149,7 +125,7 @@ export const DocusignFormView = (props) => {
|
|
|
149
125
|
vanillaStyle),
|
|
150
126
|
h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
|
|
151
127
|
h("div", { class: classes.ModalTitleContainer, slot: "label" },
|
|
152
|
-
h("sl-icon", { name: "info-circle", style: { color: "var(--
|
|
128
|
+
h("sl-icon", { name: "info-circle", style: { color: "var(--sqm-informative-color-icon)" } }),
|
|
153
129
|
h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
|
|
154
130
|
h("p", null, intl.formatMessage({
|
|
155
131
|
id: "modalText",
|
|
@@ -167,20 +143,16 @@ export const DocusignFormView = (props) => {
|
|
|
167
143
|
h("h3", null, text.taxForm),
|
|
168
144
|
h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
|
|
169
145
|
states.loadingError && (h("div", null,
|
|
170
|
-
h("
|
|
171
|
-
h("
|
|
172
|
-
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
173
|
-
h("br", null),
|
|
146
|
+
h("sqm-form-message", { type: "error" },
|
|
147
|
+
h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
|
|
174
148
|
intl.formatMessage({
|
|
175
149
|
id: "loadingErrorAlertDescription",
|
|
176
150
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
177
151
|
}, {
|
|
178
152
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
179
153
|
})))),
|
|
180
|
-
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("
|
|
181
|
-
h("
|
|
182
|
-
h("strong", null, text.error.generalTitle),
|
|
183
|
-
h("br", null),
|
|
154
|
+
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
|
|
155
|
+
h("p", { part: "alert-title" }, text.error.generalTitle),
|
|
184
156
|
intl.formatMessage({
|
|
185
157
|
id: "generalDescription",
|
|
186
158
|
defaultMessage: text.error.generalDescription,
|