@manuscripts/article-editor 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/package.json +2 -2
  2. package/dist/cjs/src/components/Support.js +0 -129
  3. package/dist/cjs/src/components/Support.js.map +0 -1
  4. package/dist/cjs/src/components/inspector/ElementStyleInspector.js +0 -14
  5. package/dist/cjs/src/components/inspector/ElementStyleInspector.js.map +0 -1
  6. package/dist/cjs/src/components/inspector/StatisticsInspector.js +0 -39
  7. package/dist/cjs/src/components/inspector/StatisticsInspector.js.map +0 -1
  8. package/dist/cjs/src/components/library/CitationModel.js +0 -210
  9. package/dist/cjs/src/components/library/CitationModel.js.map +0 -1
  10. package/dist/cjs/src/components/library/CitationProperties.js +0 -67
  11. package/dist/cjs/src/components/library/CitationProperties.js.map +0 -1
  12. package/dist/cjs/src/components/library/ExternalSearch.js +0 -156
  13. package/dist/cjs/src/components/library/ExternalSearch.js.map +0 -1
  14. package/dist/cjs/src/components/library/GlobalLibrary.js +0 -133
  15. package/dist/cjs/src/components/library/GlobalLibrary.js.map +0 -1
  16. package/dist/cjs/src/components/library/LibraryCollectionCategories.js +0 -53
  17. package/dist/cjs/src/components/library/LibraryCollectionCategories.js.map +0 -1
  18. package/dist/cjs/src/components/library/LibraryForm.js +0 -437
  19. package/dist/cjs/src/components/library/LibraryForm.js.map +0 -1
  20. package/dist/cjs/src/components/library/LibraryItems.js +0 -116
  21. package/dist/cjs/src/components/library/LibraryItems.js.map +0 -1
  22. package/dist/cjs/src/components/library/LibraryPageContainer.js +0 -107
  23. package/dist/cjs/src/components/library/LibraryPageContainer.js.map +0 -1
  24. package/dist/cjs/src/components/library/LibrarySidebar.js +0 -172
  25. package/dist/cjs/src/components/library/LibrarySidebar.js.map +0 -1
  26. package/dist/cjs/src/components/library/Messages.js +0 -25
  27. package/dist/cjs/src/components/library/Messages.js.map +0 -1
  28. package/dist/cjs/src/components/library/ProjectLibrary.js +0 -96
  29. package/dist/cjs/src/components/library/ProjectLibrary.js.map +0 -1
  30. package/dist/cjs/src/components/metadata/HeaderFigure.js +0 -147
  31. package/dist/cjs/src/components/metadata/HeaderFigure.js.map +0 -1
  32. package/dist/cjs/src/components/metadata/Metadata.js +0 -103
  33. package/dist/cjs/src/components/metadata/Metadata.js.map +0 -1
  34. package/dist/cjs/src/components/metadata/MetadataContainer.js +0 -203
  35. package/dist/cjs/src/components/metadata/MetadataContainer.js.map +0 -1
  36. package/dist/cjs/src/components/metadata/TitleFieldContainer.js +0 -56
  37. package/dist/cjs/src/components/metadata/TitleFieldContainer.js.map +0 -1
  38. package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js +0 -439
  39. package/dist/cjs/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
  40. package/dist/cjs/src/components/projects/KeywordsInput.js +0 -80
  41. package/dist/cjs/src/components/projects/KeywordsInput.js.map +0 -1
  42. package/dist/cjs/src/components/projects/SortableManuscript.js +0 -102
  43. package/dist/cjs/src/components/projects/SortableManuscript.js.map +0 -1
  44. package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -102
  45. package/dist/cjs/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
  46. package/dist/cjs/src/components/projects/lean-workflow/CommentList.js +0 -289
  47. package/dist/cjs/src/components/projects/lean-workflow/CommentList.js.map +0 -1
  48. package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js +0 -41
  49. package/dist/cjs/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
  50. package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js +0 -66
  51. package/dist/cjs/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
  52. package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js +0 -252
  53. package/dist/cjs/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
  54. package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js +0 -150
  55. package/dist/cjs/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
  56. package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -187
  57. package/dist/cjs/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
  58. package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js +0 -53
  59. package/dist/cjs/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
  60. package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -106
  61. package/dist/cjs/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
  62. package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -27
  63. package/dist/cjs/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
  64. package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -29
  65. package/dist/cjs/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
  66. package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -23
  67. package/dist/cjs/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
  68. package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -23
  69. package/dist/cjs/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
  70. package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js +0 -38
  71. package/dist/cjs/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
  72. package/dist/cjs/src/components/requirements/RequirementContainer.js +0 -58
  73. package/dist/cjs/src/components/requirements/RequirementContainer.js.map +0 -1
  74. package/dist/cjs/src/components/requirements/RequirementsData.js +0 -129
  75. package/dist/cjs/src/components/requirements/RequirementsData.js.map +0 -1
  76. package/dist/cjs/src/components/requirements/RequirementsIcons.js +0 -34
  77. package/dist/cjs/src/components/requirements/RequirementsIcons.js.map +0 -1
  78. package/dist/cjs/src/components/requirements/RequirementsInspector.js +0 -150
  79. package/dist/cjs/src/components/requirements/RequirementsInspector.js.map +0 -1
  80. package/dist/cjs/src/components/requirements/RequirementsList.js +0 -84
  81. package/dist/cjs/src/components/requirements/RequirementsList.js.map +0 -1
  82. package/dist/cjs/src/components/requirements/SectionValidations.js +0 -47
  83. package/dist/cjs/src/components/requirements/SectionValidations.js.map +0 -1
  84. package/dist/cjs/src/hooks/use-requirements-validation.js +0 -87
  85. package/dist/cjs/src/hooks/use-requirements-validation.js.map +0 -1
  86. package/dist/cjs/src/lib/apollo.js +0 -41
  87. package/dist/cjs/src/lib/apollo.js.map +0 -1
  88. package/dist/cjs/src/lib/lean-workflow-gql.js +0 -40
  89. package/dist/cjs/src/lib/lean-workflow-gql.js.map +0 -1
  90. package/dist/cjs/src/lib/replace-attachments-ids.js +0 -49
  91. package/dist/cjs/src/lib/replace-attachments-ids.js.map +0 -1
  92. package/dist/cjs/src/postgres-data/Bibilo.js +0 -33
  93. package/dist/cjs/src/postgres-data/Bibilo.js.map +0 -1
  94. package/dist/cjs/src/store/BiblioTools.js +0 -3
  95. package/dist/cjs/src/store/BiblioTools.js.map +0 -1
  96. package/dist/cjs/stories/Citation.stories.js +0 -43
  97. package/dist/cjs/stories/Citation.stories.js.map +0 -1
  98. package/dist/cjs/stories/LibrarySidebar.stories.js +0 -188
  99. package/dist/cjs/stories/LibrarySidebar.stories.js.map +0 -1
  100. package/dist/cjs/stories/Metadata.stories.js +0 -53
  101. package/dist/cjs/stories/Metadata.stories.js.map +0 -1
  102. package/dist/cjs/stories/Notification.stories.js +0 -62
  103. package/dist/cjs/stories/Notification.stories.js.map +0 -1
  104. package/dist/cjs/stories/Page.stories.js +0 -50
  105. package/dist/cjs/stories/Page.stories.js.map +0 -1
  106. package/dist/cjs/stories/Panel.stories.js +0 -62
  107. package/dist/cjs/stories/Panel.stories.js.map +0 -1
  108. package/dist/cjs/stories/Placeholders.stories.js +0 -23
  109. package/dist/cjs/stories/Placeholders.stories.js.map +0 -1
  110. package/dist/cjs/stories/PopperButtons.stories.js +0 -27
  111. package/dist/cjs/stories/PopperButtons.stories.js.map +0 -1
  112. package/dist/cjs/stories/Progress.stories.js +0 -25
  113. package/dist/cjs/stories/Progress.stories.js.map +0 -1
  114. package/dist/cjs/stories/ProgressIndicator.stories.js +0 -33
  115. package/dist/cjs/stories/ProgressIndicator.stories.js.map +0 -1
  116. package/dist/cjs/stories/ReloadDialog.stories.js +0 -21
  117. package/dist/cjs/stories/ReloadDialog.stories.js.map +0 -1
  118. package/dist/cjs/stories/RequirementsInspector.stories.js +0 -159
  119. package/dist/cjs/stories/RequirementsInspector.stories.js.map +0 -1
  120. package/dist/cjs/stories/RequirmentsList.stories.js +0 -36
  121. package/dist/cjs/stories/RequirmentsList.stories.js.map +0 -1
  122. package/dist/cjs/stories/SelectField.stories.js +0 -34
  123. package/dist/cjs/stories/SelectField.stories.js.map +0 -1
  124. package/dist/cjs/stories/Support.stories.js +0 -32
  125. package/dist/cjs/stories/Support.stories.js.map +0 -1
  126. package/dist/cjs/stories/data/doc.js +0 -27
  127. package/dist/cjs/stories/data/doc.js.map +0 -1
  128. package/dist/cjs/stories/data/validationData.js +0 -44
  129. package/dist/cjs/stories/data/validationData.js.map +0 -1
  130. package/dist/es/src/components/Support.js +0 -100
  131. package/dist/es/src/components/Support.js.map +0 -1
  132. package/dist/es/src/components/inspector/ElementStyleInspector.js +0 -13
  133. package/dist/es/src/components/inspector/ElementStyleInspector.js.map +0 -1
  134. package/dist/es/src/components/inspector/StatisticsInspector.js +0 -32
  135. package/dist/es/src/components/inspector/StatisticsInspector.js.map +0 -1
  136. package/dist/es/src/components/library/CitationModel.js +0 -180
  137. package/dist/es/src/components/library/CitationModel.js.map +0 -1
  138. package/dist/es/src/components/library/CitationProperties.js +0 -60
  139. package/dist/es/src/components/library/CitationProperties.js.map +0 -1
  140. package/dist/es/src/components/library/ExternalSearch.js +0 -127
  141. package/dist/es/src/components/library/ExternalSearch.js.map +0 -1
  142. package/dist/es/src/components/library/GlobalLibrary.js +0 -104
  143. package/dist/es/src/components/library/GlobalLibrary.js.map +0 -1
  144. package/dist/es/src/components/library/LibraryCollectionCategories.js +0 -45
  145. package/dist/es/src/components/library/LibraryCollectionCategories.js.map +0 -1
  146. package/dist/es/src/components/library/LibraryForm.js +0 -409
  147. package/dist/es/src/components/library/LibraryForm.js.map +0 -1
  148. package/dist/es/src/components/library/LibraryItems.js +0 -86
  149. package/dist/es/src/components/library/LibraryItems.js.map +0 -1
  150. package/dist/es/src/components/library/LibraryPageContainer.js +0 -80
  151. package/dist/es/src/components/library/LibraryPageContainer.js.map +0 -1
  152. package/dist/es/src/components/library/LibrarySidebar.js +0 -165
  153. package/dist/es/src/components/library/LibrarySidebar.js.map +0 -1
  154. package/dist/es/src/components/library/Messages.js +0 -18
  155. package/dist/es/src/components/library/Messages.js.map +0 -1
  156. package/dist/es/src/components/library/ProjectLibrary.js +0 -67
  157. package/dist/es/src/components/library/ProjectLibrary.js.map +0 -1
  158. package/dist/es/src/components/metadata/HeaderFigure.js +0 -117
  159. package/dist/es/src/components/metadata/HeaderFigure.js.map +0 -1
  160. package/dist/es/src/components/metadata/Metadata.js +0 -73
  161. package/dist/es/src/components/metadata/Metadata.js.map +0 -1
  162. package/dist/es/src/components/metadata/MetadataContainer.js +0 -178
  163. package/dist/es/src/components/metadata/MetadataContainer.js.map +0 -1
  164. package/dist/es/src/components/metadata/TitleFieldContainer.js +0 -49
  165. package/dist/es/src/components/metadata/TitleFieldContainer.js.map +0 -1
  166. package/dist/es/src/components/projects/CategorisedKeywordsInput.js +0 -409
  167. package/dist/es/src/components/projects/CategorisedKeywordsInput.js.map +0 -1
  168. package/dist/es/src/components/projects/KeywordsInput.js +0 -73
  169. package/dist/es/src/components/projects/KeywordsInput.js.map +0 -1
  170. package/dist/es/src/components/projects/SortableManuscript.js +0 -72
  171. package/dist/es/src/components/projects/SortableManuscript.js.map +0 -1
  172. package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js +0 -72
  173. package/dist/es/src/components/projects/lean-workflow/ApplicationMenusLW.js.map +0 -1
  174. package/dist/es/src/components/projects/lean-workflow/CommentList.js +0 -259
  175. package/dist/es/src/components/projects/lean-workflow/CommentList.js.map +0 -1
  176. package/dist/es/src/components/projects/lean-workflow/CommentsTab.js +0 -34
  177. package/dist/es/src/components/projects/lean-workflow/CommentsTab.js.map +0 -1
  178. package/dist/es/src/components/projects/lean-workflow/ContentTab.js +0 -59
  179. package/dist/es/src/components/projects/lean-workflow/ContentTab.js.map +0 -1
  180. package/dist/es/src/components/projects/lean-workflow/EditorElement.js +0 -227
  181. package/dist/es/src/components/projects/lean-workflow/EditorElement.js.map +0 -1
  182. package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js +0 -120
  183. package/dist/es/src/components/projects/lean-workflow/ExceptionDialog.js.map +0 -1
  184. package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js +0 -159
  185. package/dist/es/src/components/projects/lean-workflow/ManuscriptPageContainerLW.js.map +0 -1
  186. package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js +0 -23
  187. package/dist/es/src/components/projects/lean-workflow/SaveStatusController.js.map +0 -1
  188. package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js +0 -99
  189. package/dist/es/src/components/projects/lean-workflow/TrackChangesStyles.js.map +0 -1
  190. package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js +0 -20
  191. package/dist/es/src/components/projects/lean-workflow/icons/DeleteIcon.js.map +0 -1
  192. package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js +0 -22
  193. package/dist/es/src/components/projects/lean-workflow/icons/GroupIcon.js.map +0 -1
  194. package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js +0 -16
  195. package/dist/es/src/components/projects/lean-workflow/icons/LinkIcon.js.map +0 -1
  196. package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js +0 -16
  197. package/dist/es/src/components/projects/lean-workflow/icons/TemplateIcon.js.map +0 -1
  198. package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js +0 -11
  199. package/dist/es/src/components/projects/lean-workflow/provider/UserProvider.js.map +0 -1
  200. package/dist/es/src/components/requirements/RequirementContainer.js +0 -51
  201. package/dist/es/src/components/requirements/RequirementContainer.js.map +0 -1
  202. package/dist/es/src/components/requirements/RequirementsData.js +0 -99
  203. package/dist/es/src/components/requirements/RequirementsData.js.map +0 -1
  204. package/dist/es/src/components/requirements/RequirementsIcons.js +0 -24
  205. package/dist/es/src/components/requirements/RequirementsIcons.js.map +0 -1
  206. package/dist/es/src/components/requirements/RequirementsInspector.js +0 -118
  207. package/dist/es/src/components/requirements/RequirementsInspector.js.map +0 -1
  208. package/dist/es/src/components/requirements/RequirementsList.js +0 -54
  209. package/dist/es/src/components/requirements/RequirementsList.js.map +0 -1
  210. package/dist/es/src/components/requirements/SectionValidations.js +0 -40
  211. package/dist/es/src/components/requirements/SectionValidations.js.map +0 -1
  212. package/dist/es/src/hooks/use-requirements-validation.js +0 -83
  213. package/dist/es/src/hooks/use-requirements-validation.js.map +0 -1
  214. package/dist/es/src/lib/apollo.js +0 -35
  215. package/dist/es/src/lib/apollo.js.map +0 -1
  216. package/dist/es/src/lib/lean-workflow-gql.js +0 -33
  217. package/dist/es/src/lib/lean-workflow-gql.js.map +0 -1
  218. package/dist/es/src/lib/replace-attachments-ids.js +0 -44
  219. package/dist/es/src/lib/replace-attachments-ids.js.map +0 -1
  220. package/dist/es/src/postgres-data/Bibilo.js +0 -29
  221. package/dist/es/src/postgres-data/Bibilo.js.map +0 -1
  222. package/dist/es/src/store/BiblioTools.js +0 -2
  223. package/dist/es/src/store/BiblioTools.js.map +0 -1
  224. package/dist/es/stories/Citation.stories.js +0 -38
  225. package/dist/es/stories/Citation.stories.js.map +0 -1
  226. package/dist/es/stories/LibrarySidebar.stories.js +0 -183
  227. package/dist/es/stories/LibrarySidebar.stories.js.map +0 -1
  228. package/dist/es/stories/Metadata.stories.js +0 -48
  229. package/dist/es/stories/Metadata.stories.js.map +0 -1
  230. package/dist/es/stories/Notification.stories.js +0 -57
  231. package/dist/es/stories/Notification.stories.js.map +0 -1
  232. package/dist/es/stories/Page.stories.js +0 -45
  233. package/dist/es/stories/Page.stories.js.map +0 -1
  234. package/dist/es/stories/Panel.stories.js +0 -57
  235. package/dist/es/stories/Panel.stories.js.map +0 -1
  236. package/dist/es/stories/Placeholders.stories.js +0 -18
  237. package/dist/es/stories/Placeholders.stories.js.map +0 -1
  238. package/dist/es/stories/PopperButtons.stories.js +0 -22
  239. package/dist/es/stories/PopperButtons.stories.js.map +0 -1
  240. package/dist/es/stories/Progress.stories.js +0 -20
  241. package/dist/es/stories/Progress.stories.js.map +0 -1
  242. package/dist/es/stories/ProgressIndicator.stories.js +0 -28
  243. package/dist/es/stories/ProgressIndicator.stories.js.map +0 -1
  244. package/dist/es/stories/ReloadDialog.stories.js +0 -16
  245. package/dist/es/stories/ReloadDialog.stories.js.map +0 -1
  246. package/dist/es/stories/RequirementsInspector.stories.js +0 -154
  247. package/dist/es/stories/RequirementsInspector.stories.js.map +0 -1
  248. package/dist/es/stories/RequirmentsList.stories.js +0 -31
  249. package/dist/es/stories/RequirmentsList.stories.js.map +0 -1
  250. package/dist/es/stories/SelectField.stories.js +0 -29
  251. package/dist/es/stories/SelectField.stories.js.map +0 -1
  252. package/dist/es/stories/Support.stories.js +0 -27
  253. package/dist/es/stories/Support.stories.js.map +0 -1
  254. package/dist/es/stories/data/doc.js +0 -21
  255. package/dist/es/stories/data/doc.js.map +0 -1
  256. package/dist/es/stories/data/validationData.js +0 -41
  257. package/dist/es/stories/data/validationData.js.map +0 -1
  258. package/dist/types/src/components/Support.d.ts +0 -13
  259. package/dist/types/src/components/inspector/ElementStyleInspector.d.ts +0 -13
  260. package/dist/types/src/components/inspector/StatisticsInspector.d.ts +0 -17
  261. package/dist/types/src/components/library/CitationModel.d.ts +0 -18
  262. package/dist/types/src/components/library/CitationProperties.d.ts +0 -17
  263. package/dist/types/src/components/library/ExternalSearch.d.ts +0 -19
  264. package/dist/types/src/components/library/GlobalLibrary.d.ts +0 -20
  265. package/dist/types/src/components/library/LibraryCollectionCategories.d.ts +0 -15
  266. package/dist/types/src/components/library/LibraryForm.d.ts +0 -20
  267. package/dist/types/src/components/library/LibraryItems.d.ts +0 -12
  268. package/dist/types/src/components/library/LibraryPageContainer.d.ts +0 -14
  269. package/dist/types/src/components/library/LibrarySidebar.d.ts +0 -21
  270. package/dist/types/src/components/library/Messages.d.ts +0 -15
  271. package/dist/types/src/components/library/ProjectLibrary.d.ts +0 -23
  272. package/dist/types/src/components/metadata/HeaderFigure.d.ts +0 -13
  273. package/dist/types/src/components/metadata/Metadata.d.ts +0 -60
  274. package/dist/types/src/components/metadata/MetadataContainer.d.ts +0 -21
  275. package/dist/types/src/components/metadata/TitleFieldContainer.d.ts +0 -19
  276. package/dist/types/src/components/projects/CategorisedKeywordsInput.d.ts +0 -6
  277. package/dist/types/src/components/projects/KeywordsInput.d.ts +0 -17
  278. package/dist/types/src/components/projects/SortableManuscript.d.ts +0 -18
  279. package/dist/types/src/components/projects/lean-workflow/ApplicationMenusLW.d.ts +0 -20
  280. package/dist/types/src/components/projects/lean-workflow/CommentList.d.ts +0 -18
  281. package/dist/types/src/components/projects/lean-workflow/CommentsTab.d.ts +0 -7
  282. package/dist/types/src/components/projects/lean-workflow/ContentTab.d.ts +0 -6
  283. package/dist/types/src/components/projects/lean-workflow/EditorElement.d.ts +0 -18
  284. package/dist/types/src/components/projects/lean-workflow/ExceptionDialog.d.ts +0 -4
  285. package/dist/types/src/components/projects/lean-workflow/ManuscriptPageContainerLW.d.ts +0 -18
  286. package/dist/types/src/components/projects/lean-workflow/SaveStatusController.d.ts +0 -17
  287. package/dist/types/src/components/projects/lean-workflow/TrackChangesStyles.d.ts +0 -13
  288. package/dist/types/src/components/projects/lean-workflow/icons/DeleteIcon.d.ts +0 -13
  289. package/dist/types/src/components/projects/lean-workflow/icons/GroupIcon.d.ts +0 -15
  290. package/dist/types/src/components/projects/lean-workflow/icons/LinkIcon.d.ts +0 -13
  291. package/dist/types/src/components/projects/lean-workflow/icons/TemplateIcon.d.ts +0 -13
  292. package/dist/types/src/components/projects/lean-workflow/provider/UserProvider.d.ts +0 -22
  293. package/dist/types/src/components/requirements/RequirementContainer.d.ts +0 -19
  294. package/dist/types/src/components/requirements/RequirementsData.d.ts +0 -21
  295. package/dist/types/src/components/requirements/RequirementsIcons.d.ts +0 -16
  296. package/dist/types/src/components/requirements/RequirementsInspector.d.ts +0 -23
  297. package/dist/types/src/components/requirements/RequirementsList.d.ts +0 -16
  298. package/dist/types/src/components/requirements/SectionValidations.d.ts +0 -21
  299. package/dist/types/src/hooks/use-requirements-validation.d.ts +0 -22
  300. package/dist/types/src/lib/apollo.d.ts +0 -13
  301. package/dist/types/src/lib/lean-workflow-gql.d.ts +0 -66
  302. package/dist/types/src/lib/replace-attachments-ids.d.ts +0 -15
  303. package/dist/types/src/postgres-data/Bibilo.d.ts +0 -33
  304. package/dist/types/src/store/BiblioTools.d.ts +0 -21
  305. package/dist/types/stories/Citation.stories.d.ts +0 -12
  306. package/dist/types/stories/LibrarySidebar.stories.d.ts +0 -12
  307. package/dist/types/stories/Metadata.stories.d.ts +0 -12
  308. package/dist/types/stories/Notification.stories.d.ts +0 -12
  309. package/dist/types/stories/Page.stories.d.ts +0 -12
  310. package/dist/types/stories/Panel.stories.d.ts +0 -12
  311. package/dist/types/stories/Placeholders.stories.d.ts +0 -12
  312. package/dist/types/stories/PopperButtons.stories.d.ts +0 -12
  313. package/dist/types/stories/Progress.stories.d.ts +0 -12
  314. package/dist/types/stories/ProgressIndicator.stories.d.ts +0 -12
  315. package/dist/types/stories/ReloadDialog.stories.d.ts +0 -12
  316. package/dist/types/stories/RequirementsInspector.stories.d.ts +0 -12
  317. package/dist/types/stories/RequirmentsList.stories.d.ts +0 -12
  318. package/dist/types/stories/SelectField.stories.d.ts +0 -12
  319. package/dist/types/stories/Support.stories.d.ts +0 -12
  320. package/dist/types/stories/data/doc.d.ts +0 -14
  321. package/dist/types/stories/data/validationData.d.ts +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C/C,kBAAkB,EAAE,MAAM,CACxB,mDAAmD,CACpD,GACD,CACH,CAAC;KACD,GAAG,CAAC,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAC9B,oBAAC,eAAe,IACd,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,MAAM,CAAC,eAAe,CAAC,GACrC,CACH,CAAC,CAAA"}
