@manuscripts/article-editor 1.8.7 → 1.9.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 (518) hide show
  1. package/dist/cjs/src/EditorApp.js +0 -18
  2. package/dist/cjs/src/EditorApp.js.map +1 -1
  3. package/dist/cjs/src/components/InspectorSection.js +2 -4
  4. package/dist/cjs/src/components/InspectorSection.js.map +1 -1
  5. package/dist/cjs/src/components/inspector/SnapshotsDropdown.js +61 -14
  6. package/dist/cjs/src/components/inspector/SnapshotsDropdown.js.map +1 -1
  7. package/dist/cjs/src/components/projects/EditorElement.js +4 -3
  8. package/dist/cjs/src/components/projects/EditorElement.js.map +1 -1
  9. package/dist/cjs/src/components/projects/ManuscriptPageContainer.js +12 -17
  10. package/dist/cjs/src/components/projects/ManuscriptPageContainer.js.map +1 -1
  11. package/dist/cjs/src/components/projects/TrackChangesStyles.js +4 -3
  12. package/dist/cjs/src/components/projects/TrackChangesStyles.js.map +1 -1
  13. package/dist/cjs/src/components/track-changes/TrackChangesPanel.js +5 -20
  14. package/dist/cjs/src/components/track-changes/TrackChangesPanel.js.map +1 -1
  15. package/dist/cjs/src/components/track-changes/suggestion-list/Suggestion.js +35 -17
  16. package/dist/cjs/src/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
  17. package/dist/cjs/src/components/track-changes/suggestion-list/SuggestionSnippet.js +14 -80
  18. package/dist/cjs/src/components/track-changes/suggestion-list/SuggestionSnippet.js.map +1 -1
  19. package/dist/cjs/src/hooks/use-create-editor.js +3 -6
  20. package/dist/cjs/src/hooks/use-create-editor.js.map +1 -1
  21. package/dist/cjs/src/hooks/use-handle-snapshot.js +32 -16
  22. package/dist/cjs/src/hooks/use-handle-snapshot.js.map +1 -1
  23. package/dist/cjs/src/hooks/use-track-attrs-popper.js +13 -5
  24. package/dist/cjs/src/hooks/use-track-attrs-popper.js.map +1 -1
  25. package/dist/cjs/src/postgres-data/Api.js +12 -56
  26. package/dist/cjs/src/postgres-data/Api.js.map +1 -1
  27. package/dist/cjs/src/postgres-data/buildData.js +0 -2
  28. package/dist/cjs/src/postgres-data/buildData.js.map +1 -1
  29. package/dist/cjs/src/postgres-data/buildUtilities.js +2 -2
  30. package/dist/cjs/src/postgres-data/buildUtilities.js.map +1 -1
  31. package/dist/cjs/src/postgres-data/savingUtilities.js +62 -1
  32. package/dist/cjs/src/postgres-data/savingUtilities.js.map +1 -1
  33. package/dist/cjs/src/quarterback/QuarterBackDataSource.js +7 -1
  34. package/dist/cjs/src/quarterback/QuarterBackDataSource.js.map +1 -1
  35. package/dist/cjs/src/quarterback/QuarterbackStepsExchanger.js +44 -0
  36. package/dist/cjs/src/quarterback/QuarterbackStepsExchanger.js.map +1 -1
  37. package/dist/cjs/src/quarterback/api/document.js +8 -8
  38. package/dist/cjs/src/quarterback/api/document.js.map +1 -1
  39. package/dist/cjs/src/quarterback/api/methods.js +66 -26
  40. package/dist/cjs/src/quarterback/api/methods.js.map +1 -1
  41. package/dist/cjs/src/quarterback/useLoadDoc.js +34 -10
  42. package/dist/cjs/src/quarterback/useLoadDoc.js.map +1 -1
  43. package/dist/cjs/src/store/Store.js.map +1 -1
  44. package/dist/cjs/src/theme/colors.js +3 -2
  45. package/dist/cjs/src/theme/colors.js.map +1 -1
  46. package/dist/cjs/src/theme/theme.js +10 -0
  47. package/dist/cjs/src/theme/theme.js.map +1 -1
  48. package/dist/es/src/EditorApp.js +1 -19
  49. package/dist/es/src/EditorApp.js.map +1 -1
  50. package/dist/es/src/components/InspectorSection.js +2 -4
  51. package/dist/es/src/components/InspectorSection.js.map +1 -1
  52. package/dist/es/src/components/inspector/SnapshotsDropdown.js +62 -15
  53. package/dist/es/src/components/inspector/SnapshotsDropdown.js.map +1 -1
  54. package/dist/es/src/components/projects/EditorElement.js +4 -3
  55. package/dist/es/src/components/projects/EditorElement.js.map +1 -1
  56. package/dist/es/src/components/projects/ManuscriptPageContainer.js +13 -18
  57. package/dist/es/src/components/projects/ManuscriptPageContainer.js.map +1 -1
  58. package/dist/es/src/components/projects/TrackChangesStyles.js +4 -3
  59. package/dist/es/src/components/projects/TrackChangesStyles.js.map +1 -1
  60. package/dist/es/src/components/track-changes/TrackChangesPanel.js +5 -20
  61. package/dist/es/src/components/track-changes/TrackChangesPanel.js.map +1 -1
  62. package/dist/es/src/components/track-changes/suggestion-list/Suggestion.js +36 -18
  63. package/dist/es/src/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
  64. package/dist/es/src/components/track-changes/suggestion-list/SuggestionSnippet.js +13 -79
  65. package/dist/es/src/components/track-changes/suggestion-list/SuggestionSnippet.js.map +1 -1
  66. package/dist/es/src/hooks/use-create-editor.js +2 -5
  67. package/dist/es/src/hooks/use-create-editor.js.map +1 -1
  68. package/dist/es/src/hooks/use-handle-snapshot.js +32 -16
  69. package/dist/es/src/hooks/use-handle-snapshot.js.map +1 -1
  70. package/dist/es/src/hooks/use-track-attrs-popper.js +11 -4
  71. package/dist/es/src/hooks/use-track-attrs-popper.js.map +1 -1
  72. package/dist/es/src/postgres-data/Api.js +12 -56
  73. package/dist/es/src/postgres-data/Api.js.map +1 -1
  74. package/dist/es/src/postgres-data/buildData.js +0 -2
  75. package/dist/es/src/postgres-data/buildData.js.map +1 -1
  76. package/dist/es/src/postgres-data/buildUtilities.js +2 -2
  77. package/dist/es/src/postgres-data/buildUtilities.js.map +1 -1
  78. package/dist/es/src/postgres-data/savingUtilities.js +57 -0
  79. package/dist/es/src/postgres-data/savingUtilities.js.map +1 -1
  80. package/dist/es/src/quarterback/QuarterBackDataSource.js +7 -1
  81. package/dist/es/src/quarterback/QuarterBackDataSource.js.map +1 -1
  82. package/dist/es/src/quarterback/QuarterbackStepsExchanger.js +19 -0
  83. package/dist/es/src/quarterback/QuarterbackStepsExchanger.js.map +1 -1
  84. package/dist/es/src/quarterback/api/document.js +1 -1
  85. package/dist/es/src/quarterback/api/document.js.map +1 -1
  86. package/dist/es/src/quarterback/api/methods.js +64 -25
  87. package/dist/es/src/quarterback/api/methods.js.map +1 -1
  88. package/dist/es/src/quarterback/useLoadDoc.js +11 -10
  89. package/dist/es/src/quarterback/useLoadDoc.js.map +1 -1
  90. package/dist/es/src/store/Store.js.map +1 -1
  91. package/dist/es/src/theme/colors.js +2 -1
  92. package/dist/es/src/theme/colors.js.map +1 -1
  93. package/dist/es/src/theme/theme.js +10 -0
  94. package/dist/es/src/theme/theme.js.map +1 -1
  95. package/dist/types/src/components/track-changes/suggestion-list/SuggestionSnippet.d.ts +11 -2
  96. package/dist/types/src/hooks/use-handle-snapshot.d.ts +2 -1
  97. package/dist/types/src/hooks/use-track-attrs-popper.d.ts +2 -0
  98. package/dist/types/src/postgres-data/Api.d.ts +4 -14
  99. package/dist/types/src/postgres-data/savingUtilities.d.ts +11 -0
  100. package/dist/types/src/quarterback/QuarterBackDataSource.d.ts +2 -0
  101. package/dist/types/src/quarterback/QuarterbackStepsExchanger.d.ts +1 -0
  102. package/dist/types/src/quarterback/api/document.d.ts +7 -19
  103. package/dist/types/src/quarterback/api/methods.d.ts +10 -8
  104. package/dist/types/src/quarterback/types.d.ts +14 -0
  105. package/dist/types/src/quarterback/useLoadDoc.d.ts +2 -0
  106. package/dist/types/src/store/Store.d.ts +8 -1
  107. package/dist/types/src/theme/colors.d.ts +2 -0
  108. package/package.json +5 -7
  109. package/dist/cjs/src/components/Support.js +0 -129
  110. package/dist/cjs/src/components/Support.js.map +0 -1
  111. package/dist/cjs/src/components/inspector/ElementStyleInspector.js +0 -14
  112. package/dist/cjs/src/components/inspector/ElementStyleInspector.js.map +0 -1
  113. package/dist/cjs/src/components/inspector/StatisticsInspector.js +0 -39
  114. package/dist/cjs/src/components/inspector/StatisticsInspector.js.map +0 -1
  115. package/dist/cjs/src/components/library/CitationModel.js +0 -210
  116. package/dist/cjs/src/components/library/CitationModel.js.map +0 -1
  117. package/dist/cjs/src/components/library/CitationProperties.js +0 -67
  118. package/dist/cjs/src/components/library/CitationProperties.js.map +0 -1
  119. package/dist/cjs/src/components/library/ExternalSearch.js +0 -156
  120. package/dist/cjs/src/components/library/ExternalSearch.js.map +0 -1
  121. package/dist/cjs/src/components/library/GlobalLibrary.js +0 -133
  122. package/dist/cjs/src/components/library/GlobalLibrary.js.map +0 -1
  123. package/dist/cjs/src/components/library/LibraryCollectionCategories.js +0 -53
  124. package/dist/cjs/src/components/library/LibraryCollectionCategories.js.map +0 -1
  125. package/dist/cjs/src/components/library/LibraryForm.js +0 -437
  126. package/dist/cjs/src/components/library/LibraryForm.js.map +0 -1
  127. package/dist/cjs/src/components/library/LibraryItems.js +0 -116
  128. package/dist/cjs/src/components/library/LibraryItems.js.map +0 -1
  129. package/dist/cjs/src/components/library/LibraryPageContainer.js +0 -107
  130. package/dist/cjs/src/components/library/LibraryPageContainer.js.map +0 -1
  131. package/dist/cjs/src/components/library/LibrarySidebar.js +0 -172
  132. package/dist/cjs/src/components/library/LibrarySidebar.js.map +0 -1
  133. package/dist/cjs/src/components/library/Messages.js +0 -25
  134. package/dist/cjs/src/components/library/Messages.js.map +0 -1
  135. package/dist/cjs/src/components/library/ProjectLibrary.js +0 -96
  136. package/dist/cjs/src/components/library/ProjectLibrary.js.map +0 -1
  137. package/dist/cjs/src/components/menu/ApplicationMenus.js +0 -79
  138. package/dist/cjs/src/components/menu/ApplicationMenus.js.map +0 -1
  139. package/dist/cjs/src/components/metadata/HeaderFigure.js +0 -147
  140. package/dist/cjs/src/components/metadata/HeaderFigure.js.map +0 -1
  141. package/dist/cjs/src/components/metadata/Metadata.js +0 -103
  142. package/dist/cjs/src/components/metadata/Metadata.js.map +0 -1
  143. package/dist/cjs/src/components/metadata/MetadataContainer.js +0 -203
  144. package/dist/cjs/src/components/metadata/MetadataContainer.js.map +0 -1
  145. package/dist/cjs/src/components/metadata/TitleFieldContainer.js +0 -56
  146. package/dist/cjs/src/components/metadata/TitleFieldContainer.js.map +0 -1
  147. package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js +0 -439
  148. package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
  149. package/dist/cjs/src/components/projects/KeywordsInput.js +0 -80
  150. package/dist/cjs/src/components/projects/KeywordsInput.js.map +0 -1
  151. package/dist/cjs/src/components/projects/ListToolbarItemStyles.js +0 -85
  152. package/dist/cjs/src/components/projects/ListToolbarItemStyles.js.map +0 -1
  153. package/dist/cjs/src/components/projects/ManuscriptMenus.js +0 -76
  154. package/dist/cjs/src/components/projects/ManuscriptMenus.js.map +0 -1
  155. package/dist/cjs/src/components/projects/ManuscriptToolbar.js +0 -111
  156. package/dist/cjs/src/components/projects/ManuscriptToolbar.js.map +0 -1
  157. package/dist/cjs/src/components/projects/OrderedListToolbarItem.js +0 -190
  158. package/dist/cjs/src/components/projects/OrderedListToolbarItem.js.map +0 -1
  159. package/dist/cjs/src/components/projects/SortableManuscript.js +0 -102
  160. package/dist/cjs/src/components/projects/SortableManuscript.js.map +0 -1
  161. package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -102
  162. package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
  163. package/dist/cjs/src/components/projects/lean-workflow/CommentList.js +0 -289
  164. package/dist/cjs/src/components/projects/lean-workflow/CommentList.js.map +0 -1
  165. package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js +0 -41
  166. package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
  167. package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js +0 -66
  168. package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
  169. package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js +0 -252
  170. package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
  171. package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js +0 -150
  172. package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
  173. package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -187
  174. package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
  175. package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js +0 -53
  176. package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
  177. package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -106
  178. package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
  179. package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -27
  180. package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
  181. package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -29
  182. package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
  183. package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -23
  184. package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
  185. package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -23
  186. package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
  187. package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js +0 -38
  188. package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
  189. package/dist/cjs/src/components/requirements/RequirementContainer.js +0 -58
  190. package/dist/cjs/src/components/requirements/RequirementContainer.js.map +0 -1
  191. package/dist/cjs/src/components/requirements/RequirementsData.js +0 -129
  192. package/dist/cjs/src/components/requirements/RequirementsData.js.map +0 -1
  193. package/dist/cjs/src/components/requirements/RequirementsIcons.js +0 -34
  194. package/dist/cjs/src/components/requirements/RequirementsIcons.js.map +0 -1
  195. package/dist/cjs/src/components/requirements/RequirementsInspector.js +0 -150
  196. package/dist/cjs/src/components/requirements/RequirementsInspector.js.map +0 -1
  197. package/dist/cjs/src/components/requirements/RequirementsList.js +0 -84
  198. package/dist/cjs/src/components/requirements/RequirementsList.js.map +0 -1
  199. package/dist/cjs/src/components/requirements/SectionValidations.js +0 -47
  200. package/dist/cjs/src/components/requirements/SectionValidations.js.map +0 -1
  201. package/dist/cjs/src/components/toolbar/ListToolbarItemStyles.js +0 -85
  202. package/dist/cjs/src/components/toolbar/ListToolbarItemStyles.js.map +0 -1
  203. package/dist/cjs/src/components/toolbar/ManuscriptToolbar.js +0 -111
  204. package/dist/cjs/src/components/toolbar/ManuscriptToolbar.js.map +0 -1
  205. package/dist/cjs/src/components/toolbar/OrderdListToolbarItem.js +0 -190
  206. package/dist/cjs/src/components/toolbar/OrderdListToolbarItem.js.map +0 -1
  207. package/dist/cjs/src/components/track-changes/useEditorStore.js +0 -60
  208. package/dist/cjs/src/components/track-changes/useEditorStore.js.map +0 -1
  209. package/dist/cjs/src/hooks/use-requirements-validation.js +0 -87
  210. package/dist/cjs/src/hooks/use-requirements-validation.js.map +0 -1
  211. package/dist/cjs/src/lib/apollo.js +0 -41
  212. package/dist/cjs/src/lib/apollo.js.map +0 -1
  213. package/dist/cjs/src/lib/lean-workflow-gql.js +0 -40
  214. package/dist/cjs/src/lib/lean-workflow-gql.js.map +0 -1
  215. package/dist/cjs/src/lib/replace-attachments-ids.js +0 -49
  216. package/dist/cjs/src/lib/replace-attachments-ids.js.map +0 -1
  217. package/dist/cjs/src/postgres-data/Bibilo.js +0 -33
  218. package/dist/cjs/src/postgres-data/Bibilo.js.map +0 -1
  219. package/dist/cjs/src/quarterback/api/auth.js +0 -7
  220. package/dist/cjs/src/quarterback/api/auth.js.map +0 -1
  221. package/dist/cjs/src/quarterback/api/comment.js +0 -13
  222. package/dist/cjs/src/quarterback/api/comment.js.map +0 -1
  223. package/dist/cjs/src/quarterback/api/methodsV2.js +0 -124
  224. package/dist/cjs/src/quarterback/api/methodsV2.js.map +0 -1
  225. package/dist/cjs/src/quarterback/api/snapshot.js +0 -16
  226. package/dist/cjs/src/quarterback/api/snapshot.js.map +0 -1
  227. package/dist/cjs/src/quarterback/useAuthStore.js +0 -80
  228. package/dist/cjs/src/quarterback/useAuthStore.js.map +0 -1
  229. package/dist/cjs/src/quarterback/useCommentStore.js +0 -178
  230. package/dist/cjs/src/quarterback/useCommentStore.js.map +0 -1
  231. package/dist/cjs/src/quarterback/useDocStore.js +0 -121
  232. package/dist/cjs/src/quarterback/useDocStore.js.map +0 -1
  233. package/dist/cjs/src/quarterback/usePouchStore.js +0 -75
  234. package/dist/cjs/src/quarterback/usePouchStore.js.map +0 -1
  235. package/dist/cjs/src/quarterback/useSnapshotStore.js +0 -140
  236. package/dist/cjs/src/quarterback/useSnapshotStore.js.map +0 -1
  237. package/dist/cjs/src/store/BiblioTools.js +0 -3
  238. package/dist/cjs/src/store/BiblioTools.js.map +0 -1
  239. package/dist/cjs/stories/Citation.stories.js +0 -43
  240. package/dist/cjs/stories/Citation.stories.js.map +0 -1
  241. package/dist/cjs/stories/LibrarySidebar.stories.js +0 -188
  242. package/dist/cjs/stories/LibrarySidebar.stories.js.map +0 -1
  243. package/dist/cjs/stories/Metadata.stories.js +0 -53
  244. package/dist/cjs/stories/Metadata.stories.js.map +0 -1
  245. package/dist/cjs/stories/Notification.stories.js +0 -62
  246. package/dist/cjs/stories/Notification.stories.js.map +0 -1
  247. package/dist/cjs/stories/Page.stories.js +0 -50
  248. package/dist/cjs/stories/Page.stories.js.map +0 -1
  249. package/dist/cjs/stories/Panel.stories.js +0 -62
  250. package/dist/cjs/stories/Panel.stories.js.map +0 -1
  251. package/dist/cjs/stories/Placeholders.stories.js +0 -23
  252. package/dist/cjs/stories/Placeholders.stories.js.map +0 -1
  253. package/dist/cjs/stories/PopperButtons.stories.js +0 -27
  254. package/dist/cjs/stories/PopperButtons.stories.js.map +0 -1
  255. package/dist/cjs/stories/Progress.stories.js +0 -25
  256. package/dist/cjs/stories/Progress.stories.js.map +0 -1
  257. package/dist/cjs/stories/ProgressIndicator.stories.js +0 -33
  258. package/dist/cjs/stories/ProgressIndicator.stories.js.map +0 -1
  259. package/dist/cjs/stories/ReloadDialog.stories.js +0 -21
  260. package/dist/cjs/stories/ReloadDialog.stories.js.map +0 -1
  261. package/dist/cjs/stories/RequirementsInspector.stories.js +0 -159
  262. package/dist/cjs/stories/RequirementsInspector.stories.js.map +0 -1
  263. package/dist/cjs/stories/RequirmentsList.stories.js +0 -36
  264. package/dist/cjs/stories/RequirmentsList.stories.js.map +0 -1
  265. package/dist/cjs/stories/SelectField.stories.js +0 -34
  266. package/dist/cjs/stories/SelectField.stories.js.map +0 -1
  267. package/dist/cjs/stories/Support.stories.js +0 -32
  268. package/dist/cjs/stories/Support.stories.js.map +0 -1
  269. package/dist/cjs/stories/data/doc.js +0 -27
  270. package/dist/cjs/stories/data/doc.js.map +0 -1
  271. package/dist/cjs/stories/data/validationData.js +0 -44
  272. package/dist/cjs/stories/data/validationData.js.map +0 -1
  273. package/dist/es/src/components/Support.js +0 -100
  274. package/dist/es/src/components/Support.js.map +0 -1
  275. package/dist/es/src/components/inspector/ElementStyleInspector.js +0 -13
  276. package/dist/es/src/components/inspector/ElementStyleInspector.js.map +0 -1
  277. package/dist/es/src/components/inspector/StatisticsInspector.js +0 -32
  278. package/dist/es/src/components/inspector/StatisticsInspector.js.map +0 -1
  279. package/dist/es/src/components/library/CitationModel.js +0 -180
  280. package/dist/es/src/components/library/CitationModel.js.map +0 -1
  281. package/dist/es/src/components/library/CitationProperties.js +0 -60
  282. package/dist/es/src/components/library/CitationProperties.js.map +0 -1
  283. package/dist/es/src/components/library/ExternalSearch.js +0 -127
  284. package/dist/es/src/components/library/ExternalSearch.js.map +0 -1
  285. package/dist/es/src/components/library/GlobalLibrary.js +0 -104
  286. package/dist/es/src/components/library/GlobalLibrary.js.map +0 -1
  287. package/dist/es/src/components/library/LibraryCollectionCategories.js +0 -45
  288. package/dist/es/src/components/library/LibraryCollectionCategories.js.map +0 -1
  289. package/dist/es/src/components/library/LibraryForm.js +0 -409
  290. package/dist/es/src/components/library/LibraryForm.js.map +0 -1
  291. package/dist/es/src/components/library/LibraryItems.js +0 -86
  292. package/dist/es/src/components/library/LibraryItems.js.map +0 -1
  293. package/dist/es/src/components/library/LibraryPageContainer.js +0 -80
  294. package/dist/es/src/components/library/LibraryPageContainer.js.map +0 -1
  295. package/dist/es/src/components/library/LibrarySidebar.js +0 -165
  296. package/dist/es/src/components/library/LibrarySidebar.js.map +0 -1
  297. package/dist/es/src/components/library/Messages.js +0 -18
  298. package/dist/es/src/components/library/Messages.js.map +0 -1
  299. package/dist/es/src/components/library/ProjectLibrary.js +0 -67
  300. package/dist/es/src/components/library/ProjectLibrary.js.map +0 -1
  301. package/dist/es/src/components/menu/ApplicationMenus.js +0 -72
  302. package/dist/es/src/components/menu/ApplicationMenus.js.map +0 -1
  303. package/dist/es/src/components/metadata/HeaderFigure.js +0 -117
  304. package/dist/es/src/components/metadata/HeaderFigure.js.map +0 -1
  305. package/dist/es/src/components/metadata/Metadata.js +0 -73
  306. package/dist/es/src/components/metadata/Metadata.js.map +0 -1
  307. package/dist/es/src/components/metadata/MetadataContainer.js +0 -178
  308. package/dist/es/src/components/metadata/MetadataContainer.js.map +0 -1
  309. package/dist/es/src/components/metadata/TitleFieldContainer.js +0 -49
  310. package/dist/es/src/components/metadata/TitleFieldContainer.js.map +0 -1
  311. package/dist/es/src/components/projects/CategorisedKeywordsInput.js +0 -409
  312. package/dist/es/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
  313. package/dist/es/src/components/projects/KeywordsInput.js +0 -73
  314. package/dist/es/src/components/projects/KeywordsInput.js.map +0 -1
  315. package/dist/es/src/components/projects/ListToolbarItemStyles.js +0 -59
  316. package/dist/es/src/components/projects/ListToolbarItemStyles.js.map +0 -1
  317. package/dist/es/src/components/projects/ManuscriptMenus.js +0 -69
  318. package/dist/es/src/components/projects/ManuscriptMenus.js.map +0 -1
  319. package/dist/es/src/components/projects/ManuscriptToolbar.js +0 -104
  320. package/dist/es/src/components/projects/ManuscriptToolbar.js.map +0 -1
  321. package/dist/es/src/components/projects/OrderedListToolbarItem.js +0 -158
  322. package/dist/es/src/components/projects/OrderedListToolbarItem.js.map +0 -1
  323. package/dist/es/src/components/projects/SortableManuscript.js +0 -72
  324. package/dist/es/src/components/projects/SortableManuscript.js.map +0 -1
  325. package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -72
  326. package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
  327. package/dist/es/src/components/projects/lean-workflow/CommentList.js +0 -259
  328. package/dist/es/src/components/projects/lean-workflow/CommentList.js.map +0 -1
  329. package/dist/es/src/components/projects/lean-workflow/CommentsTab.js +0 -34
  330. package/dist/es/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
  331. package/dist/es/src/components/projects/lean-workflow/ContentTab.js +0 -59
  332. package/dist/es/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
  333. package/dist/es/src/components/projects/lean-workflow/EditorElement.js +0 -227
  334. package/dist/es/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
  335. package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js +0 -120
  336. package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
  337. package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -159
  338. package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
  339. package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js +0 -23
  340. package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
  341. package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -99
  342. package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
  343. package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -20
  344. package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
  345. package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -22
  346. package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
  347. package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -16
  348. package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
  349. package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -16
  350. package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
  351. package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js +0 -11
  352. package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
  353. package/dist/es/src/components/requirements/RequirementContainer.js +0 -51
  354. package/dist/es/src/components/requirements/RequirementContainer.js.map +0 -1
  355. package/dist/es/src/components/requirements/RequirementsData.js +0 -99
  356. package/dist/es/src/components/requirements/RequirementsData.js.map +0 -1
  357. package/dist/es/src/components/requirements/RequirementsIcons.js +0 -24
  358. package/dist/es/src/components/requirements/RequirementsIcons.js.map +0 -1
  359. package/dist/es/src/components/requirements/RequirementsInspector.js +0 -118
  360. package/dist/es/src/components/requirements/RequirementsInspector.js.map +0 -1
  361. package/dist/es/src/components/requirements/RequirementsList.js +0 -54
  362. package/dist/es/src/components/requirements/RequirementsList.js.map +0 -1
  363. package/dist/es/src/components/requirements/SectionValidations.js +0 -40
  364. package/dist/es/src/components/requirements/SectionValidations.js.map +0 -1
  365. package/dist/es/src/components/toolbar/ListToolbarItemStyles.js +0 -59
  366. package/dist/es/src/components/toolbar/ListToolbarItemStyles.js.map +0 -1
  367. package/dist/es/src/components/toolbar/ManuscriptToolbar.js +0 -104
  368. package/dist/es/src/components/toolbar/ManuscriptToolbar.js.map +0 -1
  369. package/dist/es/src/components/toolbar/OrderdListToolbarItem.js +0 -158
  370. package/dist/es/src/components/toolbar/OrderdListToolbarItem.js.map +0 -1
  371. package/dist/es/src/components/track-changes/useEditorStore.js +0 -57
  372. package/dist/es/src/components/track-changes/useEditorStore.js.map +0 -1
  373. package/dist/es/src/hooks/use-requirements-validation.js +0 -83
  374. package/dist/es/src/hooks/use-requirements-validation.js.map +0 -1
  375. package/dist/es/src/lib/apollo.js +0 -35
  376. package/dist/es/src/lib/apollo.js.map +0 -1
  377. package/dist/es/src/lib/lean-workflow-gql.js +0 -33
  378. package/dist/es/src/lib/lean-workflow-gql.js.map +0 -1
  379. package/dist/es/src/lib/replace-attachments-ids.js +0 -44
  380. package/dist/es/src/lib/replace-attachments-ids.js.map +0 -1
  381. package/dist/es/src/postgres-data/Bibilo.js +0 -29
  382. package/dist/es/src/postgres-data/Bibilo.js.map +0 -1
  383. package/dist/es/src/quarterback/api/auth.js +0 -3
  384. package/dist/es/src/quarterback/api/auth.js.map +0 -1
  385. package/dist/es/src/quarterback/api/comment.js +0 -6
  386. package/dist/es/src/quarterback/api/comment.js.map +0 -1
  387. package/dist/es/src/quarterback/api/methodsV2.js +0 -111
  388. package/dist/es/src/quarterback/api/methodsV2.js.map +0 -1
  389. package/dist/es/src/quarterback/api/snapshot.js +0 -8
  390. package/dist/es/src/quarterback/api/snapshot.js.map +0 -1
  391. package/dist/es/src/quarterback/useAuthStore.js +0 -51
  392. package/dist/es/src/quarterback/useAuthStore.js.map +0 -1
  393. package/dist/es/src/quarterback/useCommentStore.js +0 -149
  394. package/dist/es/src/quarterback/useCommentStore.js.map +0 -1
  395. package/dist/es/src/quarterback/useDocStore.js +0 -92
  396. package/dist/es/src/quarterback/useDocStore.js.map +0 -1
  397. package/dist/es/src/quarterback/usePouchStore.js +0 -69
  398. package/dist/es/src/quarterback/usePouchStore.js.map +0 -1
  399. package/dist/es/src/quarterback/useSnapshotStore.js +0 -114
  400. package/dist/es/src/quarterback/useSnapshotStore.js.map +0 -1
  401. package/dist/es/src/store/BiblioTools.js +0 -2
  402. package/dist/es/src/store/BiblioTools.js.map +0 -1
  403. package/dist/es/stories/Citation.stories.js +0 -38
  404. package/dist/es/stories/Citation.stories.js.map +0 -1
  405. package/dist/es/stories/LibrarySidebar.stories.js +0 -183
  406. package/dist/es/stories/LibrarySidebar.stories.js.map +0 -1
  407. package/dist/es/stories/Metadata.stories.js +0 -48
  408. package/dist/es/stories/Metadata.stories.js.map +0 -1
  409. package/dist/es/stories/Notification.stories.js +0 -57
  410. package/dist/es/stories/Notification.stories.js.map +0 -1
  411. package/dist/es/stories/Page.stories.js +0 -45
  412. package/dist/es/stories/Page.stories.js.map +0 -1
  413. package/dist/es/stories/Panel.stories.js +0 -57
  414. package/dist/es/stories/Panel.stories.js.map +0 -1
  415. package/dist/es/stories/Placeholders.stories.js +0 -18
  416. package/dist/es/stories/Placeholders.stories.js.map +0 -1
  417. package/dist/es/stories/PopperButtons.stories.js +0 -22
  418. package/dist/es/stories/PopperButtons.stories.js.map +0 -1
  419. package/dist/es/stories/Progress.stories.js +0 -20
  420. package/dist/es/stories/Progress.stories.js.map +0 -1
  421. package/dist/es/stories/ProgressIndicator.stories.js +0 -28
  422. package/dist/es/stories/ProgressIndicator.stories.js.map +0 -1
  423. package/dist/es/stories/ReloadDialog.stories.js +0 -16
  424. package/dist/es/stories/ReloadDialog.stories.js.map +0 -1
  425. package/dist/es/stories/RequirementsInspector.stories.js +0 -154
  426. package/dist/es/stories/RequirementsInspector.stories.js.map +0 -1
  427. package/dist/es/stories/RequirmentsList.stories.js +0 -31
  428. package/dist/es/stories/RequirmentsList.stories.js.map +0 -1
  429. package/dist/es/stories/SelectField.stories.js +0 -29
  430. package/dist/es/stories/SelectField.stories.js.map +0 -1
  431. package/dist/es/stories/Support.stories.js +0 -27
  432. package/dist/es/stories/Support.stories.js.map +0 -1
  433. package/dist/es/stories/data/doc.js +0 -21
  434. package/dist/es/stories/data/doc.js.map +0 -1
  435. package/dist/es/stories/data/validationData.js +0 -41
  436. package/dist/es/stories/data/validationData.js.map +0 -1
  437. package/dist/types/src/components/Support.d.ts +0 -13
  438. package/dist/types/src/components/inspector/ElementStyleInspector.d.ts +0 -13
  439. package/dist/types/src/components/inspector/StatisticsInspector.d.ts +0 -17
  440. package/dist/types/src/components/library/CitationModel.d.ts +0 -18
  441. package/dist/types/src/components/library/CitationProperties.d.ts +0 -17
  442. package/dist/types/src/components/library/ExternalSearch.d.ts +0 -19
  443. package/dist/types/src/components/library/GlobalLibrary.d.ts +0 -20
  444. package/dist/types/src/components/library/LibraryCollectionCategories.d.ts +0 -15
  445. package/dist/types/src/components/library/LibraryForm.d.ts +0 -20
  446. package/dist/types/src/components/library/LibraryItems.d.ts +0 -12
  447. package/dist/types/src/components/library/LibraryPageContainer.d.ts +0 -14
  448. package/dist/types/src/components/library/LibrarySidebar.d.ts +0 -21
  449. package/dist/types/src/components/library/Messages.d.ts +0 -15
  450. package/dist/types/src/components/library/ProjectLibrary.d.ts +0 -23
  451. package/dist/types/src/components/menu/ApplicationMenus.d.ts +0 -19
  452. package/dist/types/src/components/metadata/HeaderFigure.d.ts +0 -13
  453. package/dist/types/src/components/metadata/Metadata.d.ts +0 -60
  454. package/dist/types/src/components/metadata/MetadataContainer.d.ts +0 -21
  455. package/dist/types/src/components/metadata/TitleFieldContainer.d.ts +0 -19
  456. package/dist/types/src/components/projects/CategorisedKeywordsInput.d.ts +0 -6
  457. package/dist/types/src/components/projects/KeywordsInput.d.ts +0 -17
  458. package/dist/types/src/components/projects/ListToolbarItemStyles.d.ts +0 -25
  459. package/dist/types/src/components/projects/ManuscriptMenus.d.ts +0 -18
  460. package/dist/types/src/components/projects/ManuscriptToolbar.d.ts +0 -22
  461. package/dist/types/src/components/projects/OrderedListToolbarItem.d.ts +0 -24
  462. package/dist/types/src/components/projects/SortableManuscript.d.ts +0 -18
  463. package/dist/types/src/components/projects/lean-workflow/ApplicationMenusLW.d.ts +0 -20
  464. package/dist/types/src/components/projects/lean-workflow/CommentList.d.ts +0 -18
  465. package/dist/types/src/components/projects/lean-workflow/CommentsTab.d.ts +0 -7
  466. package/dist/types/src/components/projects/lean-workflow/ContentTab.d.ts +0 -6
  467. package/dist/types/src/components/projects/lean-workflow/EditorElement.d.ts +0 -18
  468. package/dist/types/src/components/projects/lean-workflow/ExceptionDialog.d.ts +0 -4
  469. package/dist/types/src/components/projects/lean-workflow/ManuscriptPageContainerLW.d.ts +0 -18
  470. package/dist/types/src/components/projects/lean-workflow/SaveStatusController.d.ts +0 -17
  471. package/dist/types/src/components/projects/lean-workflow/TrackChangesStyles.d.ts +0 -13
  472. package/dist/types/src/components/projects/lean-workflow/icons/DeleteIcon.d.ts +0 -13
  473. package/dist/types/src/components/projects/lean-workflow/icons/GroupIcon.d.ts +0 -15
  474. package/dist/types/src/components/projects/lean-workflow/icons/LinkIcon.d.ts +0 -13
  475. package/dist/types/src/components/projects/lean-workflow/icons/TemplateIcon.d.ts +0 -13
  476. package/dist/types/src/components/projects/lean-workflow/provider/UserProvider.d.ts +0 -22
  477. package/dist/types/src/components/requirements/RequirementContainer.d.ts +0 -19
  478. package/dist/types/src/components/requirements/RequirementsData.d.ts +0 -21
  479. package/dist/types/src/components/requirements/RequirementsIcons.d.ts +0 -16
  480. package/dist/types/src/components/requirements/RequirementsInspector.d.ts +0 -23
  481. package/dist/types/src/components/requirements/RequirementsList.d.ts +0 -16
  482. package/dist/types/src/components/requirements/SectionValidations.d.ts +0 -21
  483. package/dist/types/src/components/toolbar/ListToolbarItemStyles.d.ts +0 -25
  484. package/dist/types/src/components/toolbar/ManuscriptToolbar.d.ts +0 -22
  485. package/dist/types/src/components/toolbar/OrderdListToolbarItem.d.ts +0 -24
  486. package/dist/types/src/components/track-changes/useEditorStore.d.ts +0 -36
  487. package/dist/types/src/hooks/use-requirements-validation.d.ts +0 -22
  488. package/dist/types/src/lib/apollo.d.ts +0 -13
  489. package/dist/types/src/lib/lean-workflow-gql.d.ts +0 -66
  490. package/dist/types/src/lib/replace-attachments-ids.d.ts +0 -15
  491. package/dist/types/src/postgres-data/Bibilo.d.ts +0 -33
  492. package/dist/types/src/quarterback/api/auth.d.ts +0 -13
  493. package/dist/types/src/quarterback/api/comment.d.ts +0 -16
  494. package/dist/types/src/quarterback/api/methodsV2.d.ts +0 -32
  495. package/dist/types/src/quarterback/api/snapshot.d.ts +0 -17
  496. package/dist/types/src/quarterback/useAuthStore.d.ts +0 -61
  497. package/dist/types/src/quarterback/useCommentStore.d.ts +0 -30
  498. package/dist/types/src/quarterback/useDocStore.d.ts +0 -19
  499. package/dist/types/src/quarterback/usePouchStore.d.ts +0 -30
  500. package/dist/types/src/quarterback/useSnapshotStore.d.ts +0 -29
  501. package/dist/types/src/store/BiblioTools.d.ts +0 -21
  502. package/dist/types/stories/Citation.stories.d.ts +0 -12
  503. package/dist/types/stories/LibrarySidebar.stories.d.ts +0 -12
  504. package/dist/types/stories/Metadata.stories.d.ts +0 -12
  505. package/dist/types/stories/Notification.stories.d.ts +0 -12
  506. package/dist/types/stories/Page.stories.d.ts +0 -12
  507. package/dist/types/stories/Panel.stories.d.ts +0 -12
  508. package/dist/types/stories/Placeholders.stories.d.ts +0 -12
  509. package/dist/types/stories/PopperButtons.stories.d.ts +0 -12
  510. package/dist/types/stories/Progress.stories.d.ts +0 -12
  511. package/dist/types/stories/ProgressIndicator.stories.d.ts +0 -12
  512. package/dist/types/stories/ReloadDialog.stories.d.ts +0 -12
  513. package/dist/types/stories/RequirementsInspector.stories.d.ts +0 -12
  514. package/dist/types/stories/RequirmentsList.stories.d.ts +0 -12
  515. package/dist/types/stories/SelectField.stories.d.ts +0 -12
  516. package/dist/types/stories/Support.stories.d.ts +0 -12
  517. package/dist/types/stories/data/doc.d.ts +0 -14
  518. package/dist/types/stories/data/validationData.d.ts +0 -13
