@hmcts/media-viewer 4.1.6-angular-20 → 4.1.7-exui-2986

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 (369) hide show
  1. package/assets/all.scss +1 -0
  2. package/assets/sass/tooltip.scss +43 -0
  3. package/esm2022/hmcts-media-viewer.mjs +5 -0
  4. package/esm2022/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.mjs +122 -0
  5. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.mjs +120 -0
  6. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.mjs +101 -0
  7. package/esm2022/lib/annotations/annotation-set/annotation-set.component.mjs +50 -0
  8. package/esm2022/lib/annotations/annotation-set/annotation-set.model.mjs +2 -0
  9. package/esm2022/lib/annotations/annotation-set/annotation-view/annotation-view.component.mjs +94 -0
  10. package/esm2022/lib/annotations/annotation-set/annotation-view/annotation.model.mjs +2 -0
  11. package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.mjs +116 -0
  12. package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.mjs +2 -0
  13. package/esm2022/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.mjs +119 -0
  14. package/esm2022/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.mjs +86 -0
  15. package/esm2022/lib/annotations/annotations.module.mjs +162 -0
  16. package/esm2022/lib/annotations/comment-set/comment/comment.component.mjs +178 -0
  17. package/esm2022/lib/annotations/comment-set/comment/comment.model.mjs +2 -0
  18. package/esm2022/lib/annotations/comment-set/comment/comment.service.mjs +50 -0
  19. package/esm2022/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.mjs +47 -0
  20. package/esm2022/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.mjs +31 -0
  21. package/esm2022/lib/annotations/comment-set/comment-navigate/comments-navigate.component.mjs +91 -0
  22. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.mjs +62 -0
  23. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.mjs +54 -0
  24. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-set-header.component.mjs +72 -0
  25. package/esm2022/lib/annotations/comment-set/comment-set-render.service.mjs +55 -0
  26. package/esm2022/lib/annotations/comment-set/comment-set.component.mjs +123 -0
  27. package/esm2022/lib/annotations/comments-summary/comments-summary.component.mjs +120 -0
  28. package/esm2022/lib/annotations/models/api-persisted.model.mjs +2 -0
  29. package/esm2022/lib/annotations/models/event-select.model.mjs +2 -0
  30. package/esm2022/lib/annotations/models/tags.model.mjs +2 -0
  31. package/esm2022/lib/annotations/models/user.model.mjs +2 -0
  32. package/esm2022/lib/annotations/pipes/date/date.pipe.mjs +26 -0
  33. package/esm2022/lib/annotations/pipes/filter/filter.pipe.mjs +32 -0
  34. package/esm2022/lib/annotations/pipes/unsnake/unsnake.pipe.mjs +16 -0
  35. package/esm2022/lib/annotations/services/annotation-api/annotation-api.service.mjs +58 -0
  36. package/esm2022/lib/annotations/services/bookmarks-api/bookmarks-api.service.mjs +45 -0
  37. package/esm2022/lib/annotations/services/tags/tags.services.mjs +41 -0
  38. package/esm2022/lib/annotations/tags/tags.component.mjs +53 -0
  39. package/esm2022/lib/bookmark/components/bookmark-icons.component.mjs +25 -0
  40. package/esm2022/lib/icp/confirm-exit/confirm-action-dialog.component.mjs +22 -0
  41. package/esm2022/lib/icp/icp-follower.service.mjs +65 -0
  42. package/esm2022/lib/icp/icp-presenter.service.mjs +56 -0
  43. package/esm2022/lib/icp/icp-session-api.service.mjs +28 -0
  44. package/esm2022/lib/icp/icp-update.service.mjs +73 -0
  45. package/esm2022/lib/icp/icp.events.mjs +15 -0
  46. package/esm2022/lib/icp/icp.interfaces.mjs +2 -0
  47. package/esm2022/lib/icp/icp.service.mjs +98 -0
  48. package/esm2022/lib/icp/participants-list/participants-list.component.mjs +32 -0
  49. package/esm2022/lib/icp/socket.service.mjs +128 -0
  50. package/esm2022/lib/media-viewer.component.mjs +247 -0
  51. package/esm2022/lib/media-viewer.module.mjs +139 -0
  52. package/esm2022/lib/print.service.mjs +32 -0
  53. package/esm2022/lib/redaction/components/redaction.component.mjs +91 -0
  54. package/esm2022/lib/redaction/services/redaction-api.service.mjs +50 -0
  55. package/esm2022/lib/redaction/services/redaction.model.mjs +2 -0
  56. package/esm2022/lib/shared/gov-uk-date/gov-uk-date.component.mjs +28 -0
  57. package/esm2022/lib/shared/gov-uk-error-message/gov-uk-error-message.component.mjs +34 -0
  58. package/esm2022/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.mjs +63 -0
  59. package/esm2022/lib/shared/gov-uk-label/gov-uk-label.component.mjs +44 -0
  60. package/esm2022/lib/shared/shared.module.mjs +53 -0
  61. package/esm2022/lib/shared/util/helpers/html-templates.helper.mjs +29 -0
  62. package/esm2022/lib/shared/util/services/number.helper.service.mjs +23 -0
  63. package/esm2022/lib/store/actions/annotation.actions.mjs +119 -0
  64. package/esm2022/lib/store/actions/bookmark.actions.mjs +112 -0
  65. package/esm2022/lib/store/actions/document.actions.mjs +91 -0
  66. package/esm2022/lib/store/actions/icp.actions.mjs +56 -0
  67. package/esm2022/lib/store/actions/redaction.actions.mjs +132 -0
  68. package/esm2022/lib/store/actions/tag.actions.mjs +21 -0
  69. package/esm2022/lib/store/bookmarks-store-utils.mjs +49 -0
  70. package/esm2022/lib/store/effects/annotation.effects.mjs +51 -0
  71. package/esm2022/lib/store/effects/bookmarks.effects.mjs +44 -0
  72. package/esm2022/lib/store/effects/document.effects.mjs +44 -0
  73. package/esm2022/lib/store/effects/icp.effects.mjs +26 -0
  74. package/esm2022/lib/store/effects/index.mjs +7 -0
  75. package/esm2022/lib/store/effects/redaction.effects.mjs +67 -0
  76. package/esm2022/lib/store/models/bookmarks.interface.mjs +2 -0
  77. package/esm2022/lib/store/models/filters.interface.mjs +2 -0
  78. package/esm2022/lib/store/reducers/annotations.reducer.mjs +208 -0
  79. package/esm2022/lib/store/reducers/bookmarks.reducer.mjs +125 -0
  80. package/esm2022/lib/store/reducers/document.reducer.mjs +158 -0
  81. package/esm2022/lib/store/reducers/icp.reducer.mjs +56 -0
  82. package/esm2022/lib/store/reducers/redaction.reducer.mjs +116 -0
  83. package/esm2022/lib/store/reducers/reducers.mjs +23 -0
  84. package/esm2022/lib/store/reducers/tags.reducer.mjs +93 -0
  85. package/esm2022/lib/store/selectors/annotation.selectors.mjs +81 -0
  86. package/esm2022/lib/store/selectors/bookmark.selectors.mjs +37 -0
  87. package/esm2022/lib/store/selectors/document.selectors.mjs +13 -0
  88. package/esm2022/lib/store/selectors/icp.selectors.mjs +13 -0
  89. package/esm2022/lib/store/selectors/redaction.selectors.mjs +26 -0
  90. package/esm2022/lib/store/selectors/tag.selectors.mjs +15 -0
  91. package/esm2022/lib/store/store-utils.mjs +131 -0
  92. package/esm2022/lib/toolbar/highlight-toolbar/highlight-toolbar.component.mjs +44 -0
  93. package/esm2022/lib/toolbar/icp-event.service.mjs +44 -0
  94. package/esm2022/lib/toolbar/icp-toolbar/icp-toolbar.component.mjs +43 -0
  95. package/esm2022/lib/toolbar/main-toolbar/main-toolbar.component.mjs +206 -0
  96. package/esm2022/lib/toolbar/redaction-search-bar/redaction-search-bar.component.mjs +237 -0
  97. package/esm2022/lib/toolbar/redaction-search-bar/redaction-search.model.mjs +2 -0
  98. package/esm2022/lib/toolbar/redaction-toolbar/redaction-toolbar.component.mjs +68 -0
  99. package/esm2022/lib/toolbar/search-bar/search-bar.component.mjs +109 -0
  100. package/esm2022/lib/toolbar/toolbar-button-visibility.service.mjs +94 -0
  101. package/esm2022/lib/toolbar/toolbar-event.service.mjs +178 -0
  102. package/esm2022/lib/toolbar/toolbar.module.mjs +72 -0
  103. package/esm2022/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.mjs +82 -0
  104. package/esm2022/lib/viewers/convertible-content-viewer/document-conversion-api.service.mjs +22 -0
  105. package/esm2022/lib/viewers/grab-n-drag.directive.mjs +57 -0
  106. package/esm2022/lib/viewers/image-viewer/image-viewer.component.mjs +166 -0
  107. package/esm2022/lib/viewers/multimedia-player/multimedia-player.component.mjs +59 -0
  108. package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.mjs +266 -0
  109. package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.mjs +40 -0
  110. package/esm2022/lib/viewers/pdf-viewer/pdf-viewer.component.mjs +242 -0
  111. package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.mjs +379 -0
  112. package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.mjs +2 -0
  113. package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.mjs +49 -0
  114. package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.mjs +2 -0
  115. package/esm2022/lib/viewers/pdf-viewer/side-bar/side-bar.component.mjs +99 -0
  116. package/esm2022/lib/viewers/rotation-persist/rotation-api.service.mjs +27 -0
  117. package/esm2022/lib/viewers/rotation-persist/rotation-persist.directive.mjs +61 -0
  118. package/esm2022/lib/viewers/rotation-persist/rotation.model.mjs +2 -0
  119. package/esm2022/lib/viewers/unsupported-viewer/unsupported-viewer.component.mjs +49 -0
  120. package/esm2022/lib/viewers/viewer-event.service.mjs +34 -0
  121. package/esm2022/lib/viewers/viewer-exception.model.mjs +13 -0
  122. package/esm2022/lib/viewers/viewer-util.service.mjs +20 -0
  123. package/esm2022/public_api.mjs +33 -0
  124. package/fesm2022/hmcts-media-viewer.mjs +302 -303
  125. package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
  126. package/hmcts-media-viewer.d.ts.map +1 -0
  127. package/index.d.ts +4 -2304
  128. package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts +48 -0
  129. package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts.map +1 -0
  130. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts +32 -0
  131. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts.map +1 -0
  132. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts +18 -0
  133. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts.map +1 -0
  134. package/lib/annotations/annotation-set/annotation-set.component.d.ts +27 -0
  135. package/lib/annotations/annotation-set/annotation-set.component.d.ts.map +1 -0
  136. package/lib/annotations/annotation-set/annotation-set.model.d.ts +7 -0
  137. package/lib/annotations/annotation-set/annotation-set.model.d.ts.map +1 -0
  138. package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts +34 -0
  139. package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts.map +1 -0
  140. package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts +16 -0
  141. package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts.map +1 -0
  142. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts +41 -0
  143. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts.map +1 -0
  144. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts +9 -0
  145. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts.map +1 -0
  146. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts +37 -0
  147. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts.map +1 -0
  148. package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts +37 -0
  149. package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts.map +1 -0
  150. package/lib/annotations/annotations.module.d.ts +36 -0
  151. package/lib/annotations/annotations.module.d.ts.map +1 -0
  152. package/lib/annotations/comment-set/comment/comment.component.d.ts +69 -0
  153. package/lib/annotations/comment-set/comment/comment.component.d.ts.map +1 -0
  154. package/lib/annotations/comment-set/comment/comment.model.d.ts +13 -0
  155. package/lib/annotations/comment-set/comment/comment.model.d.ts.map +1 -0
  156. package/lib/annotations/comment-set/comment/comment.service.d.ts +22 -0
  157. package/lib/annotations/comment-set/comment/comment.service.d.ts.map +1 -0
  158. package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts +14 -0
  159. package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts.map +1 -0
  160. package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts +12 -0
  161. package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts.map +1 -0
  162. package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts +28 -0
  163. package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts.map +1 -0
  164. package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts +26 -0
  165. package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts.map +1 -0
  166. package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.d.ts +21 -0
  167. package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.d.ts.map +1 -0
  168. package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts +36 -0
  169. package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts.map +1 -0
  170. package/lib/annotations/comment-set/comment-set-render.service.d.ts +15 -0
  171. package/lib/annotations/comment-set/comment-set-render.service.d.ts.map +1 -0
  172. package/lib/annotations/comment-set/comment-set.component.d.ts +56 -0
  173. package/lib/annotations/comment-set/comment-set.component.d.ts.map +1 -0
  174. package/lib/annotations/comments-summary/comments-summary.component.d.ts +42 -0
  175. package/lib/annotations/comments-summary/comments-summary.component.d.ts.map +1 -0
  176. package/lib/annotations/models/api-persisted.model.d.ts +11 -0
  177. package/lib/annotations/models/api-persisted.model.d.ts.map +1 -0
  178. package/lib/annotations/models/event-select.model.d.ts +6 -0
  179. package/lib/annotations/models/event-select.model.d.ts.map +1 -0
  180. package/lib/annotations/models/tags.model.d.ts +7 -0
  181. package/lib/annotations/models/tags.model.d.ts.map +1 -0
  182. package/lib/annotations/models/user.model.d.ts +6 -0
  183. package/lib/annotations/models/user.model.d.ts.map +1 -0
  184. package/lib/annotations/pipes/date/date.pipe.d.ts +16 -0
  185. package/lib/annotations/pipes/date/date.pipe.d.ts.map +1 -0
  186. package/lib/annotations/pipes/filter/filter.pipe.d.ts +8 -0
  187. package/lib/annotations/pipes/filter/filter.pipe.d.ts.map +1 -0
  188. package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts +8 -0
  189. package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts.map +1 -0
  190. package/lib/annotations/services/annotation-api/annotation-api.service.d.ts +28 -0
  191. package/lib/annotations/services/annotation-api/annotation-api.service.d.ts.map +1 -0
  192. package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts +21 -0
  193. package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts.map +1 -0
  194. package/lib/annotations/services/tags/tags.services.d.ts +18 -0
  195. package/lib/annotations/services/tags/tags.services.d.ts.map +1 -0
  196. package/lib/annotations/tags/tags.component.d.ts +28 -0
  197. package/lib/annotations/tags/tags.component.d.ts.map +1 -0
  198. package/lib/bookmark/components/bookmark-icons.component.d.ts +19 -0
  199. package/lib/bookmark/components/bookmark-icons.component.d.ts.map +1 -0
  200. package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts +11 -0
  201. package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts.map +1 -0
  202. package/lib/icp/icp-follower.service.d.ts +26 -0
  203. package/lib/icp/icp-follower.service.d.ts.map +1 -0
  204. package/lib/icp/icp-presenter.service.d.ts +25 -0
  205. package/lib/icp/icp-presenter.service.d.ts.map +1 -0
  206. package/lib/icp/icp-session-api.service.d.ts +15 -0
  207. package/lib/icp/icp-session-api.service.d.ts.map +1 -0
  208. package/lib/icp/icp-update.service.d.ts +22 -0
  209. package/lib/icp/icp-update.service.d.ts.map +1 -0
  210. package/lib/icp/icp.events.d.ts +14 -0
  211. package/lib/icp/icp.events.d.ts.map +1 -0
  212. package/lib/icp/icp.interfaces.d.ts +23 -0
  213. package/lib/icp/icp.interfaces.d.ts.map +1 -0
  214. package/lib/icp/icp.service.d.ts +40 -0
  215. package/lib/icp/icp.service.d.ts.map +1 -0
  216. package/lib/icp/participants-list/participants-list.component.d.ts +23 -0
  217. package/lib/icp/participants-list/participants-list.component.d.ts.map +1 -0
  218. package/lib/icp/socket.service.d.ts +29 -0
  219. package/lib/icp/socket.service.d.ts.map +1 -0
  220. package/lib/media-viewer.component.d.ts +72 -0
  221. package/lib/media-viewer.component.d.ts.map +1 -0
  222. package/lib/media-viewer.module.d.ts +36 -0
  223. package/lib/media-viewer.module.d.ts.map +1 -0
  224. package/lib/print.service.d.ts +8 -0
  225. package/lib/print.service.d.ts.map +1 -0
  226. package/lib/redaction/components/redaction.component.d.ts +42 -0
  227. package/lib/redaction/components/redaction.component.d.ts.map +1 -0
  228. package/lib/redaction/services/redaction-api.service.d.ts +20 -0
  229. package/lib/redaction/services/redaction-api.service.d.ts.map +1 -0
  230. package/lib/redaction/services/redaction.model.d.ts +11 -0
  231. package/lib/redaction/services/redaction.model.d.ts.map +1 -0
  232. package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts +15 -0
  233. package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts.map +1 -0
  234. package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts +11 -0
  235. package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts.map +1 -0
  236. package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +16 -0
  237. package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts.map +1 -0
  238. package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts +14 -0
  239. package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts.map +1 -0
  240. package/lib/shared/shared.module.d.ts +14 -0
  241. package/lib/shared/shared.module.d.ts.map +1 -0
  242. package/lib/shared/util/helpers/html-templates.helper.d.ts +9 -0
  243. package/lib/shared/util/helpers/html-templates.helper.d.ts.map +1 -0
  244. package/lib/shared/util/services/number.helper.service.d.ts +11 -0
  245. package/lib/shared/util/services/number.helper.service.d.ts.map +1 -0
  246. package/lib/store/actions/annotation.actions.d.ts +126 -0
  247. package/lib/store/actions/annotation.actions.d.ts.map +1 -0
  248. package/lib/store/actions/bookmark.actions.d.ts +117 -0
  249. package/lib/store/actions/bookmark.actions.d.ts.map +1 -0
  250. package/lib/store/actions/document.actions.d.ts +90 -0
  251. package/lib/store/actions/document.actions.d.ts.map +1 -0
  252. package/lib/store/actions/icp.actions.d.ts +75 -0
  253. package/lib/store/actions/icp.actions.d.ts.map +1 -0
  254. package/lib/store/actions/redaction.actions.d.ts +127 -0
  255. package/lib/store/actions/redaction.actions.d.ts.map +1 -0
  256. package/lib/store/actions/tag.actions.d.ts +30 -0
  257. package/lib/store/actions/tag.actions.d.ts.map +1 -0
  258. package/lib/store/bookmarks-store-utils.d.ts +9 -0
  259. package/lib/store/bookmarks-store-utils.d.ts.map +1 -0
  260. package/lib/store/effects/annotation.effects.d.ts +16 -0
  261. package/lib/store/effects/annotation.effects.d.ts.map +1 -0
  262. package/lib/store/effects/bookmarks.effects.d.ts +21 -0
  263. package/lib/store/effects/bookmarks.effects.d.ts.map +1 -0
  264. package/lib/store/effects/document.effects.d.ts +17 -0
  265. package/lib/store/effects/document.effects.d.ts.map +1 -0
  266. package/lib/store/effects/icp.effects.d.ts +16 -0
  267. package/lib/store/effects/icp.effects.d.ts.map +1 -0
  268. package/lib/store/effects/index.d.ts +2 -0
  269. package/lib/store/effects/index.d.ts.map +1 -0
  270. package/lib/store/effects/redaction.effects.d.ts +20 -0
  271. package/lib/store/effects/redaction.effects.d.ts.map +1 -0
  272. package/lib/store/models/bookmarks.interface.d.ts +31 -0
  273. package/lib/store/models/bookmarks.interface.d.ts.map +1 -0
  274. package/lib/store/models/filters.interface.d.ts +8 -0
  275. package/lib/store/models/filters.interface.d.ts.map +1 -0
  276. package/lib/store/reducers/annotations.reducer.d.ts +48 -0
  277. package/lib/store/reducers/annotations.reducer.d.ts.map +1 -0
  278. package/lib/store/reducers/bookmarks.reducer.d.ts +27 -0
  279. package/lib/store/reducers/bookmarks.reducer.d.ts.map +1 -0
  280. package/lib/store/reducers/document.reducer.d.ts +52 -0
  281. package/lib/store/reducers/document.reducer.d.ts.map +1 -0
  282. package/lib/store/reducers/icp.reducer.d.ts +9 -0
  283. package/lib/store/reducers/icp.reducer.d.ts.map +1 -0
  284. package/lib/store/reducers/redaction.reducer.d.ts +32 -0
  285. package/lib/store/reducers/redaction.reducer.d.ts.map +1 -0
  286. package/lib/store/reducers/reducers.d.ts +24 -0
  287. package/lib/store/reducers/reducers.d.ts.map +1 -0
  288. package/lib/store/reducers/tags.reducer.d.ts +32 -0
  289. package/lib/store/reducers/tags.reducer.d.ts.map +1 -0
  290. package/lib/store/selectors/annotation.selectors.d.ts +136 -0
  291. package/lib/store/selectors/annotation.selectors.d.ts.map +1 -0
  292. package/lib/store/selectors/bookmark.selectors.d.ts +38 -0
  293. package/lib/store/selectors/bookmark.selectors.d.ts.map +1 -0
  294. package/lib/store/selectors/document.selectors.d.ts +23 -0
  295. package/lib/store/selectors/document.selectors.d.ts.map +1 -0
  296. package/lib/store/selectors/icp.selectors.d.ts +10 -0
  297. package/lib/store/selectors/icp.selectors.d.ts.map +1 -0
  298. package/lib/store/selectors/redaction.selectors.d.ts +35 -0
  299. package/lib/store/selectors/redaction.selectors.d.ts.map +1 -0
  300. package/lib/store/selectors/tag.selectors.d.ts +28 -0
  301. package/lib/store/selectors/tag.selectors.d.ts.map +1 -0
  302. package/lib/store/store-utils.d.ts +25 -0
  303. package/lib/store/store-utils.d.ts.map +1 -0
  304. package/lib/toolbar/highlight-toolbar/highlight-toolbar.component.d.ts +20 -0
  305. package/lib/toolbar/highlight-toolbar/highlight-toolbar.component.d.ts.map +1 -0
  306. package/lib/toolbar/icp-event.service.d.ts +21 -0
  307. package/lib/toolbar/icp-event.service.d.ts.map +1 -0
  308. package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts +24 -0
  309. package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts.map +1 -0
  310. package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts +69 -0
  311. package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts.map +1 -0
  312. package/lib/toolbar/redaction-search-bar/redaction-search-bar.component.d.ts +60 -0
  313. package/lib/toolbar/redaction-search-bar/redaction-search-bar.component.d.ts.map +1 -0
  314. package/lib/toolbar/redaction-search-bar/redaction-search.model.d.ts +12 -0
  315. package/lib/toolbar/redaction-search-bar/redaction-search.model.d.ts.map +1 -0
  316. package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts +30 -0
  317. package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts.map +1 -0
  318. package/lib/toolbar/search-bar/search-bar.component.d.ts +34 -0
  319. package/lib/toolbar/search-bar/search-bar.component.d.ts.map +1 -0
  320. package/lib/toolbar/toolbar-button-visibility.service.d.ts +67 -0
  321. package/lib/toolbar/toolbar-button-visibility.service.d.ts.map +1 -0
  322. package/lib/toolbar/toolbar-event.service.d.ts +96 -0
  323. package/lib/toolbar/toolbar-event.service.d.ts.map +1 -0
  324. package/lib/toolbar/toolbar.module.d.ts +19 -0
  325. package/lib/toolbar/toolbar.module.d.ts.map +1 -0
  326. package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts +31 -0
  327. package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts.map +1 -0
  328. package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts +12 -0
  329. package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts.map +1 -0
  330. package/lib/viewers/grab-n-drag.directive.d.ts +19 -0
  331. package/lib/viewers/grab-n-drag.directive.d.ts.map +1 -0
  332. package/lib/viewers/image-viewer/image-viewer.component.d.ts +57 -0
  333. package/lib/viewers/image-viewer/image-viewer.component.d.ts.map +1 -0
  334. package/lib/viewers/multimedia-player/multimedia-player.component.d.ts +25 -0
  335. package/lib/viewers/multimedia-player/multimedia-player.component.d.ts.map +1 -0
  336. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts +69 -0
  337. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts.map +1 -0
  338. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts +17 -0
  339. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts.map +1 -0
  340. package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts +82 -0
  341. package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts.map +1 -0
  342. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts +82 -0
  343. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts.map +1 -0
  344. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts +22 -0
  345. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts.map +1 -0
  346. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts +20 -0
  347. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts.map +1 -0
  348. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.d.ts +14 -0
  349. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.d.ts.map +1 -0
  350. package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts +42 -0
  351. package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts.map +1 -0
  352. package/lib/viewers/rotation-persist/rotation-api.service.d.ts +14 -0
  353. package/lib/viewers/rotation-persist/rotation-api.service.d.ts.map +1 -0
  354. package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts +27 -0
  355. package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts.map +1 -0
  356. package/lib/viewers/rotation-persist/rotation.model.d.ts +5 -0
  357. package/lib/viewers/rotation-persist/rotation.model.d.ts.map +1 -0
  358. package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts +23 -0
  359. package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts.map +1 -0
  360. package/lib/viewers/viewer-event.service.d.ts +23 -0
  361. package/lib/viewers/viewer-event.service.d.ts.map +1 -0
  362. package/lib/viewers/viewer-exception.model.d.ts +15 -0
  363. package/lib/viewers/viewer-exception.model.d.ts.map +1 -0
  364. package/lib/viewers/viewer-util.service.d.ts +10 -0
  365. package/lib/viewers/viewer-util.service.d.ts.map +1 -0
  366. package/package.json +12 -10
  367. package/public_api.d.ts +30 -0
  368. package/public_api.d.ts.map +1 -0
  369. package/index.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document.selectors.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/store/selectors/document.selectors.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AAGpD,eAAO,MAAM,gBAAgB,iIAG5B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;EAGpB,CAAC;AAEF,eAAO,MAAM,WAAW;;kCAGvB,CAAC;AAEF,eAAO,MAAM,aAAa,mGAGzB,CAAC;AAEF,eAAO,MAAM,cAAc,qIAG1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qGAG7B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;EAGhC,CAAC;AAEF,eAAO,MAAM,WAAW,mGAGvB,CAAC;AAEF,eAAO,MAAM,cAAc,qGAG1B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as fromFeature from '../reducers/reducers';
