@hmcts/media-viewer 4.0.8 → 4.0.9

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 (147) hide show
  1. package/assets/build/pdf.min.mjs +2 -2
  2. package/assets/build/pdf.mjs +6430 -5325
  3. package/assets/build/pdf.mjs.map +1 -1
  4. package/assets/build/pdf.sandbox.min.mjs +2 -2
  5. package/assets/build/pdf.sandbox.mjs +10 -7
  6. package/assets/build/pdf.sandbox.mjs.map +1 -1
  7. package/assets/build/pdf.worker.min.mjs +2 -2
  8. package/assets/build/pdf.worker.mjs +1432 -690
  9. package/assets/build/pdf.worker.mjs.map +1 -1
  10. package/assets/pdfjs/images/altText_add.svg +3 -0
  11. package/assets/pdfjs/images/altText_add.svg:Zone.Identifier +0 -0
  12. package/assets/pdfjs/images/altText_disclaimer.svg +3 -0
  13. package/assets/pdfjs/images/altText_disclaimer.svg:Zone.Identifier +0 -0
  14. package/assets/pdfjs/images/altText_done.svg +3 -0
  15. package/assets/pdfjs/images/altText_done.svg:Zone.Identifier +0 -0
  16. package/assets/pdfjs/images/altText_spinner.svg +30 -0
  17. package/assets/pdfjs/images/altText_spinner.svg:Zone.Identifier +0 -0
  18. package/assets/pdfjs/images/altText_warning.svg +3 -0
  19. package/assets/pdfjs/images/altText_warning.svg:Zone.Identifier +0 -0
  20. package/assets/pdfjs/images/annotation-check.svg +11 -11
  21. package/assets/pdfjs/images/annotation-check.svg:Zone.Identifier +0 -0
  22. package/assets/pdfjs/images/annotation-comment.svg +16 -16
  23. package/assets/pdfjs/images/annotation-comment.svg:Zone.Identifier +0 -0
  24. package/assets/pdfjs/images/annotation-help.svg +26 -26
  25. package/assets/pdfjs/images/annotation-help.svg:Zone.Identifier +0 -0
  26. package/assets/pdfjs/images/annotation-insert.svg +10 -10
  27. package/assets/pdfjs/images/annotation-insert.svg:Zone.Identifier +0 -0
  28. package/assets/pdfjs/images/annotation-key.svg +11 -11
  29. package/assets/pdfjs/images/annotation-key.svg:Zone.Identifier +0 -0
  30. package/assets/pdfjs/images/annotation-newparagraph.svg +11 -11
  31. package/assets/pdfjs/images/annotation-newparagraph.svg:Zone.Identifier +0 -0
  32. package/assets/pdfjs/images/annotation-noicon.svg +7 -7
  33. package/assets/pdfjs/images/annotation-noicon.svg:Zone.Identifier +0 -0
  34. package/assets/pdfjs/images/annotation-note.svg +42 -42
  35. package/assets/pdfjs/images/annotation-note.svg:Zone.Identifier +0 -0
  36. package/assets/pdfjs/images/annotation-paperclip.svg +6 -0
  37. package/assets/pdfjs/images/annotation-paperclip.svg:Zone.Identifier +0 -0
  38. package/assets/pdfjs/images/annotation-paragraph.svg +16 -16
  39. package/assets/pdfjs/images/annotation-paragraph.svg:Zone.Identifier +0 -0
  40. package/assets/pdfjs/images/annotation-pushpin.svg +7 -0
  41. package/assets/pdfjs/images/annotation-pushpin.svg:Zone.Identifier +0 -0
  42. package/assets/pdfjs/images/cursor-editorFreeHighlight.svg +6 -0
  43. package/assets/pdfjs/images/cursor-editorFreeHighlight.svg:Zone.Identifier +0 -0
  44. package/assets/pdfjs/images/cursor-editorFreeText.svg +3 -0
  45. package/assets/pdfjs/images/cursor-editorFreeText.svg:Zone.Identifier +0 -0
  46. package/assets/pdfjs/images/cursor-editorInk.svg +4 -0
  47. package/assets/pdfjs/images/cursor-editorInk.svg:Zone.Identifier +0 -0
  48. package/assets/pdfjs/images/cursor-editorTextHighlight.svg +8 -0
  49. package/assets/pdfjs/images/cursor-editorTextHighlight.svg:Zone.Identifier +0 -0
  50. package/assets/pdfjs/images/editor-toolbar-delete.svg +5 -0
  51. package/assets/pdfjs/images/editor-toolbar-delete.svg:Zone.Identifier +0 -0
  52. package/assets/pdfjs/images/loading-icon.gif:Zone.Identifier +0 -0
  53. package/assets/pdfjs/images/messageBar_closingButton.svg +3 -0
  54. package/assets/pdfjs/images/messageBar_closingButton.svg:Zone.Identifier +0 -0
  55. package/assets/pdfjs/images/messageBar_warning.svg +3 -0
  56. package/assets/pdfjs/images/messageBar_warning.svg:Zone.Identifier +0 -0
  57. package/assets/pdfjs/images/toolbarButton-editorHighlight.svg +6 -0
  58. package/assets/pdfjs/images/toolbarButton-editorHighlight.svg:Zone.Identifier +0 -0
  59. package/assets/pdfjs/images/toolbarButton-menuArrow.svg +3 -0
  60. package/assets/pdfjs/images/toolbarButton-menuArrow.svg:Zone.Identifier +0 -0
  61. package/assets/pdfjs/pdf_viewer.css +2982 -272
  62. package/assets/pdfjs/pdf_viewer.css:Zone.Identifier +0 -0
  63. package/assets/sass/pdf-viewer.scss +5 -38
  64. package/assets/sass/toolbar/main.scss +4 -2
  65. package/assets/sass/toolbar/side-bar.scss +1 -0
  66. package/esm2022/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.mjs +3 -3
  67. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.mjs +3 -3
  68. package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.mjs +3 -3
  69. package/esm2022/lib/annotations/annotation-set/annotation-set.component.mjs +3 -3
  70. package/esm2022/lib/annotations/annotation-set/annotation-view/annotation-view.component.mjs +3 -3
  71. package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.mjs +3 -3
  72. package/esm2022/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.mjs +3 -3
  73. package/esm2022/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.mjs +3 -3
  74. package/esm2022/lib/annotations/annotations.module.mjs +4 -4
  75. package/esm2022/lib/annotations/comment-set/comment/comment.component.mjs +3 -3
  76. package/esm2022/lib/annotations/comment-set/comment/comment.service.mjs +3 -3
  77. package/esm2022/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.mjs +3 -3
  78. package/esm2022/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.mjs +3 -3
  79. package/esm2022/lib/annotations/comment-set/comment-navigate/comments-navigate.component.mjs +3 -3
  80. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.mjs +3 -3
  81. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.mjs +3 -3
  82. package/esm2022/lib/annotations/comment-set/comment-set-header/comment-set-header.component.mjs +3 -3
  83. package/esm2022/lib/annotations/comment-set/comment-set-render.service.mjs +3 -3
  84. package/esm2022/lib/annotations/comment-set/comment-set.component.mjs +3 -3
  85. package/esm2022/lib/annotations/comments-summary/comments-summary.component.mjs +3 -3
  86. package/esm2022/lib/annotations/pipes/date/date.pipe.mjs +3 -3
  87. package/esm2022/lib/annotations/pipes/filter/filter.pipe.mjs +3 -3
  88. package/esm2022/lib/annotations/pipes/unsnake/unsnake.pipe.mjs +3 -3
  89. package/esm2022/lib/annotations/services/annotation-api/annotation-api.service.mjs +3 -3
  90. package/esm2022/lib/annotations/services/bookmarks-api/bookmarks-api.service.mjs +3 -3
  91. package/esm2022/lib/annotations/services/tags/tags.services.mjs +3 -3
  92. package/esm2022/lib/annotations/tags/tags.component.mjs +3 -3
  93. package/esm2022/lib/bookmark/components/bookmark-icons.component.mjs +3 -3
  94. package/esm2022/lib/icp/confirm-exit/confirm-action-dialog.component.mjs +3 -3
  95. package/esm2022/lib/icp/icp-follower.service.mjs +3 -3
  96. package/esm2022/lib/icp/icp-presenter.service.mjs +3 -3
  97. package/esm2022/lib/icp/icp-session-api.service.mjs +3 -3
  98. package/esm2022/lib/icp/icp-update.service.mjs +3 -3
  99. package/esm2022/lib/icp/icp.service.mjs +3 -3
  100. package/esm2022/lib/icp/participants-list/participants-list.component.mjs +3 -3
  101. package/esm2022/lib/icp/socket.service.mjs +3 -3
  102. package/esm2022/lib/media-viewer.component.mjs +3 -3
  103. package/esm2022/lib/media-viewer.module.mjs +4 -4
  104. package/esm2022/lib/print.service.mjs +3 -3
  105. package/esm2022/lib/redaction/components/redaction.component.mjs +3 -3
  106. package/esm2022/lib/redaction/services/redaction-api.service.mjs +3 -3
  107. package/esm2022/lib/shared/gov-uk-date/gov-uk-date.component.mjs +3 -3
  108. package/esm2022/lib/shared/gov-uk-error-message/gov-uk-error-message.component.mjs +3 -3
  109. package/esm2022/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.mjs +3 -3
  110. package/esm2022/lib/shared/gov-uk-label/gov-uk-label.component.mjs +3 -3
  111. package/esm2022/lib/shared/shared.module.mjs +4 -4
  112. package/esm2022/lib/shared/util/services/number.helper.service.mjs +3 -3
  113. package/esm2022/lib/store/effects/annotation.effects.mjs +3 -3
  114. package/esm2022/lib/store/effects/bookmarks.effects.mjs +3 -3
  115. package/esm2022/lib/store/effects/document.effects.mjs +3 -3
  116. package/esm2022/lib/store/effects/icp.effects.mjs +3 -3
  117. package/esm2022/lib/store/effects/redaction.effects.mjs +3 -3
  118. package/esm2022/lib/store/reducers/annotations.reducer.mjs +2 -2
  119. package/esm2022/lib/toolbar/highlight-toolbar/highlight-toolbar.component.mjs +3 -3
  120. package/esm2022/lib/toolbar/icp-toolbar/icp-toolbar.component.mjs +3 -3
  121. package/esm2022/lib/toolbar/main-toolbar/main-toolbar.component.mjs +3 -3
  122. package/esm2022/lib/toolbar/redaction-search-bar/redaction-search-bar.component.mjs +5 -5
  123. package/esm2022/lib/toolbar/redaction-toolbar/redaction-toolbar.component.mjs +3 -3
  124. package/esm2022/lib/toolbar/search-bar/search-bar.component.mjs +3 -3
  125. package/esm2022/lib/toolbar/toolbar-button-visibility.service.mjs +3 -3
  126. package/esm2022/lib/toolbar/toolbar-event.service.mjs +3 -3
  127. package/esm2022/lib/toolbar/toolbar.module.mjs +4 -4
  128. package/esm2022/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.mjs +3 -3
  129. package/esm2022/lib/viewers/convertible-content-viewer/document-conversion-api.service.mjs +3 -3
  130. package/esm2022/lib/viewers/grab-n-drag.directive.mjs +3 -3
  131. package/esm2022/lib/viewers/image-viewer/image-viewer.component.mjs +3 -3
  132. package/esm2022/lib/viewers/multimedia-player/multimedia-player.component.mjs +3 -3
  133. package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.mjs +2 -2
  134. package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.mjs +3 -3
  135. package/esm2022/lib/viewers/pdf-viewer/pdf-viewer.component.mjs +3 -3
  136. package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.mjs +6 -6
  137. package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.mjs +3 -3
  138. package/esm2022/lib/viewers/pdf-viewer/side-bar/side-bar.component.mjs +9 -8
  139. package/esm2022/lib/viewers/rotation-persist/rotation-api.service.mjs +3 -3
  140. package/esm2022/lib/viewers/rotation-persist/rotation-persist.directive.mjs +3 -3
  141. package/esm2022/lib/viewers/unsupported-viewer/unsupported-viewer.component.mjs +3 -3
  142. package/esm2022/lib/viewers/viewer-event.service.mjs +3 -3
  143. package/esm2022/lib/viewers/viewer-util.service.mjs +3 -3
  144. package/fesm2022/hmcts-media-viewer.mjs +242 -242
  145. package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
  146. package/lib/store/reducers/annotations.reducer.d.ts.map +1 -1
  147. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"annotations.reducer.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/store/reducers/annotations.reducer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,mEAAmE,CAAC;AAC/F,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,GAAG,CAAC;IACnB,kBAAkB,EAAE;QAAC,CAAC,EAAE,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IACxC,sBAAsB,EAAE;QAAC,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,EAAE,CAAA;KAAC,CAAC;IACrD,eAAe,EAAE;QAAC,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,CAAC;IACzC,kBAAkB,EAAE,mBAAmB,CAAC;IACxC,oBAAoB,EAAE;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,qBAAqB,EAAE;QAAC,SAAS,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,CAAC;IAC9D,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,YAAY,EAAE,kBAU1B,CAAC;AAEF,wBAAgB,OAAO,CACrB,KAAK,oBAAe,EACpB,MAAM,EAAE,eAAe,CAAC,kBAAkB,GACzC,kBAAkB,CA0MpB;AAED,eAAO,MAAM,UAAU,UAAW,kBAAkB,QAAwB,CAAC;AAC7E,eAAO,MAAM,cAAc,UAAW,kBAAkB;;CAA0B,CAAC;AACnF,eAAO,MAAM,cAAc,UAAW,kBAAkB;;CAAiC,CAAC;AAC1F,eAAO,MAAM,UAAU,UAAW,kBAAkB;;CAA6B,CAAC;AAClF,eAAO,MAAM,eAAe,UAAW,kBAAkB,wBAA6B,CAAC;AACvF,eAAO,MAAM,cAAc,UAAW,kBAAkB;mBAtOf,MAAM;CAsOwC,CAAC;AACxF,eAAO,MAAM,iBAAiB,UAAW,kBAAkB;eAtOtB,OAAO;aAAW,OAAO;CAsO6B,CAAC"}
