@saasquatch/mint-components 1.14.6-24 → 1.14.6-25

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 (36) hide show
  1. package/dist/cjs/{ShadowViewAddon-357384d0.js → ShadowViewAddon-619fee6d.js} +1 -1
  2. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +1 -1
  3. package/dist/cjs/{sqm-lead-input-field-view-4282a4bc.js → sqm-lead-input-field-view-f479309f.js} +1 -1
  4. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +1 -1
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
  6. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +1 -1
  7. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +1 -1
  8. package/dist/esm/{ShadowViewAddon-3225aa17.js → ShadowViewAddon-56d647fd.js} +1 -1
  9. package/dist/esm/sqm-big-stat_43.entry.js +1 -1
  10. package/dist/esm/{sqm-lead-input-field-view-83573f5d.js → sqm-lead-input-field-view-2ec63b75.js} +1 -1
  11. package/dist/esm/sqm-lead-input-field.entry.js +1 -1
  12. package/dist/esm/sqm-stencilbook.entry.js +2 -2
  13. package/dist/esm-es5/{ShadowViewAddon-3225aa17.js → ShadowViewAddon-56d647fd.js} +1 -1
  14. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  15. package/dist/esm-es5/{sqm-lead-input-field-view-83573f5d.js → sqm-lead-input-field-view-2ec63b75.js} +1 -1
  16. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  17. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  18. package/dist/mint-components/mint-components.esm.js +1 -1
  19. package/dist/mint-components/{p-6a75f208.entry.js → p-19374011.entry.js} +1 -1
  20. package/dist/mint-components/p-22a19728.system.js +1 -0
  21. package/dist/mint-components/{p-5eba2962.js → p-280c0f3c.js} +1 -1
  22. package/dist/mint-components/{p-5ee691d1.system.entry.js → p-33188345.system.entry.js} +1 -1
  23. package/dist/mint-components/p-37996351.system.js +1 -1
  24. package/dist/mint-components/{p-13952afc.system.entry.js → p-4369a684.system.entry.js} +1 -1
  25. package/dist/mint-components/{p-2c0dc5cc.entry.js → p-46e1dc91.entry.js} +1 -1
  26. package/dist/mint-components/{p-d96346f1.system.entry.js → p-5ed5fc3c.system.entry.js} +1 -1
  27. package/dist/mint-components/{p-aa6db3fb.js → p-8c182b08.js} +1 -1
  28. package/dist/mint-components/{p-0056af1a.system.js → p-c6ea304a.system.js} +1 -1
  29. package/dist/mint-components/{p-aad110fe.entry.js → p-d6e65124.entry.js} +1 -1
  30. package/dist/types/global/android.d.ts +7 -0
  31. package/dist/types/global/demo.d.ts +2 -0
  32. package/dist/types/stories/features.d.ts +4 -0
  33. package/dist/types/stories/templates.d.ts +4 -0
  34. package/docs/docs.docx +0 -0
  35. package/package.json +1 -1
  36. package/dist/mint-components/p-292284bb.system.js +0 -1
@@ -4212,7 +4212,7 @@ function LeadDropdownFieldView(props) {
4212
4212
  vanillaStyle$9,
4213
4213
  styleString$e),
4214
4214
  index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
