@hmcts/media-viewer 4.1.10 → 4.2.0

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 (370) hide show
  1. package/fesm2022/hmcts-media-viewer.mjs +297 -285
  2. package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
  3. package/index.d.ts +2316 -4
  4. package/index.d.ts.map +1 -0
  5. package/package.json +10 -12
  6. package/esm2022/hmcts-media-viewer.mjs +0 -5
  7. package/esm2022/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.mjs +0 -122
  8. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.mjs +0 -120
  9. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.mjs +0 -101
  10. package/esm2022/lib/annotations/annotation-set/annotation-set.component.mjs +0 -50
  11. package/esm2022/lib/annotations/annotation-set/annotation-set.model.mjs +0 -2
  12. package/esm2022/lib/annotations/annotation-set/annotation-view/annotation-view.component.mjs +0 -94
  13. package/esm2022/lib/annotations/annotation-set/annotation-view/annotation.model.mjs +0 -2
  14. package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.mjs +0 -116
  15. package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.mjs +0 -2
  16. package/esm2022/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.mjs +0 -119
  17. package/esm2022/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.mjs +0 -86
  18. package/esm2022/lib/annotations/annotations.module.mjs +0 -162
  19. package/esm2022/lib/annotations/comment-set/comment/comment.component.mjs +0 -178
  20. package/esm2022/lib/annotations/comment-set/comment/comment.model.mjs +0 -2
  21. package/esm2022/lib/annotations/comment-set/comment/comment.service.mjs +0 -50
  22. package/esm2022/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.mjs +0 -47
  23. package/esm2022/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.mjs +0 -31
  24. package/esm2022/lib/annotations/comment-set/comment-navigate/comments-navigate.component.mjs +0 -91
  25. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.mjs +0 -62
  26. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.mjs +0 -54
  27. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-set-header.component.mjs +0 -72
  28. package/esm2022/lib/annotations/comment-set/comment-set-render.service.mjs +0 -55
  29. package/esm2022/lib/annotations/comment-set/comment-set.component.mjs +0 -123
  30. package/esm2022/lib/annotations/comments-summary/comments-summary.component.mjs +0 -120
  31. package/esm2022/lib/annotations/models/api-persisted.model.mjs +0 -2
  32. package/esm2022/lib/annotations/models/event-select.model.mjs +0 -2
  33. package/esm2022/lib/annotations/models/tags.model.mjs +0 -2
  34. package/esm2022/lib/annotations/models/user.model.mjs +0 -2
  35. package/esm2022/lib/annotations/pipes/date/date.pipe.mjs +0 -26
  36. package/esm2022/lib/annotations/pipes/filter/filter.pipe.mjs +0 -32
  37. package/esm2022/lib/annotations/pipes/unsnake/unsnake.pipe.mjs +0 -16
  38. package/esm2022/lib/annotations/services/annotation-api/annotation-api.service.mjs +0 -58
  39. package/esm2022/lib/annotations/services/bookmarks-api/bookmarks-api.service.mjs +0 -45
  40. package/esm2022/lib/annotations/services/tags/tags.services.mjs +0 -41
  41. package/esm2022/lib/annotations/tags/tags.component.mjs +0 -53
  42. package/esm2022/lib/bookmark/components/bookmark-icons.component.mjs +0 -25
  43. package/esm2022/lib/icp/confirm-exit/confirm-action-dialog.component.mjs +0 -30
  44. package/esm2022/lib/icp/icp-follower.service.mjs +0 -65
  45. package/esm2022/lib/icp/icp-presenter.service.mjs +0 -56
  46. package/esm2022/lib/icp/icp-session-api.service.mjs +0 -28
  47. package/esm2022/lib/icp/icp-update.service.mjs +0 -73
  48. package/esm2022/lib/icp/icp.events.mjs +0 -15
  49. package/esm2022/lib/icp/icp.interfaces.mjs +0 -2
  50. package/esm2022/lib/icp/icp.service.mjs +0 -98
  51. package/esm2022/lib/icp/participants-list/participants-list.component.mjs +0 -32
  52. package/esm2022/lib/icp/socket.service.mjs +0 -128
  53. package/esm2022/lib/media-viewer.component.mjs +0 -247
  54. package/esm2022/lib/media-viewer.module.mjs +0 -139
  55. package/esm2022/lib/print.service.mjs +0 -32
  56. package/esm2022/lib/redaction/components/redaction.component.mjs +0 -91
  57. package/esm2022/lib/redaction/services/redaction-api.service.mjs +0 -50
  58. package/esm2022/lib/redaction/services/redaction.model.mjs +0 -2
  59. package/esm2022/lib/shared/directives/tooltip-dismiss.directive.mjs +0 -36
  60. package/esm2022/lib/shared/gov-uk-date/gov-uk-date.component.mjs +0 -28
  61. package/esm2022/lib/shared/gov-uk-error-message/gov-uk-error-message.component.mjs +0 -34
  62. package/esm2022/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.mjs +0 -63
  63. package/esm2022/lib/shared/gov-uk-label/gov-uk-label.component.mjs +0 -44
  64. package/esm2022/lib/shared/shared.module.mjs +0 -53
  65. package/esm2022/lib/shared/util/helpers/html-templates.helper.mjs +0 -29
  66. package/esm2022/lib/shared/util/services/number.helper.service.mjs +0 -23
  67. package/esm2022/lib/store/actions/annotation.actions.mjs +0 -119
  68. package/esm2022/lib/store/actions/bookmark.actions.mjs +0 -112
  69. package/esm2022/lib/store/actions/document.actions.mjs +0 -91
  70. package/esm2022/lib/store/actions/icp.actions.mjs +0 -56
  71. package/esm2022/lib/store/actions/redaction.actions.mjs +0 -132
  72. package/esm2022/lib/store/actions/tag.actions.mjs +0 -21
  73. package/esm2022/lib/store/bookmarks-store-utils.mjs +0 -49
  74. package/esm2022/lib/store/effects/annotation.effects.mjs +0 -51
  75. package/esm2022/lib/store/effects/bookmarks.effects.mjs +0 -44
  76. package/esm2022/lib/store/effects/document.effects.mjs +0 -44
  77. package/esm2022/lib/store/effects/icp.effects.mjs +0 -26
  78. package/esm2022/lib/store/effects/index.mjs +0 -7
  79. package/esm2022/lib/store/effects/redaction.effects.mjs +0 -67
  80. package/esm2022/lib/store/models/bookmarks.interface.mjs +0 -2
  81. package/esm2022/lib/store/models/filters.interface.mjs +0 -2
  82. package/esm2022/lib/store/reducers/annotations.reducer.mjs +0 -208
  83. package/esm2022/lib/store/reducers/bookmarks.reducer.mjs +0 -125
  84. package/esm2022/lib/store/reducers/document.reducer.mjs +0 -158
  85. package/esm2022/lib/store/reducers/icp.reducer.mjs +0 -56
  86. package/esm2022/lib/store/reducers/redaction.reducer.mjs +0 -116
  87. package/esm2022/lib/store/reducers/reducers.mjs +0 -23
  88. package/esm2022/lib/store/reducers/tags.reducer.mjs +0 -93
  89. package/esm2022/lib/store/selectors/annotation.selectors.mjs +0 -81
  90. package/esm2022/lib/store/selectors/bookmark.selectors.mjs +0 -37
  91. package/esm2022/lib/store/selectors/document.selectors.mjs +0 -13
  92. package/esm2022/lib/store/selectors/icp.selectors.mjs +0 -13
  93. package/esm2022/lib/store/selectors/redaction.selectors.mjs +0 -26
  94. package/esm2022/lib/store/selectors/tag.selectors.mjs +0 -15
  95. package/esm2022/lib/store/store-utils.mjs +0 -131
  96. package/esm2022/lib/toolbar/highlight-toolbar/highlight-toolbar.component.mjs +0 -46
  97. package/esm2022/lib/toolbar/icp-event.service.mjs +0 -44
  98. package/esm2022/lib/toolbar/icp-toolbar/icp-toolbar.component.mjs +0 -43
  99. package/esm2022/lib/toolbar/main-toolbar/main-toolbar.component.mjs +0 -207
  100. package/esm2022/lib/toolbar/redaction-search-bar/redaction-search-bar.component.mjs +0 -237
  101. package/esm2022/lib/toolbar/redaction-search-bar/redaction-search.model.mjs +0 -2
  102. package/esm2022/lib/toolbar/redaction-toolbar/redaction-toolbar.component.mjs +0 -69
  103. package/esm2022/lib/toolbar/search-bar/search-bar.component.mjs +0 -109
  104. package/esm2022/lib/toolbar/toolbar-button-visibility.service.mjs +0 -94
  105. package/esm2022/lib/toolbar/toolbar-event.service.mjs +0 -178
  106. package/esm2022/lib/toolbar/toolbar.module.mjs +0 -75
  107. package/esm2022/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.mjs +0 -82
  108. package/esm2022/lib/viewers/convertible-content-viewer/document-conversion-api.service.mjs +0 -22
  109. package/esm2022/lib/viewers/grab-n-drag.directive.mjs +0 -57
  110. package/esm2022/lib/viewers/image-viewer/image-viewer.component.mjs +0 -166
  111. package/esm2022/lib/viewers/multimedia-player/multimedia-player.component.mjs +0 -59
  112. package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.mjs +0 -266
  113. package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.mjs +0 -40
  114. package/esm2022/lib/viewers/pdf-viewer/pdf-viewer.component.mjs +0 -242
  115. package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.mjs +0 -379
  116. package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.mjs +0 -2
  117. package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.mjs +0 -49
  118. package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.mjs +0 -2
  119. package/esm2022/lib/viewers/pdf-viewer/side-bar/side-bar.component.mjs +0 -99
  120. package/esm2022/lib/viewers/rotation-persist/rotation-api.service.mjs +0 -27
  121. package/esm2022/lib/viewers/rotation-persist/rotation-persist.directive.mjs +0 -61
  122. package/esm2022/lib/viewers/rotation-persist/rotation.model.mjs +0 -2
  123. package/esm2022/lib/viewers/unsupported-viewer/unsupported-viewer.component.mjs +0 -49
  124. package/esm2022/lib/viewers/viewer-event.service.mjs +0 -34
  125. package/esm2022/lib/viewers/viewer-exception.model.mjs +0 -13
  126. package/esm2022/lib/viewers/viewer-util.service.mjs +0 -20
  127. package/esm2022/public_api.mjs +0 -33
  128. package/hmcts-media-viewer.d.ts.map +0 -1
  129. package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts +0 -48
  130. package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts.map +0 -1
  131. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts +0 -32
  132. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts.map +0 -1
  133. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts +0 -18
  134. package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts.map +0 -1
  135. package/lib/annotations/annotation-set/annotation-set.component.d.ts +0 -27
  136. package/lib/annotations/annotation-set/annotation-set.component.d.ts.map +0 -1
  137. package/lib/annotations/annotation-set/annotation-set.model.d.ts +0 -7
  138. package/lib/annotations/annotation-set/annotation-set.model.d.ts.map +0 -1
  139. package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts +0 -34
  140. package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts.map +0 -1
  141. package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts +0 -16
  142. package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts.map +0 -1
  143. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts +0 -41
  144. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts.map +0 -1
  145. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts +0 -9
  146. package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts.map +0 -1
  147. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts +0 -37
  148. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts.map +0 -1
  149. package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts +0 -37
  150. package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts.map +0 -1
  151. package/lib/annotations/annotations.module.d.ts +0 -36
  152. package/lib/annotations/annotations.module.d.ts.map +0 -1
  153. package/lib/annotations/comment-set/comment/comment.component.d.ts +0 -69
  154. package/lib/annotations/comment-set/comment/comment.component.d.ts.map +0 -1
  155. package/lib/annotations/comment-set/comment/comment.model.d.ts +0 -13
  156. package/lib/annotations/comment-set/comment/comment.model.d.ts.map +0 -1
  157. package/lib/annotations/comment-set/comment/comment.service.d.ts +0 -22
  158. package/lib/annotations/comment-set/comment/comment.service.d.ts.map +0 -1
  159. package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts +0 -14
  160. package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts.map +0 -1
  161. package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts +0 -12
  162. package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts.map +0 -1
  163. package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts +0 -28
  164. package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts.map +0 -1
  165. package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts +0 -26
  166. package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts.map +0 -1
  167. package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.d.ts +0 -21
  168. package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.d.ts.map +0 -1
  169. package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts +0 -36
  170. package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts.map +0 -1
  171. package/lib/annotations/comment-set/comment-set-render.service.d.ts +0 -15
  172. package/lib/annotations/comment-set/comment-set-render.service.d.ts.map +0 -1
  173. package/lib/annotations/comment-set/comment-set.component.d.ts +0 -56
  174. package/lib/annotations/comment-set/comment-set.component.d.ts.map +0 -1
  175. package/lib/annotations/comments-summary/comments-summary.component.d.ts +0 -42
  176. package/lib/annotations/comments-summary/comments-summary.component.d.ts.map +0 -1
  177. package/lib/annotations/models/api-persisted.model.d.ts +0 -11
  178. package/lib/annotations/models/api-persisted.model.d.ts.map +0 -1
  179. package/lib/annotations/models/event-select.model.d.ts +0 -6
  180. package/lib/annotations/models/event-select.model.d.ts.map +0 -1
  181. package/lib/annotations/models/tags.model.d.ts +0 -7
  182. package/lib/annotations/models/tags.model.d.ts.map +0 -1
  183. package/lib/annotations/models/user.model.d.ts +0 -6
  184. package/lib/annotations/models/user.model.d.ts.map +0 -1
  185. package/lib/annotations/pipes/date/date.pipe.d.ts +0 -16
  186. package/lib/annotations/pipes/date/date.pipe.d.ts.map +0 -1
  187. package/lib/annotations/pipes/filter/filter.pipe.d.ts +0 -8
  188. package/lib/annotations/pipes/filter/filter.pipe.d.ts.map +0 -1
  189. package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts +0 -8
  190. package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts.map +0 -1
  191. package/lib/annotations/services/annotation-api/annotation-api.service.d.ts +0 -28
  192. package/lib/annotations/services/annotation-api/annotation-api.service.d.ts.map +0 -1
  193. package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts +0 -21
  194. package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts.map +0 -1
  195. package/lib/annotations/services/tags/tags.services.d.ts +0 -18
  196. package/lib/annotations/services/tags/tags.services.d.ts.map +0 -1
  197. package/lib/annotations/tags/tags.component.d.ts +0 -28
  198. package/lib/annotations/tags/tags.component.d.ts.map +0 -1
  199. package/lib/bookmark/components/bookmark-icons.component.d.ts +0 -19
  200. package/lib/bookmark/components/bookmark-icons.component.d.ts.map +0 -1
  201. package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts +0 -14
  202. package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts.map +0 -1
  203. package/lib/icp/icp-follower.service.d.ts +0 -26
  204. package/lib/icp/icp-follower.service.d.ts.map +0 -1
  205. package/lib/icp/icp-presenter.service.d.ts +0 -25
  206. package/lib/icp/icp-presenter.service.d.ts.map +0 -1
  207. package/lib/icp/icp-session-api.service.d.ts +0 -15
  208. package/lib/icp/icp-session-api.service.d.ts.map +0 -1
  209. package/lib/icp/icp-update.service.d.ts +0 -22
  210. package/lib/icp/icp-update.service.d.ts.map +0 -1
  211. package/lib/icp/icp.events.d.ts +0 -14
  212. package/lib/icp/icp.events.d.ts.map +0 -1
  213. package/lib/icp/icp.interfaces.d.ts +0 -23
  214. package/lib/icp/icp.interfaces.d.ts.map +0 -1
  215. package/lib/icp/icp.service.d.ts +0 -40
  216. package/lib/icp/icp.service.d.ts.map +0 -1
  217. package/lib/icp/participants-list/participants-list.component.d.ts +0 -23
  218. package/lib/icp/participants-list/participants-list.component.d.ts.map +0 -1
  219. package/lib/icp/socket.service.d.ts +0 -29
  220. package/lib/icp/socket.service.d.ts.map +0 -1
  221. package/lib/media-viewer.component.d.ts +0 -72
  222. package/lib/media-viewer.component.d.ts.map +0 -1
  223. package/lib/media-viewer.module.d.ts +0 -36
  224. package/lib/media-viewer.module.d.ts.map +0 -1
  225. package/lib/print.service.d.ts +0 -8
  226. package/lib/print.service.d.ts.map +0 -1
  227. package/lib/redaction/components/redaction.component.d.ts +0 -42
  228. package/lib/redaction/components/redaction.component.d.ts.map +0 -1
  229. package/lib/redaction/services/redaction-api.service.d.ts +0 -20
  230. package/lib/redaction/services/redaction-api.service.d.ts.map +0 -1
  231. package/lib/redaction/services/redaction.model.d.ts +0 -11
  232. package/lib/redaction/services/redaction.model.d.ts.map +0 -1
  233. package/lib/shared/directives/tooltip-dismiss.directive.d.ts +0 -11
  234. package/lib/shared/directives/tooltip-dismiss.directive.d.ts.map +0 -1
  235. package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts +0 -15
  236. package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts.map +0 -1
  237. package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts +0 -11
  238. package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts.map +0 -1
  239. package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +0 -16
  240. package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts.map +0 -1
  241. package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts +0 -14
  242. package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts.map +0 -1
  243. package/lib/shared/shared.module.d.ts +0 -14
  244. package/lib/shared/shared.module.d.ts.map +0 -1
  245. package/lib/shared/util/helpers/html-templates.helper.d.ts +0 -9
  246. package/lib/shared/util/helpers/html-templates.helper.d.ts.map +0 -1
  247. package/lib/shared/util/services/number.helper.service.d.ts +0 -11
  248. package/lib/shared/util/services/number.helper.service.d.ts.map +0 -1
  249. package/lib/store/actions/annotation.actions.d.ts +0 -126
  250. package/lib/store/actions/annotation.actions.d.ts.map +0 -1
  251. package/lib/store/actions/bookmark.actions.d.ts +0 -117
  252. package/lib/store/actions/bookmark.actions.d.ts.map +0 -1
  253. package/lib/store/actions/document.actions.d.ts +0 -90
  254. package/lib/store/actions/document.actions.d.ts.map +0 -1
  255. package/lib/store/actions/icp.actions.d.ts +0 -75
  256. package/lib/store/actions/icp.actions.d.ts.map +0 -1
  257. package/lib/store/actions/redaction.actions.d.ts +0 -127
  258. package/lib/store/actions/redaction.actions.d.ts.map +0 -1
  259. package/lib/store/actions/tag.actions.d.ts +0 -30
  260. package/lib/store/actions/tag.actions.d.ts.map +0 -1
  261. package/lib/store/bookmarks-store-utils.d.ts +0 -9
  262. package/lib/store/bookmarks-store-utils.d.ts.map +0 -1
  263. package/lib/store/effects/annotation.effects.d.ts +0 -16
  264. package/lib/store/effects/annotation.effects.d.ts.map +0 -1
  265. package/lib/store/effects/bookmarks.effects.d.ts +0 -21
  266. package/lib/store/effects/bookmarks.effects.d.ts.map +0 -1
  267. package/lib/store/effects/document.effects.d.ts +0 -17
  268. package/lib/store/effects/document.effects.d.ts.map +0 -1
  269. package/lib/store/effects/icp.effects.d.ts +0 -16
  270. package/lib/store/effects/icp.effects.d.ts.map +0 -1
  271. package/lib/store/effects/index.d.ts +0 -2
  272. package/lib/store/effects/index.d.ts.map +0 -1
  273. package/lib/store/effects/redaction.effects.d.ts +0 -20
  274. package/lib/store/effects/redaction.effects.d.ts.map +0 -1
  275. package/lib/store/models/bookmarks.interface.d.ts +0 -31
  276. package/lib/store/models/bookmarks.interface.d.ts.map +0 -1
  277. package/lib/store/models/filters.interface.d.ts +0 -8
  278. package/lib/store/models/filters.interface.d.ts.map +0 -1
  279. package/lib/store/reducers/annotations.reducer.d.ts +0 -48
  280. package/lib/store/reducers/annotations.reducer.d.ts.map +0 -1
  281. package/lib/store/reducers/bookmarks.reducer.d.ts +0 -27
  282. package/lib/store/reducers/bookmarks.reducer.d.ts.map +0 -1
  283. package/lib/store/reducers/document.reducer.d.ts +0 -52
  284. package/lib/store/reducers/document.reducer.d.ts.map +0 -1
  285. package/lib/store/reducers/icp.reducer.d.ts +0 -9
  286. package/lib/store/reducers/icp.reducer.d.ts.map +0 -1
  287. package/lib/store/reducers/redaction.reducer.d.ts +0 -32
  288. package/lib/store/reducers/redaction.reducer.d.ts.map +0 -1
  289. package/lib/store/reducers/reducers.d.ts +0 -24
  290. package/lib/store/reducers/reducers.d.ts.map +0 -1
  291. package/lib/store/reducers/tags.reducer.d.ts +0 -32
  292. package/lib/store/reducers/tags.reducer.d.ts.map +0 -1
  293. package/lib/store/selectors/annotation.selectors.d.ts +0 -136
  294. package/lib/store/selectors/annotation.selectors.d.ts.map +0 -1
  295. package/lib/store/selectors/bookmark.selectors.d.ts +0 -38
  296. package/lib/store/selectors/bookmark.selectors.d.ts.map +0 -1
  297. package/lib/store/selectors/document.selectors.d.ts +0 -23
  298. package/lib/store/selectors/document.selectors.d.ts.map +0 -1
  299. package/lib/store/selectors/icp.selectors.d.ts +0 -10
  300. package/lib/store/selectors/icp.selectors.d.ts.map +0 -1
  301. package/lib/store/selectors/redaction.selectors.d.ts +0 -35
  302. package/lib/store/selectors/redaction.selectors.d.ts.map +0 -1
  303. package/lib/store/selectors/tag.selectors.d.ts +0 -28
  304. package/lib/store/selectors/tag.selectors.d.ts.map +0 -1
  305. package/lib/store/store-utils.d.ts +0 -25
  306. package/lib/store/store-utils.d.ts.map +0 -1
  307. package/lib/toolbar/highlight-toolbar/highlight-toolbar.component.d.ts +0 -20
  308. package/lib/toolbar/highlight-toolbar/highlight-toolbar.component.d.ts.map +0 -1
  309. package/lib/toolbar/icp-event.service.d.ts +0 -21
  310. package/lib/toolbar/icp-event.service.d.ts.map +0 -1
  311. package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts +0 -24
  312. package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts.map +0 -1
  313. package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts +0 -69
  314. package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts.map +0 -1
  315. package/lib/toolbar/redaction-search-bar/redaction-search-bar.component.d.ts +0 -60
  316. package/lib/toolbar/redaction-search-bar/redaction-search-bar.component.d.ts.map +0 -1
  317. package/lib/toolbar/redaction-search-bar/redaction-search.model.d.ts +0 -12
  318. package/lib/toolbar/redaction-search-bar/redaction-search.model.d.ts.map +0 -1
  319. package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts +0 -30
  320. package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts.map +0 -1
  321. package/lib/toolbar/search-bar/search-bar.component.d.ts +0 -34
  322. package/lib/toolbar/search-bar/search-bar.component.d.ts.map +0 -1
  323. package/lib/toolbar/toolbar-button-visibility.service.d.ts +0 -67
  324. package/lib/toolbar/toolbar-button-visibility.service.d.ts.map +0 -1
  325. package/lib/toolbar/toolbar-event.service.d.ts +0 -96
  326. package/lib/toolbar/toolbar-event.service.d.ts.map +0 -1
  327. package/lib/toolbar/toolbar.module.d.ts +0 -20
  328. package/lib/toolbar/toolbar.module.d.ts.map +0 -1
  329. package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts +0 -31
  330. package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts.map +0 -1
  331. package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts +0 -12
  332. package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts.map +0 -1
  333. package/lib/viewers/grab-n-drag.directive.d.ts +0 -19
  334. package/lib/viewers/grab-n-drag.directive.d.ts.map +0 -1
  335. package/lib/viewers/image-viewer/image-viewer.component.d.ts +0 -57
  336. package/lib/viewers/image-viewer/image-viewer.component.d.ts.map +0 -1
  337. package/lib/viewers/multimedia-player/multimedia-player.component.d.ts +0 -25
  338. package/lib/viewers/multimedia-player/multimedia-player.component.d.ts.map +0 -1
  339. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts +0 -69
  340. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts.map +0 -1
  341. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts +0 -17
  342. package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts.map +0 -1
  343. package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts +0 -82
  344. package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts.map +0 -1
  345. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts +0 -82
  346. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts.map +0 -1
  347. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts +0 -22
  348. package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts.map +0 -1
  349. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts +0 -20
  350. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts.map +0 -1
  351. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.d.ts +0 -14
  352. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.d.ts.map +0 -1
  353. package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts +0 -42
  354. package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts.map +0 -1
  355. package/lib/viewers/rotation-persist/rotation-api.service.d.ts +0 -14
  356. package/lib/viewers/rotation-persist/rotation-api.service.d.ts.map +0 -1
  357. package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts +0 -27
  358. package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts.map +0 -1
  359. package/lib/viewers/rotation-persist/rotation.model.d.ts +0 -5
  360. package/lib/viewers/rotation-persist/rotation.model.d.ts.map +0 -1
  361. package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts +0 -23
  362. package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts.map +0 -1
  363. package/lib/viewers/viewer-event.service.d.ts +0 -23
  364. package/lib/viewers/viewer-event.service.d.ts.map +0 -1
  365. package/lib/viewers/viewer-exception.model.d.ts +0 -15
  366. package/lib/viewers/viewer-exception.model.d.ts.map +0 -1
  367. package/lib/viewers/viewer-util.service.d.ts +0 -10
  368. package/lib/viewers/viewer-util.service.d.ts.map +0 -1
  369. package/public_api.d.ts +0 -30
  370. package/public_api.d.ts.map +0 -1