2
+ export declare const getIcpState: import("@ngrx/store").MemoizedSelector<object, import("../../icp/icp.interfaces").IcpState, (s1: fromFeature.State) => import("../../icp/icp.interfaces").IcpState>;
3
+ export declare const getIcpSession: import("@ngrx/store").MemoizedSelector<object, import("../../icp/icp.interfaces").IcpSession, (s1: import("../../icp/icp.interfaces").IcpState) => import("../../icp/icp.interfaces").IcpSession>;
4
+ export declare const getCaseId: import("@ngrx/store").MemoizedSelector<object, string, (s1: import("../../icp/icp.interfaces").IcpSession) => string>;
5
+ export declare const getPresenter: import("@ngrx/store").MemoizedSelector<object, import("../../icp/icp.interfaces").IcpParticipant, (s1: import("../../icp/icp.interfaces").IcpState) => import("../../icp/icp.interfaces").IcpParticipant>;
6
+ export declare const getPresenterName: import("@ngrx/store").MemoizedSelector<object, string, (s1: import("../../icp/icp.interfaces").IcpParticipant) => string>;
7
+ export declare const getClient: import("@ngrx/store").MemoizedSelector<object, import("../../icp/icp.interfaces").IcpParticipant, (s1: import("../../icp/icp.interfaces").IcpState) => import("../../icp/icp.interfaces").IcpParticipant>;
8
+ export declare const isPresenter: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: import("../../icp/icp.interfaces").IcpParticipant, s2: import("../../icp/icp.interfaces").IcpParticipant) => boolean>;
9
+ export declare const getParticipants: import("@ngrx/store").MemoizedSelector<object, import("../../icp/icp.interfaces").IcpParticipant[], (s1: import("../../icp/icp.interfaces").IcpState) => import("../../icp/icp.interfaces").IcpParticipant[]>;
10
+ //# sourceMappingURL=icp.selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icp.selectors.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/store/selectors/icp.selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AAGpD,eAAO,MAAM,WAAW,qKAGvB,CAAC;AAEF,eAAO,MAAM,aAAa,mMAGzB,CAAC;AAEF,eAAO,MAAM,SAAS,uHAGrB,CAAC;AAEF,eAAO,MAAM,YAAY,2MAGxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,2HAG5B,CAAC;AAEF,eAAO,MAAM,SAAS,2MAGrB,CAAC;AAEF,eAAO,MAAM,WAAW,oLAIvB,CAAC;AAEF,eAAO,MAAM,eAAe,+MAG3B,CAAC"}
@@ -0,0 +1,35 @@
1
+ import * as fromFeature from '../reducers/reducers';
2
+ export declare const getRedactionState: import("@ngrx/store").MemoizedSelector<object, fromFeature.RedactionState, (s1: fromFeature.State) => fromFeature.RedactionState>;
3
+ export declare const getRedactionPages: import("@ngrx/store").MemoizedSelector<object, {
4
+ [id: string]: any;
5
+ }, (s1: fromFeature.RedactionState) => {
6
+ [id: string]: any;
7
+ }>;
8
+ export declare const getSelected: import("@ngrx/store").MemoizedSelector<object, {} | import("../../annotations/models/event-select.model").SelectionAnnotation, (s1: fromFeature.RedactionState) => {} | import("../../annotations/models/event-select.model").SelectionAnnotation>;
9
+ export declare const getRedactedDocumentInfo: import("@ngrx/store").MemoizedSelector<object, {
10
+ blob: Blob;
11
+ filename: string;
12
+ }, (s1: fromFeature.RedactionState) => {
13
+ blob: Blob;
14
+ filename: string;
15
+ }>;
16
+ export declare const getRedactionEnt: import("@ngrx/store").MemoizedSelector<object, {
17
+ [id: string]: import("../../redaction/services/redaction.model").Redaction;
18
+ }, (s1: fromFeature.RedactionState) => {
19
+ [id: string]: import("../../redaction/services/redaction.model").Redaction;
20
+ }>;
21
+ export declare const getRedactionArray: import("@ngrx/store").MemoizedSelector<object, {
22
+ redactions: import("../../redaction/services/redaction.model").Redaction[];
23
+ documentId: string;
24
+ }, (s1: {
25
+ [id: string]: import("../../redaction/services/redaction.model").Redaction;
26
+ }, s2: string) => {
27
+ redactions: import("../../redaction/services/redaction.model").Redaction[];
28
+ documentId: string;
29
+ }>;
30
+ export declare const getRedactionsPerPage: import("@ngrx/store").MemoizedSelector<object, any[], (s1: {
31
+ [id: string]: fromFeature.DocumentPages;
32
+ }, s2: {
33
+ [id: string]: any;
34
+ }) => any[]>;
35
+ //# sourceMappingURL=redaction.selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redaction.selectors.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/store/selectors/redaction.selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AAIpD,eAAO,MAAM,iBAAiB,mIAG7B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;EAG7B,CAAC;AAEF,eAAO,MAAM,WAAW,oPAGvB,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;EAGnC,CAAC;AAEF,eAAO,MAAM,eAAe;;;;EAG3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;EAO7B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;YAgBhC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import * as fromFeature from '../reducers/reducers';
2
+ export declare const getTagsRootState: import("@ngrx/store").MemoizedSelector<object, fromFeature.TagsState, (s1: fromFeature.State) => fromFeature.TagsState>;
3
+ export declare const getTagEntities: import("@ngrx/store").MemoizedSelector<object, {
4
+ [id: string]: string[];
5
+ }, (s1: fromFeature.TagsState) => {
6
+ [id: string]: string[];
7
+ }>;
8
+ export declare const getTagFilters: import("@ngrx/store").MemoizedSelector<object, string[], (s1: fromFeature.TagsState) => string[]>;
9
+ export declare const getTagFiltered: import("@ngrx/store").MemoizedSelector<object, {
10
+ [id: string]: string[];
11
+ }, (s1: fromFeature.TagsState) => {
12
+ [id: string]: string[];
13
+ }>;
14
+ export declare const getFilteredPageEntities: import("@ngrx/store").MemoizedSelector<object, {
15
+ [id: string]: import("../../annotations/annotation-set/annotation-view/annotation.model").Annotation[];
16
+ }, (s1: fromFeature.TagsState) => {
17
+ [id: string]: import("../../annotations/annotation-set/annotation-view/annotation.model").Annotation[];
18
+ }>;
19
+ export declare const getAllTagsArr: import("@ngrx/store").MemoizedSelector<object, {
20
+ key: string;
21
+ length: number;
22
+ }[], (s1: {
23
+ [id: string]: string[];
24
+ }) => {
25
+ key: string;
26
+ length: number;
27
+ }[]>;
28
+ //# sourceMappingURL=tag.selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.selectors.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/store/selectors/tag.selectors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AAGpD,eAAO,MAAM,gBAAgB,yHAG5B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;EAG1B,CAAC;AAEF,eAAO,MAAM,aAAa,mGAGzB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;EAG1B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;EAGnC,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;IAQzB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { Annotation } from '../annotations/annotation-set/annotation-view/annotation.model';
2
+ import { Redaction } from '../redaction/services/redaction.model';
3
+ import { Filters } from './models/filters.interface';
4
+ import { Comment } from '../annotations/comment-set/comment/comment.model';
5
+ export declare class StoreUtils {
6
+ static groupByKeyEntities(annotations: any, key: any): {
7
+ [id: string]: any[];
8
+ };
9
+ static generateCommentsEntities(annotations: any): {
10
+ [id: string]: Comment;
11
+ };
12
+ static genTagNameEntities(annotations: any): {};
13
+ static genNameEnt(annos: any, groupedByName: any): {};
14
+ static generateAnnotationEntities(anno: any): {
15
+ [id: string]: Annotation;
16
+ };
17
+ static generateRedactionEntities(redactions: Redaction[]): {
18
+ [id: string]: Redaction;
19
+ };
20
+ static resetCommentEntSelect(ent: {
21
+ [id: string]: Comment;
22
+ }): {};
23
+ static filterCommentsSummary(comments: Array<Comment>, filters: Filters): Comment[];
24
+ }
25
+ //# sourceMappingURL=store-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-utils.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/store/store-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gEAAgE,CAAC;AAE5F,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAO3E,qBAAa,UAAU;IAErB,MAAM,CAAC,kBAAkB,CAAC,WAAW,KAAA,EAAE,GAAG,KAAA,GAAG;QAAC,CAAC,EAAE,EAAE,MAAM,GAAG,GAAG,EAAE,CAAA;KAAC;IAKlE,MAAM,CAAC,wBAAwB,CAAC,WAAW,KAAA,GAAG;QAAC,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC;IAmBrE,MAAM,CAAC,kBAAkB,CAAC,WAAW,KAAA;IAcrC,MAAM,CAAC,UAAU,CAAC,KAAK,KAAA,EAAE,aAAa,KAAA;IAetC,MAAM,CAAC,0BAA0B,CAAC,IAAI,KAAA,GAAG;QAAC,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAAA;KAAC;IAcnE,MAAM,CAAC,yBAAyB,CAAC,UAAU,EAAE,SAAS,EAAE,GAAG;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;IAUtF,MAAM,CAAC,qBAAqB,CAAC,GAAG,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE;IAW3D,MAAM,CAAC,qBAAqB,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,OAAO;CAkDxE"}
@@ -0,0 +1,20 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ToolbarEventService } from '../toolbar-event.service';
3
+ import { ToolbarButtonVisibilityService } from '../toolbar-button-visibility.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class HighlightToolbarComponent implements OnInit, OnDestroy {
6
+ readonly toolbarEventService: ToolbarEventService;
7
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
8
+ private subscriptions;
9
+ redactionAllInProgress: boolean;
10
+ constructor(toolbarEventService: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService);
11
+ ngOnInit(): void;
12
+ onAllSearch(): void;
13
+ onHighlight(): void;
14
+ onClickDrawToggle(): void;
15
+ onClose(): void;
16
+ ngOnDestroy(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<HighlightToolbarComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<HighlightToolbarComponent, "mv-highlight-toolbar", never, {}, {}, never, never, false, never>;
19
+ }
20
+ //# sourceMappingURL=highlight-toolbar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlight-toolbar.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/toolbar/highlight-toolbar/highlight-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAA0B,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACvF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;;AAMtF,qBAKa,yBAA0B,YAAW,MAAM,EAAE,SAAS;aAKrC,mBAAmB,EAAE,mBAAmB;aAClD,cAAc,EAAE,8BAA8B;IAJhE,OAAO,CAAC,aAAa,CAAsB;IAC3C,sBAAsB,EAAE,OAAO,CAAC;gBAEJ,mBAAmB,EAAE,mBAAmB,EAClD,cAAc,EAAE,8BAA8B;IAEhE,QAAQ,IAAI,IAAI;IAMhB,WAAW;IAIX,WAAW;IAIX,iBAAiB;IAIjB,OAAO;IAMP,WAAW,IAAI,IAAI;yCAhCR,yBAAyB;2CAAzB,yBAAyB;CAsCrC"}
@@ -0,0 +1,21 @@
1
+ import { BehaviorSubject, Subject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class IcpEventService {
4
+ enabled: BehaviorSubject<boolean>;
5
+ sessionLaunch: Subject<void>;
6
+ becomingPresenter: Subject<void>;
7
+ stoppingPresenting: Subject<void>;
8
+ leavingSession: BehaviorSubject<boolean>;
9
+ sessionExitConfirmed: Subject<void>;
10
+ participantsListVisible: BehaviorSubject<boolean>;
11
+ constructor();
12
+ launchSession: () => void;
13
+ enable: () => void;
14
+ becomePresenter: () => void;
15
+ stopPresenting: () => void;
16
+ leaveSession: () => void;
17
+ confirmExit: () => void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<IcpEventService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<IcpEventService>;
20
+ }
21
+ //# sourceMappingURL=icp-event.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icp-event.service.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/toolbar/icp-event.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;;AAEhD,qBAGa,eAAe;IAE1B,OAAO,2BAA8B;IACrC,aAAa,gBAAuB;IACpC,iBAAiB,gBAAuB;IACxC,kBAAkB,gBAAuB;IACzC,cAAc,2BAA8B;IAC5C,oBAAoB,gBAAuB;IAC3C,uBAAuB,2BAA8B;;IAIrD,aAAa,aAEX;IAEF,MAAM,aAGJ;IAEF,eAAe,aAEb;IAEF,cAAc,aAEZ;IAEF,YAAY,aAEV;IAEF,WAAW,aAIT;yCArCS,eAAe;6CAAf,eAAe;CAsC3B"}
@@ -0,0 +1,24 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ToolbarEventService } from '../toolbar-event.service';
3
+ import { Store } from '@ngrx/store';
4
+ import { IcpState } from '../../icp/icp.interfaces';
5
+ import { IcpEventService } from '../icp-event.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class IcpToolbarComponent implements OnInit, OnDestroy {
8
+ readonly toolbarEventService: ToolbarEventService;
9
+ private store;
10
+ readonly icpEventService: IcpEventService;
11
+ presenterName: string;
12
+ isPresenter: boolean;
13
+ private $subscription;
14
+ constructor(toolbarEventService: ToolbarEventService, store: Store<IcpState>, icpEventService: IcpEventService);
15
+ ngOnInit(): void;
16
+ ngOnDestroy(): void;
17
+ present(): void;
18
+ stopPresenting(): void;
19
+ leaveIcpSession(): void;
20
+ showParticipantsList(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<IcpToolbarComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<IcpToolbarComponent, "mv-icp-toolbar", never, {}, {}, never, never, false, never>;
23
+ }
24
+ //# sourceMappingURL=icp-toolbar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icp-toolbar.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/toolbar/icp-toolbar/icp-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAG5C,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;;AAEvD,qBAIa,mBAAoB,YAAW,MAAM,EAAE,SAAS;aAO/B,mBAAmB,EAAE,mBAAmB;IACxD,OAAO,CAAC,KAAK;aACG,eAAe,EAAC,eAAe;IAP3D,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IAErB,OAAO,CAAC,aAAa,CAAe;gBAER,mBAAmB,EAAE,mBAAmB,EAChD,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,EACd,eAAe,EAAC,eAAe;IAE3D,QAAQ;IAOR,WAAW;IAIX,OAAO;IAIP,cAAc;IAId,eAAe;IAIf,oBAAoB;yCAlCT,mBAAmB;2CAAnB,mBAAmB;CAqC/B"}
@@ -0,0 +1,69 @@
1
+ import { ConnectionPositionPair } from '@angular/cdk/overlay';
2
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
3
+ import { ToolbarEventService } from '../toolbar-event.service';
4
+ import { ToolbarButtonVisibilityService } from '../toolbar-button-visibility.service';
5
+ import { NumberHelperService } from '../../../lib/shared/util/services/number.helper.service';
6
+ import { IcpEventService } from '../icp-event.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class MainToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
9
+ readonly toolbarEvents: ToolbarEventService;
10
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
11
+ private readonly cdr;
12
+ private readonly numberHelper;
13
+ private readonly icpEventService;
14
+ enableAnnotations: boolean;
15
+ enableRedactions: boolean;
16
+ enableICP: boolean;
17
+ contentType: any;
18
+ zoomSelect: ElementRef;
19
+ mvToolbarMain: ElementRef<HTMLElement>;
20
+ mvMenuItems: ElementRef<HTMLElement>;
21
+ private readonly subscriptions;
22
+ icpEnabled: boolean;
23
+ redactionEnabled: boolean;
24
+ showCommentsPanel: boolean;
25
+ redactAllInProgress: boolean;
26
+ pageNumber: number;
27
+ pageCount: number;
28
+ isDropdownMenuOpen: boolean;
29
+ isBookmarksOpen: boolean;
30
+ isIndexOpen: boolean;
31
+ isRedactOpen: boolean;
32
+ isCommentsOpen: boolean;
33
+ dropdownMenuPositions: ConnectionPositionPair[];
34
+ zoomScales: number[];
35
+ allButtonsWidth: number;
36
+ widthRequiredForBtn: {
37
+ [id: string]: number;
38
+ };
39
+ constructor(toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, cdr: ChangeDetectorRef, numberHelper: NumberHelperService, icpEventService: IcpEventService);
40
+ ngOnInit(): void;
41
+ ngOnDestroy(): void;
42
+ ngAfterViewInit(): void;
43
+ onResize(): void;
44
+ onControlPrint(event: KeyboardEvent): void;
45
+ onClickHighlightToggle(): void;
46
+ onClickDrawToggle(): void;
47
+ toggleIndexSideBar(): void;
48
+ onToolBarOffSetChange(buttonId: string): "button-hidden-on-toolbar" | "button-hidden-on-dropdown";
49
+ toggleBookmarksSideBar(): void;
50
+ togglePresentBar(): void;
51
+ increasePageNumber(): void;
52
+ decreasePageNumber(): void;
53
+ onPageNumberInputChange(pageNumber: string): void;
54
+ private setCurrentPage;
55
+ rotate(rotation: number): void;
56
+ printFile(): void;
57
+ downloadFile(): void;
58
+ zoom(zoomFactor: string): void;
59
+ stepZoom(zoomFactor: number): void;
60
+ toggleCommentsPanel(): void;
61
+ toggleRedactBar(): void;
62
+ toggleGrabNDrag(): void;
63
+ isPdf(): boolean;
64
+ toggleSearchBar(): void;
65
+ toggleMoreOptions(): void;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<MainToolbarComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<MainToolbarComponent, "mv-main-toolbar", never, { "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "enableICP": { "alias": "enableICP"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; }, {}, never, never, false, never>;
68
+ }
69
+ //# sourceMappingURL=main-toolbar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main-toolbar.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/toolbar/main-toolbar/main-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EACL,aAAa,EACb,iBAAiB,EAEjB,UAAU,EAGV,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;;AAGvD,qBAIa,oBAAqB,YAAW,MAAM,EAAE,SAAS,EAAE,aAAa;aA6C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O,CAAC,cAAc;IAIf,MAAM,CAAC,QAAQ,EAAE,MAAM;IAIvB,SAAS;IAIT,YAAY;IAIZ,IAAI,CAAC,UAAU,EAAE,MAAM;IAIvB,QAAQ,CAAC,UAAU,EAAE,MAAM;IAK3B,mBAAmB;IAKnB,eAAe;IAKf,eAAe;IAIf,KAAK;IAIL,eAAe;IAIf,iBAAiB;yCA9Mb,oBAAoB;2CAApB,oBAAoB;CAsNhC"}
@@ -0,0 +1,60 @@
1
+ import { SearchType } from './../toolbar-event.service';
2
+ import { RedactRectangle } from './redaction-search.model';
3
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
4
+ import { ToolbarButtonVisibilityService } from '../toolbar-button-visibility.service';
5
+ import { ToolbarEventService } from '../toolbar-event.service';
6
+ import { Store } from '@ngrx/store';
7
+ import * as fromStore from '../../store/reducers/reducers';
8
+ import { HighlightCreateService } from '../../annotations/annotation-set/annotation-create/highlight-create/highlight-create.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class RedactionSearchBarComponent implements OnInit, OnDestroy {
11
+ private store;
12
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
13
+ readonly toolbarEvents: ToolbarEventService;
14
+ readonly highlightService: HighlightCreateService;
15
+ findInput: ElementRef<HTMLInputElement>;
16
+ highlightAll: boolean;
17
+ matchCase: boolean;
18
+ wholeWord: boolean;
19
+ resultsText: string;
20
+ searchText: string;
21
+ resultCount: number;
22
+ redactElements: RedactRectangle[];
23
+ pageHeight: number;
24
+ pageWidth: number;
25
+ zoom: number;
26
+ rotate: number;
27
+ allPages: object;
28
+ redactAll: boolean;
29
+ openSearchModal: boolean;
30
+ redactAllInProgress: boolean;
31
+ redactAllText?: string;
32
+ searchType: SearchType;
33
+ inProgressText: string;
34
+ titleText: string;
35
+ private subscription;
36
+ private documentId;
37
+ advancedSearchVisible: boolean;
38
+ constructor(store: Store<fromStore.State>, toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
39
+ ngOnInit(): void;
40
+ ngOnDestroy(): void;
41
+ onWindowKeyDown(e: KeyboardEvent): void;
42
+ search(reset?: boolean): void;
43
+ modeText(): void;
44
+ private saveRedaction;
45
+ private existInRedactElements;
46
+ onCloseSearchModal(): void;
47
+ private setSearchResultsCount;
48
+ private redactAllSearched;
49
+ private redactAllSearchedTick;
50
+ private cleanUpPostSave;
51
+ private CreateRedactAllText;
52
+ onEscapeKeyPress(e: KeyboardEvent): void;
53
+ onEnterKeyPress(e: KeyboardEvent): void;
54
+ toggleSearchBar(): void;
55
+ private getRectangles;
56
+ private createTextRectangle;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedactionSearchBarComponent, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<RedactionSearchBarComponent, "mv-redaction-search-bar", never, {}, {}, never, never, false, never>;
59
+ }
60
+ //# sourceMappingURL=redaction-search-bar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redaction-search-bar.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/toolbar/redaction-search-bar/redaction-search-bar.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAkC,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxF,OAAO,EAAmB,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAa,UAAU,EAAgB,SAAS,EAAE,MAAM,EAAa,MAAM,eAAe,CAAC;AAElG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAU,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;AAK3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8FAA8F,CAAC;;AAItI,qBAKa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IA+BjE,OAAO,CAAC,KAAK;aACG,cAAc,EAAE,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mBAAmB;IAIpB,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAIxC,eAAe,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAIvC,eAAe;IAItB,OAAO,CAAC,aAAa;IA0CrB,OAAO,CAAC,mBAAmB;yCArPhB,2BAA2B;2CAA3B,2BAA2B;CAyQvC"}
@@ -0,0 +1,12 @@
1
+ import { Rectangle } from '../../annotations/annotation-set/annotation-view/rectangle/rectangle.model';
2
+ export interface RedactionSearch {
3
+ page?: number;
4
+ matchedIndex?: number;
5
+ matchesCount?: number;
6
+ }
7
+ export interface RedactRectangle {
8
+ page?: number;
9
+ matchedIndex?: number;
10
+ rectangles?: Rectangle[];
11
+ }
12
+ //# sourceMappingURL=redaction-search.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redaction-search.model.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/toolbar/redaction-search-bar/redaction-search.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,4EAA4E,CAAC;AAEvG,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;CAC1B"}
@@ -0,0 +1,30 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ToolbarEventService } from '../toolbar-event.service';
3
+ import { Store } from '@ngrx/store';
4
+ import * as fromStore from '../../store/reducers/reducers';
5
+ import { ToolbarButtonVisibilityService } from '../toolbar-button-visibility.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class RedactionToolbarComponent implements OnInit, OnDestroy {
8
+ readonly toolbarEventService: ToolbarEventService;
9
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
10
+ private store;
11
+ showRedactSearch: boolean;
12
+ preview: boolean;
13
+ hasRedactions: boolean;
14
+ private subscriptions;
15
+ redactionAllInProgress: boolean;
16
+ constructor(toolbarEventService: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, store: Store<fromStore.AnnotationSetState>);
17
+ ngOnInit(): void;
18
+ onRedactAllSearch(): void;
19
+ toggleTextRedactionMode(): void;
20
+ toggleDrawMode(): void;
21
+ togglePreview(): void;
22
+ unmarkAll(): void;
23
+ redact(): void;
24
+ toggleRedactBar(): void;
25
+ redactPage(): void;
26
+ ngOnDestroy(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedactionToolbarComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<RedactionToolbarComponent, "mv-redaction-toolbar", never, { "showRedactSearch": { "alias": "showRedactSearch"; "required": false; }; }, {}, never, never, false, never>;
29
+ }
30
+ //# sourceMappingURL=redaction-toolbar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redaction-toolbar.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/toolbar/redaction-toolbar/redaction-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAc,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;AAE3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;;AAGtF,qBAIa,yBAA0B,YAAW,MAAM,EAAE,SAAS;aAUrC,mBAAmB,EAAE,mBAAmB;aAClD,cAAc,EAAE,8BAA8B;IAC9D,OAAO,CAAC,KAAK;IAVN,gBAAgB,EAAE,OAAO,CAAC;IAEnC,OAAO,UAAS;IAChB,aAAa,UAAS;IAEtB,OAAO,CAAC,aAAa,CAAsB;IAC3C,sBAAsB,EAAE,OAAO,CAAC;gBAEJ,mBAAmB,EAAE,mBAAmB,EAClD,cAAc,EAAE,8BAA8B,EACtD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC;IAEpD,QAAQ,IAAI,IAAI;IAShB,iBAAiB;IAIjB,uBAAuB;IAIvB,cAAc;IAId,aAAa;IAKb,SAAS;IAIT,MAAM;IAIN,eAAe;IAIf,UAAU;IAKV,WAAW,IAAI,IAAI;yCAzDR,yBAAyB;2CAAzB,yBAAyB;CA8DrC"}
@@ -0,0 +1,34 @@
1
+ import { ElementRef, OnInit, OnDestroy, AfterViewInit } from '@angular/core';
2
+ import { ToolbarButtonVisibilityService } from '../toolbar-button-visibility.service';
3
+ import { ToolbarEventService } from '../toolbar-event.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SearchBarComponent implements OnInit, OnDestroy, AfterViewInit {
6
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
7
+ readonly toolbarEvents: ToolbarEventService;
8
+ findInput: ElementRef<HTMLInputElement>;
9
+ findNext: ElementRef<HTMLAnchorElement>;
10
+ highlightAll: boolean;
11
+ matchCase: boolean;
12
+ wholeWord: boolean;
13
+ resultsText: string;
14
+ searchText: string;
15
+ resultCount: number;
16
+ private subscriptions;
17
+ advancedSearchVisible: boolean;
18
+ constructor(toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService);
19
+ ngOnInit(): void;
20
+ ngAfterViewInit(): void;
21
+ ngOnDestroy(): void;
22
+ onWindowKeyDown(e: KeyboardEvent): void;
23
+ searchNext(): void;
24
+ searchPrev(): void;
25
+ search(): void;
26
+ private setSearchResultsCount;
27
+ onEscapeKeyPress(e: KeyboardEvent): void;
28
+ onEnterKeyPress(e: KeyboardEvent): void;
29
+ toggleAdvancedSearch(): void;
30
+ toggleSearchBar(): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "mv-search-bar", never, {}, {}, never, never, false, never>;
33
+ }
34
+ //# sourceMappingURL=search-bar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-bar.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/toolbar/search-bar/search-bar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAgB,MAAM,EAAa,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACjH,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAsB,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;;AAGnF,qBAIa,kBAAmB,YAAW,MAAM,EAAE,SAAS,EAAE,aAAa;aAiBvD,cAAc,EAAE,8BAA8B;aAC9C,aAAa,EAAE,mBAAmB;IAhBV,SAAS,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;IACxC,QAAQ,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAElF,YAAY,UAAQ;IACpB,SAAS,UAAS;IAClB,SAAS,UAAS;IAClB,WAAW,SAAM;IACjB,UAAU,SAAM;IAChB,WAAW,SAAK;IAEhB,OAAO,CAAC,aAAa,CAAsB;IAEpC,qBAAqB,UAAS;gBAGnB,cAAc,EAAE,8BAA8B,EAC9C,aAAa,EAAE,mBAAmB;IAG7C,QAAQ,IAAI,IAAI;IAMvB,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAOZ,eAAe,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IASvC,UAAU,IAAI,IAAI;IAWlB,UAAU,IAAI,IAAI;IAWlB,MAAM,IAAI,IAAI;IAWrB,OAAO,CAAC,qBAAqB;IAYtB,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAIxC,eAAe,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAKvC,oBAAoB,IAAI,IAAI;IAI5B,eAAe;yCAzGX,kBAAkB;2CAAlB,kBAAkB;CA4G9B"}
@@ -0,0 +1,67 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ToolbarButtonVisibilityService {
3
+ showPrint: boolean;
4
+ showDownload: boolean;
5
+ showNavigation: boolean;
6
+ showZoom: boolean;
7
+ showRotate: boolean;
8
+ showPresentationMode: boolean;
9
+ showRedact: boolean;
10
+ showOpenFile: boolean;
11
+ showBookmark: boolean;
12
+ showHighlightButton: boolean;
13
+ showDrawButton: boolean;
14
+ showSearchBar: boolean;
15
+ showSidebar: boolean;
16
+ showCommentSummary: boolean;
17
+ showGrabNDragButton: boolean;
18
+ showSaveRotationButton: boolean;
19
+ /**
20
+ * Reset the visibility of all buttons to false then set the value from the options
21
+ */
22
+ setup(options: Partial<ToolbarButtonVisibilityService>): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarButtonVisibilityService, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarButtonVisibilityService>;
25
+ }
26
+ /**
27
+ * Default toolbar state for the PDF viewer
28
+ */
29
+ export declare const defaultPdfOptions: {
30
+ showPrint: boolean;
31
+ showDownload: boolean;
32
+ showNavigation: boolean;
33
+ showZoom: boolean;
34
+ showRotate: boolean;
35
+ showSearchBar: boolean;
36
+ showSidebar: boolean;
37
+ showGrabNDragButton: boolean;
38
+ showCommentSummary: boolean;
39
+ showPresentationMode: boolean;
40
+ showRedact: boolean;
41
+ };
42
+ /**
43
+ * Default toolbar state for the image viewer
44
+ */
45
+ export declare const defaultImageOptions: {
46
+ showPrint: boolean;
47
+ showDownload: boolean;
48
+ showZoom: boolean;
49
+ showRotate: boolean;
50
+ showGrabNDragButton: boolean;
51
+ showCommentSummary: boolean;
52
+ showRedact: boolean;
53
+ };
54
+ /**
55
+ * Default toolbar state for multimedia
56
+ */
57
+ export declare const defaultMultimediaOptions: {
58
+ showDownload: boolean;
59
+ };
60
+ /**
61
+ * Default toolbar state for unsupported media
62
+ */
63
+ export declare const defaultUnsupportedOptions: {
64
+ showDownload: boolean;
65
+ showPrint: boolean;
66
+ };
67
+ //# sourceMappingURL=toolbar-button-visibility.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar-button-visibility.service.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/toolbar/toolbar-button-visibility.service.ts"],"names":[],"mappings":";AAGA,qBACa,8BAA8B;IAElC,SAAS,UAAS;IAClB,YAAY,UAAS;IACrB,cAAc,UAAS;IACvB,QAAQ,UAAS;IACjB,UAAU,UAAS;IACnB,oBAAoB,UAAS;IAC7B,UAAU,UAAS;IACnB,YAAY,UAAS;IACrB,YAAY,UAAS;IACrB,mBAAmB,UAAS;IAC5B,cAAc,UAAS;IACvB,aAAa,UAAS;IACtB,WAAW,UAAS;IACpB,kBAAkB,UAAS;IAC3B,mBAAmB,UAAS;IAC5B,sBAAsB,UAAS;IAEtC;;OAEG;IACI,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,8BAA8B,CAAC,GAAG,IAAI;yCAtBzD,8BAA8B;6CAA9B,8BAA8B;CA4C1C;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;CAY7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;CAQ/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;CAEpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;CAGrC,CAAC"}
@@ -0,0 +1,96 @@
1
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
2
+ import { RedactionSearch } from './redaction-search-bar/redaction-search.model';
3
+ import { IcpEventService } from './icp-event.service';
4
+ import * as i0 from "@angular/core";
5
+ export type HighlightMode = boolean;
6
+ export type DrawMode = boolean;
7
+ export interface SearchOperation {
8
+ searchTerm: string;
9
+ highlightAll: boolean;
10
+ matchCase: boolean;
11
+ wholeWord: boolean;
12
+ previous: boolean;
13
+ reset: boolean;
14
+ }
15
+ export interface SearchResultsCount {
16
+ current: number;
17
+ total: number;
18
+ isPrevious: boolean;
19
+ }
20
+ export declare enum SearchType {
21
+ Redact = "Redact",
22
+ Highlight = "Highlight"
23
+ }
24
+ export interface SearchMode {
25
+ modeType: SearchType;
26
+ isOpen: boolean;
27
+ }
28
+ export declare class ToolbarEventService {
29
+ private icpEventService;
30
+ constructor(icpEventService: IcpEventService);
31
+ readonly highlightModeSubject: BehaviorSubject<boolean>;
32
+ readonly highlightToolbarSubject: BehaviorSubject<boolean>;
33
+ readonly drawModeSubject: BehaviorSubject<boolean>;
34
+ readonly rotateSubject: Subject<number>;
35
+ readonly searchSubject: Subject<SearchOperation>;
36
+ readonly searchResultsCountSubject: Subject<SearchResultsCount>;
37
+ readonly zoomSubject: Subject<number>;
38
+ readonly stepZoomSubject: Subject<number>;
39
+ readonly zoomValueSubject: BehaviorSubject<number>;
40
+ readonly pageCountSubject: Subject<number>;
41
+ readonly printSubject: Subject<void>;
42
+ readonly downloadSubject: Subject<void>;
43
+ readonly setCurrentPageSubject: Subject<number>;
44
+ readonly setCurrentPageInputValueSubject: Subject<number>;
45
+ readonly changePageByDeltaSubject: Subject<number>;
46
+ readonly showCommentSummary: BehaviorSubject<boolean>;
47
+ readonly grabNDrag: BehaviorSubject<boolean>;
48
+ readonly saveRotationSubject: Subject<void>;
49
+ readonly redactionMode: BehaviorSubject<boolean>;
50
+ readonly redactionPreview: Subject<boolean>;
51
+ readonly applyRedactToDocument: Subject<void>;
52
+ readonly clearAllRedactMarkers: Subject<void>;
53
+ readonly redactWholePage: Subject<void>;
54
+ readonly redactionSerachSubject: Subject<RedactionSearch>;
55
+ readonly redactAllInProgressSubject: BehaviorSubject<boolean>;
56
+ readonly openRedactionSearch: BehaviorSubject<SearchMode>;
57
+ readonly sidebarOpen: BehaviorSubject<boolean>;
58
+ readonly sidebarOutlineView: BehaviorSubject<boolean>;
59
+ readonly searchBarHidden: BehaviorSubject<boolean>;
60
+ readonly commentsPanelVisible: BehaviorSubject<boolean>;
61
+ /**
62
+ * Reset the stateful behaviour subjects
63
+ */
64
+ reset(): void;
65
+ toggleHighlightMode(): void;
66
+ toggleDrawMode(): void;
67
+ toggleHighlightToolbar(): void;
68
+ rotate(angle: number): void;
69
+ search(phrase: SearchOperation): void;
70
+ getSearchResultsCount(): Observable<SearchResultsCount>;
71
+ zoom(value: number): void;
72
+ stepZoom(value: number): void;
73
+ getZoomValue(): Observable<number>;
74
+ getPageCount(): Observable<number>;
75
+ print(): void;
76
+ download(): void;
77
+ setPage(value: number): void;
78
+ incrementPage(value: number): void;
79
+ getCurrentPageNumber(): Observable<number>;
80
+ getShowCommentSummary(): Observable<boolean>;
81
+ toggleCommentsSummary(value: boolean): void;
82
+ saveRotation(): void;
83
+ toggleGrabNDrag(): void;
84
+ toggleSideBar(toggle: boolean): void;
85
+ toggleSideBarView(toggle: boolean): void;
86
+ toggleRedactionMode(): void;
87
+ toggleRedactionPreview(viewMode: boolean): void;
88
+ unmarkAll(): void;
89
+ applyRedactionToDocument(): void;
90
+ redactPage(): void;
91
+ toggleCommentsPanel(isVisible: boolean): void;
92
+ toggleParticipantsList(isVisible: boolean): void;
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarEventService, never>;
94
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarEventService>;
95
+ }
96
+ //# sourceMappingURL=toolbar-event.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar-event.service.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/toolbar/toolbar-event.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AAGtD,MAAM,MAAM,aAAa,GAAG,OAAO,CAA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