@bigbinary/neeto-thank-you-frontend 3.1.9 → 3.1.11
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 +17 -0
- package/dist/BrandingInfo-C-YUyKe_.js.map +1 -0
- package/dist/ConfigureThankYou.js +4 -5
- package/dist/ConfigureThankYou.js.map +1 -1
- package/dist/ShowThankYou.js +2 -1
- package/dist/ShowThankYou.js.map +1 -1
- package/dist/SocialShare-B0luKbFP.js +93 -0
- package/dist/SocialShare-B0luKbFP.js.map +1 -0
- package/dist/SocialShare-Djluum5G.js +93 -0
- package/dist/SocialShare-Djluum5G.js.map +1 -0
- package/dist/application-DJ9yVgd0.js +5 -0
- package/dist/application-DJ9yVgd0.js.map +1 -0
- package/dist/cjs/BrandingInfo-CxPUChPj.js +19 -0
- package/dist/cjs/BrandingInfo-CxPUChPj.js.map +1 -0
- package/dist/cjs/ConfigureThankYou.js +3 -4
- package/dist/cjs/ConfigureThankYou.js.map +1 -1
- package/dist/cjs/ShowThankYou.js +2 -1
- package/dist/cjs/ShowThankYou.js.map +1 -1
- package/dist/cjs/SocialShare-BFeAkgVT.js +100 -0
- package/dist/cjs/SocialShare-BFeAkgVT.js.map +1 -0
- package/dist/cjs/SocialShare-CVIbFf_m.js +100 -0
- package/dist/cjs/SocialShare-CVIbFf_m.js.map +1 -0
- package/dist/cjs/application-S-s0L8VC.js +7 -0
- package/dist/cjs/application-S-s0L8VC.js.map +1 -0
- package/dist/cjs/index.js +9 -7
- package/dist/{SocialShare-C4rOGmnp.js → cjs/thank-you-BAOIUbgZ.js} +3 -92
- package/dist/cjs/thank-you-BAOIUbgZ.js.map +1 -0
- package/dist/cjs/thank-you-BYHzj8zD.js +7 -0
- package/dist/cjs/thank-you-BYHzj8zD.js.map +1 -0
- package/dist/cjs/v2/ConfigureThankYou.js +698 -0
- package/dist/cjs/v2/ConfigureThankYou.js.map +1 -0
- package/dist/cjs/v2/ShowThankYou.js +281 -0
- package/dist/cjs/v2/ShowThankYou.js.map +1 -0
- package/dist/cjs/v2/commons.js +10 -0
- package/dist/cjs/v2/commons.js.map +1 -0
- package/dist/cjs/v2/constants.js +12 -0
- package/dist/cjs/v2/constants.js.map +1 -0
- package/dist/cjs/v2/index.js +58 -0
- package/dist/cjs/v2/index.js.map +1 -0
- package/dist/cjs/v2/query.js +8 -0
- package/dist/cjs/v2/query.js.map +1 -0
- package/dist/cjs/v2/useCreateThankYouConfiguration.js +16 -0
- package/dist/cjs/v2/useCreateThankYouConfiguration.js.map +1 -0
- package/dist/cjs/v2/useDeleteThankYouConfiguration.js +16 -0
- package/dist/cjs/v2/useDeleteThankYouConfiguration.js.map +1 -0
- package/dist/cjs/v2/useFetchThankYouConfigurations.js +16 -0
- package/dist/cjs/v2/useFetchThankYouConfigurations.js.map +1 -0
- package/dist/cjs/v2/useShowThankYouConfiguration.js +16 -0
- package/dist/cjs/v2/useShowThankYouConfiguration.js.map +1 -0
- package/dist/cjs/v2/useShowThankYouPage.js +12 -0
- package/dist/cjs/v2/useShowThankYouPage.js.map +1 -0
- package/dist/cjs/v2/useUpdateThankYouConfiguration.js +16 -0
- package/dist/cjs/v2/useUpdateThankYouConfiguration.js.map +1 -0
- package/dist/cjs/v2/utils.js +3 -0
- package/dist/cjs/v2/utils.js.map +1 -0
- package/dist/index.js +9 -9
- package/dist/thank-you-B9agG0DC.js +5 -0
- package/dist/thank-you-B9agG0DC.js.map +1 -0
- package/dist/{cjs/SocialShare-abuXAsLb.js → thank-you-CtNe3oCq.js} +2 -101
- package/dist/thank-you-CtNe3oCq.js.map +1 -0
- package/dist/useCreateThankYouConfiguration.js +1 -1
- package/dist/useDeleteThankYouConfiguration.js +1 -1
- package/dist/useFetchThankYouConfigurations.js +1 -1
- package/dist/useShowThankYouConfiguration.js +1 -1
- package/dist/{useThankYouConfigurationApi-DSQ3IBbq.js → useThankYouConfigurationApi-CCdlqC6e.js} +2 -2
- package/dist/{useThankYouConfigurationApi-DSQ3IBbq.js.map → useThankYouConfigurationApi-CCdlqC6e.js.map} +1 -1
- package/dist/useUpdateThankYouConfiguration.js +1 -1
- package/dist/v2/ConfigureThankYou.js +677 -0
- package/dist/v2/ConfigureThankYou.js.map +1 -0
- package/dist/v2/ShowThankYou.js +279 -0
- package/dist/v2/ShowThankYou.js.map +1 -0
- package/dist/v2/commons.js +4 -0
- package/dist/v2/commons.js.map +1 -0
- package/dist/v2/constants.js +9 -0
- package/dist/v2/constants.js.map +1 -0
- package/dist/v2/index.js +45 -0
- package/dist/v2/index.js.map +1 -0
- package/dist/v2/query.js +2 -0
- package/dist/v2/query.js.map +1 -0
- package/dist/v2/useCreateThankYouConfiguration.js +10 -0
- package/dist/v2/useCreateThankYouConfiguration.js.map +1 -0
- package/dist/v2/useDeleteThankYouConfiguration.js +10 -0
- package/dist/v2/useDeleteThankYouConfiguration.js.map +1 -0
- package/dist/v2/useFetchThankYouConfigurations.js +10 -0
- package/dist/v2/useFetchThankYouConfigurations.js.map +1 -0
- package/dist/v2/useShowThankYouConfiguration.js +10 -0
- package/dist/v2/useShowThankYouConfiguration.js.map +1 -0
- package/dist/v2/useShowThankYouPage.js +6 -0
- package/dist/v2/useShowThankYouPage.js.map +1 -0
- package/dist/v2/useUpdateThankYouConfiguration.js +10 -0
- package/dist/v2/useUpdateThankYouConfiguration.js.map +1 -0
- package/dist/v2/utils.js +2 -0
- package/dist/v2/utils.js.map +1 -0
- package/package.json +34 -24
- package/dist/SocialShare-C4rOGmnp.js.map +0 -1
- package/dist/cjs/SocialShare-abuXAsLb.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDeleteThankYouConfiguration.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var useThankYouConfigurationApi = require('../useThankYouConfigurationApi-Bx8hQqrm.js');
|
|
4
|
+
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
|
+
require('@babel/runtime/helpers/defineProperty');
|
|
6
|
+
require('@tanstack/react-query');
|
|
7
|
+
require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
8
|
+
require('axios');
|
|
9
|
+
require('@bigbinary/neeto-commons-frontend/utils');
|
|
10
|
+
require('../index-Bp2NY-mY.js');
|
|
11
|
+
require('../query.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
module.exports = useThankYouConfigurationApi.useFetchThankYouConfigurations;
|
|
16
|
+
//# sourceMappingURL=useFetchThankYouConfigurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFetchThankYouConfigurations.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var useThankYouConfigurationApi = require('../useThankYouConfigurationApi-Bx8hQqrm.js');
|
|
4
|
+
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
|
+
require('@babel/runtime/helpers/defineProperty');
|
|
6
|
+
require('@tanstack/react-query');
|
|
7
|
+
require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
8
|
+
require('axios');
|
|
9
|
+
require('@bigbinary/neeto-commons-frontend/utils');
|
|
10
|
+
require('../index-Bp2NY-mY.js');
|
|
11
|
+
require('../query.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
module.exports = useThankYouConfigurationApi.useShowThankYouConfiguration;
|
|
16
|
+
//# sourceMappingURL=useShowThankYouConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useShowThankYouConfiguration.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var useThankYouPageApi = require('../useThankYouPageApi-DeHETkcA.js');
|
|
4
|
+
require('@tanstack/react-query');
|
|
5
|
+
require('axios');
|
|
6
|
+
require('../index-Bp2NY-mY.js');
|
|
7
|
+
require('../query.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
module.exports = useThankYouPageApi.useShowThankYouPage;
|
|
12
|
+
//# sourceMappingURL=useShowThankYouPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useShowThankYouPage.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var useThankYouConfigurationApi = require('../useThankYouConfigurationApi-Bx8hQqrm.js');
|
|
4
|
+
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
|
+
require('@babel/runtime/helpers/defineProperty');
|
|
6
|
+
require('@tanstack/react-query');
|
|
7
|
+
require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
8
|
+
require('axios');
|
|
9
|
+
require('@bigbinary/neeto-commons-frontend/utils');
|
|
10
|
+
require('../index-Bp2NY-mY.js');
|
|
11
|
+
require('../query.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
module.exports = useThankYouConfigurationApi.useUpdateThankYouConfiguration;
|
|
16
|
+
//# sourceMappingURL=useUpdateThankYouConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateThankYouConfiguration.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
export { default as ConfigureThankYou } from './ConfigureThankYou.js';
|
|
2
2
|
export { default as ShowThankYou } from './ShowThankYou.js';
|
|
3
|
-
export {
|
|
3
|
+
export { u as useCreateThankYouConfiguration, a as useDeleteThankYouConfiguration, b as useFetchThankYouConfigurations, c as useShowThankYouConfiguration, d as useUpdateThankYouConfiguration } from './useThankYouConfigurationApi-CCdlqC6e.js';
|
|
4
4
|
export { u as useShowThankYouPage } from './useThankYouPageApi-Qu4dKbsj.js';
|
|
5
|
-
import
|
|
5
|
+
import './application-DJ9yVgd0.js';
|
|
6
6
|
import '@bigbinary/neeto-cist';
|
|
7
|
+
import './SocialShare-B0luKbFP.js';
|
|
8
|
+
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
9
|
+
import 'i18next';
|
|
10
|
+
import 'react/jsx-runtime';
|
|
11
|
+
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
12
|
+
import './thank-you-B9agG0DC.js';
|
|
13
|
+
import './thank-you-CtNe3oCq.js';
|
|
7
14
|
import '@babel/runtime/helpers/defineProperty';
|
|
8
15
|
import '@babel/runtime/helpers/slicedToArray';
|
|
9
16
|
import 'react';
|
|
@@ -21,23 +28,19 @@ import '@bigbinary/neeto-editor/FormikEditor';
|
|
|
21
28
|
import '@bigbinary/neetoui/formik/Input';
|
|
22
29
|
import '@bigbinary/neetoui/formik/Switch';
|
|
23
30
|
import 'react-i18next';
|
|
24
|
-
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
25
31
|
import '@bigbinary/neetoui/Button';
|
|
26
32
|
import '@bigbinary/neetoui/Typography';
|
|
27
33
|
import '@bigbinary/neetoui/Modal';
|
|
28
|
-
import 'react/jsx-runtime';
|
|
29
34
|
import '@bigbinary/neeto-molecules/BrowserPreview';
|
|
30
35
|
import './BrandingInfo-CVoR92MO.js';
|
|
31
36
|
import '@bigbinary/neeto-molecules/MadeWith';
|
|
32
37
|
import './constants.js';
|
|
33
|
-
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
34
38
|
import '@bigbinary/neeto-editor/EditorContent';
|
|
35
39
|
import '@bigbinary/neeto-icons/Link';
|
|
36
40
|
import '@bigbinary/neeto-molecules/HelpPopover';
|
|
37
41
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
38
42
|
import '@bigbinary/neetoui/Label';
|
|
39
43
|
import '@bigbinary/neeto-molecules/Header';
|
|
40
|
-
import 'i18next';
|
|
41
44
|
import '@bigbinary/neeto-editor/utils';
|
|
42
45
|
import 'yup';
|
|
43
46
|
import '@bigbinary/neeto-molecules/PageLoader';
|
|
@@ -47,7 +50,4 @@ import 'axios';
|
|
|
47
50
|
import '@bigbinary/neeto-commons-frontend/utils';
|
|
48
51
|
import './index-CJXBMIZP.js';
|
|
49
52
|
import './query.js';
|
|
50
|
-
|
|
51
|
-
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}}}@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;--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: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-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)}@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;-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}";
|
|
52
|
-
n(css,{});
|
|
53
53
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { n } from './thank-you-CtNe3oCq.js';
|
|
2
|
+
|
|
3
|
+
var css = ".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))}";
|
|
4
|
+
n(css,{});
|
|
5
|
+
//# sourceMappingURL=thank-you-B9agG0DC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thank-you-B9agG0DC.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -1,106 +1,7 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var initializers = require('@bigbinary/neeto-commons-frontend/initializers');
|
|
4
|
-
var i18next = require('i18next');
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
7
|
-
|
|
8
|
-
var THANK_YOU_KINDS = {
|
|
9
|
-
CUSTOM_MESSAGE: "custom_message",
|
|
10
|
-
REDIRECT_TO_URL: "redirect_to_url"
|
|
11
|
-
};
|
|
12
|
-
var FORM_OPTIONS = {
|
|
13
|
-
customize: {
|
|
14
|
-
label: i18next.t("neetoThankYou.thankYou.customize"),
|
|
15
|
-
description: i18next.t("neetoThankYou.thankYou.customizeDescription"),
|
|
16
|
-
kind: THANK_YOU_KINDS.CUSTOM_MESSAGE
|
|
17
|
-
},
|
|
18
|
-
externalLink: {
|
|
19
|
-
label: i18next.t("neetoThankYou.thankYou.externalLink"),
|
|
20
|
-
description: i18next.t("neetoThankYou.thankYou.externalLinkDescription"),
|
|
21
|
-
kind: THANK_YOU_KINDS.REDIRECT_TO_URL
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
var THANK_YOU_TEXT_ALIGNMENTS = {
|
|
25
|
-
left: "left",
|
|
26
|
-
center: "center"
|
|
27
|
-
};
|
|
28
|
-
var REDIRECT_DELAY = 5;
|
|
29
|
-
var NEETO = "Neeto";
|
|
30
|
-
var NEETO_BASE_URL = "https://www.neeto.com";
|
|
31
|
-
var UTM_SOURCE = "utm_source=cta";
|
|
32
|
-
var UTM_CAMPAIGN_PARAM = "utm_campaign";
|
|
33
|
-
|
|
34
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}}
|
|
35
2
|
|
|
36
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}";
|
|
37
4
|
n(css,{});
|
|
38
5
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
var subdomain = (_globalProps$organiza = initializers.globalProps.organization) === null || _globalProps$organiza === void 0 ? void 0 : _globalProps$organiza.subdomain;
|
|
42
|
-
return "".concat(UTM_SOURCE).concat(subdomain ? "&".concat(UTM_CAMPAIGN_PARAM, "=").concat(subdomain) : "");
|
|
43
|
-
};
|
|
44
|
-
var generateProductPageUrl = function generateProductPageUrl(appName) {
|
|
45
|
-
var name = appName || initializers.globalProps.appName || NEETO;
|
|
46
|
-
var utmParams = generateUtmParams();
|
|
47
|
-
return "".concat(NEETO_BASE_URL, "/").concat(name.toLowerCase(), "?").concat(utmParams);
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
var CallToAction = function CallToAction(_ref) {
|
|
51
|
-
var appName = _ref.appName,
|
|
52
|
-
message = _ref.message,
|
|
53
|
-
buttonLabel = _ref.buttonLabel;
|
|
54
|
-
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
55
|
-
className: "neeto-thank-you-configuration__cta",
|
|
56
|
-
children: [/*#__PURE__*/jsxRuntime.jsx("p", {
|
|
57
|
-
className: "neeto-thank-you-configuration__cta-message",
|
|
58
|
-
children: message
|
|
59
|
-
}), /*#__PURE__*/jsxRuntime.jsx("a", {
|
|
60
|
-
className: "neeto-thank-you-configuration__cta-button",
|
|
61
|
-
"data-testid": "neeto-thank-you-configuration-cta-button",
|
|
62
|
-
href: generateProductPageUrl(appName),
|
|
63
|
-
rel: "noopener noreferrer",
|
|
64
|
-
target: "_blank",
|
|
65
|
-
children: buttonLabel
|
|
66
|
-
})]
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
var SocialShare = reactUtils.withT(function (_ref) {
|
|
71
|
-
var t = _ref.t,
|
|
72
|
-
socialHandles = _ref.socialHandles,
|
|
73
|
-
publicLinkId = _ref.publicLinkId;
|
|
74
|
-
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
75
|
-
className: "neeto-thank-you-configuration__social-share",
|
|
76
|
-
children: [/*#__PURE__*/jsxRuntime.jsx("h4", {
|
|
77
|
-
className: "neeto-thank-you-configuration__social-share-title",
|
|
78
|
-
children: t("neetoThankYou.thankYou.socialShareHeading")
|
|
79
|
-
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
80
|
-
className: "neeto-thank-you-configuration-social-follow",
|
|
81
|
-
"data-testid": "social-share-icons",
|
|
82
|
-
children: socialHandles === null || socialHandles === void 0 ? void 0 : socialHandles.map(function (data, idx) {
|
|
83
|
-
var Icon = data.icon,
|
|
84
|
-
generateShareUrl = data.generateShareUrl;
|
|
85
|
-
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
86
|
-
className: "neeto-thank-you-configuration-social-follow__item",
|
|
87
|
-
children: /*#__PURE__*/jsxRuntime.jsx("a", {
|
|
88
|
-
href: generateShareUrl(publicLinkId),
|
|
89
|
-
rel: "noreferrer",
|
|
90
|
-
target: "_blank",
|
|
91
|
-
children: /*#__PURE__*/jsxRuntime.jsx(Icon, {})
|
|
92
|
-
})
|
|
93
|
-
}, idx);
|
|
94
|
-
})
|
|
95
|
-
})]
|
|
96
|
-
});
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
exports.CallToAction = CallToAction;
|
|
100
|
-
exports.FORM_OPTIONS = FORM_OPTIONS;
|
|
101
|
-
exports.REDIRECT_DELAY = REDIRECT_DELAY;
|
|
102
|
-
exports.SocialShare = SocialShare;
|
|
103
|
-
exports.THANK_YOU_KINDS = THANK_YOU_KINDS;
|
|
104
|
-
exports.THANK_YOU_TEXT_ALIGNMENTS = THANK_YOU_TEXT_ALIGNMENTS;
|
|
105
|
-
exports.n = n;
|
|
106
|
-
//# sourceMappingURL=SocialShare-abuXAsLb.js.map
|
|
6
|
+
export { n };
|
|
7
|
+
//# sourceMappingURL=thank-you-CtNe3oCq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,CA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,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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as useCreateThankYouConfiguration } from './useThankYouConfigurationApi-CCdlqC6e.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as useDeleteThankYouConfiguration } from './useThankYouConfigurationApi-CCdlqC6e.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as useFetchThankYouConfigurations } from './useThankYouConfigurationApi-CCdlqC6e.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as useShowThankYouConfiguration } from './useThankYouConfigurationApi-CCdlqC6e.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@tanstack/react-query';
|
package/dist/{useThankYouConfigurationApi-DSQ3IBbq.js → useThankYouConfigurationApi-CCdlqC6e.js}
RENAMED
|
@@ -111,5 +111,5 @@ var useDeleteThankYouConfiguration = function useDeleteThankYouConfiguration(ent
|
|
|
111
111
|
}, options));
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
-
export {
|
|
115
|
-
//# sourceMappingURL=useThankYouConfigurationApi-
|
|
114
|
+
export { useDeleteThankYouConfiguration as a, useFetchThankYouConfigurations as b, useShowThankYouConfiguration as c, useUpdateThankYouConfiguration as d, useCreateThankYouConfiguration as u };
|
|
115
|
+
//# sourceMappingURL=useThankYouConfigurationApi-CCdlqC6e.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThankYouConfigurationApi-
|
|
1
|
+
{"version":3,"file":"useThankYouConfigurationApi-CCdlqC6e.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":["fetch","entityId","params","arguments","length","undefined","axios","get","buildUrl","THANK_YOU_CONFIGURATIONS_URL","create","_ref","payload","post","show","id","THANK_YOU_CONFIGURATION_URL","update","_ref2","put","thankYouConfiguration","destroy","thankYouConfigurationApi","useFetchThankYouConfigurations","filters","options","useQuery","_objectSpread","queryKey","QUERY_KEYS","THANK_YOU_CONFIGURATION","queryFn","useCreateThankYouConfiguration","useMutationWithInvalidation","keysToInvalidate","useShowThankYouConfiguration","_objectWithoutProperties","_excluded","useUpdateThankYouConfiguration","useDeleteThankYouConfiguration"],"mappings":";;;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GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE;EAAA,OAC7D8B,2BAA2B,CACzB,UAAAf,KAAA,EAAA;AAAA,IAAA,IAAGjB,QAAQ,GAAAiB,KAAA,CAARjB,QAAQ;MAAEW,OAAO,GAAAM,KAAA,CAAPN,OAAO;IAAA,OAClBU,wBAAwB,CAACL,MAAM,CAAC;AAAEF,MAAAA,EAAE,EAAFA,EAAE;AAAEd,MAAAA,QAAQ,EAARA,QAAQ;AAAEW,MAAAA,OAAO,EAAPA;AAAQ,KAAC,CAAC;AAAA,EAAA,CAAA,EAAAe,aAAA,CAAA;AAE1DO,IAAAA,gBAAgB,EAAE,CAACL,UAAU,CAACC,uBAAuB;GAAC,EACnDL,OAAO,CAEd,CAAC;AAAA;IAEUc,8BAA8B,GAAG,SAAjCA,8BAA8BA,CAAItC,QAAQ,EAAA;AAAA,EAAA,IAAEwB,OAAO,GAAAtB,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE;EAAA,OACnE8B,2BAA2B,CACzB,UAAAlB,EAAE,EAAA;AAAA,IAAA,OAAIO,wBAAwB,CAACD,OAAO,CAACpB,QAAQ,EAAEc,EAAE,CAAC;AAAA,EAAA,CAAA,EAAAY,aAAA,CAAA;AAElDO,IAAAA,gBAAgB,EAAE,CAACL,UAAU,CAACC,uBAAuB,EAAE7B,QAAQ;GAAC,EAC7DwB,OAAO,CAEd,CAAC;AAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as useUpdateThankYouConfiguration } from './useThankYouConfigurationApi-CCdlqC6e.js';
|
|
2
2
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import '@babel/runtime/helpers/defineProperty';
|
|
4
4
|
import '@tanstack/react-query';
|