diy-template-components 1.0.23 → 1.0.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.
- package/build/index.es.js +12 -3
- package/build/index.es.js.map +1 -1
- package/build/index.js +12 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -3734,7 +3734,8 @@ function SubscribeToNewsletter({
|
|
|
3734
3734
|
validations,
|
|
3735
3735
|
isPreview,
|
|
3736
3736
|
isEdit,
|
|
3737
|
-
isLandingPages
|
|
3737
|
+
isLandingPages,
|
|
3738
|
+
extraProps
|
|
3738
3739
|
} = React.useContext(PageContext);
|
|
3739
3740
|
const [nodeData] = sectionData.components;
|
|
3740
3741
|
const classes = useSectionStyles$4({
|
|
@@ -3755,6 +3756,8 @@ function SubscribeToNewsletter({
|
|
|
3755
3756
|
value: inputVal
|
|
3756
3757
|
}
|
|
3757
3758
|
},
|
|
3759
|
+
orgCode: extraProps?.org_code,
|
|
3760
|
+
orgId: extraProps?.org_id,
|
|
3758
3761
|
...(isLandingPages && {
|
|
3759
3762
|
source: 'landing_page'
|
|
3760
3763
|
})
|
|
@@ -6558,7 +6561,8 @@ function FormEnquiry({
|
|
|
6558
6561
|
validations,
|
|
6559
6562
|
isPreview,
|
|
6560
6563
|
isEdit,
|
|
6561
|
-
isLandingPages
|
|
6564
|
+
isLandingPages,
|
|
6565
|
+
extraProps
|
|
6562
6566
|
} = React.useContext(PageContext);
|
|
6563
6567
|
const classes = useSectionStyles$1({
|
|
6564
6568
|
containerWidth,
|
|
@@ -6592,6 +6596,8 @@ function FormEnquiry({
|
|
|
6592
6596
|
sectionId: sectionData?._id || null,
|
|
6593
6597
|
sectionType: sectionData?.type,
|
|
6594
6598
|
payload: inputVal,
|
|
6599
|
+
orgCode: extraProps?.org_code,
|
|
6600
|
+
orgId: extraProps?.org_id,
|
|
6595
6601
|
...(isLandingPages && {
|
|
6596
6602
|
source: 'landing_page'
|
|
6597
6603
|
})
|
|
@@ -6999,7 +7005,8 @@ function Contact({
|
|
|
6999
7005
|
validations,
|
|
7000
7006
|
isPreview,
|
|
7001
7007
|
isEdit,
|
|
7002
|
-
isLandingPages
|
|
7008
|
+
isLandingPages,
|
|
7009
|
+
extraProps
|
|
7003
7010
|
} = React.useContext(PageContext);
|
|
7004
7011
|
let [btnDisabled, setBtnDisabled] = React.useState(false);
|
|
7005
7012
|
const [nodeData] = sectionData.components;
|
|
@@ -7025,6 +7032,8 @@ function Contact({
|
|
|
7025
7032
|
sectionId: sectionData?._id || null,
|
|
7026
7033
|
sectionType: sectionData?.type,
|
|
7027
7034
|
payload: inputVal,
|
|
7035
|
+
orgCode: extraProps?.org_code,
|
|
7036
|
+
orgId: extraProps?.org_id,
|
|
7028
7037
|
...(isLandingPages && {
|
|
7029
7038
|
source: 'landing_page'
|
|
7030
7039
|
})
|