@bigbinary/neeto-thank-you-frontend 2.1.3 → 2.1.4

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 (47) hide show
  1. package/dist/{BrandingInfo-cb3c7c87.js → BrandingInfo-57u33B-f.js} +1 -1
  2. package/dist/{BrandingInfo-cb3c7c87.js.map → BrandingInfo-57u33B-f.js.map} +1 -1
  3. package/dist/ConfigureThankYou.js +8 -61
  4. package/dist/ConfigureThankYou.js.map +1 -1
  5. package/dist/ShowThankYou.js +4 -4
  6. package/dist/{SocialShare-4ece80cd.js → SocialShare-CI-G9gbh.js} +2 -2
  7. package/dist/{SocialShare-4ece80cd.js.map → SocialShare-CI-G9gbh.js.map} +1 -1
  8. package/dist/cjs/{BrandingInfo-2f9123ba.js → BrandingInfo-y5Zm6Bej.js} +1 -1
  9. package/dist/cjs/{BrandingInfo-2f9123ba.js.map → BrandingInfo-y5Zm6Bej.js.map} +1 -1
  10. package/dist/cjs/ConfigureThankYou.js +44 -117
  11. package/dist/cjs/ConfigureThankYou.js.map +1 -1
  12. package/dist/cjs/ShowThankYou.js +7 -13
  13. package/dist/cjs/ShowThankYou.js.map +1 -1
  14. package/dist/cjs/{SocialShare-5ebb5ae3.js → SocialShare-CuA0WMgV.js} +2 -2
  15. package/dist/cjs/{SocialShare-5ebb5ae3.js.map → SocialShare-CuA0WMgV.js.map} +1 -1
  16. package/dist/cjs/commons.js +1 -3
  17. package/dist/cjs/commons.js.map +1 -1
  18. package/dist/cjs/constants.js +0 -2
  19. package/dist/cjs/constants.js.map +1 -1
  20. package/dist/cjs/index.js +11 -11
  21. package/dist/cjs/{query-63e48fba.js → query-DGbYEgfA.js} +1 -1
  22. package/dist/cjs/{query-63e48fba.js.map → query-DGbYEgfA.js.map} +1 -1
  23. package/dist/cjs/useShowThankYouConfiguration.js +3 -2
  24. package/dist/cjs/useShowThankYouConfiguration.js.map +1 -1
  25. package/dist/cjs/useShowThankYouPage.js +2 -2
  26. package/dist/cjs/{useThankYouConfigurationApi-27b0ace0.js → useThankYouConfigurationApi-C1meL41r.js} +5 -50
  27. package/dist/cjs/useThankYouConfigurationApi-C1meL41r.js.map +1 -0
  28. package/dist/cjs/{useThankYouPageApi-8d0e4fbc.js → useThankYouPageApi-3lrKLx5U.js} +3 -7
  29. package/dist/cjs/{useThankYouPageApi-8d0e4fbc.js.map → useThankYouPageApi-3lrKLx5U.js.map} +1 -1
  30. package/dist/cjs/utils.js +0 -2
  31. package/dist/cjs/utils.js.map +1 -1
  32. package/dist/commons.js +1 -1
  33. package/dist/index.js +11 -9
  34. package/dist/index.js.map +1 -1
  35. package/dist/{query-3e439d01.js → query-DbiaUWJB.js} +1 -1
  36. package/dist/{query-3e439d01.js.map → query-DbiaUWJB.js.map} +1 -1
  37. package/dist/useShowThankYouConfiguration.js +7 -3
  38. package/dist/useShowThankYouConfiguration.js.map +1 -1
  39. package/dist/useShowThankYouPage.js +6 -3
  40. package/dist/useShowThankYouPage.js.map +1 -1
  41. package/dist/{useThankYouConfigurationApi-5b45610e.js → useThankYouConfigurationApi-WEe1S0dn.js} +4 -44
  42. package/dist/useThankYouConfigurationApi-WEe1S0dn.js.map +1 -0
  43. package/dist/{useThankYouPageApi-660012d0.js → useThankYouPageApi-CdaIwLHQ.js} +2 -2
  44. package/dist/{useThankYouPageApi-660012d0.js.map → useThankYouPageApi-CdaIwLHQ.js.map} +1 -1
  45. package/package.json +109 -89
  46. package/dist/cjs/useThankYouConfigurationApi-27b0ace0.js.map +0 -1
  47. package/dist/useThankYouConfigurationApi-5b45610e.js.map +0 -1
@@ -6,9 +6,9 @@ var NeetoUIPageLoader = require('@bigbinary/neeto-molecules/PageLoader');
6
6
  var Typography = require('@bigbinary/neetoui/Typography');
7
7
  var ramda = require('ramda');
8
8
  var reactI18next = require('react-i18next');
9
- var BrandingInfo = require('./BrandingInfo-2f9123ba.js');
10
- var SocialShare = require('./SocialShare-5ebb5ae3.js');
11
- var useThankYouPageApi = require('./useThankYouPageApi-8d0e4fbc.js');
9
+ var BrandingInfo = require('./BrandingInfo-y5Zm6Bej.js');
10
+ var SocialShare = require('./SocialShare-CuA0WMgV.js');
11
+ var useThankYouPageApi = require('./useThankYouPageApi-3lrKLx5U.js');
12
12
  var jsxRuntime = require('react/jsx-runtime');
13
13
  require('@bigbinary/neeto-cist');
14
14
  require('@bigbinary/neeto-commons-frontend/react-utils');
@@ -18,13 +18,7 @@ require('./constants.js');
18
18
  require('@bigbinary/neeto-commons-frontend/initializers');
19
19
  require('@tanstack/react-query');
20
20
  require('axios');
21
- require('./query-63e48fba.js');
22
-
23
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
-
25
- var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
26
- var NeetoUIPageLoader__default = /*#__PURE__*/_interopDefaultLegacy(NeetoUIPageLoader);
27
- var Typography__default = /*#__PURE__*/_interopDefaultLegacy(Typography);
21
+ require('./query-DGbYEgfA.js');
28
22
 
