@saasquatch/mint-components 1.14.6-2 → 1.14.6-3
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-03a3e03f.js +69 -0
- package/dist/cjs/sqm-lead-dropdown-field.cjs.entry.js +75 -0
- package/dist/cjs/sqm-lead-input-field-view-6344cd93.js +51 -0
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +78 -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 +222 -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-4c85fe20.js +67 -0
- package/dist/esm/sqm-lead-dropdown-field.entry.js +71 -0
- package/dist/esm/sqm-lead-input-field-view-f1dd4b77.js +49 -0
- package/dist/esm/sqm-lead-input-field.entry.js +74 -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-4c85fe20.js +1 -0
- package/dist/esm-es5/sqm-lead-dropdown-field.entry.js +1 -0
- package/dist/esm-es5/sqm-lead-input-field-view-f1dd4b77.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-13c67985.system.entry.js +1 -0
- package/dist/mint-components/p-15f1ff1d.system.js +1 -0
- package/dist/mint-components/p-1d704c40.system.js +1 -0
- package/dist/mint-components/p-26da31c6.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-4d5b02af.js +1 -0
- package/dist/mint-components/p-87384d9e.system.js +1 -0
- package/dist/mint-components/p-875861d7.system.entry.js +1 -0
- package/dist/mint-components/p-8af8ab01.system.entry.js +1 -0
- package/dist/mint-components/p-9e1570bf.system.entry.js +1 -0
- package/dist/mint-components/{p-72e5e84f.system.js → p-ad6420a2.system.js} +1 -1
- package/dist/mint-components/p-b8c15858.entry.js +1 -0
- package/dist/mint-components/{p-8dc110b0.entry.js → p-cd1c6113.entry.js} +2 -2
- package/dist/mint-components/p-e358f0c1.entry.js +265 -0
- package/dist/mint-components/p-f59d6012.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 +15 -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 +14 -0
- package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +49 -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 +194 -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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LeadFormState } from "./useLeadFormState";
|
|
2
|
+
export interface LeadInputFieldViewProps {
|
|
3
|
+
states: {
|
|
4
|
+
leadFormState?: LeadFormState;
|
|
5
|
+
};
|
|
6
|
+
content: {
|
|
7
|
+
fieldName: string;
|
|
8
|
+
fieldLabel: string;
|
|
9
|
+
fieldType: "date" | "tel" | "text";
|
|
10
|
+
fieldOptional?: boolean;
|
|
11
|
+
requiredFieldErrorMessage: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function LeadInputFieldView(props: LeadInputFieldViewProps): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
/**
|
|
23
|
+
* @uiName Input type
|
|
24
|
+
* @uiType string
|
|
25
|
+
* @uiEnum ["text", "date", "tel"]
|
|
26
|
+
* @uiEnumNames ["Text", "Date", "Phone Number"]
|
|
27
|
+
*/
|
|
28
|
+
fieldType: "text" | "date" | "tel";
|
|
29
|
+
/**
|
|
30
|
+
* The message to be displayed when a required field is not filled.
|
|
31
|
+
*
|
|
32
|
+
* @uiName Required field message
|
|
33
|
+
* @uiWidget textArea
|
|
34
|
+
*/
|
|
35
|
+
requiredFieldErrorMessage: string;
|
|
36
|
+
/**
|
|
37
|
+
* @uiName Optional
|
|
38
|
+
* @default
|
|
39
|
+
*/
|
|
40
|
+
fieldOptional?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @undocumented
|
|
43
|
+
* @uiType object
|
|
44
|
+
*/
|
|
45
|
+
demoData?: DemoData<LeadInputFieldViewProps>;
|
|
46
|
+
constructor();
|
|
47
|
+
disconnectedCallback(): void;
|
|
48
|
+
render(): any;
|
|
49
|
+
}
|
|
@@ -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,69 @@ 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
|
+
/**
|
|
1610
|
+
* The message to be displayed when a required field is not filled.
|
|
1611
|
+
* @uiName Required field message
|
|
1612
|
+
* @uiWidget textArea
|
|
1613
|
+
*/
|
|
1614
|
+
"requiredFieldErrorMessage": string;
|
|
1532
1615
|
}
|
|
1533
1616
|
interface SqmLeaderboard {
|
|
1534
1617
|
/**
|
|
@@ -6276,12 +6359,24 @@ declare global {
|
|
|
6276
6359
|
prototype: HTMLSqmInvoiceTableDownloadColumnElement;
|
|
6277
6360
|
new (): HTMLSqmInvoiceTableDownloadColumnElement;
|
|
6278
6361
|
};
|
|
6362
|
+
interface HTMLSqmLeadDropdownFieldElement extends Components.SqmLeadDropdownField, HTMLStencilElement {
|
|
6363
|
+
}
|
|
6364
|
+
var HTMLSqmLeadDropdownFieldElement: {
|
|
6365
|
+
prototype: HTMLSqmLeadDropdownFieldElement;
|
|
6366
|
+
new (): HTMLSqmLeadDropdownFieldElement;
|
|
6367
|
+
};
|
|
6279
6368
|
interface HTMLSqmLeadFormElement extends Components.SqmLeadForm, HTMLStencilElement {
|
|
6280
6369
|
}
|
|
6281
6370
|
var HTMLSqmLeadFormElement: {
|
|
6282
6371
|
prototype: HTMLSqmLeadFormElement;
|
|
6283
6372
|
new (): HTMLSqmLeadFormElement;
|
|
6284
6373
|
};
|
|
6374
|
+
interface HTMLSqmLeadInputFieldElement extends Components.SqmLeadInputField, HTMLStencilElement {
|
|
6375
|
+
}
|
|
6376
|
+
var HTMLSqmLeadInputFieldElement: {
|
|
6377
|
+
prototype: HTMLSqmLeadInputFieldElement;
|
|
6378
|
+
new (): HTMLSqmLeadInputFieldElement;
|
|
6379
|
+
};
|
|
6285
6380
|
interface HTMLSqmLeaderboardElement extends Components.SqmLeaderboard, HTMLStencilElement {
|
|
6286
6381
|
}
|
|
6287
6382
|
var HTMLSqmLeaderboardElement: {
|
|
@@ -6846,7 +6941,9 @@ declare global {
|
|
|
6846
6941
|
"sqm-invoice-table-date-column": HTMLSqmInvoiceTableDateColumnElement;
|
|
6847
6942
|
"sqm-invoice-table-download-cell": HTMLSqmInvoiceTableDownloadCellElement;
|
|
6848
6943
|
"sqm-invoice-table-download-column": HTMLSqmInvoiceTableDownloadColumnElement;
|
|
6944
|
+
"sqm-lead-dropdown-field": HTMLSqmLeadDropdownFieldElement;
|
|
6849
6945
|
"sqm-lead-form": HTMLSqmLeadFormElement;
|
|
6946
|
+
"sqm-lead-input-field": HTMLSqmLeadInputFieldElement;
|
|
6850
6947
|
"sqm-leaderboard": HTMLSqmLeaderboardElement;
|
|
6851
6948
|
"sqm-leaderboard-rank": HTMLSqmLeaderboardRankElement;
|
|
6852
6949
|
"sqm-link-button": HTMLSqmLinkButtonElement;
|
|
@@ -8353,6 +8450,34 @@ declare namespace LocalJSX {
|
|
|
8353
8450
|
}
|
|
8354
8451
|
interface SqmInvoiceTableDownloadColumn {
|
|
8355
8452
|
}
|
|
8453
|
+
interface SqmLeadDropdownField {
|
|
8454
|
+
/**
|
|
8455
|
+
* @undocumented
|
|
8456
|
+
* @uiType object
|
|
8457
|
+
*/
|
|
8458
|
+
"demoData"?: DemoData<DropdownFieldViewProps>;
|
|
8459
|
+
/**
|
|
8460
|
+
* @uiName Dropdown label
|
|
8461
|
+
*/
|
|
8462
|
+
"dropdownLabel"?: string;
|
|
8463
|
+
/**
|
|
8464
|
+
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
8465
|
+
* @uiName Dropdown name attribute
|
|
8466
|
+
* @required
|
|
8467
|
+
*/
|
|
8468
|
+
"dropdownName"?: string;
|
|
8469
|
+
/**
|
|
8470
|
+
* @uiName Optional
|
|
8471
|
+
* @default
|
|
8472
|
+
*/
|
|
8473
|
+
"dropdownOptional"?: boolean;
|
|
8474
|
+
/**
|
|
8475
|
+
* The message to be displayed when a required field is not filled.
|
|
8476
|
+
* @uiName Required field message
|
|
8477
|
+
* @uiWidget textArea
|
|
8478
|
+
*/
|
|
8479
|
+
"requiredFieldErrorMessage"?: string;
|
|
8480
|
+
}
|
|
8356
8481
|
interface SqmLeadForm {
|
|
8357
8482
|
/**
|
|
8358
8483
|
* @undocumented
|
|
@@ -8384,12 +8509,6 @@ declare namespace LocalJSX {
|
|
|
8384
8509
|
* @uiWidget textArea
|
|
8385
8510
|
*/
|
|
8386
8511
|
"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
8512
|
/**
|
|
8394
8513
|
* @uiName Header text
|
|
8395
8514
|
*/
|
|
@@ -8400,10 +8519,69 @@ declare namespace LocalJSX {
|
|
|
8400
8519
|
* @uiWidget textArea
|
|
8401
8520
|
*/
|
|
8402
8521
|
"requiredFieldErrorMessage"?: string;
|
|
8522
|
+
/**
|
|
8523
|
+
* @uiName Submit another form button label
|
|
8524
|
+
*/
|
|
8525
|
+
"resubmitFormLabel"?: string;
|
|
8526
|
+
/**
|
|
8527
|
+
* Description text shown when an error occurs.
|
|
8528
|
+
*/
|
|
8529
|
+
"submitErrorDescription"?: string;
|
|
8530
|
+
/**
|
|
8531
|
+
* Header text shown when an error occurs.
|
|
8532
|
+
*/
|
|
8533
|
+
"submitErrorHeader"?: string;
|
|
8403
8534
|
/**
|
|
8404
8535
|
* @uiName Submit button text
|
|
8405
8536
|
*/
|
|
8406
8537
|
"submitLabel"?: string;
|
|
8538
|
+
/**
|
|
8539
|
+
* Description text shown on successful submission.
|
|
8540
|
+
*/
|
|
8541
|
+
"submitSuccessDescription"?: string;
|
|
8542
|
+
/**
|
|
8543
|
+
* Header text shown on successful submission.
|
|
8544
|
+
*/
|
|
8545
|
+
"submitSuccessHeader"?: string;
|
|
8546
|
+
/**
|
|
8547
|
+
* Optional support link for error messages.
|
|
8548
|
+
*/
|
|
8549
|
+
"supportLink"?: string;
|
|
8550
|
+
}
|
|
8551
|
+
interface SqmLeadInputField {
|
|
8552
|
+
/**
|
|
8553
|
+
* @undocumented
|
|
8554
|
+
* @uiType object
|
|
8555
|
+
*/
|
|
8556
|
+
"demoData"?: DemoData<LeadInputFieldViewProps>;
|
|
8557
|
+
/**
|
|
8558
|
+
* @uiName Input label
|
|
8559
|
+
*/
|
|
8560
|
+
"fieldLabel"?: string;
|
|
8561
|
+
/**
|
|
8562
|
+
* This name is used as the key for this form field on submission. The name must be unique within this specific form.
|
|
8563
|
+
* @uiName Input name attribute
|
|
8564
|
+
* @required
|
|
8565
|
+
*/
|
|
8566
|
+
"fieldName"?: string;
|
|
8567
|
+
/**
|
|
8568
|
+
* @uiName Optional
|
|
8569
|
+
* @default
|
|
8570
|
+
*/
|
|
8571
|
+
"fieldOptional"?: boolean;
|
|
8572
|
+
/**
|
|
8573
|
+
* @uiName Input type
|
|
8574
|
+
* @uiType string
|
|
8575
|
+
* @uiEnum ["text", "date", "tel"]
|
|
8576
|
+
* @uiEnumNames ["Text", "Date", "Phone Number"]
|
|
8577
|
+
*/
|
|
8578
|
+
"fieldType"?: "text" | "date" | "tel";
|
|
8579
|
+
/**
|
|
8580
|
+
* The message to be displayed when a required field is not filled.
|
|
8581
|
+
* @uiName Required field message
|
|
8582
|
+
* @uiWidget textArea
|
|
8583
|
+
*/
|
|
8584
|
+
"requiredFieldErrorMessage"?: string;
|
|
8407
8585
|
}
|
|
8408
8586
|
interface SqmLeaderboard {
|
|
8409
8587
|
/**
|
|
@@ -12950,7 +13128,9 @@ declare namespace LocalJSX {
|
|
|
12950
13128
|
"sqm-invoice-table-date-column": SqmInvoiceTableDateColumn;
|
|
12951
13129
|
"sqm-invoice-table-download-cell": SqmInvoiceTableDownloadCell;
|
|
12952
13130
|
"sqm-invoice-table-download-column": SqmInvoiceTableDownloadColumn;
|
|
13131
|
+
"sqm-lead-dropdown-field": SqmLeadDropdownField;
|
|
12953
13132
|
"sqm-lead-form": SqmLeadForm;
|
|
13133
|
+
"sqm-lead-input-field": SqmLeadInputField;
|
|
12954
13134
|
"sqm-leaderboard": SqmLeaderboard;
|
|
12955
13135
|
"sqm-leaderboard-rank": SqmLeaderboardRank;
|
|
12956
13136
|
"sqm-link-button": SqmLinkButton;
|
|
@@ -13080,7 +13260,9 @@ declare module "@stencil/core" {
|
|
|
13080
13260
|
"sqm-invoice-table-date-column": LocalJSX.SqmInvoiceTableDateColumn & JSXBase.HTMLAttributes<HTMLSqmInvoiceTableDateColumnElement>;
|
|
13081
13261
|
"sqm-invoice-table-download-cell": LocalJSX.SqmInvoiceTableDownloadCell & JSXBase.HTMLAttributes<HTMLSqmInvoiceTableDownloadCellElement>;
|
|
13082
13262
|
"sqm-invoice-table-download-column": LocalJSX.SqmInvoiceTableDownloadColumn & JSXBase.HTMLAttributes<HTMLSqmInvoiceTableDownloadColumnElement>;
|
|
13263
|
+
"sqm-lead-dropdown-field": LocalJSX.SqmLeadDropdownField & JSXBase.HTMLAttributes<HTMLSqmLeadDropdownFieldElement>;
|
|
13083
13264
|
"sqm-lead-form": LocalJSX.SqmLeadForm & JSXBase.HTMLAttributes<HTMLSqmLeadFormElement>;
|
|
13265
|
+
"sqm-lead-input-field": LocalJSX.SqmLeadInputField & JSXBase.HTMLAttributes<HTMLSqmLeadInputFieldElement>;
|
|
13084
13266
|
"sqm-leaderboard": LocalJSX.SqmLeaderboard & JSXBase.HTMLAttributes<HTMLSqmLeaderboardElement>;
|
|
13085
13267
|
"sqm-leaderboard-rank": LocalJSX.SqmLeaderboardRank & JSXBase.HTMLAttributes<HTMLSqmLeaderboardRankElement>;
|
|
13086
13268
|
"sqm-link-button": LocalJSX.SqmLinkButton & JSXBase.HTMLAttributes<HTMLSqmLinkButtonElement>;
|
package/docs/docs.docx
CHANGED
|
Binary file
|