@bigbinary/neeto-thank-you-frontend 1.0.5 → 1.0.7
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 +7 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +7 -11
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { createElement, isValidElement, cloneElement, createContext, useContext, useState, useRef, useEffect, useLayoutEffect, useCallback, useMemo, forwardRef, useReducer, useImperativeHandle, Fragment } from 'react';
|
|
3
3
|
import Scrollable from '@bigbinary/neeto-molecules/Scrollable';
|
|
4
|
-
import { Button, Toastr, Typography, Modal } from '@bigbinary/neetoui';
|
|
5
4
|
import { isEditorEmpty, FormikEditor, EditorContent } from '@bigbinary/neeto-editor';
|
|
6
5
|
import * as yup from 'yup';
|
|
7
6
|
import classNames from 'classnames';
|
|
8
7
|
import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
8
|
+
import { Button, Toastr, Typography, Modal } from '@bigbinary/neetoui';
|
|
9
9
|
import { Switch, Input, Form as Form$1, Radio } from '@bigbinary/neetoui/formik';
|
|
10
10
|
import { useQuery, useQueryClient, useMutation } from 'react-query';
|
|
11
11
|
import axios from 'axios';
|
|
@@ -13870,11 +13870,13 @@ var Header = function Header(_ref) {
|
|
|
13870
13870
|
var breadcrumbs = _ref.breadcrumbs;
|
|
13871
13871
|
var _useTranslation = useTranslation(),
|
|
13872
13872
|
t = _useTranslation.t;
|
|
13873
|
-
return /*#__PURE__*/React__default.createElement(
|
|
13873
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
13874
|
+
className: "w-full px-6"
|
|
13875
|
+
}, /*#__PURE__*/React__default.createElement(NeetoUIHeader, {
|
|
13874
13876
|
breadcrumbs: breadcrumbs,
|
|
13875
|
-
|
|
13877
|
+
size: "small",
|
|
13876
13878
|
title: t("common.thankYou")
|
|
13877
|
-
});
|
|
13879
|
+
}));
|
|
13878
13880
|
};
|
|
13879
13881
|
|
|
13880
13882
|
var ConfigureThankYou = function ConfigureThankYou(_ref) {
|
|
@@ -13892,19 +13894,13 @@ var ConfigureThankYou = function ConfigureThankYou(_ref) {
|
|
|
13892
13894
|
redirectToOnCancel = _ref.redirectToOnCancel,
|
|
13893
13895
|
_ref$thankYouTextAlig = _ref.thankYouTextAlignment,
|
|
13894
13896
|
thankYouTextAlignment = _ref$thankYouTextAlig === void 0 ? THANK_YOU_TEXT_ALIGNMENTS.center : _ref$thankYouTextAlig;
|
|
13895
|
-
var _useTranslation = useTranslation(),
|
|
13896
|
-
t = _useTranslation.t;
|
|
13897
13897
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Header, {
|
|
13898
13898
|
breadcrumbs: breadcrumbs
|
|
13899
13899
|
}), /*#__PURE__*/React__default.createElement(Scrollable, {
|
|
13900
13900
|
className: "w-full p-6 pt-0"
|
|
13901
13901
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
13902
13902
|
className: "mx-auto h-full max-w-7xl"
|
|
13903
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
13904
|
-
className: "mb-8 text-4xl",
|
|
13905
|
-
style: "h2",
|
|
13906
|
-
weight: "semibold"
|
|
13907
|
-
}, t("thankYou.title")), /*#__PURE__*/React__default.createElement(Form, {
|
|
13903
|
+
}, /*#__PURE__*/React__default.createElement(Form, {
|
|
13908
13904
|
entityId: entityId,
|
|
13909
13905
|
hasImageUploader: hasImageUploader,
|
|
13910
13906
|
redirectToOnCancel: redirectToOnCancel,
|