@manuscripts/article-editor 3.4.7 → 3.4.9

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.
Files changed (52) hide show
  1. package/dist/cjs/components/comments/CommentActions.js +11 -7
  2. package/dist/cjs/components/comments/CommentActions.js.map +1 -1
  3. package/dist/cjs/components/comments/CommentBody.js +11 -7
  4. package/dist/cjs/components/comments/CommentBody.js.map +1 -1
  5. package/dist/cjs/components/comments/CommentCard.js +163 -0
  6. package/dist/cjs/components/comments/CommentCard.js.map +1 -0
  7. package/dist/cjs/components/comments/CommentResolveButton.js +1 -1
  8. package/dist/cjs/components/comments/CommentThread.js +88 -88
  9. package/dist/cjs/components/comments/CommentThread.js.map +1 -1
  10. package/dist/cjs/components/comments/CommentsPanel.js +45 -10
  11. package/dist/cjs/components/comments/CommentsPanel.js.map +1 -1
  12. package/dist/cjs/components/comments/DeleteCommentConfirmation.js +115 -0
  13. package/dist/cjs/components/comments/DeleteCommentConfirmation.js.map +1 -0
  14. package/dist/cjs/components/comments/ReplyBox.js +121 -0
  15. package/dist/cjs/components/comments/ReplyBox.js.map +1 -0
  16. package/dist/cjs/components/projects/Inspector.js +0 -4
  17. package/dist/cjs/components/projects/Inspector.js.map +1 -1
  18. package/dist/cjs/lib/comments.js +26 -5
  19. package/dist/cjs/lib/comments.js.map +1 -1
  20. package/dist/es/components/comments/CommentActions.js +11 -7
  21. package/dist/es/components/comments/CommentActions.js.map +1 -1
  22. package/dist/es/components/comments/CommentBody.js +12 -8
  23. package/dist/es/components/comments/CommentBody.js.map +1 -1
  24. package/dist/es/components/comments/CommentCard.js +133 -0
  25. package/dist/es/components/comments/CommentCard.js.map +1 -0
  26. package/dist/es/components/comments/CommentResolveButton.js +1 -1
  27. package/dist/es/components/comments/CommentThread.js +91 -91
  28. package/dist/es/components/comments/CommentThread.js.map +1 -1
  29. package/dist/es/components/comments/CommentsPanel.js +47 -12
  30. package/dist/es/components/comments/CommentsPanel.js.map +1 -1
  31. package/dist/es/components/comments/DeleteCommentConfirmation.js +85 -0
  32. package/dist/es/components/comments/DeleteCommentConfirmation.js.map +1 -0
  33. package/dist/es/components/comments/ReplyBox.js +91 -0
  34. package/dist/es/components/comments/ReplyBox.js.map +1 -0
  35. package/dist/es/components/projects/Inspector.js +0 -4
  36. package/dist/es/components/projects/Inspector.js.map +1 -1
  37. package/dist/es/lib/comments.js +23 -3
  38. package/dist/es/lib/comments.js.map +1 -1
  39. package/dist/types/components/comments/CommentBody.d.ts +0 -1
  40. package/dist/{es/components/projects/ManuscriptInspector.js → types/components/comments/CommentCard.d.ts} +15 -6
  41. package/dist/types/components/comments/CommentThread.d.ts +3 -2
  42. package/dist/types/components/{projects/ManuscriptInspector.d.ts → comments/DeleteCommentConfirmation.d.ts} +8 -7
  43. package/dist/types/components/{projects/ContentTab.d.ts → comments/ReplyBox.d.ts} +7 -2
  44. package/dist/types/lib/comments.d.ts +4 -3
  45. package/package.json +1 -1
  46. package/dist/cjs/components/projects/ContentTab.js +0 -33
  47. package/dist/cjs/components/projects/ContentTab.js.map +0 -1
  48. package/dist/cjs/components/projects/ManuscriptInspector.js +0 -24
  49. package/dist/cjs/components/projects/ManuscriptInspector.js.map +0 -1
  50. package/dist/es/components/projects/ContentTab.js +0 -26
  51. package/dist/es/components/projects/ContentTab.js.map +0 -1
  52. package/dist/es/components/projects/ManuscriptInspector.js.map +0 -1
