@saasquatch/mint-components 1.14.6-2 → 1.14.6-4
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-c0a5fdf8.js → ShadowViewAddon-40f0bc74.js} +58 -26
- 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 +84 -116
- package/dist/cjs/sqm-lead-dropdown-field-view-69513385.js +69 -0
- package/dist/cjs/sqm-lead-dropdown-field.cjs.entry.js +75 -0
- package/dist/cjs/sqm-lead-input-field-view-e2373fc6.js +51 -0
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +86 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +166 -49
- package/dist/cjs/useLeadFormState-c83d2034.js +72 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +34 -46
- package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +59 -0
- package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +48 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +65 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +193 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +59 -26
- package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +147 -36
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +47 -0
- package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +248 -0
- package/dist/collection/components/sqm-lead-form/useLeadDropdownField.js +10 -0
- package/dist/collection/components/sqm-lead-form/useLeadForm.js +8 -5
- package/dist/collection/components/sqm-lead-form/useLeadInputField.js +10 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -0
- package/dist/esm/{ShadowViewAddon-aa7177fe.js → ShadowViewAddon-8a0d9e83.js} +58 -26
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_42.entry.js +81 -113
- package/dist/esm/sqm-lead-dropdown-field-view-0f91101f.js +67 -0
- package/dist/esm/sqm-lead-dropdown-field.entry.js +71 -0
- package/dist/esm/sqm-lead-input-field-view-6bc3aae8.js +49 -0
- package/dist/esm/sqm-lead-input-field.entry.js +82 -0
- package/dist/esm/sqm-stencilbook.entry.js +166 -49
- package/dist/esm/useLeadFormState-9016d812.js +68 -0
- package/dist/esm-es5/{ShadowViewAddon-aa7177fe.js → ShadowViewAddon-8a0d9e83.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-big-stat_42.entry.js +1 -1
- package/dist/esm-es5/sqm-lead-dropdown-field-view-0f91101f.js +1 -0
- package/dist/esm-es5/sqm-lead-dropdown-field.entry.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field-view-6bc3aae8.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/useLeadFormState-9016d812.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-12f4bb08.system.entry.js +1 -0
- package/dist/mint-components/p-13c67985.system.entry.js +1 -0
- package/dist/mint-components/p-1d704c40.system.js +1 -0
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-373a92a2.js → p-4139feb5.js} +3 -3
- package/dist/mint-components/p-47144172.system.entry.js +1 -0
- package/dist/mint-components/p-4e42e6a1.entry.js +1 -0
- package/dist/mint-components/p-506e7681.js +1 -0
- package/dist/mint-components/p-68acdfe8.system.js +1 -0
- package/dist/mint-components/p-6c57e7e6.js +1 -0
- package/dist/mint-components/{p-8dc110b0.entry.js → p-a15b3197.entry.js} +2 -2
- package/dist/mint-components/{p-72e5e84f.system.js → p-ad6420a2.system.js} +1 -1
- package/dist/mint-components/p-daf77001.system.js +1 -0
- package/dist/mint-components/p-db412748.system.entry.js +1 -0
- package/dist/mint-components/p-e358f0c1.entry.js +265 -0
- package/dist/mint-components/p-f16bd3ab.entry.js +1 -0
- package/dist/mint-components/p-f98a4354.js +1 -0
- package/dist/types/components/sqm-lead-form/LeadForm.stories.d.ts +1 -0
- package/dist/types/components/sqm-lead-form/LeadFormDropdownField.stories.d.ts +9 -0
- package/dist/types/components/sqm-lead-form/LeadInputField.stories.d.ts +8 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field-view.d.ts +16 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +42 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-form-view.d.ts +7 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +24 -7
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field-view.d.ts +15 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +50 -0
- package/dist/types/components/sqm-lead-form/useLeadDropdownField.d.ts +6 -0
- package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +4 -0
- package/dist/types/components/sqm-lead-form/useLeadInputField.d.ts +6 -0
- package/dist/types/components.d.ts +196 -12
- 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/mint-components/p-02a6e0df.system.entry.js +0 -1
- package/dist/mint-components/p-0c6ab3ec.system.entry.js +0 -1
- package/dist/mint-components/p-6349fb7c.entry.js +0 -265
- 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
|
@@ -6,13 +6,6 @@ import { LeadFormViewProps } from "./sqm-lead-form-view";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class LeadForm {
|
|
8
8
|
ignored: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Redirect participants to this page from their verification email
|
|
11
|
-
*
|
|
12
|
-
* @uiName Submission redirect
|
|
13
|
-
* @uiWidget pageSelect
|
|
14
|
-
*/
|
|
15
|
-
nextPage: string;
|
|
16
9
|
/**
|
|
17
10
|
* @uiName Email field label
|
|
18
11
|
*/
|
|
@@ -29,11 +22,35 @@ export declare class LeadForm {
|
|
|
29
22
|
* @uiName Submit button text
|
|
30
23
|
*/
|
|
31
24
|
submitLabel: string;
|
|
25
|
+
/**
|
|
26
|
+
* @uiName Submit another form button label
|
|
27
|
+
*/
|
|
28
|
+
resubmitFormLabel: string;
|
|
32
29
|
/**
|
|
33
30
|
* @uiName Header text
|
|
34
31
|
*/
|
|
35
32
|
pageLabel: string;
|
|
36
33
|
formKey: string;
|
|
34
|
+
/**
|
|
35
|
+
* Optional support link for error messages.
|
|
36
|
+
*/
|
|
37
|
+
supportLink: string;
|
|
38
|
+
/**
|
|
39
|
+
* Header text shown on successful submission.
|
|
40
|
+
*/
|
|
41
|
+
submitSuccessHeader: string;
|
|
42
|
+
/**
|
|
43
|
+
* Description text shown on successful submission.
|
|
44
|
+
*/
|
|
45
|
+
submitSuccessDescription: string;
|
|
46
|
+
/**
|
|
47
|
+
* Header text shown when an error occurs.
|
|
48
|
+
*/
|
|
49
|
+
submitErrorHeader: string;
|
|
50
|
+
/**
|
|
51
|
+
* Description text shown when an error occurs.
|
|
52
|
+
*/
|
|
53
|
+
submitErrorDescription: string;
|
|
37
54
|
/**
|
|
38
55
|
* The message to be displayed when a required field is not filled.
|
|
39
56
|
*
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LeadFormState } from "./useLeadFormState";
|
|
2
|
+
export interface LeadInputFieldViewProps {
|
|
3
|
+
states: {
|
|
4
|
+
leadFormState?: LeadFormState;
|
|
5
|
+
};
|
|
6
|
+
content: {
|
|
7
|
+
required: boolean;
|
|
8
|
+
fieldName: string;
|
|
9
|
+
fieldLabel: string;
|
|
10
|
+
fieldType: "date" | "tel" | "text";
|
|
11
|
+
fieldOptional?: boolean;
|
|
12
|
+
requiredFieldErrorMessage: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function LeadInputFieldView(props: LeadInputFieldViewProps): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { DemoData } from "../../global/demo";
|
|
2
|
+
import { LeadInputFieldViewProps } from "./sqm-lead-input-field-view";
|
|
3
|
+
/**
|
|
4
|
+
* @uiName Lead Form Input Field
|
|
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
|
+
*/
|
|
9
|
+
export declare class LeadInputField {
|
|
10
|
+
ignored: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
13
|
+
*
|
|
14
|
+
* @uiName Input name attribute
|
|
15
|
+
* @required
|
|
16
|
+
*/
|
|
17
|
+
fieldName: string;
|
|
18
|
+
/**
|
|
19
|
+
* @uiName Input label
|
|
20
|
+
*/
|
|
21
|
+
fieldLabel: string;
|
|
22
|
+
required: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @uiName Input type
|
|
25
|
+
* @uiType string
|
|
26
|
+
* @uiEnum ["text", "date", "tel"]
|
|
27
|
+
* @uiEnumNames ["Text", "Date", "Phone Number"]
|
|
28
|
+
*/
|
|
29
|
+
fieldType: "text" | "date" | "tel";
|
|
30
|
+
/**
|
|
31
|
+
* The message to be displayed when a required field is not filled.
|
|
32
|
+
*
|
|
33
|
+
* @uiName Required field message
|
|
34
|
+
* @uiWidget textArea
|
|
35
|
+
*/
|
|
36
|
+
requiredFieldErrorMessage: string;
|
|
37
|
+
/**
|
|
38
|
+
* @uiName Optional
|
|
39
|
+
* @default
|
|
40
|
+
*/
|
|
41
|
+
fieldOptional?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @undocumented
|
|
44
|
+
* @uiType object
|
|
45
|
+
*/
|
|
46
|
+
demoData?: DemoData<LeadInputFieldViewProps>;
|
|
47
|
+
constructor();
|
|
48
|
+
disconnectedCallback(): void;
|
|
49
|
+
render(): any;
|
|
50
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { LeadForm } from "./sqm-lead-form";
|
|
2
|
+
export declare type LeadFormState = {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
2
5
|
export declare type ValidationErrorFunction = (input: {
|
|
3
6
|
control: any;
|
|
4
7
|
key: string;
|
|
@@ -8,6 +11,7 @@ export declare function useLeadForm(props: LeadForm): {
|
|
|
8
11
|
states: {
|
|
9
12
|
loading: boolean;
|
|
10
13
|
error: string;
|
|
14
|
+
success: boolean;
|
|
11
15
|
leadFormState: import("./useLeadFormState").LeadFormState;
|
|
12
16
|
referralCode: string;
|
|
13
17
|
};
|
|
@@ -22,7 +22,9 @@ import { UseIndirectTaxFormResult } from "./components/tax-and-cash/sqm-indirect
|
|
|
22
22
|
import { InputFieldViewProps } from "./components/sqm-input-field/sqm-input-field-view";
|
|
23
23
|
import { EmailRegistrationViewProps } from "./components/views/email-registration-view";
|
|
24
24
|
import { GenericTableViewProps } from "./tables/GenericTableView";
|
|
25
|
+
import { DropdownFieldViewProps as DropdownFieldViewProps1 } from "./components/sqm-lead-form/sqm-lead-dropdown-field-view";
|
|
25
26
|
import { LeadFormViewProps } from "./components/sqm-lead-form/sqm-lead-form-view";
|
|
27
|
+
import { LeadInputFieldViewProps } from "./components/sqm-lead-form/sqm-lead-input-field-view";
|
|
26
28
|
import { LeaderboardViewProps } from "./components/sqm-leaderboard/sqm-leaderboard-view";
|
|
27
29
|
import { LeaderboardRankViewProps } from "./components/sqm-leaderboard-rank/sqm-leaderboard-rank-view";
|
|
28
30
|
import { CopyTextViewProps } from "./components/views/copy-text-view";
|
|
@@ -1478,6 +1480,34 @@ export namespace Components {
|
|
|
1478
1480
|
"renderCell": (data: Invoice) => Promise<any>;
|
|
1479
1481
|
"renderLabel": () => Promise<any>;
|
|
1480
1482
|
}
|
|
1483
|
+
interface SqmLeadDropdownField {
|
|
1484
|
+
/**
|
|
1485
|
+
* @undocumented
|
|
1486
|
+
* @uiType object
|
|
1487
|
+
*/
|
|
1488
|
+
"demoData"?: DemoData<DropdownFieldViewProps>;
|
|
1489
|
+
/**
|
|
1490
|
+
* @uiName Dropdown label
|
|
1491
|
+
*/
|
|
1492
|
+
"dropdownLabel": string;
|
|
1493
|
+
/**
|
|
1494
|
+
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
1495
|
+
* @uiName Dropdown name attribute
|
|
1496
|
+
* @required
|
|
1497
|
+
*/
|
|
1498
|
+
"dropdownName": string;
|
|
1499
|
+
/**
|
|
1500
|
+
* @uiName Optional
|
|
1501
|
+
* @default
|
|
1502
|
+
*/
|
|
1503
|
+
"dropdownOptional"?: boolean;
|
|
1504
|
+
/**
|
|
1505
|
+
* The message to be displayed when a required field is not filled.
|
|
1506
|
+
* @uiName Required field message
|
|
1507
|
+
* @uiWidget textArea
|
|
1508
|
+
*/
|
|
1509
|
+
"requiredFieldErrorMessage": string;
|
|
1510
|
+
}
|
|
1481
1511
|
interface SqmLeadForm {
|
|
1482
1512
|
/**
|
|
1483
1513
|
* @undocumented
|
|
@@ -1509,12 +1539,6 @@ export namespace Components {
|
|
|
1509
1539
|
* @uiWidget textArea
|
|
1510
1540
|
*/
|
|
1511
1541
|
"networkErrorMessage": string;
|
|
1512
|
-
/**
|
|
1513
|
-
* Redirect participants to this page from their verification email
|
|
1514
|
-
* @uiName Submission redirect
|
|
1515
|
-
* @uiWidget pageSelect
|
|
1516
|
-
*/
|
|
1517
|
-
"nextPage": string;
|
|
1518
1542
|
/**
|
|
1519
1543
|
* @uiName Header text
|
|
1520
1544
|
*/
|
|
@@ -1525,10 +1549,70 @@ export namespace Components {
|
|
|
1525
1549
|
* @uiWidget textArea
|
|
1526
1550
|
*/
|
|
1527
1551
|
"requiredFieldErrorMessage": string;
|
|
1552
|
+
/**
|
|
1553
|
+
* @uiName Submit another form button label
|
|
1554
|
+
*/
|
|
1555
|
+
"resubmitFormLabel": string;
|
|
1556
|
+
/**
|
|
1557
|
+
* Description text shown when an error occurs.
|
|
1558
|
+
*/
|
|
1559
|
+
"submitErrorDescription": string;
|
|
1560
|
+
/**
|
|
1561
|
+
* Header text shown when an error occurs.
|
|
1562
|
+
*/
|
|
1563
|
+
"submitErrorHeader": string;
|
|
1528
1564
|
/**
|
|
1529
1565
|
* @uiName Submit button text
|
|
1530
1566
|
*/
|
|
1531
1567
|
"submitLabel": string;
|
|
1568
|
+
/**
|
|
1569
|
+
* Description text shown on successful submission.
|
|
1570
|
+
*/
|
|
1571
|
+
"submitSuccessDescription": string;
|
|
1572
|
+
/**
|
|
1573
|
+
* Header text shown on successful submission.
|
|
1574
|
+
*/
|
|
1575
|
+
"submitSuccessHeader": string;
|
|
1576
|
+
/**
|
|
1577
|
+
* Optional support link for error messages.
|
|
1578
|
+
*/
|
|
1579
|
+
"supportLink": string;
|
|
1580
|
+
}
|
|
1581
|
+
interface SqmLeadInputField {
|
|
1582
|
+
/**
|
|
1583
|
+
* @undocumented
|
|
1584
|
+
* @uiType object
|
|
1585
|
+
*/
|
|
1586
|
+
"demoData"?: DemoData<LeadInputFieldViewProps>;
|
|
1587
|
+
/**
|
|
1588
|
+
* @uiName Input label
|
|
1589
|
+
*/
|
|
1590
|
+
"fieldLabel": string;
|
|
1591
|
+
/**
|
|
1592
|
+
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
1593
|
+
* @uiName Input name attribute
|
|
1594
|
+
* @required
|
|
1595
|
+
*/
|
|
1596
|
+
"fieldName": string;
|
|
1597
|
+
/**
|
|
1598
|
+
* @uiName Optional
|
|
1599
|
+
* @default
|
|
1600
|
+
*/
|
|
1601
|
+
"fieldOptional"?: boolean;
|
|
1602
|
+
/**
|
|
1603
|
+
* @uiName Input type
|
|
1604
|
+
* @uiType string
|
|
1605
|
+
* @uiEnum ["text", "date", "tel"]
|
|
1606
|
+
* @uiEnumNames ["Text", "Date", "Phone Number"]
|
|
1607
|
+
*/
|
|
1608
|
+
"fieldType": "text" | "date" | "tel";
|
|
1609
|
+
"required": boolean;
|
|
1610
|
+
/**
|
|
1611
|
+
* The message to be displayed when a required field is not filled.
|
|
1612
|
+
* @uiName Required field message
|
|
1613
|
+
* @uiWidget textArea
|
|
1614
|
+
*/
|
|
1615
|
+
"requiredFieldErrorMessage": string;
|
|
1532
1616
|
}
|
|
1533
1617
|
interface SqmLeaderboard {
|
|
1534
1618
|
/**
|
|
@@ -6276,12 +6360,24 @@ declare global {
|
|
|
6276
6360
|
prototype: HTMLSqmInvoiceTableDownloadColumnElement;
|
|
6277
6361
|
new (): HTMLSqmInvoiceTableDownloadColumnElement;
|
|
6278
6362
|
};
|
|
6363
|
+
interface HTMLSqmLeadDropdownFieldElement extends Components.SqmLeadDropdownField, HTMLStencilElement {
|
|
6364
|
+
}
|
|
6365
|
+
var HTMLSqmLeadDropdownFieldElement: {
|
|
6366
|
+
prototype: HTMLSqmLeadDropdownFieldElement;
|
|
6367
|
+
new (): HTMLSqmLeadDropdownFieldElement;
|
|
6368
|
+
};
|
|
6279
6369
|
interface HTMLSqmLeadFormElement extends Components.SqmLeadForm, HTMLStencilElement {
|
|
6280
6370
|
}
|
|
6281
6371
|
var HTMLSqmLeadFormElement: {
|
|
6282
6372
|
prototype: HTMLSqmLeadFormElement;
|
|
6283
6373
|
new (): HTMLSqmLeadFormElement;
|
|
6284
6374
|
};
|
|
6375
|
+
interface HTMLSqmLeadInputFieldElement extends Components.SqmLeadInputField, HTMLStencilElement {
|
|
6376
|
+
}
|
|
6377
|
+
var HTMLSqmLeadInputFieldElement: {
|
|
6378
|
+
prototype: HTMLSqmLeadInputFieldElement;
|
|
6379
|
+
new (): HTMLSqmLeadInputFieldElement;
|
|
6380
|
+
};
|
|
6285
6381
|
interface HTMLSqmLeaderboardElement extends Components.SqmLeaderboard, HTMLStencilElement {
|
|
6286
6382
|
}
|
|
6287
6383
|
var HTMLSqmLeaderboardElement: {
|
|
@@ -6846,7 +6942,9 @@ declare global {
|
|
|
6846
6942
|
"sqm-invoice-table-date-column": HTMLSqmInvoiceTableDateColumnElement;
|
|
6847
6943
|
"sqm-invoice-table-download-cell": HTMLSqmInvoiceTableDownloadCellElement;
|
|
6848
6944
|
"sqm-invoice-table-download-column": HTMLSqmInvoiceTableDownloadColumnElement;
|
|
6945
|
+
"sqm-lead-dropdown-field": HTMLSqmLeadDropdownFieldElement;
|
|
6849
6946
|
"sqm-lead-form": HTMLSqmLeadFormElement;
|
|
6947
|
+
"sqm-lead-input-field": HTMLSqmLeadInputFieldElement;
|
|
6850
6948
|
"sqm-leaderboard": HTMLSqmLeaderboardElement;
|
|
6851
6949
|
"sqm-leaderboard-rank": HTMLSqmLeaderboardRankElement;
|
|
6852
6950
|
"sqm-link-button": HTMLSqmLinkButtonElement;
|
|
@@ -8353,6 +8451,34 @@ declare namespace LocalJSX {
|
|
|
8353
8451
|
}
|
|
8354
8452
|
interface SqmInvoiceTableDownloadColumn {
|
|
8355
8453
|
}
|
|
8454
|
+
interface SqmLeadDropdownField {
|
|
8455
|
+
/**
|
|
8456
|
+
* @undocumented
|
|
8457
|
+
* @uiType object
|
|
8458
|
+
*/
|
|
8459
|
+
"demoData"?: DemoData<DropdownFieldViewProps>;
|
|
8460
|
+
/**
|
|
8461
|
+
* @uiName Dropdown label
|
|
8462
|
+
*/
|
|
8463
|
+
"dropdownLabel"?: string;
|
|
8464
|
+
/**
|
|
8465
|
+
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
8466
|
+
* @uiName Dropdown name attribute
|
|
8467
|
+
* @required
|
|
8468
|
+
*/
|
|
8469
|
+
"dropdownName"?: string;
|
|
8470
|
+
/**
|
|
8471
|
+
* @uiName Optional
|
|
8472
|
+
* @default
|
|
8473
|
+
*/
|
|
8474
|
+
"dropdownOptional"?: boolean;
|
|
8475
|
+
/**
|
|
8476
|
+
* The message to be displayed when a required field is not filled.
|
|
8477
|
+
* @uiName Required field message
|
|
8478
|
+
* @uiWidget textArea
|
|
8479
|
+
*/
|
|
8480
|
+
"requiredFieldErrorMessage"?: string;
|
|
8481
|
+
}
|
|
8356
8482
|
interface SqmLeadForm {
|
|
8357
8483
|
/**
|
|
8358
8484
|
* @undocumented
|
|
@@ -8384,12 +8510,6 @@ declare namespace LocalJSX {
|
|
|
8384
8510
|
* @uiWidget textArea
|
|
8385
8511
|
*/
|
|
8386
8512
|
"networkErrorMessage"?: string;
|
|
8387
|
-
/**
|
|
8388
|
-
* Redirect participants to this page from their verification email
|
|
8389
|
-
* @uiName Submission redirect
|
|
8390
|
-
* @uiWidget pageSelect
|
|
8391
|
-
*/
|
|
8392
|
-
"nextPage"?: string;
|
|
8393
8513
|
/**
|
|
8394
8514
|
* @uiName Header text
|
|
8395
8515
|
*/
|
|
@@ -8400,10 +8520,70 @@ declare namespace LocalJSX {
|
|
|
8400
8520
|
* @uiWidget textArea
|
|
8401
8521
|
*/
|
|
8402
8522
|
"requiredFieldErrorMessage"?: string;
|
|
8523
|
+
/**
|
|
8524
|
+
* @uiName Submit another form button label
|
|
8525
|
+
*/
|
|
8526
|
+
"resubmitFormLabel"?: string;
|
|
8527
|
+
/**
|
|
8528
|
+
* Description text shown when an error occurs.
|
|
8529
|
+
*/
|
|
8530
|
+
"submitErrorDescription"?: string;
|
|
8531
|
+
/**
|
|
8532
|
+
* Header text shown when an error occurs.
|
|
8533
|
+
*/
|
|
8534
|
+
"submitErrorHeader"?: string;
|
|
8403
8535
|
/**
|
|
8404
8536
|
* @uiName Submit button text
|
|
8405
8537
|
*/
|
|
8406
8538
|
"submitLabel"?: string;
|
|
8539
|
+
/**
|
|
8540
|
+
* Description text shown on successful submission.
|
|
8541
|
+
*/
|
|
8542
|
+
"submitSuccessDescription"?: string;
|
|
8543
|
+
/**
|
|
8544
|
+
* Header text shown on successful submission.
|
|
8545
|
+
*/
|
|
8546
|
+
"submitSuccessHeader"?: string;
|
|
8547
|
+
/**
|
|
8548
|
+
* Optional support link for error messages.
|
|
8549
|
+
*/
|
|
8550
|
+
"supportLink"?: string;
|
|
8551
|
+
}
|
|
8552
|
+
interface SqmLeadInputField {
|
|
8553
|
+
/**
|
|
8554
|
+
* @undocumented
|
|
8555
|
+
* @uiType object
|
|
8556
|
+
*/
|
|
8557
|
+
"demoData"?: DemoData<LeadInputFieldViewProps>;
|
|
8558
|
+
/**
|
|
8559
|
+
* @uiName Input label
|
|
8560
|
+
*/
|
|
8561
|
+
"fieldLabel"?: string;
|
|
8562
|
+
/**
|
|
8563
|
+
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
8564
|
+
* @uiName Input name attribute
|
|
8565
|
+
* @required
|
|
8566
|
+
*/
|
|
8567
|
+
"fieldName"?: string;
|
|
8568
|
+
/**
|
|
8569
|
+
* @uiName Optional
|
|
8570
|
+
* @default
|
|
8571
|
+
*/
|
|
8572
|
+
"fieldOptional"?: boolean;
|
|
8573
|
+
/**
|
|
8574
|
+
* @uiName Input type
|
|
8575
|
+
* @uiType string
|
|
8576
|
+
* @uiEnum ["text", "date", "tel"]
|
|
8577
|
+
* @uiEnumNames ["Text", "Date", "Phone Number"]
|
|
8578
|
+
*/
|
|
8579
|
+
"fieldType"?: "text" | "date" | "tel";
|
|
8580
|
+
"required"?: boolean;
|
|
8581
|
+
/**
|
|
8582
|
+
* The message to be displayed when a required field is not filled.
|
|
8583
|
+
* @uiName Required field message
|
|
8584
|
+
* @uiWidget textArea
|
|
8585
|
+
*/
|
|
8586
|
+
"requiredFieldErrorMessage"?: string;
|
|
8407
8587
|
}
|
|
8408
8588
|
interface SqmLeaderboard {
|
|
8409
8589
|
/**
|
|
@@ -12950,7 +13130,9 @@ declare namespace LocalJSX {
|
|
|
12950
13130
|
"sqm-invoice-table-date-column": SqmInvoiceTableDateColumn;
|
|
12951
13131
|
"sqm-invoice-table-download-cell": SqmInvoiceTableDownloadCell;
|
|
12952
13132
|
"sqm-invoice-table-download-column": SqmInvoiceTableDownloadColumn;
|
|
13133
|
+
"sqm-lead-dropdown-field": SqmLeadDropdownField;
|
|
12953
13134
|
"sqm-lead-form": SqmLeadForm;
|
|
13135
|
+
"sqm-lead-input-field": SqmLeadInputField;
|
|
12954
13136
|
"sqm-leaderboard": SqmLeaderboard;
|
|
12955
13137
|
"sqm-leaderboard-rank": SqmLeaderboardRank;
|
|
12956
13138
|
"sqm-link-button": SqmLinkButton;
|
|
@@ -13080,7 +13262,9 @@ declare module "@stencil/core" {
|
|
|
13080
13262
|
"sqm-invoice-table-date-column": LocalJSX.SqmInvoiceTableDateColumn & JSXBase.HTMLAttributes<HTMLSqmInvoiceTableDateColumnElement>;
|
|
13081
13263
|
"sqm-invoice-table-download-cell": LocalJSX.SqmInvoiceTableDownloadCell & JSXBase.HTMLAttributes<HTMLSqmInvoiceTableDownloadCellElement>;
|
|
13082
13264
|
"sqm-invoice-table-download-column": LocalJSX.SqmInvoiceTableDownloadColumn & JSXBase.HTMLAttributes<HTMLSqmInvoiceTableDownloadColumnElement>;
|
|
13265
|
+
"sqm-lead-dropdown-field": LocalJSX.SqmLeadDropdownField & JSXBase.HTMLAttributes<HTMLSqmLeadDropdownFieldElement>;
|
|
13083
13266
|
"sqm-lead-form": LocalJSX.SqmLeadForm & JSXBase.HTMLAttributes<HTMLSqmLeadFormElement>;
|
|
13267
|
+
"sqm-lead-input-field": LocalJSX.SqmLeadInputField & JSXBase.HTMLAttributes<HTMLSqmLeadInputFieldElement>;
|
|
13084
13268
|
"sqm-leaderboard": LocalJSX.SqmLeaderboard & JSXBase.HTMLAttributes<HTMLSqmLeaderboardElement>;
|
|
13085
13269
|
"sqm-leaderboard-rank": LocalJSX.SqmLeaderboardRank & JSXBase.HTMLAttributes<HTMLSqmLeaderboardRankElement>;
|
|
13086
13270
|
"sqm-link-button": LocalJSX.SqmLinkButton & JSXBase.HTMLAttributes<HTMLSqmLinkButtonElement>;
|
package/docs/docs.docx
CHANGED
|
Binary file
|