@manuscripts/article-editor 1.16.18 → 1.16.19-LEAN-3771.1

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 (107) hide show
  1. package/dist/cjs/components/FileManager/FileActions.js +136 -0
  2. package/dist/cjs/components/FileManager/FileActions.js.map +1 -0
  3. package/dist/cjs/components/FileManager/FileContainer.js +51 -0
  4. package/dist/cjs/components/FileManager/FileContainer.js.map +1 -0
  5. package/dist/cjs/components/FileManager/FileCreatedDate.js +26 -0
  6. package/dist/cjs/components/FileManager/FileCreatedDate.js.map +1 -0
  7. package/dist/cjs/components/FileManager/FileManager.js +68 -0
  8. package/dist/cjs/components/FileManager/FileManager.js.map +1 -0
  9. package/dist/cjs/components/FileManager/FileManagerDragLayer.js +67 -0
  10. package/dist/cjs/components/FileManager/FileManagerDragLayer.js.map +1 -0
  11. package/dist/cjs/components/FileManager/FileManagerProvider.js +41 -0
  12. package/dist/cjs/components/FileManager/FileManagerProvider.js.map +1 -0
  13. package/dist/cjs/components/FileManager/FileName.js +28 -0
  14. package/dist/cjs/components/FileManager/FileName.js.map +1 -0
  15. package/dist/cjs/components/FileManager/FileSectionAlert.js +181 -0
  16. package/dist/cjs/components/FileManager/FileSectionAlert.js.map +1 -0
  17. package/dist/cjs/components/FileManager/FileTypeIcon.js +24 -0
  18. package/dist/cjs/components/FileManager/FileTypeIcon.js.map +1 -0
  19. package/dist/cjs/components/FileManager/FileUploader.js +100 -0
  20. package/dist/cjs/components/FileManager/FileUploader.js.map +1 -0
  21. package/dist/cjs/components/FileManager/InlineFilesSection.js +158 -0
  22. package/dist/cjs/components/FileManager/InlineFilesSection.js.map +1 -0
  23. package/dist/cjs/components/FileManager/OtherFilesSection.js +109 -0
  24. package/dist/cjs/components/FileManager/OtherFilesSection.js.map +1 -0
  25. package/dist/cjs/components/FileManager/SupplementsSection.js +131 -0
  26. package/dist/cjs/components/FileManager/SupplementsSection.js.map +1 -0
  27. package/dist/cjs/components/projects/CommentList.js +144 -0
  28. package/dist/cjs/components/projects/CommentList.js.map +1 -0
  29. package/dist/cjs/components/projects/CommentListPatterns.js +112 -0
  30. package/dist/cjs/components/projects/CommentListPatterns.js.map +1 -0
  31. package/dist/cjs/components/projects/CommentsTab.js +41 -0
  32. package/dist/cjs/components/projects/CommentsTab.js.map +1 -0
  33. package/dist/cjs/components/projects/EditorElement.js +9 -12
  34. package/dist/cjs/components/projects/EditorElement.js.map +1 -1
  35. package/dist/cjs/components/projects/Inspector.js +2 -3
  36. package/dist/cjs/components/projects/Inspector.js.map +1 -1
  37. package/dist/cjs/hooks/use-comment-manager.js +103 -0
  38. package/dist/cjs/hooks/use-comment-manager.js.map +1 -0
  39. package/dist/cjs/lib/attrs-change-filter.js.map +1 -1
  40. package/dist/cjs/postgres-data/PsSource.js +11 -0
  41. package/dist/cjs/postgres-data/PsSource.js.map +1 -1
  42. package/dist/cjs/store/Store.js.map +1 -1
  43. package/dist/es/components/FileManager/FileActions.js +106 -0
  44. package/dist/es/components/FileManager/FileActions.js.map +1 -0
  45. package/dist/es/components/FileManager/FileContainer.js +45 -0
  46. package/dist/es/components/FileManager/FileContainer.js.map +1 -0
  47. package/dist/es/components/FileManager/FileCreatedDate.js +19 -0
  48. package/dist/es/components/FileManager/FileCreatedDate.js.map +1 -0
  49. package/dist/es/components/FileManager/FileManager.js +61 -0
  50. package/dist/es/components/FileManager/FileManager.js.map +1 -0
  51. package/dist/es/components/FileManager/FileManagerDragLayer.js +60 -0
  52. package/dist/es/components/FileManager/FileManagerDragLayer.js.map +1 -0
  53. package/dist/es/components/FileManager/FileManagerProvider.js +14 -0
  54. package/dist/es/components/FileManager/FileManagerProvider.js.map +1 -0
  55. package/dist/es/components/FileManager/FileName.js +21 -0
  56. package/dist/es/components/FileManager/FileName.js.map +1 -0
  57. package/dist/es/components/FileManager/FileSectionAlert.js +174 -0
  58. package/dist/es/components/FileManager/FileSectionAlert.js.map +1 -0
  59. package/dist/es/components/FileManager/FileTypeIcon.js +17 -0
  60. package/dist/es/components/FileManager/FileTypeIcon.js.map +1 -0
  61. package/dist/es/components/FileManager/FileUploader.js +73 -0
  62. package/dist/es/components/FileManager/FileUploader.js.map +1 -0
  63. package/dist/es/components/FileManager/InlineFilesSection.js +128 -0
  64. package/dist/es/components/FileManager/InlineFilesSection.js.map +1 -0
  65. package/dist/es/components/FileManager/OtherFilesSection.js +82 -0
  66. package/dist/es/components/FileManager/OtherFilesSection.js.map +1 -0
  67. package/dist/es/components/FileManager/SupplementsSection.js +104 -0
  68. package/dist/es/components/FileManager/SupplementsSection.js.map +1 -0
  69. package/dist/es/components/projects/CommentList.js +114 -0
  70. package/dist/es/components/projects/CommentList.js.map +1 -0
  71. package/dist/es/components/projects/CommentListPatterns.js +81 -0
  72. package/dist/es/components/projects/CommentListPatterns.js.map +1 -0
  73. package/dist/es/components/projects/CommentsTab.js +34 -0
  74. package/dist/es/components/projects/CommentsTab.js.map +1 -0
  75. package/dist/es/components/projects/EditorElement.js +10 -13
  76. package/dist/es/components/projects/EditorElement.js.map +1 -1
  77. package/dist/es/components/projects/Inspector.js +3 -4
  78. package/dist/es/components/projects/Inspector.js.map +1 -1
  79. package/dist/es/hooks/use-comment-manager.js +99 -0
  80. package/dist/es/hooks/use-comment-manager.js.map +1 -0
  81. package/dist/es/lib/attrs-change-filter.js.map +1 -1
  82. package/dist/es/postgres-data/PsSource.js +11 -0
  83. package/dist/es/postgres-data/PsSource.js.map +1 -1
  84. package/dist/es/store/Store.js.map +1 -1
  85. package/dist/types/EditorApp.d.ts +1 -1
  86. package/dist/types/components/FileManager/FileActions.d.ts +21 -0
  87. package/dist/types/components/FileManager/FileContainer.d.ts +1 -0
  88. package/dist/types/components/FileManager/FileCreatedDate.d.ts +19 -0
  89. package/dist/types/components/FileManager/FileManager.d.ts +23 -0
  90. package/dist/types/components/FileManager/FileManagerDragLayer.d.ts +13 -0
  91. package/dist/types/components/FileManager/FileManagerProvider.d.ts +30 -0
  92. package/dist/types/components/FileManager/FileName.d.ts +17 -0
  93. package/dist/types/components/FileManager/FileSectionAlert.d.ts +13 -0
  94. package/dist/types/components/FileManager/FileTypeIcon.d.ts +20 -0
  95. package/dist/types/components/FileManager/FileUploader.d.ts +19 -0
  96. package/dist/types/components/FileManager/InlineFilesSection.d.ts +17 -0
  97. package/dist/types/components/FileManager/OtherFilesSection.d.ts +19 -0
  98. package/dist/types/components/FileManager/SupplementsSection.d.ts +20 -0
  99. package/dist/types/components/projects/CommentList.d.ts +13 -0
  100. package/dist/types/components/projects/CommentListPatterns.d.ts +34 -0
  101. package/dist/types/components/projects/CommentsTab.d.ts +7 -0
  102. package/dist/types/hooks/use-comment-manager.d.ts +31 -0
  103. package/dist/types/lib/attrs-change-filter.d.ts +1 -1
  104. package/dist/types/postgres-data/PsSource.d.ts +1 -1
  105. package/dist/types/store/DataSourceStrategy.d.ts +1 -1
  106. package/dist/types/store/Store.d.ts +1 -2
  107. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"attrs-change-filter.js","sourceRoot":"","sources":["../../../src/lib/attrs-change-filter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAUH,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAG5D,OAAO,EACL,cAAc,EACd,oBAAoB,GAErB,MAAM,wBAAwB,CAAA;AAE/B;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,aAA6B,EAC7B,WAA2B,EAC3B,KAAuB,EACvB,YAA2B,EAC3B,UAA8B,EAC9B,SAAqB,EACrB,EAAE;IACF,qEAAqE;IACrE,OAAO;QACL,QAAQ,EAAE,kBAAkB,CAC1B,aAAa,EACb,WAAW,CAAC,QAAQ,EACpB,KAAK,EACL,YAAY,EACZ,UAAU,EACV,SAAS,CACV;QACD,QAAQ,EAAE,kBAAkB,CAC1B,aAAa,EACb,WAAW,CAAC,QAAQ,EACpB,KAAK,EACL,YAAY,EACZ,UAAU,EACV,SAAS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,GAAG,CACJ;iBACF,CAAC,CAAA;YACJ,KAAK,gBAAgB;gBACnB,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG;oBAC3B,KAAK,EAAE,iBAAiB;oBACxB,KAAK,EAAE,KAAe;iBACvB,CAAC,CAAA;YACJ,KAAK,iBAAiB;gBACpB,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG;oBAC3B,KAAK,EAAE,sBAAsB;oBAC7B,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;iBAC5B,CAAC,CAAA;YACJ,KAAK,cAAc;gBACjB,aAAa,CAAC,GAAG,CAAC,GAAG;oBACnB,KAAK,EAAE,gBAAgB;oBACvB,KAAK,EAAE,KAAe;iBACvB,CAAA;gBACD,OAAM;YACR,KAAK,aAAa;gBAChB,aAAa,CAAC,GAAG,CAAC,GAAG;oBACnB,KAAK,EAAE,kBAAkB;oBACzB,KAAK,EAAE,KAAe;iBACvB,CAAA;gBACD,OAAM;YAER;gBACE,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG;oBAC3B,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;oBACpB,KAAK,EAAE,KAAe;iBACvB,CAAC,CAAA;SACL;IACH,CAAC,CAAC,CAAA;IAEJ,OAAO,aAAa,CAAA;AACtB,CAAC,CAAA"}