@@ -1,3 +1,15 @@
1
+ /*!
2
+ * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
+ *
4
+ * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
+ *
6
+ * The Original Code is manuscripts-frontend.
7
+ *
8
+ * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
+ *
10
+ * All portions of the code written by Atypon Systems LLC are Copyright (c) 2024 Atypon Systems LLC. All Rights Reserved.
11
+ */
12
+ import { isReply } from '@manuscripts/body-editor';
1
13
  export const getAuthorID = (comment) => {
2
14
  const contributions = comment.node.attrs.contributions;
3
15
  if (!contributions?.length) {
@@ -5,11 +17,14 @@ export const getAuthorID = (comment) => {
5
17
  }
6
18
  return contributions[0].profileID;
7
19
  };
8
- export const buildCommentTrees = (comments, newCommentID) => {
9
- return comments.map((c) => ({
20
+ export const buildThreads = (comments, newCommentID) => {
21
+ return comments
22
+ .filter((c) => !isReply(c)) // Filter out replies
23
+ .map((c) => ({
10
24
  comment: c,
11
25
  isNew: newCommentID === c.node.attrs.id,
12
- children: [],
26
+ replies: comments.filter((reply) => reply.node.attrs.target === c.node.attrs.id // Find replies for each comment
27
+ ),
13
28
  }));
14
29
  };
15
30
  export const buildAuthorName = (user) => {
@@ -20,4 +35,9 @@ export const buildAuthorName = (user) => {
20
35
  .filter(Boolean)
21
36
  .join(' ');
22
37
  };
38
+ export const commentsByTime = (a, b) => {
39
+ const aTimestamp = a.node.attrs.contributions?.[0].timestamp || 0;
40
+ const bTimestamp = b.node.attrs.contributions?.[0].timestamp || 0;
41
+ return aTimestamp - bTimestamp;
42
+ };
23
43
  //# sourceMappingURL=comments.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"comments.js","sourceRoot":"","sources":["../../../src/lib/comments.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC9C,MAAM,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAA;IACtD,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE;QAC1B,OAAO,SAAS,CAAA;KACjB;IACD,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;AACnC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,QAAmB,EACnB,YAAqB,EACN,EAAE;IACjB,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC1B,OAAO,EAAE,CAAC;QACV,KAAK,EAAE,YAAY,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;QACvC,QAAQ,EAAE,EAAE;KACb,CAAC,CAAC,CAAA;AACL,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAA6B,EAAE,EAAE;IAC/D,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAA;KACV;IACD,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC;SACjE,MAAM,CAAC,OAAO,CAAC;SACf,IAAI,CAAC,GAAG,CAAC,CAAA;AACd,CAAC,CAAA"}
1
+ {"version":3,"file":"comments.js","sourceRoot":"","sources":["../../../src/lib/comments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAW,OAAO,EAAE,MAAM,0BAA0B,CAAA;AAS3D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,OAAgB,EAAE,EAAE;IAC9C,MAAM,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAA;IACtD,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE;QAC1B,OAAO,SAAS,CAAA;KACjB;IACD,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;AACnC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,QAAmB,EACnB,YAAqB,EACX,EAAE;IACZ,OAAO,QAAQ;SACZ,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB;SAChD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACX,OAAO,EAAE,CAAC;QACV,KAAK,EAAE,YAAY,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;QACvC,OAAO,EAAE,QAAQ,CAAC,MAAM,CACtB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,gCAAgC;SACxF;KACF,CAAC,CAAC,CAAA;AACP,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAA6B,EAAE,EAAE;IAC/D,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAA;KACV;IACD,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC;SACjE,MAAM,CAAC,OAAO,CAAC;SACf,IAAI,CAAC,GAAG,CAAC,CAAA;AACd,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAU,EAAE,CAAU,EAAE,EAAE;IACvD,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAA;IACjE,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC,CAAA;IACjE,OAAO,UAAU,GAAG,UAAU,CAAA;AAChC,CAAC,CAAA"}
@@ -16,6 +16,5 @@ export interface CommentBodyProps {
16
16
  isEditing: boolean;
17
17
  onSave: (content: string) => void;
18
18
  onCancel: () => void;
19
- onSelect: () => void;
20
19
  }
21
20
  export declare const CommentBody: React.FC<CommentBodyProps>;
@@ -7,11 +7,20 @@
7
7
  *
8
8
  * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
9
  *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
10
+ * All portions of the code written by Atypon Systems LLC are Copyright (c) 2024 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
+ import { Comment, CommentAttrs } from '@manuscripts/body-editor';
12
13
  import React from 'react';
13
- import { InspectorSection } from '../InspectorSection';
14
- export const ManuscriptInspector = () => {
15
- return React.createElement(InspectorSection, { title: 'Manuscript' });
16
- };
17
- //# sourceMappingURL=ManuscriptInspector.js.map
14
+ interface CommentCardProps {
15
+ comment: Comment;
16
+ isReply: boolean;
17
+ numOfReplies: number;
18
+ isNew: boolean;
19
+ isEndOfThread: boolean;
20
+ editingCommentId: string | null;
21
+ setEditingCommentId: (id: string | null) => void;
22
+ onSave: (comment: CommentAttrs) => void;
23
+ onDelete: (id: string) => void;
24
+ }
25
+ export declare const CommentCard: React.FC<CommentCardProps>;
26
+ export {};
@@ -11,12 +11,13 @@
11
11
  */
12
12
  import { CommentAttrs } from '@manuscripts/body-editor';
13
13
  import React from 'react';
14
- import { CommentTree } from '../../lib/comments';
14
+ import { Thread } from '../../lib/comments';
15
15
  export interface CommentThreadProps {
16
- tree: CommentTree;
16
+ thread: Thread;
17
17
  isSelected: boolean;
18
18
  onSelect: () => void;
19
19
  onSave: (comment: CommentAttrs) => void;
20
20
  onDelete: (id: string) => void;
21
+ insertCommentReply: (target: string, contents: string) => void;
21
22
  }
22
23
  export declare const CommentThread: React.ForwardRefExoticComponent<CommentThreadProps & React.RefAttributes<HTMLDivElement>>;
@@ -7,12 +7,13 @@
7
7
  *
8
8
  * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
9
  *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
10
+ * All portions of the code written by Atypon Systems LLC are Copyright (c) 2024 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
- import { EditorState, Transaction } from 'prosemirror-state';
13
12
  import React from 'react';
14
- export declare const ManuscriptInspector: React.FC<{
15
- state: EditorState;
16
- dispatch: (tr: Transaction) => EditorState | void;
17
- canWrite?: boolean;
18
- }>;
13
+ interface DeleteCommentConfirmationProps {
14
+ isReply: boolean;
15
+ onCancel: () => void;
16
+ onConfirm: () => void;
17
+ }
18
+ export declare const DeleteCommentConfirmation: React.FC<DeleteCommentConfirmationProps>;
19
+ export {};
@@ -7,7 +7,12 @@
7
7
  *
8
8
  * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
9
  *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
10
+ * All portions of the code written by Atypon Systems LLC are Copyright (c) 2024 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
12
  import React from 'react';
13
- export declare const ContentTab: React.FC;
13
+ interface ReplyBoxProps {
14
+ insertCommentReply: (target: string, contents: string) => void;
15
+ commentID: string;
16
+ }
17
+ export declare const ReplyBox: React.FC<ReplyBoxProps>;
18
+ export {};
@@ -11,11 +11,12 @@
11
11
  */
12
12
  import { Comment } from '@manuscripts/body-editor';
13
13
  import { UserProfile } from '@manuscripts/json-schema';
14
- export type CommentTree = {
14
+ export type Thread = {
15
15
  comment: Comment;
16
16
  isNew: boolean;
17
- children: CommentTree[];
17
+ replies: Comment[];
18
18
  };
19
19
  export declare const getAuthorID: (comment: Comment) => string | undefined;
20
- export declare const buildCommentTrees: (comments: Comment[], newCommentID?: string) => CommentTree[];
20
+ export declare const buildThreads: (comments: Comment[], newCommentID?: string) => Thread[];
21
21
  export declare const buildAuthorName: (user: UserProfile | undefined) => string;
22
+ export declare const commentsByTime: (a: Comment, b: Comment) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/article-editor",
3
- "version": "3.4.7",
3
+ "version": "3.4.9",
4
4
  "license": "CPAL-1.0",
5
5
  "description": "React components for editing and viewing manuscripts",
6
6
  "repository": "github:Atypon-OpenSource/manuscripts-article-editor",
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ContentTab = void 0;
7
- /*!
8
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
9
- *
10
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
11
- *
12
- * The Original Code is manuscripts-frontend.
13
- *
14
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
15
- *
16
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
17
- */
18
- const react_1 = __importDefault(require("react"));
19
- const store_1 = require("../../store");
20
- const ManuscriptInspector_1 = require("./ManuscriptInspector");
21
- const ContentTab = () => {
22
- const [{ manuscriptID, editor }] = (0, store_1.useStore)((store) => {
23
- return {
24
- manuscriptID: store.manuscriptID,
25
- editor: store.editor,
26
- };
27
- });
28
- const { state, dispatch } = editor;
29
- return (react_1.default.createElement("div", null,
30
- react_1.default.createElement(ManuscriptInspector_1.ManuscriptInspector, { key: manuscriptID, state: state, dispatch: dispatch })));
31
- };
32
- exports.ContentTab = ContentTab;
33
- //# sourceMappingURL=ContentTab.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentTab.js","sourceRoot":"","sources":["../../../../src/components/projects/ContentTab.tsx"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;GAUG;AACH,kDAAyB;AAEzB,uCAAsC;AACtC,+DAA2D;AAEpD,MAAM,UAAU,GAAa,GAAG,EAAE;IACvC,MAAM,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,KAAK,EAAE,EAAE;QACpD,OAAO;YACL,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,MAAM,EAAE,KAAK,CAAC,MAAM;SACrB,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAA;IAElC,OAAO,CACL;QACE,8BAAC,yCAAmB,IAClB,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,CACE,CACP,CAAA;AACH,CAAC,CAAA;AAnBY,QAAA,UAAU,cAmBtB"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- /*!
3
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
4
- *
5
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
6
- *
7
- * The Original Code is manuscripts-frontend.
8
- *
9
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
10
- *
11
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
12
- */
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ManuscriptInspector = void 0;
18
- const react_1 = __importDefault(require("react"));
19
- const InspectorSection_1 = require("../InspectorSection");
20
- const ManuscriptInspector = () => {
21
- return react_1.default.createElement(InspectorSection_1.InspectorSection, { title: 'Manuscript' });
22
- };
23
- exports.ManuscriptInspector = ManuscriptInspector;
24
- //# sourceMappingURL=ManuscriptInspector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ManuscriptInspector.js","sourceRoot":"","sources":["../../../../src/components/projects/ManuscriptInspector.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;AAGH,kDAAyB;AAEzB,0DAAsD;AAE/C,MAAM,mBAAmB,GAI3B,GAAG,EAAE;IACR,OAAO,8BAAC,mCAAgB,IAAC,KAAK,EAAE,YAAY,GAAqB,CAAA;AACnE,CAAC,CAAA;AANY,QAAA,mBAAmB,uBAM/B"}
@@ -1,26 +0,0 @@
1
- /*!
2
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
- *
4
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
- *
6
- * The Original Code is manuscripts-frontend.
7
- *
8
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
- *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import React from 'react';
13
- import { useStore } from '../../store';
14
- import { ManuscriptInspector } from './ManuscriptInspector';
15
- export const ContentTab = () => {
16
- const [{ manuscriptID, editor }] = useStore((store) => {
17
- return {
18
- manuscriptID: store.manuscriptID,
19
- editor: store.editor,
20
- };
21
- });
22
- const { state, dispatch } = editor;
23
- return (React.createElement("div", null,
24
- React.createElement(ManuscriptInspector, { key: manuscriptID, state: state, dispatch: dispatch })));
25
- };
26
- //# sourceMappingURL=ContentTab.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentTab.js","sourceRoot":"","sources":["../../../../src/components/projects/ContentTab.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,CAAC,MAAM,UAAU,GAAa,GAAG,EAAE;IACvC,MAAM,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;QACpD,OAAO;YACL,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,MAAM,EAAE,KAAK,CAAC,MAAM;SACrB,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAA;IAElC,OAAO,CACL;QACE,oBAAC,mBAAmB,IAClB,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,CACE,CACP,CAAA;AACH,CAAC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ManuscriptInspector.js","sourceRoot":"","sources":["../../../../src/components/projects/ManuscriptInspector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,MAAM,CAAC,MAAM,mBAAmB,GAI3B,GAAG,EAAE;IACR,OAAO,oBAAC,gBAAgB,IAAC,KAAK,EAAE,YAAY,GAAqB,CAAA;AACnE,CAAC,CAAA"}