@manuscripts/article-editor 1.6.6-LEAN-3030-1 → 1.6.7

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 (336) hide show
  1. package/dist/cjs/src/components/projects/ManuscriptPageContainer.js +2 -1
  2. package/dist/cjs/src/components/projects/ManuscriptPageContainer.js.map +1 -1
  3. package/dist/cjs/src/components/projects/ManuscriptSidebar.js +61 -4
  4. package/dist/cjs/src/components/projects/ManuscriptSidebar.js.map +1 -1
  5. package/dist/cjs/src/hooks/use-create-editor.js +9 -1
  6. package/dist/cjs/src/hooks/use-create-editor.js.map +1 -1
  7. package/dist/cjs/src/hooks/use-tracked-model-management.js +3 -3
  8. package/dist/cjs/src/hooks/use-tracked-model-management.js.map +1 -1
  9. package/dist/cjs/src/postgres-data/buildUtilities.js +10 -0
  10. package/dist/cjs/src/postgres-data/buildUtilities.js.map +1 -1
  11. package/dist/cjs/src/store/Store.js.map +1 -1
  12. package/dist/cjs/src/store/index.js +1 -0
  13. package/dist/cjs/src/store/index.js.map +1 -1
  14. package/dist/es/src/components/projects/ManuscriptPageContainer.js +2 -1
  15. package/dist/es/src/components/projects/ManuscriptPageContainer.js.map +1 -1
  16. package/dist/es/src/components/projects/ManuscriptSidebar.js +39 -5
  17. package/dist/es/src/components/projects/ManuscriptSidebar.js.map +1 -1
  18. package/dist/es/src/hooks/use-create-editor.js +9 -1
  19. package/dist/es/src/hooks/use-create-editor.js.map +1 -1
  20. package/dist/es/src/hooks/use-tracked-model-management.js +4 -4
  21. package/dist/es/src/hooks/use-tracked-model-management.js.map +1 -1
  22. package/dist/es/src/postgres-data/buildUtilities.js +10 -0
  23. package/dist/es/src/postgres-data/buildUtilities.js.map +1 -1
  24. package/dist/es/src/store/Store.js.map +1 -1
  25. package/dist/es/src/store/index.js +1 -0
  26. package/dist/es/src/store/index.js.map +1 -1
  27. package/dist/types/src/components/projects/ManuscriptSidebar.d.ts +9 -4
  28. package/dist/types/src/postgres-data/buildUtilities.d.ts +8 -0
  29. package/dist/types/src/store/Store.d.ts +2 -0
  30. package/dist/types/src/store/index.d.ts +1 -0
  31. package/package.json +5 -6
  32. package/dist/cjs/src/components/Support.js +0 -129
  33. package/dist/cjs/src/components/Support.js.map +0 -1
  34. package/dist/cjs/src/components/inspector/ElementStyleInspector.js +0 -14
  35. package/dist/cjs/src/components/inspector/ElementStyleInspector.js.map +0 -1
  36. package/dist/cjs/src/components/inspector/StatisticsInspector.js +0 -39
  37. package/dist/cjs/src/components/inspector/StatisticsInspector.js.map +0 -1
  38. package/dist/cjs/src/components/library/CitationModel.js +0 -210
  39. package/dist/cjs/src/components/library/CitationModel.js.map +0 -1
  40. package/dist/cjs/src/components/library/CitationProperties.js +0 -67
  41. package/dist/cjs/src/components/library/CitationProperties.js.map +0 -1
  42. package/dist/cjs/src/components/library/ExternalSearch.js +0 -156
  43. package/dist/cjs/src/components/library/ExternalSearch.js.map +0 -1
  44. package/dist/cjs/src/components/library/GlobalLibrary.js +0 -133
  45. package/dist/cjs/src/components/library/GlobalLibrary.js.map +0 -1
  46. package/dist/cjs/src/components/library/LibraryCollectionCategories.js +0 -53
  47. package/dist/cjs/src/components/library/LibraryCollectionCategories.js.map +0 -1
  48. package/dist/cjs/src/components/library/LibraryForm.js +0 -437
  49. package/dist/cjs/src/components/library/LibraryForm.js.map +0 -1
  50. package/dist/cjs/src/components/library/LibraryItems.js +0 -116
  51. package/dist/cjs/src/components/library/LibraryItems.js.map +0 -1
  52. package/dist/cjs/src/components/library/LibraryPageContainer.js +0 -107
  53. package/dist/cjs/src/components/library/LibraryPageContainer.js.map +0 -1
  54. package/dist/cjs/src/components/library/LibrarySidebar.js +0 -172
  55. package/dist/cjs/src/components/library/LibrarySidebar.js.map +0 -1
  56. package/dist/cjs/src/components/library/Messages.js +0 -25
  57. package/dist/cjs/src/components/library/Messages.js.map +0 -1
  58. package/dist/cjs/src/components/library/ProjectLibrary.js +0 -96
  59. package/dist/cjs/src/components/library/ProjectLibrary.js.map +0 -1
  60. package/dist/cjs/src/components/metadata/HeaderFigure.js +0 -147
  61. package/dist/cjs/src/components/metadata/HeaderFigure.js.map +0 -1
  62. package/dist/cjs/src/components/metadata/Metadata.js +0 -103
  63. package/dist/cjs/src/components/metadata/Metadata.js.map +0 -1
  64. package/dist/cjs/src/components/metadata/MetadataContainer.js +0 -203
  65. package/dist/cjs/src/components/metadata/MetadataContainer.js.map +0 -1
  66. package/dist/cjs/src/components/metadata/TitleFieldContainer.js +0 -56
  67. package/dist/cjs/src/components/metadata/TitleFieldContainer.js.map +0 -1
  68. package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js +0 -439
  69. package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
  70. package/dist/cjs/src/components/projects/KeywordsInput.js +0 -80
  71. package/dist/cjs/src/components/projects/KeywordsInput.js.map +0 -1
  72. package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -102
  73. package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
  74. package/dist/cjs/src/components/projects/lean-workflow/CommentList.js +0 -289
  75. package/dist/cjs/src/components/projects/lean-workflow/CommentList.js.map +0 -1
  76. package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js +0 -41
  77. package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
  78. package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js +0 -66
  79. package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
  80. package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js +0 -252
  81. package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
  82. package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js +0 -150
  83. package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
  84. package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -187
  85. package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
  86. package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js +0 -53
  87. package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
  88. package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -106
  89. package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
  90. package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -27
  91. package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
  92. package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -29
  93. package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
  94. package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -23
  95. package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
  96. package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -23
  97. package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
  98. package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js +0 -38
  99. package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
  100. package/dist/cjs/src/components/requirements/RequirementContainer.js +0 -58
  101. package/dist/cjs/src/components/requirements/RequirementContainer.js.map +0 -1
  102. package/dist/cjs/src/components/requirements/RequirementsData.js +0 -129
  103. package/dist/cjs/src/components/requirements/RequirementsData.js.map +0 -1
  104. package/dist/cjs/src/components/requirements/RequirementsIcons.js +0 -34
  105. package/dist/cjs/src/components/requirements/RequirementsIcons.js.map +0 -1
  106. package/dist/cjs/src/components/requirements/RequirementsInspector.js +0 -150
  107. package/dist/cjs/src/components/requirements/RequirementsInspector.js.map +0 -1
  108. package/dist/cjs/src/components/requirements/RequirementsList.js +0 -84
  109. package/dist/cjs/src/components/requirements/RequirementsList.js.map +0 -1
  110. package/dist/cjs/src/components/requirements/SectionValidations.js +0 -47
  111. package/dist/cjs/src/components/requirements/SectionValidations.js.map +0 -1
  112. package/dist/cjs/src/hooks/use-requirements-validation.js +0 -87
  113. package/dist/cjs/src/hooks/use-requirements-validation.js.map +0 -1
  114. package/dist/cjs/src/lib/apollo.js +0 -41
  115. package/dist/cjs/src/lib/apollo.js.map +0 -1
  116. package/dist/cjs/src/lib/lean-workflow-gql.js +0 -40
  117. package/dist/cjs/src/lib/lean-workflow-gql.js.map +0 -1
  118. package/dist/cjs/src/lib/replace-attachments-ids.js +0 -49
  119. package/dist/cjs/src/lib/replace-attachments-ids.js.map +0 -1
  120. package/dist/cjs/stories/Citation.stories.js +0 -43
  121. package/dist/cjs/stories/Citation.stories.js.map +0 -1
  122. package/dist/cjs/stories/LibrarySidebar.stories.js +0 -188
  123. package/dist/cjs/stories/LibrarySidebar.stories.js.map +0 -1
  124. package/dist/cjs/stories/Metadata.stories.js +0 -53
  125. package/dist/cjs/stories/Metadata.stories.js.map +0 -1
  126. package/dist/cjs/stories/Notification.stories.js +0 -62
  127. package/dist/cjs/stories/Notification.stories.js.map +0 -1
  128. package/dist/cjs/stories/Page.stories.js +0 -50
  129. package/dist/cjs/stories/Page.stories.js.map +0 -1
  130. package/dist/cjs/stories/Panel.stories.js +0 -62
  131. package/dist/cjs/stories/Panel.stories.js.map +0 -1
  132. package/dist/cjs/stories/Placeholders.stories.js +0 -23
  133. package/dist/cjs/stories/Placeholders.stories.js.map +0 -1
  134. package/dist/cjs/stories/PopperButtons.stories.js +0 -27
  135. package/dist/cjs/stories/PopperButtons.stories.js.map +0 -1
  136. package/dist/cjs/stories/Progress.stories.js +0 -25
  137. package/dist/cjs/stories/Progress.stories.js.map +0 -1
  138. package/dist/cjs/stories/ProgressIndicator.stories.js +0 -33
  139. package/dist/cjs/stories/ProgressIndicator.stories.js.map +0 -1
  140. package/dist/cjs/stories/ReloadDialog.stories.js +0 -21
  141. package/dist/cjs/stories/ReloadDialog.stories.js.map +0 -1
  142. package/dist/cjs/stories/RequirementsInspector.stories.js +0 -159
  143. package/dist/cjs/stories/RequirementsInspector.stories.js.map +0 -1
  144. package/dist/cjs/stories/RequirmentsList.stories.js +0 -36
  145. package/dist/cjs/stories/RequirmentsList.stories.js.map +0 -1
  146. package/dist/cjs/stories/SelectField.stories.js +0 -34
  147. package/dist/cjs/stories/SelectField.stories.js.map +0 -1
  148. package/dist/cjs/stories/Support.stories.js +0 -32
  149. package/dist/cjs/stories/Support.stories.js.map +0 -1
  150. package/dist/cjs/stories/data/doc.js +0 -27
  151. package/dist/cjs/stories/data/doc.js.map +0 -1
  152. package/dist/cjs/stories/data/validationData.js +0 -44
  153. package/dist/cjs/stories/data/validationData.js.map +0 -1
  154. package/dist/es/src/components/Support.js +0 -100
  155. package/dist/es/src/components/Support.js.map +0 -1
  156. package/dist/es/src/components/inspector/ElementStyleInspector.js +0 -13
  157. package/dist/es/src/components/inspector/ElementStyleInspector.js.map +0 -1
  158. package/dist/es/src/components/inspector/StatisticsInspector.js +0 -32
  159. package/dist/es/src/components/inspector/StatisticsInspector.js.map +0 -1
  160. package/dist/es/src/components/library/CitationModel.js +0 -180
  161. package/dist/es/src/components/library/CitationModel.js.map +0 -1
  162. package/dist/es/src/components/library/CitationProperties.js +0 -60
  163. package/dist/es/src/components/library/CitationProperties.js.map +0 -1
  164. package/dist/es/src/components/library/ExternalSearch.js +0 -127
  165. package/dist/es/src/components/library/ExternalSearch.js.map +0 -1
  166. package/dist/es/src/components/library/GlobalLibrary.js +0 -104
  167. package/dist/es/src/components/library/GlobalLibrary.js.map +0 -1
  168. package/dist/es/src/components/library/LibraryCollectionCategories.js +0 -45
  169. package/dist/es/src/components/library/LibraryCollectionCategories.js.map +0 -1
  170. package/dist/es/src/components/library/LibraryForm.js +0 -409
  171. package/dist/es/src/components/library/LibraryForm.js.map +0 -1
  172. package/dist/es/src/components/library/LibraryItems.js +0 -86
  173. package/dist/es/src/components/library/LibraryItems.js.map +0 -1
  174. package/dist/es/src/components/library/LibraryPageContainer.js +0 -80
  175. package/dist/es/src/components/library/LibraryPageContainer.js.map +0 -1
  176. package/dist/es/src/components/library/LibrarySidebar.js +0 -165
  177. package/dist/es/src/components/library/LibrarySidebar.js.map +0 -1
  178. package/dist/es/src/components/library/Messages.js +0 -18
  179. package/dist/es/src/components/library/Messages.js.map +0 -1
  180. package/dist/es/src/components/library/ProjectLibrary.js +0 -67
  181. package/dist/es/src/components/library/ProjectLibrary.js.map +0 -1
  182. package/dist/es/src/components/metadata/HeaderFigure.js +0 -117
  183. package/dist/es/src/components/metadata/HeaderFigure.js.map +0 -1
  184. package/dist/es/src/components/metadata/Metadata.js +0 -73
  185. package/dist/es/src/components/metadata/Metadata.js.map +0 -1
  186. package/dist/es/src/components/metadata/MetadataContainer.js +0 -178
  187. package/dist/es/src/components/metadata/MetadataContainer.js.map +0 -1
  188. package/dist/es/src/components/metadata/TitleFieldContainer.js +0 -49
  189. package/dist/es/src/components/metadata/TitleFieldContainer.js.map +0 -1
  190. package/dist/es/src/components/projects/CategorisedKeywordsInput.js +0 -409
  191. package/dist/es/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
  192. package/dist/es/src/components/projects/KeywordsInput.js +0 -73
  193. package/dist/es/src/components/projects/KeywordsInput.js.map +0 -1
  194. package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -72
  195. package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
  196. package/dist/es/src/components/projects/lean-workflow/CommentList.js +0 -259
  197. package/dist/es/src/components/projects/lean-workflow/CommentList.js.map +0 -1
  198. package/dist/es/src/components/projects/lean-workflow/CommentsTab.js +0 -34
  199. package/dist/es/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
  200. package/dist/es/src/components/projects/lean-workflow/ContentTab.js +0 -59
  201. package/dist/es/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
  202. package/dist/es/src/components/projects/lean-workflow/EditorElement.js +0 -227
  203. package/dist/es/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
  204. package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js +0 -120
  205. package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
  206. package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -159
  207. package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
  208. package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js +0 -23
  209. package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
  210. package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -99
  211. package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
  212. package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -20
  213. package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
  214. package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -22
  215. package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
  216. package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -16
  217. package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
  218. package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -16
  219. package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
  220. package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js +0 -11
  221. package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
  222. package/dist/es/src/components/requirements/RequirementContainer.js +0 -51
  223. package/dist/es/src/components/requirements/RequirementContainer.js.map +0 -1
  224. package/dist/es/src/components/requirements/RequirementsData.js +0 -99
  225. package/dist/es/src/components/requirements/RequirementsData.js.map +0 -1
  226. package/dist/es/src/components/requirements/RequirementsIcons.js +0 -24
  227. package/dist/es/src/components/requirements/RequirementsIcons.js.map +0 -1
  228. package/dist/es/src/components/requirements/RequirementsInspector.js +0 -118
  229. package/dist/es/src/components/requirements/RequirementsInspector.js.map +0 -1
  230. package/dist/es/src/components/requirements/RequirementsList.js +0 -54
  231. package/dist/es/src/components/requirements/RequirementsList.js.map +0 -1
  232. package/dist/es/src/components/requirements/SectionValidations.js +0 -40
  233. package/dist/es/src/components/requirements/SectionValidations.js.map +0 -1
  234. package/dist/es/src/hooks/use-requirements-validation.js +0 -83
  235. package/dist/es/src/hooks/use-requirements-validation.js.map +0 -1
  236. package/dist/es/src/lib/apollo.js +0 -35
  237. package/dist/es/src/lib/apollo.js.map +0 -1
  238. package/dist/es/src/lib/lean-workflow-gql.js +0 -33
  239. package/dist/es/src/lib/lean-workflow-gql.js.map +0 -1
  240. package/dist/es/src/lib/replace-attachments-ids.js +0 -44
  241. package/dist/es/src/lib/replace-attachments-ids.js.map +0 -1
  242. package/dist/es/stories/Citation.stories.js +0 -38
  243. package/dist/es/stories/Citation.stories.js.map +0 -1
  244. package/dist/es/stories/LibrarySidebar.stories.js +0 -183
  245. package/dist/es/stories/LibrarySidebar.stories.js.map +0 -1
  246. package/dist/es/stories/Metadata.stories.js +0 -48
  247. package/dist/es/stories/Metadata.stories.js.map +0 -1
  248. package/dist/es/stories/Notification.stories.js +0 -57
  249. package/dist/es/stories/Notification.stories.js.map +0 -1
  250. package/dist/es/stories/Page.stories.js +0 -45
  251. package/dist/es/stories/Page.stories.js.map +0 -1
  252. package/dist/es/stories/Panel.stories.js +0 -57
  253. package/dist/es/stories/Panel.stories.js.map +0 -1
  254. package/dist/es/stories/Placeholders.stories.js +0 -18
  255. package/dist/es/stories/Placeholders.stories.js.map +0 -1
  256. package/dist/es/stories/PopperButtons.stories.js +0 -22
  257. package/dist/es/stories/PopperButtons.stories.js.map +0 -1
  258. package/dist/es/stories/Progress.stories.js +0 -20
  259. package/dist/es/stories/Progress.stories.js.map +0 -1
  260. package/dist/es/stories/ProgressIndicator.stories.js +0 -28
  261. package/dist/es/stories/ProgressIndicator.stories.js.map +0 -1
  262. package/dist/es/stories/ReloadDialog.stories.js +0 -16
  263. package/dist/es/stories/ReloadDialog.stories.js.map +0 -1
  264. package/dist/es/stories/RequirementsInspector.stories.js +0 -154
  265. package/dist/es/stories/RequirementsInspector.stories.js.map +0 -1
  266. package/dist/es/stories/RequirmentsList.stories.js +0 -31
  267. package/dist/es/stories/RequirmentsList.stories.js.map +0 -1
  268. package/dist/es/stories/SelectField.stories.js +0 -29
  269. package/dist/es/stories/SelectField.stories.js.map +0 -1
  270. package/dist/es/stories/Support.stories.js +0 -27
  271. package/dist/es/stories/Support.stories.js.map +0 -1
  272. package/dist/es/stories/data/doc.js +0 -21
  273. package/dist/es/stories/data/doc.js.map +0 -1
  274. package/dist/es/stories/data/validationData.js +0 -41
  275. package/dist/es/stories/data/validationData.js.map +0 -1
  276. package/dist/types/src/components/Support.d.ts +0 -13
  277. package/dist/types/src/components/inspector/ElementStyleInspector.d.ts +0 -13
  278. package/dist/types/src/components/inspector/StatisticsInspector.d.ts +0 -17
  279. package/dist/types/src/components/library/CitationModel.d.ts +0 -18
  280. package/dist/types/src/components/library/CitationProperties.d.ts +0 -17
  281. package/dist/types/src/components/library/ExternalSearch.d.ts +0 -19
  282. package/dist/types/src/components/library/GlobalLibrary.d.ts +0 -20
  283. package/dist/types/src/components/library/LibraryCollectionCategories.d.ts +0 -15
  284. package/dist/types/src/components/library/LibraryForm.d.ts +0 -20
  285. package/dist/types/src/components/library/LibraryItems.d.ts +0 -12
  286. package/dist/types/src/components/library/LibraryPageContainer.d.ts +0 -14
  287. package/dist/types/src/components/library/LibrarySidebar.d.ts +0 -21
  288. package/dist/types/src/components/library/Messages.d.ts +0 -15
  289. package/dist/types/src/components/library/ProjectLibrary.d.ts +0 -23
  290. package/dist/types/src/components/metadata/HeaderFigure.d.ts +0 -13
  291. package/dist/types/src/components/metadata/Metadata.d.ts +0 -60
  292. package/dist/types/src/components/metadata/MetadataContainer.d.ts +0 -21
  293. package/dist/types/src/components/metadata/TitleFieldContainer.d.ts +0 -19
  294. package/dist/types/src/components/projects/CategorisedKeywordsInput.d.ts +0 -6
  295. package/dist/types/src/components/projects/KeywordsInput.d.ts +0 -17
  296. package/dist/types/src/components/projects/lean-workflow/ApplicationMenusLW.d.ts +0 -20
  297. package/dist/types/src/components/projects/lean-workflow/CommentList.d.ts +0 -18
  298. package/dist/types/src/components/projects/lean-workflow/CommentsTab.d.ts +0 -7
  299. package/dist/types/src/components/projects/lean-workflow/ContentTab.d.ts +0 -6
  300. package/dist/types/src/components/projects/lean-workflow/EditorElement.d.ts +0 -18
  301. package/dist/types/src/components/projects/lean-workflow/ExceptionDialog.d.ts +0 -4
  302. package/dist/types/src/components/projects/lean-workflow/ManuscriptPageContainerLW.d.ts +0 -18
  303. package/dist/types/src/components/projects/lean-workflow/SaveStatusController.d.ts +0 -17
  304. package/dist/types/src/components/projects/lean-workflow/TrackChangesStyles.d.ts +0 -13
  305. package/dist/types/src/components/projects/lean-workflow/icons/DeleteIcon.d.ts +0 -13
  306. package/dist/types/src/components/projects/lean-workflow/icons/GroupIcon.d.ts +0 -15
  307. package/dist/types/src/components/projects/lean-workflow/icons/LinkIcon.d.ts +0 -13
  308. package/dist/types/src/components/projects/lean-workflow/icons/TemplateIcon.d.ts +0 -13
  309. package/dist/types/src/components/projects/lean-workflow/provider/UserProvider.d.ts +0 -22
  310. package/dist/types/src/components/requirements/RequirementContainer.d.ts +0 -19
  311. package/dist/types/src/components/requirements/RequirementsData.d.ts +0 -21
  312. package/dist/types/src/components/requirements/RequirementsIcons.d.ts +0 -16
  313. package/dist/types/src/components/requirements/RequirementsInspector.d.ts +0 -23
  314. package/dist/types/src/components/requirements/RequirementsList.d.ts +0 -16
  315. package/dist/types/src/components/requirements/SectionValidations.d.ts +0 -21
  316. package/dist/types/src/hooks/use-requirements-validation.d.ts +0 -22
  317. package/dist/types/src/lib/apollo.d.ts +0 -13
  318. package/dist/types/src/lib/lean-workflow-gql.d.ts +0 -66
  319. package/dist/types/src/lib/replace-attachments-ids.d.ts +0 -15
  320. package/dist/types/stories/Citation.stories.d.ts +0 -12
  321. package/dist/types/stories/LibrarySidebar.stories.d.ts +0 -12
  322. package/dist/types/stories/Metadata.stories.d.ts +0 -12
  323. package/dist/types/stories/Notification.stories.d.ts +0 -12
  324. package/dist/types/stories/Page.stories.d.ts +0 -12
  325. package/dist/types/stories/Panel.stories.d.ts +0 -12
  326. package/dist/types/stories/Placeholders.stories.d.ts +0 -12
  327. package/dist/types/stories/PopperButtons.stories.d.ts +0 -12
  328. package/dist/types/stories/Progress.stories.d.ts +0 -12
  329. package/dist/types/stories/ProgressIndicator.stories.d.ts +0 -12
  330. package/dist/types/stories/ReloadDialog.stories.d.ts +0 -12
  331. package/dist/types/stories/RequirementsInspector.stories.d.ts +0 -12
  332. package/dist/types/stories/RequirmentsList.stories.d.ts +0 -12
  333. package/dist/types/stories/SelectField.stories.d.ts +0 -12
  334. package/dist/types/stories/Support.stories.d.ts +0 -12
  335. package/dist/types/stories/data/doc.d.ts +0 -14
  336. package/dist/types/stories/data/validationData.d.ts +0 -13
