@manuscripts/article-editor 1.9.5 → 1.9.7-LEAN-3262-0

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 (494) hide show
  1. package/dist/cjs/src/components/track-changes/TrackChangesPanel.js +3 -3
  2. package/dist/cjs/src/components/track-changes/TrackChangesPanel.js.map +1 -1
  3. package/dist/cjs/src/components/track-changes/suggestion-list/Suggestion.js +2 -2
  4. package/dist/cjs/src/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
  5. package/dist/cjs/src/components/track-changes/suggestion-list/SuggestionList.js +10 -2
  6. package/dist/cjs/src/components/track-changes/suggestion-list/SuggestionList.js.map +1 -1
  7. package/dist/es/src/components/track-changes/TrackChangesPanel.js +3 -3
  8. package/dist/es/src/components/track-changes/TrackChangesPanel.js.map +1 -1
  9. package/dist/es/src/components/track-changes/suggestion-list/Suggestion.js +2 -2
  10. package/dist/es/src/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
  11. package/dist/es/src/components/track-changes/suggestion-list/SuggestionList.js +10 -2
  12. package/dist/es/src/components/track-changes/suggestion-list/SuggestionList.js.map +1 -1
  13. package/dist/types/src/components/track-changes/suggestion-list/SuggestionList.d.ts +1 -0
  14. package/package.json +4 -4
  15. package/dist/cjs/src/components/SelectField.js +0 -24
  16. package/dist/cjs/src/components/SelectField.js.map +0 -1
  17. package/dist/cjs/src/components/Support.js +0 -129
  18. package/dist/cjs/src/components/Support.js.map +0 -1
  19. package/dist/cjs/src/components/inspector/ElementStyleInspector.js +0 -14
  20. package/dist/cjs/src/components/inspector/ElementStyleInspector.js.map +0 -1
  21. package/dist/cjs/src/components/inspector/StatisticsInspector.js +0 -39
  22. package/dist/cjs/src/components/inspector/StatisticsInspector.js.map +0 -1
  23. package/dist/cjs/src/components/library/BibliographyImportButton.js +0 -149
  24. package/dist/cjs/src/components/library/BibliographyImportButton.js.map +0 -1
  25. package/dist/cjs/src/components/library/CitationEditor.js +0 -227
  26. package/dist/cjs/src/components/library/CitationEditor.js.map +0 -1
  27. package/dist/cjs/src/components/library/CitationModal.js +0 -262
  28. package/dist/cjs/src/components/library/CitationModal.js.map +0 -1
  29. package/dist/cjs/src/components/library/CitationModel.js +0 -210
  30. package/dist/cjs/src/components/library/CitationModel.js.map +0 -1
  31. package/dist/cjs/src/components/library/CitationProperties.js +0 -67
  32. package/dist/cjs/src/components/library/CitationProperties.js.map +0 -1
  33. package/dist/cjs/src/components/library/CitationSearch.js +0 -214
  34. package/dist/cjs/src/components/library/CitationSearch.js.map +0 -1
  35. package/dist/cjs/src/components/library/CitationSearchSection.js +0 -133
  36. package/dist/cjs/src/components/library/CitationSearchSection.js.map +0 -1
  37. package/dist/cjs/src/components/library/CitationViewer.js +0 -53
  38. package/dist/cjs/src/components/library/CitationViewer.js.map +0 -1
  39. package/dist/cjs/src/components/library/ExternalSearch.js +0 -156
  40. package/dist/cjs/src/components/library/ExternalSearch.js.map +0 -1
  41. package/dist/cjs/src/components/library/GlobalLibrary.js +0 -133
  42. package/dist/cjs/src/components/library/GlobalLibrary.js.map +0 -1
  43. package/dist/cjs/src/components/library/LibraryCollectionCategories.js +0 -53
  44. package/dist/cjs/src/components/library/LibraryCollectionCategories.js.map +0 -1
  45. package/dist/cjs/src/components/library/LibraryForm.js +0 -437
  46. package/dist/cjs/src/components/library/LibraryForm.js.map +0 -1
  47. package/dist/cjs/src/components/library/LibraryItems.js +0 -116
  48. package/dist/cjs/src/components/library/LibraryItems.js.map +0 -1
  49. package/dist/cjs/src/components/library/LibraryPageContainer.js +0 -107
  50. package/dist/cjs/src/components/library/LibraryPageContainer.js.map +0 -1
  51. package/dist/cjs/src/components/library/LibrarySidebar.js +0 -172
  52. package/dist/cjs/src/components/library/LibrarySidebar.js.map +0 -1
  53. package/dist/cjs/src/components/library/Messages.js +0 -25
  54. package/dist/cjs/src/components/library/Messages.js.map +0 -1
  55. package/dist/cjs/src/components/library/ProjectLibrary.js +0 -96
  56. package/dist/cjs/src/components/library/ProjectLibrary.js.map +0 -1
  57. package/dist/cjs/src/components/library/ReferenceForm.js +0 -419
  58. package/dist/cjs/src/components/library/ReferenceForm.js.map +0 -1
  59. package/dist/cjs/src/components/library/ReferencesEditor.js +0 -70
  60. package/dist/cjs/src/components/library/ReferencesEditor.js.map +0 -1
  61. package/dist/cjs/src/components/library/ReferencesViewer.js +0 -33
  62. package/dist/cjs/src/components/library/ReferencesViewer.js.map +0 -1
  63. package/dist/cjs/src/components/library/SearchResults.js +0 -126
  64. package/dist/cjs/src/components/library/SearchResults.js.map +0 -1
  65. package/dist/cjs/src/components/menu/ApplicationMenus.js +0 -79
  66. package/dist/cjs/src/components/menu/ApplicationMenus.js.map +0 -1
  67. package/dist/cjs/src/components/metadata/HeaderFigure.js +0 -147
  68. package/dist/cjs/src/components/metadata/HeaderFigure.js.map +0 -1
  69. package/dist/cjs/src/components/metadata/Metadata.js +0 -103
  70. package/dist/cjs/src/components/metadata/Metadata.js.map +0 -1
  71. package/dist/cjs/src/components/metadata/MetadataContainer.js +0 -203
  72. package/dist/cjs/src/components/metadata/MetadataContainer.js.map +0 -1
  73. package/dist/cjs/src/components/metadata/TitleFieldContainer.js +0 -56
  74. package/dist/cjs/src/components/metadata/TitleFieldContainer.js.map +0 -1
  75. package/dist/cjs/src/components/projects/ApplicationMenus.js +0 -97
  76. package/dist/cjs/src/components/projects/ApplicationMenus.js.map +0 -1
  77. package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js +0 -439
  78. package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
  79. package/dist/cjs/src/components/projects/KeywordsInput.js +0 -80
  80. package/dist/cjs/src/components/projects/KeywordsInput.js.map +0 -1
  81. package/dist/cjs/src/components/projects/SortableManuscript.js +0 -102
  82. package/dist/cjs/src/components/projects/SortableManuscript.js.map +0 -1
  83. package/dist/cjs/src/components/projects/icons/DeleteIcon.js +0 -27
  84. package/dist/cjs/src/components/projects/icons/DeleteIcon.js.map +0 -1
  85. package/dist/cjs/src/components/projects/icons/GroupIcon.js +0 -29
  86. package/dist/cjs/src/components/projects/icons/GroupIcon.js.map +0 -1
  87. package/dist/cjs/src/components/projects/icons/LinkIcon.js +0 -23
  88. package/dist/cjs/src/components/projects/icons/LinkIcon.js.map +0 -1
  89. package/dist/cjs/src/components/projects/icons/TemplateIcon.js +0 -23
  90. package/dist/cjs/src/components/projects/icons/TemplateIcon.js.map +0 -1
  91. package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -102
  92. package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
  93. package/dist/cjs/src/components/projects/lean-workflow/CommentList.js +0 -289
  94. package/dist/cjs/src/components/projects/lean-workflow/CommentList.js.map +0 -1
  95. package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js +0 -41
  96. package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
  97. package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js +0 -66
  98. package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
  99. package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js +0 -252
  100. package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
  101. package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js +0 -150
  102. package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
  103. package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -187
  104. package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
  105. package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js +0 -53
  106. package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
  107. package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -106
  108. package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
  109. package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -27
  110. package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
  111. package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -29
  112. package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
  113. package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -23
  114. package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
  115. package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -23
  116. package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
  117. package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js +0 -38
  118. package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
  119. package/dist/cjs/src/components/requirements/RequirementContainer.js +0 -58
  120. package/dist/cjs/src/components/requirements/RequirementContainer.js.map +0 -1
  121. package/dist/cjs/src/components/requirements/RequirementsData.js +0 -129
  122. package/dist/cjs/src/components/requirements/RequirementsData.js.map +0 -1
  123. package/dist/cjs/src/components/requirements/RequirementsIcons.js +0 -34
  124. package/dist/cjs/src/components/requirements/RequirementsIcons.js.map +0 -1
  125. package/dist/cjs/src/components/requirements/RequirementsInspector.js +0 -150
  126. package/dist/cjs/src/components/requirements/RequirementsInspector.js.map +0 -1
  127. package/dist/cjs/src/components/requirements/RequirementsList.js +0 -84
  128. package/dist/cjs/src/components/requirements/RequirementsList.js.map +0 -1
  129. package/dist/cjs/src/components/requirements/SectionValidations.js +0 -47
  130. package/dist/cjs/src/components/requirements/SectionValidations.js.map +0 -1
  131. package/dist/cjs/src/components/toolbar/ListToolbarItemStyles.js +0 -85
  132. package/dist/cjs/src/components/toolbar/ListToolbarItemStyles.js.map +0 -1
  133. package/dist/cjs/src/components/toolbar/ManuscriptToolbar.js +0 -111
  134. package/dist/cjs/src/components/toolbar/ManuscriptToolbar.js.map +0 -1
  135. package/dist/cjs/src/components/toolbar/OrderdListToolbarItem.js +0 -190
  136. package/dist/cjs/src/components/toolbar/OrderdListToolbarItem.js.map +0 -1
  137. package/dist/cjs/src/components/track-changes/useEditorStore.js +0 -60
  138. package/dist/cjs/src/components/track-changes/useEditorStore.js.map +0 -1
  139. package/dist/cjs/src/hooks/use-requirements-validation.js +0 -87
  140. package/dist/cjs/src/hooks/use-requirements-validation.js.map +0 -1
  141. package/dist/cjs/src/lib/apollo.js +0 -41
  142. package/dist/cjs/src/lib/apollo.js.map +0 -1
  143. package/dist/cjs/src/lib/lean-workflow-gql.js +0 -40
  144. package/dist/cjs/src/lib/lean-workflow-gql.js.map +0 -1
  145. package/dist/cjs/src/lib/replace-attachments-ids.js +0 -49
  146. package/dist/cjs/src/lib/replace-attachments-ids.js.map +0 -1
  147. package/dist/cjs/src/lib/select-styles.js +0 -40
  148. package/dist/cjs/src/lib/select-styles.js.map +0 -1
  149. package/dist/cjs/src/lib/sources.js +0 -36
  150. package/dist/cjs/src/lib/sources.js.map +0 -1
  151. package/dist/cjs/src/postgres-data/Bibilo.js +0 -33
  152. package/dist/cjs/src/postgres-data/Bibilo.js.map +0 -1
  153. package/dist/cjs/src/quarterback/api/auth.js +0 -7
  154. package/dist/cjs/src/quarterback/api/auth.js.map +0 -1
  155. package/dist/cjs/src/quarterback/api/comment.js +0 -13
  156. package/dist/cjs/src/quarterback/api/comment.js.map +0 -1
  157. package/dist/cjs/src/quarterback/api/methodsV2.js +0 -124
  158. package/dist/cjs/src/quarterback/api/methodsV2.js.map +0 -1
  159. package/dist/cjs/src/quarterback/api/snapshot.js +0 -16
  160. package/dist/cjs/src/quarterback/api/snapshot.js.map +0 -1
  161. package/dist/cjs/src/quarterback/useAuthStore.js +0 -80
  162. package/dist/cjs/src/quarterback/useAuthStore.js.map +0 -1
  163. package/dist/cjs/src/quarterback/useCommentStore.js +0 -178
  164. package/dist/cjs/src/quarterback/useCommentStore.js.map +0 -1
  165. package/dist/cjs/src/quarterback/useDocStore.js +0 -121
  166. package/dist/cjs/src/quarterback/useDocStore.js.map +0 -1
  167. package/dist/cjs/src/quarterback/usePouchStore.js +0 -75
  168. package/dist/cjs/src/quarterback/usePouchStore.js.map +0 -1
  169. package/dist/cjs/src/quarterback/useSnapshotStore.js +0 -140
  170. package/dist/cjs/src/quarterback/useSnapshotStore.js.map +0 -1
  171. package/dist/cjs/src/store/BiblioTools.js +0 -3
  172. package/dist/cjs/src/store/BiblioTools.js.map +0 -1
  173. package/dist/cjs/stories/Citation.stories.js +0 -43
  174. package/dist/cjs/stories/Citation.stories.js.map +0 -1
  175. package/dist/cjs/stories/LibrarySidebar.stories.js +0 -188
  176. package/dist/cjs/stories/LibrarySidebar.stories.js.map +0 -1
  177. package/dist/cjs/stories/Metadata.stories.js +0 -53
  178. package/dist/cjs/stories/Metadata.stories.js.map +0 -1
  179. package/dist/cjs/stories/Notification.stories.js +0 -62
  180. package/dist/cjs/stories/Notification.stories.js.map +0 -1
  181. package/dist/cjs/stories/Page.stories.js +0 -50
  182. package/dist/cjs/stories/Page.stories.js.map +0 -1
  183. package/dist/cjs/stories/Panel.stories.js +0 -62
  184. package/dist/cjs/stories/Panel.stories.js.map +0 -1
  185. package/dist/cjs/stories/Placeholders.stories.js +0 -23
  186. package/dist/cjs/stories/Placeholders.stories.js.map +0 -1
  187. package/dist/cjs/stories/PopperButtons.stories.js +0 -27
  188. package/dist/cjs/stories/PopperButtons.stories.js.map +0 -1
  189. package/dist/cjs/stories/Progress.stories.js +0 -25
  190. package/dist/cjs/stories/Progress.stories.js.map +0 -1
  191. package/dist/cjs/stories/ProgressIndicator.stories.js +0 -33
  192. package/dist/cjs/stories/ProgressIndicator.stories.js.map +0 -1
  193. package/dist/cjs/stories/ReloadDialog.stories.js +0 -21
  194. package/dist/cjs/stories/ReloadDialog.stories.js.map +0 -1
  195. package/dist/cjs/stories/RequirementsInspector.stories.js +0 -159
  196. package/dist/cjs/stories/RequirementsInspector.stories.js.map +0 -1
  197. package/dist/cjs/stories/RequirmentsList.stories.js +0 -36
  198. package/dist/cjs/stories/RequirmentsList.stories.js.map +0 -1
  199. package/dist/cjs/stories/SelectField.stories.js +0 -34
  200. package/dist/cjs/stories/SelectField.stories.js.map +0 -1
  201. package/dist/cjs/stories/Support.stories.js +0 -32
  202. package/dist/cjs/stories/Support.stories.js.map +0 -1
  203. package/dist/cjs/stories/data/doc.js +0 -27
  204. package/dist/cjs/stories/data/doc.js.map +0 -1
  205. package/dist/cjs/stories/data/validationData.js +0 -44
  206. package/dist/cjs/stories/data/validationData.js.map +0 -1
  207. package/dist/es/src/components/SelectField.js +0 -17
  208. package/dist/es/src/components/SelectField.js.map +0 -1
  209. package/dist/es/src/components/Support.js +0 -100
  210. package/dist/es/src/components/Support.js.map +0 -1
  211. package/dist/es/src/components/inspector/ElementStyleInspector.js +0 -13
  212. package/dist/es/src/components/inspector/ElementStyleInspector.js.map +0 -1
  213. package/dist/es/src/components/inspector/StatisticsInspector.js +0 -32
  214. package/dist/es/src/components/inspector/StatisticsInspector.js.map +0 -1
  215. package/dist/es/src/components/library/BibliographyImportButton.js +0 -120
  216. package/dist/es/src/components/library/BibliographyImportButton.js.map +0 -1
  217. package/dist/es/src/components/library/CitationEditor.js +0 -198
  218. package/dist/es/src/components/library/CitationEditor.js.map +0 -1
  219. package/dist/es/src/components/library/CitationModal.js +0 -232
  220. package/dist/es/src/components/library/CitationModal.js.map +0 -1
  221. package/dist/es/src/components/library/CitationModel.js +0 -180
  222. package/dist/es/src/components/library/CitationModel.js.map +0 -1
  223. package/dist/es/src/components/library/CitationProperties.js +0 -60
  224. package/dist/es/src/components/library/CitationProperties.js.map +0 -1
  225. package/dist/es/src/components/library/CitationSearch.js +0 -184
  226. package/dist/es/src/components/library/CitationSearch.js.map +0 -1
  227. package/dist/es/src/components/library/CitationSearchSection.js +0 -103
  228. package/dist/es/src/components/library/CitationSearchSection.js.map +0 -1
  229. package/dist/es/src/components/library/CitationViewer.js +0 -46
  230. package/dist/es/src/components/library/CitationViewer.js.map +0 -1
  231. package/dist/es/src/components/library/ExternalSearch.js +0 -127
  232. package/dist/es/src/components/library/ExternalSearch.js.map +0 -1
  233. package/dist/es/src/components/library/GlobalLibrary.js +0 -104
  234. package/dist/es/src/components/library/GlobalLibrary.js.map +0 -1
  235. package/dist/es/src/components/library/LibraryCollectionCategories.js +0 -45
  236. package/dist/es/src/components/library/LibraryCollectionCategories.js.map +0 -1
  237. package/dist/es/src/components/library/LibraryForm.js +0 -409
  238. package/dist/es/src/components/library/LibraryForm.js.map +0 -1
  239. package/dist/es/src/components/library/LibraryItems.js +0 -86
  240. package/dist/es/src/components/library/LibraryItems.js.map +0 -1
  241. package/dist/es/src/components/library/LibraryPageContainer.js +0 -80
  242. package/dist/es/src/components/library/LibraryPageContainer.js.map +0 -1
  243. package/dist/es/src/components/library/LibrarySidebar.js +0 -165
  244. package/dist/es/src/components/library/LibrarySidebar.js.map +0 -1
  245. package/dist/es/src/components/library/Messages.js +0 -18
  246. package/dist/es/src/components/library/Messages.js.map +0 -1
  247. package/dist/es/src/components/library/ProjectLibrary.js +0 -67
  248. package/dist/es/src/components/library/ProjectLibrary.js.map +0 -1
  249. package/dist/es/src/components/library/ReferenceForm.js +0 -389
  250. package/dist/es/src/components/library/ReferenceForm.js.map +0 -1
  251. package/dist/es/src/components/library/ReferencesEditor.js +0 -43
  252. package/dist/es/src/components/library/ReferencesEditor.js.map +0 -1
  253. package/dist/es/src/components/library/ReferencesViewer.js +0 -26
  254. package/dist/es/src/components/library/ReferencesViewer.js.map +0 -1
  255. package/dist/es/src/components/library/SearchResults.js +0 -119
  256. package/dist/es/src/components/library/SearchResults.js.map +0 -1
  257. package/dist/es/src/components/menu/ApplicationMenus.js +0 -72
  258. package/dist/es/src/components/menu/ApplicationMenus.js.map +0 -1
  259. package/dist/es/src/components/metadata/HeaderFigure.js +0 -117
  260. package/dist/es/src/components/metadata/HeaderFigure.js.map +0 -1
  261. package/dist/es/src/components/metadata/Metadata.js +0 -73
  262. package/dist/es/src/components/metadata/Metadata.js.map +0 -1
  263. package/dist/es/src/components/metadata/MetadataContainer.js +0 -178
  264. package/dist/es/src/components/metadata/MetadataContainer.js.map +0 -1
  265. package/dist/es/src/components/metadata/TitleFieldContainer.js +0 -49
  266. package/dist/es/src/components/metadata/TitleFieldContainer.js.map +0 -1
  267. package/dist/es/src/components/projects/ApplicationMenus.js +0 -67
  268. package/dist/es/src/components/projects/ApplicationMenus.js.map +0 -1
  269. package/dist/es/src/components/projects/CategorisedKeywordsInput.js +0 -409
  270. package/dist/es/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
  271. package/dist/es/src/components/projects/KeywordsInput.js +0 -73
  272. package/dist/es/src/components/projects/KeywordsInput.js.map +0 -1
  273. package/dist/es/src/components/projects/SortableManuscript.js +0 -72
  274. package/dist/es/src/components/projects/SortableManuscript.js.map +0 -1
  275. package/dist/es/src/components/projects/icons/DeleteIcon.js +0 -20
  276. package/dist/es/src/components/projects/icons/DeleteIcon.js.map +0 -1
  277. package/dist/es/src/components/projects/icons/GroupIcon.js +0 -22
  278. package/dist/es/src/components/projects/icons/GroupIcon.js.map +0 -1
  279. package/dist/es/src/components/projects/icons/LinkIcon.js +0 -16
  280. package/dist/es/src/components/projects/icons/LinkIcon.js.map +0 -1
  281. package/dist/es/src/components/projects/icons/TemplateIcon.js +0 -16
  282. package/dist/es/src/components/projects/icons/TemplateIcon.js.map +0 -1
  283. package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -72
  284. package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
  285. package/dist/es/src/components/projects/lean-workflow/CommentList.js +0 -259
  286. package/dist/es/src/components/projects/lean-workflow/CommentList.js.map +0 -1
  287. package/dist/es/src/components/projects/lean-workflow/CommentsTab.js +0 -34
  288. package/dist/es/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
  289. package/dist/es/src/components/projects/lean-workflow/ContentTab.js +0 -59
  290. package/dist/es/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
  291. package/dist/es/src/components/projects/lean-workflow/EditorElement.js +0 -227
  292. package/dist/es/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
  293. package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js +0 -120
  294. package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
  295. package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -159
  296. package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
  297. package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js +0 -23
  298. package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
  299. package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -99
  300. package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
  301. package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -20
  302. package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
  303. package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -22
  304. package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
  305. package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -16
  306. package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
  307. package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -16
  308. package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
  309. package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js +0 -11
  310. package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
  311. package/dist/es/src/components/requirements/RequirementContainer.js +0 -51
  312. package/dist/es/src/components/requirements/RequirementContainer.js.map +0 -1
  313. package/dist/es/src/components/requirements/RequirementsData.js +0 -99
  314. package/dist/es/src/components/requirements/RequirementsData.js.map +0 -1
  315. package/dist/es/src/components/requirements/RequirementsIcons.js +0 -24
  316. package/dist/es/src/components/requirements/RequirementsIcons.js.map +0 -1
  317. package/dist/es/src/components/requirements/RequirementsInspector.js +0 -118
  318. package/dist/es/src/components/requirements/RequirementsInspector.js.map +0 -1
  319. package/dist/es/src/components/requirements/RequirementsList.js +0 -54
  320. package/dist/es/src/components/requirements/RequirementsList.js.map +0 -1
  321. package/dist/es/src/components/requirements/SectionValidations.js +0 -40
  322. package/dist/es/src/components/requirements/SectionValidations.js.map +0 -1
  323. package/dist/es/src/components/toolbar/ListToolbarItemStyles.js +0 -59
  324. package/dist/es/src/components/toolbar/ListToolbarItemStyles.js.map +0 -1
  325. package/dist/es/src/components/toolbar/ManuscriptToolbar.js +0 -104
  326. package/dist/es/src/components/toolbar/ManuscriptToolbar.js.map +0 -1
  327. package/dist/es/src/components/toolbar/OrderdListToolbarItem.js +0 -158
  328. package/dist/es/src/components/toolbar/OrderdListToolbarItem.js.map +0 -1
  329. package/dist/es/src/components/track-changes/useEditorStore.js +0 -57
  330. package/dist/es/src/components/track-changes/useEditorStore.js.map +0 -1
  331. package/dist/es/src/hooks/use-requirements-validation.js +0 -83
  332. package/dist/es/src/hooks/use-requirements-validation.js.map +0 -1
  333. package/dist/es/src/lib/apollo.js +0 -35
  334. package/dist/es/src/lib/apollo.js.map +0 -1
  335. package/dist/es/src/lib/lean-workflow-gql.js +0 -33
  336. package/dist/es/src/lib/lean-workflow-gql.js.map +0 -1
  337. package/dist/es/src/lib/replace-attachments-ids.js +0 -44
  338. package/dist/es/src/lib/replace-attachments-ids.js.map +0 -1
  339. package/dist/es/src/lib/select-styles.js +0 -37
  340. package/dist/es/src/lib/select-styles.js.map +0 -1
  341. package/dist/es/src/lib/sources.js +0 -33
  342. package/dist/es/src/lib/sources.js.map +0 -1
  343. package/dist/es/src/postgres-data/Bibilo.js +0 -29
  344. package/dist/es/src/postgres-data/Bibilo.js.map +0 -1
  345. package/dist/es/src/quarterback/api/auth.js +0 -3
  346. package/dist/es/src/quarterback/api/auth.js.map +0 -1
  347. package/dist/es/src/quarterback/api/comment.js +0 -6
  348. package/dist/es/src/quarterback/api/comment.js.map +0 -1
  349. package/dist/es/src/quarterback/api/methodsV2.js +0 -111
  350. package/dist/es/src/quarterback/api/methodsV2.js.map +0 -1
  351. package/dist/es/src/quarterback/api/snapshot.js +0 -8
  352. package/dist/es/src/quarterback/api/snapshot.js.map +0 -1
  353. package/dist/es/src/quarterback/useAuthStore.js +0 -51
  354. package/dist/es/src/quarterback/useAuthStore.js.map +0 -1
  355. package/dist/es/src/quarterback/useCommentStore.js +0 -149
  356. package/dist/es/src/quarterback/useCommentStore.js.map +0 -1
  357. package/dist/es/src/quarterback/useDocStore.js +0 -92
  358. package/dist/es/src/quarterback/useDocStore.js.map +0 -1
  359. package/dist/es/src/quarterback/usePouchStore.js +0 -69
  360. package/dist/es/src/quarterback/usePouchStore.js.map +0 -1
  361. package/dist/es/src/quarterback/useSnapshotStore.js +0 -114
  362. package/dist/es/src/quarterback/useSnapshotStore.js.map +0 -1
  363. package/dist/es/src/store/BiblioTools.js +0 -2
  364. package/dist/es/src/store/BiblioTools.js.map +0 -1
  365. package/dist/es/stories/Citation.stories.js +0 -38
  366. package/dist/es/stories/Citation.stories.js.map +0 -1
  367. package/dist/es/stories/LibrarySidebar.stories.js +0 -183
  368. package/dist/es/stories/LibrarySidebar.stories.js.map +0 -1
  369. package/dist/es/stories/Metadata.stories.js +0 -48
  370. package/dist/es/stories/Metadata.stories.js.map +0 -1
  371. package/dist/es/stories/Notification.stories.js +0 -57
  372. package/dist/es/stories/Notification.stories.js.map +0 -1
  373. package/dist/es/stories/Page.stories.js +0 -45
  374. package/dist/es/stories/Page.stories.js.map +0 -1
  375. package/dist/es/stories/Panel.stories.js +0 -57
  376. package/dist/es/stories/Panel.stories.js.map +0 -1
  377. package/dist/es/stories/Placeholders.stories.js +0 -18
  378. package/dist/es/stories/Placeholders.stories.js.map +0 -1
  379. package/dist/es/stories/PopperButtons.stories.js +0 -22
  380. package/dist/es/stories/PopperButtons.stories.js.map +0 -1
  381. package/dist/es/stories/Progress.stories.js +0 -20
  382. package/dist/es/stories/Progress.stories.js.map +0 -1
  383. package/dist/es/stories/ProgressIndicator.stories.js +0 -28
  384. package/dist/es/stories/ProgressIndicator.stories.js.map +0 -1
  385. package/dist/es/stories/ReloadDialog.stories.js +0 -16
  386. package/dist/es/stories/ReloadDialog.stories.js.map +0 -1
  387. package/dist/es/stories/RequirementsInspector.stories.js +0 -154
  388. package/dist/es/stories/RequirementsInspector.stories.js.map +0 -1
  389. package/dist/es/stories/RequirmentsList.stories.js +0 -31
  390. package/dist/es/stories/RequirmentsList.stories.js.map +0 -1
  391. package/dist/es/stories/SelectField.stories.js +0 -29
  392. package/dist/es/stories/SelectField.stories.js.map +0 -1
  393. package/dist/es/stories/Support.stories.js +0 -27
  394. package/dist/es/stories/Support.stories.js.map +0 -1
  395. package/dist/es/stories/data/doc.js +0 -21
  396. package/dist/es/stories/data/doc.js.map +0 -1
  397. package/dist/es/stories/data/validationData.js +0 -41
  398. package/dist/es/stories/data/validationData.js.map +0 -1
  399. package/dist/types/src/components/SelectField.d.ts +0 -23
  400. package/dist/types/src/components/Support.d.ts +0 -13
  401. package/dist/types/src/components/inspector/ElementStyleInspector.d.ts +0 -13
  402. package/dist/types/src/components/inspector/StatisticsInspector.d.ts +0 -17
  403. package/dist/types/src/components/library/BibliographyImportButton.d.ts +0 -23
  404. package/dist/types/src/components/library/CitationEditor.d.ts +0 -30
  405. package/dist/types/src/components/library/CitationModal.d.ts +0 -17
  406. package/dist/types/src/components/library/CitationModel.d.ts +0 -18
  407. package/dist/types/src/components/library/CitationProperties.d.ts +0 -17
  408. package/dist/types/src/components/library/CitationSearch.d.ts +0 -22
  409. package/dist/types/src/components/library/CitationSearchSection.d.ts +0 -34
  410. package/dist/types/src/components/library/CitationViewer.d.ts +0 -18
  411. package/dist/types/src/components/library/ExternalSearch.d.ts +0 -19
  412. package/dist/types/src/components/library/GlobalLibrary.d.ts +0 -20
  413. package/dist/types/src/components/library/LibraryCollectionCategories.d.ts +0 -15
  414. package/dist/types/src/components/library/LibraryForm.d.ts +0 -20
  415. package/dist/types/src/components/library/LibraryItems.d.ts +0 -12
  416. package/dist/types/src/components/library/LibraryPageContainer.d.ts +0 -14
  417. package/dist/types/src/components/library/LibrarySidebar.d.ts +0 -21
  418. package/dist/types/src/components/library/Messages.d.ts +0 -15
  419. package/dist/types/src/components/library/ProjectLibrary.d.ts +0 -23
  420. package/dist/types/src/components/library/ReferenceForm.d.ts +0 -51
  421. package/dist/types/src/components/library/ReferencesEditor.d.ts +0 -22
  422. package/dist/types/src/components/library/ReferencesViewer.d.ts +0 -9
  423. package/dist/types/src/components/library/SearchResults.d.ts +0 -26
  424. package/dist/types/src/components/menu/ApplicationMenus.d.ts +0 -19
  425. package/dist/types/src/components/metadata/HeaderFigure.d.ts +0 -13
  426. package/dist/types/src/components/metadata/Metadata.d.ts +0 -60
  427. package/dist/types/src/components/metadata/MetadataContainer.d.ts +0 -21
  428. package/dist/types/src/components/metadata/TitleFieldContainer.d.ts +0 -19
  429. package/dist/types/src/components/projects/ApplicationMenus.d.ts +0 -20
  430. package/dist/types/src/components/projects/CategorisedKeywordsInput.d.ts +0 -6
  431. package/dist/types/src/components/projects/KeywordsInput.d.ts +0 -17
  432. package/dist/types/src/components/projects/SortableManuscript.d.ts +0 -18
  433. package/dist/types/src/components/projects/icons/DeleteIcon.d.ts +0 -13
  434. package/dist/types/src/components/projects/icons/GroupIcon.d.ts +0 -15
  435. package/dist/types/src/components/projects/icons/LinkIcon.d.ts +0 -13
  436. package/dist/types/src/components/projects/icons/TemplateIcon.d.ts +0 -13
  437. package/dist/types/src/components/projects/lean-workflow/ApplicationMenusLW.d.ts +0 -20
  438. package/dist/types/src/components/projects/lean-workflow/CommentList.d.ts +0 -18
  439. package/dist/types/src/components/projects/lean-workflow/CommentsTab.d.ts +0 -7
  440. package/dist/types/src/components/projects/lean-workflow/ContentTab.d.ts +0 -6
  441. package/dist/types/src/components/projects/lean-workflow/EditorElement.d.ts +0 -18
  442. package/dist/types/src/components/projects/lean-workflow/ExceptionDialog.d.ts +0 -4
  443. package/dist/types/src/components/projects/lean-workflow/ManuscriptPageContainerLW.d.ts +0 -18
  444. package/dist/types/src/components/projects/lean-workflow/SaveStatusController.d.ts +0 -17
  445. package/dist/types/src/components/projects/lean-workflow/TrackChangesStyles.d.ts +0 -13
  446. package/dist/types/src/components/projects/lean-workflow/icons/DeleteIcon.d.ts +0 -13
  447. package/dist/types/src/components/projects/lean-workflow/icons/GroupIcon.d.ts +0 -15
  448. package/dist/types/src/components/projects/lean-workflow/icons/LinkIcon.d.ts +0 -13
  449. package/dist/types/src/components/projects/lean-workflow/icons/TemplateIcon.d.ts +0 -13
  450. package/dist/types/src/components/projects/lean-workflow/provider/UserProvider.d.ts +0 -22
  451. package/dist/types/src/components/requirements/RequirementContainer.d.ts +0 -19
  452. package/dist/types/src/components/requirements/RequirementsData.d.ts +0 -21
  453. package/dist/types/src/components/requirements/RequirementsIcons.d.ts +0 -16
  454. package/dist/types/src/components/requirements/RequirementsInspector.d.ts +0 -23
  455. package/dist/types/src/components/requirements/RequirementsList.d.ts +0 -16
  456. package/dist/types/src/components/requirements/SectionValidations.d.ts +0 -21
  457. package/dist/types/src/components/toolbar/ListToolbarItemStyles.d.ts +0 -25
  458. package/dist/types/src/components/toolbar/ManuscriptToolbar.d.ts +0 -22
  459. package/dist/types/src/components/toolbar/OrderdListToolbarItem.d.ts +0 -24
  460. package/dist/types/src/components/track-changes/useEditorStore.d.ts +0 -36
  461. package/dist/types/src/hooks/use-requirements-validation.d.ts +0 -22
  462. package/dist/types/src/lib/apollo.d.ts +0 -13
  463. package/dist/types/src/lib/lean-workflow-gql.d.ts +0 -66
  464. package/dist/types/src/lib/replace-attachments-ids.d.ts +0 -15
  465. package/dist/types/src/lib/select-styles.d.ts +0 -13
  466. package/dist/types/src/lib/sources.d.ts +0 -25
  467. package/dist/types/src/postgres-data/Bibilo.d.ts +0 -33
  468. package/dist/types/src/quarterback/api/auth.d.ts +0 -13
  469. package/dist/types/src/quarterback/api/comment.d.ts +0 -16
  470. package/dist/types/src/quarterback/api/methodsV2.d.ts +0 -32
  471. package/dist/types/src/quarterback/api/snapshot.d.ts +0 -17
  472. package/dist/types/src/quarterback/useAuthStore.d.ts +0 -61
  473. package/dist/types/src/quarterback/useCommentStore.d.ts +0 -30
  474. package/dist/types/src/quarterback/useDocStore.d.ts +0 -19
  475. package/dist/types/src/quarterback/usePouchStore.d.ts +0 -30
  476. package/dist/types/src/quarterback/useSnapshotStore.d.ts +0 -29
  477. package/dist/types/src/store/BiblioTools.d.ts +0 -21
  478. package/dist/types/stories/Citation.stories.d.ts +0 -12
  479. package/dist/types/stories/LibrarySidebar.stories.d.ts +0 -12
  480. package/dist/types/stories/Metadata.stories.d.ts +0 -12
  481. package/dist/types/stories/Notification.stories.d.ts +0 -12
  482. package/dist/types/stories/Page.stories.d.ts +0 -12
  483. package/dist/types/stories/Panel.stories.d.ts +0 -12
  484. package/dist/types/stories/Placeholders.stories.d.ts +0 -12
  485. package/dist/types/stories/PopperButtons.stories.d.ts +0 -12
  486. package/dist/types/stories/Progress.stories.d.ts +0 -12
  487. package/dist/types/stories/ProgressIndicator.stories.d.ts +0 -12
  488. package/dist/types/stories/ReloadDialog.stories.d.ts +0 -12
  489. package/dist/types/stories/RequirementsInspector.stories.d.ts +0 -12
  490. package/dist/types/stories/RequirmentsList.stories.d.ts +0 -12
  491. package/dist/types/stories/SelectField.stories.d.ts +0 -12
  492. package/dist/types/stories/Support.stories.d.ts +0 -12
  493. package/dist/types/stories/data/doc.d.ts +0 -14
  494. package/dist/types/stories/data/validationData.d.ts +0 -13
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /*!
3
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
4
- *
5
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
6
- *
7
- * The Original Code is manuscripts-frontend.
8
- *
9
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
10
- *
11
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
12
- */
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- const react_1 = require("@storybook/react");
18
- const react_2 = __importDefault(require("react"));
19
- const RequirementsList_1 = require("../src/components/requirements/RequirementsList");
20
- const store_1 = require("../src/store");
21
- const doc_1 = require("./data/doc");
22
- const validationData_1 = require("./data/validationData");
23
- const bulkUpdate = async (items) => {
24
- return await new Promise((resolve, reject) => {
25
- resolve();
26
- });
27
- };
28
- const state = {
29
- bulkUpdate,
30
- manuscriptID: doc_1.manuscriptID,
31
- modelMap: doc_1.modelMap,
32
- };
33
- const store = new store_1.GenericStore(undefined, undefined, state);
34
- (0, react_1.storiesOf)('Requirments/List', module).add('validations', () => (react_2.default.createElement(store_1.GenericStoreProvider, { store: store },
35
- react_2.default.createElement(RequirementsList_1.RequirementsList, { validationResult: validationData_1.validationData }))));
36
- //# sourceMappingURL=RequirmentsList.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RequirmentsList.stories.js","sourceRoot":"","sources":["../../../stories/RequirmentsList.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAIH,4CAA4C;AAC5C,kDAAyB;AAEzB,sFAAkF;AAClF,wCAAiE;AACjE,oCAAmD;AACnD,0DAAsD;AAEtD,MAAM,UAAU,GAAG,KAAK,EAAE,KAA4B,EAAiB,EAAE;IACvE,OAAO,MAAM,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACjD,OAAO,EAAE,CAAA;IACX,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,KAAK,GAAG;IACZ,UAAU;IACV,YAAY,EAAZ,kBAAY;IACZ,QAAQ,EAAR,cAAQ;CACT,CAAA;AAED,MAAM,KAAK,GAAG,IAAI,oBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;AAE3D,IAAA,iBAAS,EAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,CAC7D,8BAAC,4BAAoB,IAAC,KAAK,EAAE,KAAK;IAChC,8BAAC,mCAAgB,IACf,gBAAgB,EAAE,+BAAuC,GACzD,CACmB,CACxB,CAAC,CAAA"}
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /*!
3
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
4
- *
5
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
6
- *
7
- * The Original Code is manuscripts-frontend.
8
- *
9
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
10
- *
11
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
12
- */
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- const style_guide_1 = require("@manuscripts/style-guide");
18
- const addon_actions_1 = require("@storybook/addon-actions");
19
- const react_1 = require("@storybook/react");
20
- const formik_1 = require("formik");
21
- const react_2 = __importDefault(require("react"));
22
- const SelectField_1 = require("../src/components/SelectField");
23
- const options = [
24
- { value: 'en', label: 'English' },
25
- { value: 'fr', label: 'French' },
26
- ];
27
- (0, react_1.storiesOf)('SelectField', module).add('manual submit', () => (react_2.default.createElement(formik_1.Formik, { initialValues: {
28
- locale: 'en',
29
- }, onSubmit: (0, addon_actions_1.action)('submit') },
30
- react_2.default.createElement(formik_1.Form, null,
31
- react_2.default.createElement(formik_1.Field, { name: 'locale', component: SelectField_1.SelectField, options: options }),
32
- react_2.default.createElement("div", { style: { marginTop: 20 } },
33
- react_2.default.createElement(style_guide_1.PrimaryButton, { type: "submit" }, "Save"))))));
34
- //# sourceMappingURL=SelectField.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectField.stories.js","sourceRoot":"","sources":["../../../stories/SelectField.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,0DAAwD;AACxD,4DAAiD;AACjD,4CAA4C;AAC5C,mCAA4C;AAC5C,kDAAyB;AAEzB,+DAA2D;AAE3D,MAAM,OAAO,GAAG;IACd,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE;IACjC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE;CACjC,CAAA;AAED,IAAA,iBAAS,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,CAC1D,8BAAC,eAAM,IACL,aAAa,EAAE;QACb,MAAM,EAAE,IAAI;KACb,EACD,QAAQ,EAAE,IAAA,sBAAM,EAAC,QAAQ,CAAC;IAE1B,8BAAC,aAAI;QACH,8BAAC,cAAK,IAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,yBAAW,EAAE,OAAO,EAAE,OAAO,GAAI;QACnE,uCAAK,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;YAC3B,8BAAC,2BAAa,IAAC,IAAI,EAAC,QAAQ,WAAqB,CAC7C,CACD,CACA,CACV,CAAC,CAAA"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- /*!
3
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
4
- *
5
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
6
- *
7
- * The Original Code is manuscripts-frontend.
8
- *
9
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
10
- *
11
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
12
- */
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- const react_1 = require("@storybook/react");
18
- const react_2 = __importDefault(require("react"));
19
- const styled_components_1 = __importDefault(require("styled-components"));
20
- const Support_1 = require("../src/components/Support");
21
- const Container = styled_components_1.default.div `
22
- height: 300px;
23
- width: 300px;
24
- display: flex;
25
- flex-direction: column;
26
- justify-content: space-between;
27
- align-items: flex-start;
28
- `;
29
- (0, react_1.storiesOf)('Support', module).add('Menu', () => (react_2.default.createElement(Container, null,
30
- react_2.default.createElement(Support_1.Support, null),
31
- react_2.default.createElement(Support_1.Support, null))));
32
- //# sourceMappingURL=Support.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Support.stories.js","sourceRoot":"","sources":["../../../stories/Support.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4CAA4C;AAC5C,kDAAyB;AACzB,0EAAsC;AAEtC,uDAAmD;AAEnD,MAAM,SAAS,GAAG,2BAAM,CAAC,GAAG,CAAA;;;;;;;CAO3B,CAAA;AAED,IAAA,iBAAS,EAAC,SAAS,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAC7C,8BAAC,SAAS;IACR,8BAAC,iBAAO,OAAG;IACX,8BAAC,iBAAO,OAAG,CACD,CACb,CAAC,CAAA"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- /*!
3
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
4
- *
5
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
6
- *
7
- * The Original Code is manuscripts-frontend.
8
- *
9
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
10
- *
11
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
12
- */
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.doc = exports.manuscriptID = exports.modelMap = void 0;
18
- const project_dump_2_json_1 = __importDefault(require("@manuscripts/examples/data/project-dump-2.json"));
19
- const transform_1 = require("@manuscripts/transform");
20
- exports.modelMap = new Map();
21
- project_dump_2_json_1.default.data.forEach((model) => {
22
- exports.modelMap.set(model._id, model);
23
- });
24
- const decoder = new transform_1.Decoder(exports.modelMap);
25
- exports.manuscriptID = 'MPManuscript:561C1FB2-3A94-4460-AB75-426F80BC7071';
26
- exports.doc = decoder.createArticleNode(exports.manuscriptID);
27
- //# sourceMappingURL=doc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"doc.js","sourceRoot":"","sources":["../../../../stories/data/doc.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;AAEH,yGAAwE;AAExE,sDAAgD;AAEnC,QAAA,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAA;AAEjC,6BAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,KAAY,EAAE,EAAE;IACxC,gBAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;AAChC,CAAC,CAAC,CAAA;AAEF,MAAM,OAAO,GAAG,IAAI,mBAAO,CAAC,gBAAQ,CAAC,CAAA;AAExB,QAAA,YAAY,GAAG,mDAAmD,CAAA;AAElE,QAAA,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,oBAAY,CAAC,CAAA"}
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /*!
3
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
4
- *
5
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
6
- *
7
- * The Original Code is manuscripts-frontend.
8
- *
9
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
10
- *
11
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2020 Atypon Systems LLC. All Rights Reserved.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.validationData = void 0;
15
- exports.validationData = [
16
- {
17
- type: 'section-order',
18
- severity: 0,
19
- passed: true,
20
- data: {
21
- order: [],
22
- },
23
- fixable: true,
24
- objectType: 'MPSectionOrderValidationResult',
25
- _id: 'MPSectionOrderValidationResult:FCD54873-BAD0-488E-96C8-D1ECA23DD1F4',
26
- message: 'Sections must be listed in the following order Abstract',
27
- ignored: false,
28
- },
29
- {
30
- type: 'section-body-has-content',
31
- passed: false,
32
- severity: 0,
33
- data: {
34
- id: 'MPSection:6383A9BC-CB0E-4B0E-BB3A-31E0B5143256',
35
- sectionCategory: 'MPSectionCategory:abstract',
36
- },
37
- fixable: true,
38
- objectType: 'MPSectionBodyValidationResult',
39
- _id: 'MPSectionBodyValidationResult:2C772412-BA8C-46A4-B0D6-DFDC8BCB793A',
40
- message: 'Abstract section must contains content',
41
- ignored: false,
42
- },
43
- ];
44
- //# sourceMappingURL=validationData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validationData.js","sourceRoot":"","sources":["../../../../stories/data/validationData.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIU,QAAA,cAAc,GAA0B;IACnD;QACE,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,CAAC;QACX,MAAM,EAAE,IAAI;QACZ,IAAI,EAAE;YACJ,KAAK,EAAE,EAAE;SACV;QACD,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,gCAAgC;QAC5C,GAAG,EAAE,qEAAqE;QAC1E,OAAO,EAAE,yDAAyD;QAClE,OAAO,EAAE,KAAK;KACf;IACD;QACE,IAAI,EAAE,0BAA0B;QAChC,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,CAAC;QACX,IAAI,EAAE;YACJ,EAAE,EAAE,gDAAgD;YACpD,eAAe,EAAE,4BAA4B;SAC9C;QACD,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,+BAA+B;QAC3C,GAAG,EAAE,oEAAoE;QACzE,OAAO,EAAE,wCAAwC;QACjD,OAAO,EAAE,KAAK;KACf;CACF,CAAA"}
@@ -1,17 +0,0 @@
1
- /*!
2
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
- *
4
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
- *
6
- * The Original Code is manuscripts-frontend.
7
- *
8
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
- *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import React from 'react';
13
- import Select from 'react-select';
14
- export const SelectField = ({ id, options, field, form, }) => (React.createElement(Select, { inputId: id, options: options, name: field.name, value: options
15
- ? options.find((option) => option.value === field.value)
16
- : undefined, onChange: (option) => form.setFieldValue(field.name, option.value), onBlur: field.onBlur }));
17
- //# sourceMappingURL=SelectField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectField.js","sourceRoot":"","sources":["../../../../src/components/SelectField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,MAAM,MAAM,cAAc,CAAA;AAYjC,MAAM,CAAC,MAAM,WAAW,GAAgD,CAAC,EACvE,EAAE,EACF,OAAO,EACP,KAAK,EACL,IAAI,GACL,EAAE,EAAE,CAAC,CACJ,oBAAC,MAAM,IACL,OAAO,EAAE,EAAE,EACX,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,KAAK,EACH,OAAO;QACL,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,KAAK,KAAK,CAAC,KAAK,CAAC;QACxD,CAAC,CAAC,SAAS,EAEf,QAAQ,EAAE,CAAC,MAAkB,EAAE,EAAE,CAC/B,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,EAE9C,MAAM,EAAE,KAAK,CAAC,MAAM,GACpB,CACH,CAAA"}
@@ -1,100 +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 DocumentationIcon from '@manuscripts/assets/react/Documentation';
13
- import SupportIcon from '@manuscripts/assets/react/Support';
14
- import { IconButton } from '@manuscripts/style-guide';
15
- import React from 'react';
16
- import { Manager, Popper, Reference } from 'react-popper';
17
- import styled, { css } from 'styled-components';
18
- import { useDropdown } from '../hooks/use-dropdown';
19
- import { Popup } from './nav/Updates';
20
- const Button = styled(IconButton).attrs(() => ({
21
- size: 56,
22
- })) `
23
- color: ${(props) => props.theme.colors.text.secondary};
24
- padding: ${(props) => props.theme.grid.unit * 2}px;
25
- `;
26
- const StyledSupportIcon = styled(SupportIcon) `
27
- g {
28
- stroke: currentColor;
29
- }
30
-
31
- &:hover {
32
- g {
33
- stroke: #7fb5d5;
34
- }
35
- }
36
- `;
37
- const linkStyle = css `
38
- display: flex;
39
- padding: ${(props) => props.theme.grid.unit * 2}px
40
- ${(props) => props.theme.grid.unit * 4}px;
41
- align-items: center;
42
- font-size: ${(props) => props.theme.font.size.normal};
43
- color: ${(props) => props.theme.colors.text.primary};
44
- text-decoration: none;
45
-
46
- &:hover {
47
- background: ${(props) => props.theme.colors.background.fifth};
48
- }
49
- `;
50
- const ExternalMenuLink = styled.a.attrs({
51
- target: '_blank',
52
- rel: 'noopener noreferer',
53
- }) `
54
- ${linkStyle}
55
- `;
56
- const MenuText = styled.div `
57
- margin-left: ${(props) => props.theme.grid.unit * 2}px;
58
- `;
59
- const Menu = styled.div `
60
- padding: ${(props) => props.theme.grid.unit * 2}px 0;
61
- `;
62
- const arrowTopBorderStyle = css `
63
- bottom: -${(props) => props.theme.grid.unit * 2}px;
64
- border-top: ${(props) => props.theme.grid.unit * 2}px solid
65
- ${(props) => props.theme.colors.border.secondary};
66
- `;
67
- const arrowBottomBorderStyle = css `
68
- top: -${(props) => props.theme.grid.unit * 2}px;
69
- border-bottom: ${(props) => props.theme.grid.unit * 2}px solid
70
- ${(props) => props.theme.colors.border.secondary};
71
- `;
72
- const Arrow = styled.div `
73
- width: 0;
74
- height: 0;
75
- border-left: ${(props) => props.theme.grid.unit * 2}px solid transparent;
76
- border-right: ${(props) => props.theme.grid.unit * 2}px solid transparent;
77
- ${(props) => props['data-placement'] === 'top'
78
- ? arrowTopBorderStyle
79
- : arrowBottomBorderStyle};
80
- position: absolute;
81
- `;
82
- const Container = styled.div `
83
- position: relative;
84
- `;
85
- export const Support = React.memo(() => {
86
- const { wrapperRef, toggleOpen, isOpen } = useDropdown();
87
- return (React.createElement(Manager, null,
88
- React.createElement("div", { ref: wrapperRef },
89
- React.createElement(Reference, null, ({ ref }) => (React.createElement(Button, { ref: ref, onClick: toggleOpen },
90
- React.createElement(StyledSupportIcon, { width: 32, height: 32 })))),
91
- isOpen && (React.createElement(Popper, { placement: 'top' }, ({ ref, style, placement, arrowProps }) => (React.createElement("div", { ref: ref, style: { ...style, zIndex: 3 }, "data-placement": placement },
92
- React.createElement(Container, null,
93
- React.createElement(Popup, null,
94
- React.createElement(Menu, null,
95
- React.createElement(ExternalMenuLink, { href: 'https://support.manuscripts.io/' },
96
- React.createElement(DocumentationIcon, null),
97
- React.createElement(MenuText, null, "Documentation")))),
98
- React.createElement(Arrow, { ...arrowProps, "data-placement": placement })))))))));
99
- });
100
- //# sourceMappingURL=Support.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Support.js","sourceRoot":"","sources":["../../../../src/components/Support.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,iBAAiB,MAAM,yCAAyC,CAAA;AACvE,OAAO,WAAW,MAAM,mCAAmC,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErC,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7C,IAAI,EAAE,EAAE;CACT,CAAC,CAAC,CAAA;WACQ,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS;aAC1C,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;CAChD,CAAA;AAED,MAAM,iBAAiB,GAAG,MAAM,CAAC,WAAW,CAAC,CAAA;;;;;;;;;;CAU5C,CAAA;AAED,MAAM,SAAS,GAAG,GAAG,CAAA;;aAER,CAAC,KAA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AM,IAAC,SAAS,EAAE,KAAK,IACrB,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAC1C,6BACE,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,oBACd,SAAS;gBAEzB,oBAAC,SAAS;oBACR,oBAAC,KAAK;wBACJ,oBAAC,IAAI;4BACH,oBAAC,gBAAgB,IACf,IAAI,EAAE,iCAAiC;gCAEvC,oBAAC,iBAAiB,OAAG;gCACrB,oBAAC,QAAQ,wBAAyB,CACjB,CACd,CACD;oBAER,oBAAC,KAAK,OAAK,UAAU,oBAAkB,SAAS,GAAI,CAC1C,CACR,CACP,CACM,CACV,CACG,CACE,CACX,CAAA;AACH,CAAC,CAAC,CAAA"}
@@ -1,13 +0,0 @@
1
- /*!
2
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
- *
4
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
- *
6
- * The Original Code is manuscripts-frontend.
7
- *
8
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
- *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- export {};
13
- //# sourceMappingURL=ElementStyleInspector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ElementStyleInspector.js","sourceRoot":"","sources":["../../../../../src/components/inspector/ElementStyleInspector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"}
@@ -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) 2019 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { Statistics } from '@manuscripts/body-editor';
13
- import React from 'react';
14
- import styled from 'styled-components';
15
- import { InspectorSection, Subheading } from '../InspectorSection';
16
- const InspectorSubsection = styled.div `
17
- margin-left: ${(props) => props.theme.grid.unit * 2}px;
18
-
19
- :not(:first-child) {
20
- margin-top: ${(props) => props.theme.grid.unit * 4}px;
21
- }
22
- `;
23
- export const StatisticsInspector = ({ manuscript, section }) => {
24
- return (React.createElement(InspectorSection, { title: 'Statistics' },
25
- React.createElement(InspectorSubsection, null,
26
- React.createElement(Subheading, null, "Manuscript"),
27
- React.createElement(Statistics, { node: manuscript })),
28
- section && (React.createElement(InspectorSubsection, null,
29
- React.createElement(Subheading, null, "Section"),
30
- React.createElement(Statistics, { node: section })))));
31
- };
32
- //# sourceMappingURL=StatisticsInspector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatisticsInspector.js","sourceRoot":"","sources":["../../../../../src/components/inspector/StatisticsInspector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAElE,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;iBACrB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;;;kBAGnC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;;CAErD,CAAA;AAED,MAAM,CAAC,MAAM,mBAAmB,GAG3B,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;IAC/B,OAAO,CACL,oBAAC,gBAAgB,IAAC,KAAK,EAAE,YAAY;QACnC,oBAAC,mBAAmB;YAClB,oBAAC,UAAU,qBAAwB;YAEnC,oBAAC,UAAU,IAAC,IAAI,EAAE,UAAU,GAAI,CACZ;QAErB,OAAO,IAAI,CACV,oBAAC,mBAAmB;YAClB,oBAAC,UAAU,kBAAqB;YAEhC,oBAAC,UAAU,IAAC,IAAI,EAAE,OAAO,GAAI,CACT,CACvB,CACgB,CACpB,CAAA;AACH,CAAC,CAAA"}
@@ -1,120 +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 AttentionRed from '@manuscripts/assets/react/AttentionRed';
13
- import Check from '@manuscripts/assets/react/Check';
14
- import { parseBibliography } from '@manuscripts/library';
15
- import { SecondaryButton } from '@manuscripts/style-guide';
16
- import { buildBibliographyItem } from '@manuscripts/transform';
17
- import React, { useCallback, useContext, useState } from 'react';
18
- import { FormattedMessage } from 'react-intl';
19
- import { FileExtensionError } from '../../lib/errors';
20
- import { ContactSupportButton } from '../ContactSupportButton';
21
- import { NotificationContext, } from '../NotificationProvider';
22
- import { NotificationActions, NotificationHead, NotificationMessage, NotificationPrompt, NotificationTitle, } from '../Notifications';
23
- const CITATION_IMPORT_NOTIFICATION_ID = 'citation-import';
24
- const createCitationImportErrorNotification = (title) => ({ removeNotification }) => (React.createElement(NotificationPrompt, null,
25
- React.createElement(NotificationHead, null,
26
- React.createElement(AttentionRed, null),
27
- React.createElement(NotificationMessage, null,
28
- React.createElement(NotificationTitle, null, title))),
29
- React.createElement(NotificationActions, null,
30
- React.createElement(SecondaryButton, { onClick: removeNotification }, "Dismiss"))));
31
- const createCitationImportSuccessNotification = (count) => ({ removeNotification }) => (React.createElement(NotificationPrompt, null,
32
- React.createElement(NotificationHead, null,
33
- React.createElement(Check, { color: 'green' }),
34
- React.createElement(NotificationMessage, null,
35
- React.createElement(NotificationTitle, null,
36
- React.createElement(CitationImportSuccessMessage, { count: count })))),
37
- React.createElement(NotificationActions, null,
38
- React.createElement(SecondaryButton, { onClick: removeNotification }, "Dismiss"))));
39
- const openFilePicker = (acceptedExtensions, multiple = false) => new Promise((resolve, reject) => {
40
- const input = document.createElement('input');
41
- input.type = 'file';
42
- input.accept = acceptedExtensions.join(',');
43
- input.multiple = multiple;
44
- const handleFocus = () => {
45
- window.removeEventListener('focus', handleFocus);
46
- // This event is fired before the input's change event,
47
- // and before the input's FileList has been populated,
48
- // so a delay is needed.
49
- window.setTimeout(() => {
50
- if (!input.files || !input.files.length) {
51
- resolve([]);
52
- }
53
- }, 1000);
54
- };
55
- // window "focus" event, fired even if the file picker is cancelled.
56
- window.addEventListener('focus', handleFocus);
57
- input.addEventListener('change', () => {
58
- if (input.files && input.files.length) {
59
- for (const file of input.files) {
60
- const ext = file.type.split('/').pop() || '';
61
- const extension = ext.toLowerCase();
62
- if (!acceptedExtensions.includes(extension)) {
63
- const error = new FileExtensionError(extension, acceptedExtensions);
64
- reject(error);
65
- return;
66
- }
67
- }
68
- resolve(Array.from(input.files));
69
- }
70
- else {
71
- resolve([]);
72
- }
73
- });
74
- input.click();
75
- });
76
- export const BibliographyImportButton = React.memo(({ importItems, component: Component }) => {
77
- const { showNotification } = useContext(NotificationContext);
78
- const [importing, setImporting] = useState(false);
79
- const handleImport = useCallback(() => {
80
- setImporting(true);
81
- openFilePicker(['.bib', '.bibtex', '.ris'])
82
- .then(async ([file]) => {
83
- if (!file) {
84
- return;
85
- }
86
- const text = await window
87
- .fetch(URL.createObjectURL(file))
88
- .then((response) => response.text());
89
- if (!text) {
90
- showNotification(CITATION_IMPORT_NOTIFICATION_ID, createCitationImportErrorNotification('No bibliography items were found in this file'));
91
- return;
92
- }
93
- const ext = file.type.split('/').pop() || '';
94
- const items = await parseBibliography(text, ext);
95
- if (!items || !items.length) {
96
- showNotification(CITATION_IMPORT_NOTIFICATION_ID, createCitationImportErrorNotification('No bibliography items were found in this file'));
97
- return;
98
- }
99
- const bibliographyItems = items.map(buildBibliographyItem);
100
- const newItems = await importItems(bibliographyItems);
101
- showNotification(CITATION_IMPORT_NOTIFICATION_ID, createCitationImportSuccessNotification(newItems.length));
102
- })
103
- .finally(() => {
104
- setImporting(false);
105
- })
106
- .catch(() => {
107
- showNotification(CITATION_IMPORT_NOTIFICATION_ID, createCitationImportErrorNotification(React.createElement(React.Fragment, null,
108
- "There was an error importing the file. Please",
109
- ' ',
110
- React.createElement(ContactSupportButton, null, "contact support"),
111
- " if this persists.")));
112
- });
113
- }, [importItems, showNotification]);
114
- return React.createElement(Component, { importItems: handleImport, importing: importing });
115
- });
116
- const CitationImportSuccessMessage = ({ count }) => (React.createElement(FormattedMessage, { id: 'citation_import_success', defaultMessage: `{count, number} {count, plural,
117
- one {record}
118
- other {records}
119
- } imported into the project library`, values: { count } }));
120
- //# sourceMappingURL=BibliographyImportButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BibliographyImportButton.js","sourceRoot":"","sources":["../../../../../src/components/library/BibliographyImportButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,YAAY,MAAM,wCAAwC,CAAA;AACjE,OAAO,KAAK,MAAM,iCAAiC,CAAA;AAEnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC1D,OAAO,EAAS,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AACrE,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,EAEL,mBAAmB,GACpB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,+BAA+B,GAAG,iBAAiB,CAAA;AAEzD,MAAM,qCAAqC,GACzC,CAAC,KAA2B,EAAyB,EAAE,CACvD,CAAC,EAAE,kBAAkB,EAAE,EAAE,EAAE,CACzB,CACE,oBAAC,kBAAkB;IACjB,oBAAC,gBAAgB;QACf,oBAAC,YAAY,OAAG;QAChB,oBAAC,mBAAmB;YAClB,oBAAC,iBAAiB,QAAE,KA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