@comet/brevo-admin 9.0.0-beta.1 → 9.0.0-beta.2
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/brevoContacts/BrevoContactsGrid.d.ts.map +1 -1
- package/lib/brevoContacts/BrevoContactsGrid.js +4 -3
- package/lib/brevoTestContacts/BrevoTestContactsGrid.d.ts.map +1 -1
- package/lib/brevoTestContacts/BrevoTestContactsGrid.js +4 -3
- package/lib/emailCampaigns/EmailCampaignsGrid.d.ts.map +1 -1
- package/lib/emailCampaigns/EmailCampaignsGrid.js +4 -3
- package/lib/targetGroups/TargetGroupsGrid.d.ts.map +1 -1
- package/lib/targetGroups/TargetGroupsGrid.js +4 -3
- package/lib/targetGroups/addContacts/AddContactsGridSelect.d.ts.map +1 -1
- package/lib/targetGroups/addContacts/AddContactsGridSelect.js +12 -6
- package/lib/targetGroups/allAssignedContacts/AllAssignedContactsGrid.d.ts.map +1 -1
- package/lib/targetGroups/allAssignedContacts/AllAssignedContactsGrid.js +4 -3
- package/package.json +17 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrevoContactsGrid.d.ts","sourceRoot":"","sources":["../../src/brevoContacts/BrevoContactsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAkC,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAIH,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"BrevoContactsGrid.d.ts","sourceRoot":"","sources":["../../src/brevoContacts/BrevoContactsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAkC,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAIH,KAAK,UAAU,EAWlB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA0E1C,wBAAgB,iBAAiB,CAAC,EAC9B,KAAK,EACL,4BAA4B,EAC5B,oBAAyB,GAC5B,EAAE;IACC,KAAK,EAAE,YAAY,CAAC;IACpB,4BAA4B,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;IACxE,oBAAoB,CAAC,EAAE,UAAU,EAAE,CAAC;CACvC,GAAG,YAAY,CA0If"}
|
|
@@ -21,10 +21,10 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
21
21
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
22
22
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
23
23
|
import { gql, useApolloClient, useQuery } from "@apollo/client";
|
|
24
|
-
import { Button, CrudMoreActionsMenu, DataGridToolbar, MainContent, messages, RowActionsItem, RowActionsMenu, StackLink, ToolbarFillSpace, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
24
|
+
import { Button, CrudMoreActionsMenu, DataGridToolbar, GridToolbarQuickFilter, MainContent, messages, RowActionsItem, RowActionsMenu, StackLink, ToolbarFillSpace, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
25
25
|
import { Add, Block, Check, Delete, Edit } from "@comet/admin-icons";
|
|
26
26
|
import { IconButton } from "@mui/material";
|
|
27
|
-
import { DataGrid
|
|
27
|
+
import { DataGrid } from "@mui/x-data-grid";
|
|
28
28
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
29
29
|
import { useContactImportFromCsv } from "../common/contactImport/useContactImportFromCsv";
|
|
30
30
|
import { namedOperations } from "./BrevoContactsGrid.generated";
|
|
@@ -229,7 +229,8 @@ export function BrevoContactsGrid(_ref2) {
|
|
|
229
229
|
intl: intl,
|
|
230
230
|
scope: scope
|
|
231
231
|
}
|
|
232
|
-
}
|
|
232
|
+
},
|
|
233
|
+
showToolbar: true
|
|
233
234
|
}))
|
|
234
235
|
});
|
|
235
236
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrevoTestContactsGrid.d.ts","sourceRoot":"","sources":["../../src/brevoTestContacts/BrevoTestContactsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAkC,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAIH,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"BrevoTestContactsGrid.d.ts","sourceRoot":"","sources":["../../src/brevoTestContacts/BrevoTestContactsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAkC,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAIH,KAAK,UAAU,EAalB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA8D1C,wBAAgB,qBAAqB,CAAC,EAClC,KAAK,EACL,4BAA4B,EAC5B,oBAAyB,GAC5B,EAAE;IACC,KAAK,EAAE,YAAY,CAAC;IACpB,4BAA4B,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;IACxE,oBAAoB,CAAC,EAAE,UAAU,EAAE,CAAC;CACvC,GAAG,YAAY,CA2Hf"}
|
|
@@ -17,10 +17,10 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
17
17
|
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); }
|
|
18
18
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
19
19
|
import { gql, useApolloClient, useQuery } from "@apollo/client";
|
|
20
|
-
import { Alert, Button, DataGridToolbar, MainContent, messages, RowActionsItem, RowActionsMenu, StackLink, ToolbarFillSpace, ToolbarTitleItem, Tooltip, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
20
|
+
import { Alert, Button, DataGridToolbar, GridToolbarQuickFilter, MainContent, messages, RowActionsItem, RowActionsMenu, StackLink, ToolbarFillSpace, ToolbarTitleItem, Tooltip, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
21
21
|
import { Add, Delete, Edit } from "@comet/admin-icons";
|
|
22
22
|
import { Box, IconButton } from "@mui/material";
|
|
23
|
-
import { DataGrid
|
|
23
|
+
import { DataGrid } from "@mui/x-data-grid";
|
|
24
24
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
25
25
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
26
26
|
var brevoContactsFragment = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fragment BrevoContactsList on BrevoContact {\n id\n createdAt\n modifiedAt\n email\n emailBlacklisted\n smsBlacklisted\n }\n"])));
|
|
@@ -196,7 +196,8 @@ export function BrevoTestContactsGrid(_ref2) {
|
|
|
196
196
|
scope: scope,
|
|
197
197
|
totalCount: totalCount
|
|
198
198
|
}
|
|
199
|
-
}
|
|
199
|
+
},
|
|
200
|
+
showToolbar: true
|
|
200
201
|
}))]
|
|
201
202
|
});
|
|
202
203
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailCampaignsGrid.d.ts","sourceRoot":"","sources":["../../src/emailCampaigns/EmailCampaignsGrid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EmailCampaignsGrid.d.ts","sourceRoot":"","sources":["../../src/emailCampaigns/EmailCampaignsGrid.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAI1E,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAqF1C,wBAAgB,kBAAkB,CAAC,EAC/B,KAAK,EACL,yBAAyB,GAC5B,EAAE;IACC,KAAK,EAAE,YAAY,CAAC;IACpB,yBAAyB,EAAE,cAAc,CAAC;CAC7C,GAAG,YAAY,CAwJf"}
|
|
@@ -11,10 +11,10 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
11
11
|
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); }
|
|
12
12
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
13
13
|
import { gql, useApolloClient, useQuery } from "@apollo/client";
|
|
14
|
-
import { Button, CrudContextMenu, DataGridToolbar, GridFilterButton, MainContent, muiGridFilterToGql, muiGridSortToGql, StackLink, ToolbarActions, ToolbarAutomaticTitleItem, ToolbarFillSpace, ToolbarItem, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
14
|
+
import { Button, CrudContextMenu, DataGridToolbar, GridFilterButton, GridToolbarQuickFilter, MainContent, muiGridFilterToGql, muiGridSortToGql, StackLink, ToolbarActions, ToolbarAutomaticTitleItem, ToolbarFillSpace, ToolbarItem, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
15
15
|
import { Add as AddIcon, Edit, Statistics, Visible } from "@comet/admin-icons";
|
|
16
16
|
import { IconButton } from "@mui/material";
|
|
17
|
-
import { DataGrid
|
|
17
|
+
import { DataGrid } from "@mui/x-data-grid";
|
|
18
18
|
import { isBefore } from "date-fns";
|
|
19
19
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
20
20
|
import { SendingStateColumn } from "./SendingStateColumn";
|
|
@@ -272,7 +272,8 @@ export function EmailCampaignsGrid(_ref) {
|
|
|
272
272
|
loading: loading,
|
|
273
273
|
slots: {
|
|
274
274
|
toolbar: EmailCampaignsGridToolbar
|
|
275
|
-
}
|
|
275
|
+
},
|
|
276
|
+
showToolbar: true
|
|
276
277
|
}))
|
|
277
278
|
});
|
|
278
279
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TargetGroupsGrid.d.ts","sourceRoot":"","sources":["../../src/targetGroups/TargetGroupsGrid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TargetGroupsGrid.d.ts","sourceRoot":"","sources":["../../src/targetGroups/TargetGroupsGrid.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAiB1C,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAuDtE,wBAAgB,gBAAgB,CAAC,EAC7B,KAAK,EACL,wBAAwB,GAC3B,EAAE;IACC,KAAK,EAAE,YAAY,CAAC;IACpB,wBAAwB,CAAC,EAAE;QACvB,4BAA4B,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,YAAY,CAAA;SAAE,CAAC;QACvE,YAAY,EAAE;YAAE,WAAW,EAAE,CAAC,GAAG,EAAE,+BAA+B,KAAK,MAAM,CAAC;YAAC,UAAU,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;KACzG,CAAC;CACL,GAAG,YAAY,CAqLf"}
|
|
@@ -17,10 +17,10 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
17
17
|
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); }
|
|
18
18
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
19
19
|
import { gql, useApolloClient, useQuery } from "@apollo/client";
|
|
20
|
-
import { Button, CrudContextMenu, DataGridToolbar, downloadFile, GridFilterButton, MainContent, muiGridFilterToGql, muiGridSortToGql, StackLink, ToolbarAutomaticTitleItem, ToolbarFillSpace, useBufferedRowCount, useDataGridRemote, useEditDialog, usePersistentColumnState } from "@comet/admin";
|
|
20
|
+
import { Button, CrudContextMenu, DataGridToolbar, downloadFile, GridFilterButton, GridToolbarQuickFilter, MainContent, muiGridFilterToGql, muiGridSortToGql, StackLink, ToolbarAutomaticTitleItem, ToolbarFillSpace, useBufferedRowCount, useDataGridRemote, useEditDialog, usePersistentColumnState } from "@comet/admin";
|
|
21
21
|
import { Add as AddIcon, Download, Edit } from "@comet/admin-icons";
|
|
22
22
|
import { DialogContent, IconButton } from "@mui/material";
|
|
23
|
-
import { DataGrid
|
|
23
|
+
import { DataGrid } from "@mui/x-data-grid";
|
|
24
24
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
25
25
|
import { TargetGroupDialog } from "./TargetGroupDialog";
|
|
26
26
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -257,7 +257,8 @@ export function TargetGroupsGrid(_ref) {
|
|
|
257
257
|
loading: loading,
|
|
258
258
|
slots: {
|
|
259
259
|
toolbar: TargetGroupsGridToolbar
|
|
260
|
-
}
|
|
260
|
+
},
|
|
261
|
+
showToolbar: true
|
|
261
262
|
})), /*#__PURE__*/_jsx(EditDialog, {
|
|
262
263
|
disableCloseAfterSave: true,
|
|
263
264
|
componentsProps: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddContactsGridSelect.d.ts","sourceRoot":"","sources":["../../../src/targetGroups/addContacts/AddContactsGridSelect.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddContactsGridSelect.d.ts","sourceRoot":"","sources":["../../../src/targetGroups/addContacts/AddContactsGridSelect.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIrD,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,OAAO,CAAC;AA6GpD,UAAU,0BAA0B;IAChC,KAAK,EAAE,YAAY,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,kCAAkC,CAAC,EAAE,MAAM,CAAC;CAC/C;AAED,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,kCAAkC,EAAE,EAAE,0BAA0B,GAAG,YAAY,CA+LjI"}
|
|
@@ -15,11 +15,11 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
15
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; } }
|
|
16
16
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
17
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";
|
|
18
|
+
import { Button, CancelButton, CrudMoreActionsMenu, DataGridToolbar, Dialog, Field, FinalForm, GridToolbarQuickFilter, ToolbarFillSpace, ToolbarItem, ToolbarTitleItem, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
19
19
|
import { Add, Close, Remove, Save } from "@comet/admin-icons";
|
|
20
20
|
import { DialogActions, DialogTitle, IconButton, useTheme } from "@mui/material";
|
|
21
21
|
import { Box } from "@mui/system";
|
|
22
|
-
import { DataGrid
|
|
22
|
+
import { DataGrid } from "@mui/x-data-grid";
|
|
23
23
|
import { useState } from "react";
|
|
24
24
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
25
25
|
import { MemoryRouter } from "react-router";
|
|
@@ -250,7 +250,8 @@ export function AddContactsGridSelect(_ref3) {
|
|
|
250
250
|
scope: scope,
|
|
251
251
|
targetGroupId: id
|
|
252
252
|
}
|
|
253
|
-
}
|
|
253
|
+
},
|
|
254
|
+
showToolbar: true
|
|
254
255
|
})), /*#__PURE__*/_jsx(FinalForm, {
|
|
255
256
|
mode: "edit",
|
|
256
257
|
onSubmit: submit,
|
|
@@ -292,12 +293,17 @@ export function AddContactsGridSelect(_ref3) {
|
|
|
292
293
|
slots: {
|
|
293
294
|
toolbar: AssignableContactsGridToolbar
|
|
294
295
|
},
|
|
295
|
-
rowSelectionModel:
|
|
296
|
+
rowSelectionModel: {
|
|
297
|
+
type: "include",
|
|
298
|
+
ids: new Set(props.input.value)
|
|
299
|
+
},
|
|
296
300
|
onRowSelectionModelChange: function onRowSelectionModelChange(newSelectionModel) {
|
|
297
|
-
props.input.onChange(newSelectionModel);
|
|
301
|
+
props.input.onChange(Array.from(newSelectionModel.ids));
|
|
298
302
|
},
|
|
303
|
+
disableRowSelectionExcludeModel: true,
|
|
299
304
|
checkboxSelection: true,
|
|
300
|
-
keepNonExistentRowsSelected: true
|
|
305
|
+
keepNonExistentRowsSelected: true,
|
|
306
|
+
showToolbar: true
|
|
301
307
|
}));
|
|
302
308
|
}
|
|
303
309
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllAssignedContactsGrid.d.ts","sourceRoot":"","sources":["../../../src/targetGroups/allAssignedContacts/AllAssignedContactsGrid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AllAssignedContactsGrid.d.ts","sourceRoot":"","sources":["../../../src/targetGroups/allAssignedContacts/AllAssignedContactsGrid.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA4B1C,UAAU,4BAA4B;IAClC,KAAK,EAAE,YAAY,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,4BAA4B,GAAG,YAAY,CA2E1G"}
|
|
@@ -5,8 +5,8 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
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
7
|
import { useQuery } from "@apollo/client";
|
|
8
|
-
import { DataGridToolbar, ToolbarTitleItem, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
9
|
-
import { DataGrid
|
|
8
|
+
import { DataGridToolbar, GridToolbarQuickFilter, ToolbarTitleItem, useBufferedRowCount, useDataGridRemote, usePersistentColumnState } from "@comet/admin";
|
|
9
|
+
import { DataGrid } from "@mui/x-data-grid";
|
|
10
10
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
11
11
|
import { allAssignedBrevoContactsGridQuery } from "./AllAssignedContactsGrid.gql";
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -104,6 +104,7 @@ export function AllAssignedContactsGrid(_ref) {
|
|
|
104
104
|
loading: assignedContactsLoading,
|
|
105
105
|
slots: {
|
|
106
106
|
toolbar: AssignedContactsGridToolbar
|
|
107
|
-
}
|
|
107
|
+
},
|
|
108
|
+
showToolbar: true
|
|
108
109
|
}));
|
|
109
110
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comet/brevo-admin",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.2",
|
|
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
|
+
"sideEffects": false,
|
|
10
11
|
"type": "module",
|
|
11
12
|
"exports": {
|
|
12
13
|
".": {
|
|
@@ -20,10 +21,10 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"date-fns": "^4.1.0",
|
|
22
23
|
"react-dropzone": "^14.2.3",
|
|
23
|
-
"@comet/admin": "9.0.0-beta.
|
|
24
|
-
"@comet/admin-date-time": "9.0.0-beta.
|
|
25
|
-
"@comet/admin-icons": "9.0.0-beta.
|
|
26
|
-
"@comet/cms-admin": "9.0.0-beta.
|
|
24
|
+
"@comet/admin": "9.0.0-beta.2",
|
|
25
|
+
"@comet/admin-date-time": "9.0.0-beta.2",
|
|
26
|
+
"@comet/admin-icons": "9.0.0-beta.2",
|
|
27
|
+
"@comet/cms-admin": "9.0.0-beta.2"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
30
|
"@apollo/client": "^3.14.1",
|
|
@@ -38,9 +39,9 @@
|
|
|
38
39
|
"@graphql-codegen/typescript-operations": "^4.6.1",
|
|
39
40
|
"@mui/material": "^7.3.5",
|
|
40
41
|
"@mui/system": "^7.3.5",
|
|
41
|
-
"@mui/x-data-grid": "^
|
|
42
|
-
"@mui/x-data-grid-pro": "^
|
|
43
|
-
"@mui/x-date-pickers": "^
|
|
42
|
+
"@mui/x-data-grid": "^8.27.5",
|
|
43
|
+
"@mui/x-data-grid-pro": "^8.27.5",
|
|
44
|
+
"@mui/x-date-pickers": "^8.27.2",
|
|
44
45
|
"@types/react": "^19.2.10",
|
|
45
46
|
"@types/react-dom": "^19.2.3",
|
|
46
47
|
"@types/react-router": "^5.1.20",
|
|
@@ -58,17 +59,17 @@
|
|
|
58
59
|
"react-router": "^5.3.4",
|
|
59
60
|
"react-router-dom": "^5.3.4",
|
|
60
61
|
"typescript": "^5.9.3",
|
|
61
|
-
"@comet/admin-babel-preset": "9.0.0-beta.
|
|
62
|
-
"@comet/eslint-config": "9.0.0-beta.
|
|
62
|
+
"@comet/admin-babel-preset": "9.0.0-beta.2",
|
|
63
|
+
"@comet/eslint-config": "9.0.0-beta.2"
|
|
63
64
|
},
|
|
64
65
|
"peerDependencies": {
|
|
65
66
|
"@apollo/client": "^3.7.0",
|
|
66
67
|
"@emotion/react": "^11.5.0",
|
|
67
68
|
"@emotion/styled": "^11.3.0",
|
|
68
69
|
"@mui/material": "^7.0.0",
|
|
69
|
-
"@mui/x-data-grid": "^
|
|
70
|
-
"@mui/x-data-grid-pro": "^
|
|
71
|
-
"@mui/x-date-pickers": "^
|
|
70
|
+
"@mui/x-data-grid": "^8.0.0",
|
|
71
|
+
"@mui/x-data-grid-pro": "^8.0.0",
|
|
72
|
+
"@mui/x-date-pickers": "^8.0.0",
|
|
72
73
|
"final-form": "^4.0.0",
|
|
73
74
|
"graphql": "^15.0.0 || ^16.0.0",
|
|
74
75
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
@@ -96,6 +97,9 @@
|
|
|
96
97
|
"lint": "run-p gql:types generate-block-types && run-p lint:prettier lint:eslint lint:tsc",
|
|
97
98
|
"lint:ci": "pnpm run lint",
|
|
98
99
|
"lint:eslint": "eslint --max-warnings 0 src/ '**/*.json' --no-warn-ignored",
|
|
100
|
+
"lint:fix": "run-p lint:fix:eslint lint:fix:prettier",
|
|
101
|
+
"lint:fix:eslint": "pnpm run lint:eslint --fix",
|
|
102
|
+
"lint:fix:prettier": "pnpm run lint:prettier --write",
|
|
99
103
|
"lint:prettier": "pnpm exec prettier --check './**/*.{js,json,md,yml,yaml}'",
|
|
100
104
|
"lint:tsc": "tsc --noEmit",
|
|
101
105
|
"start": "run-p gql:types generate-block-types && run-p start:babel start:types",
|