4215
- if (!value) {
4215
+ if (!value && !content.dropdownOptional) {
4216
4216
  return getRequiredFieldErrorMessage({
4217
4217
  dropdownLabel: content.dropdownLabel,
4218
4218
  });
@@ -23,7 +23,7 @@ const sqmPortalLoginView = require('./sqm-portal-login-view-761a4d8e.js');
23
23
  const usePortalLogin = require('./usePortalLogin-63d896d1.js');
24
24
  const AsYouType = require('./AsYouType-6788393a.js');
25
25
  const utilities = require('./utilities-78f5e169.js');
26
- const ShadowViewAddon = require('./ShadowViewAddon-357384d0.js');
26
+ const ShadowViewAddon = require('./ShadowViewAddon-619fee6d.js');
27
27
  require('./sqm-portal-container-view-4f15143a.js');
28
28
  const useLeadFormState = require('./useLeadFormState-c83d2034.js');
29
29
  const usePayoutStatus = require('./usePayoutStatus-feeac99b.js');
@@ -35,7 +35,7 @@ function LeadInputFieldView(props) {
35
35
  vanillaStyle,
36
36
  styleString),
37
37
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
38
- if (!value) {
38
+ if (!value && !content.fieldOptional) {
39
39
  return getRequiredFieldErrorMessage({
40
40
  fieldLabel: content.fieldLabel,
41
41
  });
@@ -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
  require('./mixins-f7e0377a.js');
13
- const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-4282a4bc.js');
13
+ const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-f479309f.js');
14
14
  const useLeadFormState = require('./useLeadFormState-c83d2034.js');
15
15
 
16
16
  function useLeadInputField() {
@@ -35,10 +35,10 @@ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-fe6
35
35
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7b678f34.js');
36
36
  require('./ErrorView-b2fcf954.js');
37
37
  const sqmQrCodeView = require('./sqm-qr-code-view-15dfc0b6.js');
38
- const ShadowViewAddon = require('./ShadowViewAddon-357384d0.js');
38
+ const ShadowViewAddon = require('./ShadowViewAddon-619fee6d.js');
39
39
  const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
40
40
  const sqmInvoiceTableView = require('./sqm-invoice-table-view-0f7fa309.js');
41
- const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-4282a4bc.js');
41
+ const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-f479309f.js');
42
42
 
43
43
  /**
44
44
  * lodash (Custom Build) <https://lodash.com/>
@@ -48,7 +48,7 @@ export function LeadDropdownFieldView(props) {
48
48
  vanillaStyle,
49
49
  styleString),
50
50
  h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
51
- if (!value) {
51
+ if (!value && !content.dropdownOptional) {
52
52
  return getRequiredFieldErrorMessage({
53
53
  dropdownLabel: content.dropdownLabel,
54
54
  });
@@ -33,7 +33,7 @@ export function LeadInputFieldView(props) {
33
33
  vanillaStyle,
34
34
  styleString),
35
35
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
36
- if (!value) {
36
+ if (!value && !content.fieldOptional) {
37
37
  return getRequiredFieldErrorMessage({
38
38
  fieldLabel: content.fieldLabel,
39
39
  });
@@ -4210,7 +4210,7 @@ function LeadDropdownFieldView(props) {
4210
4210
  vanillaStyle$9,
4211
4211
  styleString$e),
4212
4212
  h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
4213
- if (!value) {
4213
+ if (!value && !content.dropdownOptional) {
4214
4214
  return getRequiredFieldErrorMessage({
4215
4215
  dropdownLabel: content.dropdownLabel,
4216
4216
  });
@@ -19,7 +19,7 @@ import { P as PortalLoginView } from './sqm-portal-login-view-7e49609a.js';
19
19
  import { u as usePortalLogin } from './usePortalLogin-ef647a50.js';
20
20
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
21
21
  import { i as isEmpty } from './utilities-5b0ca040.js';
22
- import { b as useDemoBigStat, W as useBigStat, B as BigStatView, U as autoColorScaleCss, J as CardFeedView, i as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, Q as LeadDropdownFieldView, O as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, C as ChangeMarktingView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, Y as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-3225aa17.js';
22
+ import { b as useDemoBigStat, W as useBigStat, B as BigStatView, U as autoColorScaleCss, J as CardFeedView, i as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, Q as LeadDropdownFieldView, O as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, C as ChangeMarktingView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, Y as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-56d647fd.js';
23
23
  import './sqm-portal-container-view-1683ae32.js';
24
24
  import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-9016d812.js';
25
25
  import { u as usePayoutStatus } from './usePayoutStatus-fed17fc9.js';
@@ -33,7 +33,7 @@ function LeadInputFieldView(props) {
33
33
  vanillaStyle,
34
34
  styleString),
35
35
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
36
- if (!value) {
36
+ if (!value && !content.fieldOptional) {
37
37
  return getRequiredFieldErrorMessage({
38
38
  fieldLabel: content.fieldLabel,
39
39
  });
@@ -6,7 +6,7 @@ import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { g as getProps, a as getMissingProps } from './utils-334c1e34.js';
7
7
  import './JSS-67b5cff8.js';
8
8
  import './mixins-83f90fa1.js';
9
- import { L as LeadInputFieldView } from './sqm-lead-input-field-view-83573f5d.js';
9
+ import { L as LeadInputFieldView } from './sqm-lead-input-field-view-2ec63b75.js';
10
10
  import { L as LEAD_FORM_STATE_CONTEXT, R as RequiredPropsError } from './useLeadFormState-9016d812.js';
11
11
 
12
12
  function useLeadInputField() {
@@ -31,10 +31,10 @@ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-5
31
31
  import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-b12cb894.js';
32
32
  import './ErrorView-48e2b969.js';
33
33
  import { Q as QrCodeView } from './sqm-qr-code-view-f1d0763b.js';
34
- 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 LeadDropdownFieldView, U as autoColorScaleCss, V as ShadowViewAddon } from './ShadowViewAddon-3225aa17.js';
34
+ 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 LeadDropdownFieldView, U as autoColorScaleCss, V as ShadowViewAddon } from './ShadowViewAddon-56d647fd.js';
35
35
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-1683ae32.js';
36
36
  import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-7f376a75.js';
37
- import { L as LeadInputFieldView } from './sqm-lead-input-field-view-83573f5d.js';
37
+ import { L as LeadInputFieldView } from './sqm-lead-input-field-view-2ec63b75.js';
38
38
 
39
39
  /**
40
40
  * lodash (Custom Build) <https://lodash.com/>