@bigbinary/neeto-thank-you-frontend 2.1.36 → 2.1.38

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 (34) hide show
  1. package/README.md +11 -2
  2. package/dist/BrandingInfo-CVoR92MO.js +17 -0
  3. package/dist/BrandingInfo-CVoR92MO.js.map +1 -0
  4. package/dist/ConfigureThankYou.js +10 -4
  5. package/dist/ConfigureThankYou.js.map +1 -1
  6. package/dist/ShowThankYou.js +6 -5
  7. package/dist/ShowThankYou.js.map +1 -1
  8. package/dist/{SocialShare-Di8nv-Pc.js → SocialShare-DR_yGnQY.js} +2 -2
  9. package/dist/{SocialShare-Di8nv-Pc.js.map → SocialShare-DR_yGnQY.js.map} +1 -1
  10. package/dist/cjs/BrandingInfo-quX3BPdQ.js +19 -0
  11. package/dist/cjs/BrandingInfo-quX3BPdQ.js.map +1 -0
  12. package/dist/cjs/ConfigureThankYou.js +10 -4
  13. package/dist/cjs/ConfigureThankYou.js.map +1 -1
  14. package/dist/cjs/ShowThankYou.js +6 -5
  15. package/dist/cjs/ShowThankYou.js.map +1 -1
  16. package/dist/cjs/{SocialShare-BdMT0B3b.js → SocialShare-CCf5ewmX.js} +2 -2
  17. package/dist/cjs/{SocialShare-BdMT0B3b.js.map → SocialShare-CCf5ewmX.js.map} +1 -1
  18. package/dist/cjs/commons.js +2 -5
  19. package/dist/cjs/commons.js.map +1 -1
  20. package/dist/cjs/index.js +5 -5
  21. package/dist/cjs/utils.js +0 -5
  22. package/dist/cjs/utils.js.map +1 -1
  23. package/dist/commons.js +2 -5
  24. package/dist/commons.js.map +1 -1
  25. package/dist/index.js +5 -5
  26. package/dist/utils.js +0 -4
  27. package/dist/utils.js.map +1 -1
  28. package/package.json +13 -13
  29. package/types/ConfigureThankYou.d.ts +1 -0
  30. package/types/ShowThankYou.d.ts +1 -0
  31. package/dist/BrandingInfo-CjXCjTiP.js +0 -27
  32. package/dist/BrandingInfo-CjXCjTiP.js.map +0 -1
  33. package/dist/cjs/BrandingInfo-u5FM6Y7x.js +0 -29
  34. package/dist/cjs/BrandingInfo-u5FM6Y7x.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SocialShare-BdMT0B3b.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":["import { t } from \"i18next\";\n\nexport const THANK_YOU_KINDS = {\n CUSTOM_MESSAGE: \"custom_message\",\n REDIRECT_TO_URL: \"redirect_to_url\",\n};\n\nexport const FORM_OPTIONS = {\n customize: {\n label: t(\"neetoThankYou.thankYou.customize\"),\n description: t(\"neetoThankYou.thankYou.customizeDescription\"),\n kind: THANK_YOU_KINDS.CUSTOM_MESSAGE,\n },\n externalLink: {\n label: t(\"neetoThankYou.thankYou.externalLink\"),\n description: t(\"neetoThankYou.thankYou.externalLinkDescription\"),\n kind: THANK_YOU_KINDS.REDIRECT_TO_URL,\n },\n};\n\nexport const THANK_YOU_TEXT_ALIGNMENTS = {\n left: \"left\",\n center: \"center\",\n};\n\nexport const REDIRECT_DELAY = 5;\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_KINDS","CUSTOM_MESSAGE","REDIRECT_TO_URL","FORM_OPTIONS","customize","label","t","description","kind","externalLink","THANK_YOU_TEXT_ALIGNMENTS","left","center","REDIRECT_DELAY","SocialShare","_ref","socialHandles","publicLinkId","_useTranslation","useTranslation","_jsxs","className","children","_jsx","map","data","idx","Icon","icon","generateShareUrl","href","rel","target"],"mappings":";;;;;;AAEO,IAAMA,eAAe,GAAG;AAC7BC,EAAAA,cAAc,EAAE,gBAAgB;AAChCC,EAAAA,eAAe,EAAE;AACnB;AAEO,IAAMC,YAAY,GAAG;AAC1BC,EAAAA,SAAS,EAAE;AACTC,IAAAA,KAAK,EAAEC,SAAC,CAAC,kCAAkC,CAAC;AAC5CC,IAAAA,WAAW,EAAED,SAAC,CAAC,6CAA6C,CAAC;IAC7DE,IAAI,EAAER,eAAe,CAACC;GACvB;AACDQ,EAAAA,YAAY,EAAE;AACZJ,IAAAA,KAAK,EAAEC,SAAC,CAAC,qCAAqC,CAAC;AAC/CC,IAAAA,WAAW,EAAED,SAAC,CAAC,gDAAgD,CAAC;IAChEE,IAAI,EAAER,eAAe,CAACE;AACxB;AACF;AAEO,IAAMQ,yBAAyB,GAAG;AACvCC,EAA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AAA,IAAAA,aAAa,KAAbA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,aAAa,CAAEQ,GAAG,CAAC,UAACC,IAAI,EAAEC,GAAG,EAAK;AACjC,QAAA,IAAcC,IAAI,GAAuBF,IAAI,CAArCG,IAAI;UAAQC,gBAAgB,GAAKJ,IAAI,CAAzBI,gBAAgB;AAEpC,QAAA,oBACEN,cAAA,CAAA,KAAA,EAAA;AACEF,UAAAA,SAAS,EAAC,mDAAmD;AAAAC,UAAAA,QAAA,eAG7DC,cAAA,CAAA,GAAA,EAAA;AACEO,YAAAA,IAAI,EAAED,gBAAgB,CAACZ,YAAY,CAAE;AACrCc,YAAAA,GAAG,EAAC,YAAY;AAChBC,YAAAA,MAAM,EAAC,QAAQ;AAAAV,YAAAA,QAAA,eAEfC,cAAA,CAACI,IAAI,EAAE,EAAA;WACN;AAAC,SAAA,EARCD,GASF,CAAC;OAET;AAAC,KACC,CAAC;AAAA,GACH,CAAC;AAEV;;;;;;;;;","x_google_ignoreList":[1]}