@@ -1,3 +1,14 @@
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
+ */
1
12
  import Api from './Api';
2
13
  import { buildData } from './buildData';
3
14
  import { buildUtilities } from './buildUtilities';
@@ -1 +1 @@
1
- {"version":3,"file":"PsSource.js","sourceRoot":"","sources":["../../../src/postgres-data/PsSource.ts"],"names":[],"mappings":"AAeA,OAAO,GAAG,MAAM,OAAO,CAAA;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,MAAM,CAAC,OAAO,OAAO,QAAQ;IAM3B,YAAY,KAAuB;QASnC,gBAAW,GAAG,CAAC,KAAqB,EAAE,EAAE;YACtC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC,KAAK,CAAC,CAAA;QACzD,CAAC,CAAA;QAED,UAAK,GAAc,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;YACjD,IAAI,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,SAAS,EAAE;gBACnC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;aACnC;YACD,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAA;YACjC,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY,CAAA;YACvC,IAAI,YAAY,IAAI,SAAS,EAAE;gBAC7B,IAAI,CAAC,IAAI,GAAG,MAAM,SAAS,CAAC,SAAS,EAAE,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;gBAC9D,IAAI,CAAC,SAAS,GAAG,cAAc,CAC7B,SAAS,EACT,YAAY,EACZ,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EACf,QAAQ,EACR,IAAI,CAA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AO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC,CAAA;SACrE;QACD,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;QACjB,IAAI,CAAC,KAAK,GAAG,EAAW,CAAA;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,EAAE,CAAA;IACxB,CAAC;CACF"}
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
- import { FileAttachment, FileManagement } from '@manuscripts/style-guide';
12
+ import { FileAttachment, FileManagement } from '@manuscripts/body-editor';
13
13
  import React, { MutableRefObject } from 'react';
