@asantemedia-org/edwardsvacuum-design-system 1.6.56 → 1.6.58
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/index.esm.js +7 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/stories/experiences/QRFormJourney/FormFieldType.d.ts +1 -1
- package/dist/stories/experiences/QRFormJourney/Qr-form/i18n.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1004,7 +1004,7 @@ var defaultQrFormTranslations = {
|
|
|
1004
1004
|
pageTitle_productInformation: "Product information",
|
|
1005
1005
|
pageTitle_aboutYou: "About you",
|
|
1006
1006
|
pageTitle_contactDetails: "Your contact details",
|
|
1007
|
-
pageTitle_consents: "
|
|
1007
|
+
pageTitle_consents: "Form consent",
|
|
1008
1008
|
label_howMayWeHelpYou: "How may we help you?",
|
|
1009
1009
|
label_customerSupport: "Customer support",
|
|
1010
1010
|
label_technicalSupport: "Technical support",
|
|
@@ -1026,6 +1026,7 @@ var defaultQrFormTranslations = {
|
|
|
1026
1026
|
label_city: "City",
|
|
1027
1027
|
label_postcodeOrZip: "Postcode or ZIP",
|
|
1028
1028
|
consent_acceptPolicy: "I accept the policy",
|
|
1029
|
+
consent_viewPolicy: "View Policy",
|
|
1029
1030
|
consent_default: "Consent",
|
|
1030
1031
|
consent_requiredMessage: "Please acknowledge this consent"
|
|
1031
1032
|
};
|
|
@@ -1059,7 +1060,11 @@ var QrForm = function (props) {
|
|
|
1059
1060
|
return {
|
|
1060
1061
|
type: consent.type === "info" ? "info" : "checkbox",
|
|
1061
1062
|
name: "consent_".concat(index + 1),
|
|
1062
|
-
label: consent.
|
|
1063
|
+
label: consent.policyLink ? /*#__PURE__*/React.createElement("span", null, consent.policyText || i18n.consent_acceptPolicy, " ", /*#__PURE__*/React.createElement("a", {
|
|
1064
|
+
href: consent.policyLink,
|
|
1065
|
+
target: "_blank",
|
|
1066
|
+
rel: "noopener noreferrer"
|
|
1067
|
+
}, i18n.consent_viewPolicy || "View Policy")) : consent.policyText ? consent.policyText : "".concat(i18n.consent_default).concat(index + 1),
|
|
1063
1068
|
value: "true",
|
|
1064
1069
|
required: !!consent.policyMandatory,
|
|
1065
1070
|
errorMessage: consent.policyMandatory ? i18n.consent_requiredMessage : ""
|