decidim-participatory_documents 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (559) hide show
  1. checksums.yaml +7 -0
  2. data/.erb-lint.yml +30 -0
  3. data/.eslintignore +3 -0
  4. data/.eslintrc.json +3 -0
  5. data/.github/workflows/lint.yml +43 -0
  6. data/.github/workflows/test.yml +60 -0
  7. data/.gitignore +27 -0
  8. data/.rspec +3 -0
  9. data/.rubocop-disabled.yml +11 -0
  10. data/.rubocop.yml +4 -0
  11. data/.rubocop_rails.yml +91 -0
  12. data/.rubocop_ruby.yml +1768 -0
  13. data/.ruby-version +1 -0
  14. data/.simplecov +13 -0
  15. data/CODE_OF_CONDUCT.md +74 -0
  16. data/Gemfile +39 -0
  17. data/Gemfile.lock +817 -0
  18. data/LICENSE-AGPLv3.txt +661 -0
  19. data/README.md +166 -0
  20. data/Rakefile +44 -0
  21. data/app/cells/decidim/participatory_documents/edit_suggestion_note_modal/show.erb +20 -0
  22. data/app/cells/decidim/participatory_documents/edit_suggestion_note_modal_cell.rb +35 -0
  23. data/app/cells/decidim/participatory_documents/suggestion/admin_answer.erb +7 -0
  24. data/app/cells/decidim/participatory_documents/suggestion/show.erb +11 -0
  25. data/app/cells/decidim/participatory_documents/suggestion_author/avatar.erb +3 -0
  26. data/app/cells/decidim/participatory_documents/suggestion_author/date.erb +1 -0
  27. data/app/cells/decidim/participatory_documents/suggestion_author/name.erb +3 -0
  28. data/app/cells/decidim/participatory_documents/suggestion_author/show.erb +9 -0
  29. data/app/cells/decidim/participatory_documents/suggestion_author_cell.rb +50 -0
  30. data/app/cells/decidim/participatory_documents/suggestion_cell.rb +41 -0
  31. data/app/commands/decidim/participatory_documents/admin/answer_suggestion.rb +62 -0
  32. data/app/commands/decidim/participatory_documents/admin/assign_suggestions_to_valuator.rb +59 -0
  33. data/app/commands/decidim/participatory_documents/admin/create_document.rb +55 -0
  34. data/app/commands/decidim/participatory_documents/admin/create_suggestion_note.rb +49 -0
  35. data/app/commands/decidim/participatory_documents/admin/destroy_annotation.rb +67 -0
  36. data/app/commands/decidim/participatory_documents/admin/notify_suggestion_answer.rb +52 -0
  37. data/app/commands/decidim/participatory_documents/admin/publish_answers.rb +59 -0
  38. data/app/commands/decidim/participatory_documents/admin/publish_document.rb +26 -0
  39. data/app/commands/decidim/participatory_documents/admin/unassign_suggestions_from_valuator.rb +60 -0
  40. data/app/commands/decidim/participatory_documents/admin/update_document.rb +85 -0
  41. data/app/commands/decidim/participatory_documents/admin/update_or_create_annotation.rb +98 -0
  42. data/app/commands/decidim/participatory_documents/admin/update_section.rb +52 -0
  43. data/app/commands/decidim/participatory_documents/admin/update_suggestion_note.rb +36 -0
  44. data/app/commands/decidim/participatory_documents/create_suggestion.rb +65 -0
  45. data/app/controllers/concerns/decidim/participatory_documents/admin/needs_admin_snippets.rb +25 -0
  46. data/app/controllers/concerns/decidim/participatory_documents/needs_pdf_document.rb +105 -0
  47. data/app/controllers/decidim/participatory_documents/admin/annotations_controller.rb +51 -0
  48. data/app/controllers/decidim/participatory_documents/admin/application_controller.rb +18 -0
  49. data/app/controllers/decidim/participatory_documents/admin/documents_controller.rb +104 -0
  50. data/app/controllers/decidim/participatory_documents/admin/sections_controller.rb +39 -0
  51. data/app/controllers/decidim/participatory_documents/admin/suggestion_notes_controller.rb +59 -0
  52. data/app/controllers/decidim/participatory_documents/admin/suggestions_controller.rb +160 -0
  53. data/app/controllers/decidim/participatory_documents/admin/valuation_assignments_controller.rb +58 -0
  54. data/app/controllers/decidim/participatory_documents/application_controller.rb +14 -0
  55. data/app/controllers/decidim/participatory_documents/document_suggestions_controller.rb +40 -0
  56. data/app/controllers/decidim/participatory_documents/documents_controller.rb +18 -0
  57. data/app/controllers/decidim/participatory_documents/section_suggestions_controller.rb +40 -0
  58. data/app/events/decidim/participatory_documents/suggestion_answer_event.rb +43 -0
  59. data/app/forms/decidim/participatory_documents/admin/annotation_form.rb +26 -0
  60. data/app/forms/decidim/participatory_documents/admin/answer_suggestion_form.rb +21 -0
  61. data/app/forms/decidim/participatory_documents/admin/document_form.rb +29 -0
  62. data/app/forms/decidim/participatory_documents/admin/section_form.rb +17 -0
  63. data/app/forms/decidim/participatory_documents/admin/suggestion_note_form.rb +15 -0
  64. data/app/forms/decidim/participatory_documents/admin/valuation_assignment_form.rb +38 -0
  65. data/app/forms/decidim/participatory_documents/suggestion_form.rb +39 -0
  66. data/app/helpers/decidim/participatory_documents/admin/button_helper.rb +17 -0
  67. data/app/helpers/decidim/participatory_documents/admin/documents_helper.rb +71 -0
  68. data/app/helpers/decidim/participatory_documents/admin/suggestion_helper.rb +54 -0
  69. data/app/helpers/decidim/participatory_documents/documents_helper.rb +41 -0
  70. data/app/models/concerns/decidim/participatory_documents/participatory_space_user_role_override.rb +19 -0
  71. data/app/models/concerns/decidim/participatory_documents/valuator_override.rb +18 -0
  72. data/app/models/decidim/participatory_documents/annotation.rb +28 -0
  73. data/app/models/decidim/participatory_documents/application_record.rb +10 -0
  74. data/app/models/decidim/participatory_documents/document.rb +67 -0
  75. data/app/models/decidim/participatory_documents/section.rb +44 -0
  76. data/app/models/decidim/participatory_documents/suggestion.rb +167 -0
  77. data/app/models/decidim/participatory_documents/suggestion_note.rb +18 -0
  78. data/app/models/decidim/participatory_documents/valuation_assignment.rb +21 -0
  79. data/app/packs/entrypoints/decidim_participatory_documents.js +6 -0
  80. data/app/packs/entrypoints/decidim_participatory_documents.scss +18 -0
  81. data/app/packs/entrypoints/decidim_participatory_documents_admin.js +7 -0
  82. data/app/packs/entrypoints/decidim_participatory_documents_admin.scss +69 -0
  83. data/app/packs/entrypoints/decidim_participatory_documents_editor.js +12 -0
  84. data/app/packs/entrypoints/decidim_participatory_documents_editor.scss +33 -0
  85. data/app/packs/entrypoints/decidim_participatory_documents_viewer.js +6 -0
  86. data/app/packs/entrypoints/decidim_participatory_documents_viewer.scss +11 -0
  87. data/app/packs/images/.keep +0 -0
  88. data/app/packs/images/badge.svg +6 -0
  89. data/app/packs/images/fullscreen.svg +6 -0
  90. data/app/packs/images/fullscreen_exit.svg +14 -0
  91. data/app/packs/images/group.svg +1 -0
  92. data/app/packs/images/move.svg +49 -0
  93. data/app/packs/images/participatory_documents.svg +14 -0
  94. data/app/packs/src/decidim/participatory_documents/admin/manage_bulk_suggestions.js +133 -0
  95. data/app/packs/src/decidim/participatory_documents/admin/preview_box_color.js +14 -0
  96. data/app/packs/src/decidim/participatory_documents/global.js +22 -0
  97. data/app/packs/src/decidim/participatory_documents/pdf/box.js +234 -0
  98. data/app/packs/src/decidim/participatory_documents/pdf/box_control_group.js +80 -0
  99. data/app/packs/src/decidim/participatory_documents/pdf/box_control_move.js +55 -0
  100. data/app/packs/src/decidim/participatory_documents/pdf/box_controls.js +18 -0
  101. data/app/packs/src/decidim/participatory_documents/pdf/pdf_modal_manager.js +129 -0
  102. data/app/packs/src/decidim/participatory_documents/pdf/pdf_state_manager.js +141 -0
  103. data/app/packs/src/decidim/participatory_documents/pdf/polygon_editor.js +99 -0
  104. data/app/packs/src/decidim/participatory_documents/pdf/polygon_viewer.js +55 -0
  105. data/app/packs/src/decidim/participatory_documents/pdf/suggestion_form.js +142 -0
  106. data/app/packs/src/decidim/participatory_documents/pdf.js +37 -0
  107. data/app/packs/src/decidim/participatory_documents/pdf_admin.js +60 -0
  108. data/app/packs/src/decidim/participatory_documents/pdf_notifications.js +20 -0
  109. data/app/packs/src/decidim/participatory_documents/skip_cookie_warning.js +10 -0
  110. data/app/packs/stylesheets/decidim/participatory_documents/decidim_admin_classes.scss +13 -0
  111. data/app/packs/stylesheets/decidim/participatory_documents/pdf/admin_modals.scss +41 -0
  112. data/app/packs/stylesheets/decidim/participatory_documents/pdf/admin_polygons.scss +131 -0
  113. data/app/packs/stylesheets/decidim/participatory_documents/pdf/admin_tweaks.scss +44 -0
  114. data/app/packs/stylesheets/decidim/participatory_documents/pdf/defaults.scss +7 -0
  115. data/app/packs/stylesheets/decidim/participatory_documents/pdf/document.scss +7 -0
  116. data/app/packs/stylesheets/decidim/participatory_documents/pdf/modals.scss +152 -0
  117. data/app/packs/stylesheets/decidim/participatory_documents/pdf/notifications.scss +31 -0
  118. data/app/packs/stylesheets/decidim/participatory_documents/pdf/polygons.scss +80 -0
  119. data/app/packs/stylesheets/decidim/participatory_documents/pdf/tweaks.scss +147 -0
  120. data/app/permissions/decidim/participatory_documents/admin/permissions.rb +118 -0
  121. data/app/permissions/decidim/participatory_documents/permissions.rb +16 -0
  122. data/app/presenters/decidim/participatory_documents/admin_log/annotation_presenter.rb +25 -0
  123. data/app/presenters/decidim/participatory_documents/admin_log/document_presenter.rb +13 -0
  124. data/app/presenters/decidim/participatory_documents/admin_log/section_presenter.rb +25 -0
  125. data/app/presenters/decidim/participatory_documents/admin_log/suggestion_note_presenter.rb +49 -0
  126. data/app/serializers/decidim/participatory_documents/suggestion_serializer.rb +67 -0
  127. data/app/uploaders/decidim/participatory_documents/pdf_document_uploader.rb +11 -0
  128. data/app/views/decidim/admin/exports/_dropdown.html.erb +16 -0
  129. data/app/views/decidim/participatory_documents/admin/documents/_editor_modal.html.erb +3 -0
  130. data/app/views/decidim/participatory_documents/admin/documents/_form.html.erb +39 -0
  131. data/app/views/decidim/participatory_documents/admin/documents/_title.html.erb +7 -0
  132. data/app/views/decidim/participatory_documents/admin/documents/edit.html.erb +18 -0
  133. data/app/views/decidim/participatory_documents/admin/documents/edit_pdf.html.erb +15 -0
  134. data/app/views/decidim/participatory_documents/admin/documents/index.html.erb +11 -0
  135. data/app/views/decidim/participatory_documents/admin/documents/new.html.erb +17 -0
  136. data/app/views/decidim/participatory_documents/admin/documents/pdf_viewer.html.erb +105 -0
  137. data/app/views/decidim/participatory_documents/admin/sections/_form.html.erb +24 -0
  138. data/app/views/decidim/participatory_documents/admin/suggestion_notes/_editing_suggestion_note.html.erb +18 -0
  139. data/app/views/decidim/participatory_documents/admin/suggestion_notes/_form.html.erb +8 -0
  140. data/app/views/decidim/participatory_documents/admin/suggestion_notes/_suggestion_notes.html.erb +46 -0
  141. data/app/views/decidim/participatory_documents/admin/suggestions/_add_valuators.html.erb +17 -0
  142. data/app/views/decidim/participatory_documents/admin/suggestions/_bulk-actions.html.erb +7 -0
  143. data/app/views/decidim/participatory_documents/admin/suggestions/_form.html.erb +30 -0
  144. data/app/views/decidim/participatory_documents/admin/suggestions/_js-callout.html.erb +6 -0
  145. data/app/views/decidim/participatory_documents/admin/suggestions/_suggestion.html.erb +33 -0
  146. data/app/views/decidim/participatory_documents/admin/suggestions/_valuators.html.erb +43 -0
  147. data/app/views/decidim/participatory_documents/admin/suggestions/bulk_actions/_assign_to_valuator.html.erb +15 -0
  148. data/app/views/decidim/participatory_documents/admin/suggestions/bulk_actions/_dropdown.html.erb +36 -0
  149. data/app/views/decidim/participatory_documents/admin/suggestions/bulk_actions/_publish_answers.html.erb +14 -0
  150. data/app/views/decidim/participatory_documents/admin/suggestions/bulk_actions/_unassign_from_valuator.html.erb +15 -0
  151. data/app/views/decidim/participatory_documents/admin/suggestions/index.html.erb +45 -0
  152. data/app/views/decidim/participatory_documents/admin/suggestions/publish_answers.js.erb +17 -0
  153. data/app/views/decidim/participatory_documents/admin/suggestions/show.html.erb +55 -0
  154. data/app/views/decidim/participatory_documents/document_suggestions/_form.html.erb +29 -0
  155. data/app/views/decidim/participatory_documents/document_suggestions/index.html.erb +14 -0
  156. data/app/views/decidim/participatory_documents/documents/_pdfjs_base.html.erb +428 -0
  157. data/app/views/decidim/participatory_documents/documents/index.html.erb +27 -0
  158. data/app/views/decidim/participatory_documents/documents/pdf_viewer.html.erb +63 -0
  159. data/app/views/decidim/participatory_documents/section_suggestions/_form.html.erb +8 -0
  160. data/app/views/decidim/participatory_documents/section_suggestions/index.html.erb +14 -0
  161. data/babel.config.json +25 -0
  162. data/bin/bundle +62 -0
  163. data/bin/rails +6 -0
  164. data/bin/webpack-dev-server +6 -0
  165. data/codecov.yml +11 -0
  166. data/config/assets.rb +11 -0
  167. data/config/i18n-tasks.yml +12 -0
  168. data/config/locales/en.yml +266 -0
  169. data/crowdin.yml +45 -0
  170. data/db/migrate/20221018112720_create_decidim_participatory_documents_document.rb +17 -0
  171. data/db/migrate/20221115233021_create_decidim_participatory_documents_participation_sections.rb +12 -0
  172. data/db/migrate/20221115233022_create_decidim_participatory_documents_annotations.rb +13 -0
  173. data/db/migrate/20221115233023_create_decidim_participatory_documents_suggestions.rb +17 -0
  174. data/db/migrate/20221115233024_create_decidim_participatory_documents_suggestion_notes.rb +15 -0
  175. data/db/migrate/20221115233024_create_decidim_participatory_documents_valuation_assignments.rb +12 -0
  176. data/db/migrate/20230616100340_add_published_at_to_decidim_participatory_documents_documents.rb +8 -0
  177. data/db/migrate/20230622081831_add_decidim_participatory_documents_box_positions.rb +37 -0
  178. data/decidim-participatory_documents.gemspec +30 -0
  179. data/lib/decidim/participatory_documents/admin.rb +8 -0
  180. data/lib/decidim/participatory_documents/admin_engine.rb +45 -0
  181. data/lib/decidim/participatory_documents/component.rb +202 -0
  182. data/lib/decidim/participatory_documents/engine.rb +46 -0
  183. data/lib/decidim/participatory_documents/seeds/Exampledocument.pdf +0 -0
  184. data/lib/decidim/participatory_documents/test/factories.rb +144 -0
  185. data/lib/decidim/participatory_documents/version.rb +9 -0
  186. data/lib/decidim/participatory_documents.rb +29 -0
  187. data/lib/tasks/decidim_participatory_documents.rake +27 -0
  188. data/package-lock.json +12687 -0
  189. data/package.json +52 -0
  190. data/pdfjs/LICENSE +177 -0
  191. data/pdfjs/README.md +12 -0
  192. data/pdfjs/build/pdf.js +15629 -0
  193. data/pdfjs/build/pdf.js.map +1 -0
  194. data/pdfjs/build/pdf.sandbox.js +280 -0
  195. data/pdfjs/build/pdf.sandbox.js.map +1 -0
  196. data/pdfjs/build/pdf.worker.js +64496 -0
  197. data/pdfjs/build/pdf.worker.js.map +1 -0
  198. data/pdfjs/web/cmaps/78-EUC-H.bcmap +0 -0
  199. data/pdfjs/web/cmaps/78-EUC-V.bcmap +0 -0
  200. data/pdfjs/web/cmaps/78-H.bcmap +0 -0
  201. data/pdfjs/web/cmaps/78-RKSJ-H.bcmap +0 -0
  202. data/pdfjs/web/cmaps/78-RKSJ-V.bcmap +0 -0
  203. data/pdfjs/web/cmaps/78-V.bcmap +0 -0
  204. data/pdfjs/web/cmaps/78ms-RKSJ-H.bcmap +0 -0
  205. data/pdfjs/web/cmaps/78ms-RKSJ-V.bcmap +0 -0
  206. data/pdfjs/web/cmaps/83pv-RKSJ-H.bcmap +0 -0
  207. data/pdfjs/web/cmaps/90ms-RKSJ-H.bcmap +0 -0
  208. data/pdfjs/web/cmaps/90ms-RKSJ-V.bcmap +0 -0
  209. data/pdfjs/web/cmaps/90msp-RKSJ-H.bcmap +0 -0
  210. data/pdfjs/web/cmaps/90msp-RKSJ-V.bcmap +0 -0
  211. data/pdfjs/web/cmaps/90pv-RKSJ-H.bcmap +0 -0
  212. data/pdfjs/web/cmaps/90pv-RKSJ-V.bcmap +0 -0
  213. data/pdfjs/web/cmaps/Add-H.bcmap +0 -0
  214. data/pdfjs/web/cmaps/Add-RKSJ-H.bcmap +0 -0
  215. data/pdfjs/web/cmaps/Add-RKSJ-V.bcmap +0 -0
  216. data/pdfjs/web/cmaps/Add-V.bcmap +0 -0
  217. data/pdfjs/web/cmaps/Adobe-CNS1-0.bcmap +0 -0
  218. data/pdfjs/web/cmaps/Adobe-CNS1-1.bcmap +0 -0
  219. data/pdfjs/web/cmaps/Adobe-CNS1-2.bcmap +0 -0
  220. data/pdfjs/web/cmaps/Adobe-CNS1-3.bcmap +0 -0
  221. data/pdfjs/web/cmaps/Adobe-CNS1-4.bcmap +0 -0
  222. data/pdfjs/web/cmaps/Adobe-CNS1-5.bcmap +0 -0
  223. data/pdfjs/web/cmaps/Adobe-CNS1-6.bcmap +0 -0
  224. data/pdfjs/web/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  225. data/pdfjs/web/cmaps/Adobe-GB1-0.bcmap +0 -0
  226. data/pdfjs/web/cmaps/Adobe-GB1-1.bcmap +0 -0
  227. data/pdfjs/web/cmaps/Adobe-GB1-2.bcmap +0 -0
  228. data/pdfjs/web/cmaps/Adobe-GB1-3.bcmap +0 -0
  229. data/pdfjs/web/cmaps/Adobe-GB1-4.bcmap +0 -0
  230. data/pdfjs/web/cmaps/Adobe-GB1-5.bcmap +0 -0
  231. data/pdfjs/web/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  232. data/pdfjs/web/cmaps/Adobe-Japan1-0.bcmap +0 -0
  233. data/pdfjs/web/cmaps/Adobe-Japan1-1.bcmap +0 -0
  234. data/pdfjs/web/cmaps/Adobe-Japan1-2.bcmap +0 -0
  235. data/pdfjs/web/cmaps/Adobe-Japan1-3.bcmap +0 -0
  236. data/pdfjs/web/cmaps/Adobe-Japan1-4.bcmap +0 -0
  237. data/pdfjs/web/cmaps/Adobe-Japan1-5.bcmap +0 -0
  238. data/pdfjs/web/cmaps/Adobe-Japan1-6.bcmap +0 -0
  239. data/pdfjs/web/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  240. data/pdfjs/web/cmaps/Adobe-Korea1-0.bcmap +0 -0
  241. data/pdfjs/web/cmaps/Adobe-Korea1-1.bcmap +0 -0
  242. data/pdfjs/web/cmaps/Adobe-Korea1-2.bcmap +0 -0
  243. data/pdfjs/web/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  244. data/pdfjs/web/cmaps/B5-H.bcmap +0 -0
  245. data/pdfjs/web/cmaps/B5-V.bcmap +0 -0
  246. data/pdfjs/web/cmaps/B5pc-H.bcmap +0 -0
  247. data/pdfjs/web/cmaps/B5pc-V.bcmap +0 -0
  248. data/pdfjs/web/cmaps/CNS-EUC-H.bcmap +0 -0
  249. data/pdfjs/web/cmaps/CNS-EUC-V.bcmap +0 -0
  250. data/pdfjs/web/cmaps/CNS1-H.bcmap +0 -0
  251. data/pdfjs/web/cmaps/CNS1-V.bcmap +0 -0
  252. data/pdfjs/web/cmaps/CNS2-H.bcmap +0 -0
  253. data/pdfjs/web/cmaps/CNS2-V.bcmap +3 -0
  254. data/pdfjs/web/cmaps/ETHK-B5-H.bcmap +0 -0
  255. data/pdfjs/web/cmaps/ETHK-B5-V.bcmap +0 -0
  256. data/pdfjs/web/cmaps/ETen-B5-H.bcmap +0 -0
  257. data/pdfjs/web/cmaps/ETen-B5-V.bcmap +0 -0
  258. data/pdfjs/web/cmaps/ETenms-B5-H.bcmap +3 -0
  259. data/pdfjs/web/cmaps/ETenms-B5-V.bcmap +0 -0
  260. data/pdfjs/web/cmaps/EUC-H.bcmap +0 -0
  261. data/pdfjs/web/cmaps/EUC-V.bcmap +0 -0
  262. data/pdfjs/web/cmaps/Ext-H.bcmap +0 -0
  263. data/pdfjs/web/cmaps/Ext-RKSJ-H.bcmap +0 -0
  264. data/pdfjs/web/cmaps/Ext-RKSJ-V.bcmap +0 -0
  265. data/pdfjs/web/cmaps/Ext-V.bcmap +0 -0
  266. data/pdfjs/web/cmaps/GB-EUC-H.bcmap +0 -0
  267. data/pdfjs/web/cmaps/GB-EUC-V.bcmap +0 -0
  268. data/pdfjs/web/cmaps/GB-H.bcmap +4 -0
  269. data/pdfjs/web/cmaps/GB-V.bcmap +0 -0
  270. data/pdfjs/web/cmaps/GBK-EUC-H.bcmap +0 -0
  271. data/pdfjs/web/cmaps/GBK-EUC-V.bcmap +0 -0
  272. data/pdfjs/web/cmaps/GBK2K-H.bcmap +0 -0
  273. data/pdfjs/web/cmaps/GBK2K-V.bcmap +0 -0
  274. data/pdfjs/web/cmaps/GBKp-EUC-H.bcmap +0 -0
  275. data/pdfjs/web/cmaps/GBKp-EUC-V.bcmap +0 -0
  276. data/pdfjs/web/cmaps/GBT-EUC-H.bcmap +0 -0
  277. data/pdfjs/web/cmaps/GBT-EUC-V.bcmap +0 -0
  278. data/pdfjs/web/cmaps/GBT-H.bcmap +0 -0
  279. data/pdfjs/web/cmaps/GBT-V.bcmap +0 -0
  280. data/pdfjs/web/cmaps/GBTpc-EUC-H.bcmap +0 -0
  281. data/pdfjs/web/cmaps/GBTpc-EUC-V.bcmap +0 -0
  282. data/pdfjs/web/cmaps/GBpc-EUC-H.bcmap +0 -0
  283. data/pdfjs/web/cmaps/GBpc-EUC-V.bcmap +0 -0
  284. data/pdfjs/web/cmaps/H.bcmap +0 -0
  285. data/pdfjs/web/cmaps/HKdla-B5-H.bcmap +0 -0
  286. data/pdfjs/web/cmaps/HKdla-B5-V.bcmap +0 -0
  287. data/pdfjs/web/cmaps/HKdlb-B5-H.bcmap +0 -0
  288. data/pdfjs/web/cmaps/HKdlb-B5-V.bcmap +0 -0
  289. data/pdfjs/web/cmaps/HKgccs-B5-H.bcmap +0 -0
  290. data/pdfjs/web/cmaps/HKgccs-B5-V.bcmap +0 -0
  291. data/pdfjs/web/cmaps/HKm314-B5-H.bcmap +0 -0
  292. data/pdfjs/web/cmaps/HKm314-B5-V.bcmap +0 -0
  293. data/pdfjs/web/cmaps/HKm471-B5-H.bcmap +0 -0
  294. data/pdfjs/web/cmaps/HKm471-B5-V.bcmap +0 -0
  295. data/pdfjs/web/cmaps/HKscs-B5-H.bcmap +0 -0
  296. data/pdfjs/web/cmaps/HKscs-B5-V.bcmap +0 -0
  297. data/pdfjs/web/cmaps/Hankaku.bcmap +0 -0
  298. data/pdfjs/web/cmaps/Hiragana.bcmap +0 -0
  299. data/pdfjs/web/cmaps/KSC-EUC-H.bcmap +0 -0
  300. data/pdfjs/web/cmaps/KSC-EUC-V.bcmap +0 -0
  301. data/pdfjs/web/cmaps/KSC-H.bcmap +0 -0
  302. data/pdfjs/web/cmaps/KSC-Johab-H.bcmap +0 -0
  303. data/pdfjs/web/cmaps/KSC-Johab-V.bcmap +0 -0
  304. data/pdfjs/web/cmaps/KSC-V.bcmap +0 -0
  305. data/pdfjs/web/cmaps/KSCms-UHC-H.bcmap +0 -0
  306. data/pdfjs/web/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  307. data/pdfjs/web/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  308. data/pdfjs/web/cmaps/KSCms-UHC-V.bcmap +0 -0
  309. data/pdfjs/web/cmaps/KSCpc-EUC-H.bcmap +0 -0
  310. data/pdfjs/web/cmaps/KSCpc-EUC-V.bcmap +0 -0
  311. data/pdfjs/web/cmaps/Katakana.bcmap +0 -0
  312. data/pdfjs/web/cmaps/LICENSE +36 -0
  313. data/pdfjs/web/cmaps/NWP-H.bcmap +0 -0
  314. data/pdfjs/web/cmaps/NWP-V.bcmap +0 -0
  315. data/pdfjs/web/cmaps/RKSJ-H.bcmap +0 -0
  316. data/pdfjs/web/cmaps/RKSJ-V.bcmap +0 -0
  317. data/pdfjs/web/cmaps/Roman.bcmap +0 -0
  318. data/pdfjs/web/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  319. data/pdfjs/web/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  320. data/pdfjs/web/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  321. data/pdfjs/web/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  322. data/pdfjs/web/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  323. data/pdfjs/web/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  324. data/pdfjs/web/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  325. data/pdfjs/web/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  326. data/pdfjs/web/cmaps/UniGB-UCS2-H.bcmap +0 -0
  327. data/pdfjs/web/cmaps/UniGB-UCS2-V.bcmap +0 -0
  328. data/pdfjs/web/cmaps/UniGB-UTF16-H.bcmap +0 -0
  329. data/pdfjs/web/cmaps/UniGB-UTF16-V.bcmap +0 -0
  330. data/pdfjs/web/cmaps/UniGB-UTF32-H.bcmap +0 -0
  331. data/pdfjs/web/cmaps/UniGB-UTF32-V.bcmap +0 -0
  332. data/pdfjs/web/cmaps/UniGB-UTF8-H.bcmap +0 -0
  333. data/pdfjs/web/cmaps/UniGB-UTF8-V.bcmap +0 -0
  334. data/pdfjs/web/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  335. data/pdfjs/web/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  336. data/pdfjs/web/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  337. data/pdfjs/web/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  338. data/pdfjs/web/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  339. data/pdfjs/web/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  340. data/pdfjs/web/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  341. data/pdfjs/web/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  342. data/pdfjs/web/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  343. data/pdfjs/web/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  344. data/pdfjs/web/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  345. data/pdfjs/web/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  346. data/pdfjs/web/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  347. data/pdfjs/web/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  348. data/pdfjs/web/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  349. data/pdfjs/web/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  350. data/pdfjs/web/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  351. data/pdfjs/web/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  352. data/pdfjs/web/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  353. data/pdfjs/web/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  354. data/pdfjs/web/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  355. data/pdfjs/web/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  356. data/pdfjs/web/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  357. data/pdfjs/web/cmaps/UniKS-UCS2-H.bcmap +0 -0
  358. data/pdfjs/web/cmaps/UniKS-UCS2-V.bcmap +0 -0
  359. data/pdfjs/web/cmaps/UniKS-UTF16-H.bcmap +0 -0
  360. data/pdfjs/web/cmaps/UniKS-UTF16-V.bcmap +0 -0
  361. data/pdfjs/web/cmaps/UniKS-UTF32-H.bcmap +0 -0
  362. data/pdfjs/web/cmaps/UniKS-UTF32-V.bcmap +0 -0
  363. data/pdfjs/web/cmaps/UniKS-UTF8-H.bcmap +0 -0
  364. data/pdfjs/web/cmaps/UniKS-UTF8-V.bcmap +0 -0
  365. data/pdfjs/web/cmaps/V.bcmap +0 -0
  366. data/pdfjs/web/cmaps/WP-Symbol.bcmap +0 -0
  367. data/pdfjs/web/compressed.tracemonkey-pldi-09.pdf +0 -0
  368. data/pdfjs/web/debugger.css +113 -0
  369. data/pdfjs/web/debugger.js +612 -0
  370. data/pdfjs/web/images/annotation-check.svg +11 -0
  371. data/pdfjs/web/images/annotation-comment.svg +16 -0
  372. data/pdfjs/web/images/annotation-help.svg +26 -0
  373. data/pdfjs/web/images/annotation-insert.svg +10 -0
  374. data/pdfjs/web/images/annotation-key.svg +11 -0
  375. data/pdfjs/web/images/annotation-newparagraph.svg +11 -0
  376. data/pdfjs/web/images/annotation-noicon.svg +7 -0
  377. data/pdfjs/web/images/annotation-note.svg +42 -0
  378. data/pdfjs/web/images/annotation-paperclip.svg +6 -0
  379. data/pdfjs/web/images/annotation-paragraph.svg +16 -0
  380. data/pdfjs/web/images/annotation-pushpin.svg +7 -0
  381. data/pdfjs/web/images/cursor-editorFreeText.svg +3 -0
  382. data/pdfjs/web/images/cursor-editorInk.svg +4 -0
  383. data/pdfjs/web/images/findbarButton-next.svg +3 -0
  384. data/pdfjs/web/images/findbarButton-previous.svg +3 -0
  385. data/pdfjs/web/images/loading-dark.svg +24 -0
  386. data/pdfjs/web/images/loading-icon.gif +0 -0
  387. data/pdfjs/web/images/loading.svg +1 -0
  388. data/pdfjs/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
  389. data/pdfjs/web/images/secondaryToolbarButton-firstPage.svg +3 -0
  390. data/pdfjs/web/images/secondaryToolbarButton-handTool.svg +3 -0
  391. data/pdfjs/web/images/secondaryToolbarButton-lastPage.svg +3 -0
  392. data/pdfjs/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
  393. data/pdfjs/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
  394. data/pdfjs/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
  395. data/pdfjs/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
  396. data/pdfjs/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
  397. data/pdfjs/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
  398. data/pdfjs/web/images/secondaryToolbarButton-selectTool.svg +3 -0
  399. data/pdfjs/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
  400. data/pdfjs/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
  401. data/pdfjs/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
  402. data/pdfjs/web/images/shadow.png +0 -0
  403. data/pdfjs/web/images/toolbarButton-bookmark.svg +3 -0
  404. data/pdfjs/web/images/toolbarButton-currentOutlineItem.svg +3 -0
  405. data/pdfjs/web/images/toolbarButton-download.svg +4 -0
  406. data/pdfjs/web/images/toolbarButton-editorFreeText.svg +3 -0
  407. data/pdfjs/web/images/toolbarButton-editorInk.svg +4 -0
  408. data/pdfjs/web/images/toolbarButton-menuArrow.svg +3 -0
  409. data/pdfjs/web/images/toolbarButton-openFile.svg +3 -0
  410. data/pdfjs/web/images/toolbarButton-pageDown.svg +3 -0
  411. data/pdfjs/web/images/toolbarButton-pageUp.svg +3 -0
  412. data/pdfjs/web/images/toolbarButton-presentationMode.svg +3 -0
  413. data/pdfjs/web/images/toolbarButton-print.svg +3 -0
  414. data/pdfjs/web/images/toolbarButton-search.svg +3 -0
  415. data/pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
  416. data/pdfjs/web/images/toolbarButton-sidebarToggle.svg +3 -0
  417. data/pdfjs/web/images/toolbarButton-viewAttachments.svg +3 -0
  418. data/pdfjs/web/images/toolbarButton-viewLayers.svg +3 -0
  419. data/pdfjs/web/images/toolbarButton-viewOutline.svg +3 -0
  420. data/pdfjs/web/images/toolbarButton-viewThumbnail.svg +3 -0
  421. data/pdfjs/web/images/toolbarButton-zoomIn.svg +3 -0
  422. data/pdfjs/web/images/toolbarButton-zoomOut.svg +3 -0
  423. data/pdfjs/web/images/treeitem-collapsed.svg +1 -0
  424. data/pdfjs/web/images/treeitem-expanded.svg +1 -0
  425. data/pdfjs/web/locale/ach/viewer.properties +200 -0
  426. data/pdfjs/web/locale/af/viewer.properties +177 -0
  427. data/pdfjs/web/locale/an/viewer.properties +243 -0
  428. data/pdfjs/web/locale/ar/viewer.properties +247 -0
  429. data/pdfjs/web/locale/ast/viewer.properties +207 -0
  430. data/pdfjs/web/locale/az/viewer.properties +243 -0
  431. data/pdfjs/web/locale/be/viewer.properties +274 -0
  432. data/pdfjs/web/locale/bg/viewer.properties +235 -0
  433. data/pdfjs/web/locale/bn/viewer.properties +239 -0
  434. data/pdfjs/web/locale/bo/viewer.properties +238 -0
  435. data/pdfjs/web/locale/br/viewer.properties +247 -0
  436. data/pdfjs/web/locale/brx/viewer.properties +205 -0
  437. data/pdfjs/web/locale/bs/viewer.properties +194 -0
  438. data/pdfjs/web/locale/ca/viewer.properties +251 -0
  439. data/pdfjs/web/locale/cak/viewer.properties +249 -0
  440. data/pdfjs/web/locale/ckb/viewer.properties +234 -0
  441. data/pdfjs/web/locale/cs/viewer.properties +274 -0
  442. data/pdfjs/web/locale/cy/viewer.properties +274 -0
  443. data/pdfjs/web/locale/da/viewer.properties +274 -0
  444. data/pdfjs/web/locale/de/viewer.properties +274 -0
  445. data/pdfjs/web/locale/dsb/viewer.properties +274 -0
  446. data/pdfjs/web/locale/el/viewer.properties +274 -0
  447. data/pdfjs/web/locale/en-CA/viewer.properties +274 -0
  448. data/pdfjs/web/locale/en-GB/viewer.properties +274 -0
  449. data/pdfjs/web/locale/en-US/viewer.properties +253 -0
  450. data/pdfjs/web/locale/eo/viewer.properties +274 -0
  451. data/pdfjs/web/locale/es-AR/viewer.properties +274 -0
  452. data/pdfjs/web/locale/es-CL/viewer.properties +274 -0
  453. data/pdfjs/web/locale/es-ES/viewer.properties +274 -0
  454. data/pdfjs/web/locale/es-MX/viewer.properties +274 -0
  455. data/pdfjs/web/locale/et/viewer.properties +262 -0
  456. data/pdfjs/web/locale/eu/viewer.properties +272 -0
  457. data/pdfjs/web/locale/fa/viewer.properties +216 -0
  458. data/pdfjs/web/locale/ff/viewer.properties +235 -0
  459. data/pdfjs/web/locale/fi/viewer.properties +274 -0
  460. data/pdfjs/web/locale/fr/viewer.properties +274 -0
  461. data/pdfjs/web/locale/fy-NL/viewer.properties +274 -0
  462. data/pdfjs/web/locale/ga-IE/viewer.properties +202 -0
  463. data/pdfjs/web/locale/gd/viewer.properties +249 -0
  464. data/pdfjs/web/locale/gl/viewer.properties +249 -0
  465. data/pdfjs/web/locale/gn/viewer.properties +274 -0
  466. data/pdfjs/web/locale/gu-IN/viewer.properties +235 -0
  467. data/pdfjs/web/locale/he/viewer.properties +274 -0
  468. data/pdfjs/web/locale/hi-IN/viewer.properties +235 -0
  469. data/pdfjs/web/locale/hr/viewer.properties +249 -0
  470. data/pdfjs/web/locale/hsb/viewer.properties +274 -0
  471. data/pdfjs/web/locale/hu/viewer.properties +274 -0
  472. data/pdfjs/web/locale/hy-AM/viewer.properties +239 -0
  473. data/pdfjs/web/locale/hye/viewer.properties +252 -0
  474. data/pdfjs/web/locale/ia/viewer.properties +274 -0
  475. data/pdfjs/web/locale/id/viewer.properties +274 -0
  476. data/pdfjs/web/locale/is/viewer.properties +274 -0
  477. data/pdfjs/web/locale/it/viewer.properties +215 -0
  478. data/pdfjs/web/locale/ja/viewer.properties +274 -0
  479. data/pdfjs/web/locale/ka/viewer.properties +274 -0
  480. data/pdfjs/web/locale/kab/viewer.properties +274 -0
  481. data/pdfjs/web/locale/kk/viewer.properties +274 -0
  482. data/pdfjs/web/locale/km/viewer.properties +210 -0
  483. data/pdfjs/web/locale/kn/viewer.properties +187 -0
  484. data/pdfjs/web/locale/ko/viewer.properties +274 -0
  485. data/pdfjs/web/locale/lij/viewer.properties +235 -0
  486. data/pdfjs/web/locale/lo/viewer.properties +145 -0
  487. data/pdfjs/web/locale/locale.properties +327 -0
  488. data/pdfjs/web/locale/lt/viewer.properties +260 -0
  489. data/pdfjs/web/locale/ltg/viewer.properties +213 -0
  490. data/pdfjs/web/locale/lv/viewer.properties +235 -0
  491. data/pdfjs/web/locale/meh/viewer.properties +111 -0
  492. data/pdfjs/web/locale/mk/viewer.properties +139 -0
  493. data/pdfjs/web/locale/mr/viewer.properties +231 -0
  494. data/pdfjs/web/locale/ms/viewer.properties +235 -0
  495. data/pdfjs/web/locale/my/viewer.properties +191 -0
  496. data/pdfjs/web/locale/nb-NO/viewer.properties +274 -0
  497. data/pdfjs/web/locale/ne-NP/viewer.properties +218 -0
  498. data/pdfjs/web/locale/nl/viewer.properties +274 -0
  499. data/pdfjs/web/locale/nn-NO/viewer.properties +274 -0
  500. data/pdfjs/web/locale/oc/viewer.properties +274 -0
  501. data/pdfjs/web/locale/pa-IN/viewer.properties +285 -0
  502. data/pdfjs/web/locale/pl/viewer.properties +274 -0
  503. data/pdfjs/web/locale/pt-BR/viewer.properties +274 -0
  504. data/pdfjs/web/locale/pt-PT/viewer.properties +274 -0
  505. data/pdfjs/web/locale/rm/viewer.properties +274 -0
  506. data/pdfjs/web/locale/ro/viewer.properties +241 -0
  507. data/pdfjs/web/locale/ru/viewer.properties +274 -0
  508. data/pdfjs/web/locale/sat/viewer.properties +198 -0
  509. data/pdfjs/web/locale/sc/viewer.properties +240 -0
  510. data/pdfjs/web/locale/scn/viewer.properties +101 -0
  511. data/pdfjs/web/locale/sco/viewer.properties +249 -0
  512. data/pdfjs/web/locale/si/viewer.properties +237 -0
  513. data/pdfjs/web/locale/sk/viewer.properties +274 -0
  514. data/pdfjs/web/locale/sl/viewer.properties +274 -0
  515. data/pdfjs/web/locale/son/viewer.properties +173 -0
  516. data/pdfjs/web/locale/sq/viewer.properties +267 -0
  517. data/pdfjs/web/locale/sr/viewer.properties +253 -0
  518. data/pdfjs/web/locale/sv-SE/viewer.properties +274 -0
  519. data/pdfjs/web/locale/szl/viewer.properties +245 -0
  520. data/pdfjs/web/locale/ta/viewer.properties +194 -0
  521. data/pdfjs/web/locale/te/viewer.properties +237 -0
  522. data/pdfjs/web/locale/tg/viewer.properties +274 -0
  523. data/pdfjs/web/locale/th/viewer.properties +274 -0
  524. data/pdfjs/web/locale/tl/viewer.properties +243 -0
  525. data/pdfjs/web/locale/tr/viewer.properties +274 -0
  526. data/pdfjs/web/locale/trs/viewer.properties +206 -0
  527. data/pdfjs/web/locale/uk/viewer.properties +274 -0
  528. data/pdfjs/web/locale/ur/viewer.properties +239 -0
  529. data/pdfjs/web/locale/uz/viewer.properties +163 -0
  530. data/pdfjs/web/locale/vi/viewer.properties +274 -0
  531. data/pdfjs/web/locale/wo/viewer.properties +123 -0
  532. data/pdfjs/web/locale/xh/viewer.properties +177 -0
  533. data/pdfjs/web/locale/zh-CN/viewer.properties +274 -0
  534. data/pdfjs/web/locale/zh-TW/viewer.properties +274 -0
  535. data/pdfjs/web/standard_fonts/FoxitDingbats.pfb +0 -0
  536. data/pdfjs/web/standard_fonts/FoxitFixed.pfb +0 -0
  537. data/pdfjs/web/standard_fonts/FoxitFixedBold.pfb +0 -0
  538. data/pdfjs/web/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  539. data/pdfjs/web/standard_fonts/FoxitFixedItalic.pfb +0 -0
  540. data/pdfjs/web/standard_fonts/FoxitSans.pfb +0 -0
  541. data/pdfjs/web/standard_fonts/FoxitSansBold.pfb +0 -0
  542. data/pdfjs/web/standard_fonts/FoxitSansBoldItalic.pfb +0 -0
  543. data/pdfjs/web/standard_fonts/FoxitSansItalic.pfb +0 -0
  544. data/pdfjs/web/standard_fonts/FoxitSerif.pfb +0 -0
  545. data/pdfjs/web/standard_fonts/FoxitSerifBold.pfb +0 -0
  546. data/pdfjs/web/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  547. data/pdfjs/web/standard_fonts/FoxitSerifItalic.pfb +0 -0
  548. data/pdfjs/web/standard_fonts/FoxitSymbol.pfb +0 -0
  549. data/pdfjs/web/standard_fonts/LICENSE_FOXIT +27 -0
  550. data/pdfjs/web/standard_fonts/LICENSE_LIBERATION +102 -0
  551. data/pdfjs/web/standard_fonts/LiberationSans-Bold.ttf +0 -0
  552. data/pdfjs/web/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  553. data/pdfjs/web/standard_fonts/LiberationSans-Italic.ttf +0 -0
  554. data/pdfjs/web/standard_fonts/LiberationSans-Regular.ttf +0 -0
  555. data/pdfjs/web/viewer.css +3029 -0
  556. data/pdfjs/web/viewer.html +433 -0
  557. data/pdfjs/web/viewer.js +13566 -0
  558. data/pdfjs/web/viewer.js.map +1 -0
  559. metadata +643 -0