@@ -1,21 +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) 2020 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { Model } from '@manuscripts/json-schema';
13
- import { AnyValidationResult } from '@manuscripts/requirements';
14
- import { ContainedModel } from '@manuscripts/transform';
15
- import React from 'react';
16
- export declare const SectionValidations: React.FC<{
17
- sortedData: AnyValidationResult[];
18
- modelMap: Map<string, Model>;
19
- manuscriptID: string;
20
- bulkUpdate: (items: Array<ContainedModel>) => Promise<void>;
21
- }>;
@@ -1,25 +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) 2024 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- export declare const ListButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
13
- type: "button";
14
- } & {
15
- 'data-active'?: boolean | undefined;
16
- }, "type">;
17
- export declare const ListStyleButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
18
- type: "button";
19
- } & {
20
- 'data-active'?: boolean | undefined;
21
- }, "type">;
22
- export type ListStyle = {
23
- items: [string, string, string];
24
- type: string;
25
- };
@@ -1,22 +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) 2024 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { ManuscriptEditorState, ManuscriptEditorView } from '@manuscripts/transform';
13
- import { Transaction } from 'prosemirror-state';
14
- import React from 'react';
15
- export declare const ToolbarItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
- export declare const ToolbarContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
- export declare const ToolbarGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
18
- export declare const ManuscriptToolbar: React.FC<{
19
- state: ManuscriptEditorState;
20
- dispatch: (tr: Transaction) => void;
21
- view?: ManuscriptEditorView;
22
- }>;
@@ -1,24 +0,0 @@
1
- import { ToolbarButtonConfig } from '@manuscripts/body-editor';
2
- import { ManuscriptEditorView } from '@manuscripts/transform';
3
- import { NodeRange } from 'prosemirror-model';
4
- import { EditorState, Transaction } from 'prosemirror-state';
5
- import React from 'react';
6
- import { ListStyle } from './ListToolbarItemStyles';
7
- export declare const ListStyleSelector: React.FC<{
8
- disabled: boolean;
9
- styles: ListStyle[];
10
- handleClick: (style: ListStyle) => void;
11
- }>;
12
- export declare const OrderedListToolbarItem: React.FC<{
13
- state: EditorState;
14
- dispatch: (tr: Transaction) => void;
15
- view?: ManuscriptEditorView;
16
- config: ToolbarButtonConfig;
17
- }>;
18
- /**
19
- * Will use node depth as an indicator for the list level, and `sharedDepth` will
20
- * give us all depths for the selection so we can find the parent list
21
- * After that will look at the nodes in the parent list and just update
22
- * the list that had the same level to the target level user has selected
23
- */
24
- export declare const updateListStyle: (state: EditorState, dispatch: (tr: Transaction) => void, range: NodeRange, type: string) => void;
@@ -1,36 +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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { TrackChangesState } from '@manuscripts/track-changes-plugin';
13
- import { ManuscriptEditorState, ManuscriptEditorView } from '@manuscripts/transform';
14
- import { Command, EditorState } from 'prosemirror-state';
15
- interface EmptySnapshotState {
16
- view?: ManuscriptEditorView;
17
- editorState?: ManuscriptEditorState;
18
- trackState: TrackChangesState | undefined | null;
19
- }
20
- interface SnapshotState {
21
- view: ManuscriptEditorView;
22
- editorState: ManuscriptEditorState;
23
- trackState: TrackChangesState | undefined | null;
24
- }
25
- export declare const useEditorStore: import("zustand").UseBoundStore<import("zustand").StoreApi<Omit<EmptySnapshotState, "state" | "init" | "execCmd" | "docToJSON" | "hydrateDocFromJSON" | "setEditorState"> & {
26
- init(view: ManuscriptEditorView): void;
27
- state: () => SnapshotState;
28
- execCmd(cmd: Command): void;
29
- docToJSON(): any;
30
- hydrateDocFromJSON(doc: Record<string, any>): void;
31
- setEditorState(newState: ManuscriptEditorState): {
32
- editorState: EditorState;
33
- trackState: TrackChangesState | undefined;
34
- };
35
- }>>;
36
- export {};
@@ -1,22 +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 { AnyValidationResult } from '@manuscripts/requirements';
13
- import { ManuscriptEditorState } from '@manuscripts/transform';
14
- interface Args {
15
- state: ManuscriptEditorState;
16
- }
17
- export declare const useRequirementsValidation: ({ state }: Args) => {
18
- result: AnyValidationResult[];
19
- error: Error | null | undefined;
20
- isBuilding: boolean;
21
- };
22
- export {};
@@ -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 { ApolloClient } from '@apollo/client';
13
- export declare const apolloClient: ApolloClient<import("@apollo/client").NormalizedCacheObject>;
@@ -1,66 +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
- interface Transition {
13
- status: {
14
- id: string;
15
- label: string;
16
- };
17
- type: {
18
- id: string;
19
- description: string;
20
- label: string;
21
- };
22
- }
23
- export type SubmissionAttachment = {
24
- id: string;
25
- name: string;
26
- type: SubmissionAttachmentType;
27
- link: string;
28
- };
29
- export type SubmissionAttachmentType = {
30
- id: string;
31
- label?: string;
32
- };
33
- export interface SubmissionStepType {
34
- label: string;
35
- description: string;
36
- role: {
37
- label: string;
38
- };
39
- transitions: Transition[];
40
- }
41
- export interface Submission {
42
- id: string;
43
- attachments: SubmissionAttachment[];
44
- currentStep: {
45
- type: SubmissionStepType;
46
- };
47
- nextStep: {
48
- type: SubmissionStepType;
49
- };
50
- }
51
- export interface Person {
52
- id: string;
53
- displayName: string;
54
- role: {
55
- id: string;
56
- label: string;
57
- };
58
- }
59
- interface onHoldProps {
60
- submissionId: string;
61
- errorCode: string;
62
- }
63
- export declare const useSetTaskOnHold: () => ({ submissionId, errorCode }: onHoldProps) => Promise<import("@apollo/react-hooks").FetchResult<{
64
- setTaskOnHold: Submission;
65
- }, Record<string, any>, Record<string, any>>>;
66
- export {};
@@ -1,15 +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 { FileManagement } from '@manuscripts/style-guide';
13
- import { state } from '../store';
14
- export declare function replaceAttachmentsIds(modelMap: state['modelMap'], attachments: ReturnType<FileManagement['getAttachments']>): Map<string, import("@manuscripts/json-schema").Model>;
15
- export declare function replaceAttachmentLinks(modelMap: state['modelMap'], attachments: ReturnType<FileManagement['getAttachments']>): Map<string, import("@manuscripts/json-schema").Model>;
@@ -1,33 +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 { BibliographyItem, Bundle } from '@manuscripts/json-schema';
13
- import { CitationProvider } from '@manuscripts/library';
14
- import { BiblioTools } from '../store';
15
- export declare class Biblio implements BiblioTools {
16
- citationProvider: CitationProvider;
17
- library: Map<string, BibliographyItem>;
18
- getLibraryItem: (id: string) => BibliographyItem | undefined;
19
- setLibraryItem: (item: BibliographyItem) => any;
20
- removeLibraryItem: (id: string) => void;
21
- constructor(bundle: Bundle | null, library: Map<string, BibliographyItem>, lang: string);
22
- matchLibraryItemByIdentifier: (item: BibliographyItem) => BibliographyItem | undefined;
23
- filterLibraryItems: (query: string) => Promise<BibliographyItem[]>;
24
- getCitationProvider: () => undefined;
25
- getTools: () => {
26
- getCitationProvider: () => undefined;
27
- getLibraryItem: (id: string) => BibliographyItem | undefined;
28
- setLibraryItem: (item: BibliographyItem) => any;
29
- filterLibraryItems: (query: string) => Promise<BibliographyItem[]>;
30
- matchLibraryItemByIdentifier: (item: BibliographyItem) => BibliographyItem | undefined;
31
- removeLibraryItem: (id: string) => void;
32
- };
33
- }
@@ -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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import type { IAuthenticateParams, IAuthenticateResponse } from '@manuscripts/quarterback-types';
13
- export declare const authenticate: (payload: IAuthenticateParams) => Promise<import("@manuscripts/quarterback-types").Maybe<IAuthenticateResponse>>;
@@ -1,16 +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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { ICreateCommentRequest, IListCommentsResponse, IUpdateCommentRequest } from '@manuscripts/quarterback-types';
13
- export declare const listComments: (docId: string) => Promise<import("@manuscripts/quarterback-types").Maybe<IListCommentsResponse>>;
14
- export declare const createComment: (payload: ICreateCommentRequest) => Promise<import("@manuscripts/quarterback-types").Maybe<import("@manuscripts/quarterback-types").ManuscriptComment>>;
15
- export declare const updateComment: (commentId: string, payload: IUpdateCommentRequest) => Promise<import("@manuscripts/quarterback-types").Maybe<boolean>>;
16
- export declare const deleteComment: (commentId: string) => Promise<import("@manuscripts/quarterback-types").Maybe<boolean>>;
@@ -1,32 +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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import type { Maybe } from '@manuscripts/quarterback-types';
13
- import { EventSourceMessage } from '@microsoft/fetch-event-source';
14
- type FetchOptions = {
15
- method: string;
16
- headers: Record<string, string>;
17
- body?: string;
18
- };
19
- export declare const DEFAULT_HEADERS: {
20
- Accept: string;
21
- 'Content-Type': string;
22
- };
23
- export declare function getAuthHeader(authToken: string): "" | {
24
- Authorization: string;
25
- };
26
- export declare function wrappedFetch<T>(path: string, options: FetchOptions, defaultError?: string): Promise<Maybe<T>>;
27
- export declare function get<T>(path: string, authToken: string, defaultError?: string, headers?: Record<string, string>): Promise<Maybe<T>>;
28
- export declare function post<T>(path: string, authToken: string, payload: any, defaultError?: string, headers?: Record<string, string>): Promise<Maybe<T>>;
29
- export declare function put<T>(path: string, authToken: string, payload: any, defaultError?: string, headers?: Record<string, string>): Promise<Maybe<T>>;
30
- export declare function del<T>(path: string, authToken: string, defaultError?: string, headers?: Record<string, string>): Promise<Maybe<T>>;
31
- export declare function listen<T>(path: string, listener: (event: EventSourceMessage) => void, authToken: string, defaultError?: string, headers?: Record<string, string>): Promise<void>;
32
- export {};
@@ -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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { IGetSnapshotLabelsResponse, ISaveSnapshotResponse, IUpdateSnapshotRequest } from '@manuscripts/quarterback-types';
13
- export declare const listSnapshotLabels: (docID: string, authToken: string) => Promise<import("@manuscripts/quarterback-types").Maybe<IGetSnapshotLabelsResponse>>;
14
- export declare const getSnapshot: (snapshotId: string, authToken: string) => Promise<import("@manuscripts/quarterback-types").Maybe<import("@manuscripts/quarterback-types").ManuscriptSnapshot>>;
15
- export declare const saveSnapshot: (projectID: string, manuscriptID: string, authToken: string, payload: any) => Promise<import("@manuscripts/quarterback-types").Maybe<ISaveSnapshotResponse>>;
16
- export declare const updateSnapshot: (snapId: string, authToken: string, payload: IUpdateSnapshotRequest) => Promise<import("@manuscripts/quarterback-types").Maybe<boolean>>;
17
- export declare const deleteSnapshot: (snapId: string, authToken: string) => Promise<import("@manuscripts/quarterback-types").Maybe<boolean>>;
@@ -1,61 +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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { Jwt } from '@manuscripts/quarterback-types';
13
- type TrackUser = {
14
- id: string;
15
- name: string;
16
- color: string;
17
- };
18
- interface AuthState {
19
- user: TrackUser;
20
- jwt?: Jwt;
21
- }
22
- export declare const useAuthStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<Omit<AuthState, "setUser" | "authenticate" | "logout"> & {
23
- setUser(id?: string, name?: string): void;
24
- authenticate(): Promise<boolean>;
25
- logout(): void;
26
- }>, "persist"> & {
27
- persist: {
28
- setOptions: (options: Partial<import("zustand/middleware").PersistOptions<Omit<AuthState, "setUser" | "authenticate" | "logout"> & {
29
- setUser(id?: string, name?: string): void;
30
- authenticate(): Promise<boolean>;
31
- logout(): void;
32
- }, Omit<AuthState, "setUser" | "authenticate" | "logout"> & {
33
- setUser(id?: string, name?: string): void;
34
- authenticate(): Promise<boolean>;
35
- logout(): void;
36
- }>>) => void;
37
- clearStorage: () => void;
38
- rehydrate: () => void | Promise<void>;
39
- hasHydrated: () => boolean;
40
- onHydrate: (fn: (state: Omit<AuthState, "setUser" | "authenticate" | "logout"> & {
41
- setUser(id?: string, name?: string): void;
42
- authenticate(): Promise<boolean>;
43
- logout(): void;
44
- }) => void) => () => void;
45
- onFinishHydration: (fn: (state: Omit<AuthState, "setUser" | "authenticate" | "logout"> & {
46
- setUser(id?: string, name?: string): void;
47
- authenticate(): Promise<boolean>;
48
- logout(): void;
49
- }) => void) => () => void;
50
- getOptions: () => Partial<import("zustand/middleware").PersistOptions<Omit<AuthState, "setUser" | "authenticate" | "logout"> & {
51
- setUser(id?: string, name?: string): void;
52
- authenticate(): Promise<boolean>;
53
- logout(): void;
54
- }, Omit<AuthState, "setUser" | "authenticate" | "logout"> & {
55
- setUser(id?: string, name?: string): void;
56
- authenticate(): Promise<boolean>;
57
- logout(): void;
58
- }>>;
59
- };
60
- }>;
61
- export {};
@@ -1,30 +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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { UserProfile } from '@manuscripts/json-schema';
13
- import { CommentWithUserColor, ICreateCommentRequest, IUpdateCommentRequest, UserWithColor } from '@manuscripts/quarterback-types';
14
- interface CommentState {
15
- commentsMap: Map<string, CommentWithUserColor>;
16
- changeComments: Map<string, CommentWithUserColor[]>;
17
- userColorsMap: Map<string, string>;
18
- usersMap: Map<string, UserWithColor>;
19
- openCommentLists: Set<string>;
20
- }
21
- export declare const useCommentStore: import("zustand").UseBoundStore<import("zustand").StoreApi<Omit<CommentState, "init" | "setUsers" | "toggleCommentListOpen" | "listComments" | "createComment" | "updateComment" | "deleteComment"> & {
22
- init(): void;
23
- setUsers(collaboratorsById: Map<string, UserProfile>): void;
24
- toggleCommentListOpen: (id: string) => void;
25
- listComments: (docId: string) => Promise<import("@manuscripts/quarterback-types").Maybe<import("@manuscripts/quarterback-types").IListCommentsResponse>>;
26
- createComment: (payload: ICreateCommentRequest, user: UserWithColor) => Promise<import("@manuscripts/quarterback-types").Maybe<import("@manuscripts/quarterback-types").ManuscriptComment>>;
27
- updateComment: (commentId: string, values: IUpdateCommentRequest) => Promise<import("@manuscripts/quarterback-types").Maybe<boolean>>;
28
- deleteComment: (snapId: string) => Promise<import("@manuscripts/quarterback-types").Maybe<boolean>>;
29
- }>>;
30
- export {};
@@ -1,19 +0,0 @@
1
- import QuarterbackStepsExchanger from './QuarterbackStepsExchanger';
2
- import { ManuscriptDoc } from './types';
3
- interface CurrentDocument {
4
- manuscriptID: string;
5
- projectID: string;
6
- }
7
- interface DocState {
8
- currentDocument: CurrentDocument | null;
9
- quarterbackDoc: ManuscriptDoc | null;
10
- }
11
- export declare const useDocStore: import("zustand").UseBoundStore<import("zustand").StoreApi<Omit<DocState, "setCurrentDocument" | "getDocument" | "createDocument" | "stepsExchanger" | "updateDocument" | "deleteDocument"> & {
12
- setCurrentDocument: (manuscriptID: string, projectID: string) => void;
13
- getDocument: (projectID: string, manuscriptID: string, authToken: string) => Promise<import("@manuscripts/quarterback-types").Maybe<import("./types").ManuscriptDocWithSnapshots>>;
14
- createDocument: (manuscriptID: string, projectID: string, authToken: string) => Promise<import("@manuscripts/quarterback-types").Maybe<import("./types").ManuscriptDocWithSnapshots>>;
15
- stepsExchanger(docId: string, projectId: string, lastVersion: number, authToken: string, isAuthed?: boolean): QuarterbackStepsExchanger | undefined;
16
- updateDocument: (projectID: string, manuscriptID: string, doc: Record<string, any>, authToken: string) => Promise<import("@manuscripts/quarterback-types").Maybe<boolean>>;
17
- deleteDocument: (projectID: string, manuscriptID: string, authToken: string) => Promise<import("@manuscripts/quarterback-types").Maybe<boolean>>;
18
- }>>;
19
- export {};
@@ -1,30 +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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { Model } from '@manuscripts/json-schema';
13
- import { Build, ContainedModel, ManuscriptNode } from '@manuscripts/transform';
14
- export type Ok<T> = {
15
- data: T;
16
- };
17
- export type Error = {
18
- err: string;
19
- code: number;
20
- };
21
- export type Maybe<T> = Ok<T> | Error;
22
- interface PouchState {
23
- getModels?: () => Map<string, Model> | undefined;
24
- bulkUpdate?: (models: Array<ContainedModel> | Model[] | Build<Model>[] | Partial<Model>[]) => void;
25
- }
26
- export declare const usePouchStore: import("zustand").UseBoundStore<import("zustand").StoreApi<Omit<PouchState, "init" | "saveDoc"> & {
27
- init(state: PouchState): void;
28
- saveDoc: (doc: ManuscriptNode) => Promise<Maybe<boolean>>;
29
- }>>;
30
- export {};
@@ -1,29 +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) 2022 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { ISaveSnapshotResponse, IUpdateSnapshotRequest, ManuscriptSnapshot, Maybe, SnapshotLabel } from '@manuscripts/quarterback-types';
13
- interface SnapshotState {
14
- originalPmDoc: Record<string, any> | null;
15
- snapshots: SnapshotLabel[];
16
- snapshotsMap: Map<string, ManuscriptSnapshot>;
17
- inspectedSnapshot: ManuscriptSnapshot | null;
18
- }
19
- export declare const useSnapshotStore: import("zustand").UseBoundStore<import("zustand").StoreApi<Omit<SnapshotState, "init" | "setSnapshots" | "setOriginalPmDoc" | "inspectSnapshot" | "resumeEditing" | "saveSnapshot" | "updateSnapshot" | "deleteSnapshot"> & {
20
- init(): void;
21
- setSnapshots(snapshots: SnapshotLabel[]): void;
22
- setOriginalPmDoc: (pmDoc: Record<string, any>) => void;
23
- inspectSnapshot: (id: string, authToken: string) => Promise<Maybe<ManuscriptSnapshot>>;
24
- resumeEditing: () => void;
25
- saveSnapshot: (docJson: Record<string, any>, authToken: string) => Promise<Maybe<ISaveSnapshotResponse>>;
26
- updateSnapshot: (snapId: string, authToken: string, values: IUpdateSnapshotRequest) => Promise<Maybe<boolean>>;
27
- deleteSnapshot: (snapId: string, authToken: string) => Promise<Maybe<boolean>>;
28
- }>>;
29
- export {};
@@ -1,21 +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 { BibliographyItem } from '@manuscripts/json-schema';
13
- import { CitationProvider } from '@manuscripts/library';
14
- export interface BiblioTools {
15
- getCitationProvider: () => CitationProvider | undefined;
16
- getLibraryItem: (id: string) => BibliographyItem | undefined;
17
- setLibraryItem: (item: BibliographyItem) => void;
18
- removeLibraryItem: (id: string) => void;
19
- matchLibraryItemByIdentifier: (item: BibliographyItem) => BibliographyItem | undefined;
20
- filterLibraryItems: (query: string) => Promise<BibliographyItem[]>;
21
- }
@@ -1,12 +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
- export {};
@@ -1,12 +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
- export {};
@@ -1,12 +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
- export {};