1
+ {"version":3,"file":"SocialShare-CCf5ewmX.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":["import { t } from \"i18next\";\n\nexport const THANK_YOU_KINDS = {\n CUSTOM_MESSAGE: \"custom_message\",\n REDIRECT_TO_URL: \"redirect_to_url\",\n};\n\nexport const FORM_OPTIONS = {\n customize: {\n label: t(\"neetoThankYou.thankYou.customize\"),\n description: t(\"neetoThankYou.thankYou.customizeDescription\"),\n kind: THANK_YOU_KINDS.CUSTOM_MESSAGE,\n },\n externalLink: {\n label: t(\"neetoThankYou.thankYou.externalLink\"),\n description: t(\"neetoThankYou.thankYou.externalLinkDescription\"),\n kind: THANK_YOU_KINDS.REDIRECT_TO_URL,\n },\n};\n\nexport const THANK_YOU_TEXT_ALIGNMENTS = {\n left: \"left\",\n center: \"center\",\n};\n\nexport const REDIRECT_DELAY = 5;\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_KINDS","CUSTOM_MESSAGE","REDIRECT_TO_URL","FORM_OPTIONS","customize","label","t","description","kind","externalLink","THANK_YOU_TEXT_ALIGNMENTS","left","center","REDIRECT_DELAY","SocialShare","_ref","socialHandles","publicLinkId","_useTranslation","useTranslation","_jsxs","className","children","_jsx","map","data","idx","Icon","icon","generateShareUrl","href","rel","target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-u5FM6Y7x.js');
4
- require('@bigbinary/neeto-cist');
5
- require('@bigbinary/neeto-commons-frontend/initializers');
6
- require('@bigbinary/neeto-commons-frontend/react-utils');
7
- require('./utils.js');
3
+ var BrandingInfo = require('./BrandingInfo-quX3BPdQ.js');
4
+ require('@bigbinary/neeto-molecules/MadeWith');
8
5
  require('react/jsx-runtime');
9
6
 
10
7
 
@@ -1 +1 @@
1
- {"version":3,"file":"commons.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"commons.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/cjs/index.js CHANGED
@@ -4,7 +4,7 @@ var ConfigureThankYou = require('./ConfigureThankYou.js');
4
4
  var ShowThankYou = require('./ShowThankYou.js');
5
5
  var useThankYouConfigurationApi = require('./useThankYouConfigurationApi-khbEl5wW.js');
6
6
  var useThankYouPageApi = require('./useThankYouPageApi-DD3HwY6D.js');
7
- var SocialShare = require('./SocialShare-BdMT0B3b.js');
7
+ var SocialShare = require('./SocialShare-CCf5ewmX.js');
8
8
  require('@bigbinary/neeto-cist');
9
9
  require('@babel/runtime/helpers/defineProperty');
10
10
  require('@babel/runtime/helpers/slicedToArray');
@@ -30,10 +30,10 @@ require('@bigbinary/neetoui/Button');
30
30
  require('@bigbinary/neetoui/Typography');
31
31
  require('@bigbinary/neetoui/Modal');
32
32
  require('@bigbinary/neeto-molecules/BrowserPreview');
33
- require('./BrandingInfo-u5FM6Y7x.js');
34
- require('@bigbinary/neeto-commons-frontend/initializers');
35
- require('./utils.js');
33
+ require('./BrandingInfo-quX3BPdQ.js');
34
+ require('@bigbinary/neeto-molecules/MadeWith');
36
35
  require('./constants.js');
36
+ require('@bigbinary/neeto-commons-frontend/initializers');
37
37
  require('@bigbinary/neeto-editor/EditorContent');
38
38
  require('@bigbinary/neeto-icons/Link');
39
39
  require('@babel/runtime/helpers/objectWithoutProperties');
@@ -49,7 +49,7 @@ require('@bigbinary/neeto-commons-frontend/utils');
49
49
  require('./index-BeYCcFRQ.js');
50
50
  require('./query.js');
51
51
 
52
- 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,.neeto-thank-you-configuration-preview__wrapper{display:flex;flex-direction:column}.neeto-thank-you-configuration{height:100vh;overflow-y:hidden;position:relative}.neeto-thank-you-configuration__nav{display:flex;justify-content:center;padding:.25rem;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:3.5rem .9375rem;position:relative;text-align:center;width:51.25rem}.neeto-thank-you-configuration__redirect-message{bottom:.375rem;font-size:.75rem;left:0;opacity:.75;position:absolute;right:0}.neeto-thank-you-configuration__redirect-failure-message a[href]{color:#2d36d4!important}.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__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-thankyou-nano__right-panel .neeto-molecules-browser-preview{height:100%;min-height:500px}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration{flex-grow:1;height:100%;max-height:100%}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:100%}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration__box{pointer-events:none}.neeto-thank-you-configuration__branding-wrapper{bottom:.75rem;left:.75rem;position:fixed}.neeto-thank-you-configuration__branding-link{background:#fff;border:1px solid #dfdfde;border-radius:.25rem;color:#000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:.875rem;font-weight:400;padding:.25rem .375rem;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__draft-preview-message{font-size:.75rem;line-height:1.5}.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:.75rem 1rem}.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:.1875rem}.neeto-thank-you-configuration-radio__item.active{border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
52
+ 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,.neeto-thank-you-configuration-preview__wrapper{display:flex;flex-direction:column}.neeto-thank-you-configuration{height:100vh;overflow-y:hidden;position:relative}.neeto-thank-you-configuration__nav{display:flex;justify-content:center;padding:.25rem;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:3.5rem .9375rem;position:relative;text-align:center;width:51.25rem}.neeto-thank-you-configuration__redirect-message{bottom:.375rem;font-size:.75rem;left:0;opacity:.75;position:absolute;right:0}.neeto-thank-you-configuration__redirect-failure-message a[href]{color:#2d36d4!important}.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__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-thankyou-nano__right-panel .neeto-molecules-browser-preview{height:100%;min-height:500px}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration{flex-grow:1;height:100%;max-height:100%}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:100%}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration__box{pointer-events:none}.neeto-thank-you-configuration__branding-wrapper{bottom:.75rem;left:.75rem;position:fixed}.neeto-thank-you-configuration__draft-preview-message{font-size:.75rem;line-height:1.5}.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:.75rem 1rem}.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:.1875rem}.neeto-thank-you-configuration-radio__item.active{border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
53
53
  SocialShare.n(css,{});
54
54
 
55
55
  exports.ConfigureThankYou = ConfigureThankYou;
package/dist/cjs/utils.js CHANGED
@@ -1,8 +1,3 @@
1
1
  'use strict';
2
2
 
3
- var getRedirectUri = function getRedirectUri(appName, subdomain) {
4
- return "https://www.neeto.com/".concat(appName.toLowerCase(), "?utm_source=madewith&utm_campaign=").concat(subdomain);
5
- };
6
-
7
- exports.getRedirectUri = getRedirectUri;
8
3
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../app/javascript/src/components/utils.js"],"sourcesContent":["export const getRedirectUri = (appName, subdomain) =>\n `https://www.neeto.com/${appName.toLowerCase()}?utm_source=madewith&utm_campaign=${subdomain}`;\n"],"names":["getRedirectUri","appName","subdomain","concat","toLowerCase"],"mappings":";;AAAO,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,OAAO,EAAEC,SAAS,EAAA;EAAA,OAAAC,wBAAAA,CAAAA,MAAA,CACtBF,OAAO,CAACG,WAAW,EAAE,EAAA,oCAAA,CAAA,CAAAD,MAAA,CAAqCD,SAAS,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
package/dist/commons.js CHANGED
@@ -1,7 +1,4 @@
1
- export { B as BrandingInfo } from './BrandingInfo-CjXCjTiP.js';
2
- import '@bigbinary/neeto-cist';
3
- import '@bigbinary/neeto-commons-frontend/initializers';
4
- import '@bigbinary/neeto-commons-frontend/react-utils';
5
- import './utils.js';
1
+ export { B as BrandingInfo } from './BrandingInfo-CVoR92MO.js';
2
+ import '@bigbinary/neeto-molecules/MadeWith';
6
3
  import 'react/jsx-runtime';
7
4
  //# sourceMappingURL=commons.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"commons.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"commons.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ export { default as ConfigureThankYou } from './ConfigureThankYou.js';
2
2
  export { default as ShowThankYou } from './ShowThankYou.js';
3
3
  export { a as useCreateThankYouConfiguration, d as useDeleteThankYouConfiguration, u as useFetchThankYouConfigurations, b as useShowThankYouConfiguration, c as useUpdateThankYouConfiguration } from './useThankYouConfigurationApi-BiVg-jmY.js';
4
4
  export { u as useShowThankYouPage } from './useThankYouPageApi-D61bhK5l.js';
5
- import { n } from './SocialShare-Di8nv-Pc.js';
5
+ import { n } from './SocialShare-DR_yGnQY.js';
6
6
  import '@bigbinary/neeto-cist';
7
7
  import '@babel/runtime/helpers/defineProperty';
8
8
  import '@babel/runtime/helpers/slicedToArray';
@@ -28,10 +28,10 @@ import '@bigbinary/neetoui/Button';
28
28
  import '@bigbinary/neetoui/Typography';
29
29
  import '@bigbinary/neetoui/Modal';
30
30
  import '@bigbinary/neeto-molecules/BrowserPreview';
31
- import './BrandingInfo-CjXCjTiP.js';
32
- import '@bigbinary/neeto-commons-frontend/initializers';
33
- import './utils.js';
31
+ import './BrandingInfo-CVoR92MO.js';
32
+ import '@bigbinary/neeto-molecules/MadeWith';
34
33
  import './constants.js';
34
+ import '@bigbinary/neeto-commons-frontend/initializers';
35
35
  import '@bigbinary/neeto-editor/EditorContent';
36
36
  import '@bigbinary/neeto-icons/Link';
37
37
  import '@babel/runtime/helpers/objectWithoutProperties';
@@ -47,6 +47,6 @@ import '@bigbinary/neeto-commons-frontend/utils';
47
47
  import './index-CGjGDIfp.js';
48
48
  import './query.js';
49
49
 
50
- 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,.neeto-thank-you-configuration-preview__wrapper{display:flex;flex-direction:column}.neeto-thank-you-configuration{height:100vh;overflow-y:hidden;position:relative}.neeto-thank-you-configuration__nav{display:flex;justify-content:center;padding:.25rem;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:3.5rem .9375rem;position:relative;text-align:center;width:51.25rem}.neeto-thank-you-configuration__redirect-message{bottom:.375rem;font-size:.75rem;left:0;opacity:.75;position:absolute;right:0}.neeto-thank-you-configuration__redirect-failure-message a[href]{color:#2d36d4!important}.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__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-thankyou-nano__right-panel .neeto-molecules-browser-preview{height:100%;min-height:500px}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration{flex-grow:1;height:100%;max-height:100%}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:100%}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration__box{pointer-events:none}.neeto-thank-you-configuration__branding-wrapper{bottom:.75rem;left:.75rem;position:fixed}.neeto-thank-you-configuration__branding-link{background:#fff;border:1px solid #dfdfde;border-radius:.25rem;color:#000;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Helvetica Neue;font-size:.875rem;font-weight:400;padding:.25rem .375rem;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__draft-preview-message{font-size:.75rem;line-height:1.5}.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:.75rem 1rem}.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:.1875rem}.neeto-thank-you-configuration-radio__item.active{border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
50
+ 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,.neeto-thank-you-configuration-preview__wrapper{display:flex;flex-direction:column}.neeto-thank-you-configuration{height:100vh;overflow-y:hidden;position:relative}.neeto-thank-you-configuration__nav{display:flex;justify-content:center;padding:.25rem;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:3.5rem .9375rem;position:relative;text-align:center;width:51.25rem}.neeto-thank-you-configuration__redirect-message{bottom:.375rem;font-size:.75rem;left:0;opacity:.75;position:absolute;right:0}.neeto-thank-you-configuration__redirect-failure-message a[href]{color:#2d36d4!important}.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__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-thankyou-nano__right-panel .neeto-molecules-browser-preview{height:100%;min-height:500px}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration{flex-grow:1;height:100%;max-height:100%}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration .neeto-thank-you-configuration__main{height:100%}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration__branding-wrapper{position:absolute}.neeto-thankyou-nano__right-panel .neeto-molecules-browser-preview .neeto-thank-you-configuration__box{pointer-events:none}.neeto-thank-you-configuration__branding-wrapper{bottom:.75rem;left:.75rem;position:fixed}.neeto-thank-you-configuration__draft-preview-message{font-size:.75rem;line-height:1.5}.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:.75rem 1rem}.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:.1875rem}.neeto-thank-you-configuration-radio__item.active{border:1.5px solid rgb(var(--neeto-ui-primary-800))}";
51
51
  n(css,{});
52
52
  //# sourceMappingURL=index.js.map
package/dist/utils.js CHANGED
@@ -1,6 +1,2 @@
1
- var getRedirectUri = function getRedirectUri(appName, subdomain) {
2
- return "https://www.neeto.com/".concat(appName.toLowerCase(), "?utm_source=madewith&utm_campaign=").concat(subdomain);
3
- };
4
1
 
5
- export { getRedirectUri };
6
2
  //# sourceMappingURL=utils.js.map
package/dist/utils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../app/javascript/src/components/utils.js"],"sourcesContent":["export const getRedirectUri = (appName, subdomain) =>\n `https://www.neeto.com/${appName.toLowerCase()}?utm_source=madewith&utm_campaign=${subdomain}`;\n"],"names":["getRedirectUri","appName","subdomain","concat","toLowerCase"],"mappings":"AAAO,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,OAAO,EAAEC,SAAS,EAAA;EAAA,OAAAC,wBAAAA,CAAAA,MAAA,CACtBF,OAAO,CAACG,WAAW,EAAE,EAAA,oCAAA,CAAA,CAAAD,MAAA,CAAqCD,SAAS,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-thank-you-frontend",
3
- "version": "2.1.36",
3
+ "version": "2.1.38",
4
4
  "description": "A repo acts as the source of truth for the new nano's structure, configs, data etc.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-thank-you-nano",
@@ -60,13 +60,13 @@
60
60
  "@bigbinary/babel-preset-neeto": "^1.0.3",
61
61
  "@bigbinary/eslint-plugin-neeto": "1.5.8",
62
62
  "@bigbinary/neeto-cist": "1.0.15",
63
- "@bigbinary/neeto-commons-frontend": "4.13.29",
64
- "@bigbinary/neeto-editor": "1.45.26",
65
- "@bigbinary/neeto-filters-frontend": "4.3.16",
66
- "@bigbinary/neeto-icons": "1.20.33",
63
+ "@bigbinary/neeto-commons-frontend": "4.13.30",
64
+ "@bigbinary/neeto-editor": "1.45.27",
65
+ "@bigbinary/neeto-filters-frontend": "4.3.17",
66
+ "@bigbinary/neeto-icons": "1.20.37",
67
67
  "@bigbinary/neeto-image-uploader-frontend": "2.3.15",
68
- "@bigbinary/neeto-molecules": "3.16.1",
69
- "@bigbinary/neetoui": "8.2.79",
68
+ "@bigbinary/neeto-molecules": "3.16.13",
69
+ "@bigbinary/neetoui": "8.2.80",
70
70
  "@emotion/is-prop-valid": "1.2.0",
71
71
  "@faker-js/faker": "8.2.0",
72
72
  "@honeybadger-io/js": "6.10.1",
@@ -172,13 +172,13 @@
172
172
  "peerDependencies": {
173
173
  "@babel/runtime": "7.26.10",
174
174
  "@bigbinary/neeto-cist": "1.0.15",
175
- "@bigbinary/neeto-commons-frontend": "4.13.29",
176
- "@bigbinary/neeto-editor": "1.45.26",
177
- "@bigbinary/neeto-filters-frontend": "4.3.16",
178
- "@bigbinary/neeto-icons": "1.20.33",
175
+ "@bigbinary/neeto-commons-frontend": "4.13.30",
176
+ "@bigbinary/neeto-editor": "1.45.27",
177
+ "@bigbinary/neeto-filters-frontend": "4.3.17",
178
+ "@bigbinary/neeto-icons": "1.20.37",
179
179
  "@bigbinary/neeto-image-uploader-frontend": "2.3.15",
180
- "@bigbinary/neeto-molecules": "3.16.1",
181
- "@bigbinary/neetoui": "8.2.79",
180
+ "@bigbinary/neeto-molecules": "3.16.13",
181
+ "@bigbinary/neetoui": "8.2.80",
182
182
  "@honeybadger-io/js": "6.10.1",
183
183
  "@honeybadger-io/react": "6.1.25",
184
184
  "@tailwindcss/container-queries": "^0.1.1",
@@ -25,6 +25,7 @@ interface ConfigureThankYouProps {
25
25
  disableRadioSelection: boolean;
26
26
  disableSubmitAnotherResponse: boolean;
27
27
  appName: string;
28
+ appIcon: ReactElement;
28
29
  customHeader?: React.ReactNode;
29
30
  blockNavigation?: boolean;
30
31
  onConfigUpdateSuccess?: (
@@ -14,6 +14,7 @@ interface ShowThankYouProps {
14
14
  thankYouTextAlignment?: string;
15
15
  publicLinkId: string;
16
16
  appName: string;
17
+ appIcon: ReactElement;
17
18
  editorProps?: object;
18
19
  customPageLoader?: React.ReactNode | (() => React.ReactNode);
19
20
  enableTopLevelRedirect?: boolean;
@@ -1,27 +0,0 @@
1
- import { capitalize } from '@bigbinary/neeto-cist';
2
- import { globalProps } from '@bigbinary/neeto-commons-frontend/initializers';
3
- import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
4
- import { getRedirectUri } from './utils.js';
5
- import { jsx, jsxs } from 'react/jsx-runtime';
6
-
7
- var BrandingInfo = withT(function (_ref) {
8
- var t = _ref.t,
9
- appName = _ref.appName;
10
- return /*#__PURE__*/jsx("div", {
11
- className: "neeto-thank-you-configuration__branding-wrapper",
12
- children: /*#__PURE__*/jsxs("a", {
13
- className: "neeto-thank-you-configuration__branding-link",
14
- href: getRedirectUri(appName, globalProps.organization.subdomain),
15
- rel: "noreferrer",
16
- target: "_blank",
17
- children: [/*#__PURE__*/jsxs("span", {
18
- children: [t("neetoThankYou.thankYou.madeWith"), " "]
19
- }), /*#__PURE__*/jsx("strong", {
20
- children: capitalize(appName)
21
- })]
22
- })
23
- });
24
- });
25
-
26
- export { BrandingInfo as B };
27
- //# sourceMappingURL=BrandingInfo-CjXCjTiP.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrandingInfo-CjXCjTiP.js","sources":["../app/javascript/src/components/commons/BrandingInfo.jsx"],"sourcesContent":["import { capitalize } from \"neetocist\";\nimport { globalProps } from \"neetocommons/initializers\";\nimport { withT } from \"neetocommons/react-utils\";\n\nimport { getRedirectUri } from \"components/utils\";\n\nconst BrandingInfo = withT(({ t, appName }) => (\n <div className=\"neeto-thank-you-configuration__branding-wrapper\">\n <a\n className=\"neeto-thank-you-configuration__branding-link\"\n href={getRedirectUri(appName, globalProps.organization.subdomain)}\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n <span>{t(\"neetoThankYou.thankYou.madeWith\")} </span>\n <strong>{capitalize(appName)}</strong>\n </a>\n </div>\n));\n\nexport default BrandingInfo;\n"],"names":["BrandingInfo","withT","_ref","t","appName","_jsx","className","children","_jsxs","href","getRedirectUri","globalProps","organization","subdomain","rel","target","capitalize"],"mappings":";;;;;;AAMA,IAAMA,YAAY,GAAGC,KAAK,CAAC,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;AAAA,EAAA,oBACtCC,GAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,iDAAiD;AAAAC,IAAAA,QAAA,eAC9DC,IAAA,CAAA,GAAA,EAAA;AACEF,MAAAA,SAAS,EAAC,8CAA8C;MACxDG,IAAI,EAAEC,cAAc,CAACN,OAAO,EAAEO,WAAW,CAACC,YAAY,CAACC,SAAS,CAAE;AAClEC,MAAAA,GAAG,EAAC,YAAY;AAChBC,MAAAA,MAAM,EAAC,QAAQ;AAAAR,MAAAA,QAAA,gBAEfC,IAAA,CAAA,MAAA,EAAA;AAAAD,QAAAA,QAAA,GAAOJ,CAAC,CAAC,iCAAiC,CAAC,EAAC,GAAC;OAAM,CAAC,eACpDE,GAAA,CAAA,QAAA,EAAA;QAAAE,QAAA,EAASS,UAAU,CAACZ,OAAO;AAAC,OAAS,CAAC;KACrC;AAAC,GACD,CAAC;AAAA,CACP;;;;"}
@@ -1,29 +0,0 @@
1
- 'use strict';
2
-
3
- var neetoCist = require('@bigbinary/neeto-cist');
4
- var initializers = require('@bigbinary/neeto-commons-frontend/initializers');
5
- var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
6
- var utils = require('./utils.js');
7
- var jsxRuntime = require('react/jsx-runtime');
8
-
9
- var BrandingInfo = reactUtils.withT(function (_ref) {
10
- var t = _ref.t,
11
- appName = _ref.appName;
12
- return /*#__PURE__*/jsxRuntime.jsx("div", {
13
- className: "neeto-thank-you-configuration__branding-wrapper",
14
- children: /*#__PURE__*/jsxRuntime.jsxs("a", {
15
- className: "neeto-thank-you-configuration__branding-link",
16
- href: utils.getRedirectUri(appName, initializers.globalProps.organization.subdomain),
17
- rel: "noreferrer",
18
- target: "_blank",
19
- children: [/*#__PURE__*/jsxRuntime.jsxs("span", {
20
- children: [t("neetoThankYou.thankYou.madeWith"), " "]
21
- }), /*#__PURE__*/jsxRuntime.jsx("strong", {
22
- children: neetoCist.capitalize(appName)
23
- })]
24
- })
25
- });
26
- });
27
-
28
- exports.BrandingInfo = BrandingInfo;
29
- //# sourceMappingURL=BrandingInfo-u5FM6Y7x.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrandingInfo-u5FM6Y7x.js","sources":["../../app/javascript/src/components/commons/BrandingInfo.jsx"],"sourcesContent":["import { capitalize } from \"neetocist\";\nimport { globalProps } from \"neetocommons/initializers\";\nimport { withT } from \"neetocommons/react-utils\";\n\nimport { getRedirectUri } from \"components/utils\";\n\nconst BrandingInfo = withT(({ t, appName }) => (\n <div className=\"neeto-thank-you-configuration__branding-wrapper\">\n <a\n className=\"neeto-thank-you-configuration__branding-link\"\n href={getRedirectUri(appName, globalProps.organization.subdomain)}\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n <span>{t(\"neetoThankYou.thankYou.madeWith\")} </span>\n <strong>{capitalize(appName)}</strong>\n </a>\n </div>\n));\n\nexport default BrandingInfo;\n"],"names":["BrandingInfo","withT","_ref","t","appName","_jsx","className","children","_jsxs","href","getRedirectUri","globalProps","organization","subdomain","rel","target","capitalize"],"mappings":";;;;;;;;AAMA,IAAMA,YAAY,GAAGC,gBAAK,CAAC,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;AAAA,EAAA,oBACtCC,cAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,iDAAiD;AAAAC,IAAAA,QAAA,eAC9DC,eAAA,CAAA,GAAA,EAAA;AACEF,MAAAA,SAAS,EAAC,8CAA8C;MACxDG,IAAI,EAAEC,oBAAc,CAACN,OAAO,EAAEO,wBAAW,CAACC,YAAY,CAACC,SAAS,CAAE;AAClEC,MAAAA,GAAG,EAAC,YAAY;AAChBC,MAAAA,MAAM,EAAC,QAAQ;AAAAR,MAAAA,QAAA,gBAEfC,eAAA,CAAA,MAAA,EAAA;AAAAD,QAAAA,QAAA,GAAOJ,CAAC,CAAC,iCAAiC,CAAC,EAAC,GAAC;OAAM,CAAC,eACpDE,cAAA,CAAA,QAAA,EAAA;QAAAE,QAAA,EAASS,oBAAU,CAACZ,OAAO;AAAC,OAAS,CAAC;KACrC;AAAC,GACD,CAAC;AAAA,CACP;;;;"}