14
14
  import { state } from './store';
15
15
  export type AppState = {
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { FileSectionType, Move, Replace } from './FileManager';
3
+ /**
4
+ * This component represents the drop-down list action for each file item.
5
+ */
6
+ export declare const FileActions: React.FC<{
7
+ sectionType: FileSectionType;
8
+ onDownload?: () => void;
9
+ onReplace?: Replace;
10
+ onDetach?: () => void;
11
+ move?: Move;
12
+ className?: string;
13
+ }>;
14
+ export declare const ActionsIcon: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
15
+ export declare const FileActionDropdownList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
16
+ direction?: "right" | "left" | undefined;
17
+ width?: number | undefined;
18
+ height?: number | undefined;
19
+ top?: number | undefined;
20
+ }, never>;
21
+ export declare const FileAction: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1 @@
1
+ export declare const FileContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,19 @@
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 { FileAttachment } from '@manuscripts/body-editor';
13
+ import React from 'react';
14
+ export declare const FileCreatedDate: React.FC<{
15
+ file: FileAttachment;
16
+ className?: string;
17
+ }>;
18
+ export declare const FileDateContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
+ export declare const FileDate: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ export declare enum FileSectionType {
3
+ Inline = "Inline files",
4
+ Supplements = "Supplements",
5
+ OtherFile = "Other files"
6
+ }
7
+ export type Replace = (file: File) => Promise<void>;
8
+ export type Move = {
9
+ sectionType: FileSectionType;
10
+ handler: () => void;
11
+ };
12
+ /**
13
+ * This is the main component of the file handling
14
+ * that should be called in the inspector,
15
+ * and it expects to receive an array of submission attachments
16
+ * and use Drag-and-Drop technique for manuscript-frontend inspector.
17
+ *
18
+ * File section component consist of three types of files which is:
19
+ * 1- Inline files.
20
+ * 2- Supplemental files.
21
+ * 3- Other files.
22
+ */
23
+ export declare const FileManager: React.FC;
@@ -0,0 +1,13 @@
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 React from 'react';
13
+ export declare const FileManagerDragLayer: React.FC;
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * © 2023 Atypon Systems LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Model } from '@manuscripts/json-schema';
17
+ import React from 'react';
18
+ import { DeleteModel, FileManagement, SaveModel } from './FileManager';
19
+ export declare const FileManagerContext: React.Context<{
20
+ saveModel: SaveModel;
21
+ deleteModel: DeleteModel;
22
+ modelMap: Map<string, Model>;
23
+ fileManagement: FileManagement;
24
+ }>;
25
+ export declare const FileManagerProvider: React.FC<{
26
+ saveModel: SaveModel;
27
+ deleteModel: DeleteModel;
28
+ modelMap: Map<string, Model>;
29
+ fileManagement: FileManagement;
30
+ }>;
@@ -0,0 +1,17 @@
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 { FileAttachment } from '@manuscripts/body-editor';
13
+ import React from 'react';
14
+ export declare const FileName: React.FC<{
15
+ file: FileAttachment;
16
+ }>;
17
+ export declare const FileNameText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export declare enum FileSectionAlertType {
3
+ NONE = 0,
4
+ UPLOAD_IN_PROGRESS = 1,
5
+ UPLOAD_SUCCESSFUL = 2,
6
+ MOVE_SUCCESSFUL = 3
7
+ }
8
+ export declare const FileSectionAlert: React.FC<{
9
+ alert: {
10
+ type: FileSectionAlertType;
11
+ message: string;
12
+ };
13
+ }>;
@@ -0,0 +1,20 @@
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 { FileAttachment } from '@manuscripts/body-editor';
13
+ import React from 'react';
14
+ /**
15
+ * Each file item has an icon to represent besides the file info based on the file extension,
16
+ * in case the file type is an image or video then the icon should be the preview image or video thumbnail.
17
+ */
18
+ export declare const FileTypeIcon: React.FC<{
19
+ file: FileAttachment;
20
+ }>;
@@ -0,0 +1,19 @@
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 React from 'react';
13
+ export interface FileUploaderProps {
14
+ onUpload: (file: File) => void;
15
+ }
16
+ /**
17
+ * This component will show the drag or upload file area
18
+ */
19
+ export declare const FileUploader: React.FC<FileUploaderProps>;
@@ -0,0 +1,17 @@
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 { ElementFiles } from '@manuscripts/body-editor';
13
+ import React from 'react';
14
+ export type InlineFilesSectionProps = {
15
+ elements: ElementFiles[];
16
+ };
17
+ export declare const InlineFilesSection: React.FC<InlineFilesSectionProps>;
@@ -0,0 +1,19 @@
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 { FileAttachment } from '@manuscripts/body-editor';
13
+ import React from 'react';
14
+ /**
15
+ * This component represents the other files in the file section.
16
+ */
17
+ export declare const OtherFilesSection: React.FC<{
18
+ files: FileAttachment[];
19
+ }>;
@@ -0,0 +1,20 @@
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 { NodeFile } from '@manuscripts/body-editor';
13
+ import React from 'react';
14
+ export type SupplementsSectionProps = {
15
+ supplements: NodeFile[];
16
+ };
17
+ /**
18
+ * This component represents the other files in the file section.
19
+ */
20
+ export declare const SupplementsSection: React.FC<SupplementsSectionProps>;
@@ -0,0 +1,13 @@
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 CommentList: React.FC;
@@ -0,0 +1,34 @@
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 Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
14
+ export declare const Thread: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
15
+ export declare const Reply: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const PlaceholderContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
+ export declare const PlaceholderMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
18
+ export declare const ActionHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
+ export declare const LabelText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
20
+ export declare const Checkbox: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
21
+ disabled?: boolean | undefined;
22
+ }, never>;
23
+ export declare enum CommentFilter {
24
+ ALL = 0,
25
+ UNRESOLVED = 1
26
+ }
27
+ interface SeeResolvedCheckboxProps {
28
+ isEmpty: boolean;
29
+ commentFilter: CommentFilter;
30
+ setCommentFilter: (filter: CommentFilter) => void;
31
+ }
32
+ export declare const SeeResolvedCheckbox: React.FC<SeeResolvedCheckboxProps>;
33
+ export declare const EmptyCommentsListPlaceholder: React.FC;
34
+ export {};
@@ -0,0 +1,7 @@
1
+ import { ContentNodeWithPos } from 'prosemirror-utils';
2
+ import React from 'react';
3
+ import { useCreateEditor } from '../../hooks/use-create-editor';
4
+ export declare const CommentsTab: React.FC<{
5
+ selected?: ContentNodeWithPos | null;
6
+ editor: ReturnType<typeof useCreateEditor>;
7
+ }>;
@@ -0,0 +1,31 @@
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) 2023 Atypon Systems LLC. All Rights Reserved.
11
+ */
12
+ import { CommentAnnotation } from '@manuscripts/json-schema';
13
+ import { CommentData, CommentType } from '@manuscripts/style-guide';
14
+ /**
15
+ * Return CRUD callbacks for the comment_list
16
+ */
17
+ declare const _default: () => {
18
+ comments: [string, CommentData<CommentType>[]][];
19
+ saveComment: (comment: CommentType) => Promise<CommentType>;
20
+ setResolved: (comment: any) => Promise<CommentAnnotation>;
21
+ createReply: (targetId?: string) => void;
22
+ deleteComment: (id: string) => void;
23
+ };
24
+ export default _default;
25
+ /**
26
+ * Return labels of block comment as we don't store them in DB, will build them based on:
27
+ * * element order for(figure, table) like **figure 1**
28
+ * * content of the element like citation
29
+ * * content one of it's children like section will use it's title(TODO)
30
+ */
31
+ export declare const useCommentLabel: () => Map<string, string>;
@@ -9,8 +9,8 @@
9
9
  *