29
23
  var buildDraftUrl = function buildDraftUrl(url) {
30
24
  return "".concat(url, "?draftPreview=true");
@@ -33,7 +27,7 @@ var buildDraftUrl = function buildDraftUrl(url) {
33
27
  var DefaultPageLoader = function DefaultPageLoader() {
34
28
  return /*#__PURE__*/jsxRuntime.jsx("div", {
35
29
  className: "neeto-thank-you-configuration",
36
- children: /*#__PURE__*/jsxRuntime.jsx(NeetoUIPageLoader__default["default"], {})
30
+ children: /*#__PURE__*/jsxRuntime.jsx(NeetoUIPageLoader, {})
37
31
  });
38
32
  };
39
33
  var ShowThankYou = function ShowThankYou(_ref) {
@@ -65,7 +59,7 @@ var ShowThankYou = function ShowThankYou(_ref) {
65
59
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
66
60
  className: "neeto-thank-you-configuration",
67
61
  children: [/*#__PURE__*/jsxRuntime.jsx("main", {
68
- className: classNames__default["default"]("neeto-thank-you-configuration__main", {
62
+ className: classNames("neeto-thank-you-configuration__main", {
69
63
  "neeto-thank-you-configuration-alignment--left": thankYouTextAlignment === SocialShare.THANK_YOU_TEXT_ALIGNMENTS.left,
70
64
  "neeto-thank-you-configuration-alignment--center": thankYouTextAlignment === SocialShare.THANK_YOU_TEXT_ALIGNMENTS.center
71
65
  }),
@@ -93,7 +87,7 @@ var ShowThankYou = function ShowThankYou(_ref) {
93
87
  }), (thankYouConfiguration === null || thankYouConfiguration === void 0 ? void 0 : thankYouConfiguration.socialSharingEnabled) && /*#__PURE__*/jsxRuntime.jsx(SocialShare.SocialShare, {
94
88
  publicLinkId: publicLinkId,
95
89
  socialHandles: socialHandles
96
- }), isDraftPreview && /*#__PURE__*/jsxRuntime.jsx(Typography__default["default"], {
90
+ }), isDraftPreview && /*#__PURE__*/jsxRuntime.jsx(Typography, {
97
91
  style: "body3",
98
92
  children: t("neetoThankYou.thankYou.draftVersionForm")
99
93
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"ShowThankYou.js","sources":["../../app/javascript/src/components/ShowThankYou/utils.js","../../app/javascript/src/components/ShowThankYou/index.jsx"],"sourcesContent":["export const buildDraftUrl = url => `${url}?draftPreview=true`;\n","import classNames from \"classnames\";\nimport { sanitize } from \"dompurify\";\nimport NeetoUIPageLoader from \"neetomolecules/PageLoader\";\nimport { Typography } from \"neetoui\";\nimport { isEmpty } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport BrandingInfo from \"components/commons/BrandingInfo\";\nimport { THANK_YOU_TEXT_ALIGNMENTS } from \"components/commons/constants\";\nimport SocialShare from \"components/ConfigureThankYou/Customize/SocialShare\";\nimport { useShowThankYouPage } from \"hooks/reactQuery/useThankYouPageApi\";\n// eslint-disable-next-line import/extensions\nimport \"stylesheets/layout/_thank-you.scss\";\n\nimport { buildDraftUrl } from \"./utils\";\n\nconst DefaultPageLoader = () => (\n <div className=\"neeto-thank-you-configuration\">\n <NeetoUIPageLoader />\n </div>\n);\n\nconst ShowThankYou = ({\n entityId,\n isDraftPreview,\n resubmitLink,\n socialHandles,\n isThankYouPageLoading,\n publicLinkId,\n appName,\n customPageLoader: CustomPageLoader,\n brandingInfo,\n thankYouTextAlignment = THANK_YOU_TEXT_ALIGNMENTS.center,\n}) => {\n const { t } = useTranslation();\n\n const { data: { thankYouConfiguration } = {}, isLoading } =\n useShowThankYouPage({ entityId });\n\n const PageLoader = CustomPageLoader || DefaultPageLoader;\n\n if (isLoading && isThankYouPageLoading) {\n return <PageLoader />;\n }\n\n return (\n <div className=\"neeto-thank-you-configuration\">\n <main\n className={classNames(\"neeto-thank-you-configuration__main\", {\n \"neeto-thank-you-configuration-alignment--left\":\n thankYouTextAlignment === THANK_YOU_TEXT_ALIGNMENTS.left,\n \"neeto-thank-you-configuration-alignment--center\":\n thankYouTextAlignment === THANK_YOU_TEXT_ALIGNMENTS.center,\n })}\n >\n <div\n className=\"neeto-thank-you-configuration__box\"\n data-cy=\"thank-you-page-content\"\n >\n {!isEmpty(thankYouConfiguration?.imageUrl) && (\n <div className=\"neeto-thank-you-configuration__img\">\n <img\n alt=\"\"\n data-cy=\"thank-you-page-image\"\n src={thankYouConfiguration?.imageUrl}\n />\n </div>\n )}\n {thankYouConfiguration?.message && (\n <div\n className=\"neeto-thank-you-configuration__description\"\n data-cy=\"thank-you-page-message\"\n dangerouslySetInnerHTML={{\n __html: sanitize(thankYouConfiguration.message),\n }}\n />\n )}\n {thankYouConfiguration?.showResubmitLink && (\n <a\n className=\"neeto-thank-you-configuration__resubmit\"\n data-cy=\"thank-you-page-resubmit-link\"\n href={isDraftPreview ? buildDraftUrl(resubmitLink) : resubmitLink}\n >\n {thankYouConfiguration?.resubmitLinkText ??\n t(\"neetoThankYou.common.resubmit\")}\n </a>\n )}\n {thankYouConfiguration?.socialSharingEnabled && (\n <SocialShare {...{ publicLinkId, socialHandles }} />\n )}\n {isDraftPreview && (\n <Typography style=\"body3\">\n {t(\"neetoThankYou.thankYou.draftVersionForm\")}\n </Typography>\n )}\n </div>\n </main>\n {thankYouConfiguration?.brandingEnabled && (\n <BrandingInfo {...{ appName, brandingInfo }} />\n )}\n </div>\n );\n};\n\nexport default ShowThankYou;\n"],"names":["buildDraftUrl","url","concat","DefaultPageLoader","_jsx","className","children","NeetoUIPageLoader","ShowThankYou","_ref","_thankYouConfiguratio","entityId","isDraftPreview","resubmitLink","socialHandles","isThankYouPageLoading","publicLinkId","appName","CustomPageLoader","customPageLoader","brandingInfo","_ref$thankYouTextAlig","thankYouTextAlignment","THANK_YOU_TEXT_ALIGNMENTS","center","_useTranslation","useTranslation","t","_useShowThankYouPage","useShowThankYouPage","_useShowThankYouPage$","data","_useShowThankYouPage$2","thankYouConfiguration","isLoading","PageLoader","_jsxs","classNames","left","isEmpty","imageUrl","alt","src","message","dangerouslySetInnerHTML","__html","sanitize","showResubmitLink","href","resubmitLinkText","socialSharingEnabled","SocialShare","Typography","style","brandingEnabled","BrandingInfo"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAGC,GAAG,EAAA;EAAA,OAAAC,EAAAA,CAAAA,MAAA,CAAOD,GAAG,EAAA,oBAAA,CAAA,CAAA;AAAA,CAAoB;;ACgB9D,IAAME,iBAAiB,GAAG,SAApBA,iBAAiBA,GAAA;AAAA,EAAA,oBACrBC,cAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,+BAA+B;AAAAC,IAAAA,QAAA,eAC5CF,cAAA,CAACG,qCAAiB,EAAE,EAAA,CAAA;AAAC,GAClB,CAAC,CAAA;AAAA,CACP,CAAA;AAED,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAWZ;AAAA,EAAA,IAAAC,qBAAA,CAAA;AAAA,EAAA,IAVJC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IACRC,cAAc,GAAAH,IAAA,CAAdG,cAAc;IACdC,YAAY,GAAAJ,IAAA,CAAZI,YAAY;IACZC,aAAa,GAAAL,IAAA,CAAbK,aAAa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2C,IAAI,EAAEpC,cAAc,GAAGZ,aAAa,CAACa,YAAY,CAAC,GAAGA,YAAa;AAAAP,UAAAA,QAAA,GAAAI,qBAAA,GAEjEuB,qBAAqB,KAAA,IAAA,IAArBA,qBAAqB,KAArBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,qBAAqB,CAAEgB,gBAAgB,cAAAvC,qBAAA,KAAA,KAAA,CAAA,GAAAA,qBAAA,GACtCiB,CAAC,CAAC,+BAA+B,CAAA;AAAC,SACnC,CACJ,EACA,CAAAM,qBAAqB,KAArBA,IAAAA,IAAAA,qBAAqB,KAArBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,qBAAqB,CAAEiB,oBAAoB,kBAC1C9C,cAAA,CAAC+C,uBAAW,EAAA;AAAOnC,UAAAA,YAAY,EAAZA,YAAY;AAAEF,UAAAA,aAAa,EAAbA,aAAAA;AAAa,SAAK,CACpD,EACAF,cAAc,iBACbR,cAAA,CAACgD,8BAAU,EAAA;AAACC,UAAAA,KAAK,EAAC,OAAO;UAAA/C,QAAA,EACtBqB,CAAC,CAAC,yCAAyC,CAAA;AAAC,SACnC,CACb,CAAA;OACE,CAAA;AAAC,KACF,CAAC,EACN,CAAAM,qBAAqB,KAArBA,IAAAA,IAAAA,qBAAqB,KAArBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,qBAAqB,CAAEqB,eAAe,kBACrClD,cAAA,CAACmD,yBAAY,EAAA;AAAOtC,MAAAA,OAAO,EAAPA,OAAO;AAAEG,MAAAA,YAAY,EAAZA,YAAAA;AAAY,KAAK,CAC/C,CAAA;AAAA,GACE,CAAC,CAAA;AAEV;;;;"}
1
+ {"version":3,"file":"ShowThankYou.js","sources":["../../app/javascript/src/components/ShowThankYou/utils.js","../../app/javascript/src/components/ShowThankYou/index.jsx"],"sourcesContent":["export const buildDraftUrl = url => `${url}?draftPreview=true`;\n","import classNames from \"classnames\";\nimport { sanitize } from \"dompurify\";\nimport NeetoUIPageLoader from \"neetomolecules/PageLoader\";\nimport { Typography } from \"neetoui\";\nimport { isEmpty } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport BrandingInfo from \"components/commons/BrandingInfo\";\nimport { THANK_YOU_TEXT_ALIGNMENTS } from \"components/commons/constants\";\nimport SocialShare from \"components/ConfigureThankYou/Customize/SocialShare\";\nimport { useShowThankYouPage } from \"hooks/reactQuery/useThankYouPageApi\";\n// eslint-disable-next-line import/extensions\nimport \"stylesheets/layout/_thank-you.scss\";\n\nimport { buildDraftUrl } from \"./utils\";\n\nconst DefaultPageLoader = () => (\n <div className=\"neeto-thank-you-configuration\">\n <NeetoUIPageLoader />\n </div>\n);\n\nconst ShowThankYou = ({\n entityId,\n isDraftPreview,\n resubmitLink,\n socialHandles,\n isThankYouPageLoading,\n publicLinkId,\n appName,\n customPageLoader: CustomPageLoader,\n brandingInfo,\n thankYouTextAlignment = THANK_YOU_TEXT_ALIGNMENTS.center,\n}) => {\n const { t } = useTranslation();\n\n const { data: { thankYouConfiguration } = {}, isLoading } =\n useShowThankYouPage({ entityId });\n\n const PageLoader = CustomPageLoader || DefaultPageLoader;\n\n if (isLoading && isThankYouPageLoading) {\n return <PageLoader />;\n }\n\n return (\n <div className=\"neeto-thank-you-configuration\">\n <main\n className={classNames(\"neeto-thank-you-configuration__main\", {\n \"neeto-thank-you-configuration-alignment--left\":\n thankYouTextAlignment === THANK_YOU_TEXT_ALIGNMENTS.left,\n \"neeto-thank-you-configuration-alignment--center\":\n thankYouTextAlignment === THANK_YOU_TEXT_ALIGNMENTS.center,\n })}\n >\n <div\n className=\"neeto-thank-you-configuration__box\"\n data-cy=\"thank-you-page-content\"\n >\n {!isEmpty(thankYouConfiguration?.imageUrl) && (\n <div className=\"neeto-thank-you-configuration__img\">\n <img\n alt=\"\"\n data-cy=\"thank-you-page-image\"\n src={thankYouConfiguration?.imageUrl}\n />\n </div>\n )}\n {thankYouConfiguration?.message && (\n <div\n className=\"neeto-thank-you-configuration__description\"\n data-cy=\"thank-you-page-message\"\n dangerouslySetInnerHTML={{\n __html: sanitize(thankYouConfiguration.message),\n }}\n />\n )}\n {thankYouConfiguration?.showResubmitLink && (\n <a\n className=\"neeto-thank-you-configuration__resubmit\"\n data-cy=\"thank-you-page-resubmit-link\"\n href={isDraftPreview ? buildDraftUrl(resubmitLink) : resubmitLink}\n >\n {thankYouConfiguration?.resubmitLinkText ??\n t(\"neetoThankYou.common.resubmit\")}\n </a>\n )}\n {thankYouConfiguration?.socialSharingEnabled && (\n <SocialShare {...{ publicLinkId, socialHandles }} />\n )}\n {isDraftPreview && (\n <Typography style=\"body3\">\n {t(\"neetoThankYou.thankYou.draftVersionForm\")}\n </Typography>\n )}\n </div>\n </main>\n {thankYouConfiguration?.brandingEnabled && (\n <BrandingInfo {...{ appName, brandingInfo }} />\n )}\n </div>\n );\n};\n\nexport default ShowThankYou;\n"],"names":["buildDraftUrl","url","concat","DefaultPageLoader","_jsx","className","children","NeetoUIPageLoader","ShowThankYou","_ref","_thankYouConfiguratio","entityId","isDraftPreview","resubmitLink","socialHandles","isThankYouPageLoading","publicLinkId","appName","CustomPageLoader","customPageLoader","brandingInfo","_ref$thankYouTextAlig","thankYouTextAlignment","THANK_YOU_TEXT_ALIGNMENTS","center","_useTranslation","useTranslation","t","_useShowThankYouPage","useShowThankYouPage","_useShowThankYouPage$","data","_useShowThankYouPage$2","thankYouConfiguration","isLoading","PageLoader","_jsxs","classNames","left","isEmpty","imageUrl","alt","src","message","dangerouslySetInnerHTML","__html","sanitize","showResubmitLink","href","resubmitLinkText","socialSharingEnabled","SocialShare","Typography","style","brandingEnabled","BrandingInfo"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAO,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAGC,GAAG,EAAA;EAAA,OAAAC,EAAAA,CAAAA,MAAA,CAAOD,GAAG,EAAA,oBAAA,CAAA,CAAA;AAAA,CAAoB;;ACgB9D,IAAME,iBAAiB,GAA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CAAAM,qBAAqB,KAArBA,IAAAA,IAAAA,qBAAqB,KAArBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,qBAAqB,CAAEqB,eAAe,kBACrClD,cAAA,CAACmD,yBAAY,EAAA;AAAOtC,MAAAA,OAAO,EAAPA,OAAO;AAAEG,MAAAA,YAAY,EAAZA,YAAAA;AAAY,KAAK,CAC/C,CAAA;AAAA,GACE,CAAC,CAAA;AAEV;;;;"}
@@ -10,7 +10,7 @@ var THANK_YOU_TEXT_ALIGNMENTS = {
10
10
 
11
11
  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}}
12
12
 
13
- var css = ".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:100vh;justify-content:center;overflow-y:auto}.neeto-thank-you-configuration__box{margin:auto;max-width:100%;padding:24px 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 a[href]{color:#2d36d4}.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__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;position:relative}.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:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thank-you-configuration-preview__browser-header{border-bottom:1px solid rgb(var(--neeto-ui-gray-300));padding:5px}.neeto-thank-you-configuration__branding-wrapper{bottom:12px;left:12px;position:fixed}.neeto-thank-you-configuration__branding-link{background:#fff;border:1px solid #dfdfde;border-radius:4px;color:#000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:14px;font-weight:400;padding:4px 6px;transition:all;transition-duration:.3s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-thank-you-configuration__branding-link strong{font-weight:700}.neeto-thank-you-configuration__branding-link:hover{box-shadow:inset 0 0 0 1px #dfdfde;text-decoration:none}";
13
+ var css = ".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:100vh;justify-content:center;overflow-y:auto}.neeto-thank-you-configuration__box{margin:auto;max-width:100%;padding:24px 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 a[href]{color:#2d36d4}.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__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;position:relative}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration{flex-grow:1;height:100%;max-height:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thank-you-configuration-preview__browser-header{border-bottom:1px solid rgb(var(--neeto-ui-gray-300));padding:5px}.neeto-thank-you-configuration__branding-wrapper{bottom:12px;left:12px;position:fixed}.neeto-thank-you-configuration__branding-link{background:#fff;border:1px solid #dfdfde;border-radius:4px;color:#000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:14px;font-weight:400;padding:4px 6px;transition:all;transition-duration:.3s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-thank-you-configuration__branding-link strong{font-weight:700}.neeto-thank-you-configuration__branding-link:hover{box-shadow:inset 0 0 0 1px #dfdfde;text-decoration:none}";
14
14
  n(css,{});
15
15
 
16
16
  var SocialShare = function SocialShare(_ref) {
@@ -45,4 +45,4 @@ var SocialShare = function SocialShare(_ref) {
45
45
  exports.SocialShare = SocialShare;
46
46
  exports.THANK_YOU_TEXT_ALIGNMENTS = THANK_YOU_TEXT_ALIGNMENTS;
47
47
  exports.n = n;
48
- //# sourceMappingURL=SocialShare-5ebb5ae3.js.map
48
+ //# sourceMappingURL=SocialShare-CuA0WMgV.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SocialShare-5ebb5ae3.js","sources":["../../app/javascript/src/components/commons/constants.js","../../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../../app/javascript/src/components/ConfigureThankYou/Customize/SocialShare.jsx"],"sourcesContent":["export const THANK_YOU_TEXT_ALIGNMENTS = {\n left: \"left\",\n center: \"center\",\n};\n","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}}export{n as default};\n","import { useTranslation } from \"react-i18next\";\n\nconst SocialShare = ({ socialHandles, publicLinkId }) => {\n const { t } = useTranslation();\n\n return (\n <div className=\"neeto-thank-you-configuration__social-share\">\n <h3 className=\"neeto-thank-you-configuration__social-share-title\">\n {t(\"neetoThankYou.thankYou.socialShareHeading\")}\n </h3>\n <div className=\"neeto-thank-you-configuration-social-follow\">\n {socialHandles?.map((data, idx) => {\n const { icon: Icon, generateShareUrl } = data;\n\n return (\n <div\n className=\"neeto-thank-you-configuration-social-follow__item\"\n key={idx}\n >\n <a\n href={generateShareUrl(publicLinkId)}\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n <Icon />\n </a>\n </div>\n );\n })}\n </div>\n </div>\n );\n};\n\nexport default SocialShare;\n"],"names":["THANK_YOU_TEXT_ALIGNMENTS","left","center","SocialShare","_ref","socialHandles","publicLinkId","_useTranslation","useTranslation","t","_jsxs","className","children","_jsx","map","data","idx","Icon","icon","generateShareUrl","href","rel","target"],"mappings":";;;;;AAAO,IAAMA,yBAAyB,GAAG;AACvCC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,MAAM,EAAE,QAAA;AACV;;ACHA,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAA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EAAC,mDAAmD;AAAAC,UAAAA,QAAA,eAG7DC,cAAA,CAAA,GAAA,EAAA;AACEO,YAAAA,IAAI,EAAED,gBAAgB,CAACb,YAAY,CAAE;AACrCe,YAAAA,GAAG,EAAC,YAAY;AAChBC,YAAAA,MAAM,EAAC,QAAQ;AAAAV,YAAAA,QAAA,eAEfC,cAAA,CAACI,IAAI,EAAE,EAAA,CAAA;WACN,CAAA;AAAC,SAAA,EARCD,GASF,CAAC,CAAA;OAET,CAAA;AAAC,KACC,CAAC,CAAA;AAAA,GACH,CAAC,CAAA;AAEV;;;;;;"}
1
+ {"version":3,"file":"SocialShare-CuA0WMgV.js","sources":["../../app/javascript/src/components/commons/constants.js","../../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../../app/javascript/src/components/ConfigureThankYou/Customize/SocialShare.jsx"],"sourcesContent":["export const THANK_YOU_TEXT_ALIGNMENTS = {\n left: \"left\",\n center: \"center\",\n};\n","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}}export{n as default};\n","import { useTranslation } from \"react-i18next\";\n\nconst SocialShare = ({ socialHandles, publicLinkId }) => {\n const { t } = useTranslation();\n\n return (\n <div className=\"neeto-thank-you-configuration__social-share\">\n <h3 className=\"neeto-thank-you-configuration__social-share-title\">\n {t(\"neetoThankYou.thankYou.socialShareHeading\")}\n </h3>\n <div className=\"neeto-thank-you-configuration-social-follow\">\n {socialHandles?.map((data, idx) => {\n const { icon: Icon, generateShareUrl } = data;\n\n return (\n <div\n className=\"neeto-thank-you-configuration-social-follow__item\"\n key={idx}\n >\n <a\n href={generateShareUrl(publicLinkId)}\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n <Icon />\n </a>\n </div>\n );\n })}\n </div>\n </div>\n );\n};\n\nexport default SocialShare;\n"],"names":["THANK_YOU_TEXT_ALIGNMENTS","left","center","SocialShare","_ref","socialHandles","publicLinkId","_useTranslation","useTranslation","t","_jsxs","className","children","_jsx","map","data","idx","Icon","icon","generateShareUrl","href","rel","target"],"mappings":";;;;;AAAO,IAAMA,yBAAyB,GAAG;AACvCC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,MAAM,EAAE,QAAA;AACV;;ACHA,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,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ineProperty(exports, '__esModule', { value: true });
4
-
5
- var BrandingInfo = require('./BrandingInfo-2f9123ba.js');
3
+ var BrandingInfo = require('./BrandingInfo-y5Zm6Bej.js');
6
4
  var framerMotion = require('framer-motion');
7
5
  var jsxRuntime = require('react/jsx-runtime');
8
6
  require('@bigbinary/neeto-cist');
@@ -1 +1 @@
1
- {"version":3,"file":"commons.js","sources":["../../app/javascript/src/components/commons/ProgressBar.jsx"],"sourcesContent":["import { motion } from \"framer-motion\";\n\nconst ProgressBar = ({ progressPercentage, progressValue }) => (\n <div className=\"neeto-ui-bg-gray-200 neeto-ui-rounded-full w-full overflow-hidden\">\n <motion.div\n animate={{ width: `${progressPercentage}%` }}\n className=\"neeto-ui-bg-primary-600 neeto-ui-text-primary-100 text-2xs neeto-ui-rounded-full flex h-3 animate-pulse items-center justify-center font-medium leading-none\"\n initial={{ width: 0 }}\n transition={{ duration: 0.5, ease: \"easeInOut\" }}\n >\n {progressValue}\n </motion.div>\n </div>\n);\n\nexport default ProgressBar;\n"],"names":["ProgressBar","_ref","progressPercentage","progressValue","_jsx","className","children","motion","div","animate","width","concat","initial","transition","duration","ease"],"mappings":";;;;;;;;;;;;;;AAEA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,kBAAkB,GAAAD,IAAA,CAAlBC,kBAAkB;IAAEC,aAAa,GAAAF,IAAA,CAAbE,aAAa,CAAA;AAAA,EAAA,oBACtDC,cAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,mEAAmE;AAAAC,IAAAA,QAAA,eAChFF,cAAA,CAACG,mBAAM,CAACC,GAAG,EAAA;AACTC,MAAAA,OAAO,EAAE;QAAEC,KAAK,EAAA,EAAA,CAAAC,MAAA,CAAKT,kBAAkB,EAAA,GAAA,CAAA;OAAM;AAC7CG,MAAAA,SAAS,EAAC,8JAA8J;AACxKO,MAAAA,OAAO,EAAE;AAAEF,QAAAA,KAAK,EAAE,CAAA;OAAI;AACtBG,MAAAA,UAAU,EAAE;AAAEC,QAAAA,QAAQ,EAAE,GAAG;AAAEC,QAAAA,IAAI,EAAE,WAAA;OAAc;AAAAT,MAAAA,QAAA,EAEhDH,aAAAA;KACS,CAAA;AAAC,GACV,CAAC,CAAA;AAAA;;;;;"}
1
+ {"version":3,"file":"commons.js","sources":["../../app/javascript/src/components/commons/ProgressBar.jsx"],"sourcesContent":["import { motion } from \"framer-motion\";\n\nconst ProgressBar = ({ progressPercentage, progressValue }) => (\n <div className=\"neeto-ui-bg-gray-200 neeto-ui-rounded-full w-full overflow-hidden\">\n <motion.div\n animate={{ width: `${progressPercentage}%` }}\n className=\"neeto-ui-bg-primary-600 neeto-ui-text-primary-100 text-2xs neeto-ui-rounded-full flex h-3 animate-pulse items-center justify-center font-medium leading-none\"\n initial={{ width: 0 }}\n transition={{ duration: 0.5, ease: \"easeInOut\" }}\n >\n {progressValue}\n </motion.div>\n </div>\n);\n\nexport default ProgressBar;\n"],"names":["ProgressBar","_ref","progressPercentage","progressValue","_jsx","className","children","motion","div","animate","width","concat","initial","transition","duration","ease"],"mappings":";;;;;;;;;;;;AAEA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,kBAAkB,GAAAD,IAAA,CAAlBC,kBAAkB;IAAEC,aAAa,GAAAF,IAAA,CAAbE,aAAa,CAAA;AAAA,EAAA,oBACtDC,cAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,mEAAmE;AAAAC,IAAAA,QAAA,eAChFF,cAAA,CAACG,mBAAM,CAACC,GAAG,EAAA;AACTC,MAAAA,OAAO,EAAE;QAAEC,KAAK,EAAA,EAAA,CAAAC,MAAA,CAAKT,kBAAkB,EAAA,GAAA,CAAA;OAAM;AAC7CG,MAAAA,SAAS,EAAC,8JAA8J;AACxKO,MAAAA,OAAO,EAAE;AAAEF,QAAAA,KAAK,EAAE,CAAA;OAAI;AACtBG,MAAAA,UAAU,EAAE;AAAEC,QAAAA,QAAQ,EAAE,GAAG;AAAEC,QAAAA,IAAI,EAAE,WAAA;OAAc;AAAAT,MAAAA,QAAA,EAEhDH,aAAAA;KACS,CAAA;AAAC,GACV,CAAC,CAAA;AAAA;;;;;"}
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var initializers = require('@bigbinary/neeto-commons-frontend/initializers');
6
4
 
7
5
  var ENVIRONMENTS = {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../app/javascript/src/components/constants.js"],"sourcesContent":["import { globalProps } from \"neetocommons/initializers\";\n\nexport const ENVIRONMENTS = {\n development: \"development\",\n staging: \"staging\",\n production: \"production\",\n heroku: \"heroku\",\n};\n\nexport const IS_PRODUCTION_ENV =\n globalProps.railsEnv === ENVIRONMENTS.production;\n\nexport const TLD = IS_PRODUCTION_ENV ? \"com\" : \"net\";\n"],"names":["ENVIRONMENTS","development","staging","production","heroku","IS_PRODUCTION_ENV","globalProps","railsEnv","TLD"],"mappings":";;;;;;AAEO,IAAMA,YAAY,GAAG;AAC1BC,EAAAA,WAAW,EAAE,aAAa;AAC1BC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,UAAU,EAAE,YAAY;AACxBC,EAAAA,MAAM,EAAE,QAAA;AACV,EAAC;AAEM,IAAMC,iBAAiB,GAC5BC,wBAAW,CAACC,QAAQ,KAAKP,YAAY,CAACG,WAAU;IAErCK,GAAG,GAAGH,iBAAiB,GAAG,KAAK,GAAG;;;;;;"}
1
+ {"version":3,"file":"constants.js","sources":["../../app/javascript/src/components/constants.js"],"sourcesContent":["import { globalProps } from \"neetocommons/initializers\";\n\nexport const ENVIRONMENTS = {\n development: \"development\",\n staging: \"staging\",\n production: \"production\",\n heroku: \"heroku\",\n};\n\nexport const IS_PRODUCTION_ENV =\n globalProps.railsEnv === ENVIRONMENTS.production;\n\nexport const TLD = IS_PRODUCTION_ENV ? \"com\" : \"net\";\n"],"names":["ENVIRONMENTS","development","staging","production","heroku","IS_PRODUCTION_ENV","globalProps","railsEnv","TLD"],"mappings":";;;;AAEO,IAAMA,YAAY,GAAG;AAC1BC,EAAAA,WAAW,EAAE,aAAa;AAC1BC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,UAAU,EAAE,YAAY;AACxBC,EAAAA,MAAM,EAAE,QAAA;AACV,EAAC;AAEM,IAAMC,iBAAiB,GAC5BC,wBAAW,CAACC,QAAQ,KAAKP,YAAY,CAACG,WAAU;IAErCK,GAAG,GAAGH,iBAAiB,GAAG,KAAK,GAAG;;;;;;"}
package/dist/cjs/index.js CHANGED
@@ -1,13 +1,12 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var ConfigureThankYou = require('./ConfigureThankYou.js');
6
4
  var ShowThankYou = require('./ShowThankYou.js');
7
- var useThankYouConfigurationApi = require('./useThankYouConfigurationApi-27b0ace0.js');
8
- var useThankYouPageApi = require('./useThankYouPageApi-8d0e4fbc.js');
9
- var SocialShare = require('./SocialShare-5ebb5ae3.js');
5
+ var useThankYouConfigurationApi = require('./useThankYouConfigurationApi-C1meL41r.js');
6
+ var useThankYouPageApi = require('./useThankYouPageApi-3lrKLx5U.js');
7
+ var SocialShare = require('./SocialShare-CuA0WMgV.js');
10
8
  require('@bigbinary/neeto-cist');
9
+ require('@babel/runtime/helpers/defineProperty');
11
10
  require('react');
12
11
  require('classnames');
13
12
  require('@bigbinary/neeto-molecules/MobilePreviewHeader');
@@ -18,20 +17,21 @@ require('@bigbinary/neetoui/formik/Form');
18
17
  require('@bigbinary/neetoui/formik/Radio');
19
18
  require('ramda');
20
19
  require('i18next');
20
+ require('@babel/runtime/helpers/slicedToArray');
21
21
  require('formik');
22
22
  require('@bigbinary/neeto-editor/FormikEditor');
23
23
  require('@bigbinary/neetoui/Label');
24
24
  require('@bigbinary/neetoui/formik/Input');
25
25
  require('@bigbinary/neetoui/formik/Switch');
26
26
  require('react-i18next');
27
- require('@bigbinary/neeto-image-uploader-frontend');
27
+ require('@bigbinary/neeto-image-uploader-frontend/ImageUploader');
28
28
  require('react/jsx-runtime');
29
29
  require('@bigbinary/neeto-commons-frontend/react-utils');
30
30
  require('@bigbinary/neetoui/Button');
31
31
  require('@bigbinary/neetoui/Typography');
32
32
  require('@bigbinary/neetoui/Modal');
33
33
  require('@bigbinary/neeto-editor/EditorContent');
34
- require('./BrandingInfo-2f9123ba.js');
34
+ require('./BrandingInfo-y5Zm6Bej.js');
35
35
  require('./utils.js');
36
36
  require('@bigbinary/neeto-commons-frontend/utils');
37
37
  require('./constants.js');
@@ -40,13 +40,13 @@ require('@bigbinary/neeto-icons/Link');
40
40
  require('@bigbinary/neeto-molecules/Header');
41
41
  require('@bigbinary/neeto-editor/utils');
42
42
  require('yup');
43
- require('@tanstack/react-query');
44
- require('axios');
45
- require('./query-63e48fba.js');
46
43
  require('dompurify');
47
44
  require('@bigbinary/neeto-molecules/PageLoader');
45
+ require('@tanstack/react-query');
46
+ require('axios');
47
+ require('./query-DGbYEgfA.js');
48
48
 
49
- 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:100vh;justify-content:center;overflow-y:auto}.neeto-thank-you-configuration__box{margin:auto;max-width:100%;padding:24px 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 a[href]{color:#2d36d4}.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__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;position:relative}.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:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thank-you-configuration-preview__browser-header{border-bottom:1px solid rgb(var(--neeto-ui-gray-300));padding:5px}.neeto-thank-you-configuration__branding-wrapper{bottom:12px;left:12px;position:fixed}.neeto-thank-you-configuration__branding-link{background:#fff;border:1px solid #dfdfde;border-radius:4px;color:#000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:14px;font-weight:400;padding:4px 6px;transition:all;transition-duration:.3s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-thank-you-configuration__branding-link strong{font-weight:700}.neeto-thank-you-configuration__branding-link:hover{box-shadow:inset 0 0 0 1px #dfdfde;text-decoration:none}.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{border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
49
+ 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:100vh;justify-content:center;overflow-y:auto}.neeto-thank-you-configuration__box{margin:auto;max-width:100%;padding:24px 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 a[href]{color:#2d36d4}.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__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;position:relative}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration{flex-grow:1;height:100%;max-height:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thank-you-configuration-preview__browser-header{border-bottom:1px solid rgb(var(--neeto-ui-gray-300));padding:5px}.neeto-thank-you-configuration__branding-wrapper{bottom:12px;left:12px;position:fixed}.neeto-thank-you-configuration__branding-link{background:#fff;border:1px solid #dfdfde;border-radius:4px;color:#000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:14px;font-weight:400;padding:4px 6px;transition:all;transition-duration:.3s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-thank-you-configuration__branding-link strong{font-weight:700}.neeto-thank-you-configuration__branding-link:hover{box-shadow:inset 0 0 0 1px #dfdfde;text-decoration:none}.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{border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
50
50
  SocialShare.n(css,{});
51
51
 
52
52
  exports.ConfigureThankYou = ConfigureThankYou;
@@ -9,4 +9,4 @@ var QUERY_KEYS = {
9
9
 
10
10
  exports.QUERY_KEYS = QUERY_KEYS;
11
11
  exports.THANK_YOU_ENGINE_BASE_URL = THANK_YOU_ENGINE_BASE_URL;
12
- //# sourceMappingURL=query-63e48fba.js.map
12
+ //# sourceMappingURL=query-DGbYEgfA.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-63e48fba.js","sources":["../../app/javascript/src/constants/index.js","../../app/javascript/src/constants/query.js"],"sourcesContent":["export const THANK_YOU_ENGINE_BASE_URL = \"/neeto_thank_you_engine\";\n","export const QUERY_KEYS = {\n THANK_YOU_CONFIGURATION: \"thank-you-configuration\",\n THANK_YOU_PAGE: \"thank-you-page\",\n};\n"],"names":["THANK_YOU_ENGINE_BASE_URL","QUERY_KEYS","THANK_YOU_CONFIGURATION","THANK_YOU_PAGE"],"mappings":";;AAAO,IAAMA,yBAAyB,GAAG;;ACAlC,IAAMC,UAAU,GAAG;AACxBC,EAAAA,uBAAuB,EAAE,yBAAyB;AAClDC,EAAAA,cAAc,EAAE,gBAAA;AAClB;;;;;"}
1
+ {"version":3,"file":"query-DGbYEgfA.js","sources":["../../app/javascript/src/constants/index.js","../../app/javascript/src/constants/query.js"],"sourcesContent":["export const THANK_YOU_ENGINE_BASE_URL = \"/neeto_thank_you_engine\";\n","export const QUERY_KEYS = {\n THANK_YOU_CONFIGURATION: \"thank-you-configuration\",\n THANK_YOU_PAGE: \"thank-you-page\",\n};\n"],"names":["THANK_YOU_ENGINE_BASE_URL","QUERY_KEYS","THANK_YOU_CONFIGURATION","THANK_YOU_PAGE"],"mappings":";;AAAO,IAAMA,yBAAyB,GAAG;;ACAlC,IAAMC,UAAU,GAAG;AACxBC,EAAAA,uBAAuB,EAAE,yBAAyB;AAClDC,EAAAA,cAAc,EAAE,gBAAA;AAClB;;;;;"}
@@ -1,10 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var useThankYouConfigurationApi = require('./useThankYouConfigurationApi-27b0ace0.js');
3
+ var useThankYouConfigurationApi = require('./useThankYouConfigurationApi-C1meL41r.js');
4
+ require('@babel/runtime/helpers/defineProperty');
4
5
  require('@tanstack/react-query');
5
6
  require('@bigbinary/neeto-commons-frontend/react-utils');
6
7
  require('axios');
7
- require('./query-63e48fba.js');
8
+ require('./query-DGbYEgfA.js');
8
9
 
9
10
 
10
11
 
@@ -1 +1 @@
1
- {"version":3,"file":"useShowThankYouConfiguration.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
1
+ {"version":3,"file":"useShowThankYouConfiguration.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var useThankYouPageApi = require('./useThankYouPageApi-8d0e4fbc.js');
3
+ var useThankYouPageApi = require('./useThankYouPageApi-3lrKLx5U.js');
4
4
  require('@tanstack/react-query');
5
5
  require('axios');
6
- require('./query-63e48fba.js');
6
+ require('./query-DGbYEgfA.js');
7
7
 
8
8
 
9
9
 
@@ -1,58 +1,14 @@
1
1
  'use strict';
2
2
 
3
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
3
4
  var reactQuery = require('@tanstack/react-query');
4
5
  var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
5
6
  var axios = require('axios');
6
- var query = require('./query-63e48fba.js');
7
-
8
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
-
10
- var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
11
-
12
- function _typeof(o) {
13
- "@babel/helpers - typeof";
14
-
15
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
16
- return typeof o;
17
- } : function (o) {
18
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
19
- }, _typeof(o);
20
- }
21
-
22
- function _toPrimitive(input, hint) {
23
- if (_typeof(input) !== "object" || input === null) return input;
24
- var prim = input[Symbol.toPrimitive];
25
- if (prim !== undefined) {
26
- var res = prim.call(input, hint || "default");
27
- if (_typeof(res) !== "object") return res;
28
- throw new TypeError("@@toPrimitive must return a primitive value.");
29
- }
30
- return (hint === "string" ? String : Number)(input);
31
- }
32
-
33
- function _toPropertyKey(arg) {
34
- var key = _toPrimitive(arg, "string");
35
- return _typeof(key) === "symbol" ? key : String(key);
36
- }
37
-
38
- function _defineProperty(obj, key, value) {
39
- key = _toPropertyKey(key);
40
- if (key in obj) {
41
- Object.defineProperty(obj, key, {
42
- value: value,
43
- enumerable: true,
44
- configurable: true,
45
- writable: true
46
- });
47
- } else {
48
- obj[key] = value;
49
- }
50
- return obj;
51
- }
7
+ var query = require('./query-DGbYEgfA.js');
52
8
 
53
9
  var baseUrl = "".concat(query.THANK_YOU_ENGINE_BASE_URL, "/thank_you_configuration");
54
10
  var show = function show(entityId) {
55
- return axios__default["default"].get(baseUrl, {
11
+ return axios.get(baseUrl, {
56
12
  params: {
57
13
  entityId: entityId
58
14
  }
@@ -61,7 +17,7 @@ var show = function show(entityId) {
61
17
  var update = function update(_ref) {
62
18
  var entityId = _ref.entityId,
63
19
  payload = _ref.payload;
64
- return axios__default["default"].put(baseUrl, {
20
+ return axios.put(baseUrl, {
65
21
  entityId: entityId,
66
22
  thankYouConfiguration: payload
67
23
  });
@@ -95,7 +51,6 @@ var useUpdateThankYouConfiguration = function useUpdateThankYouConfiguration(opt
95
51
  }, options));
96
52
  };
97
53
 
98
- exports._defineProperty = _defineProperty;
99
54
  exports.useShowThankYouConfiguration = useShowThankYouConfiguration;
100
55
  exports.useUpdateThankYouConfiguration = useUpdateThankYouConfiguration;
101
- //# sourceMappingURL=useThankYouConfigurationApi-27b0ace0.js.map
56
+ //# sourceMappingURL=useThankYouConfigurationApi-C1meL41r.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useThankYouConfigurationApi-C1meL41r.js","sources":["../../app/javascript/src/apis/thank_you_configuration.js","../../app/javascript/src/hooks/reactQuery/useThankYouConfigurationApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { THANK_YOU_ENGINE_BASE_URL } from \"src/constants\";\n\nconst baseUrl = `${THANK_YOU_ENGINE_BASE_URL}/thank_you_configuration`;\n\nconst show = entityId => axios.get(baseUrl, { params: { entityId } });\n\nconst update = ({ entityId, payload }) =>\n axios.put(baseUrl, { entityId, thankYouConfiguration: payload });\n\nconst thankYouConfigurationApi = { show, update };\n\nexport default thankYouConfigurationApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport thankYouConfigurationApi from \"apis/thank_you_configuration\";\nimport { QUERY_KEYS } from \"src/constants/query\";\n\nexport const useShowThankYouConfiguration = ({ entityId }) =>\n useQuery({\n queryKey: [QUERY_KEYS.THANK_YOU_CONFIGURATION, entityId],\n queryFn: () => thankYouConfigurationApi.show(entityId),\n });\n\nexport const useUpdateThankYouConfiguration = options =>\n useMutationWithInvalidation(\n ({ entityId, payload }) =>\n thankYouConfigurationApi.update({ entityId, payload }),\n {\n keysToInvalidate: [[QUERY_KEYS.THANK_YOU_CONFIGURATION]],\n ...options,\n }\n );\n"],"names":["baseUrl","concat","THANK_YOU_ENGINE_BASE_URL","show","entityId","axios","get","params","update","_ref","payload","put","thankYouConfiguration","thankYouConfigurationApi","useShowThankYouConfiguration","useQuery","queryKey","QUERY_KEYS","THANK_YOU_CONFIGURATION","queryFn","useUpdateThankYouConfiguration","options","useMutationWithInvalidation","_ref2","_objectSpread","keysToInvalidate"],"mappings":";;;;;;;;AAIA,IAAMA,OAAO,GAAA,EAAA,CAAAC,MAAA,CAAMC,+BAAyB,EAA0B,0BAAA,CAAA,CAAA;AAEtE,IAAMC,IAAI,GAAG,SA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,OAClBG,wBAAwB,CAACL,MAAM,CAAC;AAAEJ,MAAAA,QAAQ,EAARA,QAAQ;AAAEM,MAAAA,OAAO,EAAPA,OAAAA;AAAQ,KAAC,CAAC,CAAA;AAAA,GAAA,EAAAc,aAAA,CAAA;AAEtDC,IAAAA,gBAAgB,EAAE,CAAC,CAACR,gBAAU,CAACC,uBAAuB,CAAC,CAAA;GACpDG,EAAAA,OAAO,CAEd,CAAC,CAAA;AAAA;;;;;"}
@@ -2,17 +2,13 @@
2
2
 
3
3
  var reactQuery = require('@tanstack/react-query');
4
4
  var axios = require('axios');
5
- var query = require('./query-63e48fba.js');
6
-
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
-
9
- var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
5
+ var query = require('./query-DGbYEgfA.js');
10
6
 
11
7
  var baseUrl = "".concat(query.THANK_YOU_ENGINE_BASE_URL, "/thank_you_page");
12
8
  var show = function show(_ref) {
13
9
  var entityId = _ref.entityId,
14
10
  isTemplateView = _ref.isTemplateView;
15
- return axios__default["default"].get(baseUrl, {
11
+ return axios.get(baseUrl, {
16
12
  params: {
17
13
  entityId: entityId,
18
14
  isTemplateView: isTemplateView
@@ -38,4 +34,4 @@ var useShowThankYouPage = function useShowThankYouPage(_ref) {
38
34
  };
39
35
 
40
36
  exports.useShowThankYouPage = useShowThankYouPage;
41
- //# sourceMappingURL=useThankYouPageApi-8d0e4fbc.js.map
37
+ //# sourceMappingURL=useThankYouPageApi-3lrKLx5U.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useThankYouPageApi-8d0e4fbc.js","sources":["../../app/javascript/src/apis/thank_you_page.js","../../app/javascript/src/hooks/reactQuery/useThankYouPageApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { THANK_YOU_ENGINE_BASE_URL } from \"src/constants\";\n\nconst baseUrl = `${THANK_YOU_ENGINE_BASE_URL}/thank_you_page`;\n\nconst show = ({ entityId, isTemplateView }) =>\n axios.get(baseUrl, { params: { entityId, isTemplateView } });\n\nconst thankYouPageApi = { show };\n\nexport default thankYouPageApi;\n","import { useQuery } from \"@tanstack/react-query\";\n\nimport thankYouPageApi from \"apis/thank_you_page\";\nimport { QUERY_KEYS } from \"src/constants/query\";\n\nexport const useShowThankYouPage = ({ entityId, isTemplateView }) =>\n useQuery({\n queryKey: [QUERY_KEYS.THANK_YOU_PAGE, entityId],\n queryFn: () => thankYouPageApi.show({ entityId, isTemplateView }),\n });\n"],"names":["baseUrl","concat","THANK_YOU_ENGINE_BASE_URL","show","_ref","entityId","isTemplateView","axios","get","params","thankYouPageApi","useShowThankYouPage","useQuery","queryKey","QUERY_KEYS","THANK_YOU_PAGE","queryFn"],"mappings":";;;;;;;;;;AAIA,IAAMA,OAAO,GAAA,EAAA,CAAAC,MAAA,CAAMC,+BAAyB,EAAiB,iBAAA,CAAA,CAAA;AAE7D,IAAMC,IAAI,GAAG,SAAPA,IAAIA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,cAAc,GAAAF,IAAA,CAAdE,cAAc,CAAA;AAAA,EAAA,OACtCC,yBAAK,CAACC,GAAG,CAACR,OAAO,EAAE;AAAES,IAAAA,MAAM,EAAE;AAAEJ,MAAAA,QAAQ,EAARA,QAAQ;AAAEC,MAAAA,cAAc,EAAdA,cAAAA;AAAe,KAAA;AAAE,GAAC,CAAC,CAAA;AAAA,CAAA,CAAA;AAE9D,IAAMI,eAAe,GAAG;AAAEP,EAAAA,IAAI,EAAJA,IAAAA;AAAK,CAAC;;ICJnBQ,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAP,IAAA,EAAA;AAAA,EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,cAAc,GAAAF,IAAA,CAAdE,cAAc,CAAA;AAAA,EAAA,OAC5DM,mBAAQ,CAAC;AACPC,IAAAA,QAAQ,EAAE,CAACC,gBAAU,CAACC,cAAc,EAAEV,QAAQ,CAAC;IAC/CW,OAAO,EAAE,SAAAA,OAAA,GAAA;MAAA,OAAMN,eAAe,CAACP,IAAI,CAAC;AAAEE,QAAAA,QAAQ,EAARA,QAAQ;AAAEC,QAAAA,cAAc,EAAdA,cAAAA;AAAe,OAAC,CAAC,CAAA;AAAA,KAAA;AACnE,GAAC,CAAC,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"useThankYouPageApi-3lrKLx5U.js","sources":["../../app/javascript/src/apis/thank_you_page.js","../../app/javascript/src/hooks/reactQuery/useThankYouPageApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { THANK_YOU_ENGINE_BASE_URL } from \"src/constants\";\n\nconst baseUrl = `${THANK_YOU_ENGINE_BASE_URL}/thank_you_page`;\n\nconst show = ({ entityId, isTemplateView }) =>\n axios.get(baseUrl, { params: { entityId, isTemplateView } });\n\nconst thankYouPageApi = { show };\n\nexport default thankYouPageApi;\n","import { useQuery } from \"@tanstack/react-query\";\n\nimport thankYouPageApi from \"apis/thank_you_page\";\nimport { QUERY_KEYS } from \"src/constants/query\";\n\nexport const useShowThankYouPage = ({ entityId, isTemplateView }) =>\n useQuery({\n queryKey: [QUERY_KEYS.THANK_YOU_PAGE, entityId],\n queryFn: () => thankYouPageApi.show({ entityId, isTemplateView }),\n });\n"],"names":["baseUrl","concat","THANK_YOU_ENGINE_BASE_URL","show","_ref","entityId","isTemplateView","axios","get","params","thankYouPageApi","useShowThankYouPage","useQuery","queryKey","QUERY_KEYS","THANK_YOU_PAGE","queryFn"],"mappings":";;;;;;AAIA,IAAMA,OAAO,GAAA,EAAA,CAAAC,MAAA,CAAMC,+BAAyB,EAAiB,iBAAA,CAAA,CAAA;AAE7D,IAAMC,IAAI,GAAG,SAAPA,IAAIA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,cAAc,GAAAF,IAAA,CAAdE,cAAc,CAAA;AAAA,EAAA,OACtCC,KAAK,CAACC,GAAG,CAACR,OAAO,EAAE;AAAES,IAAAA,MAAM,EAAE;AAAEJ,MAAAA,QAAQ,EAARA,QAAQ;AAAEC,MAAAA,cAAc,EAAdA,cAAAA;AAAe,KAAA;AAAE,GAAC,CAAC,CAAA;AAAA,CAAA,CAAA;AAE9D,IAAMI,eAAe,GAAG;AAAEP,EAAAA,IAAI,EAAJA,IAAAA;AAAK,CAAC;;ICJnBQ,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAP,IAAA,EAAA;AAAA,EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,cAAc,GAAAF,IAAA,CAAdE,cAAc,CAAA;AAAA,EAAA,OAC5DM,mBAAQ,CAAC;AACPC,IAAAA,QAAQ,EAAE,CAACC,gBAAU,CAACC,cAAc,EAAEV,QAAQ,CAAC;IAC/CW,OAAO,EAAE,SAATA,OAAOA,GAAA;MAAA,OAAQN,eAAe,CAACP,IAAI,CAAC;AAAEE,QAAAA,QAAQ,EAARA,QAAQ;AAAEC,QAAAA,cAAc,EAAdA,cAAAA;AAAe,OAAC,CAAC,CAAA;AAAA,KAAA;AACnE,GAAC,CAAC,CAAA;AAAA;;;;"}
package/dist/cjs/utils.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var utils = require('@bigbinary/neeto-commons-frontend/utils');
6
4
  var constants = require('./constants.js');
7
5
  require('@bigbinary/neeto-commons-frontend/initializers');
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../app/javascript/src/components/utils.js"],"sourcesContent":["import { buildUrl } from \"neetocommons/utils\";\n\nimport { TLD } from \"./constants\";\n\nconst getNeetoAuthRoute = topLevelDomain =>\n `https://app.neetoauth.${topLevelDomain}/signups/new`;\n\nconst getRedirectUri = appName => `${appName.toLowerCase()}.${TLD}`;\n\nexport const buildSignUpUrl = appName =>\n buildUrl(getNeetoAuthRoute(TLD), { redirectUri: getRedirectUri(appName) });\n"],"names":["getNeetoAuthRoute","topLevelDomain","concat","getRedirectUri","appName","toLowerCase","TLD","buildSignUpUrl","buildUrl","redirectUri"],"mappings":";;;;;;;;AAIA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAGC,cAAc,EAAA;EAAA,OAAAC,wBAAAA,CAAAA,MAAA,CACbD,cAAc,EAAA,cAAA,CAAA,CAAA;AAAA,CAAc,CAAA;AAEvD,IAAME,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,OAAO,EAAA;EAAA,OAAAF,EAAAA,CAAAA,MAAA,CAAOE,OAAO,CAACC,WAAW,EAAE,EAAA,GAAA,CAAA,CAAAH,MAAA,CAAII,aAAG,CAAA,CAAA;AAAA,CAAE,CAAA;IAEtDC,cAAc,GAAG,SAAjBA,cAAcA,CAAGH,OAAO,EAAA;AAAA,EAAA,OACnCI,cAAQ,CAACR,iBAAiB,CAACM,aAAG,CAAC,EAAE;IAAEG,WAAW,EAAEN,cAAc,CAACC,OAAO,CAAA;AAAE,GAAC,CAAC,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"utils.js","sources":["../../app/javascript/src/components/utils.js"],"sourcesContent":["import { buildUrl } from \"neetocommons/utils\";\n\nimport { TLD } from \"./constants\";\n\nconst getNeetoAuthRoute = topLevelDomain =>\n `https://app.neetoauth.${topLevelDomain}/signups/new`;\n\nconst getRedirectUri = appName => `${appName.toLowerCase()}.${TLD}`;\n\nexport const buildSignUpUrl = appName =>\n buildUrl(getNeetoAuthRoute(TLD), { redirectUri: getRedirectUri(appName) });\n"],"names":["getNeetoAuthRoute","topLevelDomain","concat","getRedirectUri","appName","toLowerCase","TLD","buildSignUpUrl","buildUrl","redirectUri"],"mappings":";;;;;;AAIA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAGC,cAAc,EAAA;EAAA,OAAAC,wBAAAA,CAAAA,MAAA,CACbD,cAAc,EAAA,cAAA,CAAA,CAAA;AAAA,CAAc,CAAA;AAEvD,IAAME,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,OAAO,EAAA;EAAA,OAAAF,EAAAA,CAAAA,MAAA,CAAOE,OAAO,CAACC,WAAW,EAAE,EAAA,GAAA,CAAA,CAAAH,MAAA,CAAII,aAAG,CAAA,CAAA;AAAA,CAAE,CAAA;IAEtDC,cAAc,GAAG,SAAjBA,cAAcA,CAAGH,OAAO,EAAA;AAAA,EAAA,OACnCI,cAAQ,CAACR,iBAAiB,CAACM,aAAG,CAAC,EAAE;IAAEG,WAAW,EAAEN,cAAc,CAACC,OAAO,CAAA;AAAE,GAAC,CAAC,CAAA;AAAA;;;;"}
package/dist/commons.js CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BrandingInfo } from './BrandingInfo-cb3c7c87.js';
1
+ export { B as BrandingInfo } from './BrandingInfo-57u33B-f.js';
2
2
  import { motion } from 'framer-motion';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
  import '@bigbinary/neeto-cist';
package/dist/index.js CHANGED
@@ -1,9 +1,10 @@
1
1
  export { default as ConfigureThankYou } from './ConfigureThankYou.js';
2
2
  export { default as ShowThankYou } from './ShowThankYou.js';
3
- export { u as useShowThankYouConfiguration } from './useThankYouConfigurationApi-5b45610e.js';
4
- export { u as useShowThankYouPage } from './useThankYouPageApi-660012d0.js';
5
- import { n } from './SocialShare-4ece80cd.js';
3
+ export { u as useShowThankYouConfiguration } from './useThankYouConfigurationApi-WEe1S0dn.js';
4
+ export { u as useShowThankYouPage } from './useThankYouPageApi-CdaIwLHQ.js';
5
+ import { n } from './SocialShare-CI-G9gbh.js';
6
6
  import '@bigbinary/neeto-cist';
7
+ import '@babel/runtime/helpers/defineProperty';
7
8
  import 'react';
8
9
  import 'classnames';
9
10
  import '@bigbinary/neeto-molecules/MobilePreviewHeader';
@@ -14,20 +15,21 @@ import '@bigbinary/neetoui/formik/Form';
14
15
  import '@bigbinary/neetoui/formik/Radio';
15
16
  import 'ramda';
16
17
  import 'i18next';
18
+ import '@babel/runtime/helpers/slicedToArray';
17
19
  import 'formik';
18
20
  import '@bigbinary/neeto-editor/FormikEditor';
19
21
  import '@bigbinary/neetoui/Label';
20
22
  import '@bigbinary/neetoui/formik/Input';
21
23
  import '@bigbinary/neetoui/formik/Switch';
22
24
  import 'react-i18next';
23
- import '@bigbinary/neeto-image-uploader-frontend';
25
+ import '@bigbinary/neeto-image-uploader-frontend/ImageUploader';
24
26
  import 'react/jsx-runtime';
25
27
  import '@bigbinary/neeto-commons-frontend/react-utils';
26
28
  import '@bigbinary/neetoui/Button';
27
29
  import '@bigbinary/neetoui/Typography';
28
30
  import '@bigbinary/neetoui/Modal';
29
31
  import '@bigbinary/neeto-editor/EditorContent';
30
- import './BrandingInfo-cb3c7c87.js';
32
+ import './BrandingInfo-57u33B-f.js';
31
33
  import './utils.js';
32
34
  import '@bigbinary/neeto-commons-frontend/utils';
33
35
  import './constants.js';
@@ -36,12 +38,12 @@ import '@bigbinary/neeto-icons/Link';
36
38
  import '@bigbinary/neeto-molecules/Header';
37
39
  import '@bigbinary/neeto-editor/utils';
38
40
  import 'yup';
39
- import '@tanstack/react-query';
40
- import 'axios';
41
- import './query-3e439d01.js';
42
41
  import 'dompurify';
43
42
  import '@bigbinary/neeto-molecules/PageLoader';
43
+ import '@tanstack/react-query';
44
+ import 'axios';
45
+ import './query-DbiaUWJB.js';
44
46
 
45
- 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:100vh;justify-content:center;overflow-y:auto}.neeto-thank-you-configuration__box{margin:auto;max-width:100%;padding:24px 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 a[href]{color:#2d36d4}.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__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;position:relative}.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:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thank-you-configuration-preview__browser-header{border-bottom:1px solid rgb(var(--neeto-ui-gray-300));padding:5px}.neeto-thank-you-configuration__branding-wrapper{bottom:12px;left:12px;position:fixed}.neeto-thank-you-configuration__branding-link{background:#fff;border:1px solid #dfdfde;border-radius:4px;color:#000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:14px;font-weight:400;padding:4px 6px;transition:all;transition-duration:.3s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-thank-you-configuration__branding-link strong{font-weight:700}.neeto-thank-you-configuration__branding-link:hover{box-shadow:inset 0 0 0 1px #dfdfde;text-decoration:none}.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{border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
47
+ 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:100vh;justify-content:center;overflow-y:auto}.neeto-thank-you-configuration__box{margin:auto;max-width:100%;padding:24px 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 a[href]{color:#2d36d4}.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__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;position:relative}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration{flex-grow:1;height:100%;max-height:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:100%}.neeto-thank-you-configuration-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thank-you-configuration-preview__browser-header{border-bottom:1px solid rgb(var(--neeto-ui-gray-300));padding:5px}.neeto-thank-you-configuration__branding-wrapper{bottom:12px;left:12px;position:fixed}.neeto-thank-you-configuration__branding-link{background:#fff;border:1px solid #dfdfde;border-radius:4px;color:#000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:14px;font-weight:400;padding:4px 6px;transition:all;transition-duration:.3s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-thank-you-configuration__branding-link strong{font-weight:700}.neeto-thank-you-configuration__branding-link:hover{box-shadow:inset 0 0 0 1px #dfdfde;text-decoration:none}.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{border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
46
48
  n(css,{});
47
49
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -6,4 +6,4 @@ var QUERY_KEYS = {
6
6
  };
7
7
 
8
8
  export { QUERY_KEYS as Q, THANK_YOU_ENGINE_BASE_URL as T };
9
- //# sourceMappingURL=query-3e439d01.js.map
9
+ //# sourceMappingURL=query-DbiaUWJB.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-3e439d01.js","sources":["../app/javascript/src/constants/index.js","../app/javascript/src/constants/query.js"],"sourcesContent":["export const THANK_YOU_ENGINE_BASE_URL = \"/neeto_thank_you_engine\";\n","export const QUERY_KEYS = {\n THANK_YOU_CONFIGURATION: \"thank-you-configuration\",\n THANK_YOU_PAGE: \"thank-you-page\",\n};\n"],"names":["THANK_YOU_ENGINE_BASE_URL","QUERY_KEYS","THANK_YOU_CONFIGURATION","THANK_YOU_PAGE"],"mappings":"AAAO,IAAMA,yBAAyB,GAAG;;ACAlC,IAAMC,UAAU,GAAG;AACxBC,EAAAA,uBAAuB,EAAE,yBAAyB;AAClDC,EAAAA,cAAc,EAAE,gBAAA;AAClB;;;;"}
1
+ {"version":3,"file":"query-DbiaUWJB.js","sources":["../app/javascript/src/constants/index.js","../app/javascript/src/constants/query.js"],"sourcesContent":["export const THANK_YOU_ENGINE_BASE_URL = \"/neeto_thank_you_engine\";\n","export const QUERY_KEYS = {\n THANK_YOU_CONFIGURATION: \"thank-you-configuration\",\n THANK_YOU_PAGE: \"thank-you-page\",\n};\n"],"names":["THANK_YOU_ENGINE_BASE_URL","QUERY_KEYS","THANK_YOU_CONFIGURATION","THANK_YOU_PAGE"],"mappings":"AAAO,IAAMA,yBAAyB,GAAG;;ACAlC,IAAMC,UAAU,GAAG;AACxBC,EAAAA,uBAAuB,EAAE,yBAAyB;AAClDC,EAAAA,cAAc,EAAE,gBAAA;AAClB;;;;"}
@@ -1,7 +1,11 @@
1
- import { u as useShowThankYouConfiguration } from './useThankYouConfigurationApi-5b45610e.js';
2
- export { u as default } from './useThankYouConfigurationApi-5b45610e.js';
1
+ import { u as useShowThankYouConfiguration } from './useThankYouConfigurationApi-WEe1S0dn.js';
2
+ import '@babel/runtime/helpers/defineProperty';
3
3
  import '@tanstack/react-query';
4
4
  import '@bigbinary/neeto-commons-frontend/react-utils';
5
5
  import 'axios';
6
- import './query-3e439d01.js';
6
+ import './query-DbiaUWJB.js';
7
+
8
+
9
+
10
+ export { useShowThankYouConfiguration as default };
7
11
  //# sourceMappingURL=useShowThankYouConfiguration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useShowThankYouConfiguration.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"useShowThankYouConfiguration.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}