@saasquatch/mint-components 1.15.0-80 → 1.15.0-82
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-b3b7bb6e.js → IndirectTaxDetailsView-cf888c7b.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-9bf35bfe.js → ShadowViewAddon-2333d6ea.js} +2 -2
- package/dist/cjs/{global-16279e95.js → global-191f2253.js} +2 -2
- 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 +10 -5
- package/dist/cjs/sqm-big-stat_43.cjs.entry.js +3 -3
- package/dist/cjs/sqm-code-verification.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-leaderboard-rank.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-e2590f1b.js → sqm-portal-email-verification-view-87e083ca.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-5310d41a.js → sqm-portal-profile-view-7ac7d3ac.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +7 -7
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +8 -9
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -2
- package/dist/cjs/{utils-d5821f8d.js → utils-e3305bd8.js} +1 -1
- package/dist/collection/components/sqm-big-stat/useBigStat.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +7 -7
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +8 -4
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +13 -14
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +31 -2
- package/dist/collection/global/styles.js +2 -2
- package/dist/collection/global/styles.ts +1 -1
- package/dist/esm/{IndirectTaxDetailsView-451cf5e2.js → IndirectTaxDetailsView-084314d5.js} +2 -2
- package/dist/esm/{ShadowViewAddon-3c2957fe.js → ShadowViewAddon-eead271b.js} +2 -2
- package/dist/esm/{global-2f3b2adb.js → global-80edfef3.js} +2 -2
- 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 +10 -5
- package/dist/esm/sqm-big-stat_43.entry.js +3 -3
- package/dist/esm/sqm-code-verification.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-leaderboard-rank.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-e68275d7.js → sqm-portal-email-verification-view-5719eb87.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-fe781f47.js → sqm-portal-profile-view-9a82fe2e.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +7 -7
- package/dist/esm/sqm-tax-and-cash.entry.js +8 -9
- package/dist/esm/sqm-widget-verification.entry.js +3 -2
- package/dist/esm/{utils-c416c7e4.js → utils-27b2ed4b.js} +1 -1
- package/dist/esm-es5/{IndirectTaxDetailsView-451cf5e2.js → IndirectTaxDetailsView-084314d5.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-3c2957fe.js → ShadowViewAddon-eead271b.js} +1 -1
- package/dist/esm-es5/{global-2f3b2adb.js → global-80edfef3.js} +1 -1
- 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_43.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.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-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-e68275d7.js → sqm-portal-email-verification-view-5719eb87.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-fe781f47.js → sqm-portal-profile-view-9a82fe2e.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.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-tax-and-cash.entry.js +1 -1
- package/dist/esm-es5/{utils-c416c7e4.js → utils-27b2ed4b.js} +1 -1
- package/dist/mint-components/global/styles.ts +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-404daf1c.entry.js → p-00378aec.entry.js} +1 -1
- package/dist/mint-components/{p-e1a5f64a.entry.js → p-05650cb6.entry.js} +1 -1
- package/dist/mint-components/{p-4eee6c40.entry.js → p-09631d19.entry.js} +2 -2
- package/dist/mint-components/{p-5ccee28f.system.entry.js → p-0e66f410.system.entry.js} +1 -1
- package/dist/mint-components/{p-82560b78.system.js → p-1394d253.system.js} +1 -1
- package/dist/mint-components/{p-7752408c.js → p-19f41a8e.js} +1 -1
- package/dist/mint-components/{p-577a4c97.js → p-1d4a327c.js} +1 -1
- package/dist/mint-components/{p-ba16858e.system.entry.js → p-1d7aaa58.system.entry.js} +1 -1
- package/dist/mint-components/{p-8bcdb9a4.entry.js → p-1f32233f.entry.js} +2 -2
- package/dist/mint-components/{p-b86f944c.entry.js → p-1f511d5d.entry.js} +1 -1
- package/dist/mint-components/{p-b3112c88.system.entry.js → p-433ca566.system.entry.js} +1 -1
- package/dist/mint-components/{p-2c310c7d.entry.js → p-7270fb59.entry.js} +1 -1
- package/dist/mint-components/{p-bcb48c32.system.js → p-773ce89c.system.js} +1 -1
- package/dist/mint-components/{p-c9252c59.system.entry.js → p-8543a70f.system.entry.js} +1 -1
- package/dist/mint-components/{p-e8dc94cc.system.entry.js → p-89b859c7.system.entry.js} +1 -1
- package/dist/mint-components/{p-621575fa.system.entry.js → p-89c9e78a.system.entry.js} +1 -1
- package/dist/mint-components/{p-153a122d.system.js → p-91877326.system.js} +1 -1
- package/dist/mint-components/{p-5fca2bd3.system.entry.js → p-9d29a0ff.system.entry.js} +1 -1
- package/dist/mint-components/{p-33703509.system.entry.js → p-9dbfdb41.system.entry.js} +1 -1
- package/dist/mint-components/{p-ac11e10a.js → p-a4e56204.js} +1 -1
- package/dist/mint-components/{p-da34d4f7.entry.js → p-a6234a78.entry.js} +1 -1
- package/dist/mint-components/{p-2a8e2f28.system.js → p-a89baf7b.system.js} +1 -1
- package/dist/mint-components/{p-9e00773c.entry.js → p-aae3511a.entry.js} +1 -1
- package/dist/mint-components/{p-69d64372.system.entry.js → p-ad174af6.system.entry.js} +1 -1
- package/dist/mint-components/{p-c3fe8514.system.entry.js → p-ad586adc.system.entry.js} +1 -1
- package/dist/mint-components/{p-5800e049.entry.js → p-c1629004.entry.js} +1 -1
- package/dist/mint-components/{p-b8fed018.system.js → p-c2c59452.system.js} +1 -1
- package/dist/mint-components/{p-64d7775b.entry.js → p-c2eb19ad.entry.js} +1 -1
- package/dist/mint-components/p-cfe202ef.system.entry.js +1 -0
- package/dist/mint-components/{p-49e92a7c.js → p-d2e2e10f.js} +1 -1
- package/dist/mint-components/{p-21fab6ef.system.js → p-df37ef17.system.js} +1 -1
- package/dist/mint-components/{p-f6762bb5.entry.js → p-e425b7a1.entry.js} +2 -2
- package/dist/mint-components/{p-36b1414b.system.js → p-e4e3ddb6.system.js} +1 -1
- package/dist/mint-components/{p-4d741ccd.js → p-e64fbb70.js} +1 -1
- package/dist/mint-components/{p-3055141d.entry.js → p-e9d0caf7.entry.js} +1 -1
- package/dist/mint-components/{p-64457acd.system.entry.js → p-ef8b70cd.system.entry.js} +1 -1
- package/dist/mint-components/{p-9c2d515d.entry.js → p-f4dc053e.entry.js} +1 -1
- package/dist/mint-components/{p-bfc16195.system.entry.js → p-f51e41dd.system.entry.js} +1 -1
- package/dist/mint-components/{p-35a2332d.js → p-fd21f0b6.js} +1 -1
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +2 -2
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +3 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +6 -6
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +5 -0
- package/dist/types/components.d.ts +30 -18
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/mint-components/p-f6665d99.system.entry.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-191f2253.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');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-191f2253.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');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a43a63b4.js');
|
|
6
|
-
require('./global-
|
|
6
|
+
require('./global-191f2253.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');
|
|
@@ -23,20 +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-87e083ca.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-7ac7d3ac.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
35
|
const sqmQrCodeView = require('./sqm-qr-code-view-0c3b2f48.js');
|
|
36
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
36
|
+
const ShadowViewAddon = require('./ShadowViewAddon-2333d6ea.js');
|
|
37
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
|
|
38
|
-
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-
|
|
39
|
-
const utils = require('./utils-
|
|
38
|
+
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-cf888c7b.js');
|
|
39
|
+
const utils = require('./utils-e3305bd8.js');
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -6518,7 +6518,7 @@ const HeroImage = /*#__PURE__*/Object.freeze({
|
|
|
6518
6518
|
ColumnsCustomColors: ColumnsCustomColors
|
|
6519
6519
|
});
|
|
6520
6520
|
|
|
6521
|
-
const scenario$7 = "@author:noah\n@owner:noah\n\nFeature: Hero Unit\n\n Background: A portal with a hero unit exists\n Given a hosted portal\n And the portal has hero unit on the login page\n And a user is viewing the login page\n\n Scenario: The hero unit defaults to a single column layout\n Given a hero unit does not have a \"columns\" prop\n But the following html is wrapped by the hero unit\n \"\"\"\n <sqm-portal-login></sqm-portal-login>\n <div slot=\"secondary-column\">\n <h1 style=\"text-align:center\">Get Referring!</h1>\n <p style=\"text-align:center\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\n aliquip ex ea commodo consequat. Duis aute irure dolor in\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\n pariatur.\n </p>\n </div>\n \"\"\"\n Then only a single column will be displayed\n And within it will be the login component\n\n Scenario: Hero layout can hide a column at 1023px or less\n Given the user is viewing
|
|
6521
|
+
const scenario$7 = "@author:noah\n@owner:noah\n\nFeature: Hero Unit\n\n Background: A portal with a hero unit exists\n Given a hosted portal\n And the portal has hero unit on the login page\n And a user is viewing the login page\n\n Scenario: The hero unit defaults to a single column layout\n Given a hero unit does not have a \"columns\" prop\n But the following html is wrapped by the hero unit\n \"\"\"\n <sqm-portal-login></sqm-portal-login>\n <div slot=\"secondary-column\">\n <h1 style=\"text-align:center\">Get Referring!</h1>\n <p style=\"text-align:center\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\n aliquip ex ea commodo consequat. Duis aute irure dolor in\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\n pariatur.\n </p>\n </div>\n \"\"\"\n Then only a single column will be displayed\n And within it will be the login component\n\n Scenario Outline: Hero layout can hide a column at 1023px or less\n Given the user is viewing a hero unit with a \"primary\" and \"secondary\" column\n And the \"column-to-hide-in-mobile\" is set to <columnToHide>\n When the user views the hero unit at 1023px or less\n Then the <columnToHide> column <isHidden>\n\n Examples:\n | column_to_hide | isHidden |\n | primary | is hidden |\n | secondary | is hidden |\n | none | is not hidden|\n\n Scenario Outline: The hero unit supports single or dual column layouts\n Given a hero unit with prop \"columns\" having <columnValue>\n And it wraps <html>\n Then the hero unit displays <columnValue> columns\n Examples:\n | columnValue | html |\n | 1 | <h1>Column 1!</h1> |\n | 2 | <h1>Column 1!</h1><div slot=\"secondary-column\"><h1 style=\"text-align:center\">Column 2!</h1></div> |\n\n Scenario: HTML to be displayed in the second column comes from the \"secondary-column\" slot\n Given a hero unit with \"columns\" \"2\"\n And the following html\n \"\"\"\n <h1>Column 1!</h1>\n <div>\n <h1 style=\"text-align:center\">Column 2!</h1>\n </div>\n \"\"\"\n When the hero unit is rendered\n Then only one column is displayed with content\n And column 1 will contain the \"Column 1!\" text\n And column 1 will contain the \"Column 2!\" text\n When the div for column two is updated to have 'slot=\"secondary-column\"'\n Then the two columns are displayed with content\n And column 1 will contain the \"Column 1!\" text\n And column 2 will contain the \"Column 2!\" text\n\n Scenario Outline: A background for the hero unit can be set as an image or colour\n Given a hero unit with <backgroundPropValue>\n Then the background will be <background>\n Examples:\n | background | background |\n | https://images.unsplash.com/photo-1599676821464-3555954838dc | image of misty mountains |\n | LightSlateGrey | light slate grey |\n | #00FF00 | green |\n | rgb(128,0,128) | purple |\n\n Scenario Outline: Wrap Direction can be configured for mobile experiences\n Given a hero unit with the following HTML\n \"\"\"\n <h1>Column 1!</h1>\n <div slot=\"secondary-column\">\n <h1 style=\"text-align:center\">Column 2!</h1>\n </div>\n \"\"\"\n And prop \"wrap-direction\" has <value>\n When the window width is less than 600px\n Then the two columns will stack\n And <column> will be on top\n Examples:\n | value | column |\n | wrap | 1 |\n | wrap-reverse | 2 |\n | <null> | 1 |\n\n Scenario Outline: Minimum height can be customized\n Given the option \"Mininum Height (in px)\" is <value>\n Then the hero image minimum height is <effectiveValue>\n And the change is reflected in mobile view\n Examples:\n | value | effectiveValue |\n | unset (default value) | 200px |\n | 200px | 500px |";
|
|
6522
6522
|
|
|
6523
6523
|
const Hero_stories = {
|
|
6524
6524
|
title: "Components/Hero Layout",
|
|
@@ -3,13 +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-191f2253.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
10
|
const utils$1 = require('./utils-7cbd60cc.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
|
-
const utils = require('./utils-
|
|
12
|
+
const utils = require('./utils-e3305bd8.js');
|
|
13
13
|
const parseStates = require('./parseStates-d1effc19.js');
|
|
14
14
|
const data = require('./data-d4339c2e.js');
|
|
15
15
|
const extractProps = require('./extractProps-fd93ba62.js');
|
|
@@ -1171,12 +1171,12 @@ const TaxAndCashMonolith = class {
|
|
|
1171
1171
|
*/
|
|
1172
1172
|
this.supportLink = "support team";
|
|
1173
1173
|
/**
|
|
1174
|
-
* @
|
|
1175
|
-
* @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"] }
|
|
1176
|
-
* @componentState { "title": "Step 2: Indirect tax
|
|
1177
|
-
* @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"] }
|
|
1178
|
-
* @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"] }
|
|
1179
|
-
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"] }
|
|
1174
|
+
* @undocumented
|
|
1175
|
+
* @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"], "uiGroup": "Step 1 Properties" }
|
|
1176
|
+
* @componentState { "title": "Step 2: Indirect tax", "props": { "step": "/2" }, "dependencies": ["sqm-indirect-tax-form"], "uiGroup": "Step 2 Properties" }
|
|
1177
|
+
* @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"], "uiGroup": "Step 3 Properties" }
|
|
1178
|
+
* @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"], "uiGroup": "Step 4 Properties" }
|
|
1179
|
+
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
|
|
1180
1180
|
*/
|
|
1181
1181
|
this.stateController = "{}";
|
|
1182
1182
|
domContextHooks_module.h$1(this);
|
|
@@ -1241,7 +1241,6 @@ function useDemoTaxAndCash(props) {
|
|
|
1241
1241
|
namespace: data.TAX_CONTEXT_NAMESPACE,
|
|
1242
1242
|
initialValue: "/1",
|
|
1243
1243
|
});
|
|
1244
|
-
console.log("PROPS", props);
|
|
1245
1244
|
const states = parseStates.parseStates(props.stateController);
|
|
1246
1245
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
|
|
1247
1246
|
? { ...prev, ...states[key] }
|
|
@@ -166,8 +166,9 @@ const WidgetVerification = class {
|
|
|
166
166
|
*/
|
|
167
167
|
this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
168
168
|
/**
|
|
169
|
-
* @
|
|
170
|
-
* @componentState { "title": "Step
|
|
169
|
+
* @undocumented
|
|
170
|
+
* @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
|
|
171
|
+
* @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
|
|
171
172
|
*/
|
|
172
173
|
this.stateController = "{}";
|
|
173
174
|
domContextHooks_module.h$1(this);
|
|
@@ -914,7 +914,7 @@ export const queries = {
|
|
|
914
914
|
query: payoutBalanceQuery,
|
|
915
915
|
},
|
|
916
916
|
};
|
|
917
|
-
//
|
|
917
|
+
// ! Any update to this should be reflected in StatPathBuilder.tsx in the saasquatch repo
|
|
918
918
|
// this should be exposed in documentation somehow
|
|
919
919
|
export const StatPaths = [
|
|
920
920
|
{ name: "programGoals", route: "/(programGoals)/:metricType/:goalId" },
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Component, h, Host, Prop, State } from "@stencil/core";
|
|
2
|
-
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
|
-
import { useRewardExchangeList, } from "./useRewardExchangeList";
|
|
4
|
-
import { RewardExchangeView, } from "./sqm-reward-exchange-list-view";
|
|
5
1
|
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
|
+
import { Component, h, Host, Prop, State } from "@stencil/core";
|
|
6
4
|
import deepmerge from "deepmerge";
|
|
5
|
+
import { parseStates } from "../../utils/parseStates";
|
|
7
6
|
import { getProps } from "../../utils/utils";
|
|
8
7
|
import { demoRewardExchange } from "./RewardExchangeListData";
|
|
9
|
-
import {
|
|
8
|
+
import { RewardExchangeView, } from "./sqm-reward-exchange-list-view";
|
|
9
|
+
import { useRewardExchangeList, } from "./useRewardExchangeList";
|
|
10
10
|
/**
|
|
11
11
|
* @uiName Reward Exchange
|
|
12
12
|
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
@@ -150,7 +150,7 @@ export class SqmRewardExchangeList {
|
|
|
150
150
|
this.costTitle = "Cost to Redeem";
|
|
151
151
|
/**
|
|
152
152
|
* @componentState { "title": "Choose reward", "props": { "redeemStage": "chooseReward" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
153
|
-
* @componentState { "title": "Reward details", "props": { "redeemStage": "chooseAmount"
|
|
153
|
+
* @componentState { "title": "Reward details", "props": { "redeemStage": "chooseAmount" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
154
154
|
* @componentState { "title": "Confirm exchange", "props": { "redeemStage": "confirmation" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
155
155
|
* @componentState { "title": "Exchange successful", "props": { "redeemStage": "success" }, "dependencies": ["sqm-reward-exchange-list"] }
|
|
156
156
|
*/
|
|
@@ -734,7 +734,7 @@ export class SqmRewardExchangeList {
|
|
|
734
734
|
"text": "{ \"title\": \"Choose reward\", \"props\": { \"redeemStage\": \"chooseReward\" }, \"dependencies\": [\"sqm-reward-exchange-list\"] }",
|
|
735
735
|
"name": "componentState"
|
|
736
736
|
}, {
|
|
737
|
-
"text": "{ \"title\": \"Reward details\", \"props\": { \"redeemStage\": \"chooseAmount\"
|
|
737
|
+
"text": "{ \"title\": \"Reward details\", \"props\": { \"redeemStage\": \"chooseAmount\" }, \"dependencies\": [\"sqm-reward-exchange-list\"] }",
|
|
738
738
|
"name": "componentState"
|
|
739
739
|
}, {
|
|
740
740
|
"text": "{ \"title\": \"Confirm exchange\", \"props\": { \"redeemStage\": \"confirmation\" }, \"dependencies\": [\"sqm-reward-exchange-list\"] }",
|
|
@@ -108,8 +108,9 @@ export class WidgetVerification {
|
|
|
108
108
|
*/
|
|
109
109
|
this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
110
110
|
/**
|
|
111
|
-
* @
|
|
112
|
-
* @componentState { "title": "Step
|
|
111
|
+
* @undocumented
|
|
112
|
+
* @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
|
|
113
|
+
* @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
|
|
113
114
|
*/
|
|
114
115
|
this.stateController = "{}";
|
|
115
116
|
withHooks(this);
|
|
@@ -534,10 +535,13 @@ export class WidgetVerification {
|
|
|
534
535
|
"optional": false,
|
|
535
536
|
"docs": {
|
|
536
537
|
"tags": [{
|
|
537
|
-
"text":
|
|
538
|
+
"text": undefined,
|
|
539
|
+
"name": "undocumented"
|
|
540
|
+
}, {
|
|
541
|
+
"text": "{ \"title\": \"Step 1: Enter email\", \"props\": { \"showCode\": false }, \"dependencies\": [\"sqm-email-verification\"], \"uiGroup\": \"Email Verification Step\" }",
|
|
538
542
|
"name": "componentState"
|
|
539
543
|
}, {
|
|
540
|
-
"text": "{ \"title\": \"Step 2: Enter code\", \"props\": { \"showCode\": true }, \"dependencies\": [\"sqm-code-verification\"] }",
|
|
544
|
+
"text": "{ \"title\": \"Step 2: Enter code\", \"props\": { \"showCode\": true }, \"dependencies\": [\"sqm-code-verification\"], \"uiGroup\": \"Code Verification Step\" }",
|
|
541
545
|
"name": "componentState"
|
|
542
546
|
}],
|
|
543
547
|
"text": ""
|
|
@@ -1010,12 +1010,12 @@ export class TaxAndCashMonolith {
|
|
|
1010
1010
|
*/
|
|
1011
1011
|
this.supportLink = "support team";
|
|
1012
1012
|
/**
|
|
1013
|
-
* @
|
|
1014
|
-
* @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"] }
|
|
1015
|
-
* @componentState { "title": "Step 2: Indirect tax
|
|
1016
|
-
* @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"] }
|
|
1017
|
-
* @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"] }
|
|
1018
|
-
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"] }
|
|
1013
|
+
* @undocumented
|
|
1014
|
+
* @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"], "uiGroup": "Step 1 Properties" }
|
|
1015
|
+
* @componentState { "title": "Step 2: Indirect tax", "props": { "step": "/2" }, "dependencies": ["sqm-indirect-tax-form"], "uiGroup": "Step 2 Properties" }
|
|
1016
|
+
* @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"], "uiGroup": "Step 3 Properties" }
|
|
1017
|
+
* @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"], "uiGroup": "Step 4 Properties" }
|
|
1018
|
+
* @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
|
|
1019
1019
|
*/
|
|
1020
1020
|
this.stateController = "{}";
|
|
1021
1021
|
withHooks(this);
|
|
@@ -5243,22 +5243,22 @@ export class TaxAndCashMonolith {
|
|
|
5243
5243
|
"optional": false,
|
|
5244
5244
|
"docs": {
|
|
5245
5245
|
"tags": [{
|
|
5246
|
-
"text":
|
|
5247
|
-
"name": "
|
|
5246
|
+
"text": undefined,
|
|
5247
|
+
"name": "undocumented"
|
|
5248
5248
|
}, {
|
|
5249
|
-
"text": "{ \"title\": \"Step 1: Personal information\", \"props\": { \"step\": \"/1\" }, \"dependencies\": [\"sqm-user-info-form\"] }",
|
|
5249
|
+
"text": "{ \"title\": \"Step 1: Personal information\", \"props\": { \"step\": \"/1\" }, \"dependencies\": [\"sqm-user-info-form\"], \"uiGroup\": \"Step 1 Properties\" }",
|
|
5250
5250
|
"name": "componentState"
|
|
5251
5251
|
}, {
|
|
5252
|
-
"text": "{ \"title\": \"Step 2: Indirect tax
|
|
5252
|
+
"text": "{ \"title\": \"Step 2: Indirect tax\", \"props\": { \"step\": \"/2\" }, \"dependencies\": [\"sqm-indirect-tax-form\"], \"uiGroup\": \"Step 2 Properties\" }",
|
|
5253
5253
|
"name": "componentState"
|
|
5254
5254
|
}, {
|
|
5255
|
-
"text": "{ \"title\": \"Step 3: Tax form\", \"props\": { \"step\": \"/3\" }, \"dependencies\": [\"sqm-docusign-form\"] }",
|
|
5255
|
+
"text": "{ \"title\": \"Step 3: Tax form\", \"props\": { \"step\": \"/3\" }, \"dependencies\": [\"sqm-docusign-form\"], \"uiGroup\": \"Step 3 Properties\" }",
|
|
5256
5256
|
"name": "componentState"
|
|
5257
5257
|
}, {
|
|
5258
|
-
"text": "{ \"title\": \"Step 4: Payment method\", \"props\": { \"step\": \"/4\" }, \"dependencies\": [\"sqm-banking-info-form\"] }",
|
|
5258
|
+
"text": "{ \"title\": \"Step 4: Payment method\", \"props\": { \"step\": \"/4\" }, \"dependencies\": [\"sqm-banking-info-form\"], \"uiGroup\": \"Step 4 Properties\" }",
|
|
5259
5259
|
"name": "componentState"
|
|
5260
5260
|
}, {
|
|
5261
|
-
"text": "{ \"title\": \"Dashboard\", \"props\": { \"step\": \"/dashboard\" }, \"dependencies\": [\"sqm-tax-and-cash-dashboard\"] }",
|
|
5261
|
+
"text": "{ \"title\": \"Dashboard\", \"props\": { \"step\": \"/dashboard\" }, \"dependencies\": [\"sqm-tax-and-cash-dashboard\"], \"uiGroup\": \"Dashboard Properties\" }",
|
|
5262
5262
|
"name": "componentState"
|
|
5263
5263
|
}],
|
|
5264
5264
|
"text": ""
|
|
@@ -5300,7 +5300,6 @@ function useDemoTaxAndCash(props) {
|
|
|
5300
5300
|
namespace: TAX_CONTEXT_NAMESPACE,
|
|
5301
5301
|
initialValue: "/1",
|
|
5302
5302
|
});
|
|
5303
|
-
console.log("PROPS", props);
|
|
5304
5303
|
const states = parseStates(props.stateController);
|
|
5305
5304
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
|
|
5306
5305
|
? { ...prev, ...states[key] }
|
|
@@ -314,6 +314,11 @@ export class TaxAndCashDashboard {
|
|
|
314
314
|
* @uiName Cancel button label
|
|
315
315
|
*/
|
|
316
316
|
this.cancelButton = "Cancel";
|
|
317
|
+
/**
|
|
318
|
+
* @undocumented
|
|
319
|
+
* @componentState { "title": "Payouts on hold", "props": { "payoutStatus": "HOLD" }, "uiGroup": "Dashboard Properties" }
|
|
320
|
+
*/
|
|
321
|
+
this.stateController = "{}";
|
|
317
322
|
withHooks(this);
|
|
318
323
|
}
|
|
319
324
|
disconnectedCallback() { }
|
|
@@ -1720,11 +1725,35 @@ export class TaxAndCashDashboard {
|
|
|
1720
1725
|
}],
|
|
1721
1726
|
"text": ""
|
|
1722
1727
|
}
|
|
1728
|
+
},
|
|
1729
|
+
"stateController": {
|
|
1730
|
+
"type": "string",
|
|
1731
|
+
"mutable": false,
|
|
1732
|
+
"complexType": {
|
|
1733
|
+
"original": "string",
|
|
1734
|
+
"resolved": "string",
|
|
1735
|
+
"references": {}
|
|
1736
|
+
},
|
|
1737
|
+
"required": false,
|
|
1738
|
+
"optional": true,
|
|
1739
|
+
"docs": {
|
|
1740
|
+
"tags": [{
|
|
1741
|
+
"text": undefined,
|
|
1742
|
+
"name": "undocumented"
|
|
1743
|
+
}, {
|
|
1744
|
+
"text": "{ \"title\": \"Payouts on hold\", \"props\": { \"payoutStatus\": \"HOLD\" }, \"uiGroup\": \"Dashboard Properties\" }",
|
|
1745
|
+
"name": "componentState"
|
|
1746
|
+
}],
|
|
1747
|
+
"text": ""
|
|
1748
|
+
},
|
|
1749
|
+
"attribute": "state-controller",
|
|
1750
|
+
"reflect": false,
|
|
1751
|
+
"defaultValue": "\"{}\""
|
|
1723
1752
|
}
|
|
1724
1753
|
}; }
|
|
1725
1754
|
}
|
|
1726
1755
|
function useDemoTaxAndCashDashboard(props) {
|
|
1727
|
-
//
|
|
1756
|
+
// @ts-ignore
|
|
1728
1757
|
return deepmerge({
|
|
1729
1758
|
states: {
|
|
1730
1759
|
dateSubmitted: "today",
|
|
@@ -1765,5 +1794,5 @@ function useDemoTaxAndCashDashboard(props) {
|
|
|
1765
1794
|
},
|
|
1766
1795
|
} })),
|
|
1767
1796
|
},
|
|
1768
|
-
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1797
|
+
}, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
|
|
1769
1798
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
--teal-7: #004551;
|
|
72
72
|
} */
|
|
73
73
|
export const parseBrandingConfig = (config) => {
|
|
74
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65;
|
|
74
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66;
|
|
75
75
|
return ({
|
|
76
76
|
styles: `
|
|
77
77
|
/* vietnamese */
|
|
@@ -959,6 +959,6 @@ sl-icon::part(base):hover {
|
|
|
959
959
|
|
|
960
960
|
|
|
961
961
|
`,
|
|
962
|
-
font: config.main.brandFont,
|
|
962
|
+
font: (_66 = config === null || config === void 0 ? void 0 : config.main) === null || _66 === void 0 ? void 0 : _66.brandFont,
|
|
963
963
|
});
|
|
964
964
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-80edfef3.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { f as formatErrorMessage } from './utils-
|
|
4
|
+
import { f as formatErrorMessage } from './utils-27b2ed4b.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Description: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-b3a06de8.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-80edfef3.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, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-38dad6c9.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
@@ -1214,7 +1214,7 @@ const queries = {
|
|
|
1214
1214
|
query: payoutBalanceQuery,
|
|
1215
1215
|
},
|
|
1216
1216
|
};
|
|
1217
|
-
//
|
|
1217
|
+
// ! Any update to this should be reflected in StatPathBuilder.tsx in the saasquatch repo
|
|
1218
1218
|
// this should be exposed in documentation somehow
|
|
1219
1219
|
const StatPaths = [
|
|
1220
1220
|
{ name: "programGoals", route: "/(programGoals)/:metricType/:goalId" },
|
|
@@ -26006,7 +26006,7 @@ function insertFont(font) {
|
|
|
26006
26006
|
--teal-7: #004551;
|
|
26007
26007
|
} */
|
|
26008
26008
|
const parseBrandingConfig = (config) => {
|
|
26009
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65;
|
|
26009
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66;
|
|
26010
26010
|
return ({
|
|
26011
26011
|
styles: `
|
|
26012
26012
|
/* vietnamese */
|
|
@@ -26894,7 +26894,7 @@ sl-icon::part(base):hover {
|
|
|
26894
26894
|
|
|
26895
26895
|
|
|
26896
26896
|
`,
|
|
26897
|
-
font: config.main.brandFont,
|
|
26897
|
+
font: (_66 = config === null || config === void 0 ? void 0 : config.main) === null || _66 === void 0 ? void 0 : _66.brandFont,
|
|
26898
26898
|
});
|
|
26899
26899
|
};
|
|
26900
26900
|
|