@@ -1,21 +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 ReloadDialog_1 = require("../src/components/projects/ReloadDialog");
20
- (0, react_1.storiesOf)('Reload Dialog', module).add('with message', () => (react_2.default.createElement(ReloadDialog_1.ReloadDialog, { message: 'There was an error during data preparation.' })));
21
- //# sourceMappingURL=ReloadDialog.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReloadDialog.stories.js","sourceRoot":"","sources":["../../../stories/ReloadDialog.stories.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,4CAA4C;AAC5C,kDAAyB;AAEzB,0EAAsE;AAEtE,IAAA,iBAAS,EAAC,eAAe,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC,CAC3D,8BAAC,2BAAY,IAAC,OAAO,EAAE,6CAA6C,GAAI,CACzE,CAAC,CAAA"}
@@ -1,159 +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 body_editor_1 = require("@manuscripts/body-editor");
18
- const json_schema_1 = require("@manuscripts/json-schema");
19
- const transform_1 = require("@manuscripts/transform");
20
- const react_1 = require("@storybook/react");
21
- const react_2 = __importDefault(require("react"));
22
- const RequirementsInspector_1 = require("../src/components/requirements/RequirementsInspector");
23
- const store_1 = require("../src/store");
24
- const doc_1 = require("./data/doc");
25
- const maximumManuscriptWordCountRequirement = {
26
- _id: 'MaximumManuscriptWordCountRequirement:1',
27
- containerID: 'MPProject:1',
28
- manuscriptID: 'MPManuscript:1',
29
- objectType: 'MPMaximumManuscriptWordCountRequirement',
30
- createdAt: 0,
31
- updatedAt: 0,
32
- sessionID: 'foo',
33
- severity: 0,
34
- count: 1000,
35
- };
36
- doc_1.modelMap.set(maximumManuscriptWordCountRequirement._id, maximumManuscriptWordCountRequirement);
37
- const minimumManuscriptWordCountRequirement = {
38
- _id: 'MinimumManuscriptWordCountRequirement:1',
39
- containerID: 'MPProject:1',
40
- manuscriptID: 'MPManuscript:1',
41
- objectType: 'MPMinimumManuscriptWordCountRequirement',
42
- createdAt: 0,
43
- updatedAt: 0,
44
- sessionID: 'foo',
45
- severity: 0,
46
- count: 100,
47
- };
48
- doc_1.modelMap.set(minimumManuscriptWordCountRequirement._id, minimumManuscriptWordCountRequirement);
49
- const maximumManuscriptCharacterCountRequirement = {
50
- _id: 'MaximumManuscriptCharacterCountRequirement:1',
51
- containerID: 'MPProject:1',
52
- manuscriptID: 'MPManuscript:1',
53
- objectType: 'MPMaximumManuscriptCharacterCountRequirement',
54
- createdAt: 0,
55
- updatedAt: 0,
56
- sessionID: 'foo',
57
- severity: 0,
58
- count: 10000,
59
- };
60
- doc_1.modelMap.set(maximumManuscriptCharacterCountRequirement._id, maximumManuscriptCharacterCountRequirement);
61
- const minimumManuscriptCharacterCountRequirement = {
62
- _id: 'MinimumManuscriptCharacterCountRequirement:1',
63
- containerID: 'MPProject:1',
64
- manuscriptID: 'MPManuscript:1',
65
- objectType: 'MPMinimumManuscriptCharacterCountRequirement',
66
- createdAt: 0,
67
- updatedAt: 0,
68
- sessionID: 'foo',
69
- severity: 0,
70
- count: 1000,
71
- };
72
- doc_1.modelMap.set(minimumManuscriptCharacterCountRequirement._id, minimumManuscriptCharacterCountRequirement);
73
- const maximumSectionWordCountRequirement = {
74
- _id: 'MaximumSectionWordCountRequirement:1',
75
- containerID: 'MPProject:1',
76
- manuscriptID: 'MPManuscript:1',
77
- objectType: 'MPMaximumSectionWordCountRequirement',
78
- createdAt: 0,
79
- updatedAt: 0,
80
- sessionID: 'foo',
81
- severity: 0,
82
- count: 1000,
83
- };
84
- doc_1.modelMap.set(maximumSectionWordCountRequirement._id, maximumSectionWordCountRequirement);
85
- const minimumSectionWordCountRequirement = {
86
- _id: 'MinimumSectionWordCountRequirement:1',
87
- containerID: 'MPProject:1',
88
- manuscriptID: 'MPManuscript:1',
89
- objectType: 'MPMinimumSectionWordCountRequirement',
90
- createdAt: 0,
91
- updatedAt: 0,
92
- sessionID: 'foo',
93
- severity: 0,
94
- count: 100,
95
- };
96
- doc_1.modelMap.set(minimumSectionWordCountRequirement._id, minimumSectionWordCountRequirement);
97
- const maximumSectionCharacterCountRequirement = {
98
- _id: 'MaximumSectionCharacterCountRequirement:1',
99
- containerID: 'MPProject:1',
100
- manuscriptID: 'MPManuscript:1',
101
- objectType: 'MPMaximumSectionCharacterCountRequirement',
102
- createdAt: 0,
103
- updatedAt: 0,
104
- sessionID: 'foo',
105
- severity: 0,
106
- count: 10000,
107
- };
108
- doc_1.modelMap.set(maximumSectionCharacterCountRequirement._id, maximumSectionCharacterCountRequirement);
109
- const minimumSectionCharacterCountRequirement = {
110
- _id: 'MinimumSectionCharacterCountRequirement:1',
111
- containerID: 'MPProject:1',
112
- manuscriptID: 'MPManuscript:1',
113
- objectType: 'MPMinimumSectionCharacterCountRequirement',
114
- createdAt: 0,
115
- updatedAt: 0,
116
- sessionID: 'foo',
117
- severity: 0,
118
- count: 1000,
119
- };
120
- doc_1.modelMap.set(minimumSectionCharacterCountRequirement._id, minimumSectionCharacterCountRequirement);
121
- const isSection = (model) => model.objectType === json_schema_1.ObjectTypes.Section;
122
- for (const model of doc_1.modelMap.values()) {
123
- if (isSection(model)) {
124
- // model.maxWordCountRequirement = maximumSectionWordCountRequirement._id
125
- model.minWordCountRequirement = minimumSectionWordCountRequirement._id;
126
- model.maxCharacterCountRequirement =
127
- maximumSectionCharacterCountRequirement._id;
128
- // model.minCharacterCountRequirement =
129
- // minimumSectionCharacterCountRequirement._id
130
- }
131
- }
132
- const isManuscript = (0, transform_1.hasObjectType)(json_schema_1.ObjectTypes.Manuscript);
133
- const manuscript = [...doc_1.modelMap.values()].find(isManuscript);
134
- manuscript.maxWordCountRequirement = maximumManuscriptWordCountRequirement._id;
135
- // manuscript.minWordCountRequirement = minimumManuscriptWordCountRequirement._id
136
- // manuscript.maxCharacterCountRequirement =
137
- // maximumManuscriptCharacterCountRequirement._id
138
- // manuscript.minCharacterCountRequirement =
139
- // minimumManuscriptCharacterCountRequirement._id
140
- // const prototypeId =
141
- // 'MPManuscriptTemplate:www-zotero-org-styles-bmc-cell-biology-BMC-Cell-Biology-Journal-Publication'
142
- doc_1.modelMap.set(manuscript._id, manuscript);
143
- const bulkUpdate = async (items) => {
144
- return await new Promise((resolve, reject) => {
145
- resolve();
146
- });
147
- };
148
- const storeState = {
149
- manuscript,
150
- modelMap: doc_1.modelMap,
151
- bulkUpdate,
152
- };
153
- const store = new store_1.GenericStore(undefined, undefined, storeState);
154
- (0, react_1.storiesOf)('Inspector/Requirements', module).add('validations', () => {
155
- return (react_2.default.createElement(store_1.GenericStoreProvider, { store: store },
156
- react_2.default.createElement(body_editor_1.RequirementsProvider, { modelMap: doc_1.modelMap },
157
- react_2.default.createElement(RequirementsInspector_1.RequirementsInspector, null))));
158
- });
159
- //# sourceMappingURL=RequirementsInspector.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RequirementsInspector.stories.js","sourceRoot":"","sources":["../../../stories/RequirementsInspector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AA;AAExC,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,UAAU,GAAG;IACjB,UAAU;IACV,QAAQ,EAAR,cAAQ;IACR,UAAU;CACX,CAAA;AACD,MAAM,KAAK,GAAG,IAAI,oBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,CAAA;AAEhE,IAAA,iBAAS,EAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,EAAE,GAAG,EAAE;IAClE,OAAO,CACL,8BAAC,4BAAoB,IAAC,KAAK,EAAE,KAAK;QAChC,8BAAC,kCAAoB,IAAC,QAAQ,EAAE,cAAQ;YACtC,8BAAC,6CAAqB,OAAG,CACJ,CACF,CACxB,CAAA;AACH,CAAC,CAAC,CAAA"}
@@ -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,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;A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AAgB,CAAC,KAAK,KAAK;IAC/B,CAAC,CAAC,mBAAmB;IACrB,CAAC,CAAC,sBAAsB;;CAE7B,CAAA;AAED,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;CAE3B,CAAA;AAED,MAAM,CAAC,MAAM,OAAO,GAAa,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE;IAC/C,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,CAAA;IAExD,OAAO,CACL,oBAAC,OAAO;QACN,6BAAK,GAAG,EAAE,UAAU;YAClB,oBAAC,SAAS,QACP,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CACZ,oBAAC,MAAM,IAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU;gBACnC,oBAAC,iBAAiB,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,CACrC,CACV,CACS;YAEX,MAAM,IAAI,CACT,oBAAC,MAAM,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"}