@comet/brevo-admin 2.1.7-canary-20241125093047 → 2.2.0-canary-20241212133511
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/form/BrevoContactForm.d.ts +0 -2
- package/lib/brevoContacts/form/BrevoContactForm.d.ts.map +1 -1
- package/lib/brevoContacts/form/BrevoContactForm.generated.d.ts +0 -3
- package/lib/brevoContacts/form/BrevoContactForm.generated.d.ts.map +1 -1
- package/lib/brevoContacts/form/BrevoContactForm.gql.generated.d.ts +0 -6
- package/lib/brevoContacts/form/BrevoContactForm.gql.generated.d.ts.map +1 -1
- package/lib/brevoContacts/form/BrevoContactForm.js +11 -10
- package/lib/brevoTestContacts/BrevoTestContactsGrid.d.ts +13 -0
- package/lib/brevoTestContacts/BrevoTestContactsGrid.d.ts.map +1 -0
- package/lib/brevoTestContacts/BrevoTestContactsGrid.generated.d.ts +52 -0
- package/lib/brevoTestContacts/BrevoTestContactsGrid.generated.d.ts.map +1 -0
- package/lib/brevoTestContacts/BrevoTestContactsGrid.generated.js +17 -0
- package/lib/brevoTestContacts/BrevoTestContactsGrid.js +183 -0
- package/lib/brevoTestContacts/BrevoTestContactsPage.d.ts +17 -0
- package/lib/brevoTestContacts/BrevoTestContactsPage.d.ts.map +1 -0
- package/lib/brevoTestContacts/BrevoTestContactsPage.js +69 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.d.ts +19 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.d.ts.map +1 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.generated.d.ts +13 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.generated.d.ts.map +1 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.generated.js +11 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.gql.d.ts +6 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.gql.d.ts.map +1 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.gql.generated.d.ts +64 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.gql.generated.d.ts.map +1 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.gql.generated.js +16 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.gql.js +17 -0
- package/lib/brevoTestContacts/form/BrevoTestContactForm.js +259 -0
- package/lib/graphql.generated.d.ts +27 -0
- package/lib/graphql.generated.d.ts.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -0
- package/package.json +1 -1
|
@@ -2,8 +2,6 @@ import { DocumentNode } from "@apollo/client";
|
|
|
2
2
|
import { ContentScopeInterface } from "@comet/cms-admin";
|
|
3
3
|
import React from "react";
|
|
4
4
|
export type EditBrevoContactFormValues = {
|
|
5
|
-
email: string;
|
|
6
|
-
redirectionUrl: string;
|
|
7
5
|
[key: string]: unknown;
|
|
8
6
|
};
|
|
9
7
|
interface FormProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrevoContactForm.d.ts","sourceRoot":"","sources":["../../../src/brevoContacts/form/BrevoContactForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAkC,MAAM,gBAAgB,CAAC;AAmB9E,OAAO,EAAE,qBAAqB,EAA+D,MAAM,kBAAkB,CAAC;AAItH,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,MAAM,MAAM,0BAA0B,GAAG;IACrC,
|
|
1
|
+
{"version":3,"file":"BrevoContactForm.d.ts","sourceRoot":"","sources":["../../../src/brevoContacts/form/BrevoContactForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAkC,MAAM,gBAAgB,CAAC;AAmB9E,OAAO,EAAE,qBAAqB,EAA+D,MAAM,kBAAkB,CAAC;AAItH,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,MAAM,MAAM,0BAA0B,GAAG;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAOF,UAAU,SAAS;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,qBAAqB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,4BAA4B,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;IACxE,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,0BAA0B,KAAK,0BAA0B,CAAC;CACrF;AAED,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY,CA6K9I"}
|
|
@@ -6,8 +6,5 @@ export declare const namedOperations: {
|
|
|
6
6
|
export type GQLBrevoContactFormFragment = {
|
|
7
7
|
__typename?: 'BrevoContact';
|
|
8
8
|
email: string;
|
|
9
|
-
createdAt: string;
|
|
10
|
-
emailBlacklisted: boolean;
|
|
11
|
-
smsBlacklisted: boolean;
|
|
12
9
|
};
|
|
13
10
|
//# sourceMappingURL=BrevoContactForm.generated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrevoContactForm.generated.d.ts","sourceRoot":"","sources":["../../../src/brevoContacts/form/BrevoContactForm.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG;IAAE,UAAU,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BrevoContactForm.generated.d.ts","sourceRoot":"","sources":["../../../src/brevoContacts/form/BrevoContactForm.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG;IAAE,UAAU,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -20,9 +20,6 @@ export type GQLBrevoContactFormQuery = {
|
|
|
20
20
|
id: number;
|
|
21
21
|
modifiedAt: string;
|
|
22
22
|
email: string;
|
|
23
|
-
createdAt: string;
|
|
24
|
-
emailBlacklisted: boolean;
|
|
25
|
-
smsBlacklisted: boolean;
|
|
26
23
|
};
|
|
27
24
|
};
|
|
28
25
|
export type GQLBrevoContactFormCheckForChangesQueryVariables = Types.Exact<{
|
|
@@ -56,9 +53,6 @@ export type GQLUpdateBrevoContactMutation = {
|
|
|
56
53
|
id: number;
|
|
57
54
|
modifiedAt: string;
|
|
58
55
|
email: string;
|
|
59
|
-
createdAt: string;
|
|
60
|
-
emailBlacklisted: boolean;
|
|
61
|
-
smsBlacklisted: boolean;
|
|
62
56
|
};
|
|
63
57
|
};
|
|
64
58
|
//# sourceMappingURL=BrevoContactForm.gql.generated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrevoContactForm.gql.generated.d.ts","sourceRoot":"","sources":["../../../src/brevoContacts/form/BrevoContactForm.gql.generated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAC;AAEjD,eAAO,MAAM,eAAe;;;;;;;;;CAS3B,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC1D,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC,iCAAiC,CAAC;CAChD,CAAC,CAAC;AAGH,MAAM,MAAM,wBAAwB,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE;QAAE,UAAU,CAAC,EAAE,cAAc,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,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oBAAoB,CAAA;CAAE,CAAC;AAExH,MAAM,MAAM,sCAAsC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC/D,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC,0BAA0B,CAAC;IACxC,KAAK,EAAE,KAAK,CAAC,iCAAiC,CAAC;CAChD,CAAC,CAAC;AAGH,MAAM,MAAM,6BAA6B,GAAG;IAAE,UAAU,CAAC,EAAE,UAAU,CAAC;IAAC,kBAAkB,EAAE;QAAE,UAAU,CAAC,EAAE,cAAc,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -39,7 +39,7 @@ function BrevoContactForm(_ref) {
|
|
|
39
39
|
var client = (0, _client.useApolloClient)();
|
|
40
40
|
var mode = id ? "edit" : "add";
|
|
41
41
|
var formApiRef = (0, _admin.useFormApiRef)();
|
|
42
|
-
var brevoContactFormFragment = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fragment BrevoContactForm on BrevoContact {\n email\n
|
|
42
|
+
var brevoContactFormFragment = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fragment BrevoContactForm on BrevoContact {\n email\n ", "\n }\n ", "\n"])), additionalAttributesFragment ? "...".concat(additionalAttributesFragment === null || additionalAttributesFragment === void 0 ? void 0 : additionalAttributesFragment.name) : "", (_additionalAttributes = additionalAttributesFragment === null || additionalAttributesFragment === void 0 ? void 0 : additionalAttributesFragment.fragment) !== null && _additionalAttributes !== void 0 ? _additionalAttributes : "");
|
|
43
43
|
var _useQuery = (0, _client.useQuery)((0, _BrevoContactForm.brevoContactFormQuery)(brevoContactFormFragment), id ? {
|
|
44
44
|
variables: {
|
|
45
45
|
id: id,
|
|
@@ -53,21 +53,22 @@ function BrevoContactForm(_ref) {
|
|
|
53
53
|
loading = _useQuery.loading,
|
|
54
54
|
refetch = _useQuery.refetch;
|
|
55
55
|
var initialValues = _react["default"].useMemo(function () {
|
|
56
|
-
var
|
|
56
|
+
var _data$brevoContact;
|
|
57
|
+
var baseInitialValues = {
|
|
58
|
+
email: "",
|
|
59
|
+
redirectionUrl: ""
|
|
60
|
+
};
|
|
57
61
|
if (input2State) {
|
|
58
|
-
|
|
59
|
-
email: "",
|
|
60
|
-
redirectionUrl: ""
|
|
61
|
-
}, data === null || data === void 0 ? void 0 : data.brevoContact));
|
|
62
|
+
baseInitialValues = _objectSpread(_objectSpread({}, baseInitialValues), input2State(data === null || data === void 0 ? void 0 : data.brevoContact));
|
|
62
63
|
}
|
|
63
|
-
return data !== null && data !== void 0 && data.brevoContact ? _objectSpread({
|
|
64
|
+
return data !== null && data !== void 0 && (_data$brevoContact = data.brevoContact) !== null && _data$brevoContact !== void 0 && _data$brevoContact.email ? _objectSpread(_objectSpread({}, baseInitialValues), {}, {
|
|
64
65
|
email: data.brevoContact.email
|
|
65
|
-
}
|
|
66
|
+
}) : baseInitialValues;
|
|
66
67
|
}, [data === null || data === void 0 ? void 0 : data.brevoContact, input2State]);
|
|
67
68
|
var saveConflict = (0, _cmsAdmin.useFormSaveConflict)({
|
|
68
69
|
checkConflict: function () {
|
|
69
70
|
var _checkConflict = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
70
|
-
var _data$
|
|
71
|
+
var _data$brevoContact2;
|
|
71
72
|
var _yield$client$query, updatedData;
|
|
72
73
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
73
74
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -90,7 +91,7 @@ function BrevoContactForm(_ref) {
|
|
|
90
91
|
case 4:
|
|
91
92
|
_yield$client$query = _context.sent;
|
|
92
93
|
updatedData = _yield$client$query.data;
|
|
93
|
-
return _context.abrupt("return", (0, _cmsAdmin.resolveHasSaveConflict)(data === null || data === void 0 || (_data$
|
|
94
|
+
return _context.abrupt("return", (0, _cmsAdmin.resolveHasSaveConflict)(data === null || data === void 0 || (_data$brevoContact2 = data.brevoContact) === null || _data$brevoContact2 === void 0 ? void 0 : _data$brevoContact2.modifiedAt, updatedData.brevoContact.modifiedAt));
|
|
94
95
|
case 7:
|
|
95
96
|
case "end":
|
|
96
97
|
return _context.stop();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DocumentNode } from "@apollo/client";
|
|
2
|
+
import { ContentScopeInterface } from "@comet/cms-admin";
|
|
3
|
+
import { GridColDef } from "@mui/x-data-grid";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
export declare function BrevoTestContactsGrid({ scope, additionalAttributesFragment, additionalGridFields, }: {
|
|
6
|
+
scope: ContentScopeInterface;
|
|
7
|
+
additionalAttributesFragment?: {
|
|
8
|
+
name: string;
|
|
9
|
+
fragment: DocumentNode;
|
|
10
|
+
};
|
|
11
|
+
additionalGridFields?: GridColDef[];
|
|
12
|
+
}): React.ReactElement;
|
|
13
|
+
//# sourceMappingURL=BrevoTestContactsGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoTestContactsGrid.d.ts","sourceRoot":"","sources":["../../src/brevoTestContacts/BrevoTestContactsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAkC,MAAM,gBAAgB,CAAC;AAkB9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAY,UAAU,EAA0B,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuD/B,wBAAgB,qBAAqB,CAAC,EAClC,KAAK,EACL,4BAA4B,EAC5B,oBAAyB,GAC5B,EAAE;IACC,KAAK,EAAE,qBAAqB,CAAC;IAC7B,4BAA4B,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;IACxE,oBAAoB,CAAC,EAAE,UAAU,EAAE,CAAC;CACvC,GAAG,KAAK,CAAC,YAAY,CAwHrB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as Types from '../graphql.generated';
|
|
2
|
+
export declare const namedOperations: {
|
|
3
|
+
Query: {
|
|
4
|
+
BrevoTestContactsGrid: string;
|
|
5
|
+
};
|
|
6
|
+
Mutation: {
|
|
7
|
+
DeleteBrevoTestContact: string;
|
|
8
|
+
};
|
|
9
|
+
Fragment: {
|
|
10
|
+
BrevoContactsList: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type GQLBrevoContactsListFragment = {
|
|
14
|
+
__typename?: 'BrevoContact';
|
|
15
|
+
id: number;
|
|
16
|
+
createdAt: string;
|
|
17
|
+
modifiedAt: string;
|
|
18
|
+
email: string;
|
|
19
|
+
emailBlacklisted: boolean;
|
|
20
|
+
smsBlacklisted: boolean;
|
|
21
|
+
};
|
|
22
|
+
export type GQLDeleteBrevoTestContactMutationVariables = Types.Exact<{
|
|
23
|
+
id: Types.Scalars['Int'];
|
|
24
|
+
scope: Types.GQLEmailCampaignContentScopeInput;
|
|
25
|
+
}>;
|
|
26
|
+
export type GQLDeleteBrevoTestContactMutation = {
|
|
27
|
+
__typename?: 'Mutation';
|
|
28
|
+
deleteBrevoTestContact: boolean;
|
|
29
|
+
};
|
|
30
|
+
export type GQLBrevoTestContactsGridQueryVariables = Types.Exact<{
|
|
31
|
+
offset?: Types.InputMaybe<Types.Scalars['Int']>;
|
|
32
|
+
limit?: Types.InputMaybe<Types.Scalars['Int']>;
|
|
33
|
+
email?: Types.InputMaybe<Types.Scalars['String']>;
|
|
34
|
+
scope: Types.GQLEmailCampaignContentScopeInput;
|
|
35
|
+
}>;
|
|
36
|
+
export type GQLBrevoTestContactsGridQuery = {
|
|
37
|
+
__typename?: 'Query';
|
|
38
|
+
brevoTestContacts: {
|
|
39
|
+
__typename?: 'PaginatedBrevoContacts';
|
|
40
|
+
totalCount: number;
|
|
41
|
+
nodes: Array<{
|
|
42
|
+
__typename?: 'BrevoContact';
|
|
43
|
+
id: number;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
modifiedAt: string;
|
|
46
|
+
email: string;
|
|
47
|
+
emailBlacklisted: boolean;
|
|
48
|
+
smsBlacklisted: boolean;
|
|
49
|
+
}>;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=BrevoTestContactsGrid.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoTestContactsGrid.generated.d.ts","sourceRoot":"","sources":["../../src/brevoTestContacts/BrevoTestContactsGrid.generated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAE9C,eAAO,MAAM,eAAe;;;;;;;;;;CAU3B,CAAA;AACD,MAAM,MAAM,4BAA4B,GAAG;IAAE,UAAU,CAAC,EAAE,cAAc,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,CAAC;AAEjM,MAAM,MAAM,0CAA0C,GAAG,KAAK,CAAC,KAAK,CAAC;IACnE,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC,iCAAiC,CAAC;CAChD,CAAC,CAAC;AAGH,MAAM,MAAM,iCAAiC,GAAG;IAAE,UAAU,CAAC,EAAE,UAAU,CAAC;IAAC,sBAAsB,EAAE,OAAO,CAAA;CAAE,CAAC;AAE7G,MAAM,MAAM,sCAAsC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC/D,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/C,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;IAClD,KAAK,EAAE,KAAK,CAAC,iCAAiC,CAAC;CAChD,CAAC,CAAC;AAGH,MAAM,MAAM,6BAA6B,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,iBAAiB,EAAE;QAAE,UAAU,CAAC,EAAE,wBAAwB,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC;YAAE,UAAU,CAAC,EAAE,cAAc,CAAC;YAAC,EAAE,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAC;YAAC,UAAU,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,gBAAgB,EAAE,OAAO,CAAC;YAAC,cAAc,EAAE,OAAO,CAAA;SAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.namedOperations = void 0;
|
|
7
|
+
var namedOperations = exports.namedOperations = {
|
|
8
|
+
Query: {
|
|
9
|
+
BrevoTestContactsGrid: 'BrevoTestContactsGrid'
|
|
10
|
+
},
|
|
11
|
+
Mutation: {
|
|
12
|
+
DeleteBrevoTestContact: 'DeleteBrevoTestContact'
|
|
13
|
+
},
|
|
14
|
+
Fragment: {
|
|
15
|
+
BrevoContactsList: 'BrevoContactsList'
|
|
16
|
+
}
|
|
17
|
+
};
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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.BrevoTestContactsGrid = BrevoTestContactsGrid;
|
|
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 _xDataGrid = require("@mui/x-data-grid");
|
|
13
|
+
var React = _interopRequireWildcard(require("react"));
|
|
14
|
+
var _reactIntl = require("react-intl");
|
|
15
|
+
var _templateObject, _templateObject2, _templateObject3;
|
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
18
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
20
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
21
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
22
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
23
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
24
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
25
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
26
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
27
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
28
|
+
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; }
|
|
29
|
+
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; }
|
|
30
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
31
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
32
|
+
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); }
|
|
33
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
34
|
+
var brevoContactsFragment = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fragment BrevoContactsList on BrevoContact {\n id\n createdAt\n modifiedAt\n email\n emailBlacklisted\n smsBlacklisted\n }\n"])));
|
|
35
|
+
var deleteBrevoTestContactMutation = (0, _client.gql)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n mutation DeleteBrevoTestContact($id: Int!, $scope: EmailCampaignContentScopeInput!) {\n deleteBrevoTestContact(id: $id, scope: $scope)\n }\n"])));
|
|
36
|
+
function BrevoTestContactsGridToolbar(_ref) {
|
|
37
|
+
var intl = _ref.intl,
|
|
38
|
+
scope = _ref.scope;
|
|
39
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_admin.Toolbar, null, /*#__PURE__*/React.createElement(_admin.ToolbarTitleItem, null, /*#__PURE__*/React.createElement(_reactIntl.FormattedMessage, {
|
|
40
|
+
id: "cometBrevoModule.brevoTestContact.title",
|
|
41
|
+
defaultMessage: "Test contacts"
|
|
42
|
+
})), /*#__PURE__*/React.createElement(_admin.ToolbarItem, null, /*#__PURE__*/React.createElement(_xDataGrid.GridToolbarQuickFilter, {
|
|
43
|
+
placeholder: intl.formatMessage({
|
|
44
|
+
id: "cometBrevoModule.brevoTestContact.searchEmail",
|
|
45
|
+
defaultMessage: "Search email address"
|
|
46
|
+
})
|
|
47
|
+
})), /*#__PURE__*/React.createElement(_admin.ToolbarFillSpace, null), /*#__PURE__*/React.createElement(_admin.ToolbarActions, null, /*#__PURE__*/React.createElement(_material.Button, {
|
|
48
|
+
startIcon: /*#__PURE__*/React.createElement(_adminIcons.Add, null),
|
|
49
|
+
component: _admin.StackLink,
|
|
50
|
+
pageName: "add",
|
|
51
|
+
payload: "add",
|
|
52
|
+
variant: "contained",
|
|
53
|
+
color: "primary"
|
|
54
|
+
}, /*#__PURE__*/React.createElement(_reactIntl.FormattedMessage, {
|
|
55
|
+
id: "cometBrevoModule.brevoTestContact.newContact",
|
|
56
|
+
defaultMessage: "New test contact"
|
|
57
|
+
})))));
|
|
58
|
+
}
|
|
59
|
+
function BrevoTestContactsGrid(_ref2) {
|
|
60
|
+
var _additionalAttributes, _dataGridProps$filter, _dataGridProps$filter2, _data$brevoTestContac;
|
|
61
|
+
var scope = _ref2.scope,
|
|
62
|
+
additionalAttributesFragment = _ref2.additionalAttributesFragment,
|
|
63
|
+
_ref2$additionalGridF = _ref2.additionalGridFields,
|
|
64
|
+
additionalGridFields = _ref2$additionalGridF === void 0 ? [] : _ref2$additionalGridF;
|
|
65
|
+
var brevoTestContactsQuery = (0, _client.gql)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n query BrevoTestContactsGrid($offset: Int, $limit: Int, $email: String, $scope: EmailCampaignContentScopeInput!) {\n brevoTestContacts(offset: $offset, limit: $limit, email: $email, scope: $scope) {\n nodes {\n ...BrevoContactsList\n ", "\n }\n totalCount\n }\n }\n ", "\n ", "\n "])), additionalAttributesFragment ? "...".concat(additionalAttributesFragment === null || additionalAttributesFragment === void 0 ? void 0 : additionalAttributesFragment.name) : "", brevoContactsFragment, (_additionalAttributes = additionalAttributesFragment === null || additionalAttributesFragment === void 0 ? void 0 : additionalAttributesFragment.fragment) !== null && _additionalAttributes !== void 0 ? _additionalAttributes : "");
|
|
66
|
+
var client = (0, _client.useApolloClient)();
|
|
67
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
68
|
+
var dataGridProps = _objectSpread(_objectSpread({}, (0, _admin.useDataGridRemote)()), (0, _admin.usePersistentColumnState)("BrevoContactsGrid"));
|
|
69
|
+
var columns = [{
|
|
70
|
+
field: "createdAt",
|
|
71
|
+
headerName: intl.formatMessage({
|
|
72
|
+
id: "cometBrevoModule.brevoTestContact.subscribedAt",
|
|
73
|
+
defaultMessage: "Subscribed At"
|
|
74
|
+
}),
|
|
75
|
+
filterable: false,
|
|
76
|
+
sortable: false,
|
|
77
|
+
width: 150,
|
|
78
|
+
renderCell: function renderCell(_ref3) {
|
|
79
|
+
var row = _ref3.row;
|
|
80
|
+
return intl.formatDate(new Date(row.createdAt));
|
|
81
|
+
}
|
|
82
|
+
}, {
|
|
83
|
+
field: "modifiedAt",
|
|
84
|
+
headerName: intl.formatMessage({
|
|
85
|
+
id: "cometBrevoModule.brevoTestContact.modifiedAt",
|
|
86
|
+
defaultMessage: "Modified At"
|
|
87
|
+
}),
|
|
88
|
+
filterable: false,
|
|
89
|
+
sortable: false,
|
|
90
|
+
width: 150,
|
|
91
|
+
renderCell: function renderCell(_ref4) {
|
|
92
|
+
var row = _ref4.row;
|
|
93
|
+
return intl.formatDate(new Date(row.modifiedAt));
|
|
94
|
+
}
|
|
95
|
+
}, {
|
|
96
|
+
field: "email",
|
|
97
|
+
headerName: intl.formatMessage({
|
|
98
|
+
id: "cometBrevoModule.brevoTestContact.email",
|
|
99
|
+
defaultMessage: "Email"
|
|
100
|
+
}),
|
|
101
|
+
filterable: false,
|
|
102
|
+
sortable: false,
|
|
103
|
+
width: 150,
|
|
104
|
+
flex: 1
|
|
105
|
+
}].concat(_toConsumableArray(additionalGridFields), [{
|
|
106
|
+
field: "actions",
|
|
107
|
+
headerName: "",
|
|
108
|
+
sortable: false,
|
|
109
|
+
filterable: false,
|
|
110
|
+
type: "actions",
|
|
111
|
+
renderCell: function renderCell(params) {
|
|
112
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_material.IconButton, {
|
|
113
|
+
component: _admin.StackLink,
|
|
114
|
+
pageName: "edit",
|
|
115
|
+
payload: params.row.id.toString()
|
|
116
|
+
}, /*#__PURE__*/React.createElement(_adminIcons.Edit, {
|
|
117
|
+
color: "primary"
|
|
118
|
+
})), /*#__PURE__*/React.createElement(_admin.RowActionsMenu, null, /*#__PURE__*/React.createElement(_admin.RowActionsMenu, null, /*#__PURE__*/React.createElement(_admin.RowActionsItem, {
|
|
119
|
+
onClick: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
120
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
121
|
+
while (1) switch (_context.prev = _context.next) {
|
|
122
|
+
case 0:
|
|
123
|
+
_context.next = 2;
|
|
124
|
+
return client.mutate({
|
|
125
|
+
mutation: deleteBrevoTestContactMutation,
|
|
126
|
+
variables: {
|
|
127
|
+
id: params.row.id,
|
|
128
|
+
scope: scope
|
|
129
|
+
},
|
|
130
|
+
refetchQueries: [brevoTestContactsQuery]
|
|
131
|
+
});
|
|
132
|
+
case 2:
|
|
133
|
+
case "end":
|
|
134
|
+
return _context.stop();
|
|
135
|
+
}
|
|
136
|
+
}, _callee);
|
|
137
|
+
})),
|
|
138
|
+
icon: /*#__PURE__*/React.createElement(_adminIcons.Delete, null)
|
|
139
|
+
}, /*#__PURE__*/React.createElement(_reactIntl.FormattedMessage, _admin.messages["delete"])))));
|
|
140
|
+
}
|
|
141
|
+
}]);
|
|
142
|
+
var _useQuery = (0, _client.useQuery)(brevoTestContactsQuery, {
|
|
143
|
+
variables: {
|
|
144
|
+
offset: dataGridProps.page * dataGridProps.pageSize,
|
|
145
|
+
limit: dataGridProps.pageSize,
|
|
146
|
+
email: (_dataGridProps$filter = dataGridProps.filterModel) !== null && _dataGridProps$filter !== void 0 && _dataGridProps$filter.quickFilterValues ? (_dataGridProps$filter2 = dataGridProps.filterModel) === null || _dataGridProps$filter2 === void 0 ? void 0 : _dataGridProps$filter2.quickFilterValues[0] : undefined,
|
|
147
|
+
scope: scope
|
|
148
|
+
}
|
|
149
|
+
}),
|
|
150
|
+
data = _useQuery.data,
|
|
151
|
+
loading = _useQuery.loading,
|
|
152
|
+
error = _useQuery.error;
|
|
153
|
+
var rowCount = (0, _admin.useBufferedRowCount)(data === null || data === void 0 ? void 0 : data.brevoTestContacts.totalCount);
|
|
154
|
+
if (error) throw error;
|
|
155
|
+
var rows = (_data$brevoTestContac = data === null || data === void 0 ? void 0 : data.brevoTestContacts.nodes) !== null && _data$brevoTestContac !== void 0 ? _data$brevoTestContac : [];
|
|
156
|
+
return /*#__PURE__*/React.createElement(_admin.MainContent, {
|
|
157
|
+
fullHeight: true
|
|
158
|
+
}, /*#__PURE__*/React.createElement(_material.Box, {
|
|
159
|
+
sx: {
|
|
160
|
+
marginBottom: 4
|
|
161
|
+
}
|
|
162
|
+
}, /*#__PURE__*/React.createElement(_admin.Alert, {
|
|
163
|
+
severity: "warning"
|
|
164
|
+
}, /*#__PURE__*/React.createElement(_reactIntl.FormattedMessage, {
|
|
165
|
+
id: "cometBrevoModule.brevoTestContact.testContactAlert",
|
|
166
|
+
defaultMessage: "Contacts in this list are only added for testing purposes. Users do not get a double-opt in to confirm their subscription."
|
|
167
|
+
}))), /*#__PURE__*/React.createElement(_xDataGrid.DataGrid, _extends({}, dataGridProps, {
|
|
168
|
+
disableSelectionOnClick: true,
|
|
169
|
+
rows: rows,
|
|
170
|
+
rowCount: rowCount,
|
|
171
|
+
columns: columns,
|
|
172
|
+
loading: loading,
|
|
173
|
+
components: {
|
|
174
|
+
Toolbar: BrevoTestContactsGridToolbar
|
|
175
|
+
},
|
|
176
|
+
componentsProps: {
|
|
177
|
+
toolbar: {
|
|
178
|
+
intl: intl,
|
|
179
|
+
scope: scope
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
})));
|
|
183
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GridColDef } from "@mui/x-data-grid";
|
|
2
|
+
import { DocumentNode } from "graphql";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { EditBrevoContactFormValues } from "./form/BrevoTestContactForm";
|
|
5
|
+
interface CreateContactsPageOptions {
|
|
6
|
+
scopeParts: string[];
|
|
7
|
+
additionalAttributesFragment?: {
|
|
8
|
+
name: string;
|
|
9
|
+
fragment: DocumentNode;
|
|
10
|
+
};
|
|
11
|
+
additionalGridFields?: GridColDef[];
|
|
12
|
+
additionalFormFields?: React.ReactNode;
|
|
13
|
+
input2State?: (values?: EditBrevoContactFormValues) => EditBrevoContactFormValues;
|
|
14
|
+
}
|
|
15
|
+
declare function createBrevoTestContactsPage({ scopeParts, additionalAttributesFragment, additionalFormFields, additionalGridFields, input2State, }: CreateContactsPageOptions): () => JSX.Element;
|
|
16
|
+
export { createBrevoTestContactsPage };
|
|
17
|
+
//# sourceMappingURL=BrevoTestContactsPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoTestContactsPage.d.ts","sourceRoot":"","sources":["../../src/brevoTestContacts/BrevoTestContactsPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAwB,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAE/F,UAAU,yBAAyB;IAC/B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,4BAA4B,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;IACxE,oBAAoB,CAAC,EAAE,UAAU,EAAE,CAAC;IACpC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,0BAA0B,KAAK,0BAA0B,CAAC;CACrF;AAED,iBAAS,2BAA2B,CAAC,EACjC,UAAU,EACV,4BAA4B,EAC5B,oBAAoB,EACpB,oBAAoB,EACpB,WAAW,GACd,EAAE,yBAAyB,SACU,WAAW,CAkDhD;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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.createBrevoTestContactsPage = createBrevoTestContactsPage;
|
|
8
|
+
var _admin = require("@comet/admin");
|
|
9
|
+
var _cmsAdmin = require("@comet/cms-admin");
|
|
10
|
+
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
|
+
var _BrevoTestContactsGrid = require("./BrevoTestContactsGrid");
|
|
13
|
+
var _BrevoTestContactForm = require("./form/BrevoTestContactForm");
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
16
|
+
function createBrevoTestContactsPage(_ref) {
|
|
17
|
+
var scopeParts = _ref.scopeParts,
|
|
18
|
+
additionalAttributesFragment = _ref.additionalAttributesFragment,
|
|
19
|
+
additionalFormFields = _ref.additionalFormFields,
|
|
20
|
+
additionalGridFields = _ref.additionalGridFields,
|
|
21
|
+
input2State = _ref.input2State;
|
|
22
|
+
function BrevoTestContactsPage() {
|
|
23
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
24
|
+
var _useContentScope = (0, _cmsAdmin.useContentScope)(),
|
|
25
|
+
completeScope = _useContentScope.scope;
|
|
26
|
+
var scope = scopeParts.reduce(function (acc, scopePart) {
|
|
27
|
+
acc[scopePart] = completeScope[scopePart];
|
|
28
|
+
return acc;
|
|
29
|
+
}, {});
|
|
30
|
+
return /*#__PURE__*/React.createElement(_admin.Stack, {
|
|
31
|
+
topLevelTitle: intl.formatMessage({
|
|
32
|
+
id: "cometBrevoModule.brevoContacts.brevoContacts",
|
|
33
|
+
defaultMessage: "Contacts"
|
|
34
|
+
})
|
|
35
|
+
}, /*#__PURE__*/React.createElement(_admin.StackSwitch, null, /*#__PURE__*/React.createElement(_admin.StackPage, {
|
|
36
|
+
name: "grid"
|
|
37
|
+
}, /*#__PURE__*/React.createElement(_BrevoTestContactsGrid.BrevoTestContactsGrid, {
|
|
38
|
+
scope: scope,
|
|
39
|
+
additionalAttributesFragment: additionalAttributesFragment,
|
|
40
|
+
additionalGridFields: additionalGridFields
|
|
41
|
+
})), /*#__PURE__*/React.createElement(_admin.StackPage, {
|
|
42
|
+
name: "edit",
|
|
43
|
+
title: intl.formatMessage({
|
|
44
|
+
id: "cometBrevoModule.brevoContacts.editBrevoContact",
|
|
45
|
+
defaultMessage: "Edit contact"
|
|
46
|
+
})
|
|
47
|
+
}, function (selectedId) {
|
|
48
|
+
return /*#__PURE__*/React.createElement(_BrevoTestContactForm.BrevoTestContactForm, {
|
|
49
|
+
additionalFormFields: additionalFormFields,
|
|
50
|
+
additionalAttributesFragment: additionalAttributesFragment,
|
|
51
|
+
input2State: input2State,
|
|
52
|
+
id: Number(selectedId),
|
|
53
|
+
scope: scope
|
|
54
|
+
});
|
|
55
|
+
}), /*#__PURE__*/React.createElement(_admin.StackPage, {
|
|
56
|
+
name: "add",
|
|
57
|
+
title: intl.formatMessage({
|
|
58
|
+
id: "cometBrevoModule.brevoContacts.addBrevoContact",
|
|
59
|
+
defaultMessage: "Add contact"
|
|
60
|
+
})
|
|
61
|
+
}, /*#__PURE__*/React.createElement(_BrevoTestContactForm.BrevoTestContactForm, {
|
|
62
|
+
additionalFormFields: additionalFormFields,
|
|
63
|
+
additionalAttributesFragment: additionalAttributesFragment,
|
|
64
|
+
input2State: input2State,
|
|
65
|
+
scope: scope
|
|
66
|
+
}))));
|
|
67
|
+
}
|
|
68
|
+
return BrevoTestContactsPage;
|
|
69
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DocumentNode } from "@apollo/client";
|
|
2
|
+
import { ContentScopeInterface } from "@comet/cms-admin";
|
|
3
|
+
import React from "react";
|
|
4
|
+
export type EditBrevoContactFormValues = {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
};
|
|
7
|
+
interface FormProps {
|
|
8
|
+
id?: number;
|
|
9
|
+
scope: ContentScopeInterface;
|
|
10
|
+
additionalFormFields?: React.ReactNode;
|
|
11
|
+
additionalAttributesFragment?: {
|
|
12
|
+
name: string;
|
|
13
|
+
fragment: DocumentNode;
|
|
14
|
+
};
|
|
15
|
+
input2State?: (values?: EditBrevoContactFormValues) => EditBrevoContactFormValues;
|
|
16
|
+
}
|
|
17
|
+
export declare function BrevoTestContactForm({ id, scope, input2State, additionalFormFields, additionalAttributesFragment }: FormProps): React.ReactElement;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=BrevoTestContactForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoTestContactForm.d.ts","sourceRoot":"","sources":["../../../src/brevoTestContacts/form/BrevoTestContactForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAkC,MAAM,gBAAgB,CAAC;AAmB9E,OAAO,EAAE,qBAAqB,EAA+D,MAAM,kBAAkB,CAAC;AAItH,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,MAAM,MAAM,0BAA0B,GAAG;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAMF,UAAU,SAAS;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,qBAAqB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,4BAA4B,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;IACxE,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,0BAA0B,KAAK,0BAA0B,CAAC;CACrF;AAED,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY,CAgKlJ"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const namedOperations: {
|
|
2
|
+
Fragment: {
|
|
3
|
+
BrevoTestContactForm: string;
|
|
4
|
+
};
|
|
5
|
+
};
|
|
6
|
+
export type GQLBrevoTestContactFormFragment = {
|
|
7
|
+
__typename?: 'BrevoContact';
|
|
8
|
+
email: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
emailBlacklisted: boolean;
|
|
11
|
+
smsBlacklisted: boolean;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=BrevoTestContactForm.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoTestContactForm.generated.d.ts","sourceRoot":"","sources":["../../../src/brevoTestContacts/form/BrevoTestContactForm.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AACD,MAAM,MAAM,+BAA+B,GAAG;IAAE,UAAU,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DocumentNode } from "@apollo/client";
|
|
2
|
+
export declare const brevoContactFormQuery: (brevoTestContactFormFragment: DocumentNode) => DocumentNode;
|
|
3
|
+
export declare const brevoContactFormCheckForChangesQuery: DocumentNode;
|
|
4
|
+
export declare const createBrevoTestContactMutation: DocumentNode;
|
|
5
|
+
export declare const updateBrevoContactMutation: (brevoTestContactFormFragment: DocumentNode) => DocumentNode;
|
|
6
|
+
//# sourceMappingURL=BrevoTestContactForm.gql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoTestContactForm.gql.d.ts","sourceRoot":"","sources":["../../../src/brevoTestContacts/form/BrevoTestContactForm.gql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,gBAAgB,CAAC;AAEnD,eAAO,MAAM,qBAAqB,iCAAkC,YAAY,iBAS/E,CAAC;AAEF,eAAO,MAAM,oCAAoC,cAMhD,CAAC;AAEF,eAAO,MAAM,8BAA8B,cAI1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,iCAAkC,YAAY,iBASpF,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as Types from '../../graphql.generated';
|
|
2
|
+
export declare const namedOperations: {
|
|
3
|
+
Query: {
|
|
4
|
+
BrevoContactForm: string;
|
|
5
|
+
BrevoContactFormCheckForChanges: string;
|
|
6
|
+
};
|
|
7
|
+
Mutation: {
|
|
8
|
+
CreateBrevoTestContact: string;
|
|
9
|
+
UpdateBrevoContact: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export type GQLBrevoContactFormQueryVariables = Types.Exact<{
|
|
13
|
+
id: Types.Scalars['Int'];
|
|
14
|
+
scope: Types.GQLEmailCampaignContentScopeInput;
|
|
15
|
+
}>;
|
|
16
|
+
export type GQLBrevoContactFormQuery = {
|
|
17
|
+
__typename?: 'Query';
|
|
18
|
+
brevoContact: {
|
|
19
|
+
__typename?: 'BrevoContact';
|
|
20
|
+
id: number;
|
|
21
|
+
modifiedAt: string;
|
|
22
|
+
email: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
emailBlacklisted: boolean;
|
|
25
|
+
smsBlacklisted: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type GQLBrevoContactFormCheckForChangesQueryVariables = Types.Exact<{
|
|
29
|
+
id: Types.Scalars['Int'];
|
|
30
|
+
scope: Types.GQLEmailCampaignContentScopeInput;
|
|
31
|
+
}>;
|
|
32
|
+
export type GQLBrevoContactFormCheckForChangesQuery = {
|
|
33
|
+
__typename?: 'Query';
|
|
34
|
+
brevoContact: {
|
|
35
|
+
__typename?: 'BrevoContact';
|
|
36
|
+
modifiedAt: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export type GQLCreateBrevoTestContactMutationVariables = Types.Exact<{
|
|
40
|
+
scope: Types.GQLEmailCampaignContentScopeInput;
|
|
41
|
+
input: Types.GQLBrevoTestContactInput;
|
|
42
|
+
}>;
|
|
43
|
+
export type GQLCreateBrevoTestContactMutation = {
|
|
44
|
+
__typename?: 'Mutation';
|
|
45
|
+
createBrevoTestContact: Types.GQLSubscribeResponse;
|
|
46
|
+
};
|
|
47
|
+
export type GQLUpdateBrevoContactMutationVariables = Types.Exact<{
|
|
48
|
+
id: Types.Scalars['Int'];
|
|
49
|
+
input: Types.GQLBrevoContactUpdateInput;
|
|
50
|
+
scope: Types.GQLEmailCampaignContentScopeInput;
|
|
51
|
+
}>;
|
|
52
|
+
export type GQLUpdateBrevoContactMutation = {
|
|
53
|
+
__typename?: 'Mutation';
|
|
54
|
+
updateBrevoContact: {
|
|
55
|
+
__typename?: 'BrevoContact';
|
|
56
|
+
id: number;
|
|
57
|
+
modifiedAt: string;
|
|
58
|
+
email: string;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
emailBlacklisted: boolean;
|
|
61
|
+
smsBlacklisted: boolean;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=BrevoTestContactForm.gql.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoTestContactForm.gql.generated.d.ts","sourceRoot":"","sources":["../../../src/brevoTestContacts/form/BrevoTestContactForm.gql.generated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAC;AAEjD,eAAO,MAAM,eAAe;;;;;;;;;CAS3B,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC1D,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC,iCAAiC,CAAC;CAChD,CAAC,CAAC;AAGH,MAAM,MAAM,wBAAwB,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE;QAAE,U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AAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,OAAO,CAAC;QAAC,cAAc,EAAE,OAAO,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.namedOperations = void 0;
|
|
7
|
+
var namedOperations = exports.namedOperations = {
|
|
8
|
+
Query: {
|
|
9
|
+
BrevoContactForm: 'BrevoContactForm',
|
|
10
|
+
BrevoContactFormCheckForChanges: 'BrevoContactFormCheckForChanges'
|
|
11
|
+
},
|
|
12
|
+
Mutation: {
|
|
13
|
+
CreateBrevoTestContact: 'CreateBrevoTestContact',
|
|
14
|
+
UpdateBrevoContact: 'UpdateBrevoContact'
|
|
15
|
+
}
|
|
16
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.updateBrevoContactMutation = exports.createBrevoTestContactMutation = exports.brevoContactFormQuery = exports.brevoContactFormCheckForChangesQuery = void 0;
|
|
7
|
+
var _client = require("@apollo/client");
|
|
8
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
9
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
10
|
+
var brevoContactFormQuery = exports.brevoContactFormQuery = function brevoContactFormQuery(brevoTestContactFormFragment) {
|
|
11
|
+
return (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query BrevoContactForm($id: Int!, $scope: EmailCampaignContentScopeInput!) {\n brevoContact(id: $id, scope: $scope) {\n id\n modifiedAt\n ...BrevoTestContactForm\n }\n }\n ", "\n"])), brevoTestContactFormFragment);
|
|
12
|
+
};
|
|
13
|
+
var brevoContactFormCheckForChangesQuery = exports.brevoContactFormCheckForChangesQuery = (0, _client.gql)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n query BrevoContactFormCheckForChanges($id: Int!, $scope: EmailCampaignContentScopeInput!) {\n brevoContact(id: $id, scope: $scope) {\n modifiedAt\n }\n }\n"])));
|
|
14
|
+
var createBrevoTestContactMutation = exports.createBrevoTestContactMutation = (0, _client.gql)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n mutation CreateBrevoTestContact($scope: EmailCampaignContentScopeInput!, $input: BrevoTestContactInput!) {\n createBrevoTestContact(scope: $scope, input: $input)\n }\n"])));
|
|
15
|
+
var updateBrevoContactMutation = exports.updateBrevoContactMutation = function updateBrevoContactMutation(brevoTestContactFormFragment) {
|
|
16
|
+
return (0, _client.gql)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation UpdateBrevoContact($id: Int!, $input: BrevoContactUpdateInput!, $scope: EmailCampaignContentScopeInput!) {\n updateBrevoContact(id: $id, input: $input, scope: $scope) {\n id\n modifiedAt\n ...BrevoTestContactForm\n }\n }\n ", "\n"])), brevoTestContactFormFragment);
|
|
17
|
+
};
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
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.BrevoTestContactForm = BrevoTestContactForm;
|
|
8
|
+
var _client = require("@apollo/client");
|
|
9
|
+
var _admin = require("@comet/admin");
|
|
10
|
+
var _adminIcons = require("@comet/admin-icons");
|
|
11
|
+
var _cmsAdmin = require("@comet/cms-admin");
|
|
12
|
+
var _material = require("@mui/material");
|
|
13
|
+
var _system = require("@mui/system");
|
|
14
|
+
var _react = _interopRequireDefault(require("react"));
|
|
15
|
+
var _reactIntl = require("react-intl");
|
|
16
|
+
var _BrevoTestContactForm = require("./BrevoTestContactForm.gql");
|
|
17
|
+
var _excluded = ["email"];
|
|
18
|
+
var _templateObject;
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
20
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
22
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
23
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
24
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
25
|
+
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; }
|
|
26
|
+
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; }
|
|
27
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
28
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
29
|
+
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); }
|
|
30
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
31
|
+
function BrevoTestContactForm(_ref) {
|
|
32
|
+
var _additionalAttributes;
|
|
33
|
+
var id = _ref.id,
|
|
34
|
+
scope = _ref.scope,
|
|
35
|
+
input2State = _ref.input2State,
|
|
36
|
+
additionalFormFields = _ref.additionalFormFields,
|
|
37
|
+
additionalAttributesFragment = _ref.additionalAttributesFragment;
|
|
38
|
+
var stackApi = (0, _admin.useStackApi)();
|
|
39
|
+
var client = (0, _client.useApolloClient)();
|
|
40
|
+
var mode = id ? "edit" : "add";
|
|
41
|
+
var formApiRef = (0, _admin.useFormApiRef)();
|
|
42
|
+
var brevoTestContactFormFragment = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fragment BrevoTestContactForm on BrevoContact {\n email\n createdAt\n emailBlacklisted\n smsBlacklisted\n ", "\n }\n ", "\n"])), additionalAttributesFragment ? "...".concat(additionalAttributesFragment === null || additionalAttributesFragment === void 0 ? void 0 : additionalAttributesFragment.name) : "", (_additionalAttributes = additionalAttributesFragment === null || additionalAttributesFragment === void 0 ? void 0 : additionalAttributesFragment.fragment) !== null && _additionalAttributes !== void 0 ? _additionalAttributes : "");
|
|
43
|
+
var _useQuery = (0, _client.useQuery)((0, _BrevoTestContactForm.brevoContactFormQuery)(brevoTestContactFormFragment), id ? {
|
|
44
|
+
variables: {
|
|
45
|
+
id: id,
|
|
46
|
+
scope: scope
|
|
47
|
+
}
|
|
48
|
+
} : {
|
|
49
|
+
skip: true
|
|
50
|
+
}),
|
|
51
|
+
data = _useQuery.data,
|
|
52
|
+
error = _useQuery.error,
|
|
53
|
+
loading = _useQuery.loading,
|
|
54
|
+
refetch = _useQuery.refetch;
|
|
55
|
+
var initialValues = _react["default"].useMemo(function () {
|
|
56
|
+
var _data$brevoContact;
|
|
57
|
+
var baseInitialValues = {
|
|
58
|
+
email: ""
|
|
59
|
+
};
|
|
60
|
+
if (input2State) {
|
|
61
|
+
baseInitialValues = _objectSpread(_objectSpread({}, baseInitialValues), input2State(data === null || data === void 0 ? void 0 : data.brevoContact));
|
|
62
|
+
}
|
|
63
|
+
return data !== null && data !== void 0 && (_data$brevoContact = data.brevoContact) !== null && _data$brevoContact !== void 0 && _data$brevoContact.email ? _objectSpread(_objectSpread({}, baseInitialValues), {}, {
|
|
64
|
+
email: data.brevoContact.email
|
|
65
|
+
}) : baseInitialValues;
|
|
66
|
+
}, [data === null || data === void 0 ? void 0 : data.brevoContact, input2State]);
|
|
67
|
+
var saveConflict = (0, _cmsAdmin.useFormSaveConflict)({
|
|
68
|
+
checkConflict: function () {
|
|
69
|
+
var _checkConflict = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
70
|
+
var _data$brevoContact2;
|
|
71
|
+
var _yield$client$query, updatedData;
|
|
72
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
73
|
+
while (1) switch (_context.prev = _context.next) {
|
|
74
|
+
case 0:
|
|
75
|
+
if (id) {
|
|
76
|
+
_context.next = 2;
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
return _context.abrupt("return", false);
|
|
80
|
+
case 2:
|
|
81
|
+
_context.next = 4;
|
|
82
|
+
return client.query({
|
|
83
|
+
query: _BrevoTestContactForm.brevoContactFormCheckForChangesQuery,
|
|
84
|
+
variables: {
|
|
85
|
+
id: id,
|
|
86
|
+
scope: scope
|
|
87
|
+
},
|
|
88
|
+
fetchPolicy: "no-cache"
|
|
89
|
+
});
|
|
90
|
+
case 4:
|
|
91
|
+
_yield$client$query = _context.sent;
|
|
92
|
+
updatedData = _yield$client$query.data;
|
|
93
|
+
return _context.abrupt("return", (0, _cmsAdmin.resolveHasSaveConflict)(data === null || data === void 0 || (_data$brevoContact2 = data.brevoContact) === null || _data$brevoContact2 === void 0 ? void 0 : _data$brevoContact2.modifiedAt, updatedData.brevoContact.modifiedAt));
|
|
94
|
+
case 7:
|
|
95
|
+
case "end":
|
|
96
|
+
return _context.stop();
|
|
97
|
+
}
|
|
98
|
+
}, _callee);
|
|
99
|
+
}));
|
|
100
|
+
function checkConflict() {
|
|
101
|
+
return _checkConflict.apply(this, arguments);
|
|
102
|
+
}
|
|
103
|
+
return checkConflict;
|
|
104
|
+
}(),
|
|
105
|
+
formApiRef: formApiRef,
|
|
106
|
+
loadLatestVersion: function () {
|
|
107
|
+
var _loadLatestVersion = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
108
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
109
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
110
|
+
case 0:
|
|
111
|
+
_context2.next = 2;
|
|
112
|
+
return refetch();
|
|
113
|
+
case 2:
|
|
114
|
+
case "end":
|
|
115
|
+
return _context2.stop();
|
|
116
|
+
}
|
|
117
|
+
}, _callee2);
|
|
118
|
+
}));
|
|
119
|
+
function loadLatestVersion() {
|
|
120
|
+
return _loadLatestVersion.apply(this, arguments);
|
|
121
|
+
}
|
|
122
|
+
return loadLatestVersion;
|
|
123
|
+
}()
|
|
124
|
+
});
|
|
125
|
+
var handleSubmit = /*#__PURE__*/function () {
|
|
126
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(state, form, event) {
|
|
127
|
+
var output, email, rest, _yield$client$mutate, mutationResponse, response;
|
|
128
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
129
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
130
|
+
case 0:
|
|
131
|
+
_context3.next = 2;
|
|
132
|
+
return saveConflict.checkForConflicts();
|
|
133
|
+
case 2:
|
|
134
|
+
if (!_context3.sent) {
|
|
135
|
+
_context3.next = 4;
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
throw new Error("Conflicts detected");
|
|
139
|
+
case 4:
|
|
140
|
+
output = _objectSpread(_objectSpread({}, state), {}, {
|
|
141
|
+
blocked: false
|
|
142
|
+
});
|
|
143
|
+
if (!(mode === "edit")) {
|
|
144
|
+
_context3.next = 13;
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
if (id) {
|
|
148
|
+
_context3.next = 8;
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
throw new Error("Missing id in edit mode");
|
|
152
|
+
case 8:
|
|
153
|
+
email = output.email, rest = _objectWithoutProperties(output, _excluded);
|
|
154
|
+
_context3.next = 11;
|
|
155
|
+
return client.mutate({
|
|
156
|
+
mutation: (0, _BrevoTestContactForm.updateBrevoContactMutation)(brevoTestContactFormFragment),
|
|
157
|
+
variables: {
|
|
158
|
+
id: id,
|
|
159
|
+
input: rest,
|
|
160
|
+
scope: scope
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
case 11:
|
|
164
|
+
_context3.next = 28;
|
|
165
|
+
break;
|
|
166
|
+
case 13:
|
|
167
|
+
_context3.next = 15;
|
|
168
|
+
return client.mutate({
|
|
169
|
+
mutation: _BrevoTestContactForm.createBrevoTestContactMutation,
|
|
170
|
+
variables: {
|
|
171
|
+
scope: scope,
|
|
172
|
+
input: output
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
case 15:
|
|
176
|
+
_yield$client$mutate = _context3.sent;
|
|
177
|
+
mutationResponse = _yield$client$mutate.data;
|
|
178
|
+
if (event.navigatingBack) {
|
|
179
|
+
_context3.next = 28;
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
response = mutationResponse === null || mutationResponse === void 0 ? void 0 : mutationResponse.createBrevoTestContact;
|
|
183
|
+
if (!(response === "SUCCESSFUL")) {
|
|
184
|
+
_context3.next = 23;
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
setTimeout(function () {
|
|
188
|
+
stackApi === null || stackApi === void 0 || stackApi.goBack();
|
|
189
|
+
});
|
|
190
|
+
_context3.next = 28;
|
|
191
|
+
break;
|
|
192
|
+
case 23:
|
|
193
|
+
if (!(response === "ERROR_CONTAINED_IN_ECG_RTR_LIST")) {
|
|
194
|
+
_context3.next = 27;
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
throw new Error("Contact contained in ECG RTR list, cannot create contact");
|
|
198
|
+
case 27:
|
|
199
|
+
throw new Error("Error creating contact");
|
|
200
|
+
case 28:
|
|
201
|
+
case "end":
|
|
202
|
+
return _context3.stop();
|
|
203
|
+
}
|
|
204
|
+
}, _callee3);
|
|
205
|
+
}));
|
|
206
|
+
return function handleSubmit(_x, _x2, _x3) {
|
|
207
|
+
return _ref2.apply(this, arguments);
|
|
208
|
+
};
|
|
209
|
+
}();
|
|
210
|
+
if (error) throw error;
|
|
211
|
+
if (loading) {
|
|
212
|
+
return /*#__PURE__*/_react["default"].createElement(_admin.Loading, {
|
|
213
|
+
behavior: "fillPageHeight"
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
return /*#__PURE__*/_react["default"].createElement(_admin.FinalForm, {
|
|
217
|
+
apiRef: formApiRef,
|
|
218
|
+
onSubmit: handleSubmit,
|
|
219
|
+
mode: mode,
|
|
220
|
+
initialValues: initialValues
|
|
221
|
+
}, function (_ref3) {
|
|
222
|
+
var values = _ref3.values;
|
|
223
|
+
return /*#__PURE__*/_react["default"].createElement(_cmsAdmin.EditPageLayout, null, saveConflict.dialogs, /*#__PURE__*/_react["default"].createElement(_admin.Toolbar, null, /*#__PURE__*/_react["default"].createElement(_admin.ToolbarItem, null, /*#__PURE__*/_react["default"].createElement(_material.IconButton, {
|
|
224
|
+
onClick: stackApi === null || stackApi === void 0 ? void 0 : stackApi.goBack
|
|
225
|
+
}, /*#__PURE__*/_react["default"].createElement(_adminIcons.ArrowLeft, null))), /*#__PURE__*/_react["default"].createElement(_admin.ToolbarTitleItem, null, /*#__PURE__*/_react["default"].createElement(_reactIntl.FormattedMessage, {
|
|
226
|
+
id: "cometBrevoModule.brevoTestContacts.brevoTestContact",
|
|
227
|
+
defaultMessage: "Test contact"
|
|
228
|
+
})), /*#__PURE__*/_react["default"].createElement(_admin.ToolbarFillSpace, null), /*#__PURE__*/_react["default"].createElement(_admin.ToolbarActions, null, /*#__PURE__*/_react["default"].createElement(_admin.FinalFormSaveSplitButton, {
|
|
229
|
+
hasConflict: saveConflict.hasConflict
|
|
230
|
+
}))), /*#__PURE__*/_react["default"].createElement(_admin.MainContent, null, mode === "edit" && /*#__PURE__*/_react["default"].createElement(_system.Box, {
|
|
231
|
+
sx: {
|
|
232
|
+
marginBottom: 4
|
|
233
|
+
}
|
|
234
|
+
}, /*#__PURE__*/_react["default"].createElement(_admin.Alert, {
|
|
235
|
+
severity: "warning"
|
|
236
|
+
}, /*#__PURE__*/_react["default"].createElement(_reactIntl.FormattedMessage, {
|
|
237
|
+
id: "cometBrevoModule.brevoContact.contactEditAlert",
|
|
238
|
+
defaultMessage: "Editing a contact will affect all scopes and the target groups within those scopes."
|
|
239
|
+
}))), /*#__PURE__*/_react["default"].createElement(_admin.TextField, {
|
|
240
|
+
required: true,
|
|
241
|
+
fullWidth: true,
|
|
242
|
+
name: "email",
|
|
243
|
+
label: /*#__PURE__*/_react["default"].createElement(_reactIntl.FormattedMessage, {
|
|
244
|
+
id: "cometBrevoModule.brevoTestContact.email",
|
|
245
|
+
defaultMessage: "Email"
|
|
246
|
+
}),
|
|
247
|
+
disabled: mode === "edit"
|
|
248
|
+
}), additionalFormFields && /*#__PURE__*/_react["default"].createElement(_material.Card, {
|
|
249
|
+
sx: {
|
|
250
|
+
padding: 4
|
|
251
|
+
}
|
|
252
|
+
}, /*#__PURE__*/_react["default"].createElement(_admin.FormSection, {
|
|
253
|
+
title: /*#__PURE__*/_react["default"].createElement(_reactIntl.FormattedMessage, {
|
|
254
|
+
id: "cometBrevoModule.brevoTestContact.attributes",
|
|
255
|
+
defaultMessage: "Attributes"
|
|
256
|
+
})
|
|
257
|
+
}, additionalFormFields))));
|
|
258
|
+
});
|
|
259
|
+
}
|
|
@@ -30,6 +30,9 @@ export type Scalars = {
|
|
|
30
30
|
export type GQLAddBrevoContactsInput = {
|
|
31
31
|
brevoContactIds: Array<Scalars['Int']>;
|
|
32
32
|
};
|
|
33
|
+
export type GQLBooleanFilter = {
|
|
34
|
+
equal?: InputMaybe<Scalars['Boolean']>;
|
|
35
|
+
};
|
|
33
36
|
export type GQLBrevoApiCampaignStatistics = {
|
|
34
37
|
__typename?: 'BrevoApiCampaignStatistics';
|
|
35
38
|
/** Number of total clicks for the campaign */
|
|
@@ -79,6 +82,10 @@ export type GQLBrevoContactInput = {
|
|
|
79
82
|
export type GQLBrevoContactUpdateInput = {
|
|
80
83
|
blocked: Scalars['Boolean'];
|
|
81
84
|
};
|
|
85
|
+
export type GQLBrevoTestContactInput = {
|
|
86
|
+
blocked: Scalars['Boolean'];
|
|
87
|
+
email: Scalars['String'];
|
|
88
|
+
};
|
|
82
89
|
export type GQLCurrentUserPermission = {
|
|
83
90
|
__typename?: 'CurrentUserPermission';
|
|
84
91
|
contentScopes: Array<Scalars['JSONObject']>;
|
|
@@ -170,9 +177,11 @@ export type GQLMutation = {
|
|
|
170
177
|
__typename?: 'Mutation';
|
|
171
178
|
addBrevoContactsToTargetGroup: Scalars['Boolean'];
|
|
172
179
|
createBrevoContact: GQLSubscribeResponse;
|
|
180
|
+
createBrevoTestContact: GQLSubscribeResponse;
|
|
173
181
|
createEmailCampaign: GQLEmailCampaign;
|
|
174
182
|
createTargetGroup: GQLTargetGroup;
|
|
175
183
|
deleteBrevoContact: Scalars['Boolean'];
|
|
184
|
+
deleteBrevoTestContact: Scalars['Boolean'];
|
|
176
185
|
deleteEmailCampaign: Scalars['Boolean'];
|
|
177
186
|
deleteTargetGroup: Scalars['Boolean'];
|
|
178
187
|
removeBrevoContactFromTargetGroup: Scalars['Boolean'];
|
|
@@ -191,6 +200,10 @@ export type GQLMutationcreateBrevoContactArgs = {
|
|
|
191
200
|
input: GQLBrevoContactInput;
|
|
192
201
|
scope: GQLEmailCampaignContentScopeInput;
|
|
193
202
|
};
|
|
203
|
+
export type GQLMutationcreateBrevoTestContactArgs = {
|
|
204
|
+
input: GQLBrevoTestContactInput;
|
|
205
|
+
scope: GQLEmailCampaignContentScopeInput;
|
|
206
|
+
};
|
|
194
207
|
export type GQLMutationcreateEmailCampaignArgs = {
|
|
195
208
|
input: GQLEmailCampaignInput;
|
|
196
209
|
scope: GQLEmailCampaignContentScopeInput;
|
|
@@ -203,6 +216,10 @@ export type GQLMutationdeleteBrevoContactArgs = {
|
|
|
203
216
|
id: Scalars['Int'];
|
|
204
217
|
scope: GQLEmailCampaignContentScopeInput;
|
|
205
218
|
};
|
|
219
|
+
export type GQLMutationdeleteBrevoTestContactArgs = {
|
|
220
|
+
id: Scalars['Int'];
|
|
221
|
+
scope: GQLEmailCampaignContentScopeInput;
|
|
222
|
+
};
|
|
206
223
|
export type GQLMutationdeleteEmailCampaignArgs = {
|
|
207
224
|
id: Scalars['ID'];
|
|
208
225
|
};
|
|
@@ -258,6 +275,7 @@ export type GQLQuery = {
|
|
|
258
275
|
__typename?: 'Query';
|
|
259
276
|
brevoContact: GQLBrevoContact;
|
|
260
277
|
brevoContacts: GQLPaginatedBrevoContacts;
|
|
278
|
+
brevoTestContacts: GQLPaginatedBrevoContacts;
|
|
261
279
|
emailCampaign: GQLEmailCampaign;
|
|
262
280
|
emailCampaignStatistics: Maybe<GQLBrevoApiCampaignStatistics>;
|
|
263
281
|
emailCampaigns: GQLPaginatedEmailCampaigns;
|
|
@@ -276,6 +294,13 @@ export type GQLQuerybrevoContactsArgs = {
|
|
|
276
294
|
scope: GQLEmailCampaignContentScopeInput;
|
|
277
295
|
targetGroupId?: InputMaybe<Scalars['ID']>;
|
|
278
296
|
};
|
|
297
|
+
export type GQLQuerybrevoTestContactsArgs = {
|
|
298
|
+
email?: InputMaybe<Scalars['String']>;
|
|
299
|
+
limit?: Scalars['Int'];
|
|
300
|
+
offset?: Scalars['Int'];
|
|
301
|
+
scope: GQLEmailCampaignContentScopeInput;
|
|
302
|
+
targetGroupId?: InputMaybe<Scalars['ID']>;
|
|
303
|
+
};
|
|
279
304
|
export type GQLQueryemailCampaignArgs = {
|
|
280
305
|
id: Scalars['ID'];
|
|
281
306
|
};
|
|
@@ -334,6 +359,7 @@ export type GQLTargetGroup = GQLDocumentInterface & {
|
|
|
334
359
|
createdAt: Scalars['DateTime'];
|
|
335
360
|
id: Scalars['ID'];
|
|
336
361
|
isMainList: Scalars['Boolean'];
|
|
362
|
+
isTestList: Maybe<Scalars['Boolean']>;
|
|
337
363
|
scope: GQLEmailCampaignContentScope;
|
|
338
364
|
title: Scalars['String'];
|
|
339
365
|
totalSubscribers: Scalars['Int'];
|
|
@@ -342,6 +368,7 @@ export type GQLTargetGroup = GQLDocumentInterface & {
|
|
|
342
368
|
export type GQLTargetGroupFilter = {
|
|
343
369
|
and?: InputMaybe<Array<GQLTargetGroupFilter>>;
|
|
344
370
|
createdAt?: InputMaybe<GQLDateFilter>;
|
|
371
|
+
isTestList?: InputMaybe<GQLBooleanFilter>;
|
|
345
372
|
or?: InputMaybe<Array<GQLTargetGroupFilter>>;
|
|
346
373
|
title?: InputMaybe<GQLStringFilter>;
|
|
347
374
|
updatedAt?: InputMaybe<GQLDateFilter>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.generated.d.ts","sourceRoot":"","sources":["../src/graphql.generated.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAChC,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC;AACrC,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AACnF,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KAAG,MAAM,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CAAE,CAAC;AACnG,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KAAG,MAAM,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CAAE,CAAC;AAC/F,qEAAqE;AACrE,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE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C7C,KAAK,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC;IACpC,SAAS,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,CAAC,EAAE,UAAU,CAAC,oCAAoC,CAAC,CAAC;IAC3D,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,uBAAuB,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAC/B,WAAW,GACX,OAAO,GACP,WAAW,CAAC;AAEhB,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,UAAU,CAAC,oCAAoC,CAAC,CAAC;IAC3D,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IACzB,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC5B,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CACzB,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { createBrevoContactsPage } from "./brevoContacts/BrevoContactsPage";
|
|
2
2
|
export { EditBrevoContactFormValues } from "./brevoContacts/form/BrevoContactForm";
|
|
3
|
+
export { createBrevoTestContactsPage } from "./brevoTestContacts/BrevoTestContactsPage";
|
|
3
4
|
export { BrevoConfig, BrevoConfigProvider, useBrevoConfig } from "./common/BrevoConfigProvider";
|
|
4
5
|
export { createEmailCampaignsPage } from "./emailCampaigns/EmailCampaignsPage";
|
|
5
6
|
export { EditTargetGroupFinalFormValues } from "./targetGroups/TargetGroupForm";
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -33,6 +33,12 @@ Object.defineProperty(exports, "createBrevoContactsPage", {
|
|
|
33
33
|
return _BrevoContactsPage.createBrevoContactsPage;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
+
Object.defineProperty(exports, "createBrevoTestContactsPage", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _BrevoTestContactsPage.createBrevoTestContactsPage;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
36
42
|
Object.defineProperty(exports, "createEmailCampaignsPage", {
|
|
37
43
|
enumerable: true,
|
|
38
44
|
get: function get() {
|
|
@@ -53,6 +59,7 @@ Object.defineProperty(exports, "useBrevoConfig", {
|
|
|
53
59
|
});
|
|
54
60
|
var _BrevoContactsPage = require("./brevoContacts/BrevoContactsPage");
|
|
55
61
|
var _BrevoContactForm = require("./brevoContacts/form/BrevoContactForm");
|
|
62
|
+
var _BrevoTestContactsPage = require("./brevoTestContacts/BrevoTestContactsPage");
|
|
56
63
|
var _BrevoConfigProvider = require("./common/BrevoConfigProvider");
|
|
57
64
|
var _EmailCampaignsPage = require("./emailCampaigns/EmailCampaignsPage");
|
|
58
65
|
var _TargetGroupForm = require("./targetGroups/TargetGroupForm");
|