@hmcts/media-viewer 2.8.2 → 2.9.2
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.
- package/README.md +0 -1
- package/assets/images/icon-page.svg +52 -0
- package/assets/sass/comment.scss +1 -1
- package/assets/sass/outline-attachment.scss +6 -1
- package/assets/sass/participants-list.scss +1 -1
- package/assets/sass/rectangle.scss +1 -4
- package/assets/sass/toolbar/main-toolbar.scss +8 -8
- package/assets/sass/toolbar/redaction-toolbar.scss +10 -0
- package/bundles/hmcts-media-viewer.umd.js +3392 -10778
- package/bundles/hmcts-media-viewer.umd.js.map +1 -1
- package/bundles/hmcts-media-viewer.umd.min.js +1 -16
- package/bundles/hmcts-media-viewer.umd.min.js.map +1 -1
- package/esm2015/hmcts-media-viewer.js +20 -24
- package/esm2015/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.js +24 -103
- package/esm2015/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.js +14 -111
- package/esm2015/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.js +4 -49
- package/esm2015/lib/annotations/annotation-set/annotation-set.component.js +2 -51
- package/esm2015/lib/annotations/annotation-set/annotation-set.model.js +2 -15
- package/esm2015/lib/annotations/annotation-set/annotation-view/annotation-view.component.js +4 -74
- package/esm2015/lib/annotations/annotation-set/annotation-view/annotation.model.js +2 -29
- package/esm2015/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +5 -114
- package/esm2015/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.js +2 -21
- package/esm2015/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.js +8 -85
- package/esm2015/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.js +9 -105
- package/esm2015/lib/annotations/annotations.module.js +1 -5
- package/esm2015/lib/annotations/comment-set/comment/comment.component.js +4 -152
- package/esm2015/lib/annotations/comment-set/comment/comment.model.js +2 -27
- package/esm2015/lib/annotations/comment-set/comment/comment.service.js +3 -53
- package/esm2015/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.js +1 -37
- package/esm2015/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.js +1 -25
- package/esm2015/lib/annotations/comment-set/comment-navigate/comments-navigate.component.js +5 -63
- package/esm2015/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.js +10 -76
- package/esm2015/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.js +5 -53
- package/esm2015/lib/annotations/comment-set/comment-set-header/comment-set-header.component.js +6 -63
- package/esm2015/lib/annotations/comment-set/comment-set-render.service.js +5 -73
- package/esm2015/lib/annotations/comment-set/comment-set.component.js +11 -154
- package/esm2015/lib/annotations/comments-summary/comments-summary.component.js +8 -111
- package/esm2015/lib/annotations/models/api-persisted.model.js +2 -25
- package/esm2015/lib/annotations/models/event-select.model.js +2 -17
- package/esm2015/lib/annotations/models/tags.model.js +2 -19
- package/esm2015/lib/annotations/models/user.model.js +2 -17
- package/esm2015/lib/annotations/pipes/date/date.pipe.js +1 -12
- package/esm2015/lib/annotations/pipes/filter/filter.pipe.js +3 -17
- package/esm2015/lib/annotations/pipes/unsnake/unsnake.pipe.js +1 -9
- package/esm2015/lib/annotations/services/annotation-api/annotation-api.service.js +6 -93
- package/esm2015/lib/annotations/services/bookmarks-api/bookmarks-api.service.js +6 -69
- package/esm2015/lib/annotations/services/tags/tags.services.js +6 -54
- package/esm2015/lib/annotations/tags/tags.component.js +4 -50
- package/esm2015/lib/bookmark/components/bookmark-icons.component.js +2 -29
- package/esm2015/lib/icp/confirm-exit/confirm-action-dialog.component.js +2 -22
- package/esm2015/lib/icp/icp-follower.service.js +4 -63
- package/esm2015/lib/icp/icp-presenter.service.js +6 -69
- package/esm2015/lib/icp/icp-session-api.service.js +2 -26
- package/esm2015/lib/icp/icp-update.service.js +18 -92
- package/esm2015/lib/icp/icp.events.js +15 -0
- package/esm2015/lib/icp/icp.interfaces.js +2 -51
- package/esm2015/lib/icp/icp.service.js +18 -155
- package/esm2015/lib/icp/participants-list/participants-list.component.js +3 -43
- package/esm2015/lib/icp/socket.service.js +92 -86
- package/esm2015/lib/media-viewer.component.js +24 -196
- package/esm2015/lib/media-viewer.module.js +3 -7
- package/esm2015/lib/print.service.js +2 -18
- package/esm2015/lib/redaction/components/redaction.component.js +13 -127
- package/esm2015/lib/redaction/services/redaction-api.service.js +6 -75
- package/esm2015/lib/redaction/services/redaction.model.js +2 -19
- package/esm2015/lib/shared/gov-uk-date/gov-uk-date.component.js +2 -14
- package/esm2015/lib/shared/gov-uk-error-message/gov-uk-error-message.component.js +3 -14
- package/esm2015/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.js +2 -17
- package/esm2015/lib/shared/gov-uk-label/gov-uk-label.component.js +3 -12
- package/esm2015/lib/shared/shared.module.js +1 -5
- package/esm2015/lib/shared/util/helpers/html-templates.helper.js +1 -10
- package/esm2015/lib/shared/util/services/number.helper.service.js +4 -14
- package/esm2015/lib/store/actions/annotation.actions.js +1 -140
- package/esm2015/lib/store/actions/bookmark.actions.js +1 -150
- package/esm2015/lib/store/actions/document.actions.js +1 -130
- package/esm2015/lib/store/actions/icp.actions.js +1 -80
- package/esm2015/lib/store/actions/redaction.actions.js +1 -155
- package/esm2015/lib/store/actions/tag.actions.js +1 -30
- package/esm2015/lib/store/bookmarks-store-utils.js +17 -69
- package/esm2015/lib/store/effects/annotation.effects.js +16 -90
- package/esm2015/lib/store/effects/bookmarks.effects.js +12 -127
- package/esm2015/lib/store/effects/document.effects.js +16 -97
- package/esm2015/lib/store/effects/icp.effects.js +5 -63
- package/esm2015/lib/store/effects/index.js +1 -6
- package/esm2015/lib/store/effects/redaction.effects.js +26 -137
- package/esm2015/lib/store/models/bookmarks.interface.js +2 -57
- package/esm2015/lib/store/models/filters.interface.js +2 -17
- package/esm2015/lib/store/reducers/annotations.reducer.js +14 -129
- package/esm2015/lib/store/reducers/bookmarks.reducer.js +12 -99
- package/esm2015/lib/store/reducers/document.reducer.js +10 -129
- package/esm2015/lib/store/reducers/icp.reducer.js +6 -47
- package/esm2015/lib/store/reducers/redaction.reducer.js +7 -73
- package/esm2015/lib/store/reducers/reducers.js +7 -31
- package/esm2015/lib/store/reducers/tags.reducer.js +12 -102
- package/esm2015/lib/store/selectors/annotation.selectors.js +29 -118
- package/esm2015/lib/store/selectors/bookmark.selectors.js +12 -51
- package/esm2015/lib/store/selectors/document.selectors.js +5 -26
- package/esm2015/lib/store/selectors/icp.selectors.js +9 -38
- package/esm2015/lib/store/selectors/redaction.selectors.js +10 -45
- package/esm2015/lib/store/selectors/tag.selectors.js +6 -28
- package/esm2015/lib/store/store-utils.js +26 -156
- package/esm2015/lib/toolbar/icp-event.service.js +13 -48
- package/esm2015/lib/toolbar/icp-toolbar/icp-toolbar.component.js +4 -56
- package/esm2015/lib/toolbar/main-toolbar/main-toolbar.component.js +10 -177
- package/esm2015/lib/toolbar/redaction-toolbar/redaction-toolbar.component.js +9 -59
- package/esm2015/lib/toolbar/search-bar/search-bar.component.js +11 -85
- package/esm2015/lib/toolbar/toolbar-button-visibility.service.js +2 -46
- package/esm2015/lib/toolbar/toolbar-event.service.js +17 -174
- package/esm2015/lib/toolbar/toolbar.module.js +1 -5
- package/esm2015/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.js +5 -75
- package/esm2015/lib/viewers/convertible-content-viewer/document-conversion-api.service.js +3 -34
- package/esm2015/lib/viewers/grab-n-drag.directive.js +1 -38
- package/esm2015/lib/viewers/image-viewer/image-viewer.component.js +29 -196
- package/esm2015/lib/viewers/multimedia-player/multimedia-player.component.js +3 -55
- package/esm2015/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.js +61 -240
- package/esm2015/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +2 -40
- package/esm2015/lib/viewers/pdf-viewer/pdf-viewer.component.js +34 -302
- package/esm2015/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.js +12 -107
- package/esm2015/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.js +2 -39
- package/esm2015/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.js +16 -25
- package/esm2015/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.js +2 -31
- package/esm2015/lib/viewers/pdf-viewer/side-bar/side-bar.component.js +16 -73
- package/esm2015/lib/viewers/rotation-persist/rotation-api.service.js +2 -35
- package/esm2015/lib/viewers/rotation-persist/rotation-persist.directive.js +8 -87
- package/esm2015/lib/viewers/rotation-persist/rotation.model.js +2 -15
- package/esm2015/lib/viewers/unsupported-viewer/unsupported-viewer.component.js +4 -60
- package/esm2015/lib/viewers/viewer-event.service.js +2 -41
- package/esm2015/lib/viewers/viewer-exception.model.js +7 -32
- package/esm2015/lib/viewers/viewer-util.service.js +2 -20
- package/esm2015/public_api.js +28 -32
- package/fesm2015/hmcts-media-viewer.js +1566 -8060
- package/fesm2015/hmcts-media-viewer.js.map +1 -1
- package/hmcts-media-viewer-v2.9.2.tgz +0 -0
- package/hmcts-media-viewer.d.ts +19 -18
- package/hmcts-media-viewer.d.ts.map +1 -0
- package/hmcts-media-viewer.metadata.json +1 -1
- package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts +7 -3
- package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts +1 -0
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.ngfactory.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts +1 -0
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.ngfactory.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-set.component.d.ts +1 -0
- package/lib/annotations/annotation-set/annotation-set.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-set.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-set.model.d.ts +1 -0
- package/lib/annotations/annotation-set/annotation-set.model.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts +4 -3
- package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-view/annotation-view.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts +1 -0
- package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts +5 -2
- package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts +1 -0
- package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts.map +1 -0
- package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts +3 -1
- package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts +1 -0
- package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/annotations.module.d.ts +1 -0
- package/lib/annotations/annotations.module.d.ts.map +1 -0
- package/lib/annotations/annotations.module.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/comment.component.d.ts +7 -5
- package/lib/annotations/comment-set/comment/comment.component.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/comment.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/comment.model.d.ts +1 -0
- package/lib/annotations/comment-set/comment/comment.model.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/comment.service.d.ts +1 -0
- package/lib/annotations/comment-set/comment/comment.service.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/comment.service.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts +1 -0
- package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts +1 -0
- package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts +1 -0
- package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.d.ts +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-render.service.d.ts +1 -0
- package/lib/annotations/comment-set/comment-set-render.service.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-render.service.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set.component.d.ts +1 -0
- package/lib/annotations/comment-set/comment-set.component.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/comments-summary/comments-summary.component.d.ts +1 -1
- package/lib/annotations/comments-summary/comments-summary.component.d.ts.map +1 -0
- package/lib/annotations/comments-summary/comments-summary.component.ngfactory.d.ts.map +1 -0
- package/lib/annotations/models/api-persisted.model.d.ts +1 -0
- package/lib/annotations/models/api-persisted.model.d.ts.map +1 -0
- package/lib/annotations/models/event-select.model.d.ts +1 -0
- package/lib/annotations/models/event-select.model.d.ts.map +1 -0
- package/lib/annotations/models/tags.model.d.ts +1 -0
- package/lib/annotations/models/tags.model.d.ts.map +1 -0
- package/lib/annotations/models/user.model.d.ts +1 -0
- package/lib/annotations/models/user.model.d.ts.map +1 -0
- package/lib/annotations/pipes/date/date.pipe.d.ts +2 -1
- package/lib/annotations/pipes/date/date.pipe.d.ts.map +1 -0
- package/lib/annotations/pipes/date/date.pipe.ngfactory.d.ts.map +1 -0
- package/lib/annotations/pipes/filter/filter.pipe.d.ts +1 -0
- package/lib/annotations/pipes/filter/filter.pipe.d.ts.map +1 -0
- package/lib/annotations/pipes/filter/filter.pipe.ngfactory.d.ts.map +1 -0
- package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts +1 -0
- package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts.map +1 -0
- package/lib/annotations/pipes/unsnake/unsnake.pipe.ngfactory.d.ts.map +1 -0
- package/lib/annotations/services/annotation-api/annotation-api.service.d.ts +3 -2
- package/lib/annotations/services/annotation-api/annotation-api.service.d.ts.map +1 -0
- package/lib/annotations/services/annotation-api/annotation-api.service.ngfactory.d.ts.map +1 -0
- package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts +1 -0
- package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts.map +1 -0
- package/lib/annotations/services/bookmarks-api/bookmarks-api.service.ngfactory.d.ts.map +1 -0
- package/lib/annotations/services/tags/tags.services.d.ts +1 -0
- package/lib/annotations/services/tags/tags.services.d.ts.map +1 -0
- package/lib/annotations/services/tags/tags.services.ngfactory.d.ts.map +1 -0
- package/lib/annotations/tags/tags.component.d.ts +3 -2
- package/lib/annotations/tags/tags.component.d.ts.map +1 -0
- package/lib/annotations/tags/tags.component.ngfactory.d.ts.map +1 -0
- package/lib/bookmark/components/bookmark-icons.component.d.ts +1 -0
- package/lib/bookmark/components/bookmark-icons.component.d.ts.map +1 -0
- package/lib/bookmark/components/bookmark-icons.component.ngfactory.d.ts.map +1 -0
- package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts +1 -0
- package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts.map +1 -0
- package/lib/icp/confirm-exit/confirm-action-dialog.component.ngfactory.d.ts.map +1 -0
- package/lib/icp/icp-follower.service.d.ts +1 -0
- package/lib/icp/icp-follower.service.d.ts.map +1 -0
- package/lib/icp/icp-follower.service.ngfactory.d.ts.map +1 -0
- package/lib/icp/icp-presenter.service.d.ts +1 -0
- package/lib/icp/icp-presenter.service.d.ts.map +1 -0
- package/lib/icp/icp-presenter.service.ngfactory.d.ts.map +1 -0
- package/lib/icp/icp-session-api.service.d.ts +1 -0
- package/lib/icp/icp-session-api.service.d.ts.map +1 -0
- package/lib/icp/icp-session-api.service.ngfactory.d.ts.map +1 -0
- package/lib/icp/icp-update.service.d.ts +1 -9
- package/lib/icp/icp-update.service.d.ts.map +1 -0
- package/lib/icp/icp-update.service.ngfactory.d.ts.map +1 -0
- package/lib/icp/icp.events.d.ts +14 -0
- package/lib/icp/icp.events.d.ts.map +1 -0
- package/lib/icp/icp.interfaces.d.ts +2 -0
- package/lib/icp/icp.interfaces.d.ts.map +1 -0
- package/lib/icp/icp.service.d.ts +1 -0
- package/lib/icp/icp.service.d.ts.map +1 -0
- package/lib/icp/icp.service.ngfactory.d.ts.map +1 -0
- package/lib/icp/participants-list/participants-list.component.d.ts +1 -0
- package/lib/icp/participants-list/participants-list.component.d.ts.map +1 -0
- package/lib/icp/participants-list/participants-list.component.ngfactory.d.ts.map +1 -0
- package/lib/icp/socket.service.d.ts +14 -4
- package/lib/icp/socket.service.d.ts.map +1 -0
- package/lib/icp/socket.service.ngfactory.d.ts.map +1 -0
- package/lib/media-viewer.component.d.ts +1 -0
- package/lib/media-viewer.component.d.ts.map +1 -0
- package/lib/media-viewer.component.ngfactory.d.ts.map +1 -0
- package/lib/media-viewer.module.d.ts +1 -0
- package/lib/media-viewer.module.d.ts.map +1 -0
- package/lib/media-viewer.module.ngfactory.d.ts.map +1 -0
- package/lib/print.service.d.ts +1 -0
- package/lib/print.service.d.ts.map +1 -0
- package/lib/print.service.ngfactory.d.ts.map +1 -0
- package/lib/redaction/components/redaction.component.d.ts +1 -0
- package/lib/redaction/components/redaction.component.d.ts.map +1 -0
- package/lib/redaction/components/redaction.component.ngfactory.d.ts.map +1 -0
- package/lib/redaction/services/redaction-api.service.d.ts +1 -0
- package/lib/redaction/services/redaction-api.service.d.ts.map +1 -0
- package/lib/redaction/services/redaction-api.service.ngfactory.d.ts.map +1 -0
- package/lib/redaction/services/redaction.model.d.ts +1 -0
- package/lib/redaction/services/redaction.model.d.ts.map +1 -0
- package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts +1 -0
- package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts.map +1 -0
- package/lib/shared/gov-uk-date/gov-uk-date.component.ngfactory.d.ts.map +1 -0
- package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts +1 -0
- package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts.map +1 -0
- package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.ngfactory.d.ts.map +1 -0
- package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +1 -0
- package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts.map +1 -0
- package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.ngfactory.d.ts.map +1 -0
- package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts +1 -0
- package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts.map +1 -0
- package/lib/shared/gov-uk-label/gov-uk-label.component.ngfactory.d.ts.map +1 -0
- package/lib/shared/shared.module.d.ts +1 -0
- package/lib/shared/shared.module.d.ts.map +1 -0
- package/lib/shared/shared.module.ngfactory.d.ts.map +1 -0
- package/lib/shared/util/helpers/html-templates.helper.d.ts +1 -0
- package/lib/shared/util/helpers/html-templates.helper.d.ts.map +1 -0
- package/lib/shared/util/services/number.helper.service.d.ts +1 -0
- package/lib/shared/util/services/number.helper.service.d.ts.map +1 -0
- package/lib/shared/util/services/number.helper.service.ngfactory.d.ts.map +1 -0
- package/lib/store/actions/annotation.actions.d.ts +1 -0
- package/lib/store/actions/annotation.actions.d.ts.map +1 -0
- package/lib/store/actions/bookmark.actions.d.ts +1 -0
- package/lib/store/actions/bookmark.actions.d.ts.map +1 -0
- package/lib/store/actions/document.actions.d.ts +1 -0
- package/lib/store/actions/document.actions.d.ts.map +1 -0
- package/lib/store/actions/icp.actions.d.ts +1 -0
- package/lib/store/actions/icp.actions.d.ts.map +1 -0
- package/lib/store/actions/redaction.actions.d.ts +1 -0
- package/lib/store/actions/redaction.actions.d.ts.map +1 -0
- package/lib/store/actions/tag.actions.d.ts +1 -0
- package/lib/store/actions/tag.actions.d.ts.map +1 -0
- package/lib/store/bookmarks-store-utils.d.ts +1 -0
- package/lib/store/bookmarks-store-utils.d.ts.map +1 -0
- package/lib/store/effects/annotation.effects.d.ts +1 -0
- package/lib/store/effects/annotation.effects.d.ts.map +1 -0
- package/lib/store/effects/annotation.effects.ngfactory.d.ts.map +1 -0
- package/lib/store/effects/bookmarks.effects.d.ts +1 -0
- package/lib/store/effects/bookmarks.effects.d.ts.map +1 -0
- package/lib/store/effects/bookmarks.effects.ngfactory.d.ts.map +1 -0
- package/lib/store/effects/document.effects.d.ts +1 -0
- package/lib/store/effects/document.effects.d.ts.map +1 -0
- package/lib/store/effects/document.effects.ngfactory.d.ts.map +1 -0
- package/lib/store/effects/icp.effects.d.ts +1 -0
- package/lib/store/effects/icp.effects.d.ts.map +1 -0
- package/lib/store/effects/icp.effects.ngfactory.d.ts.map +1 -0
- package/lib/store/effects/index.d.ts +1 -0
- package/lib/store/effects/index.d.ts.map +1 -0
- package/lib/store/effects/redaction.effects.d.ts +1 -0
- package/lib/store/effects/redaction.effects.d.ts.map +1 -0
- package/lib/store/effects/redaction.effects.ngfactory.d.ts.map +1 -0
- package/lib/store/models/bookmarks.interface.d.ts +1 -0
- package/lib/store/models/bookmarks.interface.d.ts.map +1 -0
- package/lib/store/models/filters.interface.d.ts +1 -0
- package/lib/store/models/filters.interface.d.ts.map +1 -0
- package/lib/store/reducers/annotations.reducer.d.ts +1 -0
- package/lib/store/reducers/annotations.reducer.d.ts.map +1 -0
- package/lib/store/reducers/bookmarks.reducer.d.ts +1 -0
- package/lib/store/reducers/bookmarks.reducer.d.ts.map +1 -0
- package/lib/store/reducers/document.reducer.d.ts +1 -0
- package/lib/store/reducers/document.reducer.d.ts.map +1 -0
- package/lib/store/reducers/icp.reducer.d.ts +1 -0
- package/lib/store/reducers/icp.reducer.d.ts.map +1 -0
- package/lib/store/reducers/redaction.reducer.d.ts +1 -0
- package/lib/store/reducers/redaction.reducer.d.ts.map +1 -0
- package/lib/store/reducers/reducers.d.ts +2 -1
- package/lib/store/reducers/reducers.d.ts.map +1 -0
- package/lib/store/reducers/tags.reducer.d.ts +1 -0
- package/lib/store/reducers/tags.reducer.d.ts.map +1 -0
- package/lib/store/selectors/annotation.selectors.d.ts +54 -15
- package/lib/store/selectors/annotation.selectors.d.ts.map +1 -0
- package/lib/store/selectors/bookmark.selectors.d.ts +18 -7
- package/lib/store/selectors/bookmark.selectors.d.ts.map +1 -0
- package/lib/store/selectors/document.selectors.d.ts +15 -9
- package/lib/store/selectors/document.selectors.d.ts.map +1 -0
- package/lib/store/selectors/icp.selectors.d.ts +9 -8
- package/lib/store/selectors/icp.selectors.d.ts.map +1 -0
- package/lib/store/selectors/redaction.selectors.d.ts +18 -7
- package/lib/store/selectors/redaction.selectors.d.ts.map +1 -0
- package/lib/store/selectors/tag.selectors.d.ts +16 -6
- package/lib/store/selectors/tag.selectors.d.ts.map +1 -0
- package/lib/store/store-utils.d.ts +1 -0
- package/lib/store/store-utils.d.ts.map +1 -0
- package/lib/toolbar/icp-event.service.d.ts +1 -0
- package/lib/toolbar/icp-event.service.d.ts.map +1 -0
- package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts +1 -0
- package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/icp-toolbar/icp-toolbar.component.ngfactory.d.ts.map +1 -0
- package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts +1 -0
- package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/main-toolbar/main-toolbar.component.ngfactory.d.ts.map +1 -0
- package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts +2 -0
- package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.ngfactory.d.ts.map +1 -0
- package/lib/toolbar/search-bar/search-bar.component.d.ts +2 -0
- package/lib/toolbar/search-bar/search-bar.component.d.ts.map +1 -0
- package/lib/toolbar/search-bar/search-bar.component.ngfactory.d.ts.map +1 -0
- package/lib/toolbar/toolbar-button-visibility.service.d.ts +1 -0
- package/lib/toolbar/toolbar-button-visibility.service.d.ts.map +1 -0
- package/lib/toolbar/toolbar-button-visibility.service.ngfactory.d.ts.map +1 -0
- package/lib/toolbar/toolbar-event.service.d.ts +3 -0
- package/lib/toolbar/toolbar-event.service.d.ts.map +1 -0
- package/lib/toolbar/toolbar-event.service.ngfactory.d.ts.map +1 -0
- package/lib/toolbar/toolbar.module.d.ts +1 -0
- package/lib/toolbar/toolbar.module.d.ts.map +1 -0
- package/lib/toolbar/toolbar.module.ngfactory.d.ts.map +1 -0
- package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts +1 -0
- package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts.map +1 -0
- package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.ngfactory.d.ts.map +1 -0
- package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts +1 -0
- package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts.map +1 -0
- package/lib/viewers/convertible-content-viewer/document-conversion-api.service.ngfactory.d.ts.map +1 -0
- package/lib/viewers/grab-n-drag.directive.d.ts +1 -0
- package/lib/viewers/grab-n-drag.directive.d.ts.map +1 -0
- package/lib/viewers/grab-n-drag.directive.ngfactory.d.ts.map +1 -0
- package/lib/viewers/image-viewer/image-viewer.component.d.ts +5 -1
- package/lib/viewers/image-viewer/image-viewer.component.d.ts.map +1 -0
- package/lib/viewers/image-viewer/image-viewer.component.ngfactory.d.ts.map +1 -0
- package/lib/viewers/multimedia-player/multimedia-player.component.d.ts +1 -0
- package/lib/viewers/multimedia-player/multimedia-player.component.d.ts.map +1 -0
- package/lib/viewers/multimedia-player/multimedia-player.component.ngfactory.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts +5 -0
- package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts +1 -0
- package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.ngfactory.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts +6 -2
- package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/pdf-viewer.component.ngfactory.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts +2 -1
- package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.ngfactory.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts +1 -0
- package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts +7 -0
- package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.ngfactory.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.d.ts +3 -1
- package/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts +4 -0
- package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/side-bar.component.ngfactory.d.ts.map +1 -0
- package/lib/viewers/rotation-persist/rotation-api.service.d.ts +1 -0
- package/lib/viewers/rotation-persist/rotation-api.service.d.ts.map +1 -0
- package/lib/viewers/rotation-persist/rotation-api.service.ngfactory.d.ts.map +1 -0
- package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts +1 -0
- package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts.map +1 -0
- package/lib/viewers/rotation-persist/rotation-persist.directive.ngfactory.d.ts.map +1 -0
- package/lib/viewers/rotation-persist/rotation.model.d.ts +1 -0
- package/lib/viewers/rotation-persist/rotation.model.d.ts.map +1 -0
- package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts +1 -0
- package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts.map +1 -0
- package/lib/viewers/unsupported-viewer/unsupported-viewer.component.ngfactory.d.ts.map +1 -0
- package/lib/viewers/viewer-event.service.d.ts +1 -0
- package/lib/viewers/viewer-event.service.d.ts.map +1 -0
- package/lib/viewers/viewer-event.service.ngfactory.d.ts.map +1 -0
- package/lib/viewers/viewer-exception.model.d.ts +1 -0
- package/lib/viewers/viewer-exception.model.d.ts.map +1 -0
- package/lib/viewers/viewer-util.service.d.ts +1 -0
- package/lib/viewers/viewer-util.service.d.ts.map +1 -0
- package/lib/viewers/viewer-util.service.ngfactory.d.ts.map +1 -0
- package/package.json +16 -17
- package/public_api.d.ts +1 -0
- package/public_api.d.ts.map +1 -0
- package/esm5/hmcts-media-viewer.js +0 -67
- package/esm5/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.js +0 -215
- package/esm5/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.js +0 -236
- package/esm5/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.js +0 -125
- package/esm5/lib/annotations/annotation-set/annotation-set.component.js +0 -109
- package/esm5/lib/annotations/annotation-set/annotation-set.model.js +0 -15
- package/esm5/lib/annotations/annotation-set/annotation-view/annotation-view.component.js +0 -177
- package/esm5/lib/annotations/annotation-set/annotation-view/annotation.model.js +0 -29
- package/esm5/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +0 -250
- package/esm5/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.js +0 -21
- package/esm5/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.js +0 -216
- package/esm5/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.js +0 -200
- package/esm5/lib/annotations/annotations.module.js +0 -109
- package/esm5/lib/annotations/comment-set/comment/comment.component.js +0 -353
- package/esm5/lib/annotations/comment-set/comment/comment.model.js +0 -27
- package/esm5/lib/annotations/comment-set/comment/comment.service.js +0 -125
- package/esm5/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.js +0 -98
- package/esm5/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.js +0 -63
- package/esm5/lib/annotations/comment-set/comment-navigate/comments-navigate.component.js +0 -174
- package/esm5/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.js +0 -145
- package/esm5/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.js +0 -117
- package/esm5/lib/annotations/comment-set/comment-set-header/comment-set-header.component.js +0 -131
- package/esm5/lib/annotations/comment-set/comment-set-render.service.js +0 -177
- package/esm5/lib/annotations/comment-set/comment-set.component.js +0 -295
- package/esm5/lib/annotations/comments-summary/comments-summary.component.js +0 -239
- package/esm5/lib/annotations/models/api-persisted.model.js +0 -25
- package/esm5/lib/annotations/models/event-select.model.js +0 -17
- package/esm5/lib/annotations/models/tags.model.js +0 -19
- package/esm5/lib/annotations/models/user.model.js +0 -17
- package/esm5/lib/annotations/pipes/date/date.pipe.js +0 -48
- package/esm5/lib/annotations/pipes/filter/filter.pipe.js +0 -52
- package/esm5/lib/annotations/pipes/unsnake/unsnake.pipe.js +0 -28
- package/esm5/lib/annotations/services/annotation-api/annotation-api.service.js +0 -188
- package/esm5/lib/annotations/services/bookmarks-api/bookmarks-api.service.js +0 -132
- package/esm5/lib/annotations/services/tags/tags.services.js +0 -102
- package/esm5/lib/annotations/tags/tags.component.js +0 -112
- package/esm5/lib/bookmark/components/bookmark-icons.component.js +0 -55
- package/esm5/lib/icp/confirm-exit/confirm-action-dialog.component.js +0 -50
- package/esm5/lib/icp/icp-follower.service.js +0 -135
- package/esm5/lib/icp/icp-presenter.service.js +0 -135
- package/esm5/lib/icp/icp-session-api.service.js +0 -49
- package/esm5/lib/icp/icp-update.service.js +0 -165
- package/esm5/lib/icp/icp.interfaces.js +0 -51
- package/esm5/lib/icp/icp.service.js +0 -261
- package/esm5/lib/icp/participants-list/participants-list.component.js +0 -77
- package/esm5/lib/icp/socket.service.js +0 -142
- package/esm5/lib/media-viewer.component.js +0 -424
- package/esm5/lib/media-viewer.module.js +0 -110
- package/esm5/lib/print.service.js +0 -53
- package/esm5/lib/redaction/components/redaction.component.js +0 -247
- package/esm5/lib/redaction/services/redaction-api.service.js +0 -133
- package/esm5/lib/redaction/services/redaction.model.js +0 -19
- package/esm5/lib/shared/gov-uk-date/gov-uk-date.component.js +0 -37
- package/esm5/lib/shared/gov-uk-error-message/gov-uk-error-message.component.js +0 -36
- package/esm5/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.js +0 -49
- package/esm5/lib/shared/gov-uk-label/gov-uk-label.component.js +0 -33
- package/esm5/lib/shared/shared.module.js +0 -42
- package/esm5/lib/shared/util/helpers/html-templates.helper.js +0 -36
- package/esm5/lib/shared/util/services/number.helper.service.js +0 -39
- package/esm5/lib/store/actions/annotation.actions.js +0 -226
- package/esm5/lib/store/actions/bookmark.actions.js +0 -242
- package/esm5/lib/store/actions/document.actions.js +0 -210
- package/esm5/lib/store/actions/icp.actions.js +0 -130
- package/esm5/lib/store/actions/redaction.actions.js +0 -255
- package/esm5/lib/store/actions/tag.actions.js +0 -50
- package/esm5/lib/store/bookmarks-store-utils.js +0 -110
- package/esm5/lib/store/effects/annotation.effects.js +0 -128
- package/esm5/lib/store/effects/bookmarks.effects.js +0 -193
- package/esm5/lib/store/effects/document.effects.js +0 -138
- package/esm5/lib/store/effects/icp.effects.js +0 -97
- package/esm5/lib/store/effects/index.js +0 -12
- package/esm5/lib/store/effects/redaction.effects.js +0 -190
- package/esm5/lib/store/models/bookmarks.interface.js +0 -57
- package/esm5/lib/store/models/filters.interface.js +0 -17
- package/esm5/lib/store/reducers/annotations.reducer.js +0 -231
- package/esm5/lib/store/reducers/bookmarks.reducer.js +0 -170
- package/esm5/lib/store/reducers/document.reducer.js +0 -222
- package/esm5/lib/store/reducers/icp.reducer.js +0 -83
- package/esm5/lib/store/reducers/redaction.reducer.js +0 -134
- package/esm5/lib/store/reducers/reducers.js +0 -47
- package/esm5/lib/store/reducers/tags.reducer.js +0 -159
- package/esm5/lib/store/selectors/annotation.selectors.js +0 -175
- package/esm5/lib/store/selectors/bookmark.selectors.js +0 -78
- package/esm5/lib/store/selectors/document.selectors.js +0 -37
- package/esm5/lib/store/selectors/icp.selectors.js +0 -47
- package/esm5/lib/store/selectors/redaction.selectors.js +0 -65
- package/esm5/lib/store/selectors/tag.selectors.js +0 -40
- package/esm5/lib/store/store-utils.js +0 -296
- package/esm5/lib/toolbar/icp-event.service.js +0 -65
- package/esm5/lib/toolbar/icp-toolbar/icp-toolbar.component.js +0 -112
- package/esm5/lib/toolbar/main-toolbar/main-toolbar.component.js +0 -408
- package/esm5/lib/toolbar/redaction-toolbar/redaction-toolbar.component.js +0 -130
- package/esm5/lib/toolbar/search-bar/search-bar.component.js +0 -226
- package/esm5/lib/toolbar/toolbar-button-visibility.service.js +0 -146
- package/esm5/lib/toolbar/toolbar-event.service.js +0 -416
- package/esm5/lib/toolbar/toolbar.module.js +0 -50
- package/esm5/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.js +0 -168
- package/esm5/lib/viewers/convertible-content-viewer/document-conversion-api.service.js +0 -57
- package/esm5/lib/viewers/grab-n-drag.directive.js +0 -98
- package/esm5/lib/viewers/image-viewer/image-viewer.component.js +0 -402
- package/esm5/lib/viewers/multimedia-player/multimedia-player.component.js +0 -125
- package/esm5/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.js +0 -446
- package/esm5/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +0 -87
- package/esm5/lib/viewers/pdf-viewer/pdf-viewer.component.js +0 -582
- package/esm5/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.js +0 -251
- package/esm5/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.js +0 -39
- package/esm5/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.js +0 -62
- package/esm5/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.js +0 -31
- package/esm5/lib/viewers/pdf-viewer/side-bar/side-bar.component.js +0 -146
- package/esm5/lib/viewers/rotation-persist/rotation-api.service.js +0 -68
- package/esm5/lib/viewers/rotation-persist/rotation-persist.directive.js +0 -163
- package/esm5/lib/viewers/rotation-persist/rotation.model.js +0 -15
- package/esm5/lib/viewers/unsupported-viewer/unsupported-viewer.component.js +0 -120
- package/esm5/lib/viewers/viewer-event.service.js +0 -86
- package/esm5/lib/viewers/viewer-exception.model.js +0 -36
- package/esm5/lib/viewers/viewer-util.service.js +0 -44
- package/esm5/public_api.js +0 -35
- package/fesm5/hmcts-media-viewer.js +0 -14160
- package/fesm5/hmcts-media-viewer.js.map +0 -1
- package/hmcts-media-viewer-v2.8.2.tgz +0 -0
|
@@ -1,416 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import { BehaviorSubject, Subject } from 'rxjs';
|
|
7
|
-
import * as icpEvents from './icp-event.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @record
|
|
11
|
-
*/
|
|
12
|
-
export function SearchOperation() { }
|
|
13
|
-
if (false) {
|
|
14
|
-
/** @type {?} */
|
|
15
|
-
SearchOperation.prototype.searchTerm;
|
|
16
|
-
/** @type {?} */
|
|
17
|
-
SearchOperation.prototype.highlightAll;
|
|
18
|
-
/** @type {?} */
|
|
19
|
-
SearchOperation.prototype.matchCase;
|
|
20
|
-
/** @type {?} */
|
|
21
|
-
SearchOperation.prototype.wholeWord;
|
|
22
|
-
/** @type {?} */
|
|
23
|
-
SearchOperation.prototype.previous;
|
|
24
|
-
/** @type {?} */
|
|
25
|
-
SearchOperation.prototype.reset;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @record
|
|
29
|
-
*/
|
|
30
|
-
export function SearchResultsCount() { }
|
|
31
|
-
if (false) {
|
|
32
|
-
/** @type {?} */
|
|
33
|
-
SearchResultsCount.prototype.current;
|
|
34
|
-
/** @type {?} */
|
|
35
|
-
SearchResultsCount.prototype.total;
|
|
36
|
-
}
|
|
37
|
-
var ToolbarEventService = /** @class */ (function () {
|
|
38
|
-
function ToolbarEventService() {
|
|
39
|
-
this.highlightModeSubject = new BehaviorSubject(false);
|
|
40
|
-
this.drawModeSubject = new BehaviorSubject(false);
|
|
41
|
-
this.rotateSubject = new Subject();
|
|
42
|
-
this.searchSubject = new Subject();
|
|
43
|
-
this.searchResultsCountSubject = new Subject();
|
|
44
|
-
this.zoomSubject = new Subject();
|
|
45
|
-
this.stepZoomSubject = new Subject();
|
|
46
|
-
this.zoomValueSubject = new BehaviorSubject(1);
|
|
47
|
-
this.pageCountSubject = new Subject();
|
|
48
|
-
this.printSubject = new Subject();
|
|
49
|
-
this.downloadSubject = new Subject();
|
|
50
|
-
this.setCurrentPageSubject = new Subject();
|
|
51
|
-
this.setCurrentPageInputValueSubject = new Subject();
|
|
52
|
-
this.changePageByDeltaSubject = new Subject();
|
|
53
|
-
this.showCommentSummary = new BehaviorSubject(false);
|
|
54
|
-
this.grabNDrag = new BehaviorSubject(false);
|
|
55
|
-
this.saveRotationSubject = new Subject();
|
|
56
|
-
this.redactionMode = new BehaviorSubject(false);
|
|
57
|
-
this.redactionPreview = new Subject();
|
|
58
|
-
this.applyRedactToDocument = new Subject();
|
|
59
|
-
this.clearAllRedactMarkers = new Subject();
|
|
60
|
-
this.sidebarOpen = new BehaviorSubject(false);
|
|
61
|
-
this.searchBarHidden = new BehaviorSubject(true);
|
|
62
|
-
this.commentsPanelVisible = new BehaviorSubject(false);
|
|
63
|
-
this.icp = icpEvents;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Reset the stateful behaviour subjects
|
|
67
|
-
*/
|
|
68
|
-
/**
|
|
69
|
-
* Reset the stateful behaviour subjects
|
|
70
|
-
* @return {?}
|
|
71
|
-
*/
|
|
72
|
-
ToolbarEventService.prototype.reset = /**
|
|
73
|
-
* Reset the stateful behaviour subjects
|
|
74
|
-
* @return {?}
|
|
75
|
-
*/
|
|
76
|
-
function () {
|
|
77
|
-
this.setCurrentPageSubject.next(1);
|
|
78
|
-
this.zoomValueSubject.next(1);
|
|
79
|
-
this.highlightModeSubject.next(false);
|
|
80
|
-
this.drawModeSubject.next(false);
|
|
81
|
-
this.showCommentSummary.next(false);
|
|
82
|
-
};
|
|
83
|
-
// Function to inform Observers that highlightMode has been enabled
|
|
84
|
-
// Function to inform Observers that highlightMode has been enabled
|
|
85
|
-
/**
|
|
86
|
-
* @return {?}
|
|
87
|
-
*/
|
|
88
|
-
ToolbarEventService.prototype.toggleHighlightMode =
|
|
89
|
-
// Function to inform Observers that highlightMode has been enabled
|
|
90
|
-
/**
|
|
91
|
-
* @return {?}
|
|
92
|
-
*/
|
|
93
|
-
function () {
|
|
94
|
-
// Highlight and Draw states are mutually exclusive
|
|
95
|
-
if (this.highlightModeSubject.getValue() === false) {
|
|
96
|
-
this.drawModeSubject.next(false);
|
|
97
|
-
this.highlightModeSubject.next(true);
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
this.highlightModeSubject.next(false);
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
// Function to inform Observers that ToggleMode has been enabled
|
|
104
|
-
// Function to inform Observers that ToggleMode has been enabled
|
|
105
|
-
/**
|
|
106
|
-
* @return {?}
|
|
107
|
-
*/
|
|
108
|
-
ToolbarEventService.prototype.toggleDrawMode =
|
|
109
|
-
// Function to inform Observers that ToggleMode has been enabled
|
|
110
|
-
/**
|
|
111
|
-
* @return {?}
|
|
112
|
-
*/
|
|
113
|
-
function () {
|
|
114
|
-
if (this.drawModeSubject.getValue() === false) {
|
|
115
|
-
this.highlightModeSubject.next(false);
|
|
116
|
-
this.drawModeSubject.next(true);
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
this.drawModeSubject.next(false);
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* @param {?} angle
|
|
124
|
-
* @return {?}
|
|
125
|
-
*/
|
|
126
|
-
ToolbarEventService.prototype.rotate = /**
|
|
127
|
-
* @param {?} angle
|
|
128
|
-
* @return {?}
|
|
129
|
-
*/
|
|
130
|
-
function (angle) {
|
|
131
|
-
this.rotateSubject.next(angle);
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* @param {?} phrase
|
|
135
|
-
* @return {?}
|
|
136
|
-
*/
|
|
137
|
-
ToolbarEventService.prototype.search = /**
|
|
138
|
-
* @param {?} phrase
|
|
139
|
-
* @return {?}
|
|
140
|
-
*/
|
|
141
|
-
function (phrase) {
|
|
142
|
-
this.searchSubject.next(phrase);
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* @return {?}
|
|
146
|
-
*/
|
|
147
|
-
ToolbarEventService.prototype.getSearchResultsCount = /**
|
|
148
|
-
* @return {?}
|
|
149
|
-
*/
|
|
150
|
-
function () {
|
|
151
|
-
return this.searchResultsCountSubject.asObservable();
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* @param {?} value
|
|
155
|
-
* @return {?}
|
|
156
|
-
*/
|
|
157
|
-
ToolbarEventService.prototype.zoom = /**
|
|
158
|
-
* @param {?} value
|
|
159
|
-
* @return {?}
|
|
160
|
-
*/
|
|
161
|
-
function (value) {
|
|
162
|
-
this.zoomSubject.next(value);
|
|
163
|
-
};
|
|
164
|
-
/**
|
|
165
|
-
* @param {?} value
|
|
166
|
-
* @return {?}
|
|
167
|
-
*/
|
|
168
|
-
ToolbarEventService.prototype.stepZoom = /**
|
|
169
|
-
* @param {?} value
|
|
170
|
-
* @return {?}
|
|
171
|
-
*/
|
|
172
|
-
function (value) {
|
|
173
|
-
this.stepZoomSubject.next(value);
|
|
174
|
-
};
|
|
175
|
-
/**
|
|
176
|
-
* @return {?}
|
|
177
|
-
*/
|
|
178
|
-
ToolbarEventService.prototype.getZoomValue = /**
|
|
179
|
-
* @return {?}
|
|
180
|
-
*/
|
|
181
|
-
function () {
|
|
182
|
-
return this.zoomValueSubject.asObservable();
|
|
183
|
-
};
|
|
184
|
-
/**
|
|
185
|
-
* @return {?}
|
|
186
|
-
*/
|
|
187
|
-
ToolbarEventService.prototype.getPageCount = /**
|
|
188
|
-
* @return {?}
|
|
189
|
-
*/
|
|
190
|
-
function () {
|
|
191
|
-
return this.pageCountSubject.asObservable();
|
|
192
|
-
};
|
|
193
|
-
/**
|
|
194
|
-
* @return {?}
|
|
195
|
-
*/
|
|
196
|
-
ToolbarEventService.prototype.print = /**
|
|
197
|
-
* @return {?}
|
|
198
|
-
*/
|
|
199
|
-
function () {
|
|
200
|
-
this.printSubject.next();
|
|
201
|
-
};
|
|
202
|
-
/**
|
|
203
|
-
* @return {?}
|
|
204
|
-
*/
|
|
205
|
-
ToolbarEventService.prototype.download = /**
|
|
206
|
-
* @return {?}
|
|
207
|
-
*/
|
|
208
|
-
function () {
|
|
209
|
-
this.downloadSubject.next();
|
|
210
|
-
};
|
|
211
|
-
/**
|
|
212
|
-
* @param {?} value
|
|
213
|
-
* @return {?}
|
|
214
|
-
*/
|
|
215
|
-
ToolbarEventService.prototype.setPage = /**
|
|
216
|
-
* @param {?} value
|
|
217
|
-
* @return {?}
|
|
218
|
-
*/
|
|
219
|
-
function (value) {
|
|
220
|
-
this.setCurrentPageSubject.next(value);
|
|
221
|
-
};
|
|
222
|
-
/**
|
|
223
|
-
* @param {?} value
|
|
224
|
-
* @return {?}
|
|
225
|
-
*/
|
|
226
|
-
ToolbarEventService.prototype.incrementPage = /**
|
|
227
|
-
* @param {?} value
|
|
228
|
-
* @return {?}
|
|
229
|
-
*/
|
|
230
|
-
function (value) {
|
|
231
|
-
this.changePageByDeltaSubject.next(value);
|
|
232
|
-
};
|
|
233
|
-
/**
|
|
234
|
-
* @return {?}
|
|
235
|
-
*/
|
|
236
|
-
ToolbarEventService.prototype.getCurrentPageNumber = /**
|
|
237
|
-
* @return {?}
|
|
238
|
-
*/
|
|
239
|
-
function () {
|
|
240
|
-
return this.setCurrentPageInputValueSubject.asObservable();
|
|
241
|
-
};
|
|
242
|
-
/**
|
|
243
|
-
* @return {?}
|
|
244
|
-
*/
|
|
245
|
-
ToolbarEventService.prototype.getShowCommentSummary = /**
|
|
246
|
-
* @return {?}
|
|
247
|
-
*/
|
|
248
|
-
function () {
|
|
249
|
-
return this.showCommentSummary.asObservable();
|
|
250
|
-
};
|
|
251
|
-
/**
|
|
252
|
-
* @param {?} value
|
|
253
|
-
* @return {?}
|
|
254
|
-
*/
|
|
255
|
-
ToolbarEventService.prototype.toggleCommentsSummary = /**
|
|
256
|
-
* @param {?} value
|
|
257
|
-
* @return {?}
|
|
258
|
-
*/
|
|
259
|
-
function (value) {
|
|
260
|
-
this.showCommentSummary.next(value);
|
|
261
|
-
};
|
|
262
|
-
/**
|
|
263
|
-
* @return {?}
|
|
264
|
-
*/
|
|
265
|
-
ToolbarEventService.prototype.saveRotation = /**
|
|
266
|
-
* @return {?}
|
|
267
|
-
*/
|
|
268
|
-
function () {
|
|
269
|
-
this.saveRotationSubject.next();
|
|
270
|
-
};
|
|
271
|
-
/**
|
|
272
|
-
* @return {?}
|
|
273
|
-
*/
|
|
274
|
-
ToolbarEventService.prototype.toggleGrabNDrag = /**
|
|
275
|
-
* @return {?}
|
|
276
|
-
*/
|
|
277
|
-
function () {
|
|
278
|
-
this.grabNDrag.next(!this.grabNDrag.getValue());
|
|
279
|
-
};
|
|
280
|
-
/**
|
|
281
|
-
* @param {?} toggle
|
|
282
|
-
* @return {?}
|
|
283
|
-
*/
|
|
284
|
-
ToolbarEventService.prototype.toggleSideBar = /**
|
|
285
|
-
* @param {?} toggle
|
|
286
|
-
* @return {?}
|
|
287
|
-
*/
|
|
288
|
-
function (toggle) {
|
|
289
|
-
this.sidebarOpen.next(toggle);
|
|
290
|
-
};
|
|
291
|
-
/**
|
|
292
|
-
* @return {?}
|
|
293
|
-
*/
|
|
294
|
-
ToolbarEventService.prototype.toggleRedactionMode = /**
|
|
295
|
-
* @return {?}
|
|
296
|
-
*/
|
|
297
|
-
function () {
|
|
298
|
-
this.redactionMode.next(!this.redactionMode.getValue());
|
|
299
|
-
};
|
|
300
|
-
/**
|
|
301
|
-
* @param {?} viewMode
|
|
302
|
-
* @return {?}
|
|
303
|
-
*/
|
|
304
|
-
ToolbarEventService.prototype.toggleRedactionPreview = /**
|
|
305
|
-
* @param {?} viewMode
|
|
306
|
-
* @return {?}
|
|
307
|
-
*/
|
|
308
|
-
function (viewMode) {
|
|
309
|
-
this.redactionPreview.next(viewMode);
|
|
310
|
-
};
|
|
311
|
-
/**
|
|
312
|
-
* @return {?}
|
|
313
|
-
*/
|
|
314
|
-
ToolbarEventService.prototype.unmarkAll = /**
|
|
315
|
-
* @return {?}
|
|
316
|
-
*/
|
|
317
|
-
function () {
|
|
318
|
-
this.clearAllRedactMarkers.next();
|
|
319
|
-
};
|
|
320
|
-
/**
|
|
321
|
-
* @return {?}
|
|
322
|
-
*/
|
|
323
|
-
ToolbarEventService.prototype.applyRedactionToDocument = /**
|
|
324
|
-
* @return {?}
|
|
325
|
-
*/
|
|
326
|
-
function () {
|
|
327
|
-
this.applyRedactToDocument.next();
|
|
328
|
-
};
|
|
329
|
-
/**
|
|
330
|
-
* @param {?} isVisible
|
|
331
|
-
* @return {?}
|
|
332
|
-
*/
|
|
333
|
-
ToolbarEventService.prototype.toggleCommentsPanel = /**
|
|
334
|
-
* @param {?} isVisible
|
|
335
|
-
* @return {?}
|
|
336
|
-
*/
|
|
337
|
-
function (isVisible) {
|
|
338
|
-
if (isVisible) {
|
|
339
|
-
this.toggleParticipantsList(!isVisible);
|
|
340
|
-
}
|
|
341
|
-
this.commentsPanelVisible.next(isVisible);
|
|
342
|
-
};
|
|
343
|
-
/**
|
|
344
|
-
* @param {?} isVisible
|
|
345
|
-
* @return {?}
|
|
346
|
-
*/
|
|
347
|
-
ToolbarEventService.prototype.toggleParticipantsList = /**
|
|
348
|
-
* @param {?} isVisible
|
|
349
|
-
* @return {?}
|
|
350
|
-
*/
|
|
351
|
-
function (isVisible) {
|
|
352
|
-
if (isVisible) {
|
|
353
|
-
this.toggleCommentsPanel(!isVisible);
|
|
354
|
-
}
|
|
355
|
-
this.icp.participantsListVisible.next(isVisible);
|
|
356
|
-
};
|
|
357
|
-
ToolbarEventService.decorators = [
|
|
358
|
-
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
359
|
-
];
|
|
360
|
-
/** @nocollapse */ ToolbarEventService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
|
|
361
|
-
return ToolbarEventService;
|
|
362
|
-
}());
|
|
363
|
-
export { ToolbarEventService };
|
|
364
|
-
if (false) {
|
|
365
|
-
/** @type {?} */
|
|
366
|
-
ToolbarEventService.prototype.highlightModeSubject;
|
|
367
|
-
/** @type {?} */
|
|
368
|
-
ToolbarEventService.prototype.drawModeSubject;
|
|
369
|
-
/** @type {?} */
|
|
370
|
-
ToolbarEventService.prototype.rotateSubject;
|
|
371
|
-
/** @type {?} */
|
|
372
|
-
ToolbarEventService.prototype.searchSubject;
|
|
373
|
-
/** @type {?} */
|
|
374
|
-
ToolbarEventService.prototype.searchResultsCountSubject;
|
|
375
|
-
/** @type {?} */
|
|
376
|
-
ToolbarEventService.prototype.zoomSubject;
|
|
377
|
-
/** @type {?} */
|
|
378
|
-
ToolbarEventService.prototype.stepZoomSubject;
|
|
379
|
-
/** @type {?} */
|
|
380
|
-
ToolbarEventService.prototype.zoomValueSubject;
|
|
381
|
-
/** @type {?} */
|
|
382
|
-
ToolbarEventService.prototype.pageCountSubject;
|
|
383
|
-
/** @type {?} */
|
|
384
|
-
ToolbarEventService.prototype.printSubject;
|
|
385
|
-
/** @type {?} */
|
|
386
|
-
ToolbarEventService.prototype.downloadSubject;
|
|
387
|
-
/** @type {?} */
|
|
388
|
-
ToolbarEventService.prototype.setCurrentPageSubject;
|
|
389
|
-
/** @type {?} */
|
|
390
|
-
ToolbarEventService.prototype.setCurrentPageInputValueSubject;
|
|
391
|
-
/** @type {?} */
|
|
392
|
-
ToolbarEventService.prototype.changePageByDeltaSubject;
|
|
393
|
-
/** @type {?} */
|
|
394
|
-
ToolbarEventService.prototype.showCommentSummary;
|
|
395
|
-
/** @type {?} */
|
|
396
|
-
ToolbarEventService.prototype.grabNDrag;
|
|
397
|
-
/** @type {?} */
|
|
398
|
-
ToolbarEventService.prototype.saveRotationSubject;
|
|
399
|
-
/** @type {?} */
|
|
400
|
-
ToolbarEventService.prototype.redactionMode;
|
|
401
|
-
/** @type {?} */
|
|
402
|
-
ToolbarEventService.prototype.redactionPreview;
|
|
403
|
-
/** @type {?} */
|
|
404
|
-
ToolbarEventService.prototype.applyRedactToDocument;
|
|
405
|
-
/** @type {?} */
|
|
406
|
-
ToolbarEventService.prototype.clearAllRedactMarkers;
|
|
407
|
-
/** @type {?} */
|
|
408
|
-
ToolbarEventService.prototype.sidebarOpen;
|
|
409
|
-
/** @type {?} */
|
|
410
|
-
ToolbarEventService.prototype.searchBarHidden;
|
|
411
|
-
/** @type {?} */
|
|
412
|
-
ToolbarEventService.prototype.commentsPanelVisible;
|
|
413
|
-
/** @type {?} */
|
|
414
|
-
ToolbarEventService.prototype.icp;
|
|
415
|
-
}
|
|
416
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1ldmVudC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL21lZ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RzUGFuZWxWaXNpYmxlLm5leHQoaXNWaXNpYmxlKTtcbiAgfVxuXG4gIHB1YmxpYyB0b2dnbGVQYXJ0aWNpcGFudHNMaXN0KGlzVmlzaWJsZTogYm9vbGVhbikge1xuICAgIGlmIChpc1Zpc2libGUpIHtcbiAgICAgIHRoaXMudG9nZ2xlQ29tbWVudHNQYW5lbCghaXNWaXNpYmxlKTtcbiAgICB9XG4gICAgdGhpcy5pY3AucGFydGljaXBhbnRzTGlzdFZpc2libGUubmV4dChpc1Zpc2libGUpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import { MainToolbarComponent } from './main-toolbar/main-toolbar.component';
|
|
8
|
-
import { SearchBarComponent } from './search-bar/search-bar.component';
|
|
9
|
-
import { FormsModule } from '@angular/forms';
|
|
10
|
-
import { ToolbarButtonVisibilityService } from './toolbar-button-visibility.service';
|
|
11
|
-
import { ToolbarEventService } from './toolbar-event.service';
|
|
12
|
-
import { RedactionToolbarComponent } from './redaction-toolbar/redaction-toolbar.component';
|
|
13
|
-
import { IcpToolbarComponent } from './icp-toolbar/icp-toolbar.component';
|
|
14
|
-
export { ToolbarButtonVisibilityService } from './toolbar-button-visibility.service';
|
|
15
|
-
export { ToolbarEventService } from './toolbar-event.service';
|
|
16
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
17
|
-
import { RouterModule } from '@angular/router';
|
|
18
|
-
var ToolbarModule = /** @class */ (function () {
|
|
19
|
-
function ToolbarModule() {
|
|
20
|
-
}
|
|
21
|
-
ToolbarModule.decorators = [
|
|
22
|
-
{ type: NgModule, args: [{
|
|
23
|
-
declarations: [
|
|
24
|
-
SearchBarComponent,
|
|
25
|
-
MainToolbarComponent,
|
|
26
|
-
RedactionToolbarComponent,
|
|
27
|
-
IcpToolbarComponent
|
|
28
|
-
],
|
|
29
|
-
providers: [
|
|
30
|
-
ToolbarButtonVisibilityService,
|
|
31
|
-
ToolbarEventService
|
|
32
|
-
],
|
|
33
|
-
exports: [
|
|
34
|
-
MainToolbarComponent,
|
|
35
|
-
SearchBarComponent,
|
|
36
|
-
RedactionToolbarComponent,
|
|
37
|
-
IcpToolbarComponent
|
|
38
|
-
],
|
|
39
|
-
imports: [
|
|
40
|
-
CommonModule,
|
|
41
|
-
FormsModule,
|
|
42
|
-
OverlayModule,
|
|
43
|
-
RouterModule
|
|
44
|
-
]
|
|
45
|
-
},] }
|
|
46
|
-
];
|
|
47
|
-
return ToolbarModule;
|
|
48
|
-
}());
|
|
49
|
-
export { ToolbarModule };
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvbWVkaWEtdmlld2VyLyIsInNvdXJjZXMiOlsibGliL3Rvb2xiYXIvdG9vbGJhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzdFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQU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cbiAgICBTZWFyY2hCYXJDb21wb25lbnQsXG4gICAgTWFpblRvb2xiYXJDb21wb25lbnQsXG4gICAgUmVkYWN0aW9uVG9vbGJhckNvbXBvbmVudCxcbiAgICBJY3BUb29sYmFyQ29tcG9uZW50XG4gIF0sXG4gIHByb3ZpZGVyczogW1xuICAgIFRvb2xiYXJCdXR0b25WaXNpYmlsaXR5U2VydmljZSxcbiAgICBUb29sYmFyRXZlbnRTZXJ2aWNlXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBNYWluVG9vbGJhckNvbXBvbmVudCxcbiAgICBTZWFyY2hCYXJDb21wb25lbnQsXG4gICAgUmVkYWN0aW9uVG9vbGJhckNvbXBvbmVudCxcbiAgICBJY3BUb29sYmFyQ29tcG9uZW50XG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgRm9ybXNNb2R1bGUsXG4gICAgT3ZlcmxheU1vZHVsZSxcbiAgICBSb3V0ZXJNb2R1bGVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBUb29sYmFyTW9kdWxlIHsgfVxuIl19
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
6
|
-
import { ViewerException } from '../viewer-exception.model';
|
|
7
|
-
import { select, Store } from '@ngrx/store';
|
|
8
|
-
import * as fromDocumentActions from '../../store/actions/document.actions';
|
|
9
|
-
import * as fromSelectors from '../../store/selectors/document.selectors';
|
|
10
|
-
import { filter } from 'rxjs/operators';
|
|
11
|
-
var ConvertibleContentViewerComponent = /** @class */ (function () {
|
|
12
|
-
function ConvertibleContentViewerComponent(store) {
|
|
13
|
-
this.store = store;
|
|
14
|
-
this.mediaLoadStatus = new EventEmitter();
|
|
15
|
-
this.viewerException = new EventEmitter();
|
|
16
|
-
this.documentTitle = new EventEmitter();
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @return {?}
|
|
20
|
-
*/
|
|
21
|
-
ConvertibleContentViewerComponent.prototype.ngOnInit = /**
|
|
22
|
-
* @return {?}
|
|
23
|
-
*/
|
|
24
|
-
function () {
|
|
25
|
-
var _this = this;
|
|
26
|
-
this.store.dispatch(new fromDocumentActions.Convert(this.extractDMStoreDocId(this.originalUrl)));
|
|
27
|
-
this.$subscription = this.store.pipe(select(fromSelectors.getConvertedDocument), filter((/**
|
|
28
|
-
* @param {?} value
|
|
29
|
-
* @return {?}
|
|
30
|
-
*/
|
|
31
|
-
function (value) { return !!value; })))
|
|
32
|
-
.subscribe((/**
|
|
33
|
-
* @param {?} docInfo
|
|
34
|
-
* @return {?}
|
|
35
|
-
*/
|
|
36
|
-
function (docInfo) {
|
|
37
|
-
if (docInfo.url) {
|
|
38
|
-
_this.convertedUrl = docInfo.url;
|
|
39
|
-
_this.store.dispatch(new fromDocumentActions.ClearConvertDocUrl());
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
_this.onLoadException(new ViewerException(docInfo.error));
|
|
43
|
-
}
|
|
44
|
-
}));
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* @return {?}
|
|
48
|
-
*/
|
|
49
|
-
ConvertibleContentViewerComponent.prototype.ngOnDestroy = /**
|
|
50
|
-
* @return {?}
|
|
51
|
-
*/
|
|
52
|
-
function () {
|
|
53
|
-
this.$subscription.unsubscribe();
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* @param {?} status
|
|
57
|
-
* @return {?}
|
|
58
|
-
*/
|
|
59
|
-
ConvertibleContentViewerComponent.prototype.onMediaLoad = /**
|
|
60
|
-
* @param {?} status
|
|
61
|
-
* @return {?}
|
|
62
|
-
*/
|
|
63
|
-
function (status) {
|
|
64
|
-
this.mediaLoadStatus.emit(status);
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* @param {?} exception
|
|
68
|
-
* @return {?}
|
|
69
|
-
*/
|
|
70
|
-
ConvertibleContentViewerComponent.prototype.onLoadException = /**
|
|
71
|
-
* @param {?} exception
|
|
72
|
-
* @return {?}
|
|
73
|
-
*/
|
|
74
|
-
function (exception) {
|
|
75
|
-
this.viewerException.emit(exception);
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* @param {?} title
|
|
79
|
-
* @return {?}
|
|
80
|
-
*/
|
|
81
|
-
ConvertibleContentViewerComponent.prototype.onDocumentTitleChange = /**
|
|
82
|
-
* @param {?} title
|
|
83
|
-
* @return {?}
|
|
84
|
-
*/
|
|
85
|
-
function (title) {
|
|
86
|
-
this.documentTitle.emit(title);
|
|
87
|
-
};
|
|
88
|
-
// todo move this to common place for media viewer and pdf
|
|
89
|
-
// todo move this to common place for media viewer and pdf
|
|
90
|
-
/**
|
|
91
|
-
* @private
|
|
92
|
-
* @param {?} url
|
|
93
|
-
* @return {?}
|
|
94
|
-
*/
|
|
95
|
-
ConvertibleContentViewerComponent.prototype.extractDMStoreDocId =
|
|
96
|
-
// todo move this to common place for media viewer and pdf
|
|
97
|
-
/**
|
|
98
|
-
* @private
|
|
99
|
-
* @param {?} url
|
|
100
|
-
* @return {?}
|
|
101
|
-
*/
|
|
102
|
-
function (url) {
|
|
103
|
-
if (url.includes('/documents/')) {
|
|
104
|
-
url = url.split('/documents/')[1];
|
|
105
|
-
}
|
|
106
|
-
else if (url.includes('/documentsv2/')) {
|
|
107
|
-
url = url.split('/documentsv2/')[1];
|
|
108
|
-
}
|
|
109
|
-
return url.replace('/binary', '');
|
|
110
|
-
};
|
|
111
|
-
ConvertibleContentViewerComponent.decorators = [
|
|
112
|
-
{ type: Component, args: [{
|
|
113
|
-
selector: 'mv-conversion-viewer',
|
|
114
|
-
template: "<mv-pdf-viewer *ngIf=\"convertedUrl\"\n (mediaLoadStatus)=\"onMediaLoad($event)\"\n (pdfViewerException)=\"onLoadException($event)\"\n (documentTitle)=\"onDocumentTitleChange($event)\"\n [url]=\"convertedUrl\"\n [downloadUrl]=\"originalUrl\"\n [enableAnnotations]=\"enableAnnotations\"\n [enableRedactions]=\"enableRedactions\"\n [annotationSet]=\"enableAnnotations ? annotationSet : null\"\n [downloadFileName]=\"downloadFileName\"\n [height]=\"height\">\n</mv-pdf-viewer>\n",
|
|
115
|
-
encapsulation: ViewEncapsulation.None
|
|
116
|
-
}] }
|
|
117
|
-
];
|
|
118
|
-
/** @nocollapse */
|
|
119
|
-
ConvertibleContentViewerComponent.ctorParameters = function () { return [
|
|
120
|
-
{ type: Store }
|
|
121
|
-
]; };
|
|
122
|
-
ConvertibleContentViewerComponent.propDecorators = {
|
|
123
|
-
originalUrl: [{ type: Input }],
|
|
124
|
-
downloadFileName: [{ type: Input }],
|
|
125
|
-
height: [{ type: Input }],
|
|
126
|
-
enableAnnotations: [{ type: Input }],
|
|
127
|
-
enableRedactions: [{ type: Input }],
|
|
128
|
-
annotationSet: [{ type: Input }],
|
|
129
|
-
mediaLoadStatus: [{ type: Output }],
|
|
130
|
-
viewerException: [{ type: Output }],
|
|
131
|
-
documentTitle: [{ type: Output }]
|
|
132
|
-
};
|
|
133
|
-
return ConvertibleContentViewerComponent;
|
|
134
|
-
}());
|
|
135
|
-
export { ConvertibleContentViewerComponent };
|
|
136
|
-
if (false) {
|
|
137
|
-
/** @type {?} */
|
|
138
|
-
ConvertibleContentViewerComponent.prototype.originalUrl;
|
|
139
|
-
/** @type {?} */
|
|
140
|
-
ConvertibleContentViewerComponent.prototype.downloadFileName;
|
|
141
|
-
/** @type {?} */
|
|
142
|
-
ConvertibleContentViewerComponent.prototype.height;
|
|
143
|
-
/** @type {?} */
|
|
144
|
-
ConvertibleContentViewerComponent.prototype.enableAnnotations;
|
|
145
|
-
/** @type {?} */
|
|
146
|
-
ConvertibleContentViewerComponent.prototype.enableRedactions;
|
|
147
|
-
/** @type {?} */
|
|
148
|
-
ConvertibleContentViewerComponent.prototype.annotationSet;
|
|
149
|
-
/** @type {?} */
|
|
150
|
-
ConvertibleContentViewerComponent.prototype.mediaLoadStatus;
|
|
151
|
-
/** @type {?} */
|
|
152
|
-
ConvertibleContentViewerComponent.prototype.viewerException;
|
|
153
|
-
/** @type {?} */
|
|
154
|
-
ConvertibleContentViewerComponent.prototype.documentTitle;
|
|
155
|
-
/**
|
|
156
|
-
* @type {?}
|
|
157
|
-
* @private
|
|
158
|
-
*/
|
|
159
|
-
ConvertibleContentViewerComponent.prototype.$subscription;
|
|
160
|
-
/** @type {?} */
|
|
161
|
-
ConvertibleContentViewerComponent.prototype.convertedUrl;
|
|
162
|
-
/**
|
|
163
|
-
* @type {?}
|
|
164
|
-
* @private
|
|
165
|
-
*/
|
|
166
|
-
ConvertibleContentViewerComponent.prototype.store;
|
|
167
|
-
}
|
|
168
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydGlibGUtY29udGVudC12aWV3ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL21lZGlhLXZpZXdlci8iLCJzb3VyY2VzIjpbImxpYi92aWV3ZXJzL2NvbnZlcnRpYmxlLWNvbnRlbnQtdmlld2VyL2NvbnZlcnRpYmxlLWNvbnRlbnQtdmlld2VyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFxQixNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0csT0FBTyxFQUFnQixlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMxRSxPQUFPLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUU1QyxPQUFPLEtBQUssbUJBQW1CLE1BQU0s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