@bigbinary/neeto-thank-you-frontend 1.0.15 → 1.0.17

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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { useState, useRef, useEffect } from 'react';
2
+ import React__default, { useState, useEffect, useRef } from 'react';
3
3
  import Scrollable from '@bigbinary/neeto-molecules/Scrollable';
4
4
  import { t as t$1 } from 'i18next';
5
5
  import { isEditorEmpty, FormikEditor, EditorContent } from '@bigbinary/neeto-editor';
@@ -8,12 +8,12 @@ import classNames from 'classnames';
8
8
  import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
9
9
  import { Modal, Typography, Button, Label as Label$1 } from '@bigbinary/neetoui';
10
10
  import { Switch, Input, Form as Form$1, Radio } from '@bigbinary/neetoui/formik';
11
+ import { isEmpty } from 'ramda';
11
12
  import { useTranslation, Trans } from 'react-i18next';
12
13
  import { useQuery, useQueryClient, useMutation } from 'react-query';
13
14
  import axios from 'axios';
14
15
  import { useFormikContext } from 'formik';
15
16
  import { ImageUploader } from '@bigbinary/neeto-image-uploader-frontend';
16
- import { isEmpty } from 'ramda';
17
17
  import { Link } from '@bigbinary/neeto-icons';
18
18
  import NeetoUIHeader from '@bigbinary/neeto-molecules/Header';
19
19
 
@@ -57,15 +57,31 @@ var THANK_YOU_TEXT_ALIGNMENTS = {
57
57
  left: "left",
58
58
  center: "center"
59
59
  };
60
+ var DEFAULT_APP_NAME = "neetoForm";
61
+
62
+ function _extends$1() {
63
+ _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
64
+ for (var i = 1; i < arguments.length; i++) {
65
+ var source = arguments[i];
66
+ for (var key in source) {
67
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
68
+ target[key] = source[key];
69
+ }
70
+ }
71
+ }
72
+ return target;
73
+ };
74
+ return _extends$1.apply(this, arguments);
75
+ }
60
76
 
61
- function _typeof(obj) {
77
+ function _typeof(o) {
62
78
  "@babel/helpers - typeof";
63
79
 
64
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
65
- return typeof obj;
66
- } : function (obj) {
67
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
68
- }, _typeof(obj);
80
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
81
+ return typeof o;
82
+ } : function (o) {
83
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
84
+ }, _typeof(o);
69
85
  }
70
86
 