@@ -1,57 +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 { action } from '@storybook/addon-actions';
13
- import { storiesOf } from '@storybook/react';
14
- import { createBrowserHistory } from 'history';
15
- import React from 'react';
16
- import { Notifications } from '../src/components/Notifications';
17
- import { createUpdateReadyNotification } from '../src/components/ServiceWorker';
18
- const routeProps = {
19
- history: createBrowserHistory(),
20
- match: {
21
- isExact: true,
22
- params: {},
23
- path: '',
24
- url: '',
25
- },
26
- location: {
27
- key: 'test',
28
- hash: '',
29
- pathname: '/projects',
30
- search: '',
31
- state: {},
32
- },
33
- };
34
- storiesOf('Notification', module).add('ServiceWorker', () => (React.createElement(Notifications, { items: [
35
- {
36
- id: 'update-ready-1',
37
- notification: createUpdateReadyNotification({
38
- handleAccept: action('accept'),
39
- id: 'story',
40
- }),
41
- },
42
- {
43
- id: 'update-ready-2',
44
- notification: createUpdateReadyNotification({
45
- handleAccept: action('accept'),
46
- id: 'story',
47
- }),
48
- },
49
- {
50
- id: 'update-ready-3',
51
- notification: createUpdateReadyNotification({
52
- handleAccept: action('accept'),
53
- id: 'story',
54
- }),
55
- },
56
- ], removeNotification: action('dismiss'), ...routeProps })));
57
- //# sourceMappingURL=Notification.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Notification.stories.js","sourceRoot":"","sources":["../../../stories/Notification.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAE/E,MAAM,UAAU,GAAwB;IACtC,OAAO,EAAE,oBAAoB,EAAE;IAC/B,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;KACR;IACD,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM;QACX,IAAI,EAAE,EAAE;QACR,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,EAAE;KACV;CACF,CAAA;AAED,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,CAC3D,oBAAC,aAAa,IACZ,KAAK,EAAE;QACL;YACE,EAAE,EAAE,gBAAgB;YACpB,YAAY,EAAE,6BAA6B,CAAC;gBAC1C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC;gBAC9B,EAAE,EAAE,OAAO;aACZ,CAAC;SACH;QACD;YACE,EAAE,EAAE,gBAAgB;YACpB,YAAY,EAAE,6BAA6B,CAAC;gBAC1C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC;gBAC9B,EAAE,EAAE,OAAO;aACZ,CAAC;SACH;QACD;YACE,EAAE,EAAE,gBAAgB;YACpB,YAAY,EAAE,6BAA6B,CAAC;gBAC1C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC;gBAC9B,EAAE,EAAE,OAAO;aACZ,CAAC;SACH;KACF,EACD,kBAAkB,EAAE,MAAM,CAAC,SAAS,CAAC,KACjC,UAAU,GACd,CACH,CAAC,CAAA"}
@@ -1,45 +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 { storiesOf } from '@storybook/react';
13
- import React from 'react';
14
- import { Main, Page } from '../src/components/Page';
15
- import { GenericStore, GenericStoreProvider } from '../src/store';
16
- import { project } from './data/projects';
17
- const storeState = {
18
- project: project,
19
- tokenData: {
20
- getTokenActions: () => {
21
- return {
22
- delete: () => {
23
- return;
24
- },
25
- update: (token) => {
26
- return;
27
- },
28
- };
29
- },
30
- },
31
- };
32
- storiesOf('Page', module)
33
- .add('A page', () => {
34
- const store = new GenericStore(undefined, undefined, { ...storeState });
35
- return (React.createElement(GenericStoreProvider, { store: store },
36
- React.createElement(Page, null,
37
- React.createElement(Main, { style: { padding: '10px 20px' } }, "This is the main content"))));
38
- })
39
- .add('A page with a project', () => {
40
- const store = new GenericStore(undefined, undefined, { ...storeState });
41
- return (React.createElement(GenericStoreProvider, { store: store },
42
- React.createElement(Page, null,
43
- React.createElement(Main, { style: { padding: '10px 20px' } }, "This is the main content"))));
44
- });
45
- //# sourceMappingURL=Page.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Page.stories.js","sourceRoot":"","sources":["../../../stories/Page.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAEzC,MAAM,UAAU,GAAG;IACjB,OAAO,EAAE,OAAO;IAChB,SAAS,EAAE;QACT,eAAe,EAAE,GAAG,EAAE;YACpB,OAAO;gBACL,MAAM,EAAE,GAAG,EAAE;oBACX,OAAM;gBACR,CAAC;gBACD,MAAM,EAAE,CAAC,KAAa,EAAE,EAAE;oBACxB,OAAM;gBACR,CAAC;aACF,CAAA;QACH,CAAC;KACF;CACF,CAAA;AAED,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;KACtB,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE;IAClB,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,GAAG,UAAU,EAAE,CAAC,CAAA;IACvE,OAAO,CACL,oBAAC,oBAAoB,IAAC,KAAK,EAAE,KAAK;QAChC,oBAAC,IAAI;YACH,oBAAC,IAAI,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,+BAAiC,CACjE,CACc,CACxB,CAAA;AACH,CAAC,CAAC;KACD,GAAG,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACjC,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,GAAG,UAAU,EAAE,CAAC,CAAA;IACvE,OAAO,CACL,oBAAC,oBAAoB,IAAC,KAAK,EAAE,KAAK;QAChC,oBAAC,IAAI;YACH,oBAAC,IAAI,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,+BAAiC,CACjE,CACc,CACxB,CAAA;AACH,CAAC,CAAC,CAAA"}
@@ -1,57 +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 { storiesOf } from '@storybook/react';
13
- import React from 'react';
14
- import { Main, Page } from '../src/components/Page';
15
- import Panel from '../src/components/Panel';
16
- import { GenericStore, GenericStoreProvider } from '../src/store';
17
- import { project } from './data/projects';
18
- const storeState = {
19
- project: project,
20
- tokenData: {
21
- getTokenActions: () => {
22
- return {
23
- delete: () => {
24
- return;
25
- },
26
- update: (token) => {
27
- return;
28
- },
29
- };
30
- },
31
- },
32
- };
33
- storiesOf('Panel', module)
34
- .add('row', () => {
35
- const store = new GenericStore(undefined, undefined, { ...storeState });
36
- return (React.createElement(GenericStoreProvider, { store: store },
37
- React.createElement(Page, null,
38
- React.createElement(Panel, { name: 'testStart', minSize: 200, direction: 'row', side: 'end' },
39
- React.createElement("p", { style: { paddingRight: 20 } }, "This is a panel at the start")),
40
- React.createElement(Main, null,
41
- React.createElement("p", { style: { paddingLeft: 20 } }, "This is the main content.")),
42
- React.createElement(Panel, { name: 'testEnd', minSize: 200, direction: 'row', side: 'start' },
43
- React.createElement("p", { style: { paddingLeft: 20 } }, "This is a panel at the end")))));
44
- })
45
- .add('combined', () => {
46
- const store = new GenericStore(undefined, undefined, { ...storeState });
47
- return (React.createElement(GenericStoreProvider, { store: store },
48
- React.createElement(Page, null,
49
- React.createElement(Panel, { name: 'testStart', minSize: 200, direction: 'row', side: 'end' },
50
- React.createElement("div", { style: { display: 'flex', flexDirection: 'column' } },
51
- React.createElement(Panel, { name: 'testColumn', minSize: 200, direction: 'column', side: 'end' },
52
- React.createElement("p", null, "This is a panel")),
53
- React.createElement("div", { style: { paddingTop: 20 } }, "This is another section"))),
54
- React.createElement(Main, null,
55
- React.createElement("p", { style: { paddingLeft: 20 } }, "This is the main content.")))));
56
- });
57
- //# sourceMappingURL=Panel.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Panel.stories.js","sourceRoot":"","sources":["../../../stories/Panel.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,MAAM,yBAAyB,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,iBA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K;QAChC,oBAAC,IAAI;YACH,oBAAC,KAAK,IACJ,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,GAAG,EACZ,SAAS,EAAE,KAAK,EAChB,IAAI,EAAE,KAAK;gBAEX,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE;oBACtD,oBAAC,KAAK,IACJ,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,GAAG,EACZ,SAAS,EAAE,QAAQ,EACnB,IAAI,EAAE,KAAK;wBAEX,iDAAsB,CAChB;oBACR,6BAAK,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,8BAA+B,CACzD,CACA;YAER,oBAAC,IAAI;gBACH,2BAAG,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,gCAA+B,CACvD,CACF,CACc,CACxB,CAAA;AACH,CAAC,CAAC,CAAA"}
@@ -1,18 +0,0 @@
1
- /*!
2
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
- *
4
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
- *
6
- * The Original Code is manuscripts-frontend.
7
- *
8
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
- *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { storiesOf } from '@storybook/react';
13
- import React from 'react';
14
- import { ManuscriptPlaceholder, ProjectPlaceholder, } from '../src/components/Placeholders';
15
- storiesOf('Placeholders', module)
16
- .add('Manuscript', () => React.createElement(ManuscriptPlaceholder, null))
17
- .add('Project', () => React.createElement(ProjectPlaceholder, null));
18
- //# sourceMappingURL=Placeholders.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Placeholders.stories.js","sourceRoot":"","sources":["../../../stories/Placeholders.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EACL,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,gCAAgC,CAAA;AAEvC,SAAS,CAAC,cAAc,EAAE,MAAM,CAAC;KAC9B,GAAG,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC,oBAAC,qBAAqB,OAAG,CAAC;KAClD,GAAG,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,oBAAC,kBAAkB,OAAG,CAAC,CAAA"}
@@ -1,22 +0,0 @@
1
- /*!
2
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
- *
4
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
- *
6
- * The Original Code is manuscripts-frontend.
7
- *
8
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
- *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { action } from '@storybook/addon-actions';
13
- import { storiesOf } from '@storybook/react';
14
- import React from 'react';
15
- import InviteAuthorButton from '../src/components/metadata/InviteAuthorButton';
16
- import { authors } from './data/contributors';
17
- import { project } from './data/projects';
18
- storiesOf('Metadata/Popper Buttons', module).add('InviteAuthorButton', () => (React.createElement(InviteAuthorButton, { author: authors[0], project: project, updateAuthor: action('update author'), tokenActions: {
19
- delete: action('delete token'),
20
- update: action('update token'),
21
- } })));
22
- //# sourceMappingURL=PopperButtons.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PopperButtons.stories.js","sourceRoot":"","sources":["../../../stories/PopperButtons.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,kBAAkB,MAAM,+CAA+C,CAAA;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAEzC,SAAS,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,oBAAoB,EAAE,GAAG,EAAE,CAAC,CAC3E,oBAAC,kBAAkB,IACjB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAClB,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,MAAM,CAAC,eAAe,CAAC,EACrC,YAAY,EAAE;QACZ,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;QAC9B,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;KAC/B,GACD,CACH,CAAC,CAAA"}
@@ -1,20 +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 { action } from '@storybook/addon-actions';
13
- import { storiesOf } from '@storybook/react';
14
- import React from 'react';
15
- import { ProgressModal } from '../src/components/projects/ProgressModal';
16
- storiesOf('Progress', module)
17
- .add('converting', () => (React.createElement(ProgressModal, { canCancel: true, handleCancel: action('cancel'), status: 'Converting manuscript…' })))
18
- .add('importing', () => (React.createElement(ProgressModal, { canCancel: false, handleCancel: action('cancel'), status: 'Importing manuscript…' })))
19
- .add('exporting', () => (React.createElement(ProgressModal, { canCancel: true, handleCancel: action('cancel'), status: 'Exporting manuscript…' })));
20
- //# sourceMappingURL=Progress.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Progress.stories.js","sourceRoot":"","sources":["../../../stories/Progress.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAA;AAExE,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC;KAC1B,GAAG,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC,CACvB,oBAAC,aAAa,IACZ,SAAS,EAAE,IAAI,EACf,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,EAC9B,MAAM,EAAE,wBAAwB,GAChC,CACH,CAAC;KACD,GAAG,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,CACtB,oBAAC,aAAa,IACZ,SAAS,EAAE,KAAK,EAChB,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,EAC9B,MAAM,EAAE,uBAAuB,GAC/B,CACH,CAAC;KACD,GAAG,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,CACtB,oBAAC,aAAa,IACZ,SAAS,EAAE,IAAI,EACf,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,EAC9B,MAAM,EAAE,uBAAuB,GAC/B,CACH,CAAC,CAAA"}
@@ -1,28 +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 { storiesOf } from '@storybook/react';
13
- import React from 'react';
14
- import { IndicatorKind, IndicatorSize, ProgressIndicator, } from '../src/components/ProgressIndicator';
15
- storiesOf('Progress Indicator', module)
16
- .add('Determinate', () => (React.createElement("div", null,
17
- React.createElement(ProgressIndicator, { isDeterminate: true, progress: 0.1, size: IndicatorSize.Large, symbols: IndicatorKind.Author }),
18
- React.createElement(ProgressIndicator, { isDeterminate: true, progress: 0.3, size: IndicatorSize.Large, symbols: IndicatorKind.ContributorDetail }),
19
- React.createElement(ProgressIndicator, { isDeterminate: true, progress: 0.5, size: IndicatorSize.Large, symbols: IndicatorKind.Contributors }),
20
- React.createElement(ProgressIndicator, { isDeterminate: true, progress: 0.7, size: IndicatorSize.Large, symbols: IndicatorKind.Project }),
21
- React.createElement(ProgressIndicator, { isDeterminate: true, progress: 0.9, size: IndicatorSize.Large, symbols: IndicatorKind.ReferenceLibrary }))))
22
- .add('Indeterminate', () => (React.createElement("div", null,
23
- React.createElement(ProgressIndicator, { isDeterminate: false, size: IndicatorSize.Large, symbols: IndicatorKind.Author }),
24
- React.createElement(ProgressIndicator, { isDeterminate: false, size: IndicatorSize.Large, symbols: IndicatorKind.ContributorDetail }),
25
- React.createElement(ProgressIndicator, { isDeterminate: false, size: IndicatorSize.Large, symbols: IndicatorKind.Contributors }),
26
- React.createElement(ProgressIndicator, { isDeterminate: false, size: IndicatorSize.Large, symbols: IndicatorKind.Project }),
27
- React.createElement(ProgressIndicator, { isDeterminate: false, size: IndicatorSize.Large, symbols: IndicatorKind.ReferenceLibrary }))));
28
- //# sourceMappingURL=ProgressIndicator.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProgressIndicator.stories.js","sourceRoot":"","sources":["../../../stories/ProgressIndicator.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EACL,aAAa,EACb,aAAa,EACb,iBAAiB,GAClB,MAAM,qCAAqC,CAAA;AAE5C,SAAS,CAAC,oBAAoB,EAAE,MAAM,CAAC;KACpC,GAAG,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,CACxB;IACE,oBAAC,iBAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,MAAM,GAC7B;IACF,oBAAC,iBAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,iBAAiB,GACxC;IACF,oBAAC,iBAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,YAAY,GACnC;IACF,oBAAC,iBAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,OAAO,GAC9B;IACF,oBAAC,iBAAiB,IAChB,aAAa,EAAE,IAAI,EACnB,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,gBAAgB,GACvC,CACE,CACP,CAAC;KACD,GAAG,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,CAC1B;IACE,oBAAC,iBAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,MAAM,GAC7B;IACF,oBAAC,iBAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,iBAAiB,GACxC;IACF,oBAAC,iBAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,YAAY,GACnC;IACF,oBAAC,iBAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,OAAO,GAC9B;IACF,oBAAC,iBAAiB,IAChB,aAAa,EAAE,KAAK,EACpB,IAAI,EAAE,aAAa,CAAC,KAAK,EACzB,OAAO,EAAE,aAAa,CAAC,gBAAgB,GACvC,CACE,CACP,CAAC,CAAA"}
@@ -1,16 +0,0 @@
1
- /*!
2
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
- *
4
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
- *
6
- * The Original Code is manuscripts-frontend.
7
- *
8
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
- *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { storiesOf } from '@storybook/react';
13
- import React from 'react';
14
- import { ReloadDialog } from '../src/components/projects/ReloadDialog';
15
- storiesOf('Reload Dialog', module).add('with message', () => (React.createElement(ReloadDialog, { message: 'There was an error during data preparation.' })));
16
- //# 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,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAA;AAEtE,SAAS,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC,CAC3D,oBAAC,YAAY,IAAC,OAAO,EAAE,6CAA6C,GAAI,CACzE,CAAC,CAAA"}
@@ -1,154 +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 { RequirementsProvider } from '@manuscripts/body-editor';
13
- import { ObjectTypes, } from '@manuscripts/json-schema';
14
- import { hasObjectType } from '@manuscripts/transform';
15
- import { storiesOf } from '@storybook/react';
16
- import React from 'react';
17
- import { RequirementsInspector } from '../src/components/requirements/RequirementsInspector';
18
- import { GenericStore, GenericStoreProvider } from '../src/store';
19
- import { modelMap } from './data/doc';
20
- const maximumManuscriptWordCountRequirement = {
21
- _id: 'MaximumManuscriptWordCountRequirement:1',
22
- containerID: 'MPProject:1',
23
- manuscriptID: 'MPManuscript:1',
24
- objectType: 'MPMaximumManuscriptWordCountRequirement',
25
- createdAt: 0,
26
- updatedAt: 0,
27
- sessionID: 'foo',
28
- severity: 0,
29
- count: 1000,
30
- };
31
- modelMap.set(maximumManuscriptWordCountRequirement._id, maximumManuscriptWordCountRequirement);
32
- const minimumManuscriptWordCountRequirement = {
33
- _id: 'MinimumManuscriptWordCountRequirement:1',
34
- containerID: 'MPProject:1',
35
- manuscriptID: 'MPManuscript:1',
36
- objectType: 'MPMinimumManuscriptWordCountRequirement',
37
- createdAt: 0,
38
- updatedAt: 0,
39
- sessionID: 'foo',
40
- severity: 0,
41
- count: 100,
42
- };
43
- modelMap.set(minimumManuscriptWordCountRequirement._id, minimumManuscriptWordCountRequirement);
44
- const maximumManuscriptCharacterCountRequirement = {
45
- _id: 'MaximumManuscriptCharacterCountRequirement:1',
46
- containerID: 'MPProject:1',
47
- manuscriptID: 'MPManuscript:1',
48
- objectType: 'MPMaximumManuscriptCharacterCountRequirement',
49
- createdAt: 0,
50
- updatedAt: 0,
51
- sessionID: 'foo',
52
- severity: 0,
53
- count: 10000,
54
- };
55
- modelMap.set(maximumManuscriptCharacterCountRequirement._id, maximumManuscriptCharacterCountRequirement);
56
- const minimumManuscriptCharacterCountRequirement = {
57
- _id: 'MinimumManuscriptCharacterCountRequirement:1',
58
- containerID: 'MPProject:1',
59
- manuscriptID: 'MPManuscript:1',
60
- objectType: 'MPMinimumManuscriptCharacterCountRequirement',
61
- createdAt: 0,
62
- updatedAt: 0,
63
- sessionID: 'foo',
64
- severity: 0,
65
- count: 1000,
66
- };
67
- modelMap.set(minimumManuscriptCharacterCountRequirement._id, minimumManuscriptCharacterCountRequirement);
68
- const maximumSectionWordCountRequirement = {
69
- _id: 'MaximumSectionWordCountRequirement:1',
70
- containerID: 'MPProject:1',
71
- manuscriptID: 'MPManuscript:1',
72
- objectType: 'MPMaximumSectionWordCountRequirement',
73
- createdAt: 0,
74
- updatedAt: 0,
75
- sessionID: 'foo',
76
- severity: 0,
77
- count: 1000,
78
- };
79
- modelMap.set(maximumSectionWordCountRequirement._id, maximumSectionWordCountRequirement);
80
- const minimumSectionWordCountRequirement = {
81
- _id: 'MinimumSectionWordCountRequirement:1',
82
- containerID: 'MPProject:1',
83
- manuscriptID: 'MPManuscript:1',
84
- objectType: 'MPMinimumSectionWordCountRequirement',
85
- createdAt: 0,
86
- updatedAt: 0,
87
- sessionID: 'foo',
88
- severity: 0,
89
- count: 100,
90
- };
91
- modelMap.set(minimumSectionWordCountRequirement._id, minimumSectionWordCountRequirement);
92
- const maximumSectionCharacterCountRequirement = {
93
- _id: 'MaximumSectionCharacterCountRequirement:1',
94
- containerID: 'MPProject:1',
95
- manuscriptID: 'MPManuscript:1',
96
- objectType: 'MPMaximumSectionCharacterCountRequirement',
97
- createdAt: 0,
98
- updatedAt: 0,
99
- sessionID: 'foo',
100
- severity: 0,
101
- count: 10000,
102
- };
103
- modelMap.set(maximumSectionCharacterCountRequirement._id, maximumSectionCharacterCountRequirement);
104
- const minimumSectionCharacterCountRequirement = {
105
- _id: 'MinimumSectionCharacterCountRequirement:1',
106
- containerID: 'MPProject:1',
107
- manuscriptID: 'MPManuscript:1',
108
- objectType: 'MPMinimumSectionCharacterCountRequirement',
109
- createdAt: 0,
110
- updatedAt: 0,
111
- sessionID: 'foo',
112
- severity: 0,
113
- count: 1000,
114
- };
115
- modelMap.set(minimumSectionCharacterCountRequirement._id, minimumSectionCharacterCountRequirement);
116
- const isSection = (model) => model.objectType === ObjectTypes.Section;
117
- for (const model of modelMap.values()) {
118
- if (isSection(model)) {
119
- // model.maxWordCountRequirement = maximumSectionWordCountRequirement._id
120
- model.minWordCountRequirement = minimumSectionWordCountRequirement._id;
121
- model.maxCharacterCountRequirement =
122
- maximumSectionCharacterCountRequirement._id;
123
- // model.minCharacterCountRequirement =
124
- // minimumSectionCharacterCountRequirement._id
125
- }
126
- }
127
- const isManuscript = hasObjectType(ObjectTypes.Manuscript);
128
- const manuscript = [...modelMap.values()].find(isManuscript);
129
- manuscript.maxWordCountRequirement = maximumManuscriptWordCountRequirement._id;
130
- // manuscript.minWordCountRequirement = minimumManuscriptWordCountRequirement._id
131
- // manuscript.maxCharacterCountRequirement =
132
- // maximumManuscriptCharacterCountRequirement._id
133
- // manuscript.minCharacterCountRequirement =
134
- // minimumManuscriptCharacterCountRequirement._id
135
- // const prototypeId =
136
- // 'MPManuscriptTemplate:www-zotero-org-styles-bmc-cell-biology-BMC-Cell-Biology-Journal-Publication'
137
- modelMap.set(manuscript._id, manuscript);
138
- const bulkUpdate = async (items) => {
139
- return await new Promise((resolve, reject) => {
140
- resolve();
141
- });
142
- };
143
- const storeState = {
144
- manuscript,
145
- modelMap,
146
- bulkUpdate,
147
- };
148
- const store = new GenericStore(undefined, undefined, storeState);
149
- storiesOf('Inspector/Requirements', module).add('validations', () => {
150
- return (React.createElement(GenericStoreProvider, { store: store },
151
- React.createElement(RequirementsProvider, { modelMap: modelMap },
152
- React.createElement(RequirementsInspector, null))));
153
- });
154
- //# sourceMappingURL=RequirementsInspector.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RequirementsInspector.stories.js","sourceRoot":"","sources":["../../../stories/RequirementsInspector.stories.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,EAWL,WAAW,GAEZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAkB,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAA;AAC5F,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,qCAAqC,GACzC;IACE,GAAG,EAAE,yCAAyC;IAC9C,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,gBAAgB;IAC9B,UAAU,EAAE,yCAAyC;IACrD,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,KAAK;IAChB,QAAQ,EAAE,CAAC;IACX,KAAK,EAAE,IAAI;CACZ,CAAA;AACH,QAAQ,CAAC,GAAG,CACV,qCAAqC,CAAC,GAAG,EACzC,qCAAqC,CACtC,CAAA;AAED,MAAM,qCAAqC,GACzC;IACE,GAAG,EAAE,yCAAyC;IAC9C,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,gBAAgB;IAC9B,UAAU,EAAE,yCAAyC;IACrD,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,KAAK;IAChB,QAAQ,EAAE,CAAC;IACX,K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,uCAAuC,CAAC,GAAG,CAAA;QAC7C,uCAAuC;QACvC,gDAAgD;KACjD;CACF;AAED,MAAM,YAAY,GAAG,aAAa,CAAa,WAAW,CAAC,UAAU,CAAC,CAAA;AAEtE,MAAM,UAAU,GAAG,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,CAAe,CAAA;AAE1E,UAAU,CAAC,uBAAuB,GAAG,qCAAqC,CAAC,GAAG,CAAA;AAC9E,iFAAiF;AACjF,4CAA4C;AAC5C,mDAAmD;AACnD,4CAA4C;AAC5C,mDAAmD;AAEnD,sBAAsB;AACtB,uGAAuG;AAEvG,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,UAAU,CAAC,CAAA;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;IACR,UAAU;CACX,CAAA;AACD,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,CAAA;AAEhE,SAAS,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,EAAE,GAAG,EAAE;IAClE,OAAO,CACL,oBAAC,oBAAoB,IAAC,KAAK,EAAE,KAAK;QAChC,oBAAC,oBAAoB,IAAC,QAAQ,EAAE,QAAQ;YACtC,oBAAC,qBAAqB,OAAG,CACJ,CACF,CACxB,CAAA;AACH,CAAC,CAAC,CAAA"}
@@ -1,31 +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 { storiesOf } from '@storybook/react';
13
- import React from 'react';
14
- import { RequirementsList } from '../src/components/requirements/RequirementsList';
15
- import { GenericStore, GenericStoreProvider } from '../src/store';
16
- import { manuscriptID, modelMap } from './data/doc';
17
- import { validationData } from './data/validationData';
18
- const bulkUpdate = async (items) => {
19
- return await new Promise((resolve, reject) => {
20
- resolve();
21
- });
22
- };
23
- const state = {
24
- bulkUpdate,
25
- manuscriptID,
26
- modelMap,
27
- };
28
- const store = new GenericStore(undefined, undefined, state);
29
- storiesOf('Requirments/List', module).add('validations', () => (React.createElement(GenericStoreProvider, { store: store },
30
- React.createElement(RequirementsList, { validationResult: validationData }))));
31
- //# 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,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAA;AAClF,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACjE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;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;IACZ,QAAQ;CACT,CAAA;AAED,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;AAE3D,SAAS,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,CAC7D,oBAAC,oBAAoB,IAAC,KAAK,EAAE,KAAK;IAChC,oBAAC,gBAAgB,IACf,gBAAgB,EAAE,cAAuC,GACzD,CACmB,CACxB,CAAC,CAAA"}
@@ -1,29 +0,0 @@
1
- /*!
2
- * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
3
- *
4
- * Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
5
- *
6
- * The Original Code is manuscripts-frontend.
7
- *
8
- * The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
9
- *
10
- * All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
11
- */
12
- import { PrimaryButton } from '@manuscripts/style-guide';
13
- import { action } from '@storybook/addon-actions';
14
- import { storiesOf } from '@storybook/react';
15
- import { Field, Form, Formik } from 'formik';
16
- import React from 'react';
17
- import { SelectField } from '../src/components/SelectField';
18
- const options = [
19
- { value: 'en', label: 'English' },
20
- { value: 'fr', label: 'French' },
21
- ];
22
- storiesOf('SelectField', module).add('manual submit', () => (React.createElement(Formik, { initialValues: {
23
- locale: 'en',
24
- }, onSubmit: action('submit') },
25
- React.createElement(Form, null,
26
- React.createElement(Field, { name: 'locale', component: SelectField, options: options }),
27
- React.createElement("div", { style: { marginTop: 20 } },
28
- React.createElement(PrimaryButton, { type: "submit" }, "Save"))))));
29
- //# 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,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;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,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,eAAe,EAAE,GAAG,EAAE,CAAC,CAC1D,oBAAC,MAAM,IACL,aAAa,EAAE;QACb,MAAM,EAAE,IAAI;KACb,EACD,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;IAE1B,oBAAC,IAAI;QACH,oBAAC,KAAK,IAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI;QACnE,6BAAK,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;YAC3B,oBAAC,aAAa,IAAC,IAAI,EAAC,QAAQ,WAAqB,CAC7C,CACD,CACA,CACV,CAAC,CAAA"}
@@ -1,27 +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 { storiesOf } from '@storybook/react';
13
- import React from 'react';
14
- import styled from 'styled-components';
15
- import { Support } from '../src/components/Support';
16
- const Container = styled.div `
17
- height: 300px;
18
- width: 300px;
19
- display: flex;
20
- flex-direction: column;
21
- justify-content: space-between;
22
- align-items: flex-start;
23
- `;
24
- storiesOf('Support', module).add('Menu', () => (React.createElement(Container, null,
25
- React.createElement(Support, null),
26
- React.createElement(Support, null))));
27
- //# 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,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAEnD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;CAO3B,CAAA;AAED,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAC7C,oBAAC,SAAS;IACR,oBAAC,OAAO,OAAG;IACX,oBAAC,OAAO,OAAG,CACD,CACb,CAAC,CAAA"}