@bigbinary/neeto-thank-you-frontend 1.2.0-beta1 → 1.2.0-beta2

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.
Files changed (61) hide show
  1. package/README.md +33 -16
  2. package/dist/BrandingInfo-da0b773a.js +32 -0
  3. package/dist/BrandingInfo-da0b773a.js.map +1 -0
  4. package/dist/ConfigureThankYou.js +534 -0
  5. package/dist/ConfigureThankYou.js.map +1 -0
  6. package/dist/ShowThankYou.js +85 -0
  7. package/dist/ShowThankYou.js.map +1 -0
  8. package/dist/SocialShare-d2986d0d.js +40 -0
  9. package/dist/SocialShare-d2986d0d.js.map +1 -0
  10. package/dist/cjs/BrandingInfo-cdb9a379.js +38 -0
  11. package/dist/cjs/BrandingInfo-cdb9a379.js.map +1 -0
  12. package/dist/cjs/ConfigureThankYou.js +573 -0
  13. package/dist/cjs/ConfigureThankYou.js.map +1 -0
  14. package/dist/cjs/ShowThankYou.js +93 -0
  15. package/dist/cjs/ShowThankYou.js.map +1 -0
  16. package/dist/cjs/SocialShare-99170cdb.js +47 -0
  17. package/dist/cjs/SocialShare-99170cdb.js.map +1 -0
  18. package/dist/cjs/commons.js +42 -0
  19. package/dist/cjs/commons.js.map +1 -0
  20. package/dist/cjs/constants.js +19 -0
  21. package/dist/cjs/constants.js.map +1 -0
  22. package/dist/cjs/index.js +52 -0
  23. package/dist/cjs/index.js.map +1 -0
  24. package/dist/cjs/query-95d5312e.js +12 -0
  25. package/dist/cjs/query-95d5312e.js.map +1 -0
  26. package/dist/cjs/useShowThankYouConfiguration.js +12 -0
  27. package/dist/cjs/useShowThankYouConfiguration.js.map +1 -0
  28. package/dist/cjs/useShowThankYouPage.js +11 -0
  29. package/dist/cjs/useShowThankYouPage.js.map +1 -0
  30. package/dist/cjs/useThankYouConfigurationApi-db054fb2.js +58 -0
  31. package/dist/cjs/useThankYouConfigurationApi-db054fb2.js.map +1 -0
  32. package/dist/cjs/useThankYouPageApi-b6b47745.js +43 -0
  33. package/dist/cjs/useThankYouPageApi-b6b47745.js.map +1 -0
  34. package/dist/cjs/utils.js +16 -0
  35. package/dist/cjs/utils.js.map +1 -0
  36. package/dist/commons.js +33 -0
  37. package/dist/commons.js.map +1 -0
  38. package/dist/constants.js +13 -0
  39. package/dist/constants.js.map +1 -0
  40. package/dist/index.js +41 -877
  41. package/dist/index.js.map +1 -1
  42. package/dist/query-ab526f47.js +9 -0
  43. package/dist/query-ab526f47.js.map +1 -0
  44. package/dist/useShowThankYouConfiguration.js +7 -0
  45. package/dist/useShowThankYouConfiguration.js.map +1 -0
  46. package/dist/useShowThankYouPage.js +6 -0
  47. package/dist/useShowThankYouPage.js.map +1 -0
  48. package/dist/useThankYouConfigurationApi-e6a0b741.js +51 -0
  49. package/dist/useThankYouConfigurationApi-e6a0b741.js.map +1 -0
  50. package/dist/useThankYouPageApi-1ac56883.js +37 -0
  51. package/dist/useThankYouPageApi-1ac56883.js.map +1 -0
  52. package/dist/utils.js +12 -0
  53. package/dist/utils.js.map +1 -0
  54. package/package.json +18 -10
  55. package/types/ConfigureThankYou.d.ts +49 -0
  56. package/types/ShowThankYou.d.ts +28 -0
  57. package/types/useShowThankYouConfiguration.d.ts +8 -0
  58. package/types/useShowThankYouPage.d.ts +17 -0
  59. package/types.d.ts +4 -78
  60. package/dist/index.cjs.js +0 -924
  61. package/dist/index.cjs.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,879 +1,43 @@