71
87
  function _toPrimitive(input, hint) {
@@ -134,8 +150,8 @@ var QUERY_KEYS = {
134
150
  THANK_YOU_PAGE: "thank-you-page"
135
151
  };
136
152
 
137
- function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
138
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
153
+ function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
154
+ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
139
155
  var useShowThankYouConfiguration = function useShowThankYouConfiguration(_ref) {
140
156
  var entityId = _ref.entityId;
141
157
  return useQuery([QUERY_KEYS.THANK_YOU_CONFIGURATION, entityId], function () {
@@ -172,31 +188,31 @@ function _arrayWithHoles(arr) {
172
188
  if (Array.isArray(arr)) return arr;
173
189
  }
174
190
 
175
- function _iterableToArrayLimit(arr, i) {
176
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
177
- if (null != _i) {
178
- var _s,
179
- _e,
180
- _x,
181
- _r,
182
- _arr = [],
183
- _n = !0,
184
- _d = !1;
191
+ function _iterableToArrayLimit(r, l) {
192
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
193
+ if (null != t) {
194
+ var e,
195
+ n,
196
+ i,
197
+ u,
198
+ a = [],
199
+ f = !0,
200
+ o = !1;
185
201
  try {
186
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
187
- if (Object(_i) !== _i) return;
188
- _n = !1;
189
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
190
- } catch (err) {
191
- _d = !0, _e = err;
202
+ if (i = (t = t.call(r)).next, 0 === l) {
203
+ if (Object(t) !== t) return;
204
+ f = !1;
205
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
206
+ } catch (r) {
207
+ o = !0, n = r;
192
208
  } finally {
193
209
  try {
194
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
210
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
195
211
  } finally {
196
- if (_d) throw _e;
212
+ if (o) throw n;
197
213
  }
198
214
  }
199
- return _arr;
215
+ return a;
200
216
  }
201
217
  }
202
218
 
@@ -279,17 +295,17 @@ var ResubmissionWarningModal = function ResubmissionWarningModal(_ref) {
279
295
  };
280
296
 
281
297
  var Customize = function Customize(_ref) {
282
- var uniqueSubmissionEnabled = _ref.uniqueSubmissionEnabled,
298
+ var editorRef = _ref.editorRef,
299
+ uniqueSubmissionEnabled = _ref.uniqueSubmissionEnabled,
283
300
  hasImageUploader = _ref.hasImageUploader,
284
301
  uniqueSubmissionLink = _ref.uniqueSubmissionLink,
285
- entityId = _ref.entityId;
302
+ entityId = _ref.entityId,
303
+ disableSocialShare = _ref.disableSocialShare,
304
+ disableSubmitAnotherResponse = _ref.disableSubmitAnotherResponse;
286
305
  var _useState = useState(false),
287
306
  _useState2 = _slicedToArray(_useState, 2),
288
307
  isUniqueSubmissionWarningModalOpen = _useState2[0],
289
308
  setIsUniqueSubmissionWarningModalOpen = _useState2[1];
290
- var editorRef = useRef({
291
- editor: {}
292
- });
293
309
  var _useTranslation = useTranslation(),
294
310
  t = _useTranslation.t;
295
311
  var _useFormikContext = useFormikContext(),
@@ -306,7 +322,7 @@ var Customize = function Customize(_ref) {
306
322
  if (!isFetching) {
307
323
  var _editorRef$current$ed;
308
324
  setFieldValue("message", thankYouConfiguration.message);
309
- (_editorRef$current$ed = editorRef.current.editor) === null || _editorRef$current$ed === void 0 ? void 0 : _editorRef$current$ed.commands.setContent(thankYouConfiguration.message);
325
+ (_editorRef$current$ed = editorRef.current.editor) === null || _editorRef$current$ed === void 0 || _editorRef$current$ed.commands.setContent(thankYouConfiguration.message);
310
326
  }
311
327
  }, [isFetching]);
312
328
  var handleResubmitLinkChange = function handleResubmitLinkChange(event) {
@@ -323,10 +339,10 @@ var Customize = function Customize(_ref) {
323
339
  label: t("neetoThankYou.thankYou.messageLabel"),
324
340
  name: "message",
325
341
  ref: editorRef
326
- })), /*#__PURE__*/React__default.createElement(Switch, {
342
+ })), !disableSocialShare && /*#__PURE__*/React__default.createElement(Switch, {
327
343
  label: t("neetoThankYou.thankYou.socialShareIcons"),
328
344
  name: "socialSharingEnabled"
329
- }), /*#__PURE__*/React__default.createElement(Switch, {
345
+ }), !disableSubmitAnotherResponse && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Switch, {
330
346
  label: t("neetoThankYou.thankYou.showResubmitLink"),
331
347
  name: "showResubmitLink",
332
348
  className: classNames({
@@ -337,7 +353,7 @@ var Customize = function Customize(_ref) {
337
353
  required: true,
338
354
  label: t("neetoThankYou.thankYou.resubmitLinkText"),
339
355
  name: "resubmitLinkText"
340
- }), /*#__PURE__*/React__default.createElement(ResubmissionWarningModal, {
356
+ })), /*#__PURE__*/React__default.createElement(ResubmissionWarningModal, {
341
357
  isOpen: isUniqueSubmissionWarningModalOpen,
342
358
  setIsOpen: setIsUniqueSubmissionWarningModalOpen,
343
359
  uniqueSubmissionLink: uniqueSubmissionLink
@@ -403,7 +419,8 @@ var Preview = function Preview(_ref) {
403
419
  thankYouTextAlignment = _ref.thankYouTextAlignment,
404
420
  resubmitLink = _ref.resubmitLink,
405
421
  publicLinkId = _ref.publicLinkId,
406
- isPublished = _ref.isPublished;
422
+ isPublished = _ref.isPublished,
423
+ appName = _ref.appName;
407
424
  var _useFormikContext = useFormikContext(),
408
425
  values = _useFormikContext.values;
409
426
  var _useTranslation = useTranslation(),
@@ -422,14 +439,12 @@ var Preview = function Preview(_ref) {
422
439
  className: "neeto-thank-you-configuration__main"
423
440
  }, /*#__PURE__*/React__default.createElement("div", {
424
441
  className: "neeto-thank-you-configuration__box"
425
- }, !isEmpty(values === null || values === void 0 ? void 0 : values.imageUrl) ? /*#__PURE__*/React__default.createElement("div", {
442
+ }, !isEmpty(values === null || values === void 0 ? void 0 : values.imageUrl) && /*#__PURE__*/React__default.createElement("div", {
426
443
  className: "neeto-thank-you-configuration__img"
427
444
  }, /*#__PURE__*/React__default.createElement("img", {
428
445
  alt: "",
429
446
  src: values.imageUrl
430
- })) : /*#__PURE__*/React__default.createElement("div", {
431
- className: "neeto-thank-you-configuration__default-img-wrap"
432
- }, "\uD83C\uDF89"), (values === null || values === void 0 ? void 0 : values.message) && /*#__PURE__*/React__default.createElement("div", {
447
+ })), (values === null || values === void 0 ? void 0 : values.message) && /*#__PURE__*/React__default.createElement("div", {
433
448
  className: "neeto-thank-you-configuration__description"
434
449
  }, /*#__PURE__*/React__default.createElement(MemoizedEditorContent, {
435
450
  content: values.message
@@ -463,7 +478,10 @@ var Preview = function Preview(_ref) {
463
478
  components: {
464
479
  strong: /*#__PURE__*/React__default.createElement("strong", null)
465
480
  },
466
- i18nKey: "neetoThankYou.thankYou.poweredByNeetoForm"
481
+ i18nKey: "neetoThankYou.thankYou.poweredBy",
482
+ values: {
483
+ appName: appName || DEFAULT_APP_NAME
484
+ }
467
485
  }))));
468
486
  };
469
487
 
@@ -492,8 +510,8 @@ var Label = function Label(_ref) {
492
510
  }, description));
493
511
  };
494
512
 
495
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
496
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
513
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
514
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
497
515
  var Form = function Form(_ref) {
498
516
  var socialHandles = _ref.socialHandles,
499
517
  entityId = _ref.entityId,
@@ -504,7 +522,10 @@ var Form = function Form(_ref) {
504
522
  redirectToOnCancel = _ref.redirectToOnCancel,
505
523
  thankYouTextAlignment = _ref.thankYouTextAlignment,
506
524
  resubmitLink = _ref.resubmitLink,
507
- isPublished = _ref.isPublished;
525
+ isPublished = _ref.isPublished,
526
+ disableSubmitAnotherResponse = _ref.disableSubmitAnotherResponse,
527
+ disableRadioSelection = _ref.disableRadioSelection,
528
+ appName = _ref.appName;
508
529
  var _useTranslation = useTranslation(),
509
530
  t = _useTranslation.t;
510
531
  var _useShowThankYouConfi = useShowThankYouConfiguration({
@@ -520,11 +541,18 @@ var Form = function Form(_ref) {
520
541
  var _useResetThankYouConf = useResetThankYouConfigurationToDefault(entityId),
521
542
  resetToDefaultMessage = _useResetThankYouConf.mutate,
522
543
  isResetting = _useResetThankYouConf.isLoading;
544
+ var editorRef = useRef({
545
+ editor: {}
546
+ });
523
547
  if (isLoading) {
524
548
  return /*#__PURE__*/React__default.createElement("div", {
525
549
  className: "flex h-full w-full items-center justify-center"
526
550
  }, /*#__PURE__*/React__default.createElement(PageLoader, null));
527
551
  }
552
+ var resetEditor = function resetEditor() {
553
+ var _editorRef$current$ed;
554
+ return (_editorRef$current$ed = editorRef.current.editor) === null || _editorRef$current$ed === void 0 ? void 0 : _editorRef$current$ed.commands.setContent(thankYouConfiguration.message);
555
+ };
528
556
  return /*#__PURE__*/React__default.createElement(Form$1, {
529
557
  formikProps: {
530
558
  enableReinitialize: true,
@@ -546,7 +574,7 @@ var Form = function Form(_ref) {
546
574
  className: "grid grid-cols-2 gap-x-6 pb-4"
547
575
  }, /*#__PURE__*/React__default.createElement("div", {
548
576
  className: "flex flex-col"
549
- }, /*#__PURE__*/React__default.createElement("div", {
577
+ }, !disableRadioSelection && /*#__PURE__*/React__default.createElement("div", {
550
578
  className: "mb-6 w-full"
551
579
  }, /*#__PURE__*/React__default.createElement(Radio, {
552
580
  containerClassName: "grid grid-cols-2 gap-x-6 items-stretch",
@@ -562,6 +590,9 @@ var Form = function Form(_ref) {
562
590
  })
563
591
  });
564
592
  }))), values.kind === FORM_OPTIONS.customize.kind ? /*#__PURE__*/React__default.createElement(Customize, {
593
+ disableSocialShare: isEmpty(socialHandles),
594
+ disableSubmitAnotherResponse: disableSubmitAnotherResponse,
595
+ editorRef: editorRef,
565
596
  entityId: entityId,
566
597
  hasImageUploader: hasImageUploader,
567
598
  uniqueSubmissionEnabled: uniqueSubmissionEnabled,
@@ -578,14 +609,18 @@ var Form = function Form(_ref) {
578
609
  label: t("neetoThankYou.buttons.resetChanges"),
579
610
  loading: isResetting,
580
611
  style: "secondary",
581
- onClick: function onClick() {
582
- return resetToDefaultMessage();
583
- }
584
- }), /*#__PURE__*/React__default.createElement(Button, {
612
+ onClick: resetToDefaultMessage
613
+ }), /*#__PURE__*/React__default.createElement(Button, _extends$1({
585
614
  label: t("neetoThankYou.buttons.cancel"),
586
- style: "text",
615
+ style: "text"
616
+ }, redirectToOnCancel ? {
587
617
  to: redirectToOnCancel
588
- }))), values.kind === FORM_OPTIONS.customize.kind && /*#__PURE__*/React__default.createElement(Preview, {
618
+ } : {
619
+ type: "reset",
620
+ onClick: resetEditor,
621
+ disabled: !dirty
622
+ })))), values.kind === FORM_OPTIONS.customize.kind && /*#__PURE__*/React__default.createElement(Preview, {
623
+ appName: appName,
589
624
  isPublished: isPublished,
590
625
  publicLinkId: publicLinkId,
591
626
  resubmitLink: resubmitLink,
@@ -610,28 +645,37 @@ var Header = function Header(_ref) {
610
645
 
611
646
  var ConfigureThankYou = function ConfigureThankYou(_ref) {
612
647
  var breadcrumbs = _ref.breadcrumbs,
613
- _ref$socialHandles = _ref.socialHandles,
614
- socialHandles = _ref$socialHandles === void 0 ? [] : _ref$socialHandles,
615
648
  isPublished = _ref.isPublished,
616
649
  entityId = _ref.entityId,
617
650
  publicLinkId = _ref.publicLinkId,
618
- _ref$hasImageUploader = _ref.hasImageUploader,
619
- hasImageUploader = _ref$hasImageUploader === void 0 ? false : _ref$hasImageUploader,
620
- _ref$uniqueSubmission = _ref.uniqueSubmissionEnabled,
621
- uniqueSubmissionEnabled = _ref$uniqueSubmission === void 0 ? false : _ref$uniqueSubmission,
622
- _ref$uniqueSubmission2 = _ref.uniqueSubmissionLink,
623
- uniqueSubmissionLink = _ref$uniqueSubmission2 === void 0 ? "" : _ref$uniqueSubmission2,
624
651
  resubmitLink = _ref.resubmitLink,
625
652
  redirectToOnCancel = _ref.redirectToOnCancel,
653
+ _ref$socialHandles = _ref.socialHandles,
654
+ socialHandles = _ref$socialHandles === void 0 ? [] : _ref$socialHandles,
655
+ _ref$uniqueSubmission = _ref.uniqueSubmissionLink,
656
+ uniqueSubmissionLink = _ref$uniqueSubmission === void 0 ? "" : _ref$uniqueSubmission,
657
+ _ref$uniqueSubmission2 = _ref.uniqueSubmissionEnabled,
658
+ uniqueSubmissionEnabled = _ref$uniqueSubmission2 === void 0 ? false : _ref$uniqueSubmission2,
659
+ _ref$hasImageUploader = _ref.hasImageUploader,
660
+ hasImageUploader = _ref$hasImageUploader === void 0 ? false : _ref$hasImageUploader,
661
+ _ref$disableSubmitAno = _ref.disableSubmitAnotherResponse,
662
+ disableSubmitAnotherResponse = _ref$disableSubmitAno === void 0 ? false : _ref$disableSubmitAno,
663
+ _ref$disableRadioSele = _ref.disableRadioSelection,
664
+ disableRadioSelection = _ref$disableRadioSele === void 0 ? false : _ref$disableRadioSele,
626
665
  _ref$thankYouTextAlig = _ref.thankYouTextAlignment,
627
- thankYouTextAlignment = _ref$thankYouTextAlig === void 0 ? THANK_YOU_TEXT_ALIGNMENTS.center : _ref$thankYouTextAlig;
628
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Header, {
666
+ thankYouTextAlignment = _ref$thankYouTextAlig === void 0 ? THANK_YOU_TEXT_ALIGNMENTS.center : _ref$thankYouTextAlig,
667
+ customHeader = _ref.customHeader,
668
+ appName = _ref.appName;
669
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, customHeader || /*#__PURE__*/React__default.createElement(Header, {
629
670
  breadcrumbs: breadcrumbs
630
671
  }), /*#__PURE__*/React__default.createElement(Scrollable, {
631
672
  className: "w-full p-6 pt-0"
632
673
  }, /*#__PURE__*/React__default.createElement("div", {
633
674
  className: "mx-auto h-full max-w-7xl"
634
675
  }, /*#__PURE__*/React__default.createElement(Form, {
676
+ appName: appName,
677
+ disableRadioSelection: disableRadioSelection,
678
+ disableSubmitAnotherResponse: disableSubmitAnotherResponse,
635
679
  entityId: entityId,
636
680
  hasImageUploader: hasImageUploader,
637
681
  isPublished: isPublished,
@@ -703,14 +747,12 @@ var ShowThankYou = function ShowThankYou(_ref) {
703
747
  className: "neeto-thank-you-configuration__main"
704
748
  }, /*#__PURE__*/React__default.createElement("div", {
705
749
  className: "neeto-thank-you-configuration__box"
706
- }, !isEmpty(thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.imageUrl) ? /*#__PURE__*/React__default.createElement("div", {
750
+ }, !isEmpty(thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.imageUrl) && /*#__PURE__*/React__default.createElement("div", {
707
751
  className: "neeto-thank-you-configuration__img"
708
752
  }, /*#__PURE__*/React__default.createElement("img", {
709
753
  alt: "",
710
754
  src: thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.imageUrl
711
- })) : /*#__PURE__*/React__default.createElement("div", {
712
- className: "neeto-thank-you-configuration__default-img-wrap"
713
- }, "\uD83C\uDF89"), (thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.message) && /*#__PURE__*/React__default.createElement("div", {
755
+ })), (thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.message) && /*#__PURE__*/React__default.createElement("div", {
714
756
  className: "neeto-thank-you-configuration__description"
715
757
  }, /*#__PURE__*/React__default.createElement(EditorContent, {
716
758
  content: thankYouConfiguration.message