@saasquatch/mint-components 1.14.6-8 → 1.14.6
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-d1dda2b0.js → ShadowViewAddon-3c344355.js} +116 -49
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{sqm-big-stat_42.cjs.entry.js → sqm-big-stat_43.cjs.entry.js} +119 -25
- package/dist/cjs/{sqm-lead-input-field-view-6344cd93.js → sqm-lead-input-field-view-89308aab.js} +7 -7
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +6 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +17 -10
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
- package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +5 -2
- package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +3 -0
- package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +1 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +10 -10
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +57 -5
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +55 -51
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +65 -35
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +7 -7
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +28 -5
- package/dist/collection/components/sqm-lead-form/useLeadForm.js +16 -10
- package/dist/esm/{ShadowViewAddon-81771102.js → ShadowViewAddon-64194d20.js} +117 -51
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/{sqm-big-stat_42.entry.js → sqm-big-stat_43.entry.js} +119 -26
- package/dist/esm/{sqm-lead-input-field-view-f1dd4b77.js → sqm-lead-input-field-view-4ede5d7f.js} +7 -7
- package/dist/esm/sqm-lead-input-field.entry.js +6 -2
- package/dist/esm/sqm-stencilbook.entry.js +12 -5
- package/dist/esm-es5/ShadowViewAddon-64194d20.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-big-stat_43.entry.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field-view-4ede5d7f.js +1 -0
- 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-01dd541f.system.js +1 -0
- package/dist/mint-components/{p-cbfa7a11.entry.js → p-0a4f1306.entry.js} +21 -21
- package/dist/mint-components/p-0d94d81a.system.js +1 -0
- package/dist/mint-components/{p-460974bf.js → p-30a11ec0.js} +24 -24
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/p-6ba44ca9.js +1 -0
- package/dist/mint-components/p-74fdf750.system.entry.js +1 -0
- package/dist/mint-components/p-d3e72503.entry.js +1 -0
- package/dist/mint-components/p-eaf1a8a6.system.entry.js +1 -0
- package/dist/mint-components/{p-ba585a4b.entry.js → p-f60d1ae9.entry.js} +2 -2
- package/dist/mint-components/p-fbbb85f0.system.entry.js +1 -0
- package/dist/types/components/sqm-lead-form/LeadFormDropdownField.stories.d.ts +1 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field-view.d.ts +3 -1
- package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +11 -4
- package/dist/types/components/sqm-lead-form/sqm-lead-form-view.d.ts +2 -1
- package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +19 -10
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field-view.d.ts +1 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +4 -2
- package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +1 -0
- package/dist/types/components/sqm-referral-iframe/useReferralIframe.d.ts +1 -1
- package/dist/types/components.d.ts +63 -19
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-lead-dropdown-field-view-03a3e03f.js +0 -69
- package/dist/cjs/sqm-lead-dropdown-field.cjs.entry.js +0 -81
- package/dist/esm/sqm-lead-dropdown-field-view-4c85fe20.js +0 -67
- package/dist/esm/sqm-lead-dropdown-field.entry.js +0 -77
- package/dist/esm-es5/ShadowViewAddon-81771102.js +0 -1
- package/dist/esm-es5/sqm-big-stat_42.entry.js +0 -1
- package/dist/esm-es5/sqm-lead-dropdown-field-view-4c85fe20.js +0 -1
- package/dist/esm-es5/sqm-lead-dropdown-field.entry.js +0 -1
- package/dist/esm-es5/sqm-lead-input-field-view-f1dd4b77.js +0 -1
- package/dist/mint-components/p-15f1ff1d.system.js +0 -1
- package/dist/mint-components/p-26da31c6.js +0 -1
- package/dist/mint-components/p-4056c0ea.system.entry.js +0 -1
- package/dist/mint-components/p-4d5b02af.js +0 -1
- package/dist/mint-components/p-59970cb1.system.entry.js +0 -1
- package/dist/mint-components/p-6b093d8c.entry.js +0 -1
- package/dist/mint-components/p-732849d6.system.entry.js +0 -1
- package/dist/mint-components/p-87384d9e.system.js +0 -1
- package/dist/mint-components/p-ad128614.system.js +0 -1
- package/dist/mint-components/p-c5a55554.entry.js +0 -1
- package/dist/mint-components/p-de5356d9.system.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,s=1,i=arguments.length;s<i;s++){t=arguments[s];for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]}return e};return __assign.apply(this,arguments)};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-bdb7d451.system.js","./p-6cd4f2b1.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-01dd541f.system.js","./p-1d704c40.system.js"],(function(e){"use strict";var t,s,i,n,r,a,o,f,d,l,u;return{setters:[function(e){t=e.r;s=e.h},function(e){i=e.i;n=e.n},function(){},function(e){r=e.i},function(e){a=e.c},function(e){o=e.g;f=e.a},function(){},function(){},function(e){d=e.L},function(e){l=e.L;u=e.R}],execute:function(){function c(){var e=i(l);return{states:{leadFormState:e}}}var p=e("sqm_lead_input_field",function(){function e(e){t(this,e);this.ignored=true;this.optionalLabel="(optional)";this.fieldType="text";this.requiredFieldErrorMessage="Please enter a {fieldLabel}";this.fieldOptional=false;n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=__assign({},o(this));var t=f([{attribute:"field-name",value:this.fieldName}]);if(!r()&&t){return s(u,{missingProps:t,heading:"An error occured while loading this form",subheading:"A technical problem prevented this input field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"})}var i=(r()?h(this):c()).states;return s(d,{states:i,content:e})};return e}());function h(e){return a({states:{leadForState:{}},content:{fieldName:e.fieldName,fieldLabel:e.fieldLabel,fieldType:e.fieldType,requiredFieldErrorMessage:e.requiredFieldErrorMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -3,6 +3,7 @@ declare const _default: {
|
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Default: () => any;
|
|
6
|
+
export declare const Multiple: () => any;
|
|
6
7
|
export declare const WithError: () => any;
|
|
7
8
|
export declare const Disabled: () => any;
|
|
8
9
|
export declare const Loading: () => any;
|
|
@@ -7,7 +7,9 @@ export interface DropdownFieldViewProps {
|
|
|
7
7
|
content: {
|
|
8
8
|
dropdownName: string;
|
|
9
9
|
dropdownLabel: string;
|
|
10
|
-
dropdownOptional
|
|
10
|
+
dropdownOptional: boolean;
|
|
11
|
+
optionalLabel: string;
|
|
12
|
+
multiple: boolean;
|
|
11
13
|
requiredFieldErrorMessage?: string;
|
|
12
14
|
selectOptions?: VNode | VNode[];
|
|
13
15
|
};
|
|
@@ -3,9 +3,7 @@ import { DropdownFieldViewProps } from "./sqm-lead-dropdown-field-view";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Lead Form Dropdown Field
|
|
5
5
|
* @validParents ["sqm-lead-form"]
|
|
6
|
-
* @slots [{"name":"", "title":"
|
|
7
|
-
* @exampleGroup Microsite Components
|
|
8
|
-
* @example Lead Form Dropdown Field - <sqm-lead-dropdown-field dropdown-label="Select an option" required-field-error-message="Please select an option"><sl-menu-item value="option-1">Option 1</sl-menu-item><sl-menu-item value="option-2">Option 2</sl-menu-item><sl-menu-item value="option-3">Option 3</sl-menu-item></sqm-lead-dropdown-field>
|
|
6
|
+
* @slots [{"name":"", "title":"Dropdown Option"}]
|
|
9
7
|
*/
|
|
10
8
|
export declare class LeadDropdownField {
|
|
11
9
|
ignored: boolean;
|
|
@@ -26,11 +24,20 @@ export declare class LeadDropdownField {
|
|
|
26
24
|
* @uiWidget textArea
|
|
27
25
|
*/
|
|
28
26
|
requiredFieldErrorMessage: string;
|
|
27
|
+
/**
|
|
28
|
+
* @uiName Optional label
|
|
29
|
+
*/
|
|
30
|
+
optionalLabel: string;
|
|
29
31
|
/**
|
|
30
32
|
* @uiName Optional
|
|
31
33
|
* @default
|
|
32
34
|
*/
|
|
33
|
-
dropdownOptional
|
|
35
|
+
dropdownOptional: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* @uiName Multiple selection
|
|
38
|
+
* @default
|
|
39
|
+
*/
|
|
40
|
+
multiple: boolean;
|
|
34
41
|
/**
|
|
35
42
|
* @undocumented
|
|
36
43
|
* @uiType object
|
|
@@ -11,6 +11,7 @@ export interface LeadFormViewProps {
|
|
|
11
11
|
callbacks: {
|
|
12
12
|
submit: Function;
|
|
13
13
|
inputFunction: Function;
|
|
14
|
+
resetForm: Function;
|
|
14
15
|
};
|
|
15
16
|
content: {
|
|
16
17
|
formData?: VNode;
|
|
@@ -20,7 +21,7 @@ export interface LeadFormViewProps {
|
|
|
20
21
|
submitLabel?: string;
|
|
21
22
|
resubmitFormLabel?: string;
|
|
22
23
|
pageLabel?: string;
|
|
23
|
-
|
|
24
|
+
supportLinkText?: string;
|
|
24
25
|
submitSuccessHeader?: string;
|
|
25
26
|
submitSuccessDescription?: string;
|
|
26
27
|
submitErrorHeader?: string;
|
|
@@ -2,7 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { LeadFormViewProps } from "./sqm-lead-form-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Lead Form
|
|
5
|
-
* @slots [{"name":"formData","title":"Additional Fields"}
|
|
5
|
+
* @slots [{"name":"formData","title":"Additional Fields"}]
|
|
6
6
|
*/
|
|
7
7
|
export declare class LeadForm {
|
|
8
8
|
ignored: boolean;
|
|
@@ -30,43 +30,52 @@ export declare class LeadForm {
|
|
|
30
30
|
* @uiName Header text
|
|
31
31
|
*/
|
|
32
32
|
pageLabel: string;
|
|
33
|
+
/**
|
|
34
|
+
* Key of the form to connect to. Create and manage forms in the /advocate dashboard under Data > Forms.
|
|
35
|
+
* @uiName Form key
|
|
36
|
+
*/
|
|
33
37
|
formKey: string;
|
|
34
38
|
/**
|
|
35
|
-
* Optional support link for error messages.
|
|
39
|
+
* Optional support link text for error messages.
|
|
40
|
+
* @uiName Support link text
|
|
36
41
|
*/
|
|
37
|
-
|
|
42
|
+
supportLinkText: string;
|
|
38
43
|
/**
|
|
39
|
-
* Header text shown on successful submission.
|
|
44
|
+
* Header text shown on successful lead submission.
|
|
45
|
+
* @uiName Submit success header
|
|
40
46
|
*/
|
|
41
47
|
submitSuccessHeader: string;
|
|
42
48
|
/**
|
|
43
|
-
* Description text shown on successful submission.
|
|
49
|
+
* Description text shown on successful lead submission.
|
|
50
|
+
* @uiName Submit success description
|
|
44
51
|
*/
|
|
45
52
|
submitSuccessDescription: string;
|
|
46
53
|
/**
|
|
47
|
-
*
|
|
54
|
+
* Header text shown if an error occurs.
|
|
55
|
+
* @uiName Submit error header
|
|
48
56
|
*/
|
|
49
57
|
submitErrorHeader: string;
|
|
50
58
|
/**
|
|
51
|
-
* Description text shown
|
|
59
|
+
* Description text shown if an error occurs.
|
|
60
|
+
* @uiName Submit error description
|
|
52
61
|
*/
|
|
53
62
|
submitErrorDescription: string;
|
|
54
63
|
/**
|
|
55
|
-
* The message to be displayed
|
|
64
|
+
* The message to be displayed if a required field is not filled.
|
|
56
65
|
*
|
|
57
66
|
* @uiName Required field message
|
|
58
67
|
* @uiWidget textArea
|
|
59
68
|
*/
|
|
60
69
|
requiredFieldErrorMessage: string;
|
|
61
70
|
/**
|
|
62
|
-
* The message to be displayed
|
|
71
|
+
* The message to be displayed if a the form submission fails unexpectedly.
|
|
63
72
|
*
|
|
64
73
|
* @uiName Network error message
|
|
65
74
|
* @uiWidget textArea
|
|
66
75
|
*/
|
|
67
76
|
networkErrorMessage: string;
|
|
68
77
|
/**
|
|
69
|
-
* The message to be displayed
|
|
78
|
+
* The message to be displayed if the email used is invalid.
|
|
70
79
|
*
|
|
71
80
|
* @uiName Invalid email message
|
|
72
81
|
* @uiWidget textArea
|
|
@@ -3,8 +3,6 @@ import { LeadInputFieldViewProps } from "./sqm-lead-input-field-view";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Lead Form Input Field
|
|
5
5
|
* @validParents ["sqm-lead-form"]
|
|
6
|
-
* @exampleGroup Microsite Components
|
|
7
|
-
* @example Lead Form Input Field - <sqm-input-field input-label="Field Label" field-type="text" error-message="Cannot be empty"></sqm-input-field>
|
|
8
6
|
*/
|
|
9
7
|
export declare class LeadInputField {
|
|
10
8
|
ignored: boolean;
|
|
@@ -19,6 +17,10 @@ export declare class LeadInputField {
|
|
|
19
17
|
* @uiName Input label
|
|
20
18
|
*/
|
|
21
19
|
fieldLabel: string;
|
|
20
|
+
/**
|
|
21
|
+
* @uiName Optional label
|
|
22
|
+
*/
|
|
23
|
+
optionalLabel: string;
|
|
22
24
|
/**
|
|
23
25
|
* @uiName Input type
|
|
24
26
|
* @uiType string
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SqmReferralIframe } from "./sqm-referral-iframe";
|
|
2
2
|
import { ReferralIframeViewProps } from "./sqm-referral-iframe-view";
|
|
3
|
-
export declare function useReferralIframe(props
|
|
3
|
+
export declare function useReferralIframe(props: SqmReferralIframe): ReferralIframeViewProps;
|
|
@@ -1500,7 +1500,16 @@ export namespace Components {
|
|
|
1500
1500
|
* @uiName Optional
|
|
1501
1501
|
* @default
|
|
1502
1502
|
*/
|
|
1503
|
-
"dropdownOptional"
|
|
1503
|
+
"dropdownOptional": boolean;
|
|
1504
|
+
/**
|
|
1505
|
+
* @uiName Multiple selection
|
|
1506
|
+
* @default
|
|
1507
|
+
*/
|
|
1508
|
+
"multiple": boolean;
|
|
1509
|
+
/**
|
|
1510
|
+
* @uiName Optional label
|
|
1511
|
+
*/
|
|
1512
|
+
"optionalLabel": string;
|
|
1504
1513
|
/**
|
|
1505
1514
|
* The message to be displayed when a required field is not filled.
|
|
1506
1515
|
* @uiName Required field message
|
|
@@ -1522,9 +1531,13 @@ export namespace Components {
|
|
|
1522
1531
|
* @uiName First Name field label
|
|
1523
1532
|
*/
|
|
1524
1533
|
"firstNameLabel": string;
|
|
1534
|
+
/**
|
|
1535
|
+
* Key of the form to connect to. Create and manage forms in the /advocate dashboard under Data > Forms.
|
|
1536
|
+
* @uiName Form key
|
|
1537
|
+
*/
|
|
1525
1538
|
"formKey": string;
|
|
1526
1539
|
/**
|
|
1527
|
-
* The message to be displayed
|
|
1540
|
+
* The message to be displayed if the email used is invalid.
|
|
1528
1541
|
* @uiName Invalid email message
|
|
1529
1542
|
* @uiWidget textArea
|
|
1530
1543
|
*/
|
|
@@ -1534,7 +1547,7 @@ export namespace Components {
|
|
|
1534
1547
|
*/
|
|
1535
1548
|
"lastNameLabel": string;
|
|
1536
1549
|
/**
|
|
1537
|
-
* The message to be displayed
|
|
1550
|
+
* The message to be displayed if a the form submission fails unexpectedly.
|
|
1538
1551
|
* @uiName Network error message
|
|
1539
1552
|
* @uiWidget textArea
|
|
1540
1553
|
*/
|
|
@@ -1544,7 +1557,7 @@ export namespace Components {
|
|
|
1544
1557
|
*/
|
|
1545
1558
|
"pageLabel": string;
|
|
1546
1559
|
/**
|
|
1547
|
-
* The message to be displayed
|
|
1560
|
+
* The message to be displayed if a required field is not filled.
|
|
1548
1561
|
* @uiName Required field message
|
|
1549
1562
|
* @uiWidget textArea
|
|
1550
1563
|
*/
|
|
@@ -1554,11 +1567,13 @@ export namespace Components {
|
|
|
1554
1567
|
*/
|
|
1555
1568
|
"resubmitFormLabel": string;
|
|
1556
1569
|
/**
|
|
1557
|
-
* Description text shown
|
|
1570
|
+
* Description text shown if an error occurs.
|
|
1571
|
+
* @uiName Submit error description
|
|
1558
1572
|
*/
|
|
1559
1573
|
"submitErrorDescription": string;
|
|
1560
1574
|
/**
|
|
1561
|
-
* Header text shown
|
|
1575
|
+
* Header text shown if an error occurs.
|
|
1576
|
+
* @uiName Submit error header
|
|
1562
1577
|
*/
|
|
1563
1578
|
"submitErrorHeader": string;
|
|
1564
1579
|
/**
|
|
@@ -1566,17 +1581,20 @@ export namespace Components {
|
|
|
1566
1581
|
*/
|
|
1567
1582
|
"submitLabel": string;
|
|
1568
1583
|
/**
|
|
1569
|
-
* Description text shown on successful submission.
|
|
1584
|
+
* Description text shown on successful lead submission.
|
|
1585
|
+
* @uiName Submit success description
|
|
1570
1586
|
*/
|
|
1571
1587
|
"submitSuccessDescription": string;
|
|
1572
1588
|
/**
|
|
1573
|
-
* Header text shown on successful submission.
|
|
1589
|
+
* Header text shown on successful lead submission.
|
|
1590
|
+
* @uiName Submit success header
|
|
1574
1591
|
*/
|
|
1575
1592
|
"submitSuccessHeader": string;
|
|
1576
1593
|
/**
|
|
1577
|
-
* Optional support link for error messages.
|
|
1594
|
+
* Optional support link text for error messages.
|
|
1595
|
+
* @uiName Support link text
|
|
1578
1596
|
*/
|
|
1579
|
-
"
|
|
1597
|
+
"supportLinkText": string;
|
|
1580
1598
|
}
|
|
1581
1599
|
interface SqmLeadInputField {
|
|
1582
1600
|
/**
|
|
@@ -1606,6 +1624,10 @@ export namespace Components {
|
|
|
1606
1624
|
* @uiEnumNames ["Text", "Date", "Phone Number"]
|
|
1607
1625
|
*/
|
|
1608
1626
|
"fieldType": "text" | "date" | "tel";
|
|
1627
|
+
/**
|
|
1628
|
+
* @uiName Optional label
|
|
1629
|
+
*/
|
|
1630
|
+
"optionalLabel": string;
|
|
1609
1631
|
/**
|
|
1610
1632
|
* The message to be displayed when a required field is not filled.
|
|
1611
1633
|
* @uiName Required field message
|
|
@@ -8471,6 +8493,15 @@ declare namespace LocalJSX {
|
|
|
8471
8493
|
* @default
|
|
8472
8494
|
*/
|
|
8473
8495
|
"dropdownOptional"?: boolean;
|
|
8496
|
+
/**
|
|
8497
|
+
* @uiName Multiple selection
|
|
8498
|
+
* @default
|
|
8499
|
+
*/
|
|
8500
|
+
"multiple"?: boolean;
|
|
8501
|
+
/**
|
|
8502
|
+
* @uiName Optional label
|
|
8503
|
+
*/
|
|
8504
|
+
"optionalLabel"?: string;
|
|
8474
8505
|
/**
|
|
8475
8506
|
* The message to be displayed when a required field is not filled.
|
|
8476
8507
|
* @uiName Required field message
|
|
@@ -8492,9 +8523,13 @@ declare namespace LocalJSX {
|
|
|
8492
8523
|
* @uiName First Name field label
|
|
8493
8524
|
*/
|
|
8494
8525
|
"firstNameLabel"?: string;
|
|
8526
|
+
/**
|
|
8527
|
+
* Key of the form to connect to. Create and manage forms in the /advocate dashboard under Data > Forms.
|
|
8528
|
+
* @uiName Form key
|
|
8529
|
+
*/
|
|
8495
8530
|
"formKey"?: string;
|
|
8496
8531
|
/**
|
|
8497
|
-
* The message to be displayed
|
|
8532
|
+
* The message to be displayed if the email used is invalid.
|
|
8498
8533
|
* @uiName Invalid email message
|
|
8499
8534
|
* @uiWidget textArea
|
|
8500
8535
|
*/
|
|
@@ -8504,7 +8539,7 @@ declare namespace LocalJSX {
|
|
|
8504
8539
|
*/
|
|
8505
8540
|
"lastNameLabel"?: string;
|
|
8506
8541
|
/**
|
|
8507
|
-
* The message to be displayed
|
|
8542
|
+
* The message to be displayed if a the form submission fails unexpectedly.
|
|
8508
8543
|
* @uiName Network error message
|
|
8509
8544
|
* @uiWidget textArea
|
|
8510
8545
|
*/
|
|
@@ -8514,7 +8549,7 @@ declare namespace LocalJSX {
|
|
|
8514
8549
|
*/
|
|
8515
8550
|
"pageLabel"?: string;
|
|
8516
8551
|
/**
|
|
8517
|
-
* The message to be displayed
|
|
8552
|
+
* The message to be displayed if a required field is not filled.
|
|
8518
8553
|
* @uiName Required field message
|
|
8519
8554
|
* @uiWidget textArea
|
|
8520
8555
|
*/
|
|
@@ -8524,11 +8559,13 @@ declare namespace LocalJSX {
|
|
|
8524
8559
|
*/
|
|
8525
8560
|
"resubmitFormLabel"?: string;
|
|
8526
8561
|
/**
|
|
8527
|
-
* Description text shown
|
|
8562
|
+
* Description text shown if an error occurs.
|
|
8563
|
+
* @uiName Submit error description
|
|
8528
8564
|
*/
|
|
8529
8565
|
"submitErrorDescription"?: string;
|
|
8530
8566
|
/**
|
|
8531
|
-
* Header text shown
|
|
8567
|
+
* Header text shown if an error occurs.
|
|
8568
|
+
* @uiName Submit error header
|
|
8532
8569
|
*/
|
|
8533
8570
|
"submitErrorHeader"?: string;
|
|
8534
8571
|
/**
|
|
@@ -8536,17 +8573,20 @@ declare namespace LocalJSX {
|
|
|
8536
8573
|
*/
|
|
8537
8574
|
"submitLabel"?: string;
|
|
8538
8575
|
/**
|
|
8539
|
-
* Description text shown on successful submission.
|
|
8576
|
+
* Description text shown on successful lead submission.
|
|
8577
|
+
* @uiName Submit success description
|
|
8540
8578
|
*/
|
|
8541
8579
|
"submitSuccessDescription"?: string;
|
|
8542
8580
|
/**
|
|
8543
|
-
* Header text shown on successful submission.
|
|
8581
|
+
* Header text shown on successful lead submission.
|
|
8582
|
+
* @uiName Submit success header
|
|
8544
8583
|
*/
|
|
8545
8584
|
"submitSuccessHeader"?: string;
|
|
8546
8585
|
/**
|
|
8547
|
-
* Optional support link for error messages.
|
|
8586
|
+
* Optional support link text for error messages.
|
|
8587
|
+
* @uiName Support link text
|
|
8548
8588
|
*/
|
|
8549
|
-
"
|
|
8589
|
+
"supportLinkText"?: string;
|
|
8550
8590
|
}
|
|
8551
8591
|
interface SqmLeadInputField {
|
|
8552
8592
|
/**
|
|
@@ -8576,6 +8616,10 @@ declare namespace LocalJSX {
|
|
|
8576
8616
|
* @uiEnumNames ["Text", "Date", "Phone Number"]
|
|
8577
8617
|
*/
|
|
8578
8618
|
"fieldType"?: "text" | "date" | "tel";
|
|
8619
|
+
/**
|
|
8620
|
+
* @uiName Optional label
|
|
8621
|
+
*/
|
|
8622
|
+
"optionalLabel"?: string;
|
|
8579
8623
|
/**
|
|
8580
8624
|
* The message to be displayed when a required field is not filled.
|
|
8581
8625
|
* @uiName Required field message
|
package/docs/docs.docx
CHANGED
|
Binary file
|