1
+ {"version":3,"file":"annotations.reducer.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/store/reducers/annotations.reducer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,eAAe,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,mEAAmE,CAAC;AAC/F,OAAO,EAAE,OAAO,EAAE,MAAM,q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CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/media-viewer",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "description": "Media Viewer",
5
5
  "keywords": [
6
6
  "Angular",
@@ -19,10 +19,10 @@
19
19
  "dependencies": {
20
20
  "@swimlane/ngx-datatable": "^20.0.0",
21
21
  "mutable-div": "^2.0.0",
22
- "pdfjs-dist": "4.3.136",
23
- "socket.io-client": "^3.1.1",
22
+ "pdfjs-dist": "^4.8.69",
23
+ "socket.io-client": "^4.8.0",
24
24
  "tslib": "^2.3.0",
25
- "uuid": "^3.4.0"
25
+ "uuid": "^11.0.3"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@angular/animations": "^17.3.8",
@@ -36,7 +36,7 @@
36
36
  "@ngrx/store": "^17.0.0",
37
37
  "@ngrx/store-devtools": "^17.0.0"
38
38
  },
39
- "packageManager": "yarn@3.8.3",
39
+ "packageManager": "yarn@3.8.5",
40
40
  "module": "fesm2022/hmcts-media-viewer.mjs",
41
41
  "typings": "index.d.ts",
42
42
  "exports": {