@saasquatch/mint-components 1.14.6-16 → 1.14.6-18
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/sqm-big-stat_42.cjs.entry.js +2 -0
- package/dist/cjs/{sqm-lead-dropdown-field-view-8117cd38.js → sqm-lead-dropdown-field-view-a3dbb1d7.js} +2 -1
- package/dist/cjs/sqm-lead-dropdown-field.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-lead-input-field-view-b4c291eb.js → sqm-lead-input-field-view-5a0b1aed.js} +2 -2
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +2 -1
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +2 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +2 -2
- package/dist/esm/sqm-big-stat_42.entry.js +2 -0
- package/dist/esm/{sqm-lead-dropdown-field-view-92442a2f.js → sqm-lead-dropdown-field-view-679663e3.js} +2 -1
- package/dist/esm/sqm-lead-dropdown-field.entry.js +1 -1
- package/dist/esm/{sqm-lead-input-field-view-fd279242.js → sqm-lead-input-field-view-9b23f22c.js} +2 -2
- package/dist/esm/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +2 -2
- package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-dropdown-field-view-679663e3.js +1 -0
- package/dist/esm-es5/sqm-lead-dropdown-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-fd279242.js → sqm-lead-input-field-view-9b23f22c.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-1d0d333e.system.js → p-00590b7a.system.js} +1 -1
- package/dist/mint-components/{p-8350a034.system.entry.js → p-008111c3.system.entry.js} +1 -1
- package/dist/mint-components/p-0132cf67.system.js +1 -0
- package/dist/mint-components/{p-4fba1b9f.entry.js → p-03681bf2.entry.js} +1 -1
- package/dist/mint-components/{p-ce737f87.entry.js → p-2192104c.entry.js} +1 -1
- package/dist/mint-components/p-34c5b141.system.entry.js +1 -0
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-08f68fdc.system.entry.js → p-3e327cc8.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0c090d0.entry.js → p-3f5af78f.entry.js} +1 -1
- package/dist/mint-components/p-44eb0e00.js +1 -0
- package/dist/mint-components/{p-9e39c0bf.system.entry.js → p-9046da06.system.entry.js} +1 -1
- package/dist/mint-components/{p-fd52d2d4.entry.js → p-e2286b5e.entry.js} +1 -1
- package/dist/mint-components/{p-5d21ba6f.js → p-f6717dd7.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/sqm-lead-dropdown-field-view-92442a2f.js +0 -1
- package/dist/mint-components/p-04a24d34.system.entry.js +0 -1
- package/dist/mint-components/p-65258b28.system.js +0 -1
- package/dist/mint-components/p-e021bda2.js +0 -1
|
@@ -1529,6 +1529,8 @@ const LeadForm = class {
|
|
|
1529
1529
|
submitErrorDescription: this.submitErrorDescription,
|
|
1530
1530
|
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
1531
1531
|
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
1532
|
+
firstNameLabel: this.firstNameLabel,
|
|
1533
|
+
lastNameLabel: this.lastNameLabel,
|
|
1532
1534
|
};
|
|
1533
1535
|
return (index.h(ShadowViewAddon.LeadFormView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
1534
1536
|
}
|
|
@@ -35,7 +35,7 @@ JSS.jss.setup(JSS.create());
|
|
|
35
35
|
const sheet = JSS.jss.createStyleSheet(style);
|
|
36
36
|
const styleString = sheet.toString();
|
|
37
37
|
function LeadDropdownFieldView(props) {
|
|
38
|
-
var _a, _b, _c, _d;
|
|
38
|
+
var _a, _b, _c, _d, _e, _f;
|
|
39
39
|
const { states, content } = props;
|
|
40
40
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
41
41
|
console.log({ validationErrors });
|
|
@@ -57,6 +57,7 @@ function LeadDropdownFieldView(props) {
|
|
|
57
57
|
}
|
|
58
58
|
} }, (((_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) ? {
|
|
59
59
|
class: sheet.classes.ErrorStyle,
|
|
60
|
+
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f[content.dropdownName]) || content.requiredFieldErrorMessage,
|
|
60
61
|
}
|
|
61
62
|
: [])), content.selectOptions),
|
|
62
63
|
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
@@ -10,7 +10,7 @@ const cjs = require('./cjs-1066ec21.js');
|
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const useLeadFormState = require('./useLeadFormState-c83d2034.js');
|
|
13
|
-
const sqmLeadDropdownFieldView = require('./sqm-lead-dropdown-field-view-
|
|
13
|
+
const sqmLeadDropdownFieldView = require('./sqm-lead-dropdown-field-view-a3dbb1d7.js');
|
|
14
14
|
|
|
15
15
|
function useLeadDropdownField() {
|
|
16
16
|
const leadFormState = stencilHooks_module.d(useLeadFormState.LEAD_FORM_STATE_CONTEXT);
|
package/dist/cjs/{sqm-lead-input-field-view-b4c291eb.js → sqm-lead-input-field-view-5a0b1aed.js}
RENAMED
|
@@ -40,9 +40,9 @@ function LeadInputFieldView(props) {
|
|
|
40
40
|
fieldLabel: content.fieldLabel,
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
} }, (((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.
|
|
43
|
+
} }, (((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d[content.fieldName]) ? {
|
|
44
44
|
class: sheet.classes.ErrorStyle,
|
|
45
|
-
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.
|
|
45
|
+
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f[content.fieldName]) ||
|
|
46
46
|
content.requiredFieldErrorMessage,
|
|
47
47
|
}
|
|
48
48
|
: [])))));
|
|
@@ -11,7 +11,7 @@ const utils = require('./utils-6847bc06.js');
|
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-f7e0377a.js');
|
|
13
13
|
const useLeadFormState = require('./useLeadFormState-c83d2034.js');
|
|
14
|
-
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-
|
|
14
|
+
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-5a0b1aed.js');
|
|
15
15
|
|
|
16
16
|
function useLeadInputField() {
|
|
17
17
|
const leadFormState = stencilHooks_module.d(useLeadFormState.LEAD_FORM_STATE_CONTEXT);
|
|
@@ -20,7 +20,7 @@ const sqmAssetCardView = require('./sqm-asset-card-view-21ddf04f.js');
|
|
|
20
20
|
const sqmCloseButtonView = require('./sqm-close-button-view-ea3fa23b.js');
|
|
21
21
|
require('./index-8c6255f5.js');
|
|
22
22
|
const emailRegistrationView = require('./email-registration-view-55b378dc.js');
|
|
23
|
-
const sqmLeadDropdownFieldView = require('./sqm-lead-dropdown-field-view-
|
|
23
|
+
const sqmLeadDropdownFieldView = require('./sqm-lead-dropdown-field-view-a3dbb1d7.js');
|
|
24
24
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-d39a55d8.js');
|
|
25
25
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-11d57c12.js');
|
|
26
26
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-17111896.js');
|
|
@@ -39,7 +39,7 @@ const sqmQrCodeView = require('./sqm-qr-code-view-15dfc0b6.js');
|
|
|
39
39
|
const ShadowViewAddon = require('./ShadowViewAddon-344e1c0d.js');
|
|
40
40
|
const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
|
|
41
41
|
const sqmInvoiceTableView = require('./sqm-invoice-table-view-0f7fa309.js');
|
|
42
|
-
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-
|
|
42
|
+
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-5a0b1aed.js');
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -33,7 +33,7 @@ jss.setup(preset());
|
|
|
33
33
|
const sheet = jss.createStyleSheet(style);
|
|
34
34
|
const styleString = sheet.toString();
|
|
35
35
|
export function LeadDropdownFieldView(props) {
|
|
36
|
-
var _a, _b, _c, _d;
|
|
36
|
+
var _a, _b, _c, _d, _e, _f;
|
|
37
37
|
const { states, content } = props;
|
|
38
38
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
39
39
|
console.log({ validationErrors });
|
|
@@ -55,6 +55,7 @@ export function LeadDropdownFieldView(props) {
|
|
|
55
55
|
}
|
|
56
56
|
} }, (((_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) ? {
|
|
57
57
|
class: sheet.classes.ErrorStyle,
|
|
58
|
+
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f[content.dropdownName]) || content.requiredFieldErrorMessage,
|
|
58
59
|
}
|
|
59
60
|
: [])), content.selectOptions),
|
|
60
61
|
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
@@ -97,6 +97,8 @@ export class LeadForm {
|
|
|
97
97
|
submitErrorDescription: this.submitErrorDescription,
|
|
98
98
|
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
99
99
|
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
100
|
+
firstNameLabel: this.firstNameLabel,
|
|
101
|
+
lastNameLabel: this.lastNameLabel,
|
|
100
102
|
};
|
|
101
103
|
return (h(LeadFormView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
102
104
|
}
|
|
@@ -38,9 +38,9 @@ export function LeadInputFieldView(props) {
|
|
|
38
38
|
fieldLabel: content.fieldLabel,
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
} }, (((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.
|
|
41
|
+
} }, (((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d[content.fieldName]) ? {
|
|
42
42
|
class: sheet.classes.ErrorStyle,
|
|
43
|
-
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.
|
|
43
|
+
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f[content.fieldName]) ||
|
|
44
44
|
content.requiredFieldErrorMessage,
|
|
45
45
|
}
|
|
46
46
|
: [])))));
|
|
@@ -1525,6 +1525,8 @@ const LeadForm = class {
|
|
|
1525
1525
|
submitErrorDescription: this.submitErrorDescription,
|
|
1526
1526
|
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
1527
1527
|
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
1528
|
+
firstNameLabel: this.firstNameLabel,
|
|
1529
|
+
lastNameLabel: this.lastNameLabel,
|
|
1528
1530
|
};
|
|
1529
1531
|
return (h$1(LeadFormView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
1530
1532
|
}
|
|
@@ -33,7 +33,7 @@ jss.setup(create());
|
|
|
33
33
|
const sheet = jss.createStyleSheet(style);
|
|
34
34
|
const styleString = sheet.toString();
|
|
35
35
|
function LeadDropdownFieldView(props) {
|
|
36
|
-
var _a, _b, _c, _d;
|
|
36
|
+
var _a, _b, _c, _d, _e, _f;
|
|
37
37
|
const { states, content } = props;
|
|
38
38
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
39
39
|
console.log({ validationErrors });
|
|
@@ -55,6 +55,7 @@ function LeadDropdownFieldView(props) {
|
|
|
55
55
|
}
|
|
56
56
|
} }, (((_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) ? {
|
|
57
57
|
class: sheet.classes.ErrorStyle,
|
|
58
|
+
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f[content.dropdownName]) || content.requiredFieldErrorMessage,
|
|
58
59
|
}
|
|
59
60
|
: [])), content.selectOptions),
|
|
60
61
|
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
@@ -6,7 +6,7 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
6
6
|
import { a as getMissingProps, g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-9016d812.js';
|
|
9
|
-
import { L as LeadDropdownFieldView } from './sqm-lead-dropdown-field-view-
|
|
9
|
+
import { L as LeadDropdownFieldView } from './sqm-lead-dropdown-field-view-679663e3.js';
|
|
10
10
|
|
|
11
11
|
function useLeadDropdownField() {
|
|
12
12
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
package/dist/esm/{sqm-lead-input-field-view-fd279242.js → sqm-lead-input-field-view-9b23f22c.js}
RENAMED
|
@@ -38,9 +38,9 @@ function LeadInputFieldView(props) {
|
|
|
38
38
|
fieldLabel: content.fieldLabel,
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
} }, (((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.
|
|
41
|
+
} }, (((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d[content.fieldName]) ? {
|
|
42
42
|
class: sheet.classes.ErrorStyle,
|
|
43
|
-
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.
|
|
43
|
+
helpText: ((_f = (_e = states.leadFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f[content.fieldName]) ||
|
|
44
44
|
content.requiredFieldErrorMessage,
|
|
45
45
|
}
|
|
46
46
|
: [])))));
|
|
@@ -7,7 +7,7 @@ import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
|
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-83f90fa1.js';
|
|
9
9
|
import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-9016d812.js';
|
|
10
|
-
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-
|
|
10
|
+
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-9b23f22c.js';
|
|
11
11
|
|
|
12
12
|
function useLeadInputField() {
|
|
13
13
|
const leadFormState = d(LEAD_FORM_STATE_CONTEXT);
|
|
@@ -16,7 +16,7 @@ import { A as AssetCardView } from './sqm-asset-card-view-fe5db3c0.js';
|
|
|
16
16
|
import { C as CloseButtonView } from './sqm-close-button-view-f9819751.js';
|
|
17
17
|
import './index-ffa26b43.js';
|
|
18
18
|
import { E as EmailRegistrationView } from './email-registration-view-a7818cf2.js';
|
|
19
|
-
import { L as LeadDropdownFieldView } from './sqm-lead-dropdown-field-view-
|
|
19
|
+
import { L as LeadDropdownFieldView } from './sqm-lead-dropdown-field-view-679663e3.js';
|
|
20
20
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-753c8d4a.js';
|
|
21
21
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-8ef8180f.js';
|
|
22
22
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-9d802b78.js';
|
|
@@ -35,7 +35,7 @@ import { Q as QrCodeView } from './sqm-qr-code-view-f1d0763b.js';
|
|
|
35
35
|
import { S as ShareButtonView, L as LeaderboardView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalRegisterView, C as ChangeMarktingView, T as TaskCardView, f as ProgressBarView, g as PoweredByImg$1, h as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, i as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as CardFeedView, K as CouponCodeView, M as ProgressBar$2, O as LeadFormView, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-a14f9e24.js';
|
|
36
36
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-1683ae32.js';
|
|
37
37
|
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-7f376a75.js';
|
|
38
|
-
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-
|
|
38
|
+
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-9b23f22c.js';
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* lodash (Custom Build) <https://lodash.com/>
|