10
10
  * All portions of the code written by Atypon Systems LLC are Copyright (c) 2023 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
+ import { FileAttachment } from '@manuscripts/body-editor';
12
13
  import { Affiliation, BibliographyItem, Footnote } from '@manuscripts/json-schema';
13
- import { FileAttachment } from '@manuscripts/style-guide';
14
14
  import { NodeAttrChange } from '@manuscripts/track-changes-plugin';
15
15
  import { ManuscriptNode } from '@manuscripts/transform';
16
16
  /**
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
- import { FileAttachment } from '@manuscripts/style-guide';
12
+ import { FileAttachment } from '@manuscripts/body-editor';
13
13
  import { builderFn, state, stateSetter } from '../store';
14
14
  import { StoreDataSourceStrategy } from '../store/DataSourceStrategy';
15
15
  import Api from './Api';
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
- import { FileAttachment, FileManagement } from '@manuscripts/style-guide';
12
+ import { FileAttachment, FileManagement } from '@manuscripts/body-editor';
13
13
  import { builderFn, GenericStore, state } from '.';
14
14
  export type stateSetter = (setState: (currentState: state) => state) => void;
15
15
  export interface StoreDataSourceStrategy {
@@ -9,9 +9,8 @@
9
9
  *
10
10
  * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
11
  */
