@manuscripts/article-editor 3.4.8 → 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.
@@ -47,7 +47,6 @@ const Inspector_1 = require("../Inspector");
47
47
  const Panel_1 = __importDefault(require("../Panel"));
48
48
  const ResizerButtons_1 = require("../ResizerButtons");
49
49
  const TrackChangesPanel_1 = require("../track-changes/TrackChangesPanel");
50
- const ContentTab_1 = require("./ContentTab");
51
50
  const Inspector = () => {
52
51
  const [store] = (0, store_1.useStore)((store) => ({
53
52
  selectedCommentKey: store.selectedCommentKey,
@@ -59,7 +58,6 @@ const Inspector = () => {
59
58
  const suggestion = store.selectedSuggestionID;
60
59
  const [tabIndex, setTabIndex] = (0, react_1.useState)(1);
61
60
  let index = 0;
62
- const CONTENT_TAB_INDEX = index++;
63
61
  const COMMENTS_TAB_INDEX = index++;
64
62
  const SUGGESTIONS_TAB_INDEX = !can.editWithoutTracking ? index++ : -1;
65
63
  const FILES_TAB_INDEX = config.features.fileManagement ? index++ : -1;
@@ -77,12 +75,10 @@ const Inspector = () => {
77
75
  react_1.default.createElement(Inspector_1.InspectorContainer, null,
78
76
  react_1.default.createElement(Inspector_1.InspectorTabs, { selectedIndex: tabIndex, onChange: setTabIndex },
79
77
  react_1.default.createElement(Inspector_1.InspectorTabList, null,
80
- react_1.default.createElement(Inspector_1.InspectorTab, { "data-cy": "content-button" }, "Content"),
81
78
  react_1.default.createElement(Inspector_1.InspectorTab, { "data-cy": "comments-button" }, "Comments"),
82
79
  !can.editWithoutTracking && (react_1.default.createElement(Inspector_1.InspectorTab, { "data-cy": "history-button" }, "History")),
83
80
  config.features.fileManagement && (react_1.default.createElement(Inspector_1.InspectorTab, { "data-cy": "files-button" }, "Files"))),
84
81
  react_1.default.createElement(Inspector_1.PaddedInspectorTabPanels, null,
85
- react_1.default.createElement(Inspector_1.InspectorTabPanel, { key: "Content", "data-cy": "content" }, tabIndex === CONTENT_TAB_INDEX && react_1.default.createElement(ContentTab_1.ContentTab, { key: "content" })),
86
82
  react_1.default.createElement(Inspector_1.InspectorTabPanel, { key: "Comments", "data-cy": "comments" }, tabIndex === COMMENTS_TAB_INDEX && (react_1.default.createElement(CommentsPanel_1.CommentsPanel, { key: "comments" }))),
87
83
  !can.editWithoutTracking && (react_1.default.createElement(Inspector_1.InspectorTabPanel, { key: "History", "data-cy": "history" }, tabIndex === SUGGESTIONS_TAB_INDEX && (react_1.default.createElement(TrackChangesPanel_1.TrackChangesPanel, { key: "track-changes" })))),
88
84
  config.features.fileManagement && (react_1.default.createElement(Inspector_1.InspectorTabPanel, { key: "Files", "data-cy": "files" }, tabIndex === FILES_TAB_INDEX && react_1.default.createElement(FileManager_1.FileManager, { key: "files" }))))))));
@@ -1 +1 @@
1
- {"version":3,"file":"Inspector.js","sourceRoot":"","sources":["../../../../src/components/projects/Inspector.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAAyD;AACzD,+CAAkD;AAElD,yCAAwC;AACxC,uCAAsC;AACtC,6DAAyD;AACzD,4DAAwD;AACxD,4CAOqB;AACrB,qDAA4B;AAC5B,sDAA2D;AAC3D,0EAAsE;AACtE,6CAAyC;AAEzC,MAAM,SAAS,GAAa,GAAG,EAAE;IAC/B,MAAM,CAAC,KAAK,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnC,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;QAC5C,oBAAoB,EAAE,KAAK,CAAC,oBAAoB;KACjD,CAAC,CAAC,CAAA;IACH,MAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,MAAM,GAAG,GAAG,IAAA,4BAAc,GAAE,CAAA;IAE5B,MAAM,OAAO,GAAG,KAAK,CAAC,kBAAkB,CAAA;IACxC,MAAM,UAAU,GAAG,KAAK,CAAC,oBAAoB,CAAA;IAC7C,MAAM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E,GAAG,EACZ,SAAS,EAAE,KAAK,EAChB,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,kBAAkB,EAC5B,aAAa,EAAE,wCAAuB;QAEtC,8BAAC,8BAAkB;YACjB,8BAAC,yBAAa,IAAC,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW;gBAC3D,8BAAC,4BAAgB;oBACf,8BAAC,wBAAY,eAAS,iBAAiB,eAAwB;oBAC9D,CAAC,GAAG,CAAC,mBAAmB,IAAI,CAC3B,8BAAC,wBAAY,eAAS,gBAAgB,cAAuB,CAC9D;oBACA,MAAM,CAAC,QAAQ,CAAC,cAAc,IAAI,CACjC,8BAAC,wBAAY,eAAS,cAAc,YAAqB,CAC1D,CACgB;gBACnB,8BAAC,oCAAwB;oBACvB,8BAAC,6BAAiB,IAAC,GAAG,EAAC,UAAU,aAAS,UAAU,IACjD,QAAQ,KAAK,kBAAkB,IAAI,CAClC,8BAAC,6BAAa,IAAC,GAAG,EAAC,UAAU,GAAG,CACjC,CACiB;oBACnB,CAAC,GAAG,CAAC,mBAAmB,IAAI,CAC3B,8BAAC,6BAAiB,IAAC,GAAG,EAAC,SAAS,aAAS,SAAS,IAC/C,QAAQ,KAAK,qBAAqB,IAAI,CACrC,8BAAC,qCAAiB,IAAC,GAAG,EAAC,eAAe,GAAG,CAC1C,CACiB,CACrB;oBACA,MAAM,CAAC,QAAQ,CAAC,cAAc,IAAI,CACjC,8BAAC,6BAAiB,IAAC,GAAG,EAAC,OAAO,aAAS,OAAO,IAC3C,QAAQ,KAAK,eAAe,IAAI,8BAAC,yBAAW,IAAC,GAAG,EAAC,OAAO,GAAG,CAC1C,CACrB,CACwB,CACb,CACG,CACf,CACT,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,SAAS,CAAA"}
@@ -19,7 +19,6 @@ import { InspectorContainer, InspectorTab, InspectorTabList, InspectorTabPanel,
19
19
  import Panel from '../Panel';
20
20
  import { ResizingInspectorButton } from '../ResizerButtons';
21
21
  import { TrackChangesPanel } from '../track-changes/TrackChangesPanel';
22
- import { ContentTab } from './ContentTab';
23
22
  const Inspector = () => {
24
23
  const [store] = useStore((store) => ({
25
24
  selectedCommentKey: store.selectedCommentKey,
@@ -31,7 +30,6 @@ const Inspector = () => {
31
30
  const suggestion = store.selectedSuggestionID;
32
31
  const [tabIndex, setTabIndex] = useState(1);
33
32
  let index = 0;
34
- const CONTENT_TAB_INDEX = index++;
35
33
  const COMMENTS_TAB_INDEX = index++;
36
34
  const SUGGESTIONS_TAB_INDEX = !can.editWithoutTracking ? index++ : -1;
37
35
  const FILES_TAB_INDEX = config.features.fileManagement ? index++ : -1;
@@ -49,12 +47,10 @@ const Inspector = () => {
49
47
  React.createElement(InspectorContainer, null,
50
48
  React.createElement(InspectorTabs, { selectedIndex: tabIndex, onChange: setTabIndex },
51
49
  React.createElement(InspectorTabList, null,
52
- React.createElement(InspectorTab, { "data-cy": "content-button" }, "Content"),
53
50
  React.createElement(InspectorTab, { "data-cy": "comments-button" }, "Comments"),
54
51
  !can.editWithoutTracking && (React.createElement(InspectorTab, { "data-cy": "history-button" }, "History")),
55
52
  config.features.fileManagement && (React.createElement(InspectorTab, { "data-cy": "files-button" }, "Files"))),
56
53
  React.createElement(PaddedInspectorTabPanels, null,
57
- React.createElement(InspectorTabPanel, { key: "Content", "data-cy": "content" }, tabIndex === CONTENT_TAB_INDEX && React.createElement(ContentTab, { key: "content" })),
58
54
  React.createElement(InspectorTabPanel, { key: "Comments", "data-cy": "comments" }, tabIndex === COMMENTS_TAB_INDEX && (React.createElement(CommentsPanel, { key: "comments" }))),
59
55
  !can.editWithoutTracking && (React.createElement(InspectorTabPanel, { key: "History", "data-cy": "history" }, tabIndex === SUGGESTIONS_TAB_INDEX && (React.createElement(TrackChangesPanel, { key: "track-changes" })))),
60
56
  config.features.fileManagement && (React.createElement(InspectorTabPanel, { key: "Files", "data-cy": "files" }, tabIndex === FILES_TAB_INDEX && React.createElement(FileManager, { key: "files" }))))))));
@@ -1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,oBAAC,WAAW,IAAC,GAAG,EAAC,OAAO,GAAG,CAC1C,CACrB,CACwB,CACb,CACG,CACf,CACT,CAAA;AACH,CAAC,CAAA;AAED,eAAe,SAAS,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/article-editor",
3
- "version": "3.4.8",
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,17 +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 { InspectorSection } from '../InspectorSection';
14
- export const ManuscriptInspector = () => {
15
- return React.createElement(InspectorSection, { title: 'Manuscript' });
16
- };
17
- //# 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,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"}
@@ -1,13 +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
- export declare const ContentTab: React.FC;
@@ -1,18 +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 { EditorState, Transaction } from 'prosemirror-state';
13
- import React from 'react';
14
- export declare const ManuscriptInspector: React.FC<{
15
- state: EditorState;
16
- dispatch: (tr: Transaction) => EditorState | void;
17
- canWrite?: boolean;
18
- }>;