@bigbinary/neeto-thank-you-frontend 4.0.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.ready +1 -1
- package/dist/BrandingInfo-C-YUyKe_.js.map +1 -1
- package/dist/BrandingInfo-CVoR92MO.js.map +1 -1
- package/dist/ConfigureThankYou.js +12 -26
- package/dist/ConfigureThankYou.js.map +1 -1
- package/dist/ShowThankYou.js +7 -13
- package/dist/ShowThankYou.js.map +1 -1
- package/dist/SocialShare-B0luKbFP.js.map +1 -1
- package/dist/SocialShare-Djluum5G.js.map +1 -1
- package/dist/cjs/BrandingInfo-CxPUChPj.js.map +1 -1
- package/dist/cjs/BrandingInfo-quX3BPdQ.js.map +1 -1
- package/dist/cjs/ConfigureThankYou.js +12 -26
- package/dist/cjs/ConfigureThankYou.js.map +1 -1
- package/dist/cjs/ShowThankYou.js +7 -13
- package/dist/cjs/ShowThankYou.js.map +1 -1
- package/dist/cjs/SocialShare-BFeAkgVT.js.map +1 -1
- package/dist/cjs/SocialShare-CVIbFf_m.js.map +1 -1
- package/dist/cjs/constants.js.map +1 -1
- package/dist/cjs/index-Bp2NY-mY.js.map +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/query.js.map +1 -1
- package/dist/cjs/{thank-you-8kEVnvnv.js → thank-you-BAOIUbgZ.js} +2 -2
- package/dist/cjs/{thank-you-8kEVnvnv.js.map → thank-you-BAOIUbgZ.js.map} +1 -1
- package/dist/cjs/useCreateThankYouConfiguration.js +2 -2
- package/dist/cjs/useDeleteThankYouConfiguration.js +2 -2
- package/dist/cjs/useFetchThankYouConfigurations.js +2 -2
- package/dist/cjs/useShowThankYouConfiguration.js +2 -2
- package/dist/cjs/{useThankYouConfigurationApi-Bx8hQqrm.js → useThankYouConfigurationApi-UzkEcj1r.js} +2 -4
- package/dist/cjs/useThankYouConfigurationApi-UzkEcj1r.js.map +1 -0
- package/dist/cjs/useThankYouPageApi-DeHETkcA.js.map +1 -1
- package/dist/cjs/useUpdateThankYouConfiguration.js +2 -2
- package/dist/cjs/v2/ConfigureThankYou.js +25 -37
- package/dist/cjs/v2/ConfigureThankYou.js.map +1 -1
- package/dist/cjs/v2/ShowThankYou.js +7 -13
- package/dist/cjs/v2/ShowThankYou.js.map +1 -1
- package/dist/cjs/v2/constants.js.map +1 -1
- package/dist/cjs/v2/index.js +4 -4
- package/dist/cjs/v2/useCreateThankYouConfiguration.js +2 -2
- package/dist/cjs/v2/useDeleteThankYouConfiguration.js +2 -2
- package/dist/cjs/v2/useFetchThankYouConfigurations.js +2 -2
- package/dist/cjs/v2/useShowThankYouConfiguration.js +2 -2
- package/dist/cjs/v2/useUpdateThankYouConfiguration.js +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/index-CJXBMIZP.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/query.js.map +1 -1
- package/dist/{thank-you-DdgcPNaF.js → thank-you-CtNe3oCq.js} +2 -2
- package/dist/{thank-you-DdgcPNaF.js.map → thank-you-CtNe3oCq.js.map} +1 -1
- package/dist/useCreateThankYouConfiguration.js +2 -2
- package/dist/useDeleteThankYouConfiguration.js +2 -2
- package/dist/useFetchThankYouConfigurations.js +2 -2
- package/dist/useShowThankYouConfiguration.js +2 -2
- package/dist/{useThankYouConfigurationApi-CCdlqC6e.js → useThankYouConfigurationApi-BfM9KUM4.js} +2 -4
- package/dist/useThankYouConfigurationApi-BfM9KUM4.js.map +1 -0
- package/dist/useThankYouPageApi-Qu4dKbsj.js.map +1 -1
- package/dist/useUpdateThankYouConfiguration.js +2 -2
- package/dist/v2/ConfigureThankYou.js +25 -37
- package/dist/v2/ConfigureThankYou.js.map +1 -1
- package/dist/v2/ShowThankYou.js +7 -13
- package/dist/v2/ShowThankYou.js.map +1 -1
- package/dist/v2/constants.js.map +1 -1
- package/dist/v2/index.js +4 -4
- package/dist/v2/useCreateThankYouConfiguration.js +2 -2
- package/dist/v2/useDeleteThankYouConfiguration.js +2 -2
- package/dist/v2/useFetchThankYouConfigurations.js +2 -2
- package/dist/v2/useShowThankYouConfiguration.js +2 -2
- package/dist/v2/useUpdateThankYouConfiguration.js +2 -2
- package/package.json +45 -44
- package/dist/cjs/useThankYouConfigurationApi-Bx8hQqrm.js.map +0 -1
- package/dist/useThankYouConfigurationApi-CCdlqC6e.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export { default as ConfigureThankYou } from './ConfigureThankYou.js';
|
|
2
2
|
export { default as ShowThankYou } from './ShowThankYou.js';
|
|
3
|
-
export { u as useCreateThankYouConfiguration, a as useDeleteThankYouConfiguration, b as useFetchThankYouConfigurations, c as useShowThankYouConfiguration, d as useUpdateThankYouConfiguration } from './useThankYouConfigurationApi-
|
|
3
|
+
export { u as useCreateThankYouConfiguration, a as useDeleteThankYouConfiguration, b as useFetchThankYouConfigurations, c as useShowThankYouConfiguration, d as useUpdateThankYouConfiguration } from './useThankYouConfigurationApi-BfM9KUM4.js';
|
|
4
4
|
export { u as useShowThankYouPage } from './useThankYouPageApi-Qu4dKbsj.js';
|
|
5
|
-
import { n } from './thank-you-
|
|
5
|
+
import { n } from './thank-you-CtNe3oCq.js';
|
|
6
6
|
import '@bigbinary/neeto-cist';
|
|
7
7
|
import './SocialShare-B0luKbFP.js';
|
|
8
8
|
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
9
9
|
import 'i18next';
|
|
10
10
|
import 'react/jsx-runtime';
|
|
11
11
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
12
|
-
import '@babel/runtime/helpers/
|
|
12
|
+
import '@babel/runtime/helpers/objectSpread2';
|
|
13
13
|
import '@babel/runtime/helpers/slicedToArray';
|
|
14
14
|
import 'react';
|
|
15
15
|
import 'classnames';
|
|
@@ -49,6 +49,6 @@ import '@bigbinary/neeto-commons-frontend/utils';
|
|
|
49
49
|
import './index-CJXBMIZP.js';
|
|
50
50
|
import './query.js';
|
|
51
51
|
|
|
52
|
-
var css = "/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-x-reverse:0;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:1.33333;--font-weight-normal:400;--leading-snug:1.375;--leading-normal:1.5;--radius-md:.375rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-feature-settings:var(--default-font-feature-settings,normal);-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-variation-settings:normal;font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-feature-settings:var(--default-mono-font-feature-settings,normal);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-size:1em;font-variation-settings:normal;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{font-feature-settings:inherit;background-color:#0000;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}::file-selector-button{font-feature-settings:inherit;background-color:#0000;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.sticky{position:sticky}.bottom-0{bottom:calc(var(--spacing)*0)}.isolate{isolation:isolate}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline{display:inline}.h-full{height:100%}.w-full{width:100%}.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*2*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*2*var(--tw-space-x-reverse))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.overflow-y-auto{overflow-y:auto}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-5{padding-block:calc(var(--spacing)*5)}.py-10{padding-block:calc(var(--spacing)*10)}.text-xs{font-size:var(--text-xs);line-height:var(--text-xs--line-height);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.lowercase{text-transform:lowercase}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:40rem){.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.md\\:hidden{display:none}.md\\:px-10{padding-inline:calc(var(--spacing)*10)}}@media (min-width:64rem){.lg\\:hidden{display:none}.lg\\:h-full{height:100%}.lg\\:w-1\\/2{width:50%}.lg\\:flex-row{flex-direction:row}.lg\\:overflow-y-auto{overflow-y:auto}}}: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;--thankyou-branding-info-section-height:2.5rem}.neeto-thank-you-configuration-preview__wrapper{display:flex;flex-direction:column}.neeto-thank-you-configuration{height:100dvh;position:relative;width:100%}.neeto-thank-you-configuration__main{height:100%;overflow-y:auto}.neeto-thank-you-configuration__box{container:thank-you-configuration-box/inline-size;margin-inline:auto;margin-bottom:3.5rem;margin-top:3.5rem;max-width:51.25rem;padding:3.5rem .9375rem;position:relative;text-align:center;width:100%}.neeto-thank-you-configuration__redirect-message{font-size:.75rem;opacity:.75}.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:start}.neeto-thank-you-configuration__title{font-size:2rem;line-height:1.25;margin:.67em 0}.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:1.25rem;font-weight:500;line-height:1.2;margin:.8rem 0}.neeto-thank-you-configuration__resubmit{border-bottom:1px solid;font-weight:600}.neeto-thank-you-configuration__box--is-cta-visible{padding-bottom:.9375rem}.neeto-thank-you-configuration__cta{align-items:center;background-color:#f6f7f8;border:1px solid #025e7033;border-radius:.5rem;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-top:4rem;padding:1.25rem}@container thank-you-configuration-box not (min-width:780px){.neeto-thank-you-configuration__cta{gap:1rem;justify-content:center!important}}.neeto-thank-you-configuration__cta .neeto-thank-you-configuration__cta-message{color:#344054!important;font-size:1rem;font-weight:400;line-height:1.5}.neeto-thank-you-configuration__cta-button{align-items:center;background-color:#008068!important;border-radius:.25rem;color:#fff!important;cursor:pointer;display:flex;font-size:1rem!important;font-weight:500;height:2.5rem;justify-content:center;line-height:1.2;opacity:1!important;padding:.25rem 1rem;text-decoration:none;text-decoration:none!important;transition:all .3s;-moz-user-select:none;user-select:none;white-space:nowrap}.neeto-thank-you-configuration__cta-button:focus,.neeto-thank-you-configuration__cta-button:focus-visible,.neeto-thank-you-configuration__cta-button:hover{background-color:#007a64!important}.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;inset-inline-start:.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-inline-end:0!important}.neeto-thank-you-configuration-radio__item.neeto-ui-radio__item{align-items:flex-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))}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}";
|
|
52
|
+
var css = "/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-x-reverse:0;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:1.33333;--font-weight-normal:400;--leading-snug:1.375;--leading-normal:1.5;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-feature-settings:var(--default-font-feature-settings,normal);-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-variation-settings:normal;font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-feature-settings:var(--default-mono-font-feature-settings,normal);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-size:1em;font-variation-settings:normal;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{font-feature-settings:inherit;background-color:#0000;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}::file-selector-button{font-feature-settings:inherit;background-color:#0000;border-radius:0;color:inherit;font:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.sticky{position:sticky}.bottom-0{bottom:0;bottom:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-10{z-index:10}.mt-6{margin-top:1.5rem;margin-top:calc(var(--spacing)*6)}.mb-3{margin-bottom:.75rem;margin-bottom:calc(var(--spacing)*3)}.mb-6{margin-bottom:1.5rem;margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:2rem;margin-bottom:calc(var(--spacing)*8)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline{display:inline}.h-full{height:100%}.w-full{width:100%}.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem;gap:calc(var(--spacing)*2)}.gap-3{gap:.75rem;gap:calc(var(--spacing)*3)}.gap-4{gap:1rem;gap:calc(var(--spacing)*4)}.gap-6{gap:1.5rem;gap:calc(var(--spacing)*6)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:.5rem;margin-inline-end:calc(var(--spacing)*2*(1 - var(--tw-space-x-reverse)));margin-inline-start:0;margin-inline-start:calc(var(--spacing)*2*var(--tw-space-x-reverse))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:1rem;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:0;margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.overflow-y-auto{overflow-y:auto}.px-5{padding-inline:1.25rem;padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:1.5rem;padding-inline:calc(var(--spacing)*6)}.py-5{padding-block:1.25rem;padding-block:calc(var(--spacing)*5)}.py-10{padding-block:2.5rem;padding-block:calc(var(--spacing)*10)}.text-xs{font-size:.75rem;font-size:var(--text-xs);line-height:1.33333;line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-normal{--tw-leading:var(--leading-normal);line-height:1.5;line-height:var(--leading-normal)}.leading-snug{--tw-leading:var(--leading-snug);line-height:1.375;line-height:var(--leading-snug)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:400;font-weight:var(--font-weight-normal)}.lowercase{text-transform:lowercase}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}@media (min-width:40rem){.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.md\\:hidden{display:none}.md\\:px-7{padding-inline:1.75rem;padding-inline:calc(var(--spacing)*7)}.md\\:px-10{padding-inline:2.5rem;padding-inline:calc(var(--spacing)*10)}}@media (min-width:64rem){.lg\\:hidden{display:none}.lg\\:h-full{height:100%}.lg\\:w-1\\/2{width:50%}.lg\\:flex-row{flex-direction:row}.lg\\:overflow-y-auto{overflow-y:auto}}@media (min-width:96rem){.\\32 xl\\:px-8{padding-inline:2rem;padding-inline:calc(var(--spacing)*8)}}}: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;--thankyou-branding-info-section-height:2.5rem}.neeto-thank-you-configuration-preview__wrapper{display:flex;flex-direction:column}.neeto-thank-you-configuration{height:100dvh;position:relative;width:100%}.neeto-thank-you-configuration__main{height:100%;overflow-y:auto}.neeto-thank-you-configuration__box{container:thank-you-configuration-box/inline-size;margin-inline:auto;margin-bottom:3.5rem;margin-top:3.5rem;max-width:51.25rem;padding:3.5rem .9375rem;position:relative;text-align:center;width:100%}.neeto-thank-you-configuration__redirect-message{font-size:.75rem;opacity:.75}.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:start}.neeto-thank-you-configuration__title{font-size:2rem;line-height:1.25;margin:.67em 0}.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:1.25rem;font-weight:500;line-height:1.2;margin:.8rem 0}.neeto-thank-you-configuration__resubmit{border-bottom:1px solid;font-weight:600}.neeto-thank-you-configuration__box--is-cta-visible{padding-bottom:.9375rem}.neeto-thank-you-configuration__cta{align-items:center;background-color:#f6f7f8;border:1px solid #025e7033;border-radius:.5rem;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-top:4rem;padding:1.25rem}@container thank-you-configuration-box not (min-width:780px){.neeto-thank-you-configuration__cta{gap:1rem;justify-content:center!important}}.neeto-thank-you-configuration__cta .neeto-thank-you-configuration__cta-message{color:#344054!important;font-size:1rem;font-weight:400;line-height:1.5}.neeto-thank-you-configuration__cta-button{align-items:center;background-color:#008068!important;border-radius:.25rem;color:#fff!important;cursor:pointer;display:flex;font-size:1rem!important;font-weight:500;height:2.5rem;justify-content:center;line-height:1.2;opacity:1!important;padding:.25rem 1rem;text-decoration:none;text-decoration:none!important;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.neeto-thank-you-configuration__cta-button:focus,.neeto-thank-you-configuration__cta-button:focus-visible,.neeto-thank-you-configuration__cta-button:hover{background-color:#007a64!important}.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;inset-inline-start:.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-inline-end:0!important}.neeto-thank-you-configuration-radio__item.neeto-ui-radio__item{align-items:flex-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))}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}";
|
|
53
53
|
n(css,{});
|
|
54
54
|
//# sourceMappingURL=index.js.map
|
package/dist/query.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sources":["../app/javascript/src/constants/query.js"],"sourcesContent":["export const QUERY_KEYS = {\n THANK_YOU_CONFIGURATION: \"thank-you-configuration\",\n THANK_YOU_PAGE: \"thank-you-page\",\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"query.js","sources":["../app/javascript/src/constants/query.js"],"sourcesContent":["export const QUERY_KEYS = {\n THANK_YOU_CONFIGURATION: \"thank-you-configuration\",\n THANK_YOU_PAGE: \"thank-you-page\",\n};\n"],"names":[],"mappings":"AAAO,IAAM,UAAU,GAAG;AACxB,EAAA,uBAAuB,EAAE,yBAAyB;AAClD,EAAA,cAAc,EAAE;AAClB;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=true===r.prepend?"prepend":"append",d=true===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}}
|
|
2
2
|
|
|
3
|
-
var css = ".neeto-thank-you-configuration-preview__wrapper{display:flex;flex-direction:column}.neeto-thank-you-configuration{height:100dvh;position:relative;width:100%}.neeto-thank-you-configuration__main{height:100%;overflow-y:auto}.neeto-thank-you-configuration__box{container-name:thank-you-configuration-box;container-type:inline-size;margin-inline-end:auto;margin-inline-start:auto;margin-bottom:3.5rem;margin-top:3.5rem;max-width:51.25rem;padding:3.5rem .9375rem;position:relative;text-align:center;width:100%}.neeto-thank-you-configuration__redirect-message{font-size:.75rem;opacity:.75}.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:start}.neeto-thank-you-configuration__title{font-size:2rem;line-height:1.25;margin:.67em 0}.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:1.25rem;font-weight:500;line-height:1.2;margin:.8rem 0}.neeto-thank-you-configuration__resubmit{border-bottom:1px solid;font-weight:600}.neeto-thank-you-configuration__box--is-cta-visible{padding-bottom:.9375rem}.neeto-thank-you-configuration__cta{align-items:center;background-color:#f6f7f8;border:1px solid rgba(2,94,112,.2);border-radius:.5rem;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-top:4rem;padding:1.25rem}@container thank-you-configuration-box (width < 780px){.neeto-thank-you-configuration__cta{gap:1rem;justify-content:center!important}}.neeto-thank-you-configuration__cta .neeto-thank-you-configuration__cta-message{color:#344054!important;font-size:1rem;font-weight:400;line-height:1.5}.neeto-thank-you-configuration__cta-button{align-items:center;background-color:#008068!important;border-radius:.25rem;color:#fff!important;cursor:pointer;display:flex;font-size:1rem!important;font-weight:500;height:2.5rem;justify-content:center;line-height:1.2;opacity:1!important;padding:.25rem 1rem;text-decoration:none;text-decoration:none!important;transition:all .3s ease;-moz-user-select:none;user-select:none;white-space:nowrap}.neeto-thank-you-configuration__cta-button:focus,.neeto-thank-you-configuration__cta-button:focus-visible,.neeto-thank-you-configuration__cta-button:hover{background-color:#007a64!important}.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;inset-inline-start:.75rem;position:fixed}.neeto-thank-you-configuration__draft-preview-message{font-size:.75rem;line-height:1.5}";
|
|
3
|
+
var css = ".neeto-thank-you-configuration-preview__wrapper{display:flex;flex-direction:column}.neeto-thank-you-configuration{height:100dvh;position:relative;width:100%}.neeto-thank-you-configuration__main{height:100%;overflow-y:auto}.neeto-thank-you-configuration__box{container-name:thank-you-configuration-box;container-type:inline-size;margin-inline-end:auto;margin-inline-start:auto;margin-bottom:3.5rem;margin-top:3.5rem;max-width:51.25rem;padding:3.5rem .9375rem;position:relative;text-align:center;width:100%}.neeto-thank-you-configuration__redirect-message{font-size:.75rem;opacity:.75}.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:start}.neeto-thank-you-configuration__title{font-size:2rem;line-height:1.25;margin:.67em 0}.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:1.25rem;font-weight:500;line-height:1.2;margin:.8rem 0}.neeto-thank-you-configuration__resubmit{border-bottom:1px solid;font-weight:600}.neeto-thank-you-configuration__box--is-cta-visible{padding-bottom:.9375rem}.neeto-thank-you-configuration__cta{align-items:center;background-color:#f6f7f8;border:1px solid rgba(2,94,112,.2);border-radius:.5rem;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-top:4rem;padding:1.25rem}@container thank-you-configuration-box (width < 780px){.neeto-thank-you-configuration__cta{gap:1rem;justify-content:center!important}}.neeto-thank-you-configuration__cta .neeto-thank-you-configuration__cta-message{color:#344054!important;font-size:1rem;font-weight:400;line-height:1.5}.neeto-thank-you-configuration__cta-button{align-items:center;background-color:#008068!important;border-radius:.25rem;color:#fff!important;cursor:pointer;display:flex;font-size:1rem!important;font-weight:500;height:2.5rem;justify-content:center;line-height:1.2;opacity:1!important;padding:.25rem 1rem;text-decoration:none;text-decoration:none!important;transition:all .3s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.neeto-thank-you-configuration__cta-button:focus,.neeto-thank-you-configuration__cta-button:focus-visible,.neeto-thank-you-configuration__cta-button:hover{background-color:#007a64!important}.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;inset-inline-start:.75rem;position:fixed}.neeto-thank-you-configuration__draft-preview-message{font-size:.75rem;line-height:1.5}";
|
|
4
4
|
n(css,{});
|
|
5
5
|
|
|
6
6
|
export { n };
|
|
7
|
-
//# sourceMappingURL=thank-you-
|
|
7
|
+
//# sourceMappingURL=thank-you-CtNe3oCq.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thank-you-
|
|
1
|
+
{"version":3,"file":"thank-you-CtNe3oCq.js","sources":["../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js"],"sourcesContent":["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"],"names":[],"mappings":"AAAA,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,IAAE,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAE,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,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,EAAC,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,YAAY,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useCreateThankYouConfiguration } from './useThankYouConfigurationApi-
|
|
1
|
+
import { u as useCreateThankYouConfiguration } from './useThankYouConfigurationApi-BfM9KUM4.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import '@babel/runtime/helpers/
|
|
3
|
+
import '@babel/runtime/helpers/objectSpread2';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
6
6
|
import 'axios';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as useDeleteThankYouConfiguration } from './useThankYouConfigurationApi-
|
|
1
|
+
import { a as useDeleteThankYouConfiguration } from './useThankYouConfigurationApi-BfM9KUM4.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import '@babel/runtime/helpers/
|
|
3
|
+
import '@babel/runtime/helpers/objectSpread2';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
6
6
|
import 'axios';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as useFetchThankYouConfigurations } from './useThankYouConfigurationApi-
|
|
1
|
+
import { b as useFetchThankYouConfigurations } from './useThankYouConfigurationApi-BfM9KUM4.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import '@babel/runtime/helpers/
|
|
3
|
+
import '@babel/runtime/helpers/objectSpread2';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
6
6
|
import 'axios';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as useShowThankYouConfiguration } from './useThankYouConfigurationApi-
|
|
1
|
+
import { c as useShowThankYouConfiguration } from './useThankYouConfigurationApi-BfM9KUM4.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import '@babel/runtime/helpers/
|
|
3
|
+
import '@babel/runtime/helpers/objectSpread2';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
6
6
|
import 'axios';
|
package/dist/{useThankYouConfigurationApi-CCdlqC6e.js → useThankYouConfigurationApi-BfM9KUM4.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
2
|
-
import
|
|
2
|
+
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
3
3
|
import { useQuery } from '@tanstack/react-query';
|
|
4
4
|
import { useMutationWithInvalidation } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
5
5
|
import axios from 'axios';
|
|
@@ -54,8 +54,6 @@ var thankYouConfigurationApi = {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
var _excluded = ["entityId", "id"];
|
|
57
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
58
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
59
57
|
var useFetchThankYouConfigurations = function useFetchThankYouConfigurations(entityId) {
|
|
60
58
|
var filters = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
61
59
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
@@ -112,4 +110,4 @@ var useDeleteThankYouConfiguration = function useDeleteThankYouConfiguration(ent
|
|
|
112
110
|
};
|
|
113
111
|
|
|
114
112
|
export { useDeleteThankYouConfiguration as a, useFetchThankYouConfigurations as b, useShowThankYouConfiguration as c, useUpdateThankYouConfiguration as d, useCreateThankYouConfiguration as u };
|
|
115
|
-
//# sourceMappingURL=useThankYouConfigurationApi-
|
|
113
|
+
//# sourceMappingURL=useThankYouConfigurationApi-BfM9KUM4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useThankYouConfigurationApi-BfM9KUM4.js","sources":["../app/javascript/src/apis/thank_you_configuration.js","../app/javascript/src/hooks/reactQuery/useThankYouConfigurationApi.js"],"sourcesContent":["import axios from \"axios\";\nimport { buildUrl } from \"neetocommons/utils\";\n\nimport {\n THANK_YOU_CONFIGURATIONS_URL,\n THANK_YOU_CONFIGURATION_URL,\n} from \"src/constants\";\n\nconst fetch = (entityId, params = {}) =>\n axios.get(buildUrl(THANK_YOU_CONFIGURATIONS_URL, { entityId }), {\n params,\n });\n\nconst create = ({ entityId, payload }) =>\n axios.post(buildUrl(THANK_YOU_CONFIGURATIONS_URL, { entityId }), payload);\n\nconst show = (entityId, id) =>\n axios.get(buildUrl(THANK_YOU_CONFIGURATION_URL, { entityId, id }));\n\nconst update = ({ entityId, id, payload }) =>\n axios.put(buildUrl(THANK_YOU_CONFIGURATION_URL, { id }), {\n entityId,\n thankYouConfiguration: payload,\n });\n\nconst destroy = (entityId, id) =>\n axios.delete(buildUrl(THANK_YOU_CONFIGURATION_URL, { entityId, id }));\n\nconst thankYouConfigurationApi = { fetch, create, show, update, destroy };\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 useFetchThankYouConfigurations = (\n entityId,\n filters = {},\n options = {}\n) =>\n useQuery({\n queryKey: [QUERY_KEYS.THANK_YOU_CONFIGURATION, entityId, filters],\n queryFn: () => thankYouConfigurationApi.fetch(entityId, filters),\n ...options,\n });\n\nexport const useCreateThankYouConfiguration = (entityId, options = {}) =>\n useMutationWithInvalidation(\n payload => thankYouConfigurationApi.create({ entityId, payload }),\n {\n ...options,\n keysToInvalidate: [QUERY_KEYS.THANK_YOU_CONFIGURATION],\n }\n );\n\nexport const useShowThankYouConfiguration = ({ entityId, id, ...options }) =>\n useQuery({\n queryKey: [QUERY_KEYS.THANK_YOU_CONFIGURATION, entityId, id],\n queryFn: () => thankYouConfigurationApi.show(entityId, id),\n ...options,\n });\n\nexport const useUpdateThankYouConfiguration = (id, options = {}) =>\n useMutationWithInvalidation(\n ({ entityId, payload }) =>\n thankYouConfigurationApi.update({ id, entityId, payload }),\n {\n keysToInvalidate: [QUERY_KEYS.THANK_YOU_CONFIGURATION],\n ...options,\n }\n );\n\nexport const useDeleteThankYouConfiguration = (entityId, options = {}) =>\n useMutationWithInvalidation(\n id => thankYouConfigurationApi.destroy(entityId, id),\n {\n keysToInvalidate: [QUERY_KEYS.THANK_YOU_CONFIGURATION, entityId],\n ...options,\n }\n );\n"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThankYouPageApi-Qu4dKbsj.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, resourceId, isTemplateView }) =>\n axios.get(baseUrl, { params: { entityId, resourceId, 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, resourceId, isTemplateView }) =>\n useQuery({\n queryKey: [QUERY_KEYS.THANK_YOU_PAGE, entityId],\n queryFn: () =>\n thankYouPageApi.show({ entityId, resourceId, isTemplateView }),\n });\n"],"names":[
|
|
1
|
+
{"version":3,"file":"useThankYouPageApi-Qu4dKbsj.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, resourceId, isTemplateView }) =>\n axios.get(baseUrl, { params: { entityId, resourceId, 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, resourceId, isTemplateView }) =>\n useQuery({\n queryKey: [QUERY_KEYS.THANK_YOU_PAGE, entityId],\n queryFn: () =>\n thankYouPageApi.show({ entityId, resourceId, isTemplateView }),\n });\n"],"names":[],"mappings":";;;;;AAIA,IAAM,OAAO,GAAA,EAAA,CAAA,MAAA,CAAM,yBAAyB,EAAA,iBAAA,CAAiB;AAE7D,IAAM,IAAI,GAAG,SAAP,IAAI,CAAA,IAAA,EAAA;EAAA,IAAM,QAAQ,QAAR,QAAQ;AAAE,IAAA,UAAU,QAAV,UAAU;AAAE,IAAA,cAAc,QAAd,cAAc;AAAA,EAAA,OAClD,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE;AAAE,IAAA,MAAM,EAAE;AAAE,MAAA,QAAQ,EAAR,QAAQ;AAAE,MAAA,UAAU,EAAV,UAAU;AAAE,MAAA,cAAc,EAAd;AAAe;AAAE,GAAC,CAAC;AAAA,CAAA;AAE1E,IAAM,eAAe,GAAG;AAAE,EAAA,IAAI,EAAJ;AAAK,CAAC;;ACJzB,IAAM,mBAAmB,GAAG,SAAtB,mBAAmB,CAAA,IAAA,EAAA;EAAA,IAAM,QAAQ,QAAR,QAAQ;AAAE,IAAA,UAAU,QAAV,UAAU;AAAE,IAAA,cAAc,QAAd,cAAc;AAAA,EAAA,OACxE,QAAQ,CAAC;AACP,IAAA,QAAQ,EAAE,CAAC,UAAU,CAAC,cAAc,EAAE,QAAQ,CAAC;IAC/C,OAAO,EAAE,SAAT,OAAO,GAAA;MAAA,OACL,eAAe,CAAC,IAAI,CAAC;AAAE,QAAA,QAAQ,EAAR,QAAQ;AAAE,QAAA,UAAU,EAAV,UAAU;AAAE,QAAA,cAAc,EAAd;AAAe,OAAC,CAAC;AAAA,IAAA;AAClE,GAAC,CAAC;AAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as useUpdateThankYouConfiguration } from './useThankYouConfigurationApi-
|
|
1
|
+
import { d as useUpdateThankYouConfiguration } from './useThankYouConfigurationApi-BfM9KUM4.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
|
-
import '@babel/runtime/helpers/
|
|
3
|
+
import '@babel/runtime/helpers/objectSpread2';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
6
6
|
import 'axios';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { isPresent, hyphenate, isNotEmpty, noop } from '@bigbinary/neeto-cist';
|
|
2
|
-
import { n } from '../thank-you-
|
|
2
|
+
import { n } from '../thank-you-CtNe3oCq.js';
|
|
3
3
|
import { S as SocialShare, C as CallToAction, R as REDIRECT_DELAY, F as FORM_OPTIONS, T as THANK_YOU_TEXT_ALIGNMENTS, a as THANK_YOU_KINDS } from '../SocialShare-Djluum5G.js';
|
|
4
|
-
import
|
|
4
|
+
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
5
5
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
6
6
|
import { useEffect, memo, useState, useRef } from 'react';
|
|
7
|
+
import classNames from 'classnames';
|
|
7
8
|
import { Dialog, Button, Typography, Label, Spinner } from '@bigbinary/neeto-atoms';
|
|
8
9
|
import { Switch, Input, Form as Form$1, BlockNavigation, RadioGroup, ActionBlock } from '@bigbinary/neeto-atoms/formik';
|
|
9
|
-
import classNames from 'classnames';
|
|
10
10
|
import MobilePreviewHeader from '@bigbinary/neeto-molecules/v2/MobilePreviewHeader';
|
|
11
11
|
import { isEmpty } from 'ramda';
|
|
12
12
|
import { useTranslation } from 'react-i18next';
|
|
13
|
-
import { b as useFetchThankYouConfigurations, c as useShowThankYouConfiguration, d as useUpdateThankYouConfiguration } from '../useThankYouConfigurationApi-
|
|
13
|
+
import { b as useFetchThankYouConfigurations, c as useShowThankYouConfiguration, d as useUpdateThankYouConfiguration } from '../useThankYouConfigurationApi-BfM9KUM4.js';
|
|
14
14
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
15
15
|
import { useFormikContext } from 'formik';
|
|
16
16
|
import FormikEditor from '@bigbinary/neeto-editor-frontend/v2/FormikEditor';
|
|
@@ -36,7 +36,7 @@ import '../index-CJXBMIZP.js';
|
|
|
36
36
|
import '../query.js';
|
|
37
37
|
import '@bigbinary/neeto-molecules/v2/MadeWith';
|
|
38
38
|
|
|
39
|
-
var css = ".neeto-thank-you-configuration-radio__item{align-items:flex-start;background-color:var(--background);border:1px solid var(--border);border-radius:var(--
|
|
39
|
+
var css = ".neeto-thank-you-configuration-radio__item{align-items:flex-start;background-color:var(--background);border:1px solid var(--border);border-radius:.75rem;gap:.75rem;padding:1rem 1.125rem;position:relative;transition:border-color .15s ease,box-shadow .15s ease}.neeto-thank-you-configuration-radio__item:hover{border-color:var(--input)}.neeto-thank-you-configuration-radio__item [data-slot=label]{font-size:.9375rem;font-weight:600;line-height:1.35}.neeto-thank-you-configuration-radio__item [data-slot=label]:after{content:\"\";inset:0;position:absolute}.neeto-thank-you-configuration-radio__item [data-slot=field-description]{color:var(--muted-foreground);font-size:.875rem;line-height:1.5;margin-top:.125rem}.neeto-thank-you-configuration-radio__item.active{background-color:var(--brand-tint);border-color:var(--brand-border)}";
|
|
40
40
|
n(css,{});
|
|
41
41
|
|
|
42
42
|
var ResubmissionWarningModal = withT(function (_ref) {
|
|
@@ -56,16 +56,15 @@ var ResubmissionWarningModal = withT(function (_ref) {
|
|
|
56
56
|
}), /*#__PURE__*/jsx(Dialog.Body, {
|
|
57
57
|
children: t("neetoThankYou.thankYou.resubmissionWarning")
|
|
58
58
|
}), /*#__PURE__*/jsxs(Dialog.Footer, {
|
|
59
|
-
className: "space-x-2",
|
|
60
59
|
children: [/*#__PURE__*/jsx(Button, {
|
|
60
|
+
label: t("neetoThankYou.thankYou.uniqueSubmissionLinkText"),
|
|
61
|
+
to: uniqueSubmissionLink
|
|
62
|
+
}), /*#__PURE__*/jsx(Button, {
|
|
61
63
|
label: t("neetoThankYou.common.ok"),
|
|
62
64
|
variant: "outline",
|
|
63
65
|
onClick: function onClick() {
|
|
64
66
|
return setIsOpen(false);
|
|
65
67
|
}
|
|
66
|
-
}), /*#__PURE__*/jsx(Button, {
|
|
67
|
-
label: t("neetoThankYou.thankYou.uniqueSubmissionLinkText"),
|
|
68
|
-
to: uniqueSubmissionLink
|
|
69
68
|
})]
|
|
70
69
|
})]
|
|
71
70
|
});
|
|
@@ -74,8 +73,6 @@ var ResubmissionWarningModal = withT(function (_ref) {
|
|
|
74
73
|
var EXTERNAL_URL_PREFIX = "https://";
|
|
75
74
|
var DEFAULT_EDITOR_ADDONS = ["emoji"];
|
|
76
75
|
|
|
77
|
-
function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
78
|
-
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
79
76
|
var Customize = function Customize(_ref) {
|
|
80
77
|
var editorRef = _ref.editorRef,
|
|
81
78
|
editorProps = _ref.editorProps,
|
|
@@ -111,7 +108,7 @@ var Customize = function Customize(_ref) {
|
|
|
111
108
|
className: "flex flex-col gap-6",
|
|
112
109
|
children: [/*#__PURE__*/jsx("div", {
|
|
113
110
|
className: "flex flex-col gap-2",
|
|
114
|
-
children: /*#__PURE__*/jsx(FormikEditor, _objectSpread
|
|
111
|
+
children: /*#__PURE__*/jsx(FormikEditor, _objectSpread({
|
|
115
112
|
required: true,
|
|
116
113
|
addons: editorAddons,
|
|
117
114
|
"data-testid": "thank-you-message-editor",
|
|
@@ -146,8 +143,6 @@ var Customize = function Customize(_ref) {
|
|
|
146
143
|
});
|
|
147
144
|
};
|
|
148
145
|
|
|
149
|
-
function ownKeys$5(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
150
|
-
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
151
146
|
var MemoizedEditorContent$1 = /*#__PURE__*/memo(EditorContent);
|
|
152
147
|
var CustomMessage = function CustomMessage(_ref) {
|
|
153
148
|
var _values$resubmitLinkT;
|
|
@@ -165,7 +160,7 @@ var CustomMessage = function CustomMessage(_ref) {
|
|
|
165
160
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
166
161
|
children: [(values === null || values === void 0 ? void 0 : values.message) && /*#__PURE__*/jsx("div", {
|
|
167
162
|
className: "neeto-thank-you-configuration__description text-foreground",
|
|
168
|
-
children: /*#__PURE__*/jsx(MemoizedEditorContent$1, _objectSpread
|
|
163
|
+
children: /*#__PURE__*/jsx(MemoizedEditorContent$1, _objectSpread({
|
|
169
164
|
content: values.message,
|
|
170
165
|
"data-testid": "preview-editor-content"
|
|
171
166
|
}, editorProps))
|
|
@@ -177,14 +172,12 @@ var CustomMessage = function CustomMessage(_ref) {
|
|
|
177
172
|
}), (values === null || values === void 0 ? void 0 : values.socialSharingEnabled) && /*#__PURE__*/jsx(SocialShare, {
|
|
178
173
|
publicLinkId: publicLinkId,
|
|
179
174
|
socialHandles: socialHandles
|
|
180
|
-
}), isPresent(ctaProps) && /*#__PURE__*/jsx(CallToAction, _objectSpread
|
|
175
|
+
}), isPresent(ctaProps) && /*#__PURE__*/jsx(CallToAction, _objectSpread({}, _objectSpread({
|
|
181
176
|
appName: appName
|
|
182
177
|
}, ctaProps)))]
|
|
183
178
|
});
|
|
184
179
|
};
|
|
185
180
|
|
|
186
|
-
function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
187
|
-
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
188
181
|
var MemoizedEditorContent = /*#__PURE__*/memo(EditorContent);
|
|
189
182
|
var RedirectMessage = function RedirectMessage(_ref) {
|
|
190
183
|
var editorProps = _ref.editorProps,
|
|
@@ -198,7 +191,7 @@ var RedirectMessage = function RedirectMessage(_ref) {
|
|
|
198
191
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
199
192
|
children: [(values === null || values === void 0 ? void 0 : values.redirectMessage) && /*#__PURE__*/jsx("div", {
|
|
200
193
|
className: "neeto-thank-you-configuration__description mt-6",
|
|
201
|
-
children: /*#__PURE__*/jsx(MemoizedEditorContent, _objectSpread
|
|
194
|
+
children: /*#__PURE__*/jsx(MemoizedEditorContent, _objectSpread({
|
|
202
195
|
content: values.redirectMessage,
|
|
203
196
|
"data-testid": "preview-editor-content"
|
|
204
197
|
}, editorProps))
|
|
@@ -207,14 +200,12 @@ var RedirectMessage = function RedirectMessage(_ref) {
|
|
|
207
200
|
children: t("neetoThankYou.thankYou.redirectingInSecondsMessage", {
|
|
208
201
|
seconds: REDIRECT_DELAY
|
|
209
202
|
})
|
|
210
|
-
}), isPresent(ctaProps) && /*#__PURE__*/jsx(CallToAction, _objectSpread
|
|
203
|
+
}), isPresent(ctaProps) && /*#__PURE__*/jsx(CallToAction, _objectSpread({}, _objectSpread({
|
|
211
204
|
appName: appName
|
|
212
205
|
}, ctaProps)))]
|
|
213
206
|
});
|
|
214
207
|
};
|
|
215
208
|
|
|
216
|
-
function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
217
|
-
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
218
209
|
var Preview = function Preview(_ref) {
|
|
219
210
|
var socialHandles = _ref.socialHandles,
|
|
220
211
|
thankYouTextAlignment = _ref.thankYouTextAlignment,
|
|
@@ -236,7 +227,10 @@ var Preview = function Preview(_ref) {
|
|
|
236
227
|
variant: "h3",
|
|
237
228
|
weight: "semibold",
|
|
238
229
|
children: t("neetoThankYou.thankYou.preview")
|
|
239
|
-
}), /*#__PURE__*/jsxs(BrowserPreview
|
|
230
|
+
}), /*#__PURE__*/jsxs(BrowserPreview
|
|
231
|
+
// v2 revamp: customer-facing previews stay light in dark mode.
|
|
232
|
+
, {
|
|
233
|
+
wrapperClassName: "light text-foreground",
|
|
240
234
|
className: classNames({
|
|
241
235
|
"neeto-thank-you-configuration-alignment--left": thankYouTextAlignment === THANK_YOU_TEXT_ALIGNMENTS.left,
|
|
242
236
|
"neeto-thank-you-configuration-alignment--center": thankYouTextAlignment === THANK_YOU_TEXT_ALIGNMENTS.center
|
|
@@ -250,7 +244,7 @@ var Preview = function Preview(_ref) {
|
|
|
250
244
|
className: classNames("neeto-thank-you-configuration__box", {
|
|
251
245
|
"neeto-thank-you-configuration__box--is-cta-visible": isCtaVisible
|
|
252
246
|
}),
|
|
253
|
-
children: values.kind === FORM_OPTIONS.customize.kind ? /*#__PURE__*/jsx(CustomMessage, _objectSpread
|
|
247
|
+
children: values.kind === FORM_OPTIONS.customize.kind ? /*#__PURE__*/jsx(CustomMessage, _objectSpread({}, _objectSpread({
|
|
254
248
|
appName: appName,
|
|
255
249
|
editorProps: editorProps,
|
|
256
250
|
publicLinkId: publicLinkId,
|
|
@@ -258,7 +252,7 @@ var Preview = function Preview(_ref) {
|
|
|
258
252
|
socialHandles: socialHandles
|
|
259
253
|
}, isCtaVisible && {
|
|
260
254
|
ctaProps: ctaProps
|
|
261
|
-
}))) : /*#__PURE__*/jsx(RedirectMessage, _objectSpread
|
|
255
|
+
}))) : /*#__PURE__*/jsx(RedirectMessage, _objectSpread({}, _objectSpread({
|
|
262
256
|
appName: appName,
|
|
263
257
|
editorProps: editorProps
|
|
264
258
|
}, isCtaVisible && {
|
|
@@ -275,8 +269,6 @@ var Preview = function Preview(_ref) {
|
|
|
275
269
|
};
|
|
276
270
|
|
|
277
271
|
var _excluded = ["name", "title", "className"];
|
|
278
|
-
function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
279
|
-
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
280
272
|
var SwitchBlock = function SwitchBlock(_ref) {
|
|
281
273
|
var name = _ref.name,
|
|
282
274
|
title = _ref.title,
|
|
@@ -286,7 +278,7 @@ var SwitchBlock = function SwitchBlock(_ref) {
|
|
|
286
278
|
return /*#__PURE__*/jsx(Label, {
|
|
287
279
|
className: classNames("flex items-center justify-start gap-2", className),
|
|
288
280
|
"data-testid": "neeto-thank-you-nano-".concat(hyphenate(title && name), "-toggle-label"),
|
|
289
|
-
children: /*#__PURE__*/jsx(Switch, _objectSpread
|
|
281
|
+
children: /*#__PURE__*/jsx(Switch, _objectSpread(_objectSpread({}, _objectSpread(_objectSpread({}, otherProps), {}, {
|
|
290
282
|
name: name
|
|
291
283
|
})), {}, {
|
|
292
284
|
"data-testid": "neeto-thank-you-nano-".concat(hyphenate(title && name), "-switch"),
|
|
@@ -296,8 +288,6 @@ var SwitchBlock = function SwitchBlock(_ref) {
|
|
|
296
288
|
});
|
|
297
289
|
};
|
|
298
290
|
|
|
299
|
-
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
300
|
-
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
301
291
|
var ExternalLink = function ExternalLink(_ref) {
|
|
302
292
|
var editorProps = _ref.editorProps,
|
|
303
293
|
isPassEventDetailsEnabled = _ref.isPassEventDetailsEnabled,
|
|
@@ -346,7 +336,7 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
346
336
|
title: t("neetoThankYou.thankYou.showMessageWhileRedirecting")
|
|
347
337
|
}), showRedirectMessage && /*#__PURE__*/jsx("div", {
|
|
348
338
|
className: "flex flex-col gap-2",
|
|
349
|
-
children: /*#__PURE__*/jsx(FormikEditor, _objectSpread
|
|
339
|
+
children: /*#__PURE__*/jsx(FormikEditor, _objectSpread({
|
|
350
340
|
required: true,
|
|
351
341
|
addons: DEFAULT_EDITOR_ADDONS,
|
|
352
342
|
"data-testid": "neeto-thank-you-redirect-message-editor",
|
|
@@ -407,8 +397,6 @@ var buildValidationSchema = function buildValidationSchema() {
|
|
|
407
397
|
});
|
|
408
398
|
};
|
|
409
399
|
|
|
410
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
411
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
412
400
|
var Form = function Form(_ref) {
|
|
413
401
|
var id = _ref.id,
|
|
414
402
|
socialHandles = _ref.socialHandles,
|
|
@@ -517,15 +505,15 @@ var Form = function Form(_ref) {
|
|
|
517
505
|
return /*#__PURE__*/jsxs("div", {
|
|
518
506
|
className: "neeto-thankyou-nano-wrapper flex h-full flex-col overflow-y-auto lg:flex-row",
|
|
519
507
|
children: [/*#__PURE__*/jsxs("div", {
|
|
520
|
-
className: "neeto-thankyou-nano__left-panel flex w-full flex-col px-5 md:px-
|
|
508
|
+
className: "neeto-thankyou-nano__left-panel flex w-full flex-col px-5 md:px-7 lg:h-full 2xl:px-8 lg:w-1/2 lg:overflow-y-auto",
|
|
521
509
|
"data-testid": "neeto-thankyou-left-panel",
|
|
522
510
|
children: [customHeader || /*#__PURE__*/jsx(Header, {
|
|
523
511
|
breadcrumbs: breadcrumbs,
|
|
524
512
|
helpPopoverProps: helpPopoverProps
|
|
525
513
|
}), shouldBlockNavigation && /*#__PURE__*/jsx(BlockNavigation, {}), !disableRadioSelection && /*#__PURE__*/jsx("div", {
|
|
526
|
-
className: "mb-
|
|
514
|
+
className: "mb-8 w-full",
|
|
527
515
|
children: /*#__PURE__*/jsx(RadioGroup, {
|
|
528
|
-
className: "w-full grid-cols-1
|
|
516
|
+
className: "w-full grid-cols-1 gap-3",
|
|
529
517
|
name: "kind",
|
|
530
518
|
orientation: "vertical",
|
|
531
519
|
children: Object.values(FORM_OPTIONS).map(function (option) {
|
|
@@ -558,7 +546,7 @@ var Form = function Form(_ref) {
|
|
|
558
546
|
isPassEventDetailsEnabled: isPassEventDetailsEnabled,
|
|
559
547
|
passEventDetailsHelpDocUrl: passEventDetailsHelpDocUrl
|
|
560
548
|
}), /*#__PURE__*/jsx(ActionBlock, {
|
|
561
|
-
className: "bg-background sticky bottom-0 py-5",
|
|
549
|
+
className: "bg-background sticky bottom-0 z-10 py-5",
|
|
562
550
|
isSubmitting: isUpdatingForm,
|
|
563
551
|
cancelButtonProps: _objectSpread({
|
|
564
552
|
"data-testid": "neeto-thank-you-configuration-cancel-button"
|