12
- import { CommentKey } from '@manuscripts/body-editor';
12
+ import { CommentKey, FileAttachment, FileManagement } from '@manuscripts/body-editor';
13
13
  import { Manuscript, Model, Project, SectionCategory, UserProfile } from '@manuscripts/json-schema';
14
- import { FileAttachment, FileManagement } from '@manuscripts/style-guide';
15
14
  import { TrackChangesState } from '@manuscripts/track-changes-plugin';
16
15
  import { Build, ManuscriptEditorView, ManuscriptNode } from '@manuscripts/transform';
17
16
  import { useCreateEditor } from '../hooks/use-create-editor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/article-editor",
3
- "version": "1.16.18",
3
+ "version": "1.16.19-LEAN-3771.1",
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",
@@ -35,10 +35,10 @@
35
35
  "@fontsource/lato": "^4.5.10",
36
36
  "@fontsource/pt-sans": "^4.5.11",
37
37
  "@fontsource/pt-serif": "^4.5.11",
38
- "@manuscripts/body-editor": "1.13.13",
38
+ "@manuscripts/body-editor": "1.13.14-LEAN-3771.1",
39
39
  "@manuscripts/json-schema": "2.2.10",
40
40
  "@manuscripts/library": "1.3.10",
41
- "@manuscripts/style-guide": "1.13.10",
41
+ "@manuscripts/style-guide": "1.13.11-LEAN-3771.0",
42
42
  "@manuscripts/track-changes-plugin": "1.7.14",
43
43
  "@manuscripts/transform": "2.3.17",
44
44
  "@microsoft/fetch-event-source": "^2.0.1",
@@ -109,4 +109,4 @@
109
109
  "resolutions": {
110
110
  "@types/react": "^17.0.2"
111
111
  }
112
- }
112
+ }