@comet/brevo-admin 8.17.1 → 9.0.0-beta.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/lib/blocks/NewsletterImageBlock.d.ts +7 -3
- package/lib/blocks/NewsletterImageBlock.d.ts.map +1 -1
- package/lib/blocks/NewsletterImageBlock.js +8 -14
- package/lib/blocks.generated.js +1 -5
- package/lib/brevoConfiguration/BrevoConfigForm.generated.js +1 -5
- package/lib/brevoConfiguration/BrevoConfigForm.gql.d.ts +7 -7
- package/lib/brevoConfiguration/BrevoConfigForm.gql.d.ts.map +1 -1
- package/lib/brevoConfiguration/BrevoConfigForm.gql.generated.js +1 -7
- package/lib/brevoConfiguration/BrevoConfigForm.gql.js +8 -14
- package/lib/brevoConfiguration/BrevoConfigForm.js +53 -59
- package/lib/brevoConfiguration/BrevoConfigPage.d.ts +1 -0
- package/lib/brevoConfiguration/BrevoConfigPage.d.ts.map +1 -1
- package/lib/brevoConfiguration/BrevoConfigPage.js +8 -14
- package/lib/brevoContacts/BrevoContactsGrid.generated.js +1 -7
- package/lib/brevoContacts/BrevoContactsGrid.js +45 -51
- package/lib/brevoContacts/BrevoContactsPage.d.ts +1 -1
- package/lib/brevoContacts/BrevoContactsPage.d.ts.map +1 -1
- package/lib/brevoContacts/BrevoContactsPage.js +24 -29
- package/lib/brevoContacts/form/BrevoContactForm.generated.js +1 -7
- package/lib/brevoContacts/form/BrevoContactForm.gql.generated.js +1 -7
- package/lib/brevoContacts/form/BrevoContactForm.gql.js +7 -13
- package/lib/brevoContacts/form/BrevoContactForm.js +58 -64
- package/lib/brevoTestContacts/BrevoTestContactsGrid.generated.js +1 -7
- package/lib/brevoTestContacts/BrevoTestContactsGrid.js +40 -46
- package/lib/brevoTestContacts/BrevoTestContactsPage.d.ts +1 -1
- package/lib/brevoTestContacts/BrevoTestContactsPage.d.ts.map +1 -1
- package/lib/brevoTestContacts/BrevoTestContactsPage.js +24 -29
- package/lib/brevoTestContacts/form/BrevoTestContactForm.generated.js +1 -7
- package/lib/brevoTestContacts/form/BrevoTestContactForm.gql.generated.js +1 -7
- package/lib/brevoTestContacts/form/BrevoTestContactForm.gql.js +7 -13
- package/lib/brevoTestContacts/form/BrevoTestContactForm.js +42 -48
- package/lib/common/BrevoConfigProvider.js +9 -15
- package/lib/common/contactImport/useContactImportFromCsv.gql.d.ts +1 -1
- package/lib/common/contactImport/useContactImportFromCsv.gql.d.ts.map +1 -1
- package/lib/common/contactImport/useContactImportFromCsv.gql.generated.js +1 -7
- package/lib/common/contactImport/useContactImportFromCsv.gql.js +2 -8
- package/lib/common/contactImport/useContactImportFromCsv.js +80 -87
- package/lib/configVerification/ConfigVerification.d.ts +1 -1
- package/lib/configVerification/ConfigVerification.d.ts.map +1 -1
- package/lib/configVerification/ConfigVerification.gql.d.ts +1 -1
- package/lib/configVerification/ConfigVerification.gql.d.ts.map +1 -1
- package/lib/configVerification/ConfigVerification.gql.generated.js +1 -7
- package/lib/configVerification/ConfigVerification.gql.js +2 -8
- package/lib/configVerification/ConfigVerification.js +12 -18
- package/lib/emailCampaigns/EmailCampaignsGrid.generated.js +1 -7
- package/lib/emailCampaigns/EmailCampaignsGrid.js +47 -53
- package/lib/emailCampaigns/EmailCampaignsPage.d.ts +1 -0
- package/lib/emailCampaigns/EmailCampaignsPage.d.ts.map +1 -1
- package/lib/emailCampaigns/EmailCampaignsPage.js +29 -35
- package/lib/emailCampaigns/SendingStateColumn.js +24 -30
- package/lib/emailCampaigns/form/ConfigFields.js +11 -17
- package/lib/emailCampaigns/form/EmailCampaignForm.gql.d.ts +5 -5
- package/lib/emailCampaigns/form/EmailCampaignForm.gql.d.ts.map +1 -1
- package/lib/emailCampaigns/form/EmailCampaignForm.gql.generated.js +1 -7
- package/lib/emailCampaigns/form/EmailCampaignForm.gql.js +6 -12
- package/lib/emailCampaigns/form/EmailCampaignForm.js +65 -71
- package/lib/emailCampaigns/form/SendEmailCampaignNowDialog.js +16 -21
- package/lib/emailCampaigns/form/SendManagerFields.gql.d.ts +2 -2
- package/lib/emailCampaigns/form/SendManagerFields.gql.d.ts.map +1 -1
- package/lib/emailCampaigns/form/SendManagerFields.gql.generated.js +1 -7
- package/lib/emailCampaigns/form/SendManagerFields.gql.js +4 -10
- package/lib/emailCampaigns/form/SendManagerFields.js +37 -43
- package/lib/emailCampaigns/form/SendManagerWrapper.gql.d.ts +1 -1
- package/lib/emailCampaigns/form/SendManagerWrapper.gql.d.ts.map +1 -1
- package/lib/emailCampaigns/form/SendManagerWrapper.gql.generated.js +1 -7
- package/lib/emailCampaigns/form/SendManagerWrapper.gql.js +2 -8
- package/lib/emailCampaigns/form/SendManagerWrapper.js +13 -19
- package/lib/emailCampaigns/form/TestEmailCampaignForm.generated.js +1 -7
- package/lib/emailCampaigns/form/TestEmailCampaignForm.gql.d.ts +1 -1
- package/lib/emailCampaigns/form/TestEmailCampaignForm.gql.d.ts.map +1 -1
- package/lib/emailCampaigns/form/TestEmailCampaignForm.gql.generated.js +1 -7
- package/lib/emailCampaigns/form/TestEmailCampaignForm.gql.js +2 -8
- package/lib/emailCampaigns/form/TestEmailCampaignForm.js +33 -39
- package/lib/emailCampaigns/statistics/EmailCampaignStatistics.gql.d.ts +1 -1
- package/lib/emailCampaigns/statistics/EmailCampaignStatistics.gql.d.ts.map +1 -1
- package/lib/emailCampaigns/statistics/EmailCampaignStatistics.gql.generated.js +1 -7
- package/lib/emailCampaigns/statistics/EmailCampaignStatistics.gql.js +2 -8
- package/lib/emailCampaigns/statistics/EmailCampaignStatistics.js +40 -46
- package/lib/emailCampaigns/statistics/PercentageCard.js +29 -35
- package/lib/emailCampaigns/view/EmailCampaignView.gql.d.ts +1 -1
- package/lib/emailCampaigns/view/EmailCampaignView.gql.d.ts.map +1 -1
- package/lib/emailCampaigns/view/EmailCampaignView.gql.generated.js +1 -7
- package/lib/emailCampaigns/view/EmailCampaignView.gql.js +2 -8
- package/lib/emailCampaigns/view/EmailCampaignView.js +31 -37
- package/lib/graphql.generated.js +1 -5
- package/lib/index.js +7 -60
- package/lib/targetGroups/TargetGroupDialog.gql.d.ts +1 -1
- package/lib/targetGroups/TargetGroupDialog.gql.d.ts.map +1 -1
- package/lib/targetGroups/TargetGroupDialog.gql.generated.js +1 -7
- package/lib/targetGroups/TargetGroupDialog.gql.js +2 -8
- package/lib/targetGroups/TargetGroupDialog.js +13 -19
- package/lib/targetGroups/TargetGroupForm.gql.generated.js +1 -7
- package/lib/targetGroups/TargetGroupForm.gql.js +8 -14
- package/lib/targetGroups/TargetGroupForm.js +49 -61
- package/lib/targetGroups/TargetGroupsGrid.generated.js +1 -7
- package/lib/targetGroups/TargetGroupsGrid.js +41 -48
- package/lib/targetGroups/TargetGroupsPage.d.ts +1 -1
- package/lib/targetGroups/TargetGroupsPage.d.ts.map +1 -1
- package/lib/targetGroups/TargetGroupsPage.js +21 -27
- package/lib/targetGroups/addContacts/AddContactsGridSelect.gql.d.ts +4 -4
- package/lib/targetGroups/addContacts/AddContactsGridSelect.gql.d.ts.map +1 -1
- package/lib/targetGroups/addContacts/AddContactsGridSelect.gql.generated.js +1 -7
- package/lib/targetGroups/addContacts/AddContactsGridSelect.gql.js +6 -12
- package/lib/targetGroups/addContacts/AddContactsGridSelect.js +64 -70
- package/lib/targetGroups/allAssignedContacts/AllAssignedContactsGrid.gql.d.ts +1 -1
- package/lib/targetGroups/allAssignedContacts/AllAssignedContactsGrid.gql.d.ts.map +1 -1
- package/lib/targetGroups/allAssignedContacts/AllAssignedContactsGrid.gql.generated.js +1 -7
- package/lib/targetGroups/allAssignedContacts/AllAssignedContactsGrid.gql.js +3 -9
- package/lib/targetGroups/allAssignedContacts/AllAssignedContactsGrid.js +17 -23
- package/package.json +20 -15
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.AddContactsGridSelect = AddContactsGridSelect;
|
|
8
|
-
var _client = require("@apollo/client");
|
|
9
|
-
var _admin = require("@comet/admin");
|
|
10
|
-
var _adminIcons = require("@comet/admin-icons");
|
|
11
|
-
var _material = require("@mui/material");
|
|
12
|
-
var _system = require("@mui/system");
|
|
13
|
-
var _xDataGrid = require("@mui/x-data-grid");
|
|
14
|
-
var _react = require("react");
|
|
15
|
-
var _reactIntl = require("react-intl");
|
|
16
|
-
var _reactRouter = require("react-router");
|
|
17
|
-
var _useContactImportFromCsv = require("../../common/contactImport/useContactImportFromCsv");
|
|
18
|
-
var _TargetGroupForm = require("../TargetGroupForm");
|
|
19
|
-
var _AddContactsGridSelect = require("./AddContactsGridSelect.gql");
|
|
20
|
-
var _AddContactsGridSelectGql = require("./AddContactsGridSelect.gql.generated");
|
|
21
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
2
|
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
23
3
|
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
|
|
24
4
|
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
@@ -34,40 +14,54 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
|
34
14
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
35
15
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
36
16
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
17
|
+
import { useMutation, useQuery } from "@apollo/client";
|
|
18
|
+
import { Button, CancelButton, CrudMoreActionsMenu, DataGridToolbar, Dialog, Field, FinalForm, ToolbarFillSpace, ToolbarItem, ToolbarTitleItem, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
19
|
+
import { Add, Close, Remove, Save } from "@comet/admin-icons";
|
|
20
|
+
import { DialogActions, DialogTitle, IconButton, useTheme } from "@mui/material";
|
|
21
|
+
import { Box } from "@mui/system";
|
|
22
|
+
import { DataGrid, GridToolbarQuickFilter } from "@mui/x-data-grid";
|
|
23
|
+
import { useState } from "react";
|
|
24
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
25
|
+
import { MemoryRouter } from "react-router";
|
|
26
|
+
import { useContactImportFromCsv } from "../../common/contactImport/useContactImportFromCsv";
|
|
27
|
+
import { targetGroupFormNamedOperations } from "../TargetGroupForm";
|
|
28
|
+
import { addBrevoContactsToTargetGroupMutation, brevoContactsQuery, manuallyAssignedBrevoContactsGridQuery, removeBrevoContactFromTargetGroupMutation } from "./AddContactsGridSelect.gql";
|
|
29
|
+
import { namedOperations } from "./AddContactsGridSelect.gql.generated";
|
|
30
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
37
31
|
var AssignedContactsGridToolbar = function AssignedContactsGridToolbar(_ref) {
|
|
38
32
|
var onOpenDialog = _ref.onOpenDialog,
|
|
39
33
|
scope = _ref.scope,
|
|
40
34
|
targetGroupId = _ref.targetGroupId,
|
|
41
35
|
sendDoubleOptIn = _ref.sendDoubleOptIn;
|
|
42
|
-
var intl =
|
|
43
|
-
var _useContactImportFrom =
|
|
36
|
+
var intl = useIntl();
|
|
37
|
+
var _useContactImportFrom = useContactImportFromCsv({
|
|
44
38
|
scope: scope,
|
|
45
39
|
targetGroupId: targetGroupId,
|
|
46
40
|
sendDoubleOptIn: sendDoubleOptIn,
|
|
47
|
-
refetchQueries: [
|
|
41
|
+
refetchQueries: [namedOperations.Query.ManuallyAssignedBrevoContactsGrid]
|
|
48
42
|
}),
|
|
49
43
|
_useContactImportFrom2 = _slicedToArray(_useContactImportFrom, 2),
|
|
50
44
|
moreActionsMenuItem = _useContactImportFrom2[0],
|
|
51
45
|
component = _useContactImportFrom2[1];
|
|
52
|
-
return /*#__PURE__*/(
|
|
53
|
-
children: [/*#__PURE__*/(
|
|
54
|
-
children: [/*#__PURE__*/(
|
|
55
|
-
children: /*#__PURE__*/(
|
|
46
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
47
|
+
children: [/*#__PURE__*/_jsxs(DataGridToolbar, {
|
|
48
|
+
children: [/*#__PURE__*/_jsx(ToolbarTitleItem, {
|
|
49
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
56
50
|
id: "cometBrevoModule.targetGroup.manuallyAssignedContacts.title",
|
|
57
51
|
defaultMessage: "Manually assigned contacts"
|
|
58
52
|
})
|
|
59
|
-
}), /*#__PURE__*/(
|
|
53
|
+
}), /*#__PURE__*/_jsx(GridToolbarQuickFilter, {
|
|
60
54
|
placeholder: intl.formatMessage({
|
|
61
55
|
id: "cometBrevoModule.targetGroup.assignedContacts.searchEmail",
|
|
62
56
|
defaultMessage: "Search email address"
|
|
63
57
|
})
|
|
64
|
-
}), /*#__PURE__*/(
|
|
58
|
+
}), /*#__PURE__*/_jsx(ToolbarFillSpace, {}), /*#__PURE__*/_jsx(CrudMoreActionsMenu, {
|
|
65
59
|
overallActions: [moreActionsMenuItem]
|
|
66
|
-
}), /*#__PURE__*/(
|
|
67
|
-
startIcon: /*#__PURE__*/(
|
|
60
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
61
|
+
startIcon: /*#__PURE__*/_jsx(Add, {}),
|
|
68
62
|
variant: "primary",
|
|
69
63
|
onClick: onOpenDialog,
|
|
70
|
-
children: /*#__PURE__*/(
|
|
64
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
71
65
|
id: "cometBrevoModule.targetGroup.assignedContacts.addContact",
|
|
72
66
|
defaultMessage: "Add contacts"
|
|
73
67
|
})
|
|
@@ -76,15 +70,15 @@ var AssignedContactsGridToolbar = function AssignedContactsGridToolbar(_ref) {
|
|
|
76
70
|
});
|
|
77
71
|
};
|
|
78
72
|
var AssignableContactsGridToolbar = function AssignableContactsGridToolbar() {
|
|
79
|
-
var intl =
|
|
80
|
-
return /*#__PURE__*/(
|
|
81
|
-
children: [/*#__PURE__*/(
|
|
82
|
-
children: /*#__PURE__*/(
|
|
73
|
+
var intl = useIntl();
|
|
74
|
+
return /*#__PURE__*/_jsxs(DataGridToolbar, {
|
|
75
|
+
children: [/*#__PURE__*/_jsx(ToolbarTitleItem, {
|
|
76
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
83
77
|
id: "cometBrevoModule.targetGroup.assignableContacts.title",
|
|
84
78
|
defaultMessage: "Assignable contacts"
|
|
85
79
|
})
|
|
86
|
-
}), /*#__PURE__*/(
|
|
87
|
-
children: /*#__PURE__*/(
|
|
80
|
+
}), /*#__PURE__*/_jsx(ToolbarItem, {
|
|
81
|
+
children: /*#__PURE__*/_jsx(GridToolbarQuickFilter, {
|
|
88
82
|
placeholder: intl.formatMessage({
|
|
89
83
|
id: "cometBrevoModule.targetGroup.assignableContacts.searchEmail",
|
|
90
84
|
defaultMessage: "Search email address"
|
|
@@ -94,8 +88,8 @@ var AssignableContactsGridToolbar = function AssignableContactsGridToolbar() {
|
|
|
94
88
|
});
|
|
95
89
|
};
|
|
96
90
|
var useSubmitMutation = function useSubmitMutation(id) {
|
|
97
|
-
var _useMutation =
|
|
98
|
-
refetchQueries: [
|
|
91
|
+
var _useMutation = useMutation(addBrevoContactsToTargetGroupMutation, {
|
|
92
|
+
refetchQueries: [namedOperations.Query.ManuallyAssignedBrevoContactsGrid, targetGroupFormNamedOperations.Query.TargetGroupForm]
|
|
99
93
|
}),
|
|
100
94
|
_useMutation2 = _slicedToArray(_useMutation, 1),
|
|
101
95
|
addContactsToTargetGroup = _useMutation2[0];
|
|
@@ -111,22 +105,22 @@ var useSubmitMutation = function useSubmitMutation(id) {
|
|
|
111
105
|
});
|
|
112
106
|
};
|
|
113
107
|
};
|
|
114
|
-
function AddContactsGridSelect(_ref3) {
|
|
108
|
+
export function AddContactsGridSelect(_ref3) {
|
|
115
109
|
var _dataGridAssignableCo, _dataGridAssignableCo2, _dataGridAssignedCont, _dataGridAssignedCont2, _assignedContactsData;
|
|
116
110
|
var id = _ref3.id,
|
|
117
111
|
scope = _ref3.scope,
|
|
118
112
|
assignedContactsTargetGroupBrevoId = _ref3.assignedContactsTargetGroupBrevoId;
|
|
119
|
-
var intl =
|
|
113
|
+
var intl = useIntl();
|
|
120
114
|
var submit = useSubmitMutation(id);
|
|
121
|
-
var theme =
|
|
122
|
-
var dataGridAssignedContactsProps = _objectSpread(_objectSpread({},
|
|
123
|
-
var dataGridAssignableContactsProps = _objectSpread(_objectSpread({},
|
|
124
|
-
var _useState =
|
|
115
|
+
var theme = useTheme();
|
|
116
|
+
var dataGridAssignedContactsProps = _objectSpread(_objectSpread({}, useDataGridRemote()), usePersistentColumnState("TargetGroupAssignedBrevoContactsGrid"));
|
|
117
|
+
var dataGridAssignableContactsProps = _objectSpread(_objectSpread({}, useDataGridRemote()), usePersistentColumnState("TargetGroupAssignableBrevoContactsGrid"));
|
|
118
|
+
var _useState = useState(false),
|
|
125
119
|
_useState2 = _slicedToArray(_useState, 2),
|
|
126
120
|
isDialogOpen = _useState2[0],
|
|
127
121
|
setIsDialogOpen = _useState2[1];
|
|
128
|
-
var _useMutation3 =
|
|
129
|
-
refetchQueries: [
|
|
122
|
+
var _useMutation3 = useMutation(removeBrevoContactFromTargetGroupMutation, {
|
|
123
|
+
refetchQueries: [namedOperations.Query.ManuallyAssignedBrevoContactsGrid],
|
|
130
124
|
awaitRefetchQueries: true
|
|
131
125
|
}),
|
|
132
126
|
_useMutation4 = _slicedToArray(_useMutation3, 2),
|
|
@@ -143,7 +137,7 @@ function AddContactsGridSelect(_ref3) {
|
|
|
143
137
|
}
|
|
144
138
|
});
|
|
145
139
|
};
|
|
146
|
-
var _useQuery =
|
|
140
|
+
var _useQuery = useQuery(brevoContactsQuery, {
|
|
147
141
|
variables: {
|
|
148
142
|
offset: dataGridAssignableContactsProps.paginationModel.page * dataGridAssignableContactsProps.paginationModel.pageSize,
|
|
149
143
|
limit: dataGridAssignableContactsProps.paginationModel.pageSize,
|
|
@@ -154,7 +148,7 @@ function AddContactsGridSelect(_ref3) {
|
|
|
154
148
|
assignableContactsData = _useQuery.data,
|
|
155
149
|
assignableContactsLoading = _useQuery.loading,
|
|
156
150
|
assignableContactsError = _useQuery.error;
|
|
157
|
-
var _useQuery2 =
|
|
151
|
+
var _useQuery2 = useQuery(manuallyAssignedBrevoContactsGridQuery, {
|
|
158
152
|
variables: {
|
|
159
153
|
offset: dataGridAssignedContactsProps.paginationModel.page * dataGridAssignedContactsProps.paginationModel.pageSize,
|
|
160
154
|
limit: dataGridAssignedContactsProps.paginationModel.pageSize,
|
|
@@ -225,20 +219,20 @@ function AddContactsGridSelect(_ref3) {
|
|
|
225
219
|
},
|
|
226
220
|
renderCell: function renderCell(_ref6) {
|
|
227
221
|
var id = _ref6.id;
|
|
228
|
-
return /*#__PURE__*/(
|
|
222
|
+
return /*#__PURE__*/_jsx(IconButton, {
|
|
229
223
|
onClick: function onClick() {
|
|
230
224
|
return onDeleteClick(Number(id));
|
|
231
225
|
},
|
|
232
226
|
disabled: removeLoading,
|
|
233
|
-
children: /*#__PURE__*/(
|
|
227
|
+
children: /*#__PURE__*/_jsx(Remove, {})
|
|
234
228
|
});
|
|
235
229
|
}
|
|
236
230
|
}]);
|
|
237
|
-
var assignedContactsRowCount =
|
|
238
|
-
var assignableContactsRowCount =
|
|
231
|
+
var assignedContactsRowCount = useBufferedRowCount(assignedContactsData === null || assignedContactsData === void 0 ? void 0 : assignedContactsData.manuallyAssignedBrevoContacts.totalCount);
|
|
232
|
+
var assignableContactsRowCount = useBufferedRowCount(assignableContactsData === null || assignableContactsData === void 0 ? void 0 : assignableContactsData.brevoContacts.totalCount);
|
|
239
233
|
if (assignedContactsError || assignableContactsError) throw assignedContactsError !== null && assignedContactsError !== void 0 ? assignedContactsError : assignableContactsError;
|
|
240
|
-
return /*#__PURE__*/(
|
|
241
|
-
children: [/*#__PURE__*/(
|
|
234
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
235
|
+
children: [/*#__PURE__*/_jsx(DataGrid, _objectSpread(_objectSpread({}, dataGridAssignedContactsProps), {}, {
|
|
242
236
|
disableRowSelectionOnClick: true,
|
|
243
237
|
rows: (_assignedContactsData = assignedContactsData === null || assignedContactsData === void 0 ? void 0 : assignedContactsData.manuallyAssignedBrevoContacts.nodes) !== null && _assignedContactsData !== void 0 ? _assignedContactsData : [],
|
|
244
238
|
rowCount: assignedContactsRowCount,
|
|
@@ -257,39 +251,39 @@ function AddContactsGridSelect(_ref3) {
|
|
|
257
251
|
targetGroupId: id
|
|
258
252
|
}
|
|
259
253
|
}
|
|
260
|
-
})), /*#__PURE__*/(
|
|
254
|
+
})), /*#__PURE__*/_jsx(FinalForm, {
|
|
261
255
|
mode: "edit",
|
|
262
256
|
onSubmit: submit,
|
|
263
257
|
children: function children(_ref7) {
|
|
264
258
|
var handleSubmit = _ref7.handleSubmit,
|
|
265
259
|
submitting = _ref7.submitting;
|
|
266
|
-
return /*#__PURE__*/(
|
|
267
|
-
children: /*#__PURE__*/(
|
|
260
|
+
return /*#__PURE__*/_jsx(MemoryRouter, {
|
|
261
|
+
children: /*#__PURE__*/_jsxs(Dialog, {
|
|
268
262
|
open: isDialogOpen,
|
|
269
263
|
maxWidth: "lg",
|
|
270
264
|
onClose: function onClose() {
|
|
271
265
|
return setIsDialogOpen(false);
|
|
272
266
|
},
|
|
273
|
-
children: [/*#__PURE__*/(
|
|
267
|
+
children: [/*#__PURE__*/_jsxs(DialogTitle, {
|
|
274
268
|
display: "flex",
|
|
275
269
|
flexDirection: "row",
|
|
276
270
|
alignItems: "center",
|
|
277
271
|
justifyContent: "space-between",
|
|
278
|
-
children: [/*#__PURE__*/(
|
|
272
|
+
children: [/*#__PURE__*/_jsx(ToolbarFillSpace, {}), /*#__PURE__*/_jsx(IconButton, {
|
|
279
273
|
onClick: function onClick() {
|
|
280
274
|
return setIsDialogOpen(false);
|
|
281
275
|
},
|
|
282
|
-
children: /*#__PURE__*/(
|
|
276
|
+
children: /*#__PURE__*/_jsx(Close, {
|
|
283
277
|
htmlColor: theme.palette.common.white
|
|
284
278
|
})
|
|
285
279
|
})]
|
|
286
|
-
}), /*#__PURE__*/(
|
|
287
|
-
children: /*#__PURE__*/(
|
|
280
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
281
|
+
children: /*#__PURE__*/_jsx(Field, {
|
|
288
282
|
name: "brevoContactIds",
|
|
289
283
|
fullWidth: true,
|
|
290
284
|
children: function children(props) {
|
|
291
285
|
var _assignableContactsDa;
|
|
292
|
-
return /*#__PURE__*/(
|
|
286
|
+
return /*#__PURE__*/_jsx(DataGrid, _objectSpread(_objectSpread({}, dataGridAssignableContactsProps), {}, {
|
|
293
287
|
rows: (_assignableContactsDa = assignableContactsData === null || assignableContactsData === void 0 ? void 0 : assignableContactsData.brevoContacts.nodes) !== null && _assignableContactsDa !== void 0 ? _assignableContactsDa : [],
|
|
294
288
|
rowCount: assignableContactsRowCount,
|
|
295
289
|
columns: assignableContactsColumns,
|
|
@@ -307,13 +301,13 @@ function AddContactsGridSelect(_ref3) {
|
|
|
307
301
|
}));
|
|
308
302
|
}
|
|
309
303
|
})
|
|
310
|
-
}), /*#__PURE__*/(
|
|
311
|
-
children: [/*#__PURE__*/(
|
|
304
|
+
}), /*#__PURE__*/_jsxs(DialogActions, {
|
|
305
|
+
children: [/*#__PURE__*/_jsx(CancelButton, {
|
|
312
306
|
onClick: function onClick() {
|
|
313
307
|
return setIsDialogOpen(false);
|
|
314
308
|
}
|
|
315
|
-
}), /*#__PURE__*/(
|
|
316
|
-
startIcon: /*#__PURE__*/(
|
|
309
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
310
|
+
startIcon: /*#__PURE__*/_jsx(Save, {}),
|
|
317
311
|
onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
318
312
|
return _regenerator().w(function (_context) {
|
|
319
313
|
while (1) switch (_context.n) {
|
|
@@ -328,7 +322,7 @@ function AddContactsGridSelect(_ref3) {
|
|
|
328
322
|
}, _callee);
|
|
329
323
|
})),
|
|
330
324
|
variant: "primary",
|
|
331
|
-
children: /*#__PURE__*/(
|
|
325
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
332
326
|
id: "cometBrevoModule.targetGroup.addBrevoContacts.dialog.save",
|
|
333
327
|
defaultMessage: "Save"
|
|
334
328
|
})
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const allAssignedBrevoContactsGridQuery: import("
|
|
1
|
+
export declare const allAssignedBrevoContactsGridQuery: import("graphql").DocumentNode;
|
|
2
2
|
//# sourceMappingURL=AllAssignedContactsGrid.gql.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllAssignedContactsGrid.gql.d.ts","sourceRoot":"","sources":["../../../src/targetGroups/allAssignedContacts/AllAssignedContactsGrid.gql.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,iCAAiC,
|
|
1
|
+
{"version":3,"file":"AllAssignedContactsGrid.gql.d.ts","sourceRoot":"","sources":["../../../src/targetGroups/allAssignedContacts/AllAssignedContactsGrid.gql.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,iCAAiC,gCAU7C,CAAC"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.allAssignedBrevoContactsGridQuery = void 0;
|
|
7
|
-
var _client = require("@apollo/client");
|
|
8
1
|
var _templateObject, _templateObject2;
|
|
9
2
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
10
|
-
|
|
11
|
-
var
|
|
3
|
+
import { gql } from "@apollo/client";
|
|
4
|
+
var targetGroupBrevoContactsFragment = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fragment TargetGroupBrevoContactsList on BrevoContact {\n id\n createdAt\n modifiedAt\n email\n emailBlacklisted\n smsBlacklisted\n }\n"])));
|
|
5
|
+
export var allAssignedBrevoContactsGridQuery = gql(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n query BrevoContacts($offset: Int, $limit: Int, $email: String, $targetGroupId: ID!, $scope: EmailCampaignContentScopeInput!) {\n brevoContacts(offset: $offset, limit: $limit, email: $email, targetGroupId: $targetGroupId, scope: $scope) {\n nodes {\n ...TargetGroupBrevoContactsList\n }\n totalCount\n }\n }\n ", "\n"])), targetGroupBrevoContactsFragment);
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.AllAssignedContactsGrid = AllAssignedContactsGrid;
|
|
7
|
-
var _client = require("@apollo/client");
|
|
8
|
-
var _admin = require("@comet/admin");
|
|
9
|
-
var _xDataGrid = require("@mui/x-data-grid");
|
|
10
|
-
var _reactIntl = require("react-intl");
|
|
11
|
-
var _AllAssignedContactsGrid = require("./AllAssignedContactsGrid.gql");
|
|
12
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
2
|
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; }
|
|
15
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).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; }
|
|
16
4
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import { useQuery } from "@apollo/client";
|
|
8
|
+
import { DataGridToolbar, ToolbarTitleItem, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
9
|
+
import { DataGrid, GridToolbarQuickFilter } from "@mui/x-data-grid";
|
|
10
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
11
|
+
import { allAssignedBrevoContactsGridQuery } from "./AllAssignedContactsGrid.gql";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
13
|
var AssignedContactsGridToolbar = function AssignedContactsGridToolbar() {
|
|
20
|
-
var intl =
|
|
21
|
-
return /*#__PURE__*/(
|
|
22
|
-
children: [/*#__PURE__*/(
|
|
23
|
-
children: /*#__PURE__*/(
|
|
14
|
+
var intl = useIntl();
|
|
15
|
+
return /*#__PURE__*/_jsxs(DataGridToolbar, {
|
|
16
|
+
children: [/*#__PURE__*/_jsx(ToolbarTitleItem, {
|
|
17
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
24
18
|
id: "cometBrevoModule.targetGroup.allAssignedContacts.title",
|
|
25
19
|
defaultMessage: "All assigned contacts"
|
|
26
20
|
})
|
|
27
|
-
}), /*#__PURE__*/(
|
|
21
|
+
}), /*#__PURE__*/_jsx(GridToolbarQuickFilter, {
|
|
28
22
|
placeholder: intl.formatMessage({
|
|
29
23
|
id: "cometBrevoModule.targetGroup.assignedContacts.searchEmail",
|
|
30
24
|
defaultMessage: "Search email address"
|
|
@@ -32,14 +26,14 @@ var AssignedContactsGridToolbar = function AssignedContactsGridToolbar() {
|
|
|
32
26
|
})]
|
|
33
27
|
});
|
|
34
28
|
};
|
|
35
|
-
function AllAssignedContactsGrid(_ref) {
|
|
29
|
+
export function AllAssignedContactsGrid(_ref) {
|
|
36
30
|
var _dataGridAllAssignedC, _dataGridAllAssignedC2, _allAssignedContactsD;
|
|
37
31
|
var id = _ref.id,
|
|
38
32
|
scope = _ref.scope,
|
|
39
33
|
brevoId = _ref.brevoId;
|
|
40
|
-
var intl =
|
|
41
|
-
var dataGridAllAssignedContactsProps = _objectSpread(_objectSpread({},
|
|
42
|
-
var _useQuery =
|
|
34
|
+
var intl = useIntl();
|
|
35
|
+
var dataGridAllAssignedContactsProps = _objectSpread(_objectSpread({}, useDataGridRemote()), usePersistentColumnState("TargetGroupAssignedBrevoContactsGrid"));
|
|
36
|
+
var _useQuery = useQuery(allAssignedBrevoContactsGridQuery, {
|
|
43
37
|
variables: {
|
|
44
38
|
offset: dataGridAllAssignedContactsProps.paginationModel.page * dataGridAllAssignedContactsProps.paginationModel.pageSize,
|
|
45
39
|
limit: dataGridAllAssignedContactsProps.paginationModel.pageSize,
|
|
@@ -99,9 +93,9 @@ function AllAssignedContactsGrid(_ref) {
|
|
|
99
93
|
sortable: false,
|
|
100
94
|
width: 150
|
|
101
95
|
}];
|
|
102
|
-
var allAssignedContactsRowCount =
|
|
96
|
+
var allAssignedContactsRowCount = useBufferedRowCount(allAssignedContactsData === null || allAssignedContactsData === void 0 ? void 0 : allAssignedContactsData.brevoContacts.totalCount);
|
|
103
97
|
if (allAssignedContactsError) throw allAssignedContactsError;
|
|
104
|
-
return /*#__PURE__*/(
|
|
98
|
+
return /*#__PURE__*/_jsx(DataGrid, _objectSpread(_objectSpread({}, dataGridAllAssignedContactsProps), {}, {
|
|
105
99
|
disableRowSelectionOnClick: true,
|
|
106
100
|
rows: (_allAssignedContactsD = allAssignedContactsData === null || allAssignedContactsData === void 0 ? void 0 : allAssignedContactsData.brevoContacts.nodes) !== null && _allAssignedContactsD !== void 0 ? _allAssignedContactsD : [],
|
|
107
101
|
rowCount: allAssignedContactsRowCount,
|
package/package.json
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comet/brevo-admin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-beta.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/vivid-planet/comet/",
|
|
7
7
|
"directory": "packages/admin/brevo-admin"
|
|
8
8
|
},
|
|
9
9
|
"license": "BSD-2-Clause",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"type": "module",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./lib/index.js",
|
|
14
|
+
"types": "./lib/index.d.ts"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
12
17
|
"files": [
|
|
13
18
|
"lib"
|
|
14
19
|
],
|
|
@@ -16,10 +21,10 @@
|
|
|
16
21
|
"date-fns": "^4.1.0",
|
|
17
22
|
"file-saver": "^2.0.5",
|
|
18
23
|
"react-dropzone": "^14.2.3",
|
|
19
|
-
"@comet/admin": "
|
|
20
|
-
"@comet/admin-date-time": "
|
|
21
|
-
"@comet/admin-icons": "
|
|
22
|
-
"@comet/cms-admin": "
|
|
24
|
+
"@comet/admin": "9.0.0-beta.0",
|
|
25
|
+
"@comet/admin-date-time": "9.0.0-beta.0",
|
|
26
|
+
"@comet/admin-icons": "9.0.0-beta.0",
|
|
27
|
+
"@comet/cms-admin": "9.0.0-beta.0"
|
|
23
28
|
},
|
|
24
29
|
"devDependencies": {
|
|
25
30
|
"@apollo/client": "^3.14.0",
|
|
@@ -38,25 +43,25 @@
|
|
|
38
43
|
"@mui/x-data-grid-pro": "^7.29.12",
|
|
39
44
|
"@mui/x-date-pickers": "^7.29.4",
|
|
40
45
|
"@types/file-saver": "^2.0.7",
|
|
41
|
-
"@types/react": "^
|
|
42
|
-
"@types/react-dom": "^
|
|
46
|
+
"@types/react": "^19.2.10",
|
|
47
|
+
"@types/react-dom": "^19.2.3",
|
|
43
48
|
"@types/react-router": "^5.1.20",
|
|
44
49
|
"chokidar-cli": "^3.0.0",
|
|
45
50
|
"eslint": "^9.39.2",
|
|
46
51
|
"final-form": "^4.20.10",
|
|
47
52
|
"graphql": "^16.0.0",
|
|
48
53
|
"prettier": "^3.4.2",
|
|
49
|
-
"react": "^
|
|
54
|
+
"react": "^19.2.4",
|
|
50
55
|
"react-dnd": "^16.0.1",
|
|
51
56
|
"react-dnd-html5-backend": "^16.0.1",
|
|
52
|
-
"react-dom": "^
|
|
57
|
+
"react-dom": "^19.2.4",
|
|
53
58
|
"react-final-form": "^6.5.9",
|
|
54
59
|
"react-intl": "^7.1.11",
|
|
55
60
|
"react-router": "^5.3.4",
|
|
56
61
|
"react-router-dom": "^5.3.4",
|
|
57
62
|
"typescript": "^5.9.3",
|
|
58
|
-
"@comet/admin-babel-preset": "
|
|
59
|
-
"@comet/eslint-config": "
|
|
63
|
+
"@comet/admin-babel-preset": "9.0.0-beta.0",
|
|
64
|
+
"@comet/eslint-config": "9.0.0-beta.0"
|
|
60
65
|
},
|
|
61
66
|
"peerDependencies": {
|
|
62
67
|
"@apollo/client": "^3.7.0",
|
|
@@ -68,10 +73,10 @@
|
|
|
68
73
|
"@mui/x-date-pickers": "^7.0.0",
|
|
69
74
|
"final-form": "^4.0.0",
|
|
70
75
|
"graphql": "^15.0.0 || ^16.0.0",
|
|
71
|
-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
76
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
72
77
|
"react-dnd": "^16.0.0",
|
|
73
78
|
"react-dnd-html5-backend": "^16.0.0",
|
|
74
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
79
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
75
80
|
"react-final-form": "^6.0.0",
|
|
76
81
|
"react-intl": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
|
77
82
|
"react-router": "^5.0.0",
|