1
- import * as React from 'react';
2
- import React__default, { useState, useEffect, useRef } from 'react';
3
- import { hyphenate, noop } from '@bigbinary/neeto-cist';
4
- import Scrollable from '@bigbinary/neeto-molecules/Scrollable';
5
- import { t as t$1 } from 'i18next';
6
- import classNames from 'classnames';
7
- import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
8
- import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
9
- import BlockNavigation from '@bigbinary/neetoui/formik/BlockNavigation';
10
- import NeetoUIForm from '@bigbinary/neetoui/formik/Form';
11
- import Radio from '@bigbinary/neetoui/formik/Radio';
12
- import { isEmpty } from 'ramda';
13
- import { useQuery } from '@tanstack/react-query';
14
- import { useMutationWithInvalidation, withT } from '@bigbinary/neeto-commons-frontend/react-utils';
15
- import axios from 'axios';
16
- import { useFormikContext } from 'formik';
17
- import { FormikEditor, EditorContent, isEditorEmpty } from '@bigbinary/neeto-editor';
18
- import Label$1 from '@bigbinary/neetoui/Label';
19
- import Input from '@bigbinary/neetoui/formik/Input';
20
- import Switch from '@bigbinary/neetoui/formik/Switch';
21
- import { useTranslation, Trans } from 'react-i18next';
22
- import { ImageUploader } from '@bigbinary/neeto-image-uploader-frontend';
23
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
24
- import Button from '@bigbinary/neetoui/Button';
25
- import Typography from '@bigbinary/neetoui/Typography';
26
- import Modal from '@bigbinary/neetoui/Modal';
27
- import { buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
28
- import { globalProps } from '@bigbinary/neeto-commons-frontend/initializers';
29
- import { Link } from '@bigbinary/neeto-icons';
30
- import * as yup from 'yup';
31
- import NeetoUIHeader from '@bigbinary/neeto-molecules/Header';
32
-
33
- var FORM_OPTIONS = {
34
- customize: {
35
- label: t$1("neetoThankYou.thankYou.customize"),
36
- description: t$1("neetoThankYou.thankYou.customizeDescription"),
37
- kind: "custom_message"
38
- },
39
- externalLink: {
40
- label: t$1("neetoThankYou.thankYou.externalLink"),
41
- description: t$1("neetoThankYou.thankYou.externalLinkDescription"),
42
- kind: "redirect_to_url"
43
- }
44
- };
45
- var DEFAULT_IMAGE_PROPERTIES = {
46
- imageSignedId: null,
47
- imageUrl: ""
48
- };
49
- var EXTERNAL_URL_PREFIX = "https://";
50
- var THANK_YOU_TEXT_ALIGNMENTS = {
51
- left: "left",
52
- center: "center"
53
- };
54
-
55
- function _typeof(o) {
56
- "@babel/helpers - typeof";
57
-
58
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
59
- return typeof o;
60
- } : function (o) {
61
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
62
- }, _typeof(o);
63
- }
64
-
65
- function _toPrimitive(input, hint) {
66
- if (_typeof(input) !== "object" || input === null) return input;
67
- var prim = input[Symbol.toPrimitive];
68
- if (prim !== undefined) {
69
- var res = prim.call(input, hint || "default");
70
- if (_typeof(res) !== "object") return res;
71
- throw new TypeError("@@toPrimitive must return a primitive value.");
72
- }
73
- return (hint === "string" ? String : Number)(input);
74
- }
75
-
76
- function _toPropertyKey(arg) {
77
- var key = _toPrimitive(arg, "string");
78
- return _typeof(key) === "symbol" ? key : String(key);
79
- }
80
-
81
- function _defineProperty(obj, key, value) {
82
- key = _toPropertyKey(key);
83
- if (key in obj) {
84
- Object.defineProperty(obj, key, {
85
- value: value,
86
- enumerable: true,
87
- configurable: true,
88
- writable: true
89
- });
90
- } else {
91
- obj[key] = value;
92
- }
93
- return obj;
94
- }
95
-
96
- var THANK_YOU_ENGINE_BASE_URL = "/neeto_thank_you_engine";
97
-
98
- var baseUrl$1 = "".concat(THANK_YOU_ENGINE_BASE_URL, "/thank_you_configuration");
99
- var show$1 = function show(entityId) {
100
- return axios.get(baseUrl$1, {
101
- params: {
102
- entityId: entityId
103
- }
104
- });
105
- };
106
- var update = function update(_ref) {
107
- var entityId = _ref.entityId,
108
- payload = _ref.payload;
109
- return axios.put(baseUrl$1, {
110
- entityId: entityId,
111
- thankYouConfiguration: payload
112
- });
113
- };
114
- var thankYouConfigurationApi = {
115
- show: show$1,
116
- update: update
117
- };
118
-
119
- var QUERY_KEYS = {
120
- THANK_YOU_CONFIGURATION: "thank-you-configuration",
121
- THANK_YOU_PAGE: "thank-you-page"
122
- };
123
-
124
- function ownKeys$3(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; }
125
- function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
126
- var useShowThankYouConfiguration = function useShowThankYouConfiguration(_ref) {
127
- var entityId = _ref.entityId;
128
- return useQuery({
129
- queryKey: [QUERY_KEYS.THANK_YOU_CONFIGURATION, entityId],
130
- queryFn: function queryFn() {
131
- return thankYouConfigurationApi.show(entityId);
132
- }
133
- });
134
- };
135
- var useUpdateThankYouConfiguration = function useUpdateThankYouConfiguration(options) {
136
- return useMutationWithInvalidation(function (_ref2) {
137
- var entityId = _ref2.entityId,
138
- payload = _ref2.payload;
139
- return thankYouConfigurationApi.update({
140
- entityId: entityId,
141
- payload: payload
142
- });
143
- }, _objectSpread$3({
144
- keysToInvalidate: [QUERY_KEYS.THANK_YOU_CONFIGURATION]
145
- }, options));
146
- };
147
-
148
- function _arrayWithHoles(arr) {
149
- if (Array.isArray(arr)) return arr;
150
- }
151
-
152
- function _iterableToArrayLimit(r, l) {
153
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
154
- if (null != t) {
155
- var e,
156
- n,
157
- i,
158
- u,
159
- a = [],
160
- f = !0,
161
- o = !1;
162
- try {
163
- if (i = (t = t.call(r)).next, 0 === l) {
164
- if (Object(t) !== t) return;
165
- f = !1;
166
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
167
- } catch (r) {
168
- o = !0, n = r;
169
- } finally {
170
- try {
171
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
172
- } finally {
173
- if (o) throw n;
174
- }
175
- }
176
- return a;
177
- }
178
- }
179
-
180
- function _arrayLikeToArray(arr, len) {
181
- if (len == null || len > arr.length) len = arr.length;
182
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
183
- return arr2;
184
- }
185
-
186
- function _unsupportedIterableToArray(o, minLen) {
187
- if (!o) return;
188
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
189
- var n = Object.prototype.toString.call(o).slice(8, -1);
190
- if (n === "Object" && o.constructor) n = o.constructor.name;
191
- if (n === "Map" || n === "Set") return Array.from(o);
192
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
193
- }
194
-
195
- function _nonIterableRest() {
196
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
197
- }
198
-
199
- function _slicedToArray(arr, i) {
200
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
201
- }
202
-
203
- var IMAGE_SIZE_LIMIT = 1; // MB
204
- var IMAGE_UPLOADER_CONFIG = {
205
- maxImageSize: IMAGE_SIZE_LIMIT
206
- };
207
-
208
- var Image = function Image() {
209
- var _useFormikContext = useFormikContext(),
210
- setFieldValue = _useFormikContext.setFieldValue,
211
- values = _useFormikContext.values;
212
- var handleImageChange = function handleImageChange(image) {
213
- if (isEmpty(image.signedId)) {
214
- setFieldValue("imageUrl", "");
215
- setFieldValue("imageSignedId", null);
216
- return;
217
- }
218
- setFieldValue("imageUrl", image.url);
219
- setFieldValue("imageSignedId", image.signedId);
220
- };
221
- return /*#__PURE__*/jsx(ImageUploader, {
222
- className: "h-60",
223
- src: values.imageUrl,
224
- uploadConfig: IMAGE_UPLOADER_CONFIG,
225
- onUploadComplete: handleImageChange
226
- }, values.imageUrl);
227
- };
228
-
229
- var ResubmissionWarningModal = withT(function (_ref) {
230
- var t = _ref.t,
231
- isOpen = _ref.isOpen,
232
- setIsOpen = _ref.setIsOpen,
233
- uniqueSubmissionLink = _ref.uniqueSubmissionLink;
234
- return /*#__PURE__*/jsxs(Modal, {
235
- isOpen: isOpen,
236
- onClose: function onClose() {
237
- return setIsOpen(false);
238
- },
239
- children: [/*#__PURE__*/jsx(Modal.Header, {
240
- children: /*#__PURE__*/jsxs(Typography, {
241
- style: "h3",
242
- weight: "semibold",
243
- children: [t("neetoThankYou.common.alert"), "!"]
244
- })
245
- }), /*#__PURE__*/jsx(Modal.Body, {
246
- children: t("neetoThankYou.thankYou.resubmissionWarning")
247
- }), /*#__PURE__*/jsxs(Modal.Footer, {
248
- className: "space-x-2",
249
- children: [/*#__PURE__*/jsx(Button, {
250
- label: t("neetoThankYou.common.ok"),
251
- style: "tertiary",
252
- onClick: function onClick() {
253
- return setIsOpen(false);
254
- }
255
- }), /*#__PURE__*/jsx(Button, {
256
- label: t("neetoThankYou.thankYou.uniqueSubmissionLinkText"),
257
- to: uniqueSubmissionLink
258
- })]
259
- })]
260
- });
261
- });
262
-
263
- function ownKeys$2(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; }
264
- function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
265
- var Customize = function Customize(_ref) {
266
- var editorRef = _ref.editorRef,
267
- uniqueSubmissionEnabled = _ref.uniqueSubmissionEnabled,
268
- hasImageUploader = _ref.hasImageUploader,
269
- uniqueSubmissionLink = _ref.uniqueSubmissionLink,
270
- entityId = _ref.entityId,
271
- disableSocialShare = _ref.disableSocialShare,
272
- disableSubmitAnotherResponse = _ref.disableSubmitAnotherResponse,
273
- editorProps = _ref.editorProps;
274
- var _useState = useState(false),
275
- _useState2 = _slicedToArray(_useState, 2),
276
- isUniqueSubmissionWarningModalOpen = _useState2[0],
277
- setIsUniqueSubmissionWarningModalOpen = _useState2[1];
278
- var _useTranslation = useTranslation(),
279
- t = _useTranslation.t;
280
- var _useFormikContext = useFormikContext(),
281
- values = _useFormikContext.values,
282
- setFieldValue = _useFormikContext.setFieldValue;
283
- var _useShowThankYouConfi = useShowThankYouConfiguration({
284
- entityId: entityId
285
- }),
286
- _useShowThankYouConfi2 = _useShowThankYouConfi.data,
287
- _useShowThankYouConfi3 = _useShowThankYouConfi2 === void 0 ? {} : _useShowThankYouConfi2,
288
- thankYouConfiguration = _useShowThankYouConfi3.thankYouConfiguration,
289
- isFetching = _useShowThankYouConfi.isFetching;
290
- useEffect(function () {
291
- var _editorRef$current$ed;
292
- if (isFetching) return;
293
- setFieldValue("message", thankYouConfiguration.message);
294
- (_editorRef$current$ed = editorRef.current.editor) === null || _editorRef$current$ed === void 0 || _editorRef$current$ed.commands.setContent(thankYouConfiguration.message);
295
- }, [isFetching]);
296
- var handleResubmitLinkChange = function handleResubmitLinkChange(event) {
297
- uniqueSubmissionEnabled ? setIsUniqueSubmissionWarningModalOpen(true) : setFieldValue("showResubmitLink", event.target.checked);
298
- };
299
- return /*#__PURE__*/jsxs("div", {
300
- className: "flex flex-col gap-4",
301
- children: [hasImageUploader && /*#__PURE__*/jsxs("div", {
302
- className: "flex flex-col gap-2",
303
- children: [/*#__PURE__*/jsx(Label$1, {
304
- children: t("neetoThankYou.thankYou.imageLabel")
305
- }), /*#__PURE__*/jsx(Image, {})]
306
- }), /*#__PURE__*/jsx("div", {
307
- className: "flex flex-col gap-2",
308
- children: /*#__PURE__*/jsx(FormikEditor, _objectSpread$2({
309
- required: true,
310
- "data-cy": "thank-you-message-editor",
311
- label: t("neetoThankYou.thankYou.messageLabel"),
312
- name: "message",
313
- ref: editorRef
314
- }, editorProps))
315
- }), !disableSocialShare && /*#__PURE__*/jsx(Switch, {
316
- label: t("neetoThankYou.thankYou.socialShareIcons"),
317
- name: "socialSharingEnabled"
318
- }), !disableSubmitAnotherResponse && /*#__PURE__*/jsxs(Fragment, {
319
- children: [/*#__PURE__*/jsx(Switch, {
320
- label: t("neetoThankYou.thankYou.showResubmitLink"),
321
- name: "showResubmitLink",
322
- className: classNames({
323
- "neeto-ui-switch--disabled": uniqueSubmissionEnabled
324
- }),
325
- onChange: handleResubmitLinkChange
326
- }), values.showResubmitLink && /*#__PURE__*/jsx(Input, {
327
- required: true,
328
- label: t("neetoThankYou.thankYou.resubmitLinkText"),
329
- name: "resubmitLinkText"
330
- })]
331
- }), /*#__PURE__*/jsx(ResubmissionWarningModal, {
332
- uniqueSubmissionLink: uniqueSubmissionLink,
333
- isOpen: isUniqueSubmissionWarningModalOpen,
334
- setIsOpen: setIsUniqueSubmissionWarningModalOpen
335
- })]
336
- });
337
- };
338
-
339
- var ENVIRONMENTS = {
340
- development: "development",
341
- staging: "staging",
342
- production: "production",
343
- heroku: "heroku"
344
- };
345
- var IS_PRODUCTION_ENV = globalProps.railsEnv === ENVIRONMENTS.production;
346
- var TLD = IS_PRODUCTION_ENV ? "com" : "net";
347
-
348
- var getNeetoAuthRoute = function getNeetoAuthRoute(topLevelDomain) {
349
- return "https://app.neetoauth.".concat(topLevelDomain, "/signups/new");
350
- };
351
- var getRedirectUri = function getRedirectUri(appName) {
352
- return "".concat(appName.toLowerCase(), ".").concat(TLD);
353
- };
354
- var buildSignUpUrl = function buildSignUpUrl(appName) {
355
- return buildUrl(getNeetoAuthRoute(TLD), {
356
- redirectUri: getRedirectUri(appName)
357
- });
358
- };
359
-
360
- 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; }
361
- 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; }
362
- var BrandingInfo = function BrandingInfo(_ref) {
363
- var _brandingInfo$additio;
364
- var brandingInfo = _ref.brandingInfo,
365
- appName = _ref.appName;
366
- return /*#__PURE__*/jsx("div", {
367
- className: "neeto-thank-you-configuration__branding-wrap",
368
- children: /*#__PURE__*/jsx("div", {
369
- className: "neeto-thank-you-configuration__nav",
370
- children: /*#__PURE__*/jsx("div", {
371
- className: "neeto-thank-you-configuration__nav-footer",
372
- children: /*#__PURE__*/jsx(Trans, {
373
- i18nKey: brandingInfo.displayText,
374
- components: _objectSpread$1({
375
- signUpLink: /*#__PURE__*/jsx("a", {
376
- className: "neeto-thank-you-configuration__link",
377
- href: buildSignUpUrl(appName),
378
- rel: "noreferrer",
379
- target: "_blank"
380
- }),
381
- span: /*#__PURE__*/jsx("span", {})
382
- }, (_brandingInfo$additio = brandingInfo.additionalComponents) !== null && _brandingInfo$additio !== void 0 ? _brandingInfo$additio : {})
383
- })
384
- })
385
- })
386
- });
387
- };
388
-
389
- var _ellipse, _ellipse2, _ellipse3;
390
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
391
- const SvgBrowserControls = props => /*#__PURE__*/React.createElement("svg", _extends({
392
- xmlns: "http://www.w3.org/2000/svg",
393
- width: 43,
394
- height: 13,
395
- fill: "none"
396
- }, props), _ellipse || (_ellipse = /*#__PURE__*/React.createElement("ellipse", {
397
- cx: 6.405,
398
- cy: 6.644,
399
- fill: "#FFEFED",
400
- rx: 5.745,
401
- ry: 5.859
402
- })), _ellipse2 || (_ellipse2 = /*#__PURE__*/React.createElement("ellipse", {
403
- cx: 37.044,
404
- cy: 6.644,
405
- fill: "#98F3F4",
406
- rx: 5.745,
407
- ry: 5.859
408
- })), _ellipse3 || (_ellipse3 = /*#__PURE__*/React.createElement("ellipse", {
409
- cx: 21.725,
410
- cy: 6.644,
411
- fill: "#FFF2D7",
412
- rx: 5.745,
413
- ry: 5.859
414
- })));
415
-
416
- var SocialShare = function SocialShare(_ref) {
417
- var socialHandles = _ref.socialHandles,
418
- publicLinkId = _ref.publicLinkId;
419
- var _useTranslation = useTranslation(),
420
- t = _useTranslation.t;
421
- return /*#__PURE__*/jsxs("div", {
422
- className: "neeto-thank-you-configuration__social-share",
423
- children: [/*#__PURE__*/jsx("h3", {
424
- className: "neeto-thank-you-configuration__social-share-title",
425
- children: t("neetoThankYou.thankYou.socialShareHeading")
426
- }), /*#__PURE__*/jsx("div", {
427
- className: "neeto-thank-you-configuration-social-follow",
428
- children: socialHandles === null || socialHandles === void 0 ? void 0 : socialHandles.map(function (data, idx) {
429
- var Icon = data.icon,
430
- generateShareUrl = data.generateShareUrl;
431
- return /*#__PURE__*/jsx("div", {
432
- className: "neeto-thank-you-configuration-social-follow__item",
433
- children: /*#__PURE__*/jsx("a", {
434
- href: generateShareUrl(publicLinkId),
435
- rel: "noreferrer",
436
- target: "_blank",
437
- children: /*#__PURE__*/jsx(Icon, {})
438
- })
439
- }, idx);
440
- })
441
- })]
442
- });
443
- };
444
-
445
- var MemoizedEditorContent = /*#__PURE__*/React__default.memo(EditorContent);
446
- var Preview = function Preview(_ref) {
447
- var _values$resubmitLinkT;
448
- var socialHandles = _ref.socialHandles,
449
- thankYouTextAlignment = _ref.thankYouTextAlignment,
450
- resubmitLink = _ref.resubmitLink,
451
- publicLinkId = _ref.publicLinkId,
452
- isPublished = _ref.isPublished,
453
- appName = _ref.appName,
454
- brandingInfo = _ref.brandingInfo;
455
- var _useFormikContext = useFormikContext(),
456
- values = _useFormikContext.values;
457
- var _useTranslation = useTranslation(),
458
- t = _useTranslation.t;
459
- return /*#__PURE__*/jsxs("div", {
460
- className: "flex flex-col",
461
- children: [/*#__PURE__*/jsx(Typography, {
462
- className: "mb-3 block md:hidden",
463
- lineHeight: "normal",
464
- style: "h3",
465
- weight: "semibold",
466
- children: t("neetoThankYou.thankYou.preview")
467
- }), /*#__PURE__*/jsxs("div", {
468
- className: classNames("neeto-thank-you-configuration-preview", {
469
- "neeto-thank-you-configuration-alignment--left": thankYouTextAlignment === THANK_YOU_TEXT_ALIGNMENTS.left,
470
- "neeto-thank-you-configuration-alignment--center": thankYouTextAlignment === THANK_YOU_TEXT_ALIGNMENTS.center,
471
- "pointer-events-none": !isPublished
472
- }),
473
- children: [/*#__PURE__*/jsx("div", {
474
- className: "neeto-thank-you-configuration-preview__browser-header",
475
- children: /*#__PURE__*/jsx(SvgBrowserControls, {})
476
- }), /*#__PURE__*/jsx("div", {
477
- className: "neeto-thank-you-configuration",
478
- children: /*#__PURE__*/jsx("main", {
479
- className: "neeto-thank-you-configuration__main",
480
- children: /*#__PURE__*/jsxs("div", {
481
- className: "neeto-thank-you-configuration__box",
482
- children: [!isEmpty(values === null || values === void 0 ? void 0 : values.imageUrl) && /*#__PURE__*/jsx("div", {
483
- className: "neeto-thank-you-configuration__img",
484
- children: /*#__PURE__*/jsx("img", {
485
- alt: "",
486
- src: values.imageUrl
487
- })
488
- }), (values === null || values === void 0 ? void 0 : values.message) && /*#__PURE__*/jsx("div", {
489
- className: "neeto-thank-you-configuration__description",
490
- children: /*#__PURE__*/jsx(MemoizedEditorContent, {
491
- content: values.message,
492
- "data-cy": "preview-editor-content"
493
- })
494
- }), (values === null || values === void 0 ? void 0 : values.showResubmitLink) && /*#__PURE__*/jsx("a", {
495
- className: "neeto-thank-you-configuration__resubmit",
496
- href: resubmitLink,
497
- children: (_values$resubmitLinkT = values === null || values === void 0 ? void 0 : values.resubmitLinkText) !== null && _values$resubmitLinkT !== void 0 ? _values$resubmitLinkT : t("neetoThankYou.thankYou.resubmit")
498
- }), (values === null || values === void 0 ? void 0 : values.socialSharingEnabled) && /*#__PURE__*/jsx(SocialShare, {
499
- publicLinkId: publicLinkId,
500
- socialHandles: socialHandles
501
- })]
502
- })
503
- })
504
- }), (values === null || values === void 0 ? void 0 : values.brandingEnabled) && /*#__PURE__*/jsx(BrandingInfo, {
505
- appName: appName,
506
- brandingInfo: brandingInfo
507
- })]
508
- })]
509
- });
510
- };
511
-
512
- var ExternalLink = function ExternalLink() {
513
- var _useTranslation = useTranslation(),
514
- t = _useTranslation.t;
515
- return /*#__PURE__*/jsx(Input, {
516
- autoFocus: true,
517
- required: true,
518
- label: t("neetoThankYou.thankYou.link"),
519
- name: "redirectUrl",
520
- placeholder: EXTERNAL_URL_PREFIX,
521
- prefix: /*#__PURE__*/jsx(Link, {})
522
- });
523
- };
524
-
525
- var Label = function Label(_ref) {
526
- var label = _ref.label,
527
- description = _ref.description,
528
- kind = _ref.kind;
529
- return /*#__PURE__*/jsxs(Typography, {
530
- className: "neeto-ui-text-gray-700",
531
- "data-cy": "neeto-thank-you-configuration-".concat(hyphenate(kind), "-label"),
532
- style: "body2",
533
- weight: "semibold",
534
- children: [label, /*#__PURE__*/jsx("span", {
535
- className: "block text-xs font-normal leading-snug",
536
- "data-cy": "neeto-thank-you-configuration-".concat(hyphenate(kind), "-description"),
537
- children: description
538
- })]
539
- });
540
- };
541
-
542
- var buildValidationSchema = function buildValidationSchema() {
543
- var allowEmptyCustomMessage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
544
- return yup.object().shape({
545
- kind: yup.string().required(),
546
- message: yup.string().test("message", t$1("neetoThankYou.thankYou.validations.messageRequired"), function (value) {
547
- return allowEmptyCustomMessage || !isEditorEmpty(value);
548
- }),
549
- socialSharingEnabled: yup.bool(),
550
- showResubmitLink: yup.bool(),
551
- resubmitLinkText: yup.string().when("showResubmitLink", {
552
- is: true,
553
- then: yup.string().required(t$1("neetoThankYou.thankYou.validations.resubmitLinkTextIsRequired"))
554
- }),
555
- redirectUrl: yup.string().when("kind", {
556
- is: FORM_OPTIONS.externalLink.kind,
557
- then: yup.string().url(t$1("neetoThankYou.thankYou.validations.invalidLink")).required(t$1("neetoThankYou.thankYou.validations.invalidLink")).when("kind", {
558
- is: FORM_OPTIONS.customize.kind,
559
- then: yup.string()
560
- })
561
- })
562
- });
563
- };
564
-
565
- 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; }
566
- 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; }
567
- var Form = function Form(_ref) {
568
- var socialHandles = _ref.socialHandles,
569
- entityId = _ref.entityId,
570
- publicLinkId = _ref.publicLinkId,
571
- hasImageUploader = _ref.hasImageUploader,
572
- uniqueSubmissionEnabled = _ref.uniqueSubmissionEnabled,
573
- uniqueSubmissionLink = _ref.uniqueSubmissionLink,
574
- redirectToOnCancel = _ref.redirectToOnCancel,
575
- thankYouTextAlignment = _ref.thankYouTextAlignment,
576
- resubmitLink = _ref.resubmitLink,
577
- isPublished = _ref.isPublished,
578
- disableSubmitAnotherResponse = _ref.disableSubmitAnotherResponse,
579
- disableRadioSelection = _ref.disableRadioSelection,
580
- appName = _ref.appName,
581
- blockNavigation = _ref.blockNavigation,
582
- onConfigUpdateSuccess = _ref.onConfigUpdateSuccess,
583
- brandingInfo = _ref.brandingInfo,
584
- editorProps = _ref.editorProps,
585
- CustomPreview = _ref.preview,
586
- allowEmptyCustomMessage = _ref.allowEmptyCustomMessage;
587
- var _useShowThankYouConfi = useShowThankYouConfiguration({
588
- entityId: entityId
589
- }),
590
- _useShowThankYouConfi2 = _useShowThankYouConfi.data,
591
- _useShowThankYouConfi3 = _useShowThankYouConfi2 === void 0 ? {} : _useShowThankYouConfi2,
592
- thankYouConfiguration = _useShowThankYouConfi3.thankYouConfiguration,
593
- isLoading = _useShowThankYouConfi.isLoading;
594
- var _useUpdateThankYouCon = useUpdateThankYouConfiguration(),
595
- updateThankYouConfiguration = _useUpdateThankYouCon.mutate,
596
- isUpdatingForm = _useUpdateThankYouCon.isPending;
597
- var editorRef = useRef({
598
- editor: {}
599
- });
600
- if (isLoading) {
601
- return /*#__PURE__*/jsx("div", {
602
- className: "flex h-full w-full items-center justify-center",
603
- children: /*#__PURE__*/jsx(PageLoader, {})
604
- });
605
- }
606
- var resetEditor = function resetEditor() {
607
- var _editorRef$current$ed;
608
- return (_editorRef$current$ed = editorRef.current.editor) === null || _editorRef$current$ed === void 0 ? void 0 : _editorRef$current$ed.commands.setContent(thankYouConfiguration.message);
609
- };
610
- return /*#__PURE__*/jsx(NeetoUIForm, {
611
- formikProps: {
612
- enableReinitialize: true,
613
- initialValues: _objectSpread(_objectSpread({}, DEFAULT_IMAGE_PROPERTIES), thankYouConfiguration),
614
- validationSchema: buildValidationSchema(allowEmptyCustomMessage),
615
- onSubmit: function onSubmit(values) {
616
- return updateThankYouConfiguration({
617
- entityId: entityId,
618
- payload: _objectSpread(_objectSpread({}, values), {}, {
619
- image: values.imageSignedId
620
- })
621
- }, {
622
- onSuccess: function onSuccess() {
623
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
624
- args[_key] = arguments[_key];
625
- }
626
- return onConfigUpdateSuccess(args, thankYouConfiguration);
627
- }
628
- });
629
- }
630
- },
631
- children: function children(_ref2) {
632
- var values = _ref2.values;
633
- return /*#__PURE__*/jsxs("div", {
634
- className: "grid grid-cols-1 gap-10 pb-6 md:grid-cols-2 md:gap-6",
635
- children: [/*#__PURE__*/jsxs("div", {
636
- className: "flex flex-col",
637
- children: [blockNavigation && /*#__PURE__*/jsx(BlockNavigation, {}), !disableRadioSelection && /*#__PURE__*/jsx("div", {
638
- className: "mb-6 w-full",
639
- children: /*#__PURE__*/jsx(Radio, {
640
- containerClassName: "grid grid-cols-1 sm:grid-cols-2 gap-6 items-stretch w-full",
641
- name: "kind",
642
- children: Object.values(FORM_OPTIONS).map(function (option) {
643
- return /*#__PURE__*/jsx(Radio.Item, {
644
- label: /*#__PURE__*/jsx(Label, _objectSpread({}, option)),
645
- name: "kind",
646
- value: option.kind,
647
- className: classNames("neeto-thank-you-configuration-radio__item", {
648
- active: values.kind === option.kind
649
- })
650
- }, option.kind);
651
- })
652
- })
653
- }), values.kind === FORM_OPTIONS.customize.kind ? /*#__PURE__*/jsx(Customize, {
654
- disableSubmitAnotherResponse: disableSubmitAnotherResponse,
655
- editorProps: editorProps,
656
- editorRef: editorRef,
657
- entityId: entityId,
658
- hasImageUploader: hasImageUploader,
659
- uniqueSubmissionEnabled: uniqueSubmissionEnabled,
660
- uniqueSubmissionLink: uniqueSubmissionLink,
661
- disableSocialShare: isEmpty(socialHandles)
662
- }) : /*#__PURE__*/jsx(ExternalLink, {}), /*#__PURE__*/jsx(ActionBlock, {
663
- className: "mt-6",
664
- isSubmitting: isUpdatingForm,
665
- cancelButtonProps: _objectSpread({
666
- "data-cy": "neeto-thank-you-configuration-cancel-button"
667
- }, redirectToOnCancel ? {
668
- to: redirectToOnCancel,
669
- onClick: noop
670
- } : {
671
- type: "reset",
672
- onClick: resetEditor
673
- }),
674
- submitButtonProps: {
675
- "data-cy": "neeto-thank-you-configuration-save-button"
676
- }
677
- })]
678
- }), values.kind === FORM_OPTIONS.customize.kind && (CustomPreview ? /*#__PURE__*/jsx(CustomPreview, {
679
- values: values
680
- }) : /*#__PURE__*/jsx(Preview, {
681
- appName: appName,
682
- brandingInfo: brandingInfo,
683
- isPublished: isPublished,
684
- publicLinkId: publicLinkId,
685
- resubmitLink: resubmitLink,
686
- socialHandles: socialHandles,
687
- thankYouTextAlignment: thankYouTextAlignment
688
- }))]
689
- });
690
- }
691
- });
692
- };
693
-
694
- var Header = function Header(_ref) {
695
- var breadcrumbs = _ref.breadcrumbs;
696
- var _useTranslation = useTranslation(),
697
- t = _useTranslation.t;
698
- return /*#__PURE__*/jsx("div", {
699
- className: "w-full px-6",
700
- children: /*#__PURE__*/jsx(NeetoUIHeader, {
701
- breadcrumbs: breadcrumbs,
702
- size: "small",
703
- title: t("neetoThankYou.common.thankYou")
704
- })
705
- });
706
- };
707
-
708
- var ConfigureThankYou = function ConfigureThankYou(_ref) {
709
- var breadcrumbs = _ref.breadcrumbs,
710
- isPublished = _ref.isPublished,
711
- entityId = _ref.entityId,
712
- publicLinkId = _ref.publicLinkId,
713
- resubmitLink = _ref.resubmitLink,
714
- redirectToOnCancel = _ref.redirectToOnCancel,
715
- _ref$socialHandles = _ref.socialHandles,
716
- socialHandles = _ref$socialHandles === void 0 ? [] : _ref$socialHandles,
717
- _ref$uniqueSubmission = _ref.uniqueSubmissionLink,
718
- uniqueSubmissionLink = _ref$uniqueSubmission === void 0 ? "" : _ref$uniqueSubmission,
719
- _ref$uniqueSubmission2 = _ref.uniqueSubmissionEnabled,
720
- uniqueSubmissionEnabled = _ref$uniqueSubmission2 === void 0 ? false : _ref$uniqueSubmission2,
721
- _ref$hasImageUploader = _ref.hasImageUploader,
722
- hasImageUploader = _ref$hasImageUploader === void 0 ? false : _ref$hasImageUploader,
723
- _ref$disableSubmitAno = _ref.disableSubmitAnotherResponse,
724
- disableSubmitAnotherResponse = _ref$disableSubmitAno === void 0 ? false : _ref$disableSubmitAno,
725
- _ref$disableRadioSele = _ref.disableRadioSelection,
726
- disableRadioSelection = _ref$disableRadioSele === void 0 ? false : _ref$disableRadioSele,
727
- _ref$thankYouTextAlig = _ref.thankYouTextAlignment,
728
- thankYouTextAlignment = _ref$thankYouTextAlig === void 0 ? THANK_YOU_TEXT_ALIGNMENTS.center : _ref$thankYouTextAlig,
729
- customHeader = _ref.customHeader,
730
- appName = _ref.appName,
731
- _ref$blockNavigation = _ref.blockNavigation,
732
- blockNavigation = _ref$blockNavigation === void 0 ? false : _ref$blockNavigation,
733
- _ref$onConfigUpdateSu = _ref.onConfigUpdateSuccess,
734
- onConfigUpdateSuccess = _ref$onConfigUpdateSu === void 0 ? noop : _ref$onConfigUpdateSu,
735
- brandingInfo = _ref.brandingInfo,
736
- _ref$editorProps = _ref.editorProps,
737
- editorProps = _ref$editorProps === void 0 ? {} : _ref$editorProps,
738
- preview = _ref.preview,
739
- _ref$allowEmptyCustom = _ref.allowEmptyCustomMessage,
740
- allowEmptyCustomMessage = _ref$allowEmptyCustom === void 0 ? false : _ref$allowEmptyCustom;
741
- return /*#__PURE__*/jsxs(Fragment, {
742
- children: [customHeader || /*#__PURE__*/jsx(Header, {
743
- breadcrumbs: breadcrumbs
744
- }), /*#__PURE__*/jsx(Scrollable, {
745
- className: "w-full p-6 pt-0",
746
- children: /*#__PURE__*/jsx("div", {
747
- className: "mx-auto h-full max-w-7xl",
748
- children: /*#__PURE__*/jsx(Form, {
749
- allowEmptyCustomMessage: allowEmptyCustomMessage,
750
- appName: appName,
751
- blockNavigation: blockNavigation,
752
- brandingInfo: brandingInfo,
753
- disableRadioSelection: disableRadioSelection,
754
- disableSubmitAnotherResponse: disableSubmitAnotherResponse,
755
- editorProps: editorProps,
756
- entityId: entityId,
757
- hasImageUploader: hasImageUploader,
758
- isPublished: isPublished,
759
- onConfigUpdateSuccess: onConfigUpdateSuccess,
760
- preview: preview,
761
- publicLinkId: publicLinkId,
762
- redirectToOnCancel: redirectToOnCancel,
763
- resubmitLink: resubmitLink,
764
- socialHandles: socialHandles,
765
- thankYouTextAlignment: thankYouTextAlignment,
766
- uniqueSubmissionEnabled: uniqueSubmissionEnabled,
767
- uniqueSubmissionLink: uniqueSubmissionLink
768
- })
769
- })
770
- })]
771
- });
772
- };
773
-
774
- var baseUrl = "".concat(THANK_YOU_ENGINE_BASE_URL, "/thank_you_page");
775
- var show = function show(_ref) {
776
- var entityId = _ref.entityId,
777
- isTemplateView = _ref.isTemplateView;
778
- return axios.get(baseUrl, {
779
- params: {
780
- entityId: entityId,
781
- isTemplateView: isTemplateView
782
- }
783
- });
784
- };
785
- var thankYouPageApi = {
786
- show: show
787
- };
788
-
789
- var useShowThankYouPage = function useShowThankYouPage(_ref) {
790
- var entityId = _ref.entityId,
791
- isTemplateView = _ref.isTemplateView;
792
- return useQuery({
793
- queryKey: [QUERY_KEYS.THANK_YOU_PAGE, entityId],
794
- queryFn: function queryFn() {
795
- return thankYouPageApi.show({
796
- entityId: entityId,
797
- isTemplateView: isTemplateView
798
- });
799
- }
800
- });
801
- };
802
-
803
- var buildDraftUrl = function buildDraftUrl(url) {
804
- return "".concat(url, "?draftPreview=true");
805
- };
806
-
807
- var DefaultPageLoader = function DefaultPageLoader() {
808
- return /*#__PURE__*/jsx("div", {
809
- className: "neeto-thank-you-configuration",
810
- children: /*#__PURE__*/jsx(PageLoader, {})
811
- });
812
- };
813
- var ShowThankYou = function ShowThankYou(_ref) {
814
- var _thankYouConfiguratio;
815
- var entityId = _ref.entityId,
816
- isDraftPreview = _ref.isDraftPreview,
817
- resubmitLink = _ref.resubmitLink,
818
- socialHandles = _ref.socialHandles,
819
- isThankYouPageLoading = _ref.isThankYouPageLoading,
820
- publicLinkId = _ref.publicLinkId,
821
- appName = _ref.appName,
822
- CustomPageLoader = _ref.customPageLoader,
823
- brandingInfo = _ref.brandingInfo;
824
- var _useTranslation = useTranslation(),
825
- t = _useTranslation.t;
826
- var _useShowThankYouPage = useShowThankYouPage({
827
- entityId: entityId
828
- }),
829
- _useShowThankYouPage$ = _useShowThankYouPage.data,
830
- _useShowThankYouPage$2 = _useShowThankYouPage$ === void 0 ? {} : _useShowThankYouPage$,
831
- thankYouConfiguration = _useShowThankYouPage$2.thankYouConfiguration,
832
- isLoading = _useShowThankYouPage.isLoading;
833
- var PageLoader = CustomPageLoader || DefaultPageLoader;
834
- if (isLoading && isThankYouPageLoading) {
835
- return /*#__PURE__*/jsx(PageLoader, {});
836
- }
837
- return /*#__PURE__*/jsxs("div", {
838
- className: "neeto-thank-you-configuration",
839
- children: [/*#__PURE__*/jsx("main", {
840
- className: "neeto-thank-you-configuration__main",
841
- children: /*#__PURE__*/jsxs("div", {
842
- className: "neeto-thank-you-configuration__box",
843
- children: [!isEmpty(thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.imageUrl) && /*#__PURE__*/jsx("div", {
844
- className: "neeto-thank-you-configuration__img",
845
- children: /*#__PURE__*/jsx("img", {
846
- alt: "",
847
- src: thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.imageUrl
848
- })
849
- }), (thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.message) && /*#__PURE__*/jsx("div", {
850
- className: "neeto-thank-you-configuration__description",
851
- children: /*#__PURE__*/jsx(EditorContent, {
852
- content: thankYouConfiguration.message
853
- })
854
- }), (thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.showResubmitLink) && /*#__PURE__*/jsx("a", {
855
- className: "neeto-thank-you-configuration__resubmit",
856
- href: isDraftPreview ? buildDraftUrl(resubmitLink) : resubmitLink,
857
- children: (_thankYouConfiguratio = thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.resubmitLinkText) !== null && _thankYouConfiguratio !== void 0 ? _thankYouConfiguratio : t("neetoThankYou.common.resubmit")
858
- }), (thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.socialSharingEnabled) && /*#__PURE__*/jsx(SocialShare, {
859
- publicLinkId: publicLinkId,
860
- socialHandles: socialHandles
861
- }), isDraftPreview && /*#__PURE__*/jsx(Typography, {
862
- style: "body3",
863
- children: t("neetoThankYou.thankYou.draftVersionForm")
864
- })]
865
- })
866
- }), (thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.brandingEnabled) && /*#__PURE__*/jsx(BrandingInfo, {
867
- appName: appName,
868
- brandingInfo: brandingInfo
869
- })]
870
- });
871
- };
872
-
873
- var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
874
-
875
- var css = ":root{--neeto-thank-you-editor-content-color:0,0,0;--neeto-thank-you-background-color:255,255,255;--neeto-thank-you-background-image-position:center;--neeto-thank-you-gray-100:248,249,249;--neeto-thank-you-gray-800:31,31,31}.neeto-thank-you-configuration{display:flex;flex-direction:column;height:100vh;overflow-y:hidden;position:relative}.neeto-thank-you-configuration__nav{display:flex;justify-content:center;padding:4px;width:100%}.neeto-thank-you-configuration__link{align-items:center;color:inherit;display:flex;font-weight:600;gap:.25rem;text-decoration:none}.neeto-thank-you-configuration__link:hover{opacity:.8}.neeto-thank-you-configuration__link span{border-bottom:1px solid}.neeto-thank-you-configuration__link svg{height:1rem;width:auto}.neeto-thank-you-configuration__main{align-items:center;display:flex;height:calc(100vh - 40px);justify-content:center;overflow-y:auto}.neeto-thank-you-configuration__box{margin:0 auto;max-width:100%;padding:0 15px;text-align:center;width:51.25rem}.neeto-thank-you-configuration__default-img-wrap{font-size:2.5rem;text-align:center}.neeto-thank-you-configuration-alignment--left .neeto-thank-you-configuration__box{align-items:flex-start;text-align:left}.neeto-thank-you-configuration__title{font-size:2rem;line-height:1.25;margin:.67em 0}.neeto-thank-you-configuration__img{margin-bottom:1.5rem;margin-top:2.5rem}.neeto-thank-you-configuration__img img{display:inline-block;max-height:50vh;max-width:100%;vertical-align:top}.neeto-thank-you-configuration__description{font-size:1rem;line-height:1.5;margin:0 0 2rem}.neeto-thank-you-configuration__description .neeto-editor-content h1,.neeto-thank-you-configuration__description .neeto-editor-content h2,.neeto-thank-you-configuration__description .neeto-editor-content h3{font-weight:500;line-height:1.325;margin-bottom:4px}.neeto-thank-you-configuration__description .neeto-editor-content h1{font-size:2.5rem}.neeto-thank-you-configuration__description .neeto-editor-content h2{font-size:1.5rem}.neeto-thank-you-configuration__description .neeto-editor-content h3{font-size:1.25rem}.neeto-thank-you-configuration__description .neeto-editor-content a[href]{color:#2d36d4}.neeto-thank-you-configuration__social-share{margin-top:2rem}.neeto-thank-you-configuration__social-share .neeto-thank-you-configuration-social-follow{align-items:center;display:inline-flex;flex-wrap:wrap;gap:1rem;justify-content:center}.neeto-thank-you-configuration__social-share .neeto-thank-you-configuration-social-follow__item{font-size:1.5rem;width:-moz-fit-content;width:fit-content}.neeto-thank-you-configuration__social-share-title{font-size:.8rem;font-weight:400;line-height:1.2;margin:.8rem 0}.neeto-thank-you-configuration__resubmit{border-bottom:1px solid;font-weight:600}.neeto-thank-you-configuration__nav-footer{align-items:center;display:flex;font-size:.875rem;gap:.5rem;justify-content:center}.neeto-thank-you-configuration__payment-pending{align-items:center;display:flex;flex-direction:column;height:100vh;justify-content:center;width:100%}.neeto-thank-you-configuration__payment-pending-body{align-items:center;color:\"#2f3941\";display:flex;flex-direction:column;gap:1rem;justify-content:center}.neeto-thank-you-configuration-preview{border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);box-shadow:var(--neeto-ui-shadow-xs);display:flex;flex-direction:column;height:100%;min-height:500px;overflow:hidden}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration{height:100%;max-height:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:auto}.neeto-thank-you-configuration-preview__browser-header{border-bottom:1px solid rgb(var(--neeto-ui-gray-300));padding:5px}.neeto-thank-you-configuration__branding-wrap{align-items:center;background-color:#f8f9f9;background-color:rgb(var(--neeto-thank-you-gray-100));color:#1f1f1f;color:rgb(var(--neeto-thank-you-gray-800));display:flex;flex-shrink:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:14px;height:2.5rem;justify-content:center;padding:.375rem 1rem;width:100%}.neeto-thank-you-configuration-radio__item{align-items:flex-start;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded);padding:12px 16px}.neeto-thank-you-configuration-radio__item.neeto-ui-radio__item:not(:last-child){margin-right:0!important}.neeto-thank-you-configuration-radio__item.neeto-ui-radio__item{align-items:start!important}.neeto-thank-you-configuration-radio__item.neeto-ui-radio__item .neeto-ui-radio{margin-top:3px}.neeto-thank-you-configuration-radio__item.active{background-color:rgb(var(--neeto-ui-primary-100));border:1.5px solid rgb(var(--neeto-ui-primary-800))}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9qYXZhc2NyaXB0L3N0eWxlc2hlZXRzL2Fic3RyYWN0cy9fcm9vdC5zY3NzIiwiYXBwL2phdmFzY3JpcHQvc3R5bGVzaGVldHMvYXBwbGljYXRpb24uc2NzcyIsImFwcC9qYXZhc2NyaXB0L3N0eWxlc2hlZXRzL2xheW91dC9fdGhhbmsteW91LnNjc3MiLCJhcHAvamF2YXNjcmlwdC9zdHlsZXNoZWV0cy9jb21wb25lbnRzL190aGFuay15b3U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7XG4gICAgfVxuICB9XG5cbiAgJi5hY3RpdmUge1xuICAgIGJhY2tncm91bmQtY29sb3I6IHJnYih2YXIoLS1uZWV0by11aS1wcmltYXJ5LTEwMCkpO1xuICAgIGJvcmRlcjogMS41cHggc29saWQgcmdiKHZhcigtLW5lZXRvLXVpLXByaW1hcnktODAwKSk7XG4gIH1cbn1cbiJdfQ== */";
1
+ export { default as ConfigureThankYou } from './ConfigureThankYou.js';
2
+ export { default as ShowThankYou } from './ShowThankYou.js';
3
+ export { u as useShowThankYouConfiguration } from './useThankYouConfigurationApi-e6a0b741.js';
4
+ export { u as useShowThankYouPage } from './useThankYouPageApi-1ac56883.js';
5
+ import { n } from './SocialShare-d2986d0d.js';
6
+ import 'react';
7
+ import '@bigbinary/neeto-cist';
8
+ import '@bigbinary/neeto-molecules/Scrollable';
9
+ import 'i18next';
10
+ import 'classnames';
11
+ import '@bigbinary/neeto-molecules/PageLoader';
12
+ import '@bigbinary/neetoui/formik/ActionBlock';
13
+ import '@bigbinary/neetoui/formik/BlockNavigation';
14
+ import '@bigbinary/neetoui/formik/Form';
15
+ import '@bigbinary/neetoui/formik/Radio';
16
+ import 'ramda';
17
+ import 'formik';
18
+ import '@bigbinary/neeto-editor';
19
+ import '@bigbinary/neetoui/Label';
20
+ import '@bigbinary/neetoui/formik/Input';
21
+ import '@bigbinary/neetoui/formik/Switch';
22
+ import 'react-i18next';
23
+ import '@bigbinary/neeto-image-uploader-frontend';
24
+ import '@bigbinary/neeto-commons-frontend/react-utils';
25
+ import '@bigbinary/neetoui/Button';
26
+ import '@bigbinary/neetoui/Typography';
27
+ import '@bigbinary/neetoui/Modal';
28
+ import './BrandingInfo-da0b773a.js';
29
+ import './utils.js';
30
+ import '@bigbinary/neeto-commons-frontend/utils';
31
+ import './constants.js';
32
+ import '@bigbinary/neeto-commons-frontend/initializers';
33
+ import '@bigbinary/neeto-icons';
34
+ import 'yup';
35
+ import '@bigbinary/neeto-molecules/Header';
36
+ import '@tanstack/react-query';
37
+ import 'axios';
38
+ import './query-ab526f47.js';
39
+ import 'dompurify';
40
+
41
+ var css = ":root{--neeto-thank-you-editor-content-color:0,0,0;--neeto-thank-you-background-color:255,255,255;--neeto-thank-you-background-image-position:center;--neeto-thank-you-gray-100:248,249,249;--neeto-thank-you-gray-800:31,31,31}.neeto-thank-you-configuration{display:flex;flex-direction:column;height:100vh;overflow-y:hidden;position:relative}.neeto-thank-you-configuration__nav{display:flex;justify-content:center;padding:4px;width:100%}.neeto-thank-you-configuration__link{align-items:center;color:inherit;display:flex;font-weight:600;gap:.25rem;text-decoration:none}.neeto-thank-you-configuration__link:hover{opacity:.8}.neeto-thank-you-configuration__link span{border-bottom:1px solid}.neeto-thank-you-configuration__link svg{height:1rem;width:auto}.neeto-thank-you-configuration__main{align-items:center;display:flex;height:calc(100vh - 40px);justify-content:center;overflow-y:auto}.neeto-thank-you-configuration__box{margin:0 auto;max-width:100%;padding:0 15px;text-align:center;width:51.25rem}.neeto-thank-you-configuration__default-img-wrap{font-size:2.5rem;text-align:center}.neeto-thank-you-configuration-alignment--left .neeto-thank-you-configuration__box{align-items:flex-start;text-align:left}.neeto-thank-you-configuration__title{font-size:2rem;line-height:1.25;margin:.67em 0}.neeto-thank-you-configuration__img{margin-bottom:1.5rem;margin-top:2.5rem}.neeto-thank-you-configuration__img img{display:inline-block;max-height:50vh;max-width:100%;vertical-align:top}.neeto-thank-you-configuration__description{font-size:1rem;line-height:1.5;margin:0 0 2rem}.neeto-thank-you-configuration__description .neeto-editor-content h1,.neeto-thank-you-configuration__description .neeto-editor-content h2,.neeto-thank-you-configuration__description .neeto-editor-content h3{font-weight:500;line-height:1.325;margin-bottom:4px}.neeto-thank-you-configuration__description .neeto-editor-content h1{font-size:2.5rem}.neeto-thank-you-configuration__description .neeto-editor-content h2{font-size:1.5rem}.neeto-thank-you-configuration__description .neeto-editor-content h3{font-size:1.25rem}.neeto-thank-you-configuration__description .neeto-editor-content a[href]{color:#2d36d4}.neeto-thank-you-configuration__social-share{margin-top:2rem}.neeto-thank-you-configuration__social-share .neeto-thank-you-configuration-social-follow{align-items:center;display:inline-flex;flex-wrap:wrap;gap:1rem;justify-content:center}.neeto-thank-you-configuration__social-share .neeto-thank-you-configuration-social-follow__item{font-size:1.5rem;width:-moz-fit-content;width:fit-content}.neeto-thank-you-configuration__social-share-title{font-size:.8rem;font-weight:400;line-height:1.2;margin:.8rem 0}.neeto-thank-you-configuration__resubmit{border-bottom:1px solid;font-weight:600}.neeto-thank-you-configuration__nav-footer{align-items:center;display:flex;font-size:.875rem;gap:.5rem;justify-content:center}.neeto-thank-you-configuration__payment-pending{align-items:center;display:flex;flex-direction:column;height:100vh;justify-content:center;width:100%}.neeto-thank-you-configuration__payment-pending-body{align-items:center;color:\"#2f3941\";display:flex;flex-direction:column;gap:1rem;justify-content:center}.neeto-thank-you-configuration-preview{border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded-lg);box-shadow:var(--neeto-ui-shadow-xs);display:flex;flex-direction:column;height:100%;min-height:500px;overflow:hidden}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration{height:100%;max-height:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:auto}.neeto-thank-you-configuration-preview__browser-header{border-bottom:1px solid rgb(var(--neeto-ui-gray-300));padding:5px}.neeto-thank-you-configuration__branding-wrap{align-items:center;background-color:#f8f9f9;background-color:rgb(var(--neeto-thank-you-gray-100));color:#1f1f1f;color:rgb(var(--neeto-thank-you-gray-800));display:flex;flex-shrink:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:14px;height:2.5rem;justify-content:center;padding:.375rem 1rem;width:100%}.neeto-thank-you-configuration-radio__item{align-items:flex-start;background-color:rgb(var(--neeto-ui-white));border:1px solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded);padding:12px 16px}.neeto-thank-you-configuration-radio__item.neeto-ui-radio__item:not(:last-child){margin-right:0!important}.neeto-thank-you-configuration-radio__item.neeto-ui-radio__item{align-items:start!important}.neeto-thank-you-configuration-radio__item.neeto-ui-radio__item .neeto-ui-radio{margin-top:3px}.neeto-thank-you-configuration-radio__item.active{background-color:rgb(var(--neeto-ui-primary-100));border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
876
42
  n(css,{});
877
-
878
- export { ConfigureThankYou, ShowThankYou, useShowThankYouConfiguration, useShowThankYouPage };
879
43
  //# sourceMappingURL=index.js.map