@redneckz/wildless-cms-uni-blocks 0.14.960 → 0.14.961
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/bundle/bundle.umd.js +1 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
- package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
- package/mobile/bundle/bundle.umd.js +1 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +59 -0
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.example.json +59 -0
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +32 -0
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +32 -0
|
@@ -1531,5 +1531,64 @@
|
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
|
+
],
|
|
1535
|
+
[
|
|
1536
|
+
"Универсальный шаблон - консультация ФЛ",
|
|
1537
|
+
{
|
|
1538
|
+
"content": {
|
|
1539
|
+
"version": "primary",
|
|
1540
|
+
"padding": "",
|
|
1541
|
+
"title": "Заявка на консультацию",
|
|
1542
|
+
"typeForm": "UNIVERSAL",
|
|
1543
|
+
"endpoint": "lead",
|
|
1544
|
+
"additionalParams": {
|
|
1545
|
+
"product": "product",
|
|
1546
|
+
"showProduct": "show"
|
|
1547
|
+
},
|
|
1548
|
+
"sections": [
|
|
1549
|
+
{
|
|
1550
|
+
"columns": 2,
|
|
1551
|
+
"inputs": [
|
|
1552
|
+
{
|
|
1553
|
+
"name": "surname",
|
|
1554
|
+
"required": true
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "name",
|
|
1558
|
+
"required": true
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "middleName"
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "birthday",
|
|
1565
|
+
"required": true
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"name": "phone",
|
|
1569
|
+
"required": true
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "email",
|
|
1573
|
+
"required": true
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"name": "consentDataProcessing",
|
|
1577
|
+
"required": true
|
|
1578
|
+
}
|
|
1579
|
+
]
|
|
1580
|
+
}
|
|
1581
|
+
],
|
|
1582
|
+
"button": {
|
|
1583
|
+
"text": "Отправить заявку",
|
|
1584
|
+
"version": "primary"
|
|
1585
|
+
},
|
|
1586
|
+
"link": {
|
|
1587
|
+
"text": "Согласен на обработку персональных данных",
|
|
1588
|
+
"href": "/privacy-policy",
|
|
1589
|
+
"target": "_blank"
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1534
1593
|
]
|
|
1535
1594
|
]
|
package/package.json
CHANGED
|
@@ -1531,5 +1531,64 @@
|
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
|
+
],
|
|
1535
|
+
[
|
|
1536
|
+
"Универсальный шаблон - консультация ФЛ",
|
|
1537
|
+
{
|
|
1538
|
+
"content": {
|
|
1539
|
+
"version": "primary",
|
|
1540
|
+
"padding": "",
|
|
1541
|
+
"title": "Заявка на консультацию",
|
|
1542
|
+
"typeForm": "UNIVERSAL",
|
|
1543
|
+
"endpoint": "lead",
|
|
1544
|
+
"additionalParams": {
|
|
1545
|
+
"product": "product",
|
|
1546
|
+
"showProduct": "show"
|
|
1547
|
+
},
|
|
1548
|
+
"sections": [
|
|
1549
|
+
{
|
|
1550
|
+
"columns": 2,
|
|
1551
|
+
"inputs": [
|
|
1552
|
+
{
|
|
1553
|
+
"name": "surname",
|
|
1554
|
+
"required": true
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "name",
|
|
1558
|
+
"required": true
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "middleName"
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "birthday",
|
|
1565
|
+
"required": true
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"name": "phone",
|
|
1569
|
+
"required": true
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "email",
|
|
1573
|
+
"required": true
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"name": "consentDataProcessing",
|
|
1577
|
+
"required": true
|
|
1578
|
+
}
|
|
1579
|
+
]
|
|
1580
|
+
}
|
|
1581
|
+
],
|
|
1582
|
+
"button": {
|
|
1583
|
+
"text": "Отправить заявку",
|
|
1584
|
+
"version": "primary"
|
|
1585
|
+
},
|
|
1586
|
+
"link": {
|
|
1587
|
+
"text": "Согласен на обработку персональных данных",
|
|
1588
|
+
"href": "/privacy-policy",
|
|
1589
|
+
"target": "_blank"
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1534
1593
|
]
|
|
1535
1594
|
]
|
|
@@ -942,4 +942,36 @@ export default {
|
|
|
942
942
|
<DialogManager />
|
|
943
943
|
</div>
|
|
944
944
|
),
|
|
945
|
+
universalConsultFL: (
|
|
946
|
+
<div className="container grid grid-cols-12">
|
|
947
|
+
<ApplicationForm
|
|
948
|
+
className="col-span-12"
|
|
949
|
+
title="Заявка на консультацию"
|
|
950
|
+
typeForm="UNIVERSAL"
|
|
951
|
+
endpoint="lead"
|
|
952
|
+
sections={[
|
|
953
|
+
{
|
|
954
|
+
columns: 2,
|
|
955
|
+
inputs: [
|
|
956
|
+
{ name: 'surname', required: true },
|
|
957
|
+
{ name: 'name', required: true },
|
|
958
|
+
{ name: 'middleName' },
|
|
959
|
+
{ name: 'birthday', required: true },
|
|
960
|
+
{ name: 'phone', required: true },
|
|
961
|
+
{ name: 'email', required: true },
|
|
962
|
+
{ name: 'consentDataProcessing', required: true },
|
|
963
|
+
],
|
|
964
|
+
},
|
|
965
|
+
]}
|
|
966
|
+
additionalParams={{
|
|
967
|
+
product: 'product',
|
|
968
|
+
showProduct: 'show',
|
|
969
|
+
}}
|
|
970
|
+
button={button}
|
|
971
|
+
link={link}
|
|
972
|
+
/>
|
|
973
|
+
<PopupManager />
|
|
974
|
+
<DialogManager />
|
|
975
|
+
</div>
|
|
976
|
+
),
|
|
945
977
|
};
|
|
@@ -937,4 +937,36 @@ export default {
|
|
|
937
937
|
<DialogManager />
|
|
938
938
|
</div>
|
|
939
939
|
),
|
|
940
|
+
universalConsultFL: (
|
|
941
|
+
<div className="container grid grid-cols-12">
|
|
942
|
+
<ApplicationForm
|
|
943
|
+
className="col-span-12"
|
|
944
|
+
title="Заявка на консультацию"
|
|
945
|
+
typeForm="UNIVERSAL"
|
|
946
|
+
endpoint="lead"
|
|
947
|
+
sections={[
|
|
948
|
+
{
|
|
949
|
+
columns: 2,
|
|
950
|
+
inputs: [
|
|
951
|
+
{ name: 'surname', required: true },
|
|
952
|
+
{ name: 'name', required: true },
|
|
953
|
+
{ name: 'middleName' },
|
|
954
|
+
{ name: 'birthday', required: true },
|
|
955
|
+
{ name: 'phone', required: true },
|
|
956
|
+
{ name: 'email', required: true },
|
|
957
|
+
{ name: 'consentDataProcessing', required: true },
|
|
958
|
+
],
|
|
959
|
+
},
|
|
960
|
+
]}
|
|
961
|
+
additionalParams={{
|
|
962
|
+
product: 'product',
|
|
963
|
+
showProduct: 'show',
|
|
964
|
+
}}
|
|
965
|
+
button={button}
|
|
966
|
+
link={link}
|
|
967
|
+
/>
|
|
968
|
+
<PopupManager />
|
|
969
|
+
<DialogManager />
|
|
970
|
+
</div>
|
|
971
|
+
),
|
|
940
972
|
};
|