data/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "decidim_module_participatory_documents",
3
+ "version": "0.1",
4
+ "description": "A 3 steps proposals for Decidim",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1",
7
+ "lint": "eslint -c .eslintrc.json --ext .js app/packs/",
8
+ "lint-fix": "eslint -c .eslintrc.json --ext .js app/packs/ --fix",
9
+ "stylelint": "stylelint **/*.scss",
10
+ "stylelint-fix": "stylelint **/*.scss --fix"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/Openpoke/decidim-module-participatory_documents.git"
15
+ },
16
+ "keywords": [
17
+ "decidim"
18
+ ],
19
+ "author": "ivan@pokecode.net",
20
+ "license": "AGPL-3.0-or-later",
21
+ "bugs": {
22
+ "url": "https://github.com/Openpoke/decidim-module-participatory_documents/issues"
23
+ },
24
+ "homepage": "https://github.com/Openpoke/decidim-module-participatory_documents#readme",
25
+ "stylelint": {
26
+ "extends": "@decidim/stylelint-config",
27
+ "rules" : {
28
+ "block-opening-brace-space-before": "always"
29
+ }
30
+ },
31
+ "devDependencies": {
32
+ "@babel/eslint-parser": "^7.19.1",
33
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
34
+ "@babel/plugin-proposal-private-methods": "^7.18.6",
35
+ "@babel/plugin-proposal-private-property-in-object": "^7.20.5",
36
+ "@babel/plugin-transform-classes": "^7.20.7",
37
+ "@babel/plugin-transform-regenerator": "^7.20.5",
38
+ "@babel/plugin-transform-runtime": "^7.19.6",
39
+ "@babel/preset-env": "^7.20.2",
40
+ "@babel/preset-react": "^7.18.6",
41
+ "@decidim/dev": "0.27.3",
42
+ "@decidim/eslint-config": "0.27.3",
43
+ "@decidim/stylelint-config": "0.27.3",
44
+ "eslint-config-prettier": "^8.2.0",
45
+ "eslint-config-standard": "^11.0.0",
46
+ "eslint-plugin-import": "^2.22.0",
47
+ "eslint-plugin-standard": "^3.1.0",
48
+ "sass-embedded": "~1.57.1"
49
+ },
50
+ "dependencies": {
51
+ }
52
+ }
data/pdfjs/LICENSE ADDED
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
data/pdfjs/README.md ADDED
@@ -0,0 +1,12 @@
1
+
2
+ This is PDF.js version 3.0.279 prebuilt for modern browsers to
3
+ which we have done some small changes like adapting the paths
4
+ to where we want to be placed in a decidim project.
5
+
6
+ We already tried to to add it via Npm, CDN without any success.
7
+
8
+ The changes are located in web/viewer.js:
9
+ * **pdf.worker.js** path has been changed to /pdfjs/build/pdf.worker.js
10
+ * **standardFontDataUrl** has been set to /pdfjs/web/standard_fonts/
11
+ * **cMapUrl** has been set to /pdfjs/web/cmaps/
12
+ * **imageResourcesPath** has been set to /pdfjs/web/images/