@saasquatch/mint-components 1.14.6-16 → 1.14.6-17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/cjs/sqm-big-stat_42.cjs.entry.js +2 -0
  2. package/dist/cjs/{sqm-lead-input-field-view-b4c291eb.js → sqm-lead-input-field-view-5a0b1aed.js} +2 -2
  3. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +1 -1
  4. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  5. package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +2 -0
  6. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +2 -2
  7. package/dist/esm/sqm-big-stat_42.entry.js +2 -0
  8. package/dist/esm/{sqm-lead-input-field-view-fd279242.js → sqm-lead-input-field-view-9b23f22c.js} +2 -2
  9. package/dist/esm/sqm-lead-input-field.entry.js +1 -1
  10. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  11. package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
  12. package/dist/esm-es5/{sqm-lead-input-field-view-fd279242.js → sqm-lead-input-field-view-9b23f22c.js} +1 -1
  13. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  14. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  15. package/dist/mint-components/mint-components.esm.js +1 -1
  16. package/dist/mint-components/{p-1d0d333e.system.js → p-00590b7a.system.js} +1 -1
  17. package/dist/mint-components/{p-4fba1b9f.entry.js → p-03681bf2.entry.js} +1 -1
  18. package/dist/mint-components/{p-e0c090d0.entry.js → p-14602dd0.entry.js} +1 -1
  19. package/dist/mint-components/{p-ce737f87.entry.js → p-2192104c.entry.js} +1 -1
  20. package/dist/mint-components/p-34c5b141.system.entry.js +1 -0
  21. package/dist/mint-components/p-37996351.system.js +1 -1
  22. package/dist/mint-components/{p-08f68fdc.system.entry.js → p-3e327cc8.system.entry.js} +1 -1
  23. package/dist/mint-components/{p-5d21ba6f.js → p-f6717dd7.js} +1 -1
  24. package/dist/mint-components/{p-8350a034.system.entry.js → p-feee4ff6.system.entry.js} +1 -1
  25. package/docs/docs.docx +0 -0
  26. package/package.json +1 -1
  27. package/dist/mint-components/p-04a24d34.system.entry.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
  }
@@ -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.firstName) ? {
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.firstName) ||
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-b4c291eb.js');
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);
@@ -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-b4c291eb.js');
42
+ const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-5a0b1aed.js');
43
43
 
44
44
  /**
45
45
  * lodash (Custom Build) <https://lodash.com/>
@@ -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.firstName) ? {
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.firstName) ||
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
  }
@@ -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.firstName) ? {
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.firstName) ||
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-fd279242.js';
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);
@@ -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-fd279242.js';
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/>