@hmcts/media-viewer 4.1.9-cme-776-angular-20 → 4.1.9-exui-1580

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 (376) hide show
  1. package/assets/all.scss +1 -0
  2. package/assets/sass/pdf-viewer.scss +79 -1
  3. package/assets/sass/tooltip.scss +50 -0
  4. package/esm2022/hmcts-media-viewer.mjs +5 -0
  5. package/esm2022/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.mjs +122 -0
  6. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.mjs +179 -0
  7. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.mjs +101 -0
  8. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.mjs +354 -0
  9. package/esm2022/lib/annotations/annotation-set/annotation-set.component.mjs +50 -0
  10. package/esm2022/lib/annotations/annotation-set/annotation-set.model.mjs +2 -0
  11. package/esm2022/lib/annotations/annotation-set/annotation-view/annotation-view.component.mjs +94 -0
  12. package/esm2022/lib/annotations/annotation-set/annotation-view/annotation.model.mjs +2 -0
  13. package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.mjs +116 -0
  14. package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.mjs +2 -0
  15. package/esm2022/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.mjs +145 -0
  16. package/esm2022/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.mjs +99 -0
  17. package/esm2022/lib/annotations/annotations.module.mjs +162 -0
  18. package/esm2022/lib/annotations/comment-set/comment/comment.component.mjs +178 -0
  19. package/esm2022/lib/annotations/comment-set/comment/comment.model.mjs +2 -0
  20. package/esm2022/lib/annotations/comment-set/comment/comment.service.mjs +50 -0
  21. package/esm2022/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.mjs +47 -0
  22. package/esm2022/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.mjs +31 -0
  23. package/esm2022/lib/annotations/comment-set/comment-navigate/comments-navigate.component.mjs +91 -0
  24. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.mjs +62 -0
  25. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.mjs +54 -0
  26. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-set-header.component.mjs +72 -0
  27. package/esm2022/lib/annotations/comment-set/comment-set-render.service.mjs +55 -0
  28. package/esm2022/lib/annotations/comment-set/comment-set.component.mjs +123 -0
  29. package/esm2022/lib/annotations/comments-summary/comments-summary.component.mjs +120 -0
  30. package/esm2022/lib/annotations/models/api-persisted.model.mjs +2 -0
  31. package/esm2022/lib/annotations/models/event-select.model.mjs +2 -0
  32. package/esm2022/lib/annotations/models/tags.model.mjs +2 -0
  33. package/esm2022/lib/annotations/models/user.model.mjs +2 -0
  34. package/esm2022/lib/annotations/pipes/date/date.pipe.mjs +26 -0
  35. package/esm2022/lib/annotations/pipes/filter/filter.pipe.mjs +32 -0
  36. package/esm2022/lib/annotations/pipes/unsnake/unsnake.pipe.mjs +16 -0
  37. package/esm2022/lib/annotations/services/annotation-api/annotation-api.service.mjs +58 -0
  38. package/esm2022/lib/annotations/services/bookmarks-api/bookmarks-api.service.mjs +45 -0
  39. package/esm2022/lib/annotations/services/tags/tags.services.mjs +41 -0
  40. package/esm2022/lib/annotations/tags/tags.component.mjs +53 -0
  41. package/esm2022/lib/bookmark/components/bookmark-icons.component.mjs +25 -0
  42. package/esm2022/lib/icp/confirm-exit/confirm-action-dialog.component.mjs +22 -0
  43. package/esm2022/lib/icp/icp-follower.service.mjs +65 -0
  44. package/esm2022/lib/icp/icp-presenter.service.mjs +56 -0
  45. package/esm2022/lib/icp/icp-session-api.service.mjs +28 -0
  46. package/esm2022/lib/icp/icp-update.service.mjs +73 -0
  47. package/esm2022/lib/icp/icp.events.mjs +15 -0
  48. package/esm2022/lib/icp/icp.interfaces.mjs +2 -0
  49. package/esm2022/lib/icp/icp.service.mjs +98 -0
  50. package/esm2022/lib/icp/participants-list/participants-list.component.mjs +32 -0
  51. package/esm2022/lib/icp/socket.service.mjs +128 -0
  52. package/esm2022/lib/media-viewer.component.mjs +247 -0
  53. package/esm2022/lib/media-viewer.module.mjs +142 -0
  54. package/esm2022/lib/print.service.mjs +32 -0
  55. package/esm2022/lib/redaction/components/redaction.component.mjs +91 -0
  56. package/esm2022/lib/redaction/services/redaction-api.service.mjs +50 -0
  57. package/esm2022/lib/redaction/services/redaction.model.mjs +2 -0
  58. package/esm2022/lib/shared/directives/tooltip-dismiss.directive.mjs +36 -0
  59. package/esm2022/lib/shared/gov-uk-date/gov-uk-date.component.mjs +28 -0
  60. package/esm2022/lib/shared/gov-uk-error-message/gov-uk-error-message.component.mjs +34 -0
  61. package/esm2022/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.mjs +63 -0
  62. package/esm2022/lib/shared/gov-uk-label/gov-uk-label.component.mjs +44 -0
  63. package/esm2022/lib/shared/shared.module.mjs +53 -0
  64. package/esm2022/lib/shared/util/helpers/html-templates.helper.mjs +29 -0
  65. package/esm2022/lib/shared/util/services/number.helper.service.mjs +23 -0
  66. package/esm2022/lib/store/actions/annotation.actions.mjs +119 -0
  67. package/esm2022/lib/store/actions/bookmark.actions.mjs +112 -0
  68. package/esm2022/lib/store/actions/document.actions.mjs +91 -0
  69. package/esm2022/lib/store/actions/icp.actions.mjs +56 -0
  70. package/esm2022/lib/store/actions/redaction.actions.mjs +132 -0
  71. package/esm2022/lib/store/actions/tag.actions.mjs +21 -0
  72. package/esm2022/lib/store/bookmarks-store-utils.mjs +49 -0
  73. package/esm2022/lib/store/effects/annotation.effects.mjs +51 -0
  74. package/esm2022/lib/store/effects/bookmarks.effects.mjs +44 -0
  75. package/esm2022/lib/store/effects/document.effects.mjs +44 -0
  76. package/esm2022/lib/store/effects/icp.effects.mjs +26 -0
  77. package/esm2022/lib/store/effects/index.mjs +7 -0
  78. package/esm2022/lib/store/effects/redaction.effects.mjs +67 -0
  79. package/esm2022/lib/store/models/bookmarks.interface.mjs +2 -0
  80. package/esm2022/lib/store/models/filters.interface.mjs +2 -0
  81. package/esm2022/lib/store/reducers/annotations.reducer.mjs +208 -0
  82. package/esm2022/lib/store/reducers/bookmarks.reducer.mjs +125 -0
  83. package/esm2022/lib/store/reducers/document.reducer.mjs +158 -0
  84. package/esm2022/lib/store/reducers/icp.reducer.mjs +56 -0
  85. package/esm2022/lib/store/reducers/redaction.reducer.mjs +116 -0
  86. package/esm2022/lib/store/reducers/reducers.mjs +23 -0
  87. package/esm2022/lib/store/reducers/tags.reducer.mjs +93 -0
  88. package/esm2022/lib/store/selectors/annotation.selectors.mjs +81 -0
  89. package/esm2022/lib/store/selectors/bookmark.selectors.mjs +37 -0
  90. package/esm2022/lib/store/selectors/document.selectors.mjs +13 -0
  91. package/esm2022/lib/store/selectors/icp.selectors.mjs +13 -0
  92. package/esm2022/lib/store/selectors/redaction.selectors.mjs +26 -0
  93. package/esm2022/lib/store/selectors/tag.selectors.mjs +15 -0
  94. package/esm2022/lib/store/store-utils.mjs +131 -0
  95. package/esm2022/lib/toolbar/highlight-toolbar/highlight-toolbar.component.mjs +46 -0
  96. package/esm2022/lib/toolbar/icp-event.service.mjs +44 -0
  97. package/esm2022/lib/toolbar/icp-toolbar/icp-toolbar.component.mjs +43 -0
  98. package/esm2022/lib/toolbar/main-toolbar/main-toolbar.component.mjs +207 -0
  99. package/esm2022/lib/toolbar/redaction-search-bar/redaction-search-bar.component.mjs +237 -0
  100. package/esm2022/lib/toolbar/redaction-search-bar/redaction-search.model.mjs +2 -0
  101. package/esm2022/lib/toolbar/redaction-toolbar/redaction-toolbar.component.mjs +69 -0
  102. package/esm2022/lib/toolbar/search-bar/search-bar.component.mjs +109 -0
  103. package/esm2022/lib/toolbar/toolbar-button-visibility.service.mjs +94 -0
  104. package/esm2022/lib/toolbar/toolbar-event.service.mjs +178 -0
  105. package/esm2022/lib/toolbar/toolbar.module.mjs +75 -0
  106. package/esm2022/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.mjs +82 -0
  107. package/esm2022/lib/viewers/convertible-content-viewer/document-conversion-api.service.mjs +22 -0
  108. package/esm2022/lib/viewers/grab-n-drag.directive.mjs +57 -0
  109. package/esm2022/lib/viewers/image-viewer/image-viewer.component.mjs +166 -0
  110. package/esm2022/lib/viewers/multimedia-player/multimedia-player.component.mjs +59 -0
  111. package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.mjs +266 -0
  112. package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.mjs +40 -0
  113. package/esm2022/lib/viewers/pdf-viewer/pdf-viewer.component.mjs +280 -0
  114. package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.mjs +379 -0
  115. package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.mjs +2 -0
  116. package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.mjs +49 -0
  117. package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.mjs +2 -0
  118. package/esm2022/lib/viewers/pdf-viewer/side-bar/side-bar.component.mjs +99 -0
  119. package/esm2022/lib/viewers/rotation-persist/rotation-api.service.mjs +27 -0
  120. package/esm2022/lib/viewers/rotation-persist/rotation-persist.directive.mjs +61 -0
  121. package/esm2022/lib/viewers/rotation-persist/rotation.model.mjs +2 -0
  122. package/esm2022/lib/viewers/unsupported-viewer/unsupported-viewer.component.mjs +49 -0
  123. package/esm2022/lib/viewers/viewer-event.service.mjs +34 -0
  124. package/esm2022/lib/viewers/viewer-exception.model.mjs +13 -0
  125. package/esm2022/lib/viewers/viewer-util.service.mjs +20 -0
  126. package/esm2022/public_api.mjs +33 -0
  127. package/fesm2022/hmcts-media-viewer.mjs +1525 -1014
  128. package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
  129. package/hmcts-media-viewer.d.ts.map +1 -0
  130. package/index.d.ts +4 -2305
  131. package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts +48 -0
  132. package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts.map +1 -0
  133. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts +36 -0
  134. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts.map +1 -0
  135. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts +18 -0
  136. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts.map +1 -0
  137. package/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.d.ts +63 -0
  138. package/lib/annotations/annotation-set/annotation-create/highlight-create/keyboard-text-highlight.directive.d.ts.map +1 -0
  139. package/lib/annotations/annotation-set/annotation-set.component.d.ts +27 -0
  140. package/lib/annotations/annotation-set/annotation-set.component.d.ts.map +1 -0
  141. package/lib/annotations/annotation-set/annotation-set.model.d.ts +7 -0
  142. package/lib/annotations/annotation-set/annotation-set.model.d.ts.map +1 -0
  143. package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts +34 -0
  144. package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts.map +1 -0
  145. package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts +16 -0
  146. package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts.map +1 -0
  147. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts +41 -0
  148. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts.map +1 -0
  149. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts +9 -0
  150. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts.map +1 -0
  151. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts +41 -0
  152. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts.map +1 -0
  153. package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts +40 -0
  154. package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts.map +1 -0
  155. package/lib/annotations/annotations.module.d.ts +36 -0
  156. package/lib/annotations/annotations.module.d.ts.map +1 -0
  157. package/lib/annotations/comment-set/comment/comment.component.d.ts +69 -0
  158. package/lib/annotations/comment-set/comment/comment.component.d.ts.map +1 -0
  159. package/lib/annotations/comment-set/comment/comment.model.d.ts +13 -0
  160. package/lib/annotations/comment-set/comment/comment.model.d.ts.map +1 -0
  161. package/lib/annotations/comment-set/comment/comment.service.d.ts +22 -0
  162. package/lib/annotations/comment-set/comment/comment.service.d.ts.map +1 -0
  163. package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts +14 -0
  164. package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts.map +1 -0
  165. package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts +12 -0
  166. package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts.map +1 -0
  167. package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts +28 -0
  168. package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts.map +1 -0
  169. package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts +26 -0
  170. package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts.map +1 -0
  171. package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.d.ts +21 -0
  172. package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.d.ts.map +1 -0
  173. package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts +36 -0
  174. package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts.map +1 -0
  175. package/lib/annotations/comment-set/comment-set-render.service.d.ts +15 -0
  176. package/lib/annotations/comment-set/comment-set-render.service.d.ts.map +1 -0
  177. package/lib/annotations/comment-set/comment-set.component.d.ts +56 -0
  178. package/lib/annotations/comment-set/comment-set.component.d.ts.map +1 -0
  179. package/lib/annotations/comments-summary/comments-summary.component.d.ts +42 -0
  180. package/lib/annotations/comments-summary/comments-summary.component.d.ts.map +1 -0
  181. package/lib/annotations/models/api-persisted.model.d.ts +11 -0
  182. package/lib/annotations/models/api-persisted.model.d.ts.map +1 -0
  183. package/lib/annotations/models/event-select.model.d.ts +6 -0
  184. package/lib/annotations/models/event-select.model.d.ts.map +1 -0
  185. package/lib/annotations/models/tags.model.d.ts +7 -0
  186. package/lib/annotations/models/tags.model.d.ts.map +1 -0
  187. package/lib/annotations/models/user.model.d.ts +6 -0
  188. package/lib/annotations/models/user.model.d.ts.map +1 -0
  189. package/lib/annotations/pipes/date/date.pipe.d.ts +16 -0
  190. package/lib/annotations/pipes/date/date.pipe.d.ts.map +1 -0
  191. package/lib/annotations/pipes/filter/filter.pipe.d.ts +8 -0
  192. package/lib/annotations/pipes/filter/filter.pipe.d.ts.map +1 -0
  193. package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts +8 -0
  194. package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts.map +1 -0
  195. package/lib/annotations/services/annotation-api/annotation-api.service.d.ts +28 -0
  196. package/lib/annotations/services/annotation-api/annotation-api.service.d.ts.map +1 -0
  197. package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts +21 -0
  198. package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts.map +1 -0
  199. package/lib/annotations/services/tags/tags.services.d.ts +18 -0
  200. package/lib/annotations/services/tags/tags.services.d.ts.map +1 -0
  201. package/lib/annotations/tags/tags.component.d.ts +28 -0
  202. package/lib/annotations/tags/tags.component.d.ts.map +1 -0
  203. package/lib/bookmark/components/bookmark-icons.component.d.ts +19 -0
  204. package/lib/bookmark/components/bookmark-icons.component.d.ts.map +1 -0
  205. package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts +11 -0
  206. package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts.map +1 -0
  207. package/lib/icp/icp-follower.service.d.ts +26 -0
  208. package/lib/icp/icp-follower.service.d.ts.map +1 -0
  209. package/lib/icp/icp-presenter.service.d.ts +25 -0
  210. package/lib/icp/icp-presenter.service.d.ts.map +1 -0
  211. package/lib/icp/icp-session-api.service.d.ts +15 -0
  212. package/lib/icp/icp-session-api.service.d.ts.map +1 -0
  213. package/lib/icp/icp-update.service.d.ts +22 -0
  214. package/lib/icp/icp-update.service.d.ts.map +1 -0
  215. package/lib/icp/icp.events.d.ts +14 -0
  216. package/lib/icp/icp.events.d.ts.map +1 -0
  217. package/lib/icp/icp.interfaces.d.ts +23 -0
  218. package/lib/icp/icp.interfaces.d.ts.map +1 -0
  219. package/lib/icp/icp.service.d.ts +40 -0
  220. package/lib/icp/icp.service.d.ts.map +1 -0
  221. package/lib/icp/participants-list/participants-list.component.d.ts +23 -0
  222. package/lib/icp/participants-list/participants-list.component.d.ts.map +1 -0
  223. package/lib/icp/socket.service.d.ts +29 -0
  224. package/lib/icp/socket.service.d.ts.map +1 -0
  225. package/lib/media-viewer.component.d.ts +72 -0
  226. package/lib/media-viewer.component.d.ts.map +1 -0
  227. package/lib/media-viewer.module.d.ts +37 -0
  228. package/lib/media-viewer.module.d.ts.map +1 -0
  229. package/lib/print.service.d.ts +8 -0
  230. package/lib/print.service.d.ts.map +1 -0
  231. package/lib/redaction/components/redaction.component.d.ts +42 -0
  232. package/lib/redaction/components/redaction.component.d.ts.map +1 -0
  233. package/lib/redaction/services/redaction-api.service.d.ts +20 -0
  234. package/lib/redaction/services/redaction-api.service.d.ts.map +1 -0
  235. package/lib/redaction/services/redaction.model.d.ts +11 -0
  236. package/lib/redaction/services/redaction.model.d.ts.map +1 -0
  237. package/lib/shared/directives/tooltip-dismiss.directive.d.ts +11 -0
  238. package/lib/shared/directives/tooltip-dismiss.directive.d.ts.map +1 -0
  239. package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts +15 -0
  240. package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts.map +1 -0
  241. package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts +11 -0
  242. package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts.map +1 -0
  243. package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +16 -0
  244. package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts.map +1 -0
  245. package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts +14 -0
  246. package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts.map +1 -0
  247. package/lib/shared/shared.module.d.ts +14 -0
  248. package/lib/shared/shared.module.d.ts.map +1 -0
  249. package/lib/shared/util/helpers/html-templates.helper.d.ts +9 -0
  250. package/lib/shared/util/helpers/html-templates.helper.d.ts.map +1 -0
  251. package/lib/shared/util/services/number.helper.service.d.ts +11 -0
  252. package/lib/shared/util/services/number.helper.service.d.ts.map +1 -0
  253. package/lib/store/actions/annotation.actions.d.ts +126 -0
  254. package/lib/store/actions/annotation.actions.d.ts.map +1 -0
  255. package/lib/store/actions/bookmark.actions.d.ts +117 -0
  256. package/lib/store/actions/bookmark.actions.d.ts.map +1 -0
  257. package/lib/store/actions/document.actions.d.ts +90 -0
  258. package/lib/store/actions/document.actions.d.ts.map +1 -0
  259. package/lib/store/actions/icp.actions.d.ts +75 -0
  260. package/lib/store/actions/icp.actions.d.ts.map +1 -0
  261. package/lib/store/actions/redaction.actions.d.ts +127 -0
  262. package/lib/store/actions/redaction.actions.d.ts.map +1 -0
  263. package/lib/store/actions/tag.actions.d.ts +30 -0
  264. package/lib/store/actions/tag.actions.d.ts.map +1 -0
  265. package/lib/store/bookmarks-store-utils.d.ts +9 -0
  266. package/lib/store/bookmarks-store-utils.d.ts.map +1 -0
  267. package/lib/store/effects/annotation.effects.d.ts +16 -0
  268. package/lib/store/effects/annotation.effects.d.ts.map +1 -0
  269. package/lib/store/effects/bookmarks.effects.d.ts +21 -0
  270. package/lib/store/effects/bookmarks.effects.d.ts.map +1 -0
  271. package/lib/store/effects/document.effects.d.ts +17 -0
  272. package/lib/store/effects/document.effects.d.ts.map +1 -0
  273. package/lib/store/effects/icp.effects.d.ts +16 -0
  274. package/lib/store/effects/icp.effects.d.ts.map +1 -0
  275. package/lib/store/effects/index.d.ts +2 -0
  276. package/lib/store/effects/index.d.ts.map +1 -0
  277. package/lib/store/effects/redaction.effects.d.ts +20 -0
  278. package/lib/store/effects/redaction.effects.d.ts.map +1 -0
  279. package/lib/store/models/bookmarks.interface.d.ts +31 -0
  280. package/lib/store/models/bookmarks.interface.d.ts.map +1 -0
  281. package/lib/store/models/filters.interface.d.ts +8 -0
  282. package/lib/store/models/filters.interface.d.ts.map +1 -0
  283. package/lib/store/reducers/annotations.reducer.d.ts +48 -0
  284. package/lib/store/reducers/annotations.reducer.d.ts.map +1 -0
  285. package/lib/store/reducers/bookmarks.reducer.d.ts +27 -0
  286. package/lib/store/reducers/bookmarks.reducer.d.ts.map +1 -0
  287. package/lib/store/reducers/document.reducer.d.ts +52 -0
  288. package/lib/store/reducers/document.reducer.d.ts.map +1 -0
  289. package/lib/store/reducers/icp.reducer.d.ts +9 -0
  290. package/lib/store/reducers/icp.reducer.d.ts.map +1 -0
  291. package/lib/store/reducers/redaction.reducer.d.ts +32 -0
  292. package/lib/store/reducers/redaction.reducer.d.ts.map +1 -0
  293. package/lib/store/reducers/reducers.d.ts +24 -0
  294. package/lib/store/reducers/reducers.d.ts.map +1 -0
  295. package/lib/store/reducers/tags.reducer.d.ts +32 -0
  296. package/lib/store/reducers/tags.reducer.d.ts.map +1 -0
  297. package/lib/store/selectors/annotation.selectors.d.ts +136 -0
  298. package/lib/store/selectors/annotation.selectors.d.ts.map +1 -0
  299. package/lib/store/selectors/bookmark.selectors.d.ts +38 -0
  300. package/lib/store/selectors/bookmark.selectors.d.ts.map +1 -0
  301. package/lib/store/selectors/document.selectors.d.ts +23 -0
  302. package/lib/store/selectors/document.selectors.d.ts.map +1 -0
  303. package/lib/store/selectors/icp.selectors.d.ts +10 -0
  304. package/lib/store/selectors/icp.selectors.d.ts.map +1 -0
  305. package/lib/store/selectors/redaction.selectors.d.ts +35 -0
  306. package/lib/store/selectors/redaction.selectors.d.ts.map +1 -0
  307. package/lib/store/selectors/tag.selectors.d.ts +28 -0
  308. package/lib/store/selectors/tag.selectors.d.ts.map +1 -0
  309. package/lib/store/store-utils.d.ts +25 -0
  310. package/lib/store/store-utils.d.ts.map +1 -0
  311. package/lib/toolbar/highlight-toolbar/highlight-toolbar.component.d.ts +20 -0
  312. package/lib/toolbar/highlight-toolbar/highlight-toolbar.component.d.ts.map +1 -0
  313. package/lib/toolbar/icp-event.service.d.ts +21 -0
  314. package/lib/toolbar/icp-event.service.d.ts.map +1 -0
  315. package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts +24 -0
  316. package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts.map +1 -0
  317. package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts +69 -0
  318. package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts.map +1 -0
  319. package/lib/toolbar/redaction-search-bar/redaction-search-bar.component.d.ts +60 -0
  320. package/lib/toolbar/redaction-search-bar/redaction-search-bar.component.d.ts.map +1 -0
  321. package/lib/toolbar/redaction-search-bar/redaction-search.model.d.ts +12 -0
  322. package/lib/toolbar/redaction-search-bar/redaction-search.model.d.ts.map +1 -0
  323. package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts +30 -0
  324. package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts.map +1 -0
  325. package/lib/toolbar/search-bar/search-bar.component.d.ts +34 -0
  326. package/lib/toolbar/search-bar/search-bar.component.d.ts.map +1 -0
  327. package/lib/toolbar/toolbar-button-visibility.service.d.ts +67 -0
  328. package/lib/toolbar/toolbar-button-visibility.service.d.ts.map +1 -0
  329. package/lib/toolbar/toolbar-event.service.d.ts +96 -0
  330. package/lib/toolbar/toolbar-event.service.d.ts.map +1 -0
  331. package/lib/toolbar/toolbar.module.d.ts +20 -0
  332. package/lib/toolbar/toolbar.module.d.ts.map +1 -0
  333. package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts +31 -0
  334. package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts.map +1 -0
  335. package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts +12 -0
  336. package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts.map +1 -0
  337. package/lib/viewers/grab-n-drag.directive.d.ts +19 -0
  338. package/lib/viewers/grab-n-drag.directive.d.ts.map +1 -0
  339. package/lib/viewers/image-viewer/image-viewer.component.d.ts +57 -0
  340. package/lib/viewers/image-viewer/image-viewer.component.d.ts.map +1 -0
  341. package/lib/viewers/multimedia-player/multimedia-player.component.d.ts +25 -0
  342. package/lib/viewers/multimedia-player/multimedia-player.component.d.ts.map +1 -0
  343. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts +69 -0
  344. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts.map +1 -0
  345. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts +17 -0
  346. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts.map +1 -0
  347. package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts +102 -0
  348. package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts.map +1 -0
  349. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts +82 -0
  350. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts.map +1 -0
  351. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts +22 -0
  352. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts.map +1 -0
  353. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts +20 -0
  354. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts.map +1 -0
  355. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.d.ts +14 -0
  356. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.d.ts.map +1 -0
  357. package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts +42 -0
  358. package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts.map +1 -0
  359. package/lib/viewers/rotation-persist/rotation-api.service.d.ts +14 -0
  360. package/lib/viewers/rotation-persist/rotation-api.service.d.ts.map +1 -0
  361. package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts +27 -0
  362. package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts.map +1 -0
  363. package/lib/viewers/rotation-persist/rotation.model.d.ts +5 -0
  364. package/lib/viewers/rotation-persist/rotation.model.d.ts.map +1 -0
  365. package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts +23 -0
  366. package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts.map +1 -0
  367. package/lib/viewers/viewer-event.service.d.ts +23 -0
  368. package/lib/viewers/viewer-event.service.d.ts.map +1 -0
  369. package/lib/viewers/viewer-exception.model.d.ts +15 -0
  370. package/lib/viewers/viewer-exception.model.d.ts.map +1 -0
  371. package/lib/viewers/viewer-util.service.d.ts +10 -0
  372. package/lib/viewers/viewer-util.service.d.ts.map +1 -0
  373. package/package.json +12 -10
  374. package/public_api.d.ts +30 -0
  375. package/public_api.d.ts.map +1 -0
  376. package/index.d.ts.map +0 -1
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./search-bar/search-bar.component";
3
+ import * as i2 from "./main-toolbar/main-toolbar.component";
4
+ import * as i3 from "./redaction-toolbar/redaction-toolbar.component";
5
+ import * as i4 from "./icp-toolbar/icp-toolbar.component";
6
+ import * as i5 from "./redaction-search-bar/redaction-search-bar.component";
7
+ import * as i6 from "./highlight-toolbar/highlight-toolbar.component";
8
+ import * as i7 from "../shared/directives/tooltip-dismiss.directive";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/forms";
11
+ import * as i10 from "@angular/cdk/overlay";
12
+ import * as i11 from "@angular/router";
13
+ import * as i12 from "rpx-xui-translation";
14
+ export { ToolbarButtonVisibilityService } from './toolbar-button-visibility.service';
15
+ export declare class ToolbarModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.SearchBarComponent, typeof i2.MainToolbarComponent, typeof i3.RedactionToolbarComponent, typeof i4.IcpToolbarComponent, typeof i5.RedactionSearchBarComponent, typeof i6.HighlightToolbarComponent, typeof i7.TooltipDismissDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.OverlayModule, typeof i11.RouterModule, typeof i12.RpxTranslationModule], [typeof i2.MainToolbarComponent, typeof i1.SearchBarComponent, typeof i3.RedactionToolbarComponent, typeof i4.IcpToolbarComponent, typeof i5.RedactionSearchBarComponent, typeof i6.HighlightToolbarComponent]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
19
+ }
20
+ //# sourceMappingURL=toolbar.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar.module.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/toolbar/toolbar.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;AASA,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAQrF,qBA6Ba,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAI"}
@@ -0,0 +1,31 @@
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ResponseType, ViewerException } from '../viewer-exception.model';
3
+ import { Store } from '@ngrx/store';
4
+ import * as fromStore from '../../store/reducers/document.reducer';
5
+ import { AnnotationSet } from '../../annotations/annotation-set/annotation-set.model';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ConvertibleContentViewerComponent implements OnInit, OnDestroy, OnChanges {
8
+ private store;
9
+ originalUrl: any;
10
+ downloadFileName: string;
11
+ height: any;
12
+ enableAnnotations: boolean;
13
+ enableRedactions: boolean;
14
+ annotationSet: AnnotationSet | null;
15
+ mediaLoadStatus: EventEmitter<ResponseType>;
16
+ viewerException: EventEmitter<ViewerException>;
17
+ documentTitle: EventEmitter<string>;
18
+ private $subscription;
19
+ convertedUrl: string;
20
+ constructor(store: Store<fromStore.DocumentState>);
21
+ ngOnInit(): void;
22
+ ngOnChanges(changes: SimpleChanges): void;
23
+ ngOnDestroy(): void;
24
+ onMediaLoad(status: ResponseType): void;
25
+ onLoadException(exception: ViewerException): void;
26
+ onDocumentTitleChange(title: string): void;
27
+ private extractDMStoreDocId;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConvertibleContentViewerComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConvertibleContentViewerComponent, "mv-conversion-viewer", never, { "originalUrl": { "alias": "originalUrl"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "height": { "alias": "height"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "annotationSet": { "alias": "annotationSet"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "viewerException": "viewerException"; "documentTitle": "documentTitle"; }, never, never, false, never>;
30
+ }
31
+ //# sourceMappingURL=convertible-content-viewer.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertible-content-viewer.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,SAAS,EAAE,MAAM,EAAU,aAAa,EAAqB,MAAM,eAAe,CAAC;AACvI,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,SAAS,MAAM,uCAAuC,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;;AAGtF,qBAKa,iCAAkC,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAmBxE,OAAO,CAAC,KAAK;IAjBhB,WAAW,MAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IAEzB,MAAM,MAAC;IAEP,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IAGnC,eAAe,6BAAoC;IACnD,eAAe,gCAAuC;IACtD,aAAa,uBAA8B;IAErD,OAAO,CAAC,aAAa,CAAe;IACpC,YAAY,EAAE,MAAM,CAAC;gBAED,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC;IAGzD,QAAQ,IAAI,IAAI;IAYhB,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,WAAW,IAAI,IAAI;IAInB,WAAW,CAAC,MAAM,EAAE,YAAY;IAIhC,eAAe,CAAC,SAAS,EAAE,eAAe;IAI1C,qBAAqB,CAAC,KAAK,EAAE,MAAM;IAKnC,OAAO,CAAC,mBAAmB;yCAzDhB,iCAAiC;2CAAjC,iCAAiC;CAkE7C"}
@@ -0,0 +1,12 @@
1
+ import { HttpClient, HttpResponse } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DocumentConversionApiService {
5
+ private readonly httpClient;
6
+ private documentConversionUrl;
7
+ constructor(httpClient: HttpClient);
8
+ convert(documentId: any): Observable<HttpResponse<Blob>>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentConversionApiService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<DocumentConversionApiService>;
11
+ }
12
+ //# sourceMappingURL=document-conversion-api.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-conversion-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/viewers/convertible-content-viewer/document-conversion-api.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;;AAGtC,qBACa,4BAA4B;IAI3B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAFvC,OAAO,CAAC,qBAAqB,CAA2B;gBAE3B,UAAU,EAAE,UAAU;IAE5C,OAAO,CAAC,UAAU,KAAA,GAAG,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;yCAN/C,4BAA4B;6CAA5B,4BAA4B;CAexC"}
@@ -0,0 +1,19 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class GrabNDragDirective {
4
+ private el;
5
+ originalPosition: {
6
+ left: number;
7
+ top: number;
8
+ };
9
+ private pointerDown;
10
+ dragEnabled: boolean;
11
+ dragX: Element;
12
+ constructor(el: ElementRef);
13
+ onPointerDown(event: PointerEvent): void;
14
+ onPointerMove(event: PointerEvent): void;
15
+ onWindowPointerUp(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GrabNDragDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GrabNDragDirective, "[mvGrabNDrag]", never, { "dragEnabled": { "alias": "dragEnabled"; "required": false; }; "dragX": { "alias": "dragX"; "required": false; }; }, {}, never, never, false, never>;
18
+ }
19
+ //# sourceMappingURL=grab-n-drag.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grab-n-drag.directive.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/viewers/grab-n-drag.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAuB,MAAM,eAAe,CAAC;;AAG3E,qBAGa,kBAAkB;IAQjB,OAAO,CAAC,EAAE;IANtB,gBAAgB,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,OAAO,CAAC,WAAW,CAAS;IAEnB,WAAW,UAAS;IACpB,KAAK,EAAE,OAAO,CAAC;gBAEJ,EAAE,EAAE,UAAU;IAIlC,aAAa,CAAC,KAAK,EAAE,YAAY;IAYjC,aAAa,CAAC,KAAK,EAAE,YAAY;IAcC,iBAAiB;yCAtCxC,kBAAkB;2CAAlB,kBAAkB;CAyC9B"}
@@ -0,0 +1,57 @@
1
+ import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { PrintService } from '../../print.service';
3
+ import { AnnotationSet } from '../../annotations/annotation-set/annotation-set.model';
4
+ import { ToolbarEventService } from '../../toolbar/toolbar-event.service';
5
+ import { ResponseType, ViewerException } from '../viewer-exception.model';
6
+ import { ViewerUtilService } from '../viewer-util.service';
7
+ import { ToolbarButtonVisibilityService } from '../../toolbar/toolbar-button-visibility.service';
8
+ import { Store } from '@ngrx/store';
9
+ import * as fromStore from '../../store/reducers/reducers';
10
+ import { ViewerEventService } from '../viewer-event.service';
11
+ import * as i0 from "@angular/core";
12
+ export declare class ImageViewerComponent implements OnInit, OnDestroy, OnChanges {
13
+ private store;
14
+ private readonly printService;
15
+ private readonly viewerUtilService;
16
+ readonly toolbarEvents: ToolbarEventService;
17
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
18
+ private viewerEvents;
19
+ url: string;
20
+ downloadFileName: string;
21
+ enableAnnotations: boolean;
22
+ annotationSet: AnnotationSet | null;
23
+ height: string;
24
+ mediaLoadStatus: EventEmitter<ResponseType>;
25
+ imageViewerException: EventEmitter<ViewerException>;
26
+ errorMessage: string;
27
+ img: ElementRef;
28
+ rotation: number;
29
+ zoom: number;
30
+ private subscriptions;
31
+ private viewerException;
32
+ private response;
33
+ showCommentsPanel: boolean;
34
+ enableGrabNDrag: boolean;
35
+ imageHeight: number;
36
+ imageWidth: number;
37
+ imageLeft: number;
38
+ imageTop: number;
39
+ constructor(store: Store<fromStore.AnnotationSetState>, printService: PrintService, viewerUtilService: ViewerUtilService, toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, viewerEvents: ViewerEventService);
40
+ ngOnInit(): void;
41
+ onImageViewerClick(event: MouseEvent): void;
42
+ ngOnDestroy(): void;
43
+ ngOnChanges(changes: SimpleChanges): void;
44
+ private rotateImage;
45
+ private setZoom;
46
+ private stepZoom;
47
+ private download;
48
+ setZoomValue(zoomValue: any): Promise<unknown>;
49
+ calculateZoomValue(zoomValue: any, increment?: number): number;
50
+ onLoadError(url: any): void;
51
+ onLoad(img: any): void;
52
+ initAnnoPage(img: any): void;
53
+ toggleCommentsSummary(): void;
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageViewerComponent, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageViewerComponent, "mv-image-viewer", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "annotationSet": { "alias": "annotationSet"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "imageViewerException": "imageViewerException"; }, never, never, false, never>;
56
+ }
57
+ //# sourceMappingURL=image-viewer.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-viewer.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/viewers/image-viewer/image-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,YAAY,EAGZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,a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KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,EACjC,YAAY,EAAE,YAAY,EAC1B,iBAAiB,EAAE,iBAAiB,EACrC,aAAa,EAAE,mBAAmB,EAClC,cAAc,EAAE,8BAA8B,EACtD,YAAY,EAAE,kBAAkB;IAG1C,QAAQ,IAAI,IAAI;IAahB,kBAAkB,CAAC,KAAK,EAAE,UAAU;IAcpC,WAAW,IAAI,IAAI;IAQnB,WAAW,CAAC,OAAO,EAAE,aAAa;IAOlC,OAAO,CAAC,WAAW;YAKL,OAAO;YAQP,QAAQ;IAQtB,OAAO,CAAC,QAAQ;IAWhB,YAAY,CAAC,SAAS,KAAA;IAQtB,kBAAkB,CAAC,SAAS,KAAA,EAAE,SAAS,SAAI;IAO3C,WAAW,CAAC,GAAG,KAAA;IAcf,MAAM,CAAC,GAAG,EAAE,GAAG;IAKf,YAAY,CAAC,GAAG,EAAE,GAAG;IAoBrB,qBAAqB;yCAvKV,oBAAoB;2CAApB,oBAAoB;CA0KhC"}
@@ -0,0 +1,25 @@
1
+ import { ElementRef, OnInit, OnDestroy, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ToolbarEventService } from '../../toolbar/toolbar-event.service';
3
+ import { ResponseType } from '../viewer-exception.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MultimediaPlayerComponent implements OnInit, OnChanges, OnDestroy {
6
+ readonly toolbarEvents: ToolbarEventService;
7
+ url: string;
8
+ downloadFileName: string;
9
+ multimediaOn: boolean;
10
+ loadStatus: EventEmitter<ResponseType>;
11
+ downloadLink: ElementRef;
12
+ videoPlayer: ElementRef;
13
+ playbackMsg: string;
14
+ private subscription;
15
+ constructor(toolbarEvents: ToolbarEventService);
16
+ ngOnInit(): void;
17
+ ngOnChanges(changes: SimpleChanges): void;
18
+ ngOnDestroy(): void;
19
+ reloadVideo(): void;
20
+ onSuccess(): void;
21
+ onError(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultimediaPlayerComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultimediaPlayerComponent, "mv-multimedia-player", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "multimediaOn": { "alias": "multimediaOn"; "required": false; }; }, { "loadStatus": "loadStatus"; }, never, never, false, never>;
24
+ }
25
+ //# sourceMappingURL=multimedia-player.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multimedia-player.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/viewers/multimedia-player/multimedia-player.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,MAAM,EAEN,SAAS,EAET,YAAY,EACZ,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;;AAEzD,qBAIa,yBAA0B,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;aAgB1D,aAAa,EAAE,mBAAmB;IAd3C,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IAErB,UAAU,6BAAoC;IAEZ,YAAY,EAAE,UAAU,CAAC;IAC1B,WAAW,EAAE,UAAU,CAAC;IAEnE,WAAW,SAAa;IAExB,OAAO,CAAC,YAAY,CAAe;gBAGjB,aAAa,EAAE,mBAAmB;IAG7C,QAAQ,IAAI,IAAI;IAMhB,WAAW,CAAC,OAAO,EAAE,aAAa;IAMzC,WAAW,IAAI,IAAI;IAInB,WAAW;IAOX,SAAS;IAIT,OAAO;yCA9CI,yBAAyB;2CAAzB,yBAAyB;CAiDrC"}
@@ -0,0 +1,69 @@
1
+ import { Outline } from './../side-bar/outline-item/outline.model';
2
+ import { DownloadManager, PDFViewer } from 'pdfjs-dist/web/pdf_viewer.mjs';
3
+ import 'pdfjs-dist/build/pdf.worker';
4
+ import 'pdfjs-dist/build/pdf.mjs';
5
+ import { Subject } from 'rxjs';
6
+ import { SearchOperation, ToolbarEventService } from '../../../toolbar/toolbar-event.service';
7
+ import { PdfPosition } from '../../../store/reducers/document.reducer';
8
+ export declare class PdfJsWrapper {
9
+ private readonly pdfViewer;
10
+ private readonly downloadManager;
11
+ private readonly toolbarEvents;
12
+ readonly documentLoadInit: Subject<string>;
13
+ readonly documentLoadProgress: Subject<DocumentLoadProgress>;
14
+ readonly documentLoaded: Subject<any>;
15
+ readonly outlineLoaded: Subject<Outline[]>;
16
+ readonly documentLoadFailed: Subject<Error>;
17
+ readonly pageRendered: Subject<PageEvent[]>;
18
+ readonly positionUpdated: Subject<{
19
+ location: PdfPosition;
20
+ }>;
21
+ private zoomValue;
22
+ private documentTitle;
23
+ private documentOutline;
24
+ redactionPages: {
25
+ start: number;
26
+ end: number;
27
+ }[];
28
+ constructor(pdfViewer: PDFViewer, downloadManager: DownloadManager, toolbarEvents: ToolbarEventService, documentLoadInit: Subject<string>, documentLoadProgress: Subject<DocumentLoadProgress>, documentLoaded: Subject<any>, outlineLoaded: Subject<Outline[]>, documentLoadFailed: Subject<Error>, pageRendered: Subject<PageEvent[]>, positionUpdated: Subject<{
29
+ location: PdfPosition;
30
+ }>);
31
+ sendSearchDetails(event: any): void;
32
+ drawMissingPages(e: any): void;
33
+ onRedactionModeChanged(redactionMode: boolean): void;
34
+ private emitDocumentInfo;
35
+ loadDocument(documentUrl: string): Promise<void>;
36
+ private createLoadingTask;
37
+ private setOutlinePageNumbers;
38
+ private setNestedOutlinePageNumbers;
39
+ private getOutlinePageNumber;
40
+ downloadFile(url: string, filename: string): void;
41
+ setPageNumber(pageNumber: number): void;
42
+ getPageNumber(): number;
43
+ changePageNumber(numPages: number): void;
44
+ search(operation: SearchOperation): void;
45
+ clearSearch(): void;
46
+ navigateTo(destination: string | any[]): void;
47
+ nativeNavigate(destination: string | any[]): void;
48
+ setZoom(zoomValue: number): void;
49
+ stepZoom(zoomValue: number): void;
50
+ private getZoomValue;
51
+ rotate(rotation: number): number;
52
+ resetRotation(rotation: number): number;
53
+ getNormalisedPagesRotation(): number;
54
+ getCurrentPDFZoomValue(): number;
55
+ setCurrentPDFTitle(title: string): void;
56
+ getCurrentPDFTitle(): string;
57
+ }
58
+ export interface DocumentLoadProgress {
59
+ loaded: number;
60
+ total: number;
61
+ }
62
+ export interface PageEvent {
63
+ div: object;
64
+ scale: number;
65
+ rotation: number;
66
+ id: string;
67
+ viewportScale: number;
68
+ }
69
+ //# sourceMappingURL=pdf-js-wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-js-wrapper.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AAGnE,OAAO,EAAE,eAAe,EAAkB,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC3F,OAAO,6BAA6B,CAAC;AACrC,OAAO,0BAA0B,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAsB,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClH,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAcvE,qBAAa,YAAY;IAQrB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,aAAa;aACd,gBAAgB,EAAE,OAAO,CAAC,MAAM,CAAC;aACjC,oBAAoB,EAAE,OAAO,CAAC,oBAAoB,CAAC;aACnD,cAAc,EAAE,OAAO,CAAC,GAAG,CAAC;aAC5B,aAAa,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC;aACjC,kBAAkB,EAAE,OAAO,CAAC,KAAK,CAAC;aAClC,YAAY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;IAgBxC,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,GAAG,EAAE;IAYtC,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,GAAG,EAAE;IAI1C,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAMhC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAMxC,OAAO,CAAC,YAAY;IAQb,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAIhC,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAIvC,0BAA0B,IAAI,MAAM;IAIpC,sBAAsB,IAAI,MAAM;IAIhC,kBAAkB,CAAC,KAAK,EAAE,MAAM;IAIhC,kBAAkB,IAAI,MAAM;CAGpC;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,17 @@
1
+ import 'pdfjs-dist/build/pdf.mjs';
2
+ import { ElementRef } from '@angular/core';
3
+ import { PdfJsWrapper } from './pdf-js-wrapper';
4
+ import { ToolbarEventService } from '../../../toolbar/toolbar-event.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class PdfJsWrapperFactory {
7
+ private readonly toolbarEvents;
8
+ private linkService;
9
+ private eventBus;
10
+ private pdfJsWrapper;
11
+ constructor(toolbarEvents: ToolbarEventService);
12
+ create(container: ElementRef): PdfJsWrapper;
13
+ pdfWrapper(): PdfJsWrapper;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdfJsWrapperFactory, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<PdfJsWrapperFactory>;
16
+ }
17
+ //# sourceMappingURL=pdf-js-wrapper.provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-js-wrapper.provider.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.ts"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,UAAU,EAAc,MAAM,eAAe,CAAC;AACvD,OAAO,EAAmC,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;;AAI7E,qBACa,mBAAmB;IAMlB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAJ1C,OAAO,CAAC,WAAW,CAA6B;IAChD,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,YAAY,CAAe;gBAEN,aAAa,EAAE,mBAAmB;IAKxD,MAAM,CAAC,SAAS,EAAE,UAAU,GAAG,YAAY;IAgClD,UAAU;yCA3CC,mBAAmB;6CAAnB,mBAAmB;CA8C/B"}
@@ -0,0 +1,102 @@
1
+ import { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { BehaviorSubject, Observable } from 'rxjs';
3
+ import { Store } from '@ngrx/store';
4
+ import { PdfJsWrapperFactory } from './pdf-js/pdf-js-wrapper.provider';
5
+ import { AnnotationSet } from '../../annotations/annotation-set/annotation-set.model';
6
+ import { ToolbarEventService } from '../../toolbar/toolbar-event.service';
7
+ import { PrintService } from '../../print.service';
8
+ import { ResponseType, ViewerException } from '../viewer-exception.model';
9
+ import { ToolbarButtonVisibilityService } from '../../toolbar/toolbar-button-visibility.service';
10
+ import { Outline } from './side-bar/outline-item/outline.model';
11
+ import * as fromStore from '../../store/reducers/reducers';
12
+ import { IcpState } from '../../icp/icp.interfaces';
13
+ import { ViewerEventService } from '../viewer-event.service';
14
+ import { IcpService } from '../../icp/icp.service';
15
+ import { IcpEventService } from '../../toolbar/icp-event.service';
16
+ import { HighlightCreateDirective } from '../../annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive';
17
+ import * as i0 from "@angular/core";
18
+ export declare class PdfViewerComponent implements AfterContentInit, OnChanges, OnDestroy {
19
+ private store;
20
+ private icpStore;
21
+ private readonly pdfJsWrapperFactory;
22
+ private readonly printService;
23
+ readonly toolbarEvents: ToolbarEventService;
24
+ private readonly viewerEvents;
25
+ private icpService;
26
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
27
+ private readonly icpEventService;
28
+ mediaLoadStatus: EventEmitter<ResponseType>;
29
+ pdfViewerException: EventEmitter<ViewerException>;
30
+ documentTitle: EventEmitter<string>;
31
+ downloadUrl: string;
32
+ url: string;
33
+ downloadFileName: string;
34
+ enableAnnotations: boolean;
35
+ enableRedactions: boolean;
36
+ enableICP: boolean;
37
+ annotationSet: AnnotationSet | null;
38
+ enableRedactSearch: AnnotationSet | null;
39
+ height: string;
40
+ pageHeights: any[];
41
+ rotation: number;
42
+ zoom: number;
43
+ caseId: string;
44
+ highlightMode: Observable<boolean>;
45
+ drawMode: BehaviorSubject<boolean>;
46
+ documentOutline: Outline[];
47
+ loadingDocument: boolean;
48
+ loadingDocumentProgress: number;
49
+ errorMessage: string;
50
+ hasDifferentPageSize: boolean;
51
+ viewerContainer: ElementRef<HTMLDivElement>;
52
+ pdfViewer: ElementRef<HTMLDivElement>;
53
+ highlightCreateDirective: HighlightCreateDirective;
54
+ private pdfWrapper;
55
+ private $subscription;
56
+ private viewerException;
57
+ showCommentsPanel: boolean;
58
+ showIcpParticipantsList: boolean;
59
+ enableGrabNDrag: boolean;
60
+ showSelectionStartCursor: boolean;
61
+ selectionStartCursorX: number;
62
+ selectionStartCursorY: number;
63
+ showSelectionEndCursor: boolean;
64
+ selectionEndCursorX: number;
65
+ selectionEndCursorY: number;
66
+ constructor(store: Store<fromStore.AnnotationSetState>, icpStore: Store<IcpState>, pdfJsWrapperFactory: PdfJsWrapperFactory, printService: PrintService, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, icpService: IcpService, toolbarButtons: ToolbarButtonVisibilityService, icpEventService: IcpEventService);
67
+ ngAfterContentInit(): Promise<void>;
68
+ ngOnChanges(changes: SimpleChanges): Promise<void>;
69
+ resetRotation(): void;
70
+ ngOnDestroy(): void;
71
+ private loadDocument;
72
+ private onDocumentLoadProgress;
73
+ private onDocumentLoaded;
74
+ private onDocumentLoadFailed;
75
+ private updatePages;
76
+ set searchBarHidden(hidden: boolean);
77
+ toggleCommentsSummary(): void;
78
+ private rotateDocument;
79
+ private initDocumentProgress;
80
+ private setZoom;
81
+ private stepZoom;
82
+ setPageHeights(): void;
83
+ calculateZoomValue(zoomValue: any, increment?: number): number;
84
+ private goToDestination;
85
+ private goToDestinationICP;
86
+ getCurrentPageNumber(): number;
87
+ onKeyboardTextSelectionConfirmed(): void;
88
+ onKeyboardTextSelectionCancelled(): void;
89
+ onSelectionStartCursorChanged(position: {
90
+ x: number;
91
+ y: number;
92
+ visible: boolean;
93
+ }): void;
94
+ onSelectionEndCursorChanged(position: {
95
+ x: number;
96
+ y: number;
97
+ visible: boolean;
98
+ }): void;
99
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerComponent, never>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdfViewerComponent, "mv-pdf-viewer", never, { "downloadUrl": { "alias": "downloadUrl"; "required": false; }; "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "enableICP": { "alias": "enableICP"; "required": false; }; "annotationSet": { "alias": "annotationSet"; "required": false; }; "enableRedactSearch": { "alias": "enableRedactSearch"; "required": false; }; "height": { "alias": "height"; "required": false; }; "caseId": { "alias": "caseId"; "required": false; }; "searchBarHidden": { "alias": "searchBarHidden"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "pdfViewerException": "pdfViewerException"; "documentTitle": "documentTitle"; }, never, never, false, never>;
101
+ }
102
+ //# sourceMappingURL=pdf-viewer.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-viewer.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/pdf-viewer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAEhB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EAET,aAAa,EAGd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAkB,eAAe,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAEjF,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAG5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAEjG,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;AAM3D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gGAAgG,CAAC;;AAE1I,qBAKa,kBAAmB,YAAW,gBAAgB,EAAE,SAAS,EAAE,SAAS;IAoD7E,OAAO,CAAC,KAAK;IAC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,IAAI;IAUzF,2BAA2B,CAAC,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;yCA3Q5E,kBAAkB;2CAAlB,kBAAkB;CAoR9B"}
@@ -0,0 +1,82 @@
1
+ import { Bookmark } from './../../../../store/models/bookmarks.interface';
2
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
3
+ import { Store } from '@ngrx/store';
4
+ import { Subscription } from 'rxjs';
5
+ import { AnnotationSetState } from '../../../../store/reducers/annotations.reducer';
6
+ import { DocumentPages } from '../../../../store/reducers/document.reducer';
7
+ import * as fromBookmarks from '../../../../store/reducers/bookmarks.reducer';
8
+ import { ArrayDataSource, SelectionModel } from '@angular/cdk/collections';
9
+ import { FlatTreeControl } from '@angular/cdk/tree';
10
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
11
+ import * as i0 from "@angular/core";
12
+ export declare class BookmarksComponent implements OnInit, OnDestroy, OnChanges {
13
+ private store;
14
+ set bookmarkNodes(value: Bookmark[]);
15
+ get bookmarkNodes(): Bookmark[];
16
+ zoom: number;
17
+ rotate: number;
18
+ parentScrollTop: number;
19
+ goToDestination: EventEmitter<any[]>;
20
+ treeHasChanged: EventEmitter<boolean>;
21
+ private _bookmarkNodes;
22
+ datasource: ArrayDataSource<Bookmark>;
23
+ treeControl: FlatTreeControl<Bookmark>;
24
+ hoveredNode: Bookmark;
25
+ hoverHtmlElement: HTMLElement;
26
+ expansionModel: SelectionModel<Bookmark>;
27
+ isDraggingOn: boolean;
28
+ isUserdragging: boolean;
29
+ expandTimeout: any;
30
+ expandDelay: number;
31
+ dragNodeInsertToParent: boolean;
32
+ pageLookup: {
33
+ [pageId: number]: DocumentPages;
34
+ };
35
+ editableBookmark: string;
36
+ BOOKMARK_CHAR_LIMIT: number;
37
+ dragNode: any;
38
+ dragNodeExpandOverWaitTimeMs: number;
39
+ dragNodeExpandOverNode: any;
40
+ dragNodeExpandOverTime: number;
41
+ dragNodeExpandOverArea: number;
42
+ options: {
43
+ allowDrag: boolean;
44
+ allowDrop: boolean;
45
+ };
46
+ $subscription: Subscription;
47
+ private sortMode;
48
+ private readonly _customSort;
49
+ private readonly _positionSort;
50
+ constructor(store: Store<fromBookmarks.BookmarksState | AnnotationSetState>);
51
+ ngOnInit(): void;
52
+ ngOnChanges(changes: SimpleChanges): void;
53
+ ngOnDestroy(): void;
54
+ editBookmark(id: any): void;
55
+ onAddBookmarkClick(): void;
56
+ deleteBookmark2(node: Bookmark): void;
57
+ updateBookmark(bookmark: Bookmark, name: any): void;
58
+ goToBookmark(bookmark: Bookmark): void;
59
+ get customSort(): string;
60
+ get positionSort(): string;
61
+ sort(mode: string): void;
62
+ private sortBookmarks;
63
+ private positionSortBookmarks;
64
+ private customSortBookmarks;
65
+ private scaledY;
66
+ hasChild: (_: number, node: Bookmark) => boolean;
67
+ getNode(bookmarks: any, parentId: any): any;
68
+ drop(event: CdkDragDrop<Bookmark>): void;
69
+ private getSiblingFromAllSibliings;
70
+ dragStart(): void;
71
+ dragEnd(): void;
72
+ dragHover(event: any, node: Bookmark): void;
73
+ dragHoverEnd(event: any, node: Bookmark): void;
74
+ onNodeExpand(node: Bookmark): "toggle-children-wrapper-expanded" | "toggle-children-wrapper-collapsed";
75
+ visibleNodes(bookmarks: Bookmark[]): Bookmark[];
76
+ findNodeSiblings(arr: Array<any>, id: string): Array<any>;
77
+ rebuildTreeForData(data: any): void;
78
+ isToNodeChildOfFromNode(fromNodeChildren: Bookmark[], toNode: Bookmark): boolean;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookmarksComponent, never>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<BookmarksComponent, "mv-bookmarks", never, { "bookmarkNodes": { "alias": "bookmarkNodes"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "parentScrollTop": { "alias": "parentScrollTop"; "required": false; }; }, { "goToDestination": "goToDestination"; "treeHasChanged": "treeHasChanged"; }, never, never, false, never>;
81
+ }
82
+ //# sourceMappingURL=bookmarks.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookmarks.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAC1E,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,SAAS,EAAE,MAAM,EAAU,aAAa,EAAE,MAAM,eAAe,CAAC;AACpH,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAQ,MAAM,MAAM,CAAC;AAI1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,OAAO,KAAK,aAAa,MAAM,8CAA8C,CAAC;AAI9E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAqB,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;;AAErD,qBAKa,kBAAmB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAwDzD,OAAO,CAAC,KAAK;IAtDzB,IACI,aAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,EAKlC;IAED,IAAI,aAAa,IAPQ,QAAQ,EAAE,CASlC;IAEQ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACvB,eAAe,sBAA6B;IAC5C,cAAc,wBAA8B;IAEtD,OAAO,CAAC,cAAc,CAAkB;IACxC,UAAU,EAAE,eAAe,CAAC,QAAQ,CAAC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IAQ3B,OAAO,CAAC,OAAO;IAKf,QAAQ,MAAO,MAAM,QAAQ,QAAQ,aAEpC;IAED,OAAO,CAAC,SAAS,KAAA,EAAE,QAAQ,KAAA;IAe3B,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,QAAQ,CAAC;IAgGjC,OAAO,CAAC,0BAA0B;IAIlC,SAAS;IAMT,OAAO;IAOP,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ;IAsBpC,YAAY,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ;IAYvC,YAAY,CAAC,IAAI,EAAE,QAAQ;IAK3B,YAAY,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE;IAe/C,gBAAgB,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC;IAazD,kBAAkB,CAAC,IAAI,EAAE,GAAG;IAY5B,uBAAuB,CAAC,gBAAgB,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,QAAQ;yCA5Z3D,kBAAkB;2CAAlB,kBAAkB;CAqa9B"}
@@ -0,0 +1,22 @@
1
+ export interface Bookmark {
2
+ id: string;
3
+ documentId: string;
4
+ name: string;
5
+ pageNumber: number;
6
+ xCoordinate: number;
7
+ yCoordinate: number;
8
+ children: any[];
9
+ previous: string;
10
+ index: number;
11
+ }
12
+ export interface BookmarksPerPage {
13
+ bookmark: {
14
+ [id: string]: Bookmark;
15
+ };
16
+ styles: {
17
+ left: number;
18
+ height: number;
19
+ width: number;
20
+ };
21
+ }
22
+ //# sourceMappingURL=bookmarks.interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookmarks.interfaces.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,GAAG,EAAE,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,CAAA;KAAE,CAAC;IACrC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CACzD"}
@@ -0,0 +1,20 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { Outline } from './outline.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class OutlineItemComponent implements OnInit {
5
+ outline: Outline;
6
+ currentPageNumber: number;
7
+ isCurrentSection: boolean;
8
+ endPage: number;
9
+ navigationEvent: EventEmitter<any>;
10
+ showOutlineItems: boolean;
11
+ ngOnInit(): void;
12
+ goToDestination(destination: any): void;
13
+ toggleOutline(): void;
14
+ isViewedItem(current: Outline, next: Outline): boolean;
15
+ findEndPage(next: Outline): number;
16
+ showHighlightOutlineCss(): "highlightedOutlineItem" | "outlineItem";
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<OutlineItemComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<OutlineItemComponent, "mv-outline-item", never, { "outline": { "alias": "outline"; "required": false; }; "currentPageNumber": { "alias": "currentPageNumber"; "required": false; }; "isCurrentSection": { "alias": "isCurrentSection"; "required": false; }; "endPage": { "alias": "endPage"; "required": false; }; }, { "navigationEvent": "navigationEvent"; }, never, never, false, never>;
19
+ }
20
+ //# sourceMappingURL=outline-item.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outline-item.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;;AAE1C,qBAIa,oBAAqB,YAAW,MAAM;IAExC,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IACf,eAAe,oBAAsB;IAE/C,gBAAgB,EAAE,OAAO,CAAC;IAE1B,QAAQ;IAIR,eAAe,CAAC,WAAW,EAAE,GAAG;IAMhC,aAAa;IAIb,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO;IAQtD,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM;IAIlC,uBAAuB;yCApCZ,oBAAoB;2CAApB,oBAAoB;CAuChC"}
@@ -0,0 +1,14 @@
1
+ export interface Outline {
2
+ bold: boolean;
3
+ color: Uint8ClampedArray;
4
+ count: number | undefined;
5
+ dest: string | Array<any> | null;
6
+ italic: boolean;
7
+ items: Outline[];
8
+ newWindow: boolean | undefined;
9
+ pageNumber?: number;
10
+ title: string;
11
+ unsafeUrl: string | undefined;
12
+ url: string | null;
13
+ }
14
+ //# sourceMappingURL=outline.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outline.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,iBAAiB,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB"}
@@ -0,0 +1,42 @@
1
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { Outline } from './outline-item/outline.model';
3
+ import { Observable } from 'rxjs';
4
+ import { Store } from '@ngrx/store';
5
+ import { BookmarkNode } from '../../../store/models/bookmarks.interface';
6
+ import { ViewerEventService } from '../../viewer-event.service';
7
+ import { BookmarksState } from '../../../store/reducers/bookmarks.reducer';
8
+ import { ToolbarEventService } from '../../../toolbar/toolbar-event.service';
9
+ import { BookmarksComponent } from './bookmarks/bookmarks.component';
10
+ import * as i0 from "@angular/core";
11
+ export declare class SideBarComponent implements OnInit, OnChanges, OnDestroy {
12
+ private viewerEvents;
13
+ private store;
14
+ private readonly toolbarEvents;
15
+ annotationsEnabled: boolean;
16
+ outline: Outline;
17
+ url: string;
18
+ zoom: number;
19
+ rotate: number;
20
+ currentPageNumber: number;
21
+ bookmarks: BookmarksComponent;
22
+ treeChanged: boolean;
23
+ selectedView: string;
24
+ bookmarkNodes$: Observable<BookmarkNode[]>;
25
+ scrollTop: any;
26
+ sidebarOpen: any;
27
+ private subscriptions;
28
+ sidebarDiv: any;
29
+ constructor(viewerEvents: ViewerEventService, store: Store<BookmarksState>, toolbarEvents: ToolbarEventService);
30
+ ngOnInit(): void;
31
+ ngOnChanges(changes: SimpleChanges): void;
32
+ ngOnDestroy(): void;
33
+ onScroll(event: any): void;
34
+ goToDestination(destination: any[]): void;
35
+ hasTreeChanged(value: boolean): void;
36
+ toggleSidebarView(sidebarView: string): void;
37
+ isViewedItem(current: Outline, next: Outline): boolean;
38
+ findEndPage(next: Outline): number;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<SideBarComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<SideBarComponent, "mv-side-bar", never, { "annotationsEnabled": { "alias": "annotationsEnabled"; "required": false; }; "outline": { "alias": "outline"; "required": false; }; "url": { "alias": "url"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "currentPageNumber": { "alias": "currentPageNumber"; "required": false; }; }, {}, never, never, false, never>;
41
+ }
42
+ //# sourceMappingURL=side-bar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/viewers/pdf-viewer/side-bar/side-bar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6D,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;AAClJ,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAChD,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAIzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;;AAErE,qBAIa,gBAAiB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAoBvD,OAAO,CAAC,YAAY;IAC9B,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ,C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