@bigbinary/neeto-message-templates-frontend 2.0.17 → 2.0.18
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/MessageTemplates.js +3 -3
- package/dist/SendMessagePane.js +3 -3
- package/dist/SendToApiPane.js +2 -2
- package/dist/cjs/MessageTemplates.js +3 -3
- package/dist/cjs/SendMessagePane.js +3 -3
- package/dist/cjs/SendToApiPane.js +2 -2
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/v2/MessageTemplates.js +3 -3
- package/dist/cjs/v2/SendMessagePane.js +3 -3
- package/dist/cjs/v2/SendToApiPane.js +2 -2
- package/dist/cjs/v2/index.js +3 -3
- package/dist/index.js +3 -3
- package/dist/{utils-Cje7oYAU.js → utils-1kGDyDur.js} +2 -2
- package/dist/{utils-Bqi4fltZ.js.map → utils-1kGDyDur.js.map} +1 -1
- package/dist/{utils-B4JstKAU.js → utils-BkMTrHY5.js} +2 -2
- package/dist/{utils-DLBeeHEL.js.map → utils-BkMTrHY5.js.map} +1 -1
- package/dist/{utils-DLBeeHEL.js → utils-D9KsLMfA.js} +2 -2
- package/dist/{utils-B4JstKAU.js.map → utils-D9KsLMfA.js.map} +1 -1
- package/dist/{utils-Bqi4fltZ.js → utils-DeMrwzD1.js} +2 -2
- package/dist/{utils-Cje7oYAU.js.map → utils-DeMrwzD1.js.map} +1 -1
- package/dist/v2/MessageTemplates.js +3 -3
- package/dist/v2/SendMessagePane.js +3 -3
- package/dist/v2/SendToApiPane.js +2 -2
- package/dist/v2/index.js +3 -3
- package/package.json +5 -5
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-10-
|
|
1
|
+
Built at 2026-10-08T11:45:19.622Z
|
package/dist/MessageTemplates.js
CHANGED
|
@@ -17,7 +17,7 @@ import { a as useUpdateTemplate, b as useFetchTemplates, u as useCreateTemplate,
|
|
|
17
17
|
import { u as useTemplateStore } from './adaptive_input-BpXdshqg.js';
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
import Pane from '@bigbinary/neetoui/Pane';
|
|
20
|
-
import FormikEditor from '@bigbinary/neeto-editor/FormikEditor';
|
|
20
|
+
import FormikEditor from '@bigbinary/neeto-editor-frontend/FormikEditor';
|
|
21
21
|
import NeetoUIForm from '@bigbinary/neetoui/formik/Form';
|
|
22
22
|
import Input from '@bigbinary/neetoui/formik/Input';
|
|
23
23
|
import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
|
|
@@ -25,7 +25,7 @@ import * as yup from 'yup';
|
|
|
25
25
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
26
26
|
import { useFormikContext } from 'formik';
|
|
27
27
|
import Textarea from '@bigbinary/neetoui/formik/Textarea';
|
|
28
|
-
import { g as getEditorAddons } from './utils-
|
|
28
|
+
import { g as getEditorAddons } from './utils-1kGDyDur.js';
|
|
29
29
|
import { isPhoneNumberValid } from '@bigbinary/neeto-molecules/PhoneNumber';
|
|
30
30
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
31
31
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -41,7 +41,7 @@ import 'axios';
|
|
|
41
41
|
import 'qs';
|
|
42
42
|
import 'zustand';
|
|
43
43
|
import './inject-css-C2dztUxs.js';
|
|
44
|
-
import '@bigbinary/neeto-editor/constants';
|
|
44
|
+
import '@bigbinary/neeto-editor-frontend/constants';
|
|
45
45
|
|
|
46
46
|
var MESSAGE_TEMPLATE_INITIAL_STATE = {
|
|
47
47
|
isOpen: false,
|
package/dist/SendMessagePane.js
CHANGED
|
@@ -11,14 +11,14 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
11
11
|
import { b as useFetchTemplates } from './useTemplatesApi-CMkDeBa9.js';
|
|
12
12
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
13
13
|
import { useRef } from 'react';
|
|
14
|
-
import FormikEditor from '@bigbinary/neeto-editor/FormikEditor';
|
|
14
|
+
import FormikEditor from '@bigbinary/neeto-editor-frontend/FormikEditor';
|
|
15
15
|
import Select from '@bigbinary/neetoui/Select';
|
|
16
16
|
import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
|
|
17
17
|
import NeetoUIForm from '@bigbinary/neetoui/formik/Form';
|
|
18
18
|
import Input from '@bigbinary/neetoui/formik/Input';
|
|
19
19
|
import * as yup from 'yup';
|
|
20
20
|
import { S as SaveAsTemplate } from './SaveAsTemplate-CueK8whg.js';
|
|
21
|
-
import { g as getEditorAddons, a as areValuesEqual } from './utils-
|
|
21
|
+
import { g as getEditorAddons, a as areValuesEqual } from './utils-1kGDyDur.js';
|
|
22
22
|
import { t } from 'i18next';
|
|
23
23
|
import Textarea from '@bigbinary/neetoui/Textarea';
|
|
24
24
|
import Select$1 from '@bigbinary/neetoui/formik/Select';
|
|
@@ -29,7 +29,7 @@ import 'axios';
|
|
|
29
29
|
import 'qs';
|
|
30
30
|
import 'formik';
|
|
31
31
|
import '@bigbinary/neetoui/formik/Switch';
|
|
32
|
-
import '@bigbinary/neeto-editor/constants';
|
|
32
|
+
import '@bigbinary/neeto-editor-frontend/constants';
|
|
33
33
|
|
|
34
34
|
var NoDataPage = function NoDataPage(_ref) {
|
|
35
35
|
var type = _ref.type,
|
package/dist/SendToApiPane.js
CHANGED
|
@@ -12,7 +12,7 @@ import { equals, modify } from 'ramda';
|
|
|
12
12
|
import { useTranslation } from 'react-i18next';
|
|
13
13
|
import { V as VALID_URL_REGEX, C as CUSTOM_HEADERS_INITIAL_VALUE, d as buildHelpPopoverProps, S as SAMPLE_URL, c as CustomHeaders, J as JsonEditor, a as API_TEMPLATE_TYPE, r as rejectEmptyKeyValuePairs } from './JsonEditor-DihhWMI5.js';
|
|
14
14
|
import { S as SaveAsTemplate } from './SaveAsTemplate-CueK8whg.js';
|
|
15
|
-
import { a as areValuesEqual } from './utils-
|
|
15
|
+
import { a as areValuesEqual } from './utils-1kGDyDur.js';
|
|
16
16
|
import { b as useFetchTemplates } from './useTemplatesApi-CMkDeBa9.js';
|
|
17
17
|
import { t } from 'i18next';
|
|
18
18
|
import * as yup from 'yup';
|
|
@@ -30,7 +30,7 @@ import '@bigbinary/neeto-molecules/DynamicVariables';
|
|
|
30
30
|
import '@bigbinary/neetoui/Label';
|
|
31
31
|
import './json_editor-Co5e3Chh.js';
|
|
32
32
|
import './inject-css-C2dztUxs.js';
|
|
33
|
-
import '@bigbinary/neeto-editor/constants';
|
|
33
|
+
import '@bigbinary/neeto-editor-frontend/constants';
|
|
34
34
|
import '@tanstack/react-query';
|
|
35
35
|
import 'axios';
|
|
36
36
|
import 'qs';
|
|
@@ -19,7 +19,7 @@ var useTemplatesApi = require('../useTemplatesApi-byHuEDTl.js');
|
|
|
19
19
|
var adaptive_input = require('../adaptive_input-Cd_EArae.js');
|
|
20
20
|
var jsxRuntime = require('react/jsx-runtime');
|
|
21
21
|
var Pane = require('@bigbinary/neetoui/Pane');
|
|
22
|
-
var FormikEditor = require('@bigbinary/neeto-editor/FormikEditor');
|
|
22
|
+
var FormikEditor = require('@bigbinary/neeto-editor-frontend/FormikEditor');
|
|
23
23
|
var NeetoUIForm = require('@bigbinary/neetoui/formik/Form');
|
|
24
24
|
var Input = require('@bigbinary/neetoui/formik/Input');
|
|
25
25
|
var ActionBlock = require('@bigbinary/neetoui/formik/ActionBlock');
|
|
@@ -27,7 +27,7 @@ var yup = require('yup');
|
|
|
27
27
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
28
28
|
var formik = require('formik');
|
|
29
29
|
var Textarea = require('@bigbinary/neetoui/formik/Textarea');
|
|
30
|
-
var utils = require('../utils-
|
|
30
|
+
var utils = require('../utils-BkMTrHY5.js');
|
|
31
31
|
var PhoneNumber = require('@bigbinary/neeto-molecules/PhoneNumber');
|
|
32
32
|
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
33
33
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
@@ -43,7 +43,7 @@ require('axios');
|
|
|
43
43
|
require('qs');
|
|
44
44
|
require('zustand');
|
|
45
45
|
require('../inject-css-B6qYtOJe.js');
|
|
46
|
-
require('@bigbinary/neeto-editor/constants');
|
|
46
|
+
require('@bigbinary/neeto-editor-frontend/constants');
|
|
47
47
|
|
|
48
48
|
function _interopNamespaceDefault(e) {
|
|
49
49
|
var n = Object.create(null);
|
|
@@ -13,14 +13,14 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
13
13
|
var useTemplatesApi = require('../useTemplatesApi-byHuEDTl.js');
|
|
14
14
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
15
15
|
var react = require('react');
|
|
16
|
-
var FormikEditor = require('@bigbinary/neeto-editor/FormikEditor');
|
|
16
|
+
var FormikEditor = require('@bigbinary/neeto-editor-frontend/FormikEditor');
|
|
17
17
|
var Select = require('@bigbinary/neetoui/Select');
|
|
18
18
|
var ActionBlock = require('@bigbinary/neetoui/formik/ActionBlock');
|
|
19
19
|
var NeetoUIForm = require('@bigbinary/neetoui/formik/Form');
|
|
20
20
|
var Input = require('@bigbinary/neetoui/formik/Input');
|
|
21
21
|
var yup = require('yup');
|
|
22
22
|
var SaveAsTemplate = require('../SaveAsTemplate-B0HZhYfJ.js');
|
|
23
|
-
var utils = require('../utils-
|
|
23
|
+
var utils = require('../utils-BkMTrHY5.js');
|
|
24
24
|
var i18next = require('i18next');
|
|
25
25
|
var Textarea = require('@bigbinary/neetoui/Textarea');
|
|
26
26
|
var Select$1 = require('@bigbinary/neetoui/formik/Select');
|
|
@@ -31,7 +31,7 @@ require('axios');
|
|
|
31
31
|
require('qs');
|
|
32
32
|
require('formik');
|
|
33
33
|
require('@bigbinary/neetoui/formik/Switch');
|
|
34
|
-
require('@bigbinary/neeto-editor/constants');
|
|
34
|
+
require('@bigbinary/neeto-editor-frontend/constants');
|
|
35
35
|
|
|
36
36
|
function _interopNamespaceDefault(e) {
|
|
37
37
|
var n = Object.create(null);
|
|
@@ -14,7 +14,7 @@ var ramda = require('ramda');
|
|
|
14
14
|
var reactI18next = require('react-i18next');
|
|
15
15
|
var JsonEditor = require('../JsonEditor-DEKfDX8p.js');
|
|
16
16
|
var SaveAsTemplate = require('../SaveAsTemplate-B0HZhYfJ.js');
|
|
17
|
-
var utils = require('../utils-
|
|
17
|
+
var utils = require('../utils-BkMTrHY5.js');
|
|
18
18
|
var useTemplatesApi = require('../useTemplatesApi-byHuEDTl.js');
|
|
19
19
|
var i18next = require('i18next');
|
|
20
20
|
var yup = require('yup');
|
|
@@ -32,7 +32,7 @@ require('@bigbinary/neeto-molecules/DynamicVariables');
|
|
|
32
32
|
require('@bigbinary/neetoui/Label');
|
|
33
33
|
require('../json_editor-CvRhtSA3.js');
|
|
34
34
|
require('../inject-css-B6qYtOJe.js');
|
|
35
|
-
require('@bigbinary/neeto-editor/constants');
|
|
35
|
+
require('@bigbinary/neeto-editor-frontend/constants');
|
|
36
36
|
require('@tanstack/react-query');
|
|
37
37
|
require('axios');
|
|
38
38
|
require('qs');
|
package/dist/cjs/index.js
CHANGED
|
@@ -30,7 +30,7 @@ require('zustand');
|
|
|
30
30
|
require('../inject-css-B6qYtOJe.js');
|
|
31
31
|
require('react/jsx-runtime');
|
|
32
32
|
require('@bigbinary/neetoui/Pane');
|
|
33
|
-
require('@bigbinary/neeto-editor/FormikEditor');
|
|
33
|
+
require('@bigbinary/neeto-editor-frontend/FormikEditor');
|
|
34
34
|
require('@bigbinary/neetoui/formik/Form');
|
|
35
35
|
require('@bigbinary/neetoui/formik/Input');
|
|
36
36
|
require('@bigbinary/neetoui/formik/ActionBlock');
|
|
@@ -38,8 +38,8 @@ require('yup');
|
|
|
38
38
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
39
39
|
require('formik');
|
|
40
40
|
require('@bigbinary/neetoui/formik/Textarea');
|
|
41
|
-
require('../utils-
|
|
42
|
-
require('@bigbinary/neeto-editor/constants');
|
|
41
|
+
require('../utils-BkMTrHY5.js');
|
|
42
|
+
require('@bigbinary/neeto-editor-frontend/constants');
|
|
43
43
|
require('@bigbinary/neeto-molecules/PhoneNumber');
|
|
44
44
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
45
45
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
@@ -19,12 +19,12 @@ var useTemplatesApi = require('../../useTemplatesApi-byHuEDTl.js');
|
|
|
19
19
|
var jsxRuntime = require('react/jsx-runtime');
|
|
20
20
|
var formik$1 = require('@bigbinary/neeto-atoms/formik');
|
|
21
21
|
var classnames = require('classnames');
|
|
22
|
-
var FormikEditor = require('@bigbinary/neeto-editor/v2/FormikEditor');
|
|
22
|
+
var FormikEditor = require('@bigbinary/neeto-editor-frontend/v2/FormikEditor');
|
|
23
23
|
var yup = require('yup');
|
|
24
24
|
var injectCss = require('../../inject-css-B6qYtOJe.js');
|
|
25
25
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
26
26
|
var formik = require('formik');
|
|
27
|
-
var utils = require('../../utils-
|
|
27
|
+
var utils = require('../../utils-D9KsLMfA.js');
|
|
28
28
|
var PhoneNumber = require('@bigbinary/neeto-molecules/v2/PhoneNumber');
|
|
29
29
|
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
30
30
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
@@ -37,7 +37,7 @@ require('@bigbinary/neeto-commons-frontend/v2/constants');
|
|
|
37
37
|
require('@tanstack/react-query');
|
|
38
38
|
require('axios');
|
|
39
39
|
require('qs');
|
|
40
|
-
require('@bigbinary/neeto-editor/v2/constants');
|
|
40
|
+
require('@bigbinary/neeto-editor-frontend/v2/constants');
|
|
41
41
|
|
|
42
42
|
function _interopNamespaceDefault(e) {
|
|
43
43
|
var n = Object.create(null);
|
|
@@ -11,10 +11,10 @@ var constants = require('../../constants-Cvnks2UE.js');
|
|
|
11
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
12
12
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
13
13
|
var formik = require('@bigbinary/neeto-atoms/formik');
|
|
14
|
-
var FormikEditor = require('@bigbinary/neeto-editor/v2/FormikEditor');
|
|
14
|
+
var FormikEditor = require('@bigbinary/neeto-editor-frontend/v2/FormikEditor');
|
|
15
15
|
var yup = require('yup');
|
|
16
16
|
var SaveAsTemplate = require('../../SaveAsTemplate-GtRE2UkX.js');
|
|
17
|
-
var utils = require('../../utils-
|
|
17
|
+
var utils = require('../../utils-D9KsLMfA.js');
|
|
18
18
|
var i18next = require('i18next');
|
|
19
19
|
require('@tanstack/react-query');
|
|
20
20
|
require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
@@ -22,7 +22,7 @@ require('axios');
|
|
|
22
22
|
require('qs');
|
|
23
23
|
require('@bigbinary/neeto-commons-frontend/v2/constants');
|
|
24
24
|
require('formik');
|
|
25
|
-
require('@bigbinary/neeto-editor/v2/constants');
|
|
25
|
+
require('@bigbinary/neeto-editor-frontend/v2/constants');
|
|
26
26
|
|
|
27
27
|
function _interopNamespaceDefault(e) {
|
|
28
28
|
var n = Object.create(null);
|
|
@@ -11,7 +11,7 @@ var reactI18next = require('react-i18next');
|
|
|
11
11
|
var useTemplatesApi = require('../../useTemplatesApi-byHuEDTl.js');
|
|
12
12
|
var JsonEditor = require('../../JsonEditor-BMMyHPxh.js');
|
|
13
13
|
var SaveAsTemplate = require('../../SaveAsTemplate-GtRE2UkX.js');
|
|
14
|
-
var utils = require('../../utils-
|
|
14
|
+
var utils = require('../../utils-D9KsLMfA.js');
|
|
15
15
|
var i18next = require('i18next');
|
|
16
16
|
var yup = require('yup');
|
|
17
17
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -28,7 +28,7 @@ require('@bigbinary/neeto-icons/Help');
|
|
|
28
28
|
require('@bigbinary/neeto-molecules/v2/DynamicVariables');
|
|
29
29
|
require('../../json_editor-CvRhtSA3.js');
|
|
30
30
|
require('../../inject-css-B6qYtOJe.js');
|
|
31
|
-
require('@bigbinary/neeto-editor/v2/constants');
|
|
31
|
+
require('@bigbinary/neeto-editor-frontend/v2/constants');
|
|
32
32
|
|
|
33
33
|
function _interopNamespaceDefault(e) {
|
|
34
34
|
var n = Object.create(null);
|
package/dist/cjs/v2/index.js
CHANGED
|
@@ -30,12 +30,12 @@ require('qs');
|
|
|
30
30
|
require('react/jsx-runtime');
|
|
31
31
|
require('@bigbinary/neeto-atoms/formik');
|
|
32
32
|
require('classnames');
|
|
33
|
-
require('@bigbinary/neeto-editor/v2/FormikEditor');
|
|
33
|
+
require('@bigbinary/neeto-editor-frontend/v2/FormikEditor');
|
|
34
34
|
require('yup');
|
|
35
35
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
36
36
|
require('formik');
|
|
37
|
-
require('../../utils-
|
|
38
|
-
require('@bigbinary/neeto-editor/v2/constants');
|
|
37
|
+
require('../../utils-D9KsLMfA.js');
|
|
38
|
+
require('@bigbinary/neeto-editor-frontend/v2/constants');
|
|
39
39
|
require('@bigbinary/neeto-molecules/v2/PhoneNumber');
|
|
40
40
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
41
41
|
require('@babel/runtime/helpers/toConsumableArray');
|
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import 'zustand';
|
|
|
28
28
|
import './inject-css-C2dztUxs.js';
|
|
29
29
|
import 'react/jsx-runtime';
|
|
30
30
|
import '@bigbinary/neetoui/Pane';
|
|
31
|
-
import '@bigbinary/neeto-editor/FormikEditor';
|
|
31
|
+
import '@bigbinary/neeto-editor-frontend/FormikEditor';
|
|
32
32
|
import '@bigbinary/neetoui/formik/Form';
|
|
33
33
|
import '@bigbinary/neetoui/formik/Input';
|
|
34
34
|
import '@bigbinary/neetoui/formik/ActionBlock';
|
|
@@ -36,8 +36,8 @@ import 'yup';
|
|
|
36
36
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
37
37
|
import 'formik';
|
|
38
38
|
import '@bigbinary/neetoui/formik/Textarea';
|
|
39
|
-
import './utils-
|
|
40
|
-
import '@bigbinary/neeto-editor/constants';
|
|
39
|
+
import './utils-1kGDyDur.js';
|
|
40
|
+
import '@bigbinary/neeto-editor-frontend/constants';
|
|
41
41
|
import '@bigbinary/neeto-molecules/PhoneNumber';
|
|
42
42
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
43
43
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EDITOR_OPTIONS } from '@bigbinary/neeto-editor/
|
|
1
|
+
import { EDITOR_OPTIONS } from '@bigbinary/neeto-editor-frontend/constants';
|
|
2
2
|
import { when, is, trim, eqBy } from 'ramda';
|
|
3
3
|
|
|
4
4
|
var areValuesEqual = function areValuesEqual(value1, value2) {
|
|
@@ -10,4 +10,4 @@ var getEditorAddons = function getEditorAddons(allowAddingImages, isEmailTemplat
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
export { areValuesEqual as a, getEditorAddons as g };
|
|
13
|
-
//# sourceMappingURL=utils-
|
|
13
|
+
//# sourceMappingURL=utils-1kGDyDur.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-1kGDyDur.js","sources":["../app/javascript/src/components/utils.js"],"sourcesContent":["import { EDITOR_OPTIONS } from \"neetoeditor\";\nimport { eqBy, is, trim, when } from \"ramda\";\n\nexport const areValuesEqual = (value1, value2) => {\n const normalize = when(is(String), trim);\n\n return eqBy(normalize, value1, value2);\n};\n\nexport const getEditorAddons = (allowAddingImages, isEmailTemplate) =>\n allowAddingImages && isEmailTemplate ? [EDITOR_OPTIONS.IMAGE_UPLOAD] : [];\n"],"names":["areValuesEqual","value1","value2","normalize","when","is","String","trim","eqBy","getEditorAddons","allowAddingImages","isEmailTemplate","EDITOR_OPTIONS","IMAGE_UPLOAD"],"mappings":";;;AAGO,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,MAAM,EAAEC,MAAM,EAAK;EAChD,IAAMC,SAAS,GAAGC,IAAI,CAACC,EAAE,CAACC,MAAM,CAAC,EAAEC,IAAI,CAAC;AAExC,EAAA,OAAOC,IAAI,CAACL,SAAS,EAAEF,MAAM,EAAEC,MAAM,CAAC;AACxC;AAEO,IAAMO,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,iBAAiB,EAAEC,eAAe,EAAA;EAAA,OAChED,iBAAiB,IAAIC,eAAe,GAAG,CAACC,cAAc,CAACC,YAAY,CAAC,GAAG,EAAE;AAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var constants = require('@bigbinary/neeto-editor/
|
|
3
|
+
var constants = require('@bigbinary/neeto-editor-frontend/constants');
|
|
4
4
|
var ramda = require('ramda');
|
|
5
5
|
|
|
6
6
|
var areValuesEqual = function areValuesEqual(value1, value2) {
|
|
@@ -13,4 +13,4 @@ var getEditorAddons = function getEditorAddons(allowAddingImages, isEmailTemplat
|
|
|
13
13
|
|
|
14
14
|
exports.areValuesEqual = areValuesEqual;
|
|
15
15
|
exports.getEditorAddons = getEditorAddons;
|
|
16
|
-
//# sourceMappingURL=utils-
|
|
16
|
+
//# sourceMappingURL=utils-BkMTrHY5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-BkMTrHY5.js","sources":["../app/javascript/src/components/utils.js"],"sourcesContent":["import { EDITOR_OPTIONS } from \"neetoeditor\";\nimport { eqBy, is, trim, when } from \"ramda\";\n\nexport const areValuesEqual = (value1, value2) => {\n const normalize = when(is(String), trim);\n\n return eqBy(normalize, value1, value2);\n};\n\nexport const getEditorAddons = (allowAddingImages, isEmailTemplate) =>\n allowAddingImages && isEmailTemplate ? [EDITOR_OPTIONS.IMAGE_UPLOAD] : [];\n"],"names":["areValuesEqual","value1","value2","normalize","when","is","String","trim","eqBy","getEditorAddons","allowAddingImages","isEmailTemplate","EDITOR_OPTIONS","IMAGE_UPLOAD"],"mappings":";;;;;AAGO,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,MAAM,EAAEC,MAAM,EAAK;EAChD,IAAMC,SAAS,GAAGC,UAAI,CAACC,QAAE,CAACC,MAAM,CAAC,EAAEC,UAAI,CAAC;AAExC,EAAA,OAAOC,UAAI,CAACL,SAAS,EAAEF,MAAM,EAAEC,MAAM,CAAC;AACxC;AAEO,IAAMO,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,iBAAiB,EAAEC,eAAe,EAAA;EAAA,OAChED,iBAAiB,IAAIC,eAAe,GAAG,CAACC,wBAAc,CAACC,YAAY,CAAC,GAAG,EAAE;AAAA;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var constants = require('@bigbinary/neeto-editor/constants');
|
|
3
|
+
var constants = require('@bigbinary/neeto-editor-frontend/v2/constants');
|
|
4
4
|
var ramda = require('ramda');
|
|
5
5
|
|
|
6
6
|
var areValuesEqual = function areValuesEqual(value1, value2) {
|
|
@@ -13,4 +13,4 @@ var getEditorAddons = function getEditorAddons(allowAddingImages, isEmailTemplat
|
|
|
13
13
|
|
|
14
14
|
exports.areValuesEqual = areValuesEqual;
|
|
15
15
|
exports.getEditorAddons = getEditorAddons;
|
|
16
|
-
//# sourceMappingURL=utils-
|
|
16
|
+
//# sourceMappingURL=utils-D9KsLMfA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-D9KsLMfA.js","sources":["../app/javascript/src/v2/components/utils.js"],"sourcesContent":["import { EDITOR_OPTIONS } from \"neetoeditor/v2\";\nimport { eqBy, is, trim, when } from \"ramda\";\n\nexport const areValuesEqual = (value1, value2) => {\n const normalize = when(is(String), trim);\n\n return eqBy(normalize, value1, value2);\n};\n\nexport const getEditorAddons = (allowAddingImages, isEmailTemplate) =>\n allowAddingImages && isEmailTemplate ? [EDITOR_OPTIONS.IMAGE_UPLOAD] : [];\n"],"names":["areValuesEqual","value1","value2","normalize","when","is","String","trim","eqBy","getEditorAddons","allowAddingImages","isEmailTemplate","EDITOR_OPTIONS","IMAGE_UPLOAD"],"mappings":";;;;;AAGO,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,MAAM,EAAEC,MAAM,EAAK;EAChD,IAAMC,SAAS,GAAGC,UAAI,CAACC,QAAE,CAACC,MAAM,CAAC,EAAEC,UAAI,CAAC;AAExC,EAAA,OAAOC,UAAI,CAACL,SAAS,EAAEF,MAAM,EAAEC,MAAM,CAAC;AACxC;AAEO,IAAMO,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,iBAAiB,EAAEC,eAAe,EAAA;EAAA,OAChED,iBAAiB,IAAIC,eAAe,GAAG,CAACC,wBAAc,CAACC,YAAY,CAAC,GAAG,EAAE;AAAA;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EDITOR_OPTIONS } from '@bigbinary/neeto-editor/constants';
|
|
1
|
+
import { EDITOR_OPTIONS } from '@bigbinary/neeto-editor-frontend/v2/constants';
|
|
2
2
|
import { when, is, trim, eqBy } from 'ramda';
|
|
3
3
|
|
|
4
4
|
var areValuesEqual = function areValuesEqual(value1, value2) {
|
|
@@ -10,4 +10,4 @@ var getEditorAddons = function getEditorAddons(allowAddingImages, isEmailTemplat
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
export { areValuesEqual as a, getEditorAddons as g };
|
|
13
|
-
//# sourceMappingURL=utils-
|
|
13
|
+
//# sourceMappingURL=utils-DeMrwzD1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-DeMrwzD1.js","sources":["../app/javascript/src/v2/components/utils.js"],"sourcesContent":["import { EDITOR_OPTIONS } from \"neetoeditor/v2\";\nimport { eqBy, is, trim, when } from \"ramda\";\n\nexport const areValuesEqual = (value1, value2) => {\n const normalize = when(is(String), trim);\n\n return eqBy(normalize, value1, value2);\n};\n\nexport const getEditorAddons = (allowAddingImages, isEmailTemplate) =>\n allowAddingImages && isEmailTemplate ? [EDITOR_OPTIONS.IMAGE_UPLOAD] : [];\n"],"names":["areValuesEqual","value1","value2","normalize","when","is","String","trim","eqBy","getEditorAddons","allowAddingImages","isEmailTemplate","EDITOR_OPTIONS","IMAGE_UPLOAD"],"mappings":";;;AAGO,IAAMA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,MAAM,EAAEC,MAAM,EAAK;EAChD,IAAMC,SAAS,GAAGC,IAAI,CAACC,EAAE,CAACC,MAAM,CAAC,EAAEC,IAAI,CAAC;AAExC,EAAA,OAAOC,IAAI,CAACL,SAAS,EAAEF,MAAM,EAAEC,MAAM,CAAC;AACxC;AAEO,IAAMO,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,iBAAiB,EAAEC,eAAe,EAAA;EAAA,OAChED,iBAAiB,IAAIC,eAAe,GAAG,CAACC,cAAc,CAACC,YAAY,CAAC,GAAG,EAAE;AAAA;;;;"}
|
|
@@ -17,12 +17,12 @@ import { a as useUpdateTemplate, b as useFetchTemplates, u as useCreateTemplate,
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
import { Textarea, Input, Form as Form$1, ActionBlock } from '@bigbinary/neeto-atoms/formik';
|
|
19
19
|
import classnames from 'classnames';
|
|
20
|
-
import FormikEditor from '@bigbinary/neeto-editor/v2/FormikEditor';
|
|
20
|
+
import FormikEditor from '@bigbinary/neeto-editor-frontend/v2/FormikEditor';
|
|
21
21
|
import * as yup from 'yup';
|
|
22
22
|
import { n } from '../inject-css-C2dztUxs.js';
|
|
23
23
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
24
24
|
import { useFormikContext } from 'formik';
|
|
25
|
-
import { g as getEditorAddons } from '../utils-
|
|
25
|
+
import { g as getEditorAddons } from '../utils-DeMrwzD1.js';
|
|
26
26
|
import { isPhoneNumberValid } from '@bigbinary/neeto-molecules/v2/PhoneNumber';
|
|
27
27
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
28
28
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -35,7 +35,7 @@ import '@bigbinary/neeto-commons-frontend/v2/constants';
|
|
|
35
35
|
import '@tanstack/react-query';
|
|
36
36
|
import 'axios';
|
|
37
37
|
import 'qs';
|
|
38
|
-
import '@bigbinary/neeto-editor/v2/constants';
|
|
38
|
+
import '@bigbinary/neeto-editor-frontend/v2/constants';
|
|
39
39
|
|
|
40
40
|
var MESSAGE_TEMPLATE_INITIAL_STATE = {
|
|
41
41
|
isOpen: false,
|
|
@@ -9,10 +9,10 @@ import { M as MESSAGE_TEMPLATES, a as MESSAGE_TYPES, b as DEFAULT_EDITOR_ROW_COU
|
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
11
11
|
import { Form, Input, ActionBlock } from '@bigbinary/neeto-atoms/formik';
|
|
12
|
-
import FormikEditor from '@bigbinary/neeto-editor/v2/FormikEditor';
|
|
12
|
+
import FormikEditor from '@bigbinary/neeto-editor-frontend/v2/FormikEditor';
|
|
13
13
|
import * as yup from 'yup';
|
|
14
14
|
import { S as SaveAsTemplate } from '../SaveAsTemplate-DwPF4y1M.js';
|
|
15
|
-
import { g as getEditorAddons, a as areValuesEqual } from '../utils-
|
|
15
|
+
import { g as getEditorAddons, a as areValuesEqual } from '../utils-DeMrwzD1.js';
|
|
16
16
|
import { t } from 'i18next';
|
|
17
17
|
import '@tanstack/react-query';
|
|
18
18
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
@@ -20,7 +20,7 @@ import 'axios';
|
|
|
20
20
|
import 'qs';
|
|
21
21
|
import '@bigbinary/neeto-commons-frontend/v2/constants';
|
|
22
22
|
import 'formik';
|
|
23
|
-
import '@bigbinary/neeto-editor/v2/constants';
|
|
23
|
+
import '@bigbinary/neeto-editor-frontend/v2/constants';
|
|
24
24
|
|
|
25
25
|
var NoDataPage = function NoDataPage(_ref) {
|
|
26
26
|
var type = _ref.type,
|
package/dist/v2/SendToApiPane.js
CHANGED
|
@@ -9,7 +9,7 @@ import { useTranslation } from 'react-i18next';
|
|
|
9
9
|
import { b as useFetchTemplates } from '../useTemplatesApi-CMkDeBa9.js';
|
|
10
10
|
import { V as VALID_URL_REGEX, C as CUSTOM_HEADERS_INITIAL_VALUE, d as buildHelpPopoverProps, S as SAMPLE_URL, c as CustomHeaders, J as JsonEditor, a as API_TEMPLATE_TYPE, r as rejectEmptyKeyValuePairs } from '../JsonEditor-BHy4s0Bo.js';
|
|
11
11
|
import { S as SaveAsTemplate } from '../SaveAsTemplate-DwPF4y1M.js';
|
|
12
|
-
import { a as areValuesEqual } from '../utils-
|
|
12
|
+
import { a as areValuesEqual } from '../utils-DeMrwzD1.js';
|
|
13
13
|
import { t } from 'i18next';
|
|
14
14
|
import * as yup from 'yup';
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -26,7 +26,7 @@ import '@bigbinary/neeto-icons/Help';
|
|
|
26
26
|
import '@bigbinary/neeto-molecules/v2/DynamicVariables';
|
|
27
27
|
import '../json_editor-Co5e3Chh.js';
|
|
28
28
|
import '../inject-css-C2dztUxs.js';
|
|
29
|
-
import '@bigbinary/neeto-editor/v2/constants';
|
|
29
|
+
import '@bigbinary/neeto-editor-frontend/v2/constants';
|
|
30
30
|
|
|
31
31
|
var SEND_TO_API_FORM_INITIAL_VALUES = {
|
|
32
32
|
endpoint: "",
|
package/dist/v2/index.js
CHANGED
|
@@ -28,12 +28,12 @@ import 'qs';
|
|
|
28
28
|
import 'react/jsx-runtime';
|
|
29
29
|
import '@bigbinary/neeto-atoms/formik';
|
|
30
30
|
import 'classnames';
|
|
31
|
-
import '@bigbinary/neeto-editor/v2/FormikEditor';
|
|
31
|
+
import '@bigbinary/neeto-editor-frontend/v2/FormikEditor';
|
|
32
32
|
import 'yup';
|
|
33
33
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
34
34
|
import 'formik';
|
|
35
|
-
import '../utils-
|
|
36
|
-
import '@bigbinary/neeto-editor/v2/constants';
|
|
35
|
+
import '../utils-DeMrwzD1.js';
|
|
36
|
+
import '@bigbinary/neeto-editor-frontend/v2/constants';
|
|
37
37
|
import '@bigbinary/neeto-molecules/v2/PhoneNumber';
|
|
38
38
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
39
39
|
import '@babel/runtime/helpers/toConsumableArray';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-message-templates-frontend",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
4
4
|
"description": "To manage message templates across neeto products.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-message-templates-nano",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"@bigbinary/eslint-plugin-neeto": "1.9.1",
|
|
75
75
|
"@bigbinary/neeto-atoms": "1.0.144",
|
|
76
76
|
"@bigbinary/neeto-cist": "1.0.17",
|
|
77
|
-
"@bigbinary/neeto-commons-frontend": "4.13.
|
|
78
|
-
"@bigbinary/neeto-editor": "
|
|
77
|
+
"@bigbinary/neeto-commons-frontend": "4.13.165",
|
|
78
|
+
"@bigbinary/neeto-editor-frontend": "2.0.1",
|
|
79
79
|
"@bigbinary/neeto-filters-frontend": "4.3.45",
|
|
80
80
|
"@bigbinary/neeto-icons": "1.20.89",
|
|
81
81
|
"@bigbinary/neeto-molecules": "5.5.2",
|
|
@@ -187,8 +187,8 @@
|
|
|
187
187
|
"@babel/runtime": "7.29.7",
|
|
188
188
|
"@bigbinary/neeto-atoms": "1.0.144",
|
|
189
189
|
"@bigbinary/neeto-cist": "1.0.17",
|
|
190
|
-
"@bigbinary/neeto-commons-frontend": "4.13.
|
|
191
|
-
"@bigbinary/neeto-editor": "
|
|
190
|
+
"@bigbinary/neeto-commons-frontend": "4.13.165",
|
|
191
|
+
"@bigbinary/neeto-editor-frontend": "2.0.1",
|
|
192
192
|
"@bigbinary/neeto-filters-frontend": "4.3.45",
|
|
193
193
|
"@bigbinary/neeto-icons": "1.20.89",
|
|
194
194
|
"@bigbinary/neeto-molecules": "5.5.2",
|