@saasquatch/mint-components 2.0.0-66 → 2.0.0-67
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/{ShadowViewAddon-23b04c91.js → ShadowViewAddon-cd5c186c.js} +2 -4
- package/dist/cjs/{copy-text-view-51c8ee5d.js → copy-text-view-322436c2.js} +2 -8
- package/dist/cjs/{usePayoutStatus-fe32dd1a.js → data-16106637.js} +142 -0
- package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +10 -14
- package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +1308 -11
- package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-lead-input-field.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-google-login.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +12 -14
- package/dist/cjs/sqm-tabs.cjs.entry.js +1 -4
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -2
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -4
- package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
- package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -2
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -3
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -3
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +8 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +6 -10
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -4
- package/dist/collection/components/views/copy-text-view.js +2 -8
- package/dist/collection/utils/utils.js +0 -1
- package/dist/esm/{ShadowViewAddon-c0bd62f7.js → ShadowViewAddon-11ffa85d.js} +2 -4
- package/dist/esm/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +2 -8
- package/dist/esm/{usePayoutStatus-42cc6a2c.js → data-acdb790f.js} +128 -1
- package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +3 -7
- package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +1306 -10
- package/dist/esm/sqm-code-verification.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm/sqm-lead-input-field.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-google-login.entry.js +2 -2
- package/dist/esm/sqm-portal-profile.entry.js +1 -1
- 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.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -3
- package/dist/esm/sqm-stencilbook.entry.js +12 -14
- package/dist/esm/sqm-tabs.entry.js +1 -4
- package/dist/esm/sqm-widget-verification-controller.entry.js +3 -2
- package/dist/esm/sqm-widget-verification.entry.js +2 -3
- package/dist/esm/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
- package/dist/esm/{utils-84b4b092.js → utils-334c1e34.js} +0 -4
- package/dist/esm-es5/{ShadowViewAddon-c0bd62f7.js → ShadowViewAddon-11ffa85d.js} +1 -1
- package/dist/esm-es5/data-acdb790f.js +6 -0
- package/dist/esm-es5/extractProps-54064fb0.js +1 -0
- 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_47.entry.js +1 -0
- 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-invoice-table-data-cell_5.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-input-field.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-google-login.entry.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.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-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
- package/dist/esm-es5/utils-334c1e34.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-6b247deb.entry.js → p-010957a1.entry.js} +6 -6
- package/dist/mint-components/p-0797a946.js +1 -0
- package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
- package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-14e813a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-622b4066.entry.js → p-16ac4d4f.entry.js} +2 -2
- package/dist/mint-components/{p-35081b0c.system.entry.js → p-18720462.system.entry.js} +1 -1
- package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
- package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
- package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
- package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
- package/dist/mint-components/{p-e711d0e9.js → p-44fc6029.js} +1 -1
- package/dist/mint-components/p-469a6450.system.js +6 -0
- package/dist/mint-components/p-4adf23e7.entry.js +273 -0
- package/dist/mint-components/{p-7b8cd420.system.entry.js → p-4ce51b1c.system.entry.js} +1 -1
- package/dist/mint-components/{p-cb845a3a.system.entry.js → p-56009bf0.system.entry.js} +1 -1
- package/dist/mint-components/{p-c86f64ad.system.entry.js → p-5b7a896e.system.entry.js} +1 -1
- package/dist/mint-components/{p-0caad0db.entry.js → p-5d059c95.entry.js} +1 -1
- package/dist/mint-components/{p-f370bddc.entry.js → p-60c14cec.entry.js} +1 -1
- package/dist/mint-components/p-6333265f.system.js +1 -0
- package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-6445e926.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9ad7fb2.system.entry.js → p-674d9089.system.entry.js} +1 -1
- package/dist/mint-components/{p-29f0c87d.entry.js → p-6a0ddee0.entry.js} +1 -1
- package/dist/mint-components/p-6c006998.entry.js +33 -0
- package/dist/mint-components/{p-b1eafaae.entry.js → p-6d9ce4e5.entry.js} +1 -1
- package/dist/mint-components/{p-b703c89f.system.entry.js → p-717b6730.system.entry.js} +1 -1
- package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
- package/dist/mint-components/{p-433e7458.entry.js → p-7e323f2c.entry.js} +1 -1
- package/dist/mint-components/{p-c531cc75.entry.js → p-85029918.entry.js} +1 -1
- package/dist/mint-components/{p-ab018deb.entry.js → p-8931d05e.entry.js} +2 -2
- package/dist/mint-components/{p-b487cb00.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf22cf56.entry.js → p-8b5b2acc.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/p-9ba07029.system.entry.js +1 -0
- package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
- package/dist/mint-components/{p-4250b06d.entry.js → p-a217cc8d.entry.js} +1 -1
- package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.entry.js} +1 -1
- package/dist/mint-components/{p-61157c6a.entry.js → p-a5c63310.entry.js} +1 -1
- package/dist/mint-components/{p-1c6ef258.system.entry.js → p-ac86903a.system.entry.js} +1 -1
- package/dist/mint-components/{p-76d4ef41.entry.js → p-aefaec37.entry.js} +1 -1
- package/dist/mint-components/{p-bfd77a07.entry.js → p-b00e8365.entry.js} +1 -1
- package/dist/mint-components/{p-66cf70f7.system.entry.js → p-b3510ca0.system.entry.js} +1 -1
- package/dist/mint-components/{p-bb452830.system.js → p-b377570a.system.js} +1 -1
- package/dist/mint-components/{p-06f13966.system.entry.js → p-bec87ac9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
- package/dist/mint-components/p-d2bb770d.system.entry.js +1 -0
- package/dist/mint-components/{p-d4edce6c.system.entry.js → p-d3120982.system.entry.js} +1 -1
- package/dist/mint-components/{p-cf4e1709.entry.js → p-d9780ae9.entry.js} +1 -1
- package/dist/mint-components/{p-978d06ab.entry.js → p-e1422b78.entry.js} +1 -1
- package/dist/mint-components/p-e1e7d01c.js +157 -0
- package/dist/mint-components/{p-84d1041d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
- package/dist/mint-components/p-e55aafe9.system.js +1 -0
- package/dist/mint-components/{p-7d735c9c.js → p-e658929b.js} +1 -1
- package/dist/mint-components/{p-b038b72a.system.entry.js → p-e9a596ad.system.entry.js} +1 -1
- package/dist/mint-components/{p-0d21194c.entry.js → p-ea0bc627.entry.js} +1 -1
- package/dist/mint-components/{p-dd30354a.system.entry.js → p-f3613921.system.entry.js} +1 -1
- package/dist/mint-components/{p-55eaba8e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
- package/dist/mint-components/{p-2623b232.system.entry.js → p-f401ef19.system.entry.js} +1 -1
- package/dist/mint-components/p-f66e02c7.system.entry.js +1 -0
- package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +3 -2
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components.d.ts +6 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/data-88adb95b.js +0 -146
- package/dist/cjs/parseStates-d1effc19.js +0 -16
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
- package/dist/esm/data-807686c2.js +0 -130
- package/dist/esm/parseStates-ed75e224.js +0 -14
- package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
- package/dist/esm-es5/data-807686c2.js +0 -1
- package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
- package/dist/esm-es5/parseStates-ed75e224.js +0 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
- package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
- package/dist/esm-es5/utils-84b4b092.js +0 -1
- package/dist/mint-components/p-115dfc03.system.js +0 -1
- package/dist/mint-components/p-13f3a647.js +0 -1
- package/dist/mint-components/p-26468242.js +0 -1
- package/dist/mint-components/p-4306a11d.entry.js +0 -33
- package/dist/mint-components/p-43a9fb8e.system.entry.js +0 -1
- package/dist/mint-components/p-454a6d05.system.entry.js +0 -1
- package/dist/mint-components/p-4b9976cc.system.js +0 -1
- package/dist/mint-components/p-60f1cca2.system.js +0 -1
- package/dist/mint-components/p-75c569f7.entry.js +0 -1
- package/dist/mint-components/p-7837f69e.js +0 -46
- package/dist/mint-components/p-7b8232f8.system.js +0 -6
- package/dist/mint-components/p-8c3c4e92.js +0 -112
- package/dist/mint-components/p-a63a985a.system.entry.js +0 -1
- package/dist/mint-components/p-a8645c1b.system.js +0 -1
- package/dist/mint-components/p-c40ea48b.entry.js +0 -273
- package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
- /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
- /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
- /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
|
@@ -7,7 +7,7 @@ const global = require('./global-8bba5b3a.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 = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const mixins = require('./mixins-4761d472.js');
|
|
13
13
|
const sqmTextSpanView = require('./sqm-text-span-view-7a61ae4c.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index$1 = 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-6847bc06.js');
|
|
9
9
|
const index = require('./index-8c6255f5.js');
|
|
10
10
|
|
|
11
11
|
const debug = domContextHooks_module.browser("sq:useRouter");
|
|
@@ -7,7 +7,7 @@ const global = require('./global-8bba5b3a.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 = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const sqmTextSpanView = require('./sqm-text-span-view-7a61ae4c.js');
|
|
13
13
|
const keys = require('./keys-cff24974.js');
|
|
@@ -6,7 +6,7 @@ const index = require('./index-a43a63b4.js');
|
|
|
6
6
|
const global = require('./global-8bba5b3a.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
8
8
|
require('./index.module-4f54e412.js');
|
|
9
|
-
const utils = require('./utils-
|
|
9
|
+
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
6
|
const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-6847bc06.js');
|
|
8
8
|
const luxon = require('./luxon-949beaf2.js');
|
|
9
9
|
|
|
10
10
|
const InvoiceTableDataCell = class {
|
|
@@ -7,7 +7,7 @@ require('./global-8bba5b3a.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 = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const useLeadFormState = require('./useLeadFormState-fd0445f9.js');
|
|
13
13
|
const sqmLeadCheckboxFieldView = require('./sqm-lead-checkbox-field-view-340acad0.js');
|
|
@@ -7,7 +7,7 @@ require('./global-8bba5b3a.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 = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-4761d472.js');
|
|
13
13
|
const useLeadFormState = require('./useLeadFormState-fd0445f9.js');
|
|
@@ -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-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-b61c8bdf.js');
|
|
12
12
|
|
|
@@ -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-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-4761d472.js');
|
|
12
12
|
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-4e88f774.js');
|
|
@@ -7,11 +7,11 @@ const global = require('./global-8bba5b3a.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 = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const useReferralCodes = require('./useReferralCodes-11cdf43b.js');
|
|
13
13
|
require('./mixins-4761d472.js');
|
|
14
|
-
const copyTextView = require('./copy-text-view-
|
|
14
|
+
const copyTextView = require('./copy-text-view-322436c2.js');
|
|
15
15
|
|
|
16
16
|
const style = {
|
|
17
17
|
Container: {
|
|
@@ -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-6847bc06.js');
|
|
10
10
|
const JSS = require('./JSS-8503a151.js');
|
|
11
11
|
const mixins = require('./mixins-4761d472.js');
|
|
12
12
|
const useRegistrationFormState = require('./useRegistrationFormState-bbee6e7b.js');
|
|
@@ -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-6847bc06.js');
|
|
9
9
|
|
|
10
10
|
const PopupContainerView = (props) => {
|
|
11
11
|
const { states, callbacks } = props;
|
|
@@ -7,12 +7,12 @@ const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js')
|
|
|
7
7
|
const index_module = require('./index.module-4f54e412.js');
|
|
8
8
|
require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
require('./utils-
|
|
10
|
+
require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-4761d472.js');
|
|
13
13
|
require('./sqm-text-span-view-7a61ae4c.js');
|
|
14
14
|
const sqmPortalLoginView = require('./sqm-portal-login-view-bb50304c.js');
|
|
15
|
-
const usePortalLogin = require('./usePortalLogin-
|
|
15
|
+
const usePortalLogin = require('./usePortalLogin-1c022d8d.js');
|
|
16
16
|
|
|
17
17
|
const PortalGoogleLogin = class {
|
|
18
18
|
constructor(hostRef) {
|
|
@@ -7,7 +7,7 @@ require('./global-8bba5b3a.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 = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-7a61ae4c.js');
|
|
13
13
|
const sqmPortalProfileView = require('./sqm-portal-profile-view-615e6975.js');
|
|
@@ -7,7 +7,7 @@ const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js')
|
|
|
7
7
|
const index_module = require('./index.module-4f54e412.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
const utils = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-4761d472.js');
|
|
13
13
|
require('./sqm-text-span-view-7a61ae4c.js');
|
|
@@ -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-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-4761d472.js');
|
|
12
12
|
require('./sqm-text-span-view-7a61ae4c.js');
|
|
@@ -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-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const useReferralCodes = require('./useReferralCodes-11cdf43b.js');
|
|
12
12
|
require('./ErrorView-3f91e5ab.js');
|
|
@@ -7,7 +7,7 @@ const global = require('./global-8bba5b3a.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 = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-4761d472.js');
|
|
13
13
|
const GenericTableView = require('./GenericTableView-a9845e80.js');
|
|
@@ -7,7 +7,7 @@ const global = require('./global-8bba5b3a.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 = require('./utils-
|
|
10
|
+
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-4761d472.js');
|
|
13
13
|
const GenericTableView = require('./GenericTableView-a9845e80.js');
|
|
@@ -983,8 +983,7 @@ const RewardTableStatusCell = class {
|
|
|
983
983
|
: rewardStatus === "DENIED"
|
|
984
984
|
? this.deniedText
|
|
985
985
|
: null;
|
|
986
|
-
|
|
987
|
-
const getBadgeCSSClass = (badgeType) => {
|
|
986
|
+
const getBadgeCSSClass = () => {
|
|
988
987
|
switch (rewardStatus) {
|
|
989
988
|
case "AVAILABLE":
|
|
990
989
|
return sheet$1.classes.SuccessBadge;
|
|
@@ -7,11 +7,11 @@ require('./global-8bba5b3a.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-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./useReferralCodes-11cdf43b.js');
|
|
13
13
|
require('./mixins-4761d472.js');
|
|
14
|
-
const copyTextView = require('./copy-text-view-
|
|
14
|
+
const copyTextView = require('./copy-text-view-322436c2.js');
|
|
15
15
|
const GenericTableView = require('./GenericTableView-a9845e80.js');
|
|
16
16
|
require('./useChildElements-966c9041.js');
|
|
17
17
|
const luxon = require('./luxon-949beaf2.js');
|
|
@@ -34,7 +34,7 @@ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-25e
|
|
|
34
34
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-1c4e781f.js');
|
|
35
35
|
require('./ErrorView-3f91e5ab.js');
|
|
36
36
|
const sqmQrCodeView = require('./sqm-qr-code-view-4ccf89da.js');
|
|
37
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
37
|
+
const ShadowViewAddon = require('./ShadowViewAddon-cd5c186c.js');
|
|
38
38
|
const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
|
|
39
39
|
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-e5f70b8b.js');
|
|
40
40
|
const utils = require('./utils-83d125fa.js');
|
|
@@ -9016,6 +9016,7 @@ const successProps$2 = {
|
|
|
9016
9016
|
content: {
|
|
9017
9017
|
loginText: "Login",
|
|
9018
9018
|
messageSlot: "Enter your email below to receive a password reset link.",
|
|
9019
|
+
successAlertText: "An email has been sent with instructions to reset your password.",
|
|
9019
9020
|
},
|
|
9020
9021
|
};
|
|
9021
9022
|
const Default$e = () => index.h(ShadowViewAddon.PortalForgotPasswordView, Object.assign({}, defaultProps$e));
|
|
@@ -16868,16 +16869,12 @@ const TaxAndCashDashboardDisabled = () => {
|
|
|
16868
16869
|
},
|
|
16869
16870
|
} }));
|
|
16870
16871
|
};
|
|
16871
|
-
|
|
16872
|
-
|
|
16873
|
-
//
|
|
16874
|
-
|
|
16875
|
-
|
|
16876
|
-
|
|
16877
|
-
// }}
|
|
16878
|
-
// ></sqm-tax-and-cash>
|
|
16879
|
-
// );
|
|
16880
|
-
// };
|
|
16872
|
+
const TaxAndCashTextProps = () => {
|
|
16873
|
+
return (index.h("sqm-tax-and-cash", { demoData: {
|
|
16874
|
+
// @ts-ignore
|
|
16875
|
+
showTextProps: true,
|
|
16876
|
+
} }));
|
|
16877
|
+
};
|
|
16881
16878
|
|
|
16882
16879
|
const TaxForm = /*#__PURE__*/Object.freeze({
|
|
16883
16880
|
__proto__: null,
|
|
@@ -16947,7 +16944,8 @@ const TaxForm = /*#__PURE__*/Object.freeze({
|
|
|
16947
16944
|
TaxAndCashDashboardLoading: TaxAndCashDashboardLoading,
|
|
16948
16945
|
TaxAndCashDashboardWithLoadingError: TaxAndCashDashboardWithLoadingError,
|
|
16949
16946
|
TaxAndCashDashboardWithGeneralError: TaxAndCashDashboardWithGeneralError,
|
|
16950
|
-
TaxAndCashDashboardDisabled: TaxAndCashDashboardDisabled
|
|
16947
|
+
TaxAndCashDashboardDisabled: TaxAndCashDashboardDisabled,
|
|
16948
|
+
TaxAndCashTextProps: TaxAndCashTextProps
|
|
16951
16949
|
});
|
|
16952
16950
|
|
|
16953
16951
|
const PayoutDetailsCard_stories = {
|
|
@@ -5,13 +5,10 @@ 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-6847bc06.js');
|
|
9
9
|
const reRender = require('./re-render-d516138a.js');
|
|
10
10
|
const useChildElements = require('./useChildElements-966c9041.js');
|
|
11
11
|
|
|
12
|
-
// sl-tab-group {
|
|
13
|
-
// --sl-color-primary-500: var(--sqm-accent-color-icon);
|
|
14
|
-
// }
|
|
15
12
|
const TabsView = ({ content, placement, textColor = "var(--sqm-text)", }) => {
|
|
16
13
|
// Vertical padding for top & bottom placement, horizontal for left & right.
|
|
17
14
|
const padding = !placement || placement === "top" || placement === "bottom"
|
|
@@ -38,8 +38,9 @@ const WidgetVerificationController = class {
|
|
|
38
38
|
constructor(hostRef) {
|
|
39
39
|
index.registerInstance(this, hostRef);
|
|
40
40
|
/**
|
|
41
|
-
* @
|
|
42
|
-
* @componentState { "title": "
|
|
41
|
+
* @undocumented
|
|
42
|
+
* @componentState { "title": "Verify email", "slot": "not-verified", "props": { "isAuth": false }, "disabled": "true" }
|
|
43
|
+
* @componentState { "title": "Tax and cash", "slot": "verified", "props": { "isAuth": true }, "disabled": "true" }
|
|
43
44
|
*/
|
|
44
45
|
this.stateController = "{}";
|
|
45
46
|
domContextHooks_module.h$1(this);
|
|
@@ -6,9 +6,8 @@ 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-
|
|
10
|
-
const
|
|
11
|
-
const extractProps = require('./extractProps-fd93ba62.js');
|
|
9
|
+
const utils = require('./utils-6847bc06.js');
|
|
10
|
+
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
12
11
|
const keys = require('./keys-cff24974.js');
|
|
13
12
|
|
|
14
13
|
const USER_LOOKUP = index_module.dist.gql `
|
|
@@ -202,7 +201,7 @@ function useDemoWidgetVerificationInternal(props) {
|
|
|
202
201
|
initialValue: undefined,
|
|
203
202
|
});
|
|
204
203
|
const setContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
205
|
-
const states =
|
|
204
|
+
const states = extractProps.parseStates(props.stateController);
|
|
206
205
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-widget-verification"
|
|
207
206
|
? { ...prev, ...states[key] }
|
|
208
207
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
@@ -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-6847bc06.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,10 +39,6 @@ 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"));
|
|
46
42
|
|
|
47
43
|
exports.getMissingProps = getMissingProps;
|
|
48
44
|
exports.getProps = getProps;
|
|
@@ -6,8 +6,6 @@ export function BigStatView(props) {
|
|
|
6
6
|
const style = {
|
|
7
7
|
Container: {
|
|
8
8
|
display: "flex",
|
|
9
|
-
// height: "inherit",
|
|
10
|
-
// "justify-content": "space-between",
|
|
11
9
|
"flex-direction": `${flexReverse ? "column-reverse" : "column"}`,
|
|
12
10
|
"align-items": `${alignment === "left"
|
|
13
11
|
? "flex-start"
|
package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js
CHANGED
|
@@ -65,6 +65,7 @@ const successProps = {
|
|
|
65
65
|
content: {
|
|
66
66
|
loginText: "Login",
|
|
67
67
|
messageSlot: "Enter your email below to receive a password reset link.",
|
|
68
|
+
successAlertText: "An email has been sent with instructions to reset your password.",
|
|
68
69
|
},
|
|
69
70
|
};
|
|
70
71
|
export const Default = () => h(PortalForgotPasswordView, Object.assign({}, defaultProps));
|
|
@@ -30,7 +30,7 @@ export class ReferredRegistration {
|
|
|
30
30
|
/**
|
|
31
31
|
* @uiName Register button text
|
|
32
32
|
*/
|
|
33
|
-
this.registerLabel = "
|
|
33
|
+
this.registerLabel = "Claim Your Reward";
|
|
34
34
|
/**
|
|
35
35
|
* Require your participants to enter their first and last name.
|
|
36
36
|
*
|
|
@@ -229,7 +229,7 @@ export class ReferredRegistration {
|
|
|
229
229
|
},
|
|
230
230
|
"attribute": "register-label",
|
|
231
231
|
"reflect": false,
|
|
232
|
-
"defaultValue": "\"
|
|
232
|
+
"defaultValue": "\"Claim Your Reward\""
|
|
233
233
|
},
|
|
234
234
|
"includeName": {
|
|
235
235
|
"type": "boolean",
|
|
@@ -201,8 +201,7 @@ export class RewardTableStatusCell {
|
|
|
201
201
|
: rewardStatus === "DENIED"
|
|
202
202
|
? this.deniedText
|
|
203
203
|
: null;
|
|
204
|
-
|
|
205
|
-
const getBadgeCSSClass = (badgeType) => {
|
|
204
|
+
const getBadgeCSSClass = () => {
|
|
206
205
|
switch (rewardStatus) {
|
|
207
206
|
case "AVAILABLE":
|
|
208
207
|
return sheet.classes.SuccessBadge;
|
|
@@ -216,7 +215,7 @@ export class RewardTableStatusCell {
|
|
|
216
215
|
return sheet.classes.DangerBadge;
|
|
217
216
|
}
|
|
218
217
|
};
|
|
219
|
-
const badgeCSSClass = getBadgeCSSClass(
|
|
218
|
+
const badgeCSSClass = getBadgeCSSClass();
|
|
220
219
|
return (h("div", { style: { display: "contents" } },
|
|
221
220
|
h("style", { type: "text/css" }, styleString),
|
|
222
221
|
h("sl-badge", { type: badgeType, pill: true, class: badgeCSSClass }, statusText),
|
|
@@ -404,7 +404,6 @@ export class ShareLink {
|
|
|
404
404
|
function useDemoShareLink(props) {
|
|
405
405
|
const [open, setOpen] = useState(false);
|
|
406
406
|
const copyString = "https://www.example.com/sharelink/abc";
|
|
407
|
-
console.log("Demo props", props);
|
|
408
407
|
return deepmerge({
|
|
409
408
|
copyString: copyString,
|
|
410
409
|
tooltiptext: props.tooltiptext,
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
// sl-tab-group {
|
|
3
|
-
// --sl-color-primary-500: var(--sqm-accent-color-icon);
|
|
4
|
-
// }
|
|
5
2
|
export const TabsView = ({ content, placement, textColor = "var(--sqm-text)", }) => {
|
|
6
3
|
// Vertical padding for top & bottom placement, horizontal for left & right.
|
|
7
4
|
const padding = !placement || placement === "top" || placement === "bottom"
|
package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js
CHANGED
|
@@ -41,8 +41,9 @@ function useTemplateChildren({ parent, callback }) {
|
|
|
41
41
|
export class WidgetVerificationController {
|
|
42
42
|
constructor() {
|
|
43
43
|
/**
|
|
44
|
-
* @
|
|
45
|
-
* @componentState { "title": "
|
|
44
|
+
* @undocumented
|
|
45
|
+
* @componentState { "title": "Verify email", "slot": "not-verified", "props": { "isAuth": false }, "disabled": "true" }
|
|
46
|
+
* @componentState { "title": "Tax and cash", "slot": "verified", "props": { "isAuth": true }, "disabled": "true" }
|
|
46
47
|
*/
|
|
47
48
|
this.stateController = "{}";
|
|
48
49
|
withHooks(this);
|
|
@@ -138,10 +139,13 @@ export class WidgetVerificationController {
|
|
|
138
139
|
"optional": false,
|
|
139
140
|
"docs": {
|
|
140
141
|
"tags": [{
|
|
141
|
-
"text":
|
|
142
|
+
"text": undefined,
|
|
143
|
+
"name": "undocumented"
|
|
144
|
+
}, {
|
|
145
|
+
"text": "{ \"title\": \"Verify email\", \"slot\": \"not-verified\", \"props\": { \"isAuth\": false }, \"disabled\": \"true\" }",
|
|
142
146
|
"name": "componentState"
|
|
143
147
|
}, {
|
|
144
|
-
"text": "{ \"title\": \"Tax and cash\", \"slot\": \"verified\", \"props\": { \"isAuth\": true } }",
|
|
148
|
+
"text": "{ \"title\": \"Tax and cash\", \"slot\": \"verified\", \"props\": { \"isAuth\": true }, \"disabled\": \"true\" }",
|
|
145
149
|
"name": "componentState"
|
|
146
150
|
}],
|
|
147
151
|
"text": ""
|
|
@@ -1253,13 +1253,9 @@ export const TaxAndCashDashboardDisabled = () => {
|
|
|
1253
1253
|
},
|
|
1254
1254
|
} }));
|
|
1255
1255
|
};
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
//
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
// }}
|
|
1263
|
-
// ></sqm-tax-and-cash>
|
|
1264
|
-
// );
|
|
1265
|
-
// };
|
|
1256
|
+
export const TaxAndCashTextProps = () => {
|
|
1257
|
+
return (h("sqm-tax-and-cash", { demoData: {
|
|
1258
|
+
// @ts-ignore
|
|
1259
|
+
showTextProps: true,
|
|
1260
|
+
} }));
|
|
1261
|
+
};
|
package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { intl } from "../../../global/global";
|
|
3
3
|
import { createStyleSheet } from "../../../styling/JSS";
|
|
4
|
-
// import { GeneralLoadingView } from "../TaxForm.stories";
|
|
5
4
|
import { FORM_STEPS } from "../data";
|
|
6
5
|
import { PHONE_EXTENSIONS } from "../phoneExtensions";
|
|
7
6
|
import LoadingView from "../sqm-tax-and-cash/LoadingView";
|
|
@@ -183,9 +183,7 @@ export class TaxForm {
|
|
|
183
183
|
}
|
|
184
184
|
render() {
|
|
185
185
|
const props = isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
|
|
186
|
-
return (h(UserInfoFormView, { data: props.data,
|
|
187
|
-
// @ts-ignore
|
|
188
|
-
states: props.states, callbacks: {
|
|
186
|
+
return (h(UserInfoFormView, { data: props.data, states: props.states, callbacks: {
|
|
189
187
|
...props.callbacks,
|
|
190
188
|
onSubmit: props.onSubmit,
|
|
191
189
|
}, text: props.text, refs: props.refs }));
|
|
@@ -923,7 +921,6 @@ export class TaxForm {
|
|
|
923
921
|
}
|
|
924
922
|
function useDemoUserInfoForm(props) {
|
|
925
923
|
const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
|
|
926
|
-
// @ts-ignore
|
|
927
924
|
return deepmerge({
|
|
928
925
|
setStep,
|
|
929
926
|
onSubmit: async () => {
|
|
@@ -56,11 +56,7 @@ export function CopyTextView(props) {
|
|
|
56
56
|
color: props.textColor || "var(--sqm-text)",
|
|
57
57
|
},
|
|
58
58
|
},
|
|
59
|
-
inputErrorStyle: {
|
|
60
|
-
// "&::part(base)": {
|
|
61
|
-
// border: "1px solid red",
|
|
62
|
-
// },
|
|
63
|
-
},
|
|
59
|
+
inputErrorStyle: {},
|
|
64
60
|
ContainerDiv: {
|
|
65
61
|
display: "flex",
|
|
66
62
|
alignItems: "flex-start",
|
|
@@ -104,9 +100,7 @@ export function CopyTextView(props) {
|
|
|
104
100
|
h("div", { class: sheet.classes.containerStyle, style: {
|
|
105
101
|
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
106
102
|
} },
|
|
107
|
-
h("sl-input", { class: `${sheet.classes.inputStyle} ${error ? sheet.classes.inputErrorStyle : ""}`,
|
|
108
|
-
// exportparts="base: input-base, input: input-field"
|
|
109
|
-
value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
103
|
+
h("sl-input", { class: `${sheet.classes.inputStyle} ${error ? sheet.classes.inputErrorStyle : ""}`, value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
110
104
|
buttonStyle === "icon" && copyButton,
|
|
111
105
|
error && (h("p", { slot: "help-text", class: sheet.classes.errorTextStyle }, props.errorText))),
|
|
112
106
|
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|
|
@@ -3,11 +3,11 @@ import { i as intl } from './global-1099f20d.js';
|
|
|
3
3
|
import { b as browser, u as useMemo, k as useState } from './dom-context-hooks.module-63370afd.js';
|
|
4
4
|
import { H, L, J, d as dist, w as wn, j as jn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-c9811a48.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
|
-
import { l as luxonLocale } from './utils-
|
|
6
|
+
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
8
|
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-c2e809cf.js';
|
|
9
9
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
|
|
10
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
10
|
+
import { C as CopyTextView } from './copy-text-view-fac47254.js';
|
|
11
11
|
import { u as useChildElements } from './useChildElements-3d872cef.js';
|
|
12
12
|
import { l as luxon } from './luxon-bbf75a9d.js';
|
|
13
13
|
import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
|
|
@@ -21,8 +21,6 @@ function BigStatView(props) {
|
|
|
21
21
|
const style = {
|
|
22
22
|
Container: {
|
|
23
23
|
display: "flex",
|
|
24
|
-
// height: "inherit",
|
|
25
|
-
// "justify-content": "space-between",
|
|
26
24
|
"flex-direction": `${flexReverse ? "column-reverse" : "column"}`,
|
|
27
25
|
"align-items": `${alignment === "left"
|
|
28
26
|
? "flex-start"
|
|
@@ -57,11 +57,7 @@ function CopyTextView(props) {
|
|
|
57
57
|
color: props.textColor || "var(--sqm-text)",
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
|
-
inputErrorStyle: {
|
|
61
|
-
// "&::part(base)": {
|
|
62
|
-
// border: "1px solid red",
|
|
63
|
-
// },
|
|
64
|
-
},
|
|
60
|
+
inputErrorStyle: {},
|
|
65
61
|
ContainerDiv: {
|
|
66
62
|
display: "flex",
|
|
67
63
|
alignItems: "flex-start",
|
|
@@ -105,9 +101,7 @@ function CopyTextView(props) {
|
|
|
105
101
|
h("div", { class: sheet.classes.containerStyle, style: {
|
|
106
102
|
flexDirection: `${buttonStyle === "button-below" ? "column" : "row"}`,
|
|
107
103
|
} },
|
|
108
|
-
h("sl-input", { class: `${sheet.classes.inputStyle} ${error ? sheet.classes.inputErrorStyle : ""}`,
|
|
109
|
-
// exportparts="base: input-base, input: input-field"
|
|
110
|
-
value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
104
|
+
h("sl-input", { class: `${sheet.classes.inputStyle} ${error ? sheet.classes.inputErrorStyle : ""}`, value: props.loading ? "Loading..." : inputText, readonly: true, disabled: disabled },
|
|
111
105
|
buttonStyle === "icon" && copyButton,
|
|
112
106
|
error && (h("p", { slot: "help-text", class: sheet.classes.errorTextStyle }, props.errorText))),
|
|
113
107
|
(buttonStyle === "button-outside" || buttonStyle === "button-below") &&
|