@bigbinary/neeto-thank-you-frontend 1.0.10 → 1.0.12
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.cjs.js +5 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +6 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { isEditorEmpty, FormikEditor, EditorContent } from '@bigbinary/neeto-edi
|
|
|
7
7
|
import * as yup from 'yup';
|
|
8
8
|
import classNames from 'classnames';
|
|
9
9
|
import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
10
|
-
import { Button, Toastr, Typography, Modal } from '@bigbinary/neetoui';
|
|
10
|
+
import { Button, Toastr, Typography, Modal, Label as Label$1 } from '@bigbinary/neetoui';
|
|
11
11
|
import { Switch, Input, Form as Form$1, Radio } from '@bigbinary/neetoui/formik';
|
|
12
12
|
import { useQuery, useQueryClient, useMutation } from 'react-query';
|
|
13
13
|
import axios from 'axios';
|
|
@@ -10757,15 +10757,10 @@ var Customize = function Customize(_ref) {
|
|
|
10757
10757
|
className: "flex flex-col gap-4"
|
|
10758
10758
|
}, hasImageUploader && /*#__PURE__*/React__default.createElement("div", {
|
|
10759
10759
|
className: "flex flex-col gap-2"
|
|
10760
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
10761
|
-
style: "body1",
|
|
10762
|
-
weight: "semibold"
|
|
10763
|
-
}, t("thankYou.imageLabel")), /*#__PURE__*/React__default.createElement(Image, null)), /*#__PURE__*/React__default.createElement("div", {
|
|
10760
|
+
}, /*#__PURE__*/React__default.createElement(Label$1, null, t("thankYou.imageLabel")), /*#__PURE__*/React__default.createElement(Image, null)), /*#__PURE__*/React__default.createElement("div", {
|
|
10764
10761
|
className: "flex flex-col gap-2"
|
|
10765
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
10766
|
-
|
|
10767
|
-
weight: "semibold"
|
|
10768
|
-
}, t("thankYou.messageLabel")), /*#__PURE__*/React__default.createElement(FormikEditor, {
|
|
10762
|
+
}, /*#__PURE__*/React__default.createElement(FormikEditor, {
|
|
10763
|
+
label: t("thankYou.messageLabel"),
|
|
10769
10764
|
required: true,
|
|
10770
10765
|
name: "message",
|
|
10771
10766
|
ref: editorRef
|
|
@@ -10781,6 +10776,7 @@ var Customize = function Customize(_ref) {
|
|
|
10781
10776
|
onChange: handleResubmitLinkChange
|
|
10782
10777
|
}), values.showResubmitLink && /*#__PURE__*/React__default.createElement(Input, {
|
|
10783
10778
|
label: t("thankYou.resubmitLinkText"),
|
|
10779
|
+
required: true,
|
|
10784
10780
|
name: "resubmitLinkText"
|
|
10785
10781
|
}), /*#__PURE__*/React__default.createElement(ResubmissionWarningModal, {
|
|
10786
10782
|
isOpen: isUniqueSubmissionWarningModalOpen,
|
|
@@ -10919,6 +10915,7 @@ var ExternalLink = function ExternalLink() {
|
|
|
10919
10915
|
autoFocus: true,
|
|
10920
10916
|
label: t("thankYou.link"),
|
|
10921
10917
|
name: "redirectUrl",
|
|
10918
|
+
required: true,
|
|
10922
10919
|
placeholder: EXTERNAL_URL_PREFIX,
|
|
10923
10920
|
prefix: /*#__PURE__*/React__default.createElement(Link, null)
|
|
10924
10921
|
});
|