@experium/findy-form 1.3.19 → 1.3.20
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.
|
@@ -189,10 +189,10 @@ var PersonalDataAgreementComponent = /*#__PURE__*/function (_Component) {
|
|
|
189
189
|
return /*#__PURE__*/_react["default"].createElement("span", null, renderOpdLabel ? renderOpdLabel(modalLinkProps) : label !== 'opdLabelCustom' ? label : /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, (0, _ramda.path)(['data', 'translations', 'labelStart', pdaLanguage], opdSettings) || (0, _ramda.pathOr)((0, _ramda.pathOr)(t('opdLabel'), ['labelStart'], opdSettings), ['translations', 'labelStart', language], opdSettings), ' ', opdType === 'modal' ? /*#__PURE__*/_react["default"].createElement("span", modalLinkProps, linkText) : /*#__PURE__*/_react["default"].createElement("a", {
|
|
190
190
|
href: "//".concat(link),
|
|
191
191
|
target: "_blank"
|
|
192
|
-
}, linkText),
|
|
192
|
+
}, linkText), (0, _ramda.path)(['data', 'translations', 'labelEnd', pdaLanguage], opdSettings) || (0, _ramda.pathOr)((0, _ramda.pathOr)(opdTypeAdditional ? '' : '.', ['labelEnd'], opdSettings), ['translations', 'labelEnd', language], opdSettings), opdTypeAdditional ? /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, (0, _ramda.path)(['data', 'translations', 'labelAdditionalStart', pdaLanguage], opdSettings) || (0, _ramda.pathOr)((0, _ramda.pathOr)(t('opdLabel'), ['labelAdditionalStart'], opdSettings), ['translations', 'labelAdditionalStart', language], opdSettings), ' ', opdTypeAdditional === 'modal' ? /*#__PURE__*/_react["default"].createElement("span", modalLinkAdditionalProps, linkTextAdditional) : /*#__PURE__*/_react["default"].createElement("a", {
|
|
193
193
|
href: "//".concat(linkAdditional),
|
|
194
194
|
target: "_blank"
|
|
195
|
-
}, linkTextAdditional),
|
|
195
|
+
}, linkTextAdditional), (0, _ramda.path)(['data', 'translations', 'labelAdditionalEnd', pdaLanguage], opdSettings) || (0, _ramda.pathOr)((0, _ramda.pathOr)('.', ['labelAdditionalEnd'], opdSettings), ['translations', 'labelAdditionalEnd', language], opdSettings)) : null), /*#__PURE__*/_react["default"].createElement(_reactResponsiveModal["default"], {
|
|
196
196
|
open: _this.state.opened,
|
|
197
197
|
onClose: _this.close,
|
|
198
198
|
classNames: {
|
package/package.json
CHANGED
|
@@ -101,9 +101,7 @@ class PersonalDataAgreementComponent extends Component {
|
|
|
101
101
|
{ opdType === 'modal' ?
|
|
102
102
|
<span {...modalLinkProps}>{ linkText }</span> :
|
|
103
103
|
<a href={`//${link}`} target='_blank'>{ linkText }</a>
|
|
104
|
-
}
|
|
105
|
-
{ ' ' }
|
|
106
|
-
{ path(['data', 'translations', 'labelEnd', pdaLanguage], opdSettings)
|
|
104
|
+
}{ path(['data', 'translations', 'labelEnd', pdaLanguage], opdSettings)
|
|
107
105
|
|| pathOr(pathOr(opdTypeAdditional ? '' : '.', ['labelEnd'], opdSettings), ['translations', 'labelEnd', language], opdSettings) }
|
|
108
106
|
{ opdTypeAdditional ? (
|
|
109
107
|
<Fragment>
|
|
@@ -112,9 +110,7 @@ class PersonalDataAgreementComponent extends Component {
|
|
|
112
110
|
{ opdTypeAdditional === 'modal' ?
|
|
113
111
|
<span {...modalLinkAdditionalProps}>{ linkTextAdditional }</span> :
|
|
114
112
|
<a href={`//${linkAdditional}`} target='_blank'>{ linkTextAdditional }</a>
|
|
115
|
-
}
|
|
116
|
-
{ ' ' }
|
|
117
|
-
{ path(['data', 'translations', 'labelAdditionalEnd', pdaLanguage], opdSettings)
|
|
113
|
+
}{ path(['data', 'translations', 'labelAdditionalEnd', pdaLanguage], opdSettings)
|
|
118
114
|
|| pathOr(pathOr('.', ['labelAdditionalEnd'], opdSettings), ['translations', 'labelAdditionalEnd', language], opdSettings) }
|
|
119
115
|
|
|
120
116
|
</Fragment>
|