package/index.d.ts CHANGED
@@ -1,6 +1,2318 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ElementRef, OnDestroy, AfterContentInit, OnChanges, EventEmitter, SimpleChanges, OnInit, QueryList, AfterViewChecked, ChangeDetectorRef, AfterViewInit, AfterContentChecked, PipeTransform } from '@angular/core';
3
+ import * as rxjs from 'rxjs';
4
+ import { BehaviorSubject, Subject, Observable, Subscription } from 'rxjs';
5
+ import * as _ngrx_store from '@ngrx/store';
6
+ import { Action, Store } from '@ngrx/store';
7
+ import { PDFViewer, DownloadManager } from 'pdfjs-dist/web/pdf_viewer.mjs';
8
+ import { ArrayDataSource, SelectionModel } from '@angular/cdk/collections';
9
+ import * as i27$1 from '@angular/cdk/tree';
10
+ import { FlatTreeControl } from '@angular/cdk/tree';
11
+ import * as i28 from '@angular/cdk/drag-drop';
12
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
13
+ import * as i23 from '@angular/common/http';
14
+ import { HttpClient } from '@angular/common/http';
15
+ import * as i5 from '@angular/common';
16
+ import { DatePipe } from '@angular/common';
17
+ import * as i10 from '@angular/cdk/overlay';
18
+ import { ConnectionPositionPair } from '@angular/cdk/overlay';
19
+ import * as i22 from '@angular/forms';
20
+ import { FormGroup, FormBuilder, UntypedFormControl, UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
21
+ import * as i11 from '@angular/router';
22
+ import * as i29 from 'rpx-xui-translation';
23
+ import * as i20 from '@angular/cdk/a11y';
24
+ import * as i24 from 'mutable-div';
25
+ import * as i25 from 'ngx-chips';
26
+ import * as i27 from '@swimlane/ngx-datatable';
27
+ import * as _ngrx_effects from '@ngrx/effects';
28
+ import { Actions } from '@ngrx/effects';
29
+
30
+ interface Outline {
31
+ bold: boolean;
32
+ color: Uint8ClampedArray;
33
+ count: number | undefined;
34
+ dest: string | Array<any> | null;
35
+ italic: boolean;
36
+ items: Outline[];
37
+ newWindow: boolean | undefined;
38
+ pageNumber?: number;
39
+ title: string;
40
+ unsafeUrl: string | undefined;
41
+ url: string | null;
42
+ }
43
+
44
+ interface User {
45
+ forename: string;
46
+ surname: string;
47
+ email: string;
48
+ }
49
+
50
+ interface ApiPersisted {
51
+ id: string;
52
+ createdBy: string;
53
+ createdByDetails: User;
54
+ createdDate: string;
55
+ lastModifiedBy: string;
56
+ lastModifiedByDetails: User;
57
+ lastModifiedDate: string;
58
+ }
59
+
60
+ interface Rectangle extends ApiPersisted {
61
+ annotationId: string;
62
+ height: number;
63
+ width: number;
64
+ x: number;
65
+ y: number;
66
+ }
67
+
68
+ interface RedactionSearch {
69
+ page?: number;
70
+ matchedIndex?: number;
71
+ matchesCount?: number;
72
+ }
73
+ interface RedactRectangle {
74
+ page?: number;
75
+ matchedIndex?: number;
76
+ rectangles?: Rectangle[];
77
+ }
78
+
79
+ declare class IcpEventService {
80
+ enabled: BehaviorSubject<boolean>;
81
+ sessionLaunch: Subject<void>;
82
+ becomingPresenter: Subject<void>;
83
+ stoppingPresenting: Subject<void>;
84
+ leavingSession: BehaviorSubject<boolean>;
85
+ sessionExitConfirmed: Subject<void>;
86
+ participantsListVisible: BehaviorSubject<boolean>;
87
+ constructor();
88
+ launchSession: () => void;
89
+ enable: () => void;
90
+ becomePresenter: () => void;
91
+ stopPresenting: () => void;
92
+ leaveSession: () => void;
93
+ confirmExit: () => void;
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<IcpEventService, never>;
95
+ static ɵprov: i0.ɵɵInjectableDeclaration<IcpEventService>;
96
+ }
97
+
98
+ interface SearchOperation {
99
+ searchTerm: string;
100
+ highlightAll: boolean;
101
+ matchCase: boolean;
102
+ wholeWord: boolean;
103
+ previous: boolean;
104
+ reset: boolean;
105
+ }
106
+ interface SearchResultsCount {
107
+ current: number;
108
+ total: number;
109
+ isPrevious: boolean;
110
+ }
111
+ declare enum SearchType {
112
+ Redact = "Redact",
113
+ Highlight = "Highlight"
114
+ }
115
+ interface SearchMode {
116
+ modeType: SearchType;
117
+ isOpen: boolean;
118
+ }
119
+ declare class ToolbarEventService {
120
+ private icpEventService;
121
+ constructor(icpEventService: IcpEventService);
122
+ readonly highlightModeSubject: BehaviorSubject<boolean>;
123
+ readonly highlightToolbarSubject: BehaviorSubject<boolean>;
124
+ readonly drawModeSubject: BehaviorSubject<boolean>;
125
+ readonly rotateSubject: Subject<number>;
126
+ readonly searchSubject: Subject<SearchOperation>;
127
+ readonly searchResultsCountSubject: Subject<SearchResultsCount>;
128
+ readonly zoomSubject: Subject<number>;
129
+ readonly stepZoomSubject: Subject<number>;
130
+ readonly zoomValueSubject: BehaviorSubject<number>;
131
+ readonly pageCountSubject: Subject<number>;
132
+ readonly printSubject: Subject<void>;
133
+ readonly downloadSubject: Subject<void>;
134
+ readonly setCurrentPageSubject: Subject<number>;
135
+ readonly setCurrentPageInputValueSubject: Subject<number>;
136
+ readonly changePageByDeltaSubject: Subject<number>;
137
+ readonly showCommentSummary: BehaviorSubject<boolean>;
138
+ readonly grabNDrag: BehaviorSubject<boolean>;
139
+ readonly saveRotationSubject: Subject<void>;
140
+ readonly redactionMode: BehaviorSubject<boolean>;
141
+ readonly redactionPreview: Subject<boolean>;
142
+ readonly applyRedactToDocument: Subject<void>;
143
+ readonly clearAllRedactMarkers: Subject<void>;
144
+ readonly redactWholePage: Subject<void>;
145
+ readonly redactionSerachSubject: Subject<RedactionSearch>;
146
+ readonly redactAllInProgressSubject: BehaviorSubject<boolean>;
147
+ readonly openRedactionSearch: BehaviorSubject<SearchMode>;
148
+ readonly sidebarOpen: BehaviorSubject<boolean>;
149
+ readonly sidebarOutlineView: BehaviorSubject<boolean>;
150
+ readonly searchBarHidden: BehaviorSubject<boolean>;
151
+ readonly commentsPanelVisible: BehaviorSubject<boolean>;
152
+ /**
153
+ * Reset the stateful behaviour subjects
154
+ */
155
+ reset(): void;
156
+ toggleHighlightMode(): void;
157
+ toggleDrawMode(): void;
158
+ toggleHighlightToolbar(): void;
159
+ rotate(angle: number): void;
160
+ search(phrase: SearchOperation): void;
161
+ getSearchResultsCount(): Observable<SearchResultsCount>;
162
+ zoom(value: number): void;
163
+ stepZoom(value: number): void;
164
+ getZoomValue(): Observable<number>;
165
+ getPageCount(): Observable<number>;
166
+ print(): void;
167
+ download(): void;
168
+ setPage(value: number): void;
169
+ incrementPage(value: number): void;
170
+ getCurrentPageNumber(): Observable<number>;
171
+ getShowCommentSummary(): Observable<boolean>;
172
+ toggleCommentsSummary(value: boolean): void;
173
+ saveRotation(): void;
174
+ toggleGrabNDrag(): void;
175
+ toggleSideBar(toggle: boolean): void;
176
+ toggleSideBarView(toggle: boolean): void;
177
+ toggleRedactionMode(): void;
178
+ toggleRedactionPreview(viewMode: boolean): void;
179
+ unmarkAll(): void;
180
+ applyRedactionToDocument(): void;
181
+ redactPage(): void;
182
+ toggleCommentsPanel(isVisible: boolean): void;
183
+ toggleParticipantsList(isVisible: boolean): void;
184
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarEventService, never>;
185
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarEventService>;
186
+ }
187
+
188
+ interface DocumentState {
189
+ convertedDocument: {
190
+ url: string;
191
+ error: string;
192
+ };
193
+ documentId: string;
194
+ pdfPosition: PdfPosition;
195
+ pages: {
196
+ [id: string]: DocumentPages;
197
+ };
198
+ hasDifferentPageSize: boolean;
199
+ rotation: number;
200
+ rotationLoaded: boolean;
201
+ loaded: boolean;
202
+ loading: boolean;
203
+ }
204
+ interface DocumentPages {
205
+ numberOfPages: number;
206
+ styles: {
207
+ left: number;
208
+ height: number;
209
+ width: number;
210
+ };
211
+ scaleRotation: {
212
+ scale: string;
213
+ rotation: string;
214
+ };
215
+ viewportScale: number;
216
+ }
217
+ interface PdfPosition {
218
+ pageNumber: number;
219
+ scale: number;
220
+ top: number;
221
+ left: number;
222
+ rotation: number;
223
+ }
224
+
225
+ declare class PdfJsWrapper {
226
+ private readonly pdfViewer;
227
+ private readonly downloadManager;
228
+ private readonly toolbarEvents;
229
+ readonly documentLoadInit: Subject<string>;
230
+ readonly documentLoadProgress: Subject<DocumentLoadProgress>;
231
+ readonly documentLoaded: Subject<any>;
232
+ readonly outlineLoaded: Subject<Outline[]>;
233
+ readonly documentLoadFailed: Subject<Error>;
234
+ readonly pageRendered: Subject<PageEvent[]>;
235
+ readonly positionUpdated: Subject<{
236
+ location: PdfPosition;
237
+ }>;
238
+ private zoomValue;
239
+ private documentTitle;
240
+ private documentOutline;
241
+ redactionPages: {
242
+ start: number;
243
+ end: number;
244
+ }[];
245
+ 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<{
246
+ location: PdfPosition;
247
+ }>);
248
+ sendSearchDetails(event: any): void;
249
+ drawMissingPages(e: any): void;
250
+ onRedactionModeChanged(redactionMode: boolean): void;
251
+ private emitDocumentInfo;
252
+ loadDocument(documentUrl: string): Promise<void>;
253
+ private createLoadingTask;
254
+ private setOutlinePageNumbers;
255
+ private setNestedOutlinePageNumbers;
256
+ private getOutlinePageNumber;
257
+ downloadFile(url: string, filename: string): void;
258
+ setPageNumber(pageNumber: number): void;
259
+ getPageNumber(): number;
260
+ changePageNumber(numPages: number): void;
261
+ search(operation: SearchOperation): void;
262
+ clearSearch(): void;
263
+ navigateTo(destination: string | any[]): void;
264
+ nativeNavigate(destination: string | any[]): void;
265
+ setZoom(zoomValue: number): void;
266
+ stepZoom(zoomValue: number): void;
267
+ private getZoomValue;
268
+ rotate(rotation: number): number;
269
+ resetRotation(rotation: number): number;
270
+ getNormalisedPagesRotation(): number;
271
+ getCurrentPDFZoomValue(): number;
272
+ setCurrentPDFTitle(title: string): void;
273
+ getCurrentPDFTitle(): string;
274
+ }
275
+ interface DocumentLoadProgress {
276
+ loaded: number;
277
+ total: number;
278
+ }
279
+ interface PageEvent {
280
+ div: object;
281
+ scale: number;
282
+ rotation: number;
283
+ id: string;
284
+ viewportScale: number;
285
+ }
286
+
287
+ declare class PdfJsWrapperFactory {
288
+ private readonly toolbarEvents;
289
+ private linkService;
290
+ private eventBus;
291
+ private pdfJsWrapper;
292
+ constructor(toolbarEvents: ToolbarEventService);
293
+ create(container: ElementRef): PdfJsWrapper;
294
+ pdfWrapper(): PdfJsWrapper;
295
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdfJsWrapperFactory, never>;
296
+ static ɵprov: i0.ɵɵInjectableDeclaration<PdfJsWrapperFactory>;
297
+ }
298
+
299
+ interface TagsModel {
300
+ name: string;
301
+ label: string;
302
+ color?: string;
303
+ id?: string;
304
+ }
305
+
306
+ interface Comment extends ApiPersisted {
307
+ annotationId: string;
308
+ content: string;
309
+ tags: TagsModel[];
310
+ page: number;
311
+ pages: object;
312
+ pageHeight: number;
313
+ selected: boolean;
314
+ editable: boolean;
315
+ }
316
+
317
+ interface Annotation extends ApiPersisted {
318
+ annotationSetId?: string;
319
+ annotationId?: string;
320
+ page?: number;
321
+ color?: string;
322
+ comments?: Comment[];
323
+ rectangles?: Rectangle[];
324
+ type?: string;
325
+ tags: TagsModel[];
326
+ redactionId?: string;
327
+ }
328
+
329
+ interface AnnotationSet extends ApiPersisted {
330
+ documentId: string;
331
+ annotations: Annotation[];
332
+ }
333
+
334
+ declare class PrintService {
335
+ printDocumentNatively(url: string): void;
336
+ printElementNatively(element: HTMLElement, width: number, height: number): void;
337
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrintService, never>;
338
+ static ɵprov: i0.ɵɵInjectableDeclaration<PrintService>;
339
+ }
340
+
341
+ declare enum ResponseType {
342
+ SUCCESS = "SUCCESS",
343
+ FAILURE = "FAILURE",
344
+ UNSUPPORTED = "UNSUPPORTED"
345
+ }
346
+ interface ExceptionDetail {
347
+ httpResponseCode?: string;
348
+ message?: string;
349
+ }
350
+ declare class ViewerException {
351
+ exceptionType?: string;
352
+ detail?: ExceptionDetail;
353
+ constructor(exceptionType?: string, detail?: ExceptionDetail);
354
+ }
355
+
356
+ declare class ToolbarButtonVisibilityService {
357
+ showPrint: boolean;
358
+ showDownload: boolean;
359
+ showNavigation: boolean;
360
+ showZoom: boolean;
361
+ showRotate: boolean;
362
+ showPresentationMode: boolean;
363
+ showRedact: boolean;
364
+ showOpenFile: boolean;
365
+ showBookmark: boolean;
366
+ showHighlightButton: boolean;
367
+ showDrawButton: boolean;
368
+ showSearchBar: boolean;
369
+ showSidebar: boolean;
370
+ showCommentSummary: boolean;
371
+ showGrabNDragButton: boolean;
372
+ showSaveRotationButton: boolean;
373
+ /**
374
+ * Reset the visibility of all buttons to false then set the value from the options
375
+ */
376
+ setup(options: Partial<ToolbarButtonVisibilityService>): void;
377
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarButtonVisibilityService, never>;
378
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarButtonVisibilityService>;
379
+ }
380
+
381
+ interface SelectionAnnotation {
382
+ annotationId: string;
383
+ editable: boolean;
384
+ selected: boolean;
385
+ }
386
+
387
+ interface Filters {
388
+ tagFilters?: {
389
+ [key: string]: any;
390
+ };
391
+ dateRangeFrom?: number | null;
392
+ dateRangeTo?: number | null;
393
+ }
394
+
395
+ declare const LOAD_ANNOTATION_SET = "[Annotations] Load Annotation Set";
396
+ declare const LOAD_ANNOTATION_SET_SUCCESS = "[Annotations] Load Annotation Set Success";
397
+ declare const LOAD_ANNOTATION_SET_FAIL = "[Annotations] Load Annotation Set Fail";
398
+ declare const SAVE_ANNOTATION_SET = "[Annotations] Save Annotation Set";
399
+ declare const SAVE_ANNOTATION_SET_SUCCESS = "[Annotations] Save Annotation Set Success";
400
+ declare const SAVE_ANNOTATION_SET_FAIL = "[Annotations] Save Annotation Set Fail";
401
+ declare const SAVE_ANNOTATION = "[Annotations] Save Annotation";
402
+ declare const SAVE_ANNOTATION_SUCCESS = "[Annotations] Save Annotation Success";
403
+ declare const SAVE_ANNOTATION_FAIL = "[Annotations] Save Annotation Fail";
404
+ declare const ADD_OR_EDIT_COMMENT = "[Annotations] Add or Edit Comment";
405
+ declare const DELETE_ANNOTATION = "[Annotations] Delete Annotation";
406
+ declare const DELETE_ANNOTATION_SUCCESS = "[Annotations] Delete Annotation Success";
407
+ declare const DELETE_ANNOTATION_FAIL = "[Annotations] Delete Annotation Fail";
408
+ declare const SELECT_ANNOTATION = "[Annotations] Select Annotation";
409
+ declare const SEARCH_COMMENT = "[Comments] Search Comments";
410
+ declare const APPLY_COMMENT_SUMMARY_FILTER = "[Comments] Apply Comment Summary Filter";
411
+ declare const CLEAR_COMMENT_SUMMARY_FILTER = "[Comments] Clear Comment Summary Filter";
412
+ declare class LoadAnnotationSet implements Action {
413
+ payload: string;
414
+ readonly type = "[Annotations] Load Annotation Set";
415
+ constructor(payload: string);
416
+ }
417
+ declare class SaveAnnotationSet implements Action {
418
+ payload: AnnotationSet;
419
+ readonly type = "[Annotations] Save Annotation Set";
420
+ constructor(payload: AnnotationSet);
421
+ }
422
+ declare class LoadAnnotationSetSucess implements Action {
423
+ payload: {
424
+ status: number;
425
+ body: AnnotationSet;
426
+ };
427
+ readonly type = "[Annotations] Load Annotation Set Success";
428
+ constructor(payload: {
429
+ status: number;
430
+ body: AnnotationSet;
431
+ });
432
+ }
433
+ declare class SaveAnnotationSetSuccess implements Action {
434
+ payload: AnnotationSet;
435
+ readonly type = "[Annotations] Save Annotation Set Success";
436
+ constructor(payload: AnnotationSet);
437
+ }
438
+ declare class LoadAnnotationSetFail implements Action {
439
+ payload: {
440
+ status: number;
441
+ body: any;
442
+ };
443
+ readonly type = "[Annotations] Load Annotation Set Fail";
444
+ constructor(payload: {
445
+ status: number;
446
+ body: any;
447
+ });
448
+ }
449
+ declare class SaveAnnotationSetFail implements Action {
450
+ payload: {
451
+ status: number;
452
+ body: any;
453
+ };
454
+ readonly type = "[Annotations] Save Annotation Set Fail";
455
+ constructor(payload: {
456
+ status: number;
457
+ body: any;
458
+ });
459
+ }
460
+ declare class SaveAnnotation implements Action {
461
+ payload: Annotation;
462
+ readonly type = "[Annotations] Save Annotation";
463
+ constructor(payload: Annotation);
464
+ }
465
+ declare class SaveAnnotationSuccess implements Action {
466
+ payload: any;
467
+ readonly type = "[Annotations] Save Annotation Success";
468
+ constructor(payload: any);
469
+ }
470
+ declare class SaveAnnotationFail implements Action {
471
+ payload: Error;
472
+ readonly type = "[Annotations] Save Annotation Fail";
473
+ constructor(payload: Error);
474
+ }
475
+ declare class AddOrEditComment implements Action {
476
+ payload: Comment;
477
+ readonly type = "[Annotations] Add or Edit Comment";
478
+ constructor(payload: Comment);
479
+ }
480
+ declare class DeleteAnnotation implements Action {
481
+ payload: string;
482
+ readonly type = "[Annotations] Delete Annotation";
483
+ constructor(payload: string);
484
+ }
485
+ declare class DeleteAnnotationSuccess implements Action {
486
+ payload: string;
487
+ readonly type = "[Annotations] Delete Annotation Success";
488
+ constructor(payload: string);
489
+ }
490
+ declare class DeleteAnnotationFail implements Action {
491
+ payload: Error;
492
+ readonly type = "[Annotations] Delete Annotation Fail";
493
+ constructor(payload: Error);
494
+ }
495
+ declare class SelectedAnnotation implements Action {
496
+ payload: SelectionAnnotation;
497
+ readonly type = "[Annotations] Select Annotation";
498
+ constructor(payload: SelectionAnnotation);
499
+ }
500
+ declare class SearchComment implements Action {
501
+ payload: string;
502
+ readonly type = "[Comments] Search Comments";
503
+ constructor(payload: string);
504
+ }
505
+ declare class ApplyCommentSymmaryFilter implements Action {
506
+ payload: Filters;
507
+ readonly type = "[Comments] Apply Comment Summary Filter";
508
+ constructor(payload: Filters);
509
+ }
510
+ declare class ClearCommentSummaryFilters implements Action {
511
+ readonly type = "[Comments] Clear Comment Summary Filter";
512
+ }
513
+ type AnnotationsActions = LoadAnnotationSet | LoadAnnotationSetSucess | LoadAnnotationSetFail | SaveAnnotation | SaveAnnotationSuccess | SaveAnnotationFail | SaveAnnotationSetSuccess | AddOrEditComment | DeleteAnnotation | DeleteAnnotationSuccess | DeleteAnnotationFail | SelectedAnnotation | SearchComment | ApplyCommentSymmaryFilter | ClearCommentSummaryFilters;
514
+
515
+ interface AnnotationSetState {
516
+ annotationSet: any;
517
+ annotationEntities: {
518
+ [id: string]: any;
519
+ };
520
+ annotationPageEntities: {
521
+ [id: string]: Annotation[];
522
+ };
523
+ commentEntities: {
524
+ [id: string]: Comment;
525
+ };
526
+ selectedAnnotation: SelectionAnnotation;
527
+ commentSearchQueries: {
528
+ commentSearch: string;
529
+ };
530
+ commentSummaryFilters: {
531
+ hasFilter: boolean;
532
+ filters: Filters;
533
+ };
534
+ loaded: boolean;
535
+ loading: boolean;
536
+ }
537
+ declare const initialState: AnnotationSetState;
538
+ declare function reducer(state: AnnotationSetState, action: AnnotationsActions): AnnotationSetState;
539
+ declare const getAnnoSet: (state: AnnotationSetState) => any;
540
+ declare const getCommentEnts: (state: AnnotationSetState) => {
541
+ [id: string]: Comment;
542
+ };
543
+ declare const getAnnoPageEnt: (state: AnnotationSetState) => {
544
+ [id: string]: Annotation[];
545
+ };
546
+ declare const getAnnoEnt: (state: AnnotationSetState) => {
547
+ [id: string]: any;
548
+ };
549
+ declare const getSelectedAnno: (state: AnnotationSetState) => SelectionAnnotation;
550
+ declare const commentSearchQ: (state: AnnotationSetState) => {
551
+ commentSearch: string;
552
+ };
553
+ declare const getSummaryFilters: (state: AnnotationSetState) => {
554
+ hasFilter: boolean;
555
+ filters: Filters;
556
+ };
557
+
558
+ interface TagsState {
559
+ tagNameEnt: {
560
+ [id: string]: string[];
561
+ };
562
+ filteredComments: {
563
+ [id: string]: string[];
564
+ };
565
+ filteredPageEntities: {
566
+ [id: string]: Annotation[];
567
+ };
568
+ annotations: Annotation[];
569
+ formFilterState: {
570
+ [id: string]: boolean;
571
+ };
572
+ filters: string[];
573
+ }
574
+
575
+ interface Bookmark$1 {
576
+ id: string;
577
+ documentId: string;
578
+ name: string;
579
+ pageNumber: number;
580
+ xCoordinate: number;
581
+ yCoordinate: number;
582
+ children: any[];
583
+ previous: string;
584
+ index: number;
585
+ }
586
+ interface BookmarksPerPage {
587
+ bookmark: {
588
+ [id: string]: Bookmark$1;
589
+ };
590
+ styles: {
591
+ left: number;
592
+ height: number;
593
+ width: number;
594
+ };
595
+ }
596
+
597
+ interface BookmarksState {
598
+ bookmarks: Bookmark$1[];
599
+ bookmarkEntities: {
600
+ [id: string]: Bookmark$1;
601
+ };
602
+ bookmarkPageEntities: {
603
+ [id: string]: any;
604
+ };
605
+ editableBookmark: string;
606
+ loaded: boolean;
607
+ loading: boolean;
608
+ scrollTop?: number;
609
+ }
610
+
611
+ interface Redaction {
612
+ redactionId?: string;
613
+ documentId?: string;
614
+ page?: number;
615
+ rectangles?: Rectangle[];
616
+ }
617
+
618
+ interface RedactionState {
619
+ redactionEntities: {
620
+ [id: string]: Redaction;
621
+ };
622
+ redactionPageEntities: {
623
+ [id: string]: any;
624
+ };
625
+ selectedRedaction: SelectionAnnotation | {};
626
+ redactedDocumentInfo: {
627
+ blob: Blob;
628
+ filename: string;
629
+ };
630
+ documentId: string;
631
+ }
632
+
633
+ interface IcpState {
634
+ session: IcpSession;
635
+ presenter: IcpParticipant;
636
+ client: IcpParticipant;
637
+ participants: IcpParticipant[];
638
+ }
639
+ interface IcpSession {
640
+ sessionId: string;
641
+ documentId: string;
642
+ caseId: string;
643
+ dateOfHearing: Date;
644
+ connectionUrl: string;
645
+ }
646
+ interface IcpParticipant {
647
+ id: string;
648
+ username: string;
649
+ }
650
+ interface IcpScreenUpdate {
651
+ pdfPosition: PdfPosition;
652
+ document: string;
653
+ }
654
+
655
+ interface State {
656
+ document: DocumentState;
657
+ annotations: AnnotationSetState;
658
+ tags: TagsState;
659
+ bookmarks: BookmarksState;
660
+ redactions: RedactionState;
661
+ icp: IcpState;
662
+ }
663
+
664
+ interface Highlight {
665
+ page: number;
666
+ rectangles: Rectangle[];
667
+ }
668
+ declare class ViewerEventService {
669
+ readonly textHighlight: Subject<Highlight>;
670
+ readonly boxHighlight: Subject<Highlight>;
671
+ readonly ctxToolbarCleared: Subject<void>;
672
+ readonly navigationEvent: Subject<any[]>;
673
+ readonly navigationEventICP: Subject<any[]>;
674
+ constructor();
675
+ textSelected(selectionData: Highlight): void;
676
+ boxSelected(selectionData: Highlight): void;
677
+ clearCtxToolbar(): void;
678
+ goToDestination(destination: any[]): void;
679
+ goToDestinationICP(destination: any[]): void;
680
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewerEventService, never>;
681
+ static ɵprov: i0.ɵɵInjectableDeclaration<ViewerEventService>;
682
+ }
683
+
684
+ declare enum IcpEvents {
685
+ SESSION_JOINED = "IcpClientJoinedSession",
686
+ CLIENT_DISCONNECTED = "IcpClientDisconnectedFromSession",
687
+ NEW_PARTICIPANT_JOINED = "IcpNewParticipantJoinedSession",
688
+ REMOVE_PARTICIPANT = "IcpRemoveParticipantFromList",
689
+ PARTICIPANTS_UPDATED = "IcpParticipantsListUpdated",
690
+ UPDATE_PRESENTER = "IcpNewPresenterStartsPresenting",
691
+ PRESENTER_UPDATED = "IcpPresenterUpdated",
692
+ UPDATE_SCREEN = "IcpUpdateScreen",
693
+ SCREEN_UPDATED = "IcpScreenUpdated",
694
+ SESSION_JOIN = "IcpClientJoinSession",
695
+ SESSION_LEAVE = "IcpClientLeaveSession"
696
+ }
697
+
698
+ declare class SocketService implements OnDestroy {
699
+ private socket;
700
+ subscription: Subscription;
701
+ connected$: BehaviorSubject<boolean>;
702
+ sessionJoined$: Subject<void>;
703
+ presenterUpdated$: Subject<void>;
704
+ clientDisconnected$: Subject<void>;
705
+ participantUpdated$: Subject<void>;
706
+ newParticipantJoined$: Subject<void>;
707
+ screenUpdated$: Subject<void>;
708
+ constructor();
709
+ ngOnDestroy(): void;
710
+ connect(url: string, session: IcpSession): void;
711
+ connected(): Observable<boolean>;
712
+ join(session: any): void;
713
+ leave(session: any): void;
714
+ emit(event: string, data: any): void;
715
+ listen(event: IcpEvents): Observable<any>;
716
+ messageEventHandller(eventName: string, data: any): void;
717
+ getSocketClient(url: string): Observable<WebSocket>;
718
+ static ɵfac: i0.ɵɵFactoryDeclaration<SocketService, never>;
719
+ static ɵprov: i0.ɵɵInjectableDeclaration<SocketService>;
720
+ }
721
+
722
+ declare class IcpUpdateService {
723
+ private socket;
724
+ session: IcpSession;
725
+ constructor(socket: SocketService);
726
+ private joinSessionSubscription;
727
+ joinSession(username: string, session: IcpSession, token: string): rxjs.Observable<any>;
728
+ leaveSession(): void;
729
+ newParticipantJoined(): rxjs.Observable<any>;
730
+ clientDisconnected(): rxjs.Observable<any>;
731
+ removeParticipant(participantId: any): void;
732
+ participantListUpdated(): rxjs.Observable<any>;
733
+ updatePresenter(presenter: IcpParticipant): void;
734
+ presenterUpdated(): rxjs.Observable<any>;
735
+ updateScreen(screen: IcpScreenUpdate): void;
736
+ screenUpdated(): rxjs.Observable<any>;
737
+ static ɵfac: i0.ɵɵFactoryDeclaration<IcpUpdateService, never>;
738
+ static ɵprov: i0.ɵɵInjectableDeclaration<IcpUpdateService>;
739
+ }
740
+
741
+ declare class IcpPresenterService {
742
+ private readonly toolbarEvents;
743
+ private readonly socketService;
744
+ private store;
745
+ session: IcpSession;
746
+ presenter: IcpParticipant;
747
+ pdfPosition: PdfPosition;
748
+ $subscription: Subscription;
749
+ constructor(toolbarEvents: ToolbarEventService, socketService: IcpUpdateService, store: Store<IcpState>);
750
+ update(isPresenter: boolean): void;
751
+ subscribe(): void;
752
+ unsubscribe(): void;
753
+ onPositionUpdate(pdfPosition: PdfPosition): void;
754
+ onNewParticipantJoined(): void;
755
+ static ɵfac: i0.ɵɵFactoryDeclaration<IcpPresenterService, never>;
756
+ static ɵprov: i0.ɵɵInjectableDeclaration<IcpPresenterService>;
757
+ }
758
+
759
+ declare class IcpFollowerService {
760
+ private readonly toolbarEvents;
761
+ private readonly viewerEvents;
762
+ private readonly socketService;
763
+ private store;
764
+ session: IcpSession;
765
+ private previousRotation;
766
+ $subscription: Subscription;
767
+ constructor(toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, socketService: IcpUpdateService, store: Store<IcpState>);
768
+ update(isFollower: boolean): void;
769
+ subscribe(): void;
770
+ unsubscribe(): void;
771
+ followScreenUpdate({ pdfPosition }: {
772
+ pdfPosition: any;
773
+ }): void;
774
+ static ɵfac: i0.ɵɵFactoryDeclaration<IcpFollowerService, never>;
775
+ static ɵprov: i0.ɵɵInjectableDeclaration<IcpFollowerService>;
776
+ }
777
+
778
+ declare class IcpService implements OnDestroy {
779
+ private readonly toolbarEvents;
780
+ private readonly viewerEvents;
781
+ private readonly socketService;
782
+ private readonly presenterSubscriptions;
783
+ private readonly followerSubscriptions;
784
+ private store;
785
+ private readonly icpEventService;
786
+ caseId: string;
787
+ client: IcpParticipant;
788
+ presenter: IcpParticipant;
789
+ isPresenter: boolean;
790
+ documentId: string;
791
+ subscription: Subscription;
792
+ sessionSubscription: Subscription;
793
+ constructor(toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, socketService: IcpUpdateService, presenterSubscriptions: IcpPresenterService, followerSubscriptions: IcpFollowerService, store: Store<IcpState>, icpEventService: IcpEventService);
794
+ ngOnDestroy(): void;
795
+ launchSession(): void;
796
+ setUpSessionSubscriptions(): void;
797
+ unsubscribeSession(): void;
798
+ leavePresentation(): void;
799
+ stopPresenting(): void;
800
+ becomePresenter(): void;
801
+ clientDisconnected(client: any): void;
802
+ removeParticipant(participantId: any): void;
803
+ static ɵfac: i0.ɵɵFactoryDeclaration<IcpService, never>;
804
+ static ɵprov: i0.ɵɵInjectableDeclaration<IcpService>;
805
+ }
806
+
807
+ declare class PdfViewerComponent implements AfterContentInit, OnChanges, OnDestroy {
808
+ private store;
809
+ private icpStore;
810
+ private readonly pdfJsWrapperFactory;
811
+ private readonly printService;
812
+ readonly toolbarEvents: ToolbarEventService;
813
+ private readonly viewerEvents;
814
+ private icpService;
815
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
816
+ private readonly icpEventService;
817
+ mediaLoadStatus: EventEmitter<ResponseType>;
818
+ pdfViewerException: EventEmitter<ViewerException>;
819
+ documentTitle: EventEmitter<string>;
820
+ downloadUrl: string;
821
+ url: string;
822
+ downloadFileName: string;
823
+ enableAnnotations: boolean;
824
+ enableRedactions: boolean;
825
+ enableICP: boolean;
826
+ annotationSet: AnnotationSet | null;
827
+ enableRedactSearch: AnnotationSet | null;
828
+ height: string;
829
+ pageHeights: any[];
830
+ rotation: number;
831
+ zoom: number;
832
+ caseId: string;
833
+ highlightMode: Observable<boolean>;
834
+ drawMode: BehaviorSubject<boolean>;
835
+ documentOutline: Outline[];
836
+ loadingDocument: boolean;
837
+ loadingDocumentProgress: number;
838
+ errorMessage: string;
839
+ hasDifferentPageSize: boolean;
840
+ viewerContainer: ElementRef<HTMLDivElement>;
841
+ pdfViewer: ElementRef<HTMLDivElement>;
842
+ private pdfWrapper;
843
+ private $subscription;
844
+ private viewerException;
845
+ showCommentsPanel: boolean;
846
+ showIcpParticipantsList: boolean;
847
+ enableGrabNDrag: boolean;
848
+ constructor(store: Store<AnnotationSetState>, icpStore: Store<IcpState>, pdfJsWrapperFactory: PdfJsWrapperFactory, printService: PrintService, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, icpService: IcpService, toolbarButtons: ToolbarButtonVisibilityService, icpEventService: IcpEventService);
849
+ ngAfterContentInit(): Promise<void>;
850
+ ngOnChanges(changes: SimpleChanges): Promise<void>;
851
+ resetRotation(): void;
852
+ ngOnDestroy(): void;
853
+ private loadDocument;
854
+ private onDocumentLoadProgress;
855
+ private onDocumentLoaded;
856
+ private onDocumentLoadFailed;
857
+ private updatePages;
858
+ set searchBarHidden(hidden: boolean);
859
+ toggleCommentsSummary(): void;
860
+ private rotateDocument;
861
+ private initDocumentProgress;
862
+ private setZoom;
863
+ private stepZoom;
864
+ setPageHeights(): void;
865
+ calculateZoomValue(zoomValue: any, increment?: number): number;
866
+ private goToDestination;
867
+ private goToDestinationICP;
868
+ getCurrentPageNumber(): number;
869
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerComponent, never>;
870
+ 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>;
871
+ }
872
+
873
+ interface Bookmark {
874
+ id: string;
875
+ documentId: string;
876
+ name: string;
877
+ pageNumber: number;
878
+ xCoordinate: number;
879
+ yCoordinate: number;
880
+ zoom: number;
881
+ parent: string;
882
+ previous: string;
883
+ children: Bookmark[];
884
+ index: number;
885
+ }
886
+ interface BookmarkNode {
887
+ id: string;
888
+ name: string;
889
+ children: string[];
890
+ }
891
+
892
+ declare class BookmarksComponent implements OnInit, OnDestroy, OnChanges {
893
+ private store;
894
+ set bookmarkNodes(value: Bookmark[]);
895
+ get bookmarkNodes(): Bookmark[];
896
+ zoom: number;
897
+ rotate: number;
898
+ parentScrollTop: number;
899
+ goToDestination: EventEmitter<any[]>;
900
+ treeHasChanged: EventEmitter<boolean>;
901
+ private _bookmarkNodes;
902
+ datasource: ArrayDataSource<Bookmark>;
903
+ treeControl: FlatTreeControl<Bookmark>;
904
+ hoveredNode: Bookmark;
905
+ hoverHtmlElement: HTMLElement;
906
+ expansionModel: SelectionModel<Bookmark>;
907
+ isDraggingOn: boolean;
908
+ isUserdragging: boolean;
909
+ expandTimeout: any;
910
+ expandDelay: number;
911
+ dragNodeInsertToParent: boolean;
912
+ pageLookup: {
913
+ [pageId: number]: DocumentPages;
914
+ };
915
+ editableBookmark: string;
916
+ BOOKMARK_CHAR_LIMIT: number;
917
+ dragNode: any;
918
+ dragNodeExpandOverWaitTimeMs: number;
919
+ dragNodeExpandOverNode: any;
920
+ dragNodeExpandOverTime: number;
921
+ dragNodeExpandOverArea: number;
922
+ options: {
923
+ allowDrag: boolean;
924
+ allowDrop: boolean;
925
+ };
926
+ $subscription: Subscription;
927
+ private sortMode;
928
+ private readonly _customSort;
929
+ private readonly _positionSort;
930
+ constructor(store: Store<BookmarksState | AnnotationSetState>);
931
+ ngOnInit(): void;
932
+ ngOnChanges(changes: SimpleChanges): void;
933
+ ngOnDestroy(): void;
934
+ editBookmark(id: any): void;
935
+ onAddBookmarkClick(): void;
936
+ deleteBookmark2(node: Bookmark): void;
937
+ updateBookmark(bookmark: Bookmark, name: any): void;
938
+ goToBookmark(bookmark: Bookmark): void;
939
+ get customSort(): string;
940
+ get positionSort(): string;
941
+ sort(mode: string): void;
942
+ private sortBookmarks;
943
+ private positionSortBookmarks;
944
+ private customSortBookmarks;
945
+ private scaledY;
946
+ hasChild: (_: number, node: Bookmark) => boolean;
947
+ getNode(bookmarks: any, parentId: any): any;
948
+ drop(event: CdkDragDrop<Bookmark>): void;
949
+ private getSiblingFromAllSibliings;
950
+ dragStart(): void;
951
+ dragEnd(): void;
952
+ dragHover(event: any, node: Bookmark): void;
953
+ dragHoverEnd(event: any, node: Bookmark): void;
954
+ onNodeExpand(node: Bookmark): "toggle-children-wrapper-expanded" | "toggle-children-wrapper-collapsed";
955
+ visibleNodes(bookmarks: Bookmark[]): Bookmark[];
956
+ findNodeSiblings(arr: Array<any>, id: string): Array<any>;
957
+ rebuildTreeForData(data: any): void;
958
+ isToNodeChildOfFromNode(fromNodeChildren: Bookmark[], toNode: Bookmark): boolean;
959
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookmarksComponent, never>;
960
+ 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>;
961
+ }
962
+
963
+ declare class SideBarComponent implements OnInit, OnChanges, OnDestroy {
964
+ private viewerEvents;
965
+ private store;
966
+ private readonly toolbarEvents;
967
+ annotationsEnabled: boolean;
968
+ outline: Outline;
969
+ url: string;
970
+ zoom: number;
971
+ rotate: number;
972
+ currentPageNumber: number;
973
+ bookmarks: BookmarksComponent;
974
+ treeChanged: boolean;
975
+ selectedView: string;
976
+ bookmarkNodes$: Observable<BookmarkNode[]>;
977
+ scrollTop: any;
978
+ sidebarOpen: any;
979
+ private subscriptions;
980
+ sidebarDiv: any;
981
+ constructor(viewerEvents: ViewerEventService, store: Store<BookmarksState>, toolbarEvents: ToolbarEventService);
982
+ ngOnInit(): void;
983
+ ngOnChanges(changes: SimpleChanges): void;
984
+ ngOnDestroy(): void;
985
+ onScroll(event: any): void;
986
+ goToDestination(destination: any[]): void;
987
+ hasTreeChanged(value: boolean): void;
988
+ toggleSidebarView(sidebarView: string): void;
989
+ isViewedItem(current: Outline, next: Outline): boolean;
990
+ findEndPage(next: Outline): number;
991
+ static ɵfac: i0.ɵɵFactoryDeclaration<SideBarComponent, never>;
992
+ 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>;
993
+ }
994
+
995
+ declare class OutlineItemComponent implements OnInit {
996
+ outline: Outline;
997
+ currentPageNumber: number;
998
+ isCurrentSection: boolean;
999
+ endPage: number;
1000
+ navigationEvent: EventEmitter<any>;
1001
+ showOutlineItems: boolean;
1002
+ ngOnInit(): void;
1003
+ goToDestination(destination: any): void;
1004
+ toggleOutline(): void;
1005
+ isViewedItem(current: Outline, next: Outline): boolean;
1006
+ findEndPage(next: Outline): number;
1007
+ showHighlightOutlineCss(): "highlightedOutlineItem" | "outlineItem";
1008
+ static ɵfac: i0.ɵɵFactoryDeclaration<OutlineItemComponent, never>;
1009
+ 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>;
1010
+ }
1011
+
1012
+ declare class ViewerUtilService {
1013
+ private http;
1014
+ constructor(http: HttpClient);
1015
+ validateFile(url: string): rxjs.Observable<Object>;
1016
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewerUtilService, never>;
1017
+ static ɵprov: i0.ɵɵInjectableDeclaration<ViewerUtilService>;
1018
+ }
1019
+
1020
+ declare class ImageViewerComponent implements OnInit, OnDestroy, OnChanges {
1021
+ private store;
1022
+ private readonly printService;
1023
+ private readonly viewerUtilService;
1024
+ readonly toolbarEvents: ToolbarEventService;
1025
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
1026
+ private viewerEvents;
1027
+ url: string;
1028
+ downloadFileName: string;
1029
+ enableAnnotations: boolean;
1030
+ annotationSet: AnnotationSet | null;
1031
+ height: string;
1032
+ mediaLoadStatus: EventEmitter<ResponseType>;
1033
+ imageViewerException: EventEmitter<ViewerException>;
1034
+ errorMessage: string;
1035
+ img: ElementRef;
1036
+ rotation: number;
1037
+ zoom: number;
1038
+ private subscriptions;
1039
+ private viewerException;
1040
+ private response;
1041
+ showCommentsPanel: boolean;
1042
+ enableGrabNDrag: boolean;
1043
+ imageHeight: number;
1044
+ imageWidth: number;
1045
+ imageLeft: number;
1046
+ imageTop: number;
1047
+ constructor(store: Store<AnnotationSetState>, printService: PrintService, viewerUtilService: ViewerUtilService, toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, viewerEvents: ViewerEventService);
1048
+ ngOnInit(): void;
1049
+ onImageViewerClick(event: MouseEvent): void;
1050
+ ngOnDestroy(): void;
1051
+ ngOnChanges(changes: SimpleChanges): void;
1052
+ private rotateImage;
1053
+ private setZoom;
1054
+ private stepZoom;
1055
+ private download;
1056
+ setZoomValue(zoomValue: any): Promise<unknown>;
1057
+ calculateZoomValue(zoomValue: any, increment?: number): number;
1058
+ onLoadError(url: any): void;
1059
+ onLoad(img: any): void;
1060
+ initAnnoPage(img: any): void;
1061
+ toggleCommentsSummary(): void;
1062
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageViewerComponent, never>;
1063
+ 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>;
1064
+ }
1065
+
1066
+ declare class UnsupportedViewerComponent implements OnInit, OnDestroy {
1067
+ readonly toolbarEvents: ToolbarEventService;
1068
+ private readonly viewerUtilService;
1069
+ url: string;
1070
+ downloadFileName: string;
1071
+ typeException: boolean;
1072
+ loadStatus: EventEmitter<ResponseType>;
1073
+ unsupportedViewerException: EventEmitter<ViewerException>;
1074
+ downloadLink: ElementRef;
1075
+ private subscriptions;
1076
+ private viewerException;
1077
+ constructor(toolbarEvents: ToolbarEventService, viewerUtilService: ViewerUtilService);
1078
+ ngOnInit(): void;
1079
+ ngOnDestroy(): void;
1080
+ static ɵfac: i0.ɵɵFactoryDeclaration<UnsupportedViewerComponent, never>;
1081
+ static ɵcmp: i0.ɵɵComponentDeclaration<UnsupportedViewerComponent, "mv-unsupported-viewer", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "typeException": { "alias": "typeException"; "required": false; }; }, { "loadStatus": "loadStatus"; "unsupportedViewerException": "unsupportedViewerException"; }, never, never, false, never>;
1082
+ }
1083
+
1084
+ declare class MultimediaPlayerComponent implements OnInit, OnChanges, OnDestroy {
1085
+ readonly toolbarEvents: ToolbarEventService;
1086
+ url: string;
1087
+ downloadFileName: string;
1088
+ multimediaOn: boolean;
1089
+ loadStatus: EventEmitter<ResponseType>;
1090
+ downloadLink: ElementRef;
1091
+ videoPlayer: ElementRef;
1092
+ playbackMsg: string;
1093
+ private subscription;
1094
+ constructor(toolbarEvents: ToolbarEventService);
1095
+ ngOnInit(): void;
1096
+ ngOnChanges(changes: SimpleChanges): void;
1097
+ ngOnDestroy(): void;
1098
+ reloadVideo(): void;
1099
+ onSuccess(): void;
1100
+ onError(): void;
1101
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultimediaPlayerComponent, never>;
1102
+ 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>;
1103
+ }
1104
+
1105
+ declare class AnnotationApiService {
1106
+ private readonly httpClient;
1107
+ annotationApiUrl: string;
1108
+ private annotationSetBaseUrl;
1109
+ private annotationBaseUrl;
1110
+ constructor(httpClient: HttpClient);
1111
+ getAnnotationSet(documentId: string): Observable<any>;
1112
+ postAnnotationSet(body: Partial<AnnotationSet>): Observable<AnnotationSet>;
1113
+ getComments(annotationSet: Observable<AnnotationSet>): Observable<Comment[]>;
1114
+ /**
1115
+ * Sort the annotations in the response by page and then y position of their first rectangle
1116
+ */
1117
+ private sortAnnotations;
1118
+ private extractComments;
1119
+ deleteAnnotation(annotationId: string): Observable<null>;
1120
+ postAnnotation(annotation: Partial<Annotation>): Observable<Annotation>;
1121
+ get annotationSetsFullUrl(): string;
1122
+ get annotationFullsUrl(): string;
1123
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationApiService, never>;
1124
+ static ɵprov: i0.ɵɵInjectableDeclaration<AnnotationApiService>;
1125
+ }
1126
+
1127
+ declare class TagsServices {
1128
+ private http;
1129
+ tagItems: {
1130
+ [id: string]: TagsModel[];
1131
+ };
1132
+ constructor(http: HttpClient);
1133
+ getAllTags(createdBy: string): Observable<TagsModel[]>;
1134
+ getNewTags(annoid: string): TagsModel[];
1135
+ updateTagItems(items: Array<TagsModel>, annoId: string): void;
1136
+ private snakeCase;
1137
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagsServices, never>;
1138
+ static ɵprov: i0.ɵɵInjectableDeclaration<TagsServices>;
1139
+ }
1140
+
1141
+ declare class CommentComponent implements OnInit, OnDestroy, AfterContentInit {
1142
+ private store;
1143
+ private readonly commentService;
1144
+ private tagsServices;
1145
+ CHAR_LIMIT: number;
1146
+ lastUpdate: string;
1147
+ originalComment: string;
1148
+ fullComment: string;
1149
+ author: User;
1150
+ createdBy: string;
1151
+ editor: User;
1152
+ _comment: Comment;
1153
+ _editable: boolean;
1154
+ _rectangle: any;
1155
+ totalPrevPagesHeight: number;
1156
+ rectTop: any;
1157
+ rectLeft: any;
1158
+ pageHeight: number;
1159
+ hasUnsavedChanges: boolean;
1160
+ selected: boolean;
1161
+ searchString: string;
1162
+ tagItems: TagsModel[];
1163
+ marginToComment$: Observable<boolean>;
1164
+ commentClick: EventEmitter<SelectionAnnotation>;
1165
+ renderComments: EventEmitter<Comment>;
1166
+ delete: EventEmitter<Comment>;
1167
+ updated: EventEmitter<{
1168
+ comment: Comment;
1169
+ tags: TagsModel[];
1170
+ }>;
1171
+ changes: EventEmitter<boolean>;
1172
+ rotate: number;
1173
+ zoom: number;
1174
+ index: number;
1175
+ page: number;
1176
+ form: ElementRef;
1177
+ editableComment: ElementRef<HTMLElement>;
1178
+ private subscriptions;
1179
+ constructor(store: Store<AnnotationSetState>, commentService: CommentService, tagsServices: TagsServices);
1180
+ ngOnInit(): void;
1181
+ ngAfterContentInit(): void;
1182
+ ngOnDestroy(): void;
1183
+ set comment(comment: Comment);
1184
+ get comment(): Comment;
1185
+ set annotation(annotation: Annotation);
1186
+ get editable(): boolean;
1187
+ onCommentChange(updatedComment: any): void;
1188
+ deleteOrCancel(): void;
1189
+ editOrSave(): void;
1190
+ onCommentClick(): void;
1191
+ reRenderComments(): void;
1192
+ get commentTop(): number;
1193
+ get height(): number;
1194
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentComponent, never>;
1195
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentComponent, "mv-anno-comment", never, { "rotate": { "alias": "rotate"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "index": { "alias": "index"; "required": false; }; "page": { "alias": "page"; "required": false; }; "comment": { "alias": "comment"; "required": false; }; "annotation": { "alias": "annotation"; "required": false; }; }, { "commentClick": "commentClick"; "renderComments": "renderComments"; "delete": "delete"; "updated": "updated"; "changes": "changes"; }, never, never, false, never>;
1196
+ }
1197
+
1198
+ declare class CommentSetRenderService {
1199
+ redrawComponents(commentComponents: CommentComponent[], pageHeights: any[], rotate: number, zoom: number): void;
1200
+ sortComponents(commentComponents: CommentComponent[], pageHeights: any[], rotate: number, zoom: number): CommentComponent[];
1201
+ private adjustIfOverlapping;
1202
+ private processSort;
1203
+ private onSameLine;
1204
+ private top;
1205
+ private height;
1206
+ private difference;
1207
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentSetRenderService, never>;
1208
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommentSetRenderService>;
1209
+ }
1210
+
1211
+ declare class CommentSetComponent implements OnInit, OnDestroy, OnChanges {
1212
+ private store;
1213
+ private readonly commentService;
1214
+ private readonly renderService;
1215
+ private readonly toolbarEvents;
1216
+ annotationSet: AnnotationSet;
1217
+ zoom: number;
1218
+ rotate: number;
1219
+ height: number;
1220
+ pageHeights: any[];
1221
+ contentScrollTop: number;
1222
+ comments: Comment[];
1223
+ tags: TagsModel[];
1224
+ private subscriptions;
1225
+ comments$: Observable<Annotation[]>;
1226
+ annoEntities$: Observable<{
1227
+ [id: string]: Annotation;
1228
+ }>;
1229
+ container: ElementRef<HTMLDivElement>;
1230
+ panel: ElementRef<HTMLDivElement>;
1231
+ commentComponents: QueryList<CommentComponent>;
1232
+ showCommentsPanel: boolean;
1233
+ constructor(store: Store<AnnotationSetState>, commentService: CommentService, renderService: CommentSetRenderService, toolbarEvents: ToolbarEventService);
1234
+ ngOnInit(): void;
1235
+ ngOnChanges(changes: SimpleChanges): void;
1236
+ ngOnDestroy(): void;
1237
+ onSelect(annotationId: SelectionAnnotation): void;
1238
+ onCommentDelete(comment: Comment): void;
1239
+ redrawComments(): void;
1240
+ private rotateDocument;
1241
+ onCommentUpdate(payload: {
1242
+ comment: Comment;
1243
+ tags: TagsModel[];
1244
+ }): void;
1245
+ onAnnotationUpdate(annotation: Annotation): void;
1246
+ onContainerClick(e: any): void;
1247
+ clearSelection(): void;
1248
+ allCommentsSaved(): void;
1249
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentSetComponent, never>;
1250
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentSetComponent, "mv-comment-set", never, { "annotationSet": { "alias": "annotationSet"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "height": { "alias": "height"; "required": false; }; "pageHeights": { "alias": "pageHeights"; "required": false; }; "contentScrollTop": { "alias": "contentScrollTop"; "required": false; }; }, {}, never, never, false, never>;
1251
+ }
1252
+
1253
+ declare class CommentService {
1254
+ readonly unsavedChanges: Subject<boolean>;
1255
+ readonly marginToCommentEmitter: BehaviorSubject<boolean>;
1256
+ commentSetComponent: CommentSetComponent;
1257
+ setCommentSet(commentSetComponent: any): void;
1258
+ onCommentChange(changes: boolean): void;
1259
+ getUnsavedChanges(): Observable<boolean>;
1260
+ hasUnsavedComments(annotation: Annotation): boolean;
1261
+ updateUnsavedCommentsStatus(annotation: Annotation, hasUnsavedChanges: boolean): void;
1262
+ getComment(annotation: Annotation): CommentComponent;
1263
+ resetCommentSet(): void;
1264
+ allCommentsSaved(): void;
1265
+ createMarginToCommentEvent(margin: boolean): void;
1266
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentService, never>;
1267
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommentService>;
1268
+ }
1269
+
1270
+ declare class MediaViewerComponent implements OnChanges, OnDestroy, AfterContentInit, AfterViewChecked {
1271
+ private store;
1272
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
1273
+ readonly toolbarEvents: ToolbarEventService;
1274
+ private readonly api;
1275
+ private readonly commentService;
1276
+ private elRef;
1277
+ private cdr;
1278
+ icpEventService: IcpEventService;
1279
+ viewerRef: ElementRef;
1280
+ url: any;
1281
+ downloadFileName: string;
1282
+ contentType: string;
1283
+ showToolbar: boolean;
1284
+ toolbarButtonOverrides: any;
1285
+ height: string;
1286
+ viewerHeight: string;
1287
+ width: string;
1288
+ mediaLoadStatus: EventEmitter<ResponseType>;
1289
+ viewerException: EventEmitter<ViewerException>;
1290
+ toolbarEventsOutput: EventEmitter<ToolbarEventService>;
1291
+ unsavedChanges: EventEmitter<boolean>;
1292
+ enableAnnotations: boolean;
1293
+ annotationApiUrl: any;
1294
+ enableRedactions: boolean;
1295
+ enableICP: boolean;
1296
+ multimediaPlayerEnabled: boolean;
1297
+ enableRedactSearch: boolean;
1298
+ caseId: string;
1299
+ multimediaContent: boolean;
1300
+ convertibleContent: boolean;
1301
+ unsupportedContent: boolean;
1302
+ documentTitle: string;
1303
+ showCommentSummary: boolean;
1304
+ annotationSet$: Observable<AnnotationSet | {}>;
1305
+ hasScrollBar: boolean;
1306
+ typeException: boolean;
1307
+ hasDifferentPageSize$: Observable<boolean>;
1308
+ documentId: string;
1309
+ private $subscriptions;
1310
+ private prevOffset;
1311
+ constructor(store: Store<AnnotationSetState>, toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService, api: AnnotationApiService, commentService: CommentService, elRef: ElementRef, cdr: ChangeDetectorRef, icpEventService: IcpEventService);
1312
+ ngAfterContentInit(): void;
1313
+ ngAfterViewChecked(): void;
1314
+ ngOnChanges(changes: SimpleChanges): void;
1315
+ ngOnDestroy(): void;
1316
+ needsConverting(): boolean;
1317
+ isMultimedia(): boolean;
1318
+ isSupported(): boolean;
1319
+ onMediaLoad(status: ResponseType): void;
1320
+ setToolbarButtons(): void;
1321
+ onLoadException(exception: ViewerException): void;
1322
+ onCommentChange(changes: boolean): void;
1323
+ onDocumentTitleChange(title: string): void;
1324
+ private extractDMStoreDocId;
1325
+ detectOs(): void;
1326
+ static ɵfac: i0.ɵɵFactoryDeclaration<MediaViewerComponent, never>;
1327
+ static ɵcmp: i0.ɵɵComponentDeclaration<MediaViewerComponent, "mv-media-viewer", never, { "url": { "alias": "url"; "required": false; }; "downloadFileName": { "alias": "downloadFileName"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "toolbarButtonOverrides": { "alias": "toolbarButtonOverrides"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "enableAnnotations": { "alias": "enableAnnotations"; "required": false; }; "annotationApiUrl": { "alias": "annotationApiUrl"; "required": false; }; "enableRedactions": { "alias": "enableRedactions"; "required": false; }; "enableICP": { "alias": "enableICP"; "required": false; }; "multimediaPlayerEnabled": { "alias": "multimediaPlayerEnabled"; "required": false; }; "enableRedactSearch": { "alias": "enableRedactSearch"; "required": false; }; "caseId": { "alias": "caseId"; "required": false; }; }, { "mediaLoadStatus": "mediaLoadStatus"; "viewerException": "viewerException"; "toolbarEventsOutput": "toolbarEventsOutput"; "unsavedChanges": "unsavedChanges"; }, never, never, false, never>;
1328
+ }
1329
+
1330
+ declare class ConvertibleContentViewerComponent implements OnInit, OnDestroy, OnChanges {
1331
+ private store;
1332
+ originalUrl: any;
1333
+ downloadFileName: string;
1334
+ height: any;
1335
+ enableAnnotations: boolean;
1336
+ enableRedactions: boolean;
1337
+ annotationSet: AnnotationSet | null;
1338
+ mediaLoadStatus: EventEmitter<ResponseType>;
1339
+ viewerException: EventEmitter<ViewerException>;
1340
+ documentTitle: EventEmitter<string>;
1341
+ private $subscription;
1342
+ convertedUrl: string;
1343
+ constructor(store: Store<DocumentState>);
1344
+ ngOnInit(): void;
1345
+ ngOnChanges(changes: SimpleChanges): void;
1346
+ ngOnDestroy(): void;
1347
+ onMediaLoad(status: ResponseType): void;
1348
+ onLoadException(exception: ViewerException): void;
1349
+ onDocumentTitleChange(title: string): void;
1350
+ private extractDMStoreDocId;
1351
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConvertibleContentViewerComponent, never>;
1352
+ 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>;
1353
+ }
1354
+
1355
+ declare class GrabNDragDirective {
1356
+ private el;
1357
+ originalPosition: {
1358
+ left: number;
1359
+ top: number;
1360
+ };
1361
+ private pointerDown;
1362
+ dragEnabled: boolean;
1363
+ dragX: Element;
1364
+ constructor(el: ElementRef);
1365
+ onPointerDown(event: PointerEvent): void;
1366
+ onPointerMove(event: PointerEvent): void;
1367
+ onWindowPointerUp(): void;
1368
+ static ɵfac: i0.ɵɵFactoryDeclaration<GrabNDragDirective, never>;
1369
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GrabNDragDirective, "[mvGrabNDrag]", never, { "dragEnabled": { "alias": "dragEnabled"; "required": false; }; "dragX": { "alias": "dragX"; "required": false; }; }, {}, never, never, false, never>;
1370
+ }
1371
+
1372
+ declare class RotationPersistDirective implements OnInit, OnDestroy {
1373
+ private el;
1374
+ private store;
1375
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
1376
+ private toolbarEvents;
1377
+ documentId: string;
1378
+ rotation: number;
1379
+ savedRotation: number;
1380
+ $subscriptions: Subscription;
1381
+ constructor(el: ElementRef, store: Store<DocumentState>, toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService);
1382
+ ngOnInit(): void;
1383
+ ngOnDestroy(): void;
1384
+ onMediaLoad(status: ResponseType): void;
1385
+ private onRotate;
1386
+ private saveRotation;
1387
+ static ɵfac: i0.ɵɵFactoryDeclaration<RotationPersistDirective, never>;
1388
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RotationPersistDirective, "[mvRotationPersist]", never, {}, {}, never, never, false, never>;
1389
+ }
1390
+
1391
+ declare class HighlightCreateService {
1392
+ private toolBarEvents;
1393
+ private store;
1394
+ constructor(toolBarEvents: ToolbarEventService, store: Store<AnnotationSetState>);
1395
+ saveAnnotation(rectangles: Rectangle[], page: number): void;
1396
+ saveAnnotationSet(searchRectangles: RedactRectangle[]): void;
1397
+ applyRotation(pageHeight: any, pageWidth: any, offsetHeight: any, offsetWidth: any, offsetTop: any, offsetLeft: any, rotate: any, zoom: any): any;
1398
+ resetHighlight(): void;
1399
+ static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateService, never>;
1400
+ static ɵprov: i0.ɵɵInjectableDeclaration<HighlightCreateService>;
1401
+ }
1402
+
1403
+ declare class HighlightCreateDirective implements OnInit, OnDestroy {
1404
+ private element;
1405
+ private toolbarEvents;
1406
+ private viewerEvents;
1407
+ private highlightService;
1408
+ private store;
1409
+ pageHeight: number;
1410
+ pageWidth: number;
1411
+ zoom: number;
1412
+ rotate: number;
1413
+ allPages: object;
1414
+ $subscription: Subscription;
1415
+ constructor(element: ElementRef<HTMLElement>, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, highlightService: HighlightCreateService, store: Store<AnnotationSetState>);
1416
+ ngOnInit(): void;
1417
+ ngOnDestroy(): void;
1418
+ onMouseUp(mouseEvent: MouseEvent): void;
1419
+ onPdfViewerClick(event: MouseEvent): void;
1420
+ private getRectangles;
1421
+ private createTextRectangle;
1422
+ private removeEnhancedTextModeStyling;
1423
+ static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateDirective, never>;
1424
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightCreateDirective, "[mvCreateTextHighlight]", never, {}, {}, never, never, false, never>;
1425
+ }
1426
+
1427
+ declare class ConfirmActionDialogComponent implements AfterViewInit {
1428
+ private icpEventService;
1429
+ modalContainer: ElementRef;
1430
+ constructor(icpEventService: IcpEventService);
1431
+ ngAfterViewInit(): void;
1432
+ onCancel(): void;
1433
+ onConfirm(): void;
1434
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmActionDialogComponent, never>;
1435
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmActionDialogComponent, "mv-confirm-action", never, {}, {}, never, never, false, never>;
1436
+ }
1437
+
1438
+ declare class RedactionComponent implements OnInit, OnDestroy {
1439
+ private store;
1440
+ private readonly viewerEvents;
1441
+ private toolbarEvents;
1442
+ zoom: number;
1443
+ rotate: number;
1444
+ redactionsPerPage$: Observable<any>;
1445
+ selectedRedaction$: Observable<SelectionAnnotation | {}>;
1446
+ rectangles: Rectangle[];
1447
+ drawMode: boolean;
1448
+ documentId: string;
1449
+ private $subscription;
1450
+ constructor(store: Store<State>, viewerEvents: ViewerEventService, toolbarEvents: ToolbarEventService);
1451
+ ngOnInit(): void;
1452
+ ngOnDestroy(): void;
1453
+ markTextRedaction(highlight: any): void;
1454
+ markBoxRedaction({ rectangles, page }: {
1455
+ rectangles: any;
1456
+ page: any;
1457
+ }): void;
1458
+ saveRedaction(page: number, rectangles: Rectangle[]): void;
1459
+ onMarkerDelete(event: any): void;
1460
+ selectRedaction(event: any): void;
1461
+ onMarkerUpdate(redaction: Redaction): void;
1462
+ downloadDocument({ blob, filename }: {
1463
+ blob: any;
1464
+ filename: any;
1465
+ }): void;
1466
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedactionComponent, never>;
1467
+ static ɵcmp: i0.ɵɵComponentDeclaration<RedactionComponent, "mv-redactions", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
1468
+ }
1469
+
1470
+ declare class BookmarkIconsComponent implements OnInit {
1471
+ private store;
1472
+ zoom: number;
1473
+ rotate: number;
1474
+ bookmarksPerPage$: Observable<BookmarksPerPage[]>;
1475
+ bookmarks: Bookmark$1[];
1476
+ documentId: string;
1477
+ constructor(store: Store<State>);
1478
+ ngOnInit(): void;
1479
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkIconsComponent, never>;
1480
+ static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkIconsComponent, "mv-bookmark-icons", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
1481
+ }
1482
+
1483
+ declare class ParticipantsListComponent implements OnInit, OnDestroy {
1484
+ private readonly toolbarEvents;
1485
+ private store;
1486
+ private readonly icpEventService;
1487
+ subscription: Subscription;
1488
+ participants$: Observable<IcpParticipant[]>;
1489
+ presenter$: Observable<IcpParticipant>;
1490
+ isPresenter$: Observable<boolean>;
1491
+ showParticipantsList: boolean;
1492
+ constructor(toolbarEvents: ToolbarEventService, store: Store<IcpState>, icpEventService: IcpEventService);
1493
+ ngOnInit(): void;
1494
+ ngOnDestroy(): void;
1495
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticipantsListComponent, never>;
1496
+ static ɵcmp: i0.ɵɵComponentDeclaration<ParticipantsListComponent, "mv-participants-list", never, {}, {}, never, never, false, never>;
1497
+ }
1498
+
1499
+ declare class SearchBarComponent implements OnInit, OnDestroy, AfterViewInit {
1500
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
1501
+ readonly toolbarEvents: ToolbarEventService;
1502
+ findInput: ElementRef<HTMLInputElement>;
1503
+ findNext: ElementRef<HTMLAnchorElement>;
1504
+ highlightAll: boolean;
1505
+ matchCase: boolean;
1506
+ wholeWord: boolean;
1507
+ resultsText: string;
1508
+ searchText: string;
1509
+ resultCount: number;
1510
+ private subscriptions;
1511
+ advancedSearchVisible: boolean;
1512
+ constructor(toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService);
1513
+ ngOnInit(): void;
1514
+ ngAfterViewInit(): void;
1515
+ ngOnDestroy(): void;
1516
+ onWindowKeyDown(e: KeyboardEvent): void;
1517
+ searchNext(): void;
1518
+ searchPrev(): void;
1519
+ search(): void;
1520
+ private setSearchResultsCount;
1521
+ onEscapeKeyPress(e: KeyboardEvent): void;
1522
+ onEnterKeyPress(e: KeyboardEvent): void;
1523
+ toggleAdvancedSearch(): void;
1524
+ toggleSearchBar(): void;
1525
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
1526
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "mv-search-bar", never, {}, {}, never, never, false, never>;
1527
+ }
1528
+
1
1529
  /**
2
- * Generated bundle index. Do not edit.
1530
+ * Number Helper Service
1531
+ * */
1532
+ declare class NumberHelperService {
1533
+ constructor();
1534
+ isNumber(value: string | number): boolean;
1535
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberHelperService, never>;
1536
+ static ɵprov: i0.ɵɵInjectableDeclaration<NumberHelperService>;
1537
+ }
1538
+
1539
+ declare class MainToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
1540
+ readonly toolbarEvents: ToolbarEventService;
1541
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
1542
+ private readonly cdr;
1543
+ private readonly numberHelper;
1544
+ private readonly icpEventService;
1545
+ enableAnnotations: boolean;
1546
+ enableRedactions: boolean;
1547
+ enableICP: boolean;
1548
+ contentType: any;
1549
+ zoomSelect: ElementRef;
1550
+ mvToolbarMain: ElementRef<HTMLElement>;
1551
+ mvMenuItems: ElementRef<HTMLElement>;
1552
+ private readonly subscriptions;
1553
+ icpEnabled: boolean;
1554
+ redactionEnabled: boolean;
1555
+ showCommentsPanel: boolean;
1556
+ redactAllInProgress: boolean;
1557
+ pageNumber: number;
1558
+ pageCount: number;
1559
+ isDropdownMenuOpen: boolean;
1560
+ isBookmarksOpen: boolean;
1561
+ isIndexOpen: boolean;
1562
+ isRedactOpen: boolean;
1563
+ isCommentsOpen: boolean;
1564
+ dropdownMenuPositions: ConnectionPositionPair[];
1565
+ zoomScales: number[];
1566
+ allButtonsWidth: number;
1567
+ widthRequiredForBtn: {
1568
+ [id: string]: number;
1569
+ };
1570
+ constructor(toolbarEvents: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, cdr: ChangeDetectorRef, numberHelper: NumberHelperService, icpEventService: IcpEventService);
1571
+ ngOnInit(): void;
1572
+ ngOnDestroy(): void;
1573
+ ngAfterViewInit(): void;
1574
+ onResize(): void;
1575
+ onControlPrint(event: KeyboardEvent): void;
1576
+ onClickHighlightToggle(): void;
1577
+ onClickDrawToggle(): void;
1578
+ toggleIndexSideBar(): void;
1579
+ onToolBarOffSetChange(buttonId: string): "button-hidden-on-toolbar" | "button-hidden-on-dropdown";
1580
+ toggleBookmarksSideBar(): void;
1581
+ togglePresentBar(): void;
1582
+ increasePageNumber(): void;
1583
+ decreasePageNumber(): void;
1584
+ onPageNumberInputChange(pageNumber: string): void;
1585
+ private setCurrentPage;
1586
+ rotate(rotation: number): void;
1587
+ printFile(): void;
1588
+ downloadFile(): void;
1589
+ zoom(zoomFactor: string): void;
1590
+ stepZoom(zoomFactor: number): void;
1591
+ toggleCommentsPanel(): void;
1592
+ toggleRedactBar(): void;
1593
+ toggleGrabNDrag(): void;
1594
+ isPdf(): boolean;
1595
+ toggleSearchBar(): void;
1596
+ toggleMoreOptions(): void;
1597
+ static ɵfac: i0.ɵɵFactoryDeclaration<MainToolbarComponent, never>;
1598
+ 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>;
1599
+ }
1600
+
1601
+ declare class RedactionToolbarComponent implements OnInit, OnDestroy {
1602
+ readonly toolbarEventService: ToolbarEventService;
1603
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
1604
+ private store;
1605
+ showRedactSearch: boolean;
1606
+ preview: boolean;
1607
+ hasRedactions: boolean;
1608
+ private subscriptions;
1609
+ redactionAllInProgress: boolean;
1610
+ constructor(toolbarEventService: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService, store: Store<AnnotationSetState>);
1611
+ ngOnInit(): void;
1612
+ onRedactAllSearch(): void;
1613
+ toggleTextRedactionMode(): void;
1614
+ toggleDrawMode(): void;
1615
+ togglePreview(): void;
1616
+ unmarkAll(): void;
1617
+ redact(): void;
1618
+ toggleRedactBar(): void;
1619
+ redactPage(): void;
1620
+ ngOnDestroy(): void;
1621
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedactionToolbarComponent, never>;
1622
+ static ɵcmp: i0.ɵɵComponentDeclaration<RedactionToolbarComponent, "mv-redaction-toolbar", never, { "showRedactSearch": { "alias": "showRedactSearch"; "required": false; }; }, {}, never, never, false, never>;
1623
+ }
1624
+
1625
+ declare class IcpToolbarComponent implements OnInit, OnDestroy {
1626
+ readonly toolbarEventService: ToolbarEventService;
1627
+ private store;
1628
+ readonly icpEventService: IcpEventService;
1629
+ presenterName: string;
1630
+ isPresenter: boolean;
1631
+ private $subscription;
1632
+ constructor(toolbarEventService: ToolbarEventService, store: Store<IcpState>, icpEventService: IcpEventService);
1633
+ ngOnInit(): void;
1634
+ ngOnDestroy(): void;
1635
+ present(): void;
1636
+ stopPresenting(): void;
1637
+ leaveIcpSession(): void;
1638
+ showParticipantsList(): void;
1639
+ static ɵfac: i0.ɵɵFactoryDeclaration<IcpToolbarComponent, never>;
1640
+ static ɵcmp: i0.ɵɵComponentDeclaration<IcpToolbarComponent, "mv-icp-toolbar", never, {}, {}, never, never, false, never>;
1641
+ }
1642
+
1643
+ declare class RedactionSearchBarComponent implements OnInit, OnDestroy {
1644
+ private store;
1645
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
1646
+ readonly toolbarEvents: ToolbarEventService;
1647
+ readonly highlightService: HighlightCreateService;
1648
+ findInput: ElementRef<HTMLInputElement>;
1649
+ highlightAll: boolean;
1650
+ matchCase: boolean;
1651
+ wholeWord: boolean;
1652
+ resultsText: string;
1653
+ searchText: string;
1654
+ resultCount: number;
1655
+ redactElements: RedactRectangle[];
1656
+ pageHeight: number;
1657
+ pageWidth: number;
1658
+ zoom: number;
1659
+ rotate: number;
1660
+ allPages: object;
1661
+ redactAll: boolean;
1662
+ openSearchModal: boolean;
1663
+ redactAllInProgress: boolean;
1664
+ redactAllText?: string;
1665
+ searchType: SearchType;
1666
+ inProgressText: string;
1667
+ titleText: string;
1668
+ private subscription;
1669
+ private documentId;
1670
+ advancedSearchVisible: boolean;
1671
+ constructor(store: Store<State>, toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
1672
+ ngOnInit(): void;
1673
+ ngOnDestroy(): void;
1674
+ onWindowKeyDown(e: KeyboardEvent): void;
1675
+ search(reset?: boolean): void;
1676
+ modeText(): void;
1677
+ private saveRedaction;
1678
+ private existInRedactElements;
1679
+ onCloseSearchModal(): void;
1680
+ private setSearchResultsCount;
1681
+ private redactAllSearched;
1682
+ private redactAllSearchedTick;
1683
+ private cleanUpPostSave;
1684
+ private CreateRedactAllText;
1685
+ onEscapeKeyPress(e: KeyboardEvent): void;
1686
+ onEnterKeyPress(e: KeyboardEvent): void;
1687
+ toggleSearchBar(): void;
1688
+ private getRectangles;
1689
+ private createTextRectangle;
1690
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedactionSearchBarComponent, never>;
1691
+ static ɵcmp: i0.ɵɵComponentDeclaration<RedactionSearchBarComponent, "mv-redaction-search-bar", never, {}, {}, never, never, false, never>;
1692
+ }
1693
+
1694
+ declare class HighlightToolbarComponent implements OnInit, OnDestroy {
1695
+ readonly toolbarEventService: ToolbarEventService;
1696
+ readonly toolbarButtons: ToolbarButtonVisibilityService;
1697
+ private subscriptions;
1698
+ redactionAllInProgress: boolean;
1699
+ constructor(toolbarEventService: ToolbarEventService, toolbarButtons: ToolbarButtonVisibilityService);
1700
+ ngOnInit(): void;
1701
+ onAllSearch(): void;
1702
+ onHighlight(): void;
1703
+ onClickDrawToggle(): void;
1704
+ onClose(): void;
1705
+ ngOnDestroy(): void;
1706
+ static ɵfac: i0.ɵɵFactoryDeclaration<HighlightToolbarComponent, never>;
1707
+ static ɵcmp: i0.ɵɵComponentDeclaration<HighlightToolbarComponent, "mv-highlight-toolbar", never, {}, {}, never, never, false, never>;
1708
+ }
1709
+
1710
+ declare class TooltipDismissDirective {
1711
+ private el;
1712
+ constructor(el: ElementRef);
1713
+ onEscapeDismissTooltip(): void;
1714
+ onShowTooltip(): void;
1715
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDismissDirective, never>;
1716
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDismissDirective, ".mv-tooltip, [mvTooltipDismiss]", never, {}, {}, never, never, false, never>;
1717
+ }
1718
+
1719
+ declare class ToolbarModule {
1720
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
1721
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof SearchBarComponent, typeof MainToolbarComponent, typeof RedactionToolbarComponent, typeof IcpToolbarComponent, typeof RedactionSearchBarComponent, typeof HighlightToolbarComponent, typeof TooltipDismissDirective], [typeof i5.CommonModule, typeof i22.FormsModule, typeof i10.OverlayModule, typeof i11.RouterModule, typeof i29.RpxTranslationModule], [typeof MainToolbarComponent, typeof SearchBarComponent, typeof RedactionToolbarComponent, typeof IcpToolbarComponent, typeof RedactionSearchBarComponent, typeof HighlightToolbarComponent]>;
1722
+ static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
1723
+ }
1724
+
1725
+ declare class MetadataLayerComponent implements OnInit, OnDestroy {
1726
+ private store;
1727
+ private readonly highlightService;
1728
+ private readonly toolbarEvents;
1729
+ private readonly viewerEvents;
1730
+ zoom: number;
1731
+ rotate: number;
1732
+ pages: any[];
1733
+ annoPages$: Observable<any>;
1734
+ drawMode: boolean;
1735
+ highlightPage: number;
1736
+ rectangles: Rectangle[];
1737
+ private $subscriptions;
1738
+ constructor(store: Store<AnnotationSetState>, highlightService: HighlightCreateService, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService);
1739
+ ngOnInit(): void;
1740
+ ngOnDestroy(): void;
1741
+ showContextToolbar(highlight: Highlight): void;
1742
+ clearContextToolbar(): void;
1743
+ createHighlight(): void;
1744
+ createBookmark(rectangle: Rectangle): void;
1745
+ saveAnnotation({ rectangles, page }: {
1746
+ rectangles: Rectangle[];
1747
+ page: any;
1748
+ }): void;
1749
+ static ɵfac: i0.ɵɵFactoryDeclaration<MetadataLayerComponent, never>;
1750
+ static ɵcmp: i0.ɵɵComponentDeclaration<MetadataLayerComponent, "mv-metadata-layer", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
1751
+ }
1752
+
1753
+ declare class AnnotationViewComponent {
1754
+ private readonly toolbarEvents;
1755
+ private store;
1756
+ set annotation(value: any);
1757
+ anno: Annotation;
1758
+ selected: boolean;
1759
+ zoom: number;
1760
+ rotate: number;
1761
+ set selectedAnnoId(selectedId: {
1762
+ annotationId: string;
1763
+ });
1764
+ pageHeight: number;
1765
+ pageWidth: number;
1766
+ update: EventEmitter<Annotation>;
1767
+ delete: EventEmitter<Annotation>;
1768
+ annotationClick: EventEmitter<SelectionAnnotation>;
1769
+ container: ElementRef;
1770
+ constructor(toolbarEvents: ToolbarEventService, store: Store<AnnotationSetState>);
1771
+ onSelect(): void;
1772
+ onRectangleUpdate(rectangle: Rectangle): void;
1773
+ deleteHighlight(): void;
1774
+ addOrEditComment(): void;
1775
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationViewComponent, never>;
1776
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationViewComponent, "mv-annotation", never, { "annotation": { "alias": "annotation"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "selectedAnnoId": { "alias": "selectedAnnoId"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; }, { "update": "update"; "delete": "delete"; "annotationClick": "annotationClick"; }, never, never, false, never>;
1777
+ }
1778
+
1779
+ declare class BoxHighlightCreateComponent implements OnInit, OnDestroy {
1780
+ private readonly toolbarEvents;
1781
+ private readonly highlightService;
1782
+ page: number;
1783
+ pageHeight: number;
1784
+ pageWidth: number;
1785
+ rotate: number;
1786
+ zoom: number;
1787
+ container: {
1788
+ top: number;
1789
+ left: number;
1790
+ };
1791
+ saveSelection: EventEmitter<{
1792
+ rectangles: Rectangle[];
1793
+ page: number;
1794
+ }>;
1795
+ highlight: ElementRef;
1796
+ drawStartX: number;
1797
+ drawStartY: number;
1798
+ top: number;
1799
+ left: number;
1800
+ height: number;
1801
+ width: number;
1802
+ display: string;
1803
+ drawMode: boolean;
1804
+ defaultHeight: string;
1805
+ defaultWidth: string;
1806
+ position: string;
1807
+ backgroundColor: string;
1808
+ wholePage: boolean;
1809
+ private subscriptions;
1810
+ constructor(toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
1811
+ ngOnInit(): void;
1812
+ ngOnDestroy(): void;
1813
+ initHighlight(event: MouseEvent): void;
1814
+ updateHighlight(event: MouseEvent): void;
1815
+ createHighlight(): void;
1816
+ private resetHighlight;
1817
+ private highlightPage;
1818
+ static ɵfac: i0.ɵɵFactoryDeclaration<BoxHighlightCreateComponent, never>;
1819
+ static ɵcmp: i0.ɵɵComponentDeclaration<BoxHighlightCreateComponent, "mv-box-highlight-create", never, { "page": { "alias": "page"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "container": { "alias": "container"; "required": false; }; }, { "saveSelection": "saveSelection"; }, never, never, false, never>;
1820
+ }
1821
+
1822
+ declare class AnnotationSetComponent implements OnInit {
1823
+ private store;
1824
+ private readonly commentService;
1825
+ page: number;
1826
+ annotations: Annotation[];
1827
+ zoom: number;
1828
+ rotate: number;
1829
+ pageHeight: number;
1830
+ pageWidth: number;
1831
+ selectedAnnotation$: Observable<SelectionAnnotation>;
1832
+ constructor(store: Store<AnnotationSetState>, commentService: CommentService);
1833
+ ngOnInit(): void;
1834
+ onAnnotationUpdate(annotation: Annotation): void;
1835
+ onAnnotationDelete(annotation: Annotation): void;
1836
+ selectAnnotation(selectedAnnotation: SelectionAnnotation): void;
1837
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationSetComponent, never>;
1838
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationSetComponent, "mv-annotation-set", never, { "page": { "alias": "page"; "required": false; }; "annotations": { "alias": "annotations"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; }, {}, never, never, false, never>;
1839
+ }
1840
+
1841
+ declare class RectangleComponent implements OnChanges, AfterViewInit, OnDestroy {
1842
+ private readonly toolbarEvents;
1843
+ private readonly highlightService;
1844
+ color: String;
1845
+ zoom: number;
1846
+ rotate: number;
1847
+ editable: boolean;
1848
+ pageHeight: number;
1849
+ pageWidth: number;
1850
+ selectEvent: EventEmitter<Rectangle>;
1851
+ updateEvent: EventEmitter<Rectangle>;
1852
+ viewRect: ElementRef;
1853
+ private subscriptions;
1854
+ _selected: boolean;
1855
+ enableGrabNDrag: boolean;
1856
+ height: number;
1857
+ width: number;
1858
+ top: number;
1859
+ left: number;
1860
+ _annoRect: Rectangle;
1861
+ set annoRect(annoRect: Rectangle);
1862
+ get annoRect(): Rectangle;
1863
+ constructor(toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
1864
+ ngOnChanges(changes: SimpleChanges): void;
1865
+ ngAfterViewInit(): void;
1866
+ ngOnDestroy(): void;
1867
+ set selected(selected: boolean);
1868
+ get selected(): boolean;
1869
+ onClick(): void;
1870
+ onUpdate(viewRect: any): void;
1871
+ adjustForRotation(rotation: number): void;
1872
+ hasRectangleChanged(viewRect: any): boolean;
1873
+ static ɵfac: i0.ɵɵFactoryDeclaration<RectangleComponent, never>;
1874
+ static ɵcmp: i0.ɵɵComponentDeclaration<RectangleComponent, "mv-anno-rectangle", never, { "color": { "alias": "color"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "annoRect": { "alias": "annoRect"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectEvent": "selectEvent"; "updateEvent": "updateEvent"; }, never, never, false, never>;
1875
+ }
1876
+
1877
+ declare class CommentSetHeaderComponent implements OnInit, OnDestroy {
1878
+ private store;
1879
+ private commentService;
1880
+ toolbarEvents: ToolbarEventService;
1881
+ readonly icpEventService: IcpEventService;
1882
+ showCommentSummary: boolean;
1883
+ isHidden: boolean;
1884
+ readonly showCommentSummaryDialog: EventEmitter<any>;
1885
+ marginToComment: boolean;
1886
+ tabs: {
1887
+ isFiltered?: boolean;
1888
+ label: string;
1889
+ }[];
1890
+ tabSelected: string;
1891
+ isFiltered: boolean;
1892
+ navigationList: Annotation[];
1893
+ $subscriptions: Subscription;
1894
+ constructor(store: Store<State>, commentService: CommentService, toolbarEvents: ToolbarEventService, icpEventService: IcpEventService);
1895
+ ngOnInit(): void;
1896
+ toggleCommentsSummary(): void;
1897
+ selectTab(tab: string): void;
1898
+ toggleCommentsPanel(): void;
1899
+ ngOnDestroy(): void;
1900
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentSetHeaderComponent, never>;
1901
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentSetHeaderComponent, "mv-comment-set-header", never, { "showCommentSummary": { "alias": "showCommentSummary"; "required": false; }; "isHidden": { "alias": "isHidden"; "required": false; }; }, { "showCommentSummaryDialog": "showCommentSummaryDialog"; }, never, never, false, never>;
1902
+ }
1903
+
1904
+ declare class CommentSearchComponent implements AfterViewInit, OnDestroy {
1905
+ private store;
1906
+ annotations: Annotation[];
1907
+ searchInput: ElementRef<HTMLInputElement>;
1908
+ searchString: string;
1909
+ searchResults: Annotation[];
1910
+ searchIndex: number;
1911
+ constructor(store: Store<AnnotationSetState>);
1912
+ ngAfterViewInit(): void;
1913
+ ngOnDestroy(): void;
1914
+ searchComments(searchText: string): void;
1915
+ clearSearch(): void;
1916
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentSearchComponent, never>;
1917
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentSearchComponent, "mv-comment-search", never, { "annotations": { "alias": "annotations"; "required": false; }; }, {}, never, never, false, never>;
1918
+ }
1919
+
1920
+ declare class TextHighlightDirective implements AfterViewChecked {
1921
+ private element;
1922
+ textToHighlight: string;
1923
+ constructor(element: ElementRef<HTMLElement>);
1924
+ ngAfterViewChecked(): void;
1925
+ highlightInputText(textToHighlight: string): void;
1926
+ resetHighlight(): void;
1927
+ private highlightPattern;
1928
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextHighlightDirective, never>;
1929
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextHighlightDirective, "[mvTextHighlight]", never, { "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, {}, never, never, false, never>;
1930
+ }
1931
+
1932
+ declare class CtxToolbarComponent implements OnChanges {
1933
+ readonly defaultHeight: any;
1934
+ readonly defaultWidth: any;
1935
+ zoom: any;
1936
+ rotate: any;
1937
+ pageHeight: number;
1938
+ pageWidth: number;
1939
+ canHighlight: boolean;
1940
+ canBookmark: boolean;
1941
+ canComment: boolean;
1942
+ canDelete: boolean;
1943
+ createHighlightEvent: EventEmitter<any>;
1944
+ deleteHighlightEvent: EventEmitter<any>;
1945
+ addOrEditCommentEvent: EventEmitter<any>;
1946
+ createBookmarkEvent: EventEmitter<Rectangle>;
1947
+ rectangle: Rectangle;
1948
+ _rectangles: Rectangle[];
1949
+ top: number;
1950
+ left: number;
1951
+ constructor();
1952
+ ngOnChanges(changes: SimpleChanges): void;
1953
+ set rectangles(rectangles: Rectangle[]);
1954
+ get rectangles(): Rectangle[];
1955
+ createHighlight(): void;
1956
+ deleteHighlight(): void;
1957
+ addOrEditComment(): void;
1958
+ createBookmark(): void;
1959
+ setRectangle(): void;
1960
+ popupTop(): any;
1961
+ popupLeft(): number;
1962
+ static ɵfac: i0.ɵɵFactoryDeclaration<CtxToolbarComponent, never>;
1963
+ static ɵcmp: i0.ɵɵComponentDeclaration<CtxToolbarComponent, "mv-ctx-toolbar", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "canHighlight": { "alias": "canHighlight"; "required": false; }; "canBookmark": { "alias": "canBookmark"; "required": false; }; "canComment": { "alias": "canComment"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "rectangles": { "alias": "rectangles"; "required": false; }; }, { "createHighlightEvent": "createHighlightEvent"; "deleteHighlightEvent": "deleteHighlightEvent"; "addOrEditCommentEvent": "addOrEditCommentEvent"; "createBookmarkEvent": "createBookmarkEvent"; }, never, never, false, never>;
1964
+ }
1965
+
1966
+ declare class CommentsNavigateComponent implements OnChanges {
1967
+ private store;
1968
+ readonly toolbarEvents: ToolbarEventService;
1969
+ annotationList: Annotation[];
1970
+ autoSelect: boolean;
1971
+ navigationList: any[];
1972
+ index: number;
1973
+ constructor(store: Store<AnnotationSetState>, toolbarEvents: ToolbarEventService);
1974
+ ngOnChanges(changes: SimpleChanges): void;
1975
+ initNavigationList(): void;
1976
+ sortComments(mappedCommentA: any, mappedCommentB: any): number;
1977
+ nextItem(): void;
1978
+ prevItem(): void;
1979
+ upperRectangle(rectangles: Rectangle[]): {
1980
+ x: number;
1981
+ y: number;
1982
+ };
1983
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentsNavigateComponent, never>;
1984
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentsNavigateComponent, "mv-comments-navigate", never, { "annotationList": { "alias": "annotationList"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; }, {}, never, never, false, never>;
1985
+ }
1986
+
1987
+ declare class TextareaAutoExpandDirective implements AfterContentChecked {
1988
+ private el;
1989
+ constructor(el: ElementRef);
1990
+ ngAfterContentChecked(): void;
1991
+ onMouseDown(): void;
1992
+ adjustHeight(): void;
1993
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextareaAutoExpandDirective, never>;
1994
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextareaAutoExpandDirective, "[mvTextAreaAutoExpand]", never, {}, {}, never, never, false, never>;
1995
+ }
1996
+
1997
+ declare class CommentsSummaryComponent implements OnInit, OnDestroy {
1998
+ private store;
1999
+ private readonly printService;
2000
+ private readonly toolbarEvents;
2001
+ private fb;
2002
+ title: string;
2003
+ contentType: string;
2004
+ container: ElementRef;
2005
+ commentsTable: ElementRef;
2006
+ comments$: Observable<any>;
2007
+ filtersFg: FormGroup;
2008
+ private $subscriptions;
2009
+ allTags$: Observable<{
2010
+ key: string;
2011
+ length: number;
2012
+ }[]>;
2013
+ showFilters: boolean;
2014
+ hasFilter: boolean;
2015
+ fromFilterValid: boolean;
2016
+ toFilterValid: boolean;
2017
+ constructor(store: Store<AnnotationSetState>, printService: PrintService, toolbarEvents: ToolbarEventService, fb: FormBuilder);
2018
+ ngOnInit(): void;
2019
+ buildCheckBoxForm(): void;
2020
+ onClearFilters(): void;
2021
+ onFilter(): void;
2022
+ onFiltersToggle(): void;
2023
+ onClose(): void;
2024
+ onPrint(): void;
2025
+ navigateToPage(pageNumber: number): void;
2026
+ ngOnDestroy(): void;
2027
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentsSummaryComponent, never>;
2028
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentsSummaryComponent, "mv-comments-summary", never, { "title": { "alias": "title"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; }, {}, never, never, false, never>;
2029
+ }
2030
+
2031
+ declare class TagsComponent {
2032
+ private tagsServices;
2033
+ tagItems: TagsModel[];
2034
+ userId: string;
2035
+ editable: boolean;
2036
+ annoId: string;
2037
+ validators: (((control: UntypedFormControl) => {
2038
+ minLength: boolean;
2039
+ }) | ((control: UntypedFormControl) => {
2040
+ maxLength20: boolean;
2041
+ }))[];
2042
+ errorMessages: {
2043
+ [id: string]: string;
2044
+ };
2045
+ constructor(tagsServices: TagsServices);
2046
+ onUpdateTags(value: any): void;
2047
+ requestAutocompleteItems: (text: string) => Observable<any[]>;
2048
+ private minLength;
2049
+ private maxLength20;
2050
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagsComponent, never>;
2051
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagsComponent, "mv-tags", never, { "tagItems": { "alias": "tagItems"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "annoId": { "alias": "annoId"; "required": false; }; }, {}, never, never, false, never>;
2052
+ }
2053
+
2054
+ /**
2055
+ * A moment timezone pipe to support parsing based on time zone abbreviations
2056
+ * covers all cases of offset variation due to daylight saving.
2057
+ *
2058
+ * Same API as DatePipe with additional timezone abbreviation support
2059
+ * Official date pipe dropped support for abbreviations names from Angular V5
3
2060
  */
4
- /// <amd-module name="@hmcts/media-viewer" />
5
- export * from './public_api';
6
- //# sourceMappingURL=hmcts-media-viewer.d.ts.map
2061
+ declare class MomentDatePipe extends DatePipe implements PipeTransform {
2062
+ transform(value: string | Date, format?: string, timezone?: string): any;
2063
+ static ɵfac: i0.ɵɵFactoryDeclaration<MomentDatePipe, never>;
2064
+ static ɵpipe: i0.ɵɵPipeDeclaration<MomentDatePipe, "momentDate", false>;
2065
+ }
2066
+
2067
+ declare class CommentFilterComponent implements OnInit, OnDestroy {
2068
+ private store;
2069
+ private fb;
2070
+ tagGroup: UntypedFormGroup;
2071
+ $subscriptions: Subscription;
2072
+ filter$: Observable<string[]>;
2073
+ allTags$: Observable<any>;
2074
+ searchValue: string;
2075
+ isPreview: boolean;
2076
+ constructor(store: Store<State>, fb: UntypedFormBuilder);
2077
+ ngOnInit(): void;
2078
+ buildFrom(): void;
2079
+ onClearFilters(): void;
2080
+ ngOnDestroy(): void;
2081
+ onRemoveFilter(tagName: any): void;
2082
+ onToggleFilterView(): void;
2083
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentFilterComponent, never>;
2084
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentFilterComponent, "mv-comment-filter", never, {}, {}, never, never, false, never>;
2085
+ }
2086
+
2087
+ declare class FilterPipe implements PipeTransform {
2088
+ transform(items: any[], searchText: string, fieldName: string): any[];
2089
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterPipe, never>;
2090
+ static ɵpipe: i0.ɵɵPipeDeclaration<FilterPipe, "filter", false>;
2091
+ }
2092
+
2093
+ declare class UnsnakePipe implements PipeTransform {
2094
+ transform(items: string): string;
2095
+ static ɵfac: i0.ɵɵFactoryDeclaration<UnsnakePipe, never>;
2096
+ static ɵpipe: i0.ɵɵPipeDeclaration<UnsnakePipe, "unsnake", false>;
2097
+ }
2098
+
2099
+ declare class GovUkDateComponent {
2100
+ config: {
2101
+ id: string;
2102
+ legend: string;
2103
+ };
2104
+ errorMessage: {
2105
+ isInvalid: boolean;
2106
+ messages: string[];
2107
+ };
2108
+ formGroup: any;
2109
+ static ɵfac: i0.ɵɵFactoryDeclaration<GovUkDateComponent, never>;
2110
+ static ɵcmp: i0.ɵɵComponentDeclaration<GovUkDateComponent, "mv-gov-uk-date", never, { "config": { "alias": "config"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, false, never>;
2111
+ }
2112
+
2113
+ declare class GovUkErrorMessageComponent {
2114
+ constructor();
2115
+ config: {
2116
+ id: string;
2117
+ };
2118
+ errorMessage: any;
2119
+ static ɵfac: i0.ɵɵFactoryDeclaration<GovUkErrorMessageComponent, never>;
2120
+ static ɵcmp: i0.ɵɵComponentDeclaration<GovUkErrorMessageComponent, " mv-gov-uk-error-message", never, { "config": { "alias": "config"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, never, false, never>;
2121
+ }
2122
+
2123
+ declare class GovUkFieldsetComponent {
2124
+ config: {
2125
+ legend: string;
2126
+ classes: string;
2127
+ id: string;
2128
+ hint: string;
2129
+ key: string;
2130
+ };
2131
+ isHeading: boolean;
2132
+ errorMessage: string[];
2133
+ setDescribedBy(): string;
2134
+ static ɵfac: i0.ɵɵFactoryDeclaration<GovUkFieldsetComponent, never>;
2135
+ static ɵcmp: i0.ɵɵComponentDeclaration<GovUkFieldsetComponent, "mv-gov-uk-fieldset", never, { "config": { "alias": "config"; "required": false; }; "isHeading": { "alias": "isHeading"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, {}, never, ["*"], false, never>;
2136
+ }
2137
+
2138
+ declare class GovUkLabelComponent {
2139
+ constructor();
2140
+ config: {
2141
+ label: string;
2142
+ name: string;
2143
+ id: string;
2144
+ isPageHeading: any;
2145
+ classes: string;
2146
+ };
2147
+ static ɵfac: i0.ɵɵFactoryDeclaration<GovUkLabelComponent, never>;
2148
+ static ɵcmp: i0.ɵɵComponentDeclaration<GovUkLabelComponent, "mv-gov-label", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
2149
+ }
2150
+
2151
+ declare class SharedModule {
2152
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
2153
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof GovUkDateComponent, typeof GovUkErrorMessageComponent, typeof GovUkFieldsetComponent, typeof GovUkLabelComponent], [typeof i5.CommonModule, typeof i22.FormsModule, typeof i22.ReactiveFormsModule, typeof i5.CommonModule, typeof i11.RouterModule], [typeof GovUkDateComponent, typeof GovUkErrorMessageComponent, typeof GovUkFieldsetComponent, typeof GovUkLabelComponent]>;
2154
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
2155
+ }
2156
+
2157
+ declare class AnnotationsModule {
2158
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationsModule, never>;
2159
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnnotationsModule, [typeof MetadataLayerComponent, typeof AnnotationViewComponent, typeof BoxHighlightCreateComponent, typeof AnnotationSetComponent, typeof RectangleComponent, typeof CommentComponent, typeof CommentSetHeaderComponent, typeof CommentSearchComponent, typeof TextHighlightDirective, typeof CtxToolbarComponent, typeof CommentSetComponent, typeof CommentsNavigateComponent, typeof TextareaAutoExpandDirective, typeof CommentsSummaryComponent, typeof TagsComponent, typeof MomentDatePipe, typeof CommentFilterComponent, typeof FilterPipe, typeof UnsnakePipe], [typeof i20.A11yModule, typeof i5.CommonModule, typeof i22.FormsModule, typeof i23.HttpClientModule, typeof i24.MutableDivModule, typeof i25.TagInputModule, typeof i11.RouterModule, typeof i22.ReactiveFormsModule, typeof i27.NgxDatatableModule, typeof SharedModule, typeof i29.RpxTranslationModule], [typeof AnnotationViewComponent, typeof BoxHighlightCreateComponent, typeof AnnotationSetComponent, typeof CommentSetComponent, typeof CommentSetHeaderComponent, typeof CommentSearchComponent, typeof CommentsSummaryComponent, typeof TagsComponent, typeof CommentFilterComponent, typeof MomentDatePipe, typeof FilterPipe, typeof UnsnakePipe, typeof MetadataLayerComponent]>;
2160
+ static ɵinj: i0.ɵɵInjectorDeclaration<AnnotationsModule>;
2161
+ }
2162
+
2163
+ declare class MediaViewerModule {
2164
+ static ɵfac: i0.ɵɵFactoryDeclaration<MediaViewerModule, never>;
2165
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MediaViewerModule, [typeof PdfViewerComponent, typeof SideBarComponent, typeof BookmarksComponent, typeof OutlineItemComponent, typeof ImageViewerComponent, typeof UnsupportedViewerComponent, typeof MultimediaPlayerComponent, typeof MediaViewerComponent, typeof ConvertibleContentViewerComponent, typeof GrabNDragDirective, typeof RotationPersistDirective, typeof HighlightCreateDirective, typeof ConfirmActionDialogComponent, typeof RedactionComponent, typeof BookmarkIconsComponent, typeof ParticipantsListComponent], [typeof i5.CommonModule, typeof i23.HttpClientModule, typeof ToolbarModule, typeof AnnotationsModule, typeof i25.TagInputModule, typeof i22.FormsModule, typeof i22.ReactiveFormsModule, typeof i11.RouterModule, typeof _ngrx_store.StoreFeatureModule, typeof _ngrx_effects.EffectsFeatureModule, typeof i24.MutableDivModule, typeof i27$1.CdkTreeModule, typeof i28.DragDropModule, typeof i29.RpxTranslationModule], [typeof MediaViewerComponent]>;
2166
+ static ɵinj: i0.ɵɵInjectorDeclaration<MediaViewerModule>;
2167
+ }
2168
+
2169
+ declare const getAnnotationsSetState: _ngrx_store.MemoizedSelector<object, AnnotationSetState, (s1: State) => AnnotationSetState>;
2170
+ declare const getAnnotationEntities: _ngrx_store.MemoizedSelector<object, {
2171
+ [id: string]: any;
2172
+ }, (s1: AnnotationSetState) => {
2173
+ [id: string]: any;
2174
+ }>;
2175
+ declare const getSet: _ngrx_store.MemoizedSelector<object, any, (s1: AnnotationSetState) => any>;
2176
+ declare const getDocumentIdSetId: _ngrx_store.MemoizedSelector<object, {
2177
+ documentId: any;
2178
+ annotationSetId: any;
2179
+ }, (s1: any) => {
2180
+ documentId: any;
2181
+ annotationSetId: any;
2182
+ }>;
2183
+ declare const getAnnotationSet: _ngrx_store.MemoizedSelector<object, any, (s1: {
2184
+ [id: string]: any;
2185
+ }, s2: any) => any>;
2186
+ declare const getSelectedAnnotation: _ngrx_store.MemoizedSelector<object, SelectionAnnotation, (s1: AnnotationSetState) => SelectionAnnotation>;
2187
+ declare const getCommentEntities: _ngrx_store.MemoizedSelector<object, {
2188
+ [id: string]: Comment;
2189
+ }, (s1: AnnotationSetState) => {
2190
+ [id: string]: Comment;
2191
+ }>;
2192
+ declare const getPageEntities: _ngrx_store.MemoizedSelector<object, {
2193
+ [id: string]: Annotation[];
2194
+ }, (s1: AnnotationSetState) => {
2195
+ [id: string]: Annotation[];
2196
+ }>;
2197
+ declare const getComponentSearchQueries: _ngrx_store.MemoizedSelector<object, {
2198
+ commentSearch: string;
2199
+ }, (s1: AnnotationSetState) => {
2200
+ commentSearch: string;
2201
+ }>;
2202
+ declare const getComponentSearchText: _ngrx_store.MemoizedSelector<object, string, (s1: {
2203
+ commentSearch: string;
2204
+ }) => string>;
2205
+ declare const getCommentSummaryFilters: _ngrx_store.MemoizedSelector<object, {
2206
+ hasFilter: boolean;
2207
+ filters: Filters;
2208
+ }, (s1: AnnotationSetState) => {
2209
+ hasFilter: boolean;
2210
+ filters: Filters;
2211
+ }>;
2212
+ declare const getAnnoPerPage: _ngrx_store.MemoizedSelector<object, any[], (s1: {
2213
+ [id: string]: DocumentPages;
2214
+ }, s2: {
2215
+ [id: string]: Annotation[];
2216
+ }, s3: {
2217
+ [id: string]: Annotation[];
2218
+ }) => any[]>;
2219
+ declare const getCommentsArray: _ngrx_store.MemoizedSelector<object, {
2220
+ page: any;
2221
+ pages: {
2222
+ [id: string]: DocumentPages;
2223
+ };
2224
+ annotationId: string;
2225
+ content: string;
2226
+ tags: TagsModel[];
2227
+ pageHeight: number;
2228
+ selected: boolean;
2229
+ editable: boolean;
2230
+ id: string;
2231
+ createdBy: string;
2232
+ createdByDetails: User;
2233
+ createdDate: string;
2234
+ lastModifiedBy: string;
2235
+ lastModifiedByDetails: User;
2236
+ lastModifiedDate: string;
2237
+ }[], (s1: {
2238
+ [id: string]: Comment;
2239
+ }, s2: {
2240
+ [id: string]: DocumentPages;
2241
+ }, s3: {
2242
+ [id: string]: any;
2243
+ }, s4: {
2244
+ [id: string]: string[];
2245
+ }) => {
2246
+ page: any;
2247
+ pages: {
2248
+ [id: string]: DocumentPages;
2249
+ };
2250
+ annotationId: string;
2251
+ content: string;
2252
+ tags: TagsModel[];
2253
+ pageHeight: number;
2254
+ selected: boolean;
2255
+ editable: boolean;
2256
+ id: string;
2257
+ createdBy: string;
2258
+ createdByDetails: User;
2259
+ createdDate: string;
2260
+ lastModifiedBy: string;
2261
+ lastModifiedByDetails: User;
2262
+ lastModifiedDate: string;
2263
+ }[]>;
2264
+ declare const getCommentSummary: _ngrx_store.MemoizedSelector<object, string[] | {
2265
+ page: number;
2266
+ user: string;
2267
+ date: string;
2268
+ tags: TagsModel[];
2269
+ comment: string;
2270
+ }[], (s1: {
2271
+ page: any;
2272
+ pages: {
2273
+ [id: string]: DocumentPages;
2274
+ };
2275
+ annotationId: string;
2276
+ content: string;
2277
+ tags: TagsModel[];
2278
+ pageHeight: number;
2279
+ selected: boolean;
2280
+ editable: boolean;
2281
+ id: string;
2282
+ createdBy: string;
2283
+ createdByDetails: User;
2284
+ createdDate: string;
2285
+ lastModifiedBy: string;
2286
+ lastModifiedByDetails: User;
2287
+ lastModifiedDate: string;
2288
+ }[], s2: {
2289
+ hasFilter: boolean;
2290
+ filters: Filters;
2291
+ }) => string[] | {
2292
+ page: number;
2293
+ user: string;
2294
+ date: string;
2295
+ tags: TagsModel[];
2296
+ comment: string;
2297
+ }[]>;
2298
+ declare const getFilteredAnnotations: _ngrx_store.MemoizedSelector<object, any[], (s1: {
2299
+ [id: string]: any;
2300
+ }, s2: {
2301
+ [id: string]: string[];
2302
+ }) => any[]>;
2303
+
2304
+ declare class AnnotationEffects {
2305
+ private actions$;
2306
+ private annotationApiService;
2307
+ constructor(actions$: Actions, annotationApiService: AnnotationApiService);
2308
+ loadAnnotation$: rxjs.Observable<LoadAnnotationSetSucess | LoadAnnotationSetFail> & _ngrx_effects.CreateEffectMetadata;
2309
+ postAnnotation$: rxjs.Observable<LoadAnnotationSetFail | SaveAnnotationSuccess> & _ngrx_effects.CreateEffectMetadata;
2310
+ deleteAnnotation$: rxjs.Observable<DeleteAnnotationSuccess | DeleteAnnotationFail> & _ngrx_effects.CreateEffectMetadata;
2311
+ saveAnnotationSet$: rxjs.Observable<SaveAnnotationSetSuccess | SaveAnnotationSetFail> & _ngrx_effects.CreateEffectMetadata;
2312
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationEffects, never>;
2313
+ static ɵprov: i0.ɵɵInjectableDeclaration<AnnotationEffects>;
2314
+ }
2315
+
2316
+ export { ADD_OR_EDIT_COMMENT, APPLY_COMMENT_SUMMARY_FILTER, AddOrEditComment, AnnotationApiService, AnnotationEffects, AnnotationSetComponent, AnnotationViewComponent, AnnotationsModule, ApplyCommentSymmaryFilter, BoxHighlightCreateComponent, CLEAR_COMMENT_SUMMARY_FILTER, ClearCommentSummaryFilters, CommentFilterComponent, CommentSearchComponent, CommentSetComponent, CommentSetHeaderComponent, CommentsSummaryComponent, DELETE_ANNOTATION, DELETE_ANNOTATION_FAIL, DELETE_ANNOTATION_SUCCESS, DeleteAnnotation, DeleteAnnotationFail, DeleteAnnotationSuccess, FilterPipe, HighlightToolbarComponent, IcpToolbarComponent, LOAD_ANNOTATION_SET, LOAD_ANNOTATION_SET_FAIL, LOAD_ANNOTATION_SET_SUCCESS, LoadAnnotationSet, LoadAnnotationSetFail, LoadAnnotationSetSucess, MainToolbarComponent, MediaViewerComponent, MediaViewerModule, MetadataLayerComponent, MomentDatePipe, RedactionSearchBarComponent, RedactionToolbarComponent, ResponseType, SAVE_ANNOTATION, SAVE_ANNOTATION_FAIL, SAVE_ANNOTATION_SET, SAVE_ANNOTATION_SET_FAIL, SAVE_ANNOTATION_SET_SUCCESS, SAVE_ANNOTATION_SUCCESS, SEARCH_COMMENT, SELECT_ANNOTATION, SaveAnnotation, SaveAnnotationFail, SaveAnnotationSet, SaveAnnotationSetFail, SaveAnnotationSetSuccess, SaveAnnotationSuccess, SearchBarComponent, SearchComment, SelectedAnnotation, TagsComponent, ToolbarButtonVisibilityService, ToolbarModule, UnsnakePipe, ViewerException, commentSearchQ, getAnnoEnt, getAnnoPageEnt, getAnnoPerPage, getAnnoSet, getAnnotationEntities, getAnnotationSet, getAnnotationsSetState, getCommentEntities, getCommentEnts, getCommentSummary, getCommentSummaryFilters, getCommentsArray, getComponentSearchQueries, getComponentSearchText, getDocumentIdSetId, getFilteredAnnotations, getPageEntities, getSelectedAnno, getSelectedAnnotation, getSet, getSummaryFilters, initialState, reducer };
2317
+ export type { AnnotationSetState, AnnotationsActions, ExceptionDetail };
2318
+ //# sourceMappingURL=index.d.ts.map