@hmcts/media-viewer 4.1.6-angular-20 → 4.1.7-exui-2986
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/all.scss +1 -0
- package/assets/sass/tooltip.scss +43 -0
- package/esm2022/hmcts-media-viewer.mjs +5 -0
- package/esm2022/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.mjs +122 -0
- package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.mjs +120 -0
- package/esm2022/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.mjs +101 -0
- package/esm2022/lib/annotations/annotation-set/annotation-set.component.mjs +50 -0
- package/esm2022/lib/annotations/annotation-set/annotation-set.model.mjs +2 -0
- package/esm2022/lib/annotations/annotation-set/annotation-view/annotation-view.component.mjs +94 -0
- package/esm2022/lib/annotations/annotation-set/annotation-view/annotation.model.mjs +2 -0
- package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.mjs +116 -0
- package/esm2022/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.mjs +2 -0
- package/esm2022/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.mjs +119 -0
- package/esm2022/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.mjs +86 -0
- package/esm2022/lib/annotations/annotations.module.mjs +162 -0
- package/esm2022/lib/annotations/comment-set/comment/comment.component.mjs +178 -0
- package/esm2022/lib/annotations/comment-set/comment/comment.model.mjs +2 -0
- package/esm2022/lib/annotations/comment-set/comment/comment.service.mjs +50 -0
- package/esm2022/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.mjs +47 -0
- package/esm2022/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.mjs +31 -0
- package/esm2022/lib/annotations/comment-set/comment-navigate/comments-navigate.component.mjs +91 -0
- package/esm2022/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.mjs +62 -0
- package/esm2022/lib/annotations/comment-set/comment-set-header/comment-search/comment-search.component.mjs +54 -0
- package/esm2022/lib/annotations/comment-set/comment-set-header/comment-set-header.component.mjs +72 -0
- package/esm2022/lib/annotations/comment-set/comment-set-render.service.mjs +55 -0
- package/esm2022/lib/annotations/comment-set/comment-set.component.mjs +123 -0
- package/esm2022/lib/annotations/comments-summary/comments-summary.component.mjs +120 -0
- package/esm2022/lib/annotations/models/api-persisted.model.mjs +2 -0
- package/esm2022/lib/annotations/models/event-select.model.mjs +2 -0
- package/esm2022/lib/annotations/models/tags.model.mjs +2 -0
- package/esm2022/lib/annotations/models/user.model.mjs +2 -0
- package/esm2022/lib/annotations/pipes/date/date.pipe.mjs +26 -0
- package/esm2022/lib/annotations/pipes/filter/filter.pipe.mjs +32 -0
- package/esm2022/lib/annotations/pipes/unsnake/unsnake.pipe.mjs +16 -0
- package/esm2022/lib/annotations/services/annotation-api/annotation-api.service.mjs +58 -0
- package/esm2022/lib/annotations/services/bookmarks-api/bookmarks-api.service.mjs +45 -0
- package/esm2022/lib/annotations/services/tags/tags.services.mjs +41 -0
- package/esm2022/lib/annotations/tags/tags.component.mjs +53 -0
- package/esm2022/lib/bookmark/components/bookmark-icons.component.mjs +25 -0
- package/esm2022/lib/icp/confirm-exit/confirm-action-dialog.component.mjs +22 -0
- package/esm2022/lib/icp/icp-follower.service.mjs +65 -0
- package/esm2022/lib/icp/icp-presenter.service.mjs +56 -0
- package/esm2022/lib/icp/icp-session-api.service.mjs +28 -0
- package/esm2022/lib/icp/icp-update.service.mjs +73 -0
- package/esm2022/lib/icp/icp.events.mjs +15 -0
- package/esm2022/lib/icp/icp.interfaces.mjs +2 -0
- package/esm2022/lib/icp/icp.service.mjs +98 -0
- package/esm2022/lib/icp/participants-list/participants-list.component.mjs +32 -0
- package/esm2022/lib/icp/socket.service.mjs +128 -0
- package/esm2022/lib/media-viewer.component.mjs +247 -0
- package/esm2022/lib/media-viewer.module.mjs +139 -0
- package/esm2022/lib/print.service.mjs +32 -0
- package/esm2022/lib/redaction/components/redaction.component.mjs +91 -0
- package/esm2022/lib/redaction/services/redaction-api.service.mjs +50 -0
- package/esm2022/lib/redaction/services/redaction.model.mjs +2 -0
- package/esm2022/lib/shared/gov-uk-date/gov-uk-date.component.mjs +28 -0
- package/esm2022/lib/shared/gov-uk-error-message/gov-uk-error-message.component.mjs +34 -0
- package/esm2022/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.mjs +63 -0
- package/esm2022/lib/shared/gov-uk-label/gov-uk-label.component.mjs +44 -0
- package/esm2022/lib/shared/shared.module.mjs +53 -0
- package/esm2022/lib/shared/util/helpers/html-templates.helper.mjs +29 -0
- package/esm2022/lib/shared/util/services/number.helper.service.mjs +23 -0
- package/esm2022/lib/store/actions/annotation.actions.mjs +119 -0
- package/esm2022/lib/store/actions/bookmark.actions.mjs +112 -0
- package/esm2022/lib/store/actions/document.actions.mjs +91 -0
- package/esm2022/lib/store/actions/icp.actions.mjs +56 -0
- package/esm2022/lib/store/actions/redaction.actions.mjs +132 -0
- package/esm2022/lib/store/actions/tag.actions.mjs +21 -0
- package/esm2022/lib/store/bookmarks-store-utils.mjs +49 -0
- package/esm2022/lib/store/effects/annotation.effects.mjs +51 -0
- package/esm2022/lib/store/effects/bookmarks.effects.mjs +44 -0
- package/esm2022/lib/store/effects/document.effects.mjs +44 -0
- package/esm2022/lib/store/effects/icp.effects.mjs +26 -0
- package/esm2022/lib/store/effects/index.mjs +7 -0
- package/esm2022/lib/store/effects/redaction.effects.mjs +67 -0
- package/esm2022/lib/store/models/bookmarks.interface.mjs +2 -0
- package/esm2022/lib/store/models/filters.interface.mjs +2 -0
- package/esm2022/lib/store/reducers/annotations.reducer.mjs +208 -0
- package/esm2022/lib/store/reducers/bookmarks.reducer.mjs +125 -0
- package/esm2022/lib/store/reducers/document.reducer.mjs +158 -0
- package/esm2022/lib/store/reducers/icp.reducer.mjs +56 -0
- package/esm2022/lib/store/reducers/redaction.reducer.mjs +116 -0
- package/esm2022/lib/store/reducers/reducers.mjs +23 -0
- package/esm2022/lib/store/reducers/tags.reducer.mjs +93 -0
- package/esm2022/lib/store/selectors/annotation.selectors.mjs +81 -0
- package/esm2022/lib/store/selectors/bookmark.selectors.mjs +37 -0
- package/esm2022/lib/store/selectors/document.selectors.mjs +13 -0
- package/esm2022/lib/store/selectors/icp.selectors.mjs +13 -0
- package/esm2022/lib/store/selectors/redaction.selectors.mjs +26 -0
- package/esm2022/lib/store/selectors/tag.selectors.mjs +15 -0
- package/esm2022/lib/store/store-utils.mjs +131 -0
- package/esm2022/lib/toolbar/highlight-toolbar/highlight-toolbar.component.mjs +44 -0
- package/esm2022/lib/toolbar/icp-event.service.mjs +44 -0
- package/esm2022/lib/toolbar/icp-toolbar/icp-toolbar.component.mjs +43 -0
- package/esm2022/lib/toolbar/main-toolbar/main-toolbar.component.mjs +206 -0
- package/esm2022/lib/toolbar/redaction-search-bar/redaction-search-bar.component.mjs +237 -0
- package/esm2022/lib/toolbar/redaction-search-bar/redaction-search.model.mjs +2 -0
- package/esm2022/lib/toolbar/redaction-toolbar/redaction-toolbar.component.mjs +68 -0
- package/esm2022/lib/toolbar/search-bar/search-bar.component.mjs +109 -0
- package/esm2022/lib/toolbar/toolbar-button-visibility.service.mjs +94 -0
- package/esm2022/lib/toolbar/toolbar-event.service.mjs +178 -0
- package/esm2022/lib/toolbar/toolbar.module.mjs +72 -0
- package/esm2022/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.mjs +82 -0
- package/esm2022/lib/viewers/convertible-content-viewer/document-conversion-api.service.mjs +22 -0
- package/esm2022/lib/viewers/grab-n-drag.directive.mjs +57 -0
- package/esm2022/lib/viewers/image-viewer/image-viewer.component.mjs +166 -0
- package/esm2022/lib/viewers/multimedia-player/multimedia-player.component.mjs +59 -0
- package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.mjs +266 -0
- package/esm2022/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.mjs +40 -0
- package/esm2022/lib/viewers/pdf-viewer/pdf-viewer.component.mjs +242 -0
- package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.mjs +379 -0
- package/esm2022/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.mjs +2 -0
- package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.mjs +49 -0
- package/esm2022/lib/viewers/pdf-viewer/side-bar/outline-item/outline.model.mjs +2 -0
- package/esm2022/lib/viewers/pdf-viewer/side-bar/side-bar.component.mjs +99 -0
- package/esm2022/lib/viewers/rotation-persist/rotation-api.service.mjs +27 -0
- package/esm2022/lib/viewers/rotation-persist/rotation-persist.directive.mjs +61 -0
- package/esm2022/lib/viewers/rotation-persist/rotation.model.mjs +2 -0
- package/esm2022/lib/viewers/unsupported-viewer/unsupported-viewer.component.mjs +49 -0
- package/esm2022/lib/viewers/viewer-event.service.mjs +34 -0
- package/esm2022/lib/viewers/viewer-exception.model.mjs +13 -0
- package/esm2022/lib/viewers/viewer-util.service.mjs +20 -0
- package/esm2022/public_api.mjs +33 -0
- package/fesm2022/hmcts-media-viewer.mjs +302 -303
- package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
- package/hmcts-media-viewer.d.ts.map +1 -0
- package/index.d.ts +4 -2304
- package/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.d.ts +48 -0
- 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/highlight-create/highlight-create.directive.d.ts +32 -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.service.d.ts +18 -0
- package/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-set.component.d.ts +27 -0
- package/lib/annotations/annotation-set/annotation-set.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-set.model.d.ts +7 -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 +34 -0
- package/lib/annotations/annotation-set/annotation-view/annotation-view.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-view/annotation.model.d.ts +16 -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 +41 -0
- package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.d.ts +9 -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 +37 -0
- package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts.map +1 -0
- package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts +37 -0
- package/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.d.ts.map +1 -0
- package/lib/annotations/annotations.module.d.ts +36 -0
- package/lib/annotations/annotations.module.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/comment.component.d.ts +69 -0
- package/lib/annotations/comment-set/comment/comment.component.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/comment.model.d.ts +13 -0
- package/lib/annotations/comment-set/comment/comment.model.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/comment.service.d.ts +22 -0
- package/lib/annotations/comment-set/comment/comment.service.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts +14 -0
- package/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts +12 -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-navigate/comments-navigate.component.d.ts +28 -0
- package/lib/annotations/comment-set/comment-navigate/comments-navigate.component.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set-header/comment-filter/comment-filter.component.d.ts +26 -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-search/comment-search.component.d.ts +21 -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-set-header.component.d.ts +36 -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-render.service.d.ts +15 -0
- package/lib/annotations/comment-set/comment-set-render.service.d.ts.map +1 -0
- package/lib/annotations/comment-set/comment-set.component.d.ts +56 -0
- package/lib/annotations/comment-set/comment-set.component.d.ts.map +1 -0
- package/lib/annotations/comments-summary/comments-summary.component.d.ts +42 -0
- package/lib/annotations/comments-summary/comments-summary.component.d.ts.map +1 -0
- package/lib/annotations/models/api-persisted.model.d.ts +11 -0
- package/lib/annotations/models/api-persisted.model.d.ts.map +1 -0
- package/lib/annotations/models/event-select.model.d.ts +6 -0
- package/lib/annotations/models/event-select.model.d.ts.map +1 -0
- package/lib/annotations/models/tags.model.d.ts +7 -0
- package/lib/annotations/models/tags.model.d.ts.map +1 -0
- package/lib/annotations/models/user.model.d.ts +6 -0
- package/lib/annotations/models/user.model.d.ts.map +1 -0
- package/lib/annotations/pipes/date/date.pipe.d.ts +16 -0
- package/lib/annotations/pipes/date/date.pipe.d.ts.map +1 -0
- package/lib/annotations/pipes/filter/filter.pipe.d.ts +8 -0
- package/lib/annotations/pipes/filter/filter.pipe.d.ts.map +1 -0
- package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts +8 -0
- package/lib/annotations/pipes/unsnake/unsnake.pipe.d.ts.map +1 -0
- package/lib/annotations/services/annotation-api/annotation-api.service.d.ts +28 -0
- package/lib/annotations/services/annotation-api/annotation-api.service.d.ts.map +1 -0
- package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts +21 -0
- package/lib/annotations/services/bookmarks-api/bookmarks-api.service.d.ts.map +1 -0
- package/lib/annotations/services/tags/tags.services.d.ts +18 -0
- package/lib/annotations/services/tags/tags.services.d.ts.map +1 -0
- package/lib/annotations/tags/tags.component.d.ts +28 -0
- package/lib/annotations/tags/tags.component.d.ts.map +1 -0
- package/lib/bookmark/components/bookmark-icons.component.d.ts +19 -0
- package/lib/bookmark/components/bookmark-icons.component.d.ts.map +1 -0
- package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts +11 -0
- package/lib/icp/confirm-exit/confirm-action-dialog.component.d.ts.map +1 -0
- package/lib/icp/icp-follower.service.d.ts +26 -0
- package/lib/icp/icp-follower.service.d.ts.map +1 -0
- package/lib/icp/icp-presenter.service.d.ts +25 -0
- package/lib/icp/icp-presenter.service.d.ts.map +1 -0
- package/lib/icp/icp-session-api.service.d.ts +15 -0
- package/lib/icp/icp-session-api.service.d.ts.map +1 -0
- package/lib/icp/icp-update.service.d.ts +22 -0
- package/lib/icp/icp-update.service.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 +23 -0
- package/lib/icp/icp.interfaces.d.ts.map +1 -0
- package/lib/icp/icp.service.d.ts +40 -0
- package/lib/icp/icp.service.d.ts.map +1 -0
- package/lib/icp/participants-list/participants-list.component.d.ts +23 -0
- package/lib/icp/participants-list/participants-list.component.d.ts.map +1 -0
- package/lib/icp/socket.service.d.ts +29 -0
- package/lib/icp/socket.service.d.ts.map +1 -0
- package/lib/media-viewer.component.d.ts +72 -0
- package/lib/media-viewer.component.d.ts.map +1 -0
- package/lib/media-viewer.module.d.ts +36 -0
- package/lib/media-viewer.module.d.ts.map +1 -0
- package/lib/print.service.d.ts +8 -0
- package/lib/print.service.d.ts.map +1 -0
- package/lib/redaction/components/redaction.component.d.ts +42 -0
- package/lib/redaction/components/redaction.component.d.ts.map +1 -0
- package/lib/redaction/services/redaction-api.service.d.ts +20 -0
- package/lib/redaction/services/redaction-api.service.d.ts.map +1 -0
- package/lib/redaction/services/redaction.model.d.ts +11 -0
- package/lib/redaction/services/redaction.model.d.ts.map +1 -0
- package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts +15 -0
- package/lib/shared/gov-uk-date/gov-uk-date.component.d.ts.map +1 -0
- package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts +11 -0
- package/lib/shared/gov-uk-error-message/gov-uk-error-message.component.d.ts.map +1 -0
- package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +16 -0
- package/lib/shared/gov-uk-fieldset/gov-uk-fieldset.component.d.ts.map +1 -0
- package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts +14 -0
- package/lib/shared/gov-uk-label/gov-uk-label.component.d.ts.map +1 -0
- package/lib/shared/shared.module.d.ts +14 -0
- package/lib/shared/shared.module.d.ts.map +1 -0
- package/lib/shared/util/helpers/html-templates.helper.d.ts +9 -0
- package/lib/shared/util/helpers/html-templates.helper.d.ts.map +1 -0
- package/lib/shared/util/services/number.helper.service.d.ts +11 -0
- package/lib/shared/util/services/number.helper.service.d.ts.map +1 -0
- package/lib/store/actions/annotation.actions.d.ts +126 -0
- package/lib/store/actions/annotation.actions.d.ts.map +1 -0
- package/lib/store/actions/bookmark.actions.d.ts +117 -0
- package/lib/store/actions/bookmark.actions.d.ts.map +1 -0
- package/lib/store/actions/document.actions.d.ts +90 -0
- package/lib/store/actions/document.actions.d.ts.map +1 -0
- package/lib/store/actions/icp.actions.d.ts +75 -0
- package/lib/store/actions/icp.actions.d.ts.map +1 -0
- package/lib/store/actions/redaction.actions.d.ts +127 -0
- package/lib/store/actions/redaction.actions.d.ts.map +1 -0
- package/lib/store/actions/tag.actions.d.ts +30 -0
- package/lib/store/actions/tag.actions.d.ts.map +1 -0
- package/lib/store/bookmarks-store-utils.d.ts +9 -0
- package/lib/store/bookmarks-store-utils.d.ts.map +1 -0
- package/lib/store/effects/annotation.effects.d.ts +16 -0
- package/lib/store/effects/annotation.effects.d.ts.map +1 -0
- package/lib/store/effects/bookmarks.effects.d.ts +21 -0
- package/lib/store/effects/bookmarks.effects.d.ts.map +1 -0
- package/lib/store/effects/document.effects.d.ts +17 -0
- package/lib/store/effects/document.effects.d.ts.map +1 -0
- package/lib/store/effects/icp.effects.d.ts +16 -0
- package/lib/store/effects/icp.effects.d.ts.map +1 -0
- package/lib/store/effects/index.d.ts +2 -0
- package/lib/store/effects/index.d.ts.map +1 -0
- package/lib/store/effects/redaction.effects.d.ts +20 -0
- package/lib/store/effects/redaction.effects.d.ts.map +1 -0
- package/lib/store/models/bookmarks.interface.d.ts +31 -0
- package/lib/store/models/bookmarks.interface.d.ts.map +1 -0
- package/lib/store/models/filters.interface.d.ts +8 -0
- package/lib/store/models/filters.interface.d.ts.map +1 -0
- package/lib/store/reducers/annotations.reducer.d.ts +48 -0
- package/lib/store/reducers/annotations.reducer.d.ts.map +1 -0
- package/lib/store/reducers/bookmarks.reducer.d.ts +27 -0
- package/lib/store/reducers/bookmarks.reducer.d.ts.map +1 -0
- package/lib/store/reducers/document.reducer.d.ts +52 -0
- package/lib/store/reducers/document.reducer.d.ts.map +1 -0
- package/lib/store/reducers/icp.reducer.d.ts +9 -0
- package/lib/store/reducers/icp.reducer.d.ts.map +1 -0
- package/lib/store/reducers/redaction.reducer.d.ts +32 -0
- package/lib/store/reducers/redaction.reducer.d.ts.map +1 -0
- package/lib/store/reducers/reducers.d.ts +24 -0
- package/lib/store/reducers/reducers.d.ts.map +1 -0
- package/lib/store/reducers/tags.reducer.d.ts +32 -0
- package/lib/store/reducers/tags.reducer.d.ts.map +1 -0
- package/lib/store/selectors/annotation.selectors.d.ts +136 -0
- package/lib/store/selectors/annotation.selectors.d.ts.map +1 -0
- package/lib/store/selectors/bookmark.selectors.d.ts +38 -0
- package/lib/store/selectors/bookmark.selectors.d.ts.map +1 -0
- package/lib/store/selectors/document.selectors.d.ts +23 -0
- package/lib/store/selectors/document.selectors.d.ts.map +1 -0
- package/lib/store/selectors/icp.selectors.d.ts +10 -0
- package/lib/store/selectors/icp.selectors.d.ts.map +1 -0
- package/lib/store/selectors/redaction.selectors.d.ts +35 -0
- package/lib/store/selectors/redaction.selectors.d.ts.map +1 -0
- package/lib/store/selectors/tag.selectors.d.ts +28 -0
- package/lib/store/selectors/tag.selectors.d.ts.map +1 -0
- package/lib/store/store-utils.d.ts +25 -0
- package/lib/store/store-utils.d.ts.map +1 -0
- package/lib/toolbar/highlight-toolbar/highlight-toolbar.component.d.ts +20 -0
- package/lib/toolbar/highlight-toolbar/highlight-toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/icp-event.service.d.ts +21 -0
- package/lib/toolbar/icp-event.service.d.ts.map +1 -0
- package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts +24 -0
- package/lib/toolbar/icp-toolbar/icp-toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts +69 -0
- package/lib/toolbar/main-toolbar/main-toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/redaction-search-bar/redaction-search-bar.component.d.ts +60 -0
- package/lib/toolbar/redaction-search-bar/redaction-search-bar.component.d.ts.map +1 -0
- package/lib/toolbar/redaction-search-bar/redaction-search.model.d.ts +12 -0
- package/lib/toolbar/redaction-search-bar/redaction-search.model.d.ts.map +1 -0
- package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts +30 -0
- package/lib/toolbar/redaction-toolbar/redaction-toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/search-bar/search-bar.component.d.ts +34 -0
- package/lib/toolbar/search-bar/search-bar.component.d.ts.map +1 -0
- package/lib/toolbar/toolbar-button-visibility.service.d.ts +67 -0
- package/lib/toolbar/toolbar-button-visibility.service.d.ts.map +1 -0
- package/lib/toolbar/toolbar-event.service.d.ts +96 -0
- package/lib/toolbar/toolbar-event.service.d.ts.map +1 -0
- package/lib/toolbar/toolbar.module.d.ts +19 -0
- package/lib/toolbar/toolbar.module.d.ts.map +1 -0
- package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts +31 -0
- package/lib/viewers/convertible-content-viewer/convertible-content-viewer.component.d.ts.map +1 -0
- package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts +12 -0
- package/lib/viewers/convertible-content-viewer/document-conversion-api.service.d.ts.map +1 -0
- package/lib/viewers/grab-n-drag.directive.d.ts +19 -0
- package/lib/viewers/grab-n-drag.directive.d.ts.map +1 -0
- package/lib/viewers/image-viewer/image-viewer.component.d.ts +57 -0
- package/lib/viewers/image-viewer/image-viewer.component.d.ts.map +1 -0
- package/lib/viewers/multimedia-player/multimedia-player.component.d.ts +25 -0
- package/lib/viewers/multimedia-player/multimedia-player.component.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.d.ts +69 -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 +17 -0
- package/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts +82 -0
- package/lib/viewers/pdf-viewer/pdf-viewer.component.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts +82 -0
- package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.d.ts.map +1 -0
- package/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.interfaces.d.ts +22 -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 +20 -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.model.d.ts +14 -0
- 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 +42 -0
- package/lib/viewers/pdf-viewer/side-bar/side-bar.component.d.ts.map +1 -0
- package/lib/viewers/rotation-persist/rotation-api.service.d.ts +14 -0
- package/lib/viewers/rotation-persist/rotation-api.service.d.ts.map +1 -0
- package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts +27 -0
- package/lib/viewers/rotation-persist/rotation-persist.directive.d.ts.map +1 -0
- package/lib/viewers/rotation-persist/rotation.model.d.ts +5 -0
- package/lib/viewers/rotation-persist/rotation.model.d.ts.map +1 -0
- package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts +23 -0
- package/lib/viewers/unsupported-viewer/unsupported-viewer.component.d.ts.map +1 -0
- package/lib/viewers/viewer-event.service.d.ts +23 -0
- package/lib/viewers/viewer-event.service.d.ts.map +1 -0
- package/lib/viewers/viewer-exception.model.d.ts +15 -0
- package/lib/viewers/viewer-exception.model.d.ts.map +1 -0
- package/lib/viewers/viewer-util.service.d.ts +10 -0
- package/lib/viewers/viewer-util.service.d.ts.map +1 -0
- package/package.json +12 -10
- package/public_api.d.ts +30 -0
- package/public_api.d.ts.map +1 -0
- package/index.d.ts.map +0 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Rectangle } from '../../annotation-view/rectangle/rectangle.model';
|
|
3
|
+
import { HighlightCreateService } from '../highlight-create/highlight-create.service';
|
|
4
|
+
import { ToolbarEventService } from '../../../../toolbar/toolbar-event.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BoxHighlightCreateComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly toolbarEvents;
|
|
8
|
+
private readonly highlightService;
|
|
9
|
+
page: number;
|
|
10
|
+
pageHeight: number;
|
|
11
|
+
pageWidth: number;
|
|
12
|
+
rotate: number;
|
|
13
|
+
zoom: number;
|
|
14
|
+
container: {
|
|
15
|
+
top: number;
|
|
16
|
+
left: number;
|
|
17
|
+
};
|
|
18
|
+
saveSelection: EventEmitter<{
|
|
19
|
+
rectangles: Rectangle[];
|
|
20
|
+
page: number;
|
|
21
|
+
}>;
|
|
22
|
+
highlight: ElementRef;
|
|
23
|
+
drawStartX: number;
|
|
24
|
+
drawStartY: number;
|
|
25
|
+
top: number;
|
|
26
|
+
left: number;
|
|
27
|
+
height: number;
|
|
28
|
+
width: number;
|
|
29
|
+
display: string;
|
|
30
|
+
drawMode: boolean;
|
|
31
|
+
defaultHeight: string;
|
|
32
|
+
defaultWidth: string;
|
|
33
|
+
position: string;
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
wholePage: boolean;
|
|
36
|
+
private subscriptions;
|
|
37
|
+
constructor(toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
initHighlight(event: MouseEvent): void;
|
|
41
|
+
updateHighlight(event: MouseEvent): void;
|
|
42
|
+
createHighlight(): void;
|
|
43
|
+
private resetHighlight;
|
|
44
|
+
private highlightPage;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BoxHighlightCreateComponent, never>;
|
|
46
|
+
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>;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=box-highlight-create.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box-highlight-create.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,YAAY,EAAS,SAAS,EAAE,MAAM,EAAqB,MAAM,eAAe,CAAC;AAGjH,OAAO,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;;AAEhF,qBAIa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IA6BvD,OAAO,CAAC,QAAQ,CAAC,aAAa;IACxC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IA5B1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAExC,aAAa;oBAAkC,SAAS,EAAE;cAAQ,MAAM;OAAM;IAE1C,SAAS,EAAE,UAAU,CAAC;IAEpE,UAAU,SAAM;IAChB,UAAU,SAAM;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,SAAU;IACzB,SAAS,EAAE,OAAO,CAAC;IAEnB,OAAO,CAAC,aAAa,CAAsB;gBAEd,aAAa,EAAE,mBAAmB,EAC5C,gBAAgB,EAAE,sBAAsB;IAE3D,QAAQ,IAAI,IAAI;IAYhB,WAAW,IAAI,IAAI;IAMnB,aAAa,CAAC,KAAK,EAAE,UAAU;IAoC/B,eAAe,CAAC,KAAK,EAAE,UAAU;IAYjC,eAAe;IAWf,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,aAAa;yCAxHV,2BAA2B;2CAA3B,2BAA2B;CA+HvC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as fromStore from '../../../../store/reducers/reducers';
|
|
5
|
+
import { ViewerEventService } from '../../../../viewers/viewer-event.service';
|
|
6
|
+
import { HighlightCreateService } from './highlight-create.service';
|
|
7
|
+
import { ToolbarEventService } from '../../../../toolbar/toolbar-event.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class HighlightCreateDirective implements OnInit, OnDestroy {
|
|
10
|
+
private element;
|
|
11
|
+
private toolbarEvents;
|
|
12
|
+
private viewerEvents;
|
|
13
|
+
private highlightService;
|
|
14
|
+
private store;
|
|
15
|
+
pageHeight: number;
|
|
16
|
+
pageWidth: number;
|
|
17
|
+
zoom: number;
|
|
18
|
+
rotate: number;
|
|
19
|
+
allPages: object;
|
|
20
|
+
$subscription: Subscription;
|
|
21
|
+
constructor(element: ElementRef<HTMLElement>, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService, highlightService: HighlightCreateService, store: Store<fromStore.AnnotationSetState>);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
onMouseUp(mouseEvent: MouseEvent): void;
|
|
25
|
+
onPdfViewerClick(event: MouseEvent): void;
|
|
26
|
+
private getRectangles;
|
|
27
|
+
private createTextRectangle;
|
|
28
|
+
private removeEnhancedTextModeStyling;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightCreateDirective, "[mvCreateTextHighlight]", never, {}, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=highlight-create.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight-create.directive.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAgB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvF,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,KAAK,SAAS,MAAM,qCAAqC,CAAC;AAEjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;;AAGhF,qBAGa,wBAAyB,YAAW,MAAM,EAAE,SAAS;IAU9D,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,KAAK;IAbf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,EAAE,YAAY,CAAC;gBAGlB,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,EAChC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,kBAAkB,EAChC,gBAAgB,EAAE,sBAAsB,EACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC;IAGpD,QAAQ;IAQR,WAAW;IAOX,SAAS,CAAC,UAAU,EAAE,UAAU;IAmBhC,gBAAgB,CAAC,KAAK,EAAE,UAAU;IAWlC,OAAO,CAAC,aAAa;IAmCrB,OAAO,CAAC,mBAAmB;IAoB3B,OAAO,CAAC,6BAA6B;yCArH1B,wBAAwB;2CAAxB,wBAAwB;CAkIpC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ToolbarEventService } from './../../../../toolbar/toolbar-event.service';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import { Rectangle } from '../../annotation-view/rectangle/rectangle.model';
|
|
4
|
+
import * as fromStore from '../../../../store/reducers/reducers';
|
|
5
|
+
import { RedactRectangle } from '../../../../toolbar/redaction-search-bar/redaction-search.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class HighlightCreateService {
|
|
8
|
+
private toolBarEvents;
|
|
9
|
+
private store;
|
|
10
|
+
constructor(toolBarEvents: ToolbarEventService, store: Store<fromStore.AnnotationSetState>);
|
|
11
|
+
saveAnnotation(rectangles: Rectangle[], page: number): void;
|
|
12
|
+
saveAnnotationSet(searchRectangles: RedactRectangle[]): void;
|
|
13
|
+
applyRotation(pageHeight: any, pageWidth: any, offsetHeight: any, offsetWidth: any, offsetTop: any, offsetLeft: any, rotate: any, zoom: any): any;
|
|
14
|
+
resetHighlight(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightCreateService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HighlightCreateService>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=highlight-create.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight-create.service.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAGlF,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAK5C,OAAO,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAC;AAC5E,OAAO,KAAK,SAAS,MAAM,qCAAqC,CAAC;AAIjE,OAAO,EAAE,eAAe,EAAE,MAAM,iEAAiE,CAAC;;AAGlG,qBACa,sBAAsB;IAErB,OAAO,CAAC,aAAa;IAC/B,OAAO,CAAC,KAAK;gBADK,aAAa,EAAE,mBAAmB,EAC5C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC;IAEpD,cAAc,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM;IAsBpD,iBAAiB,CAAC,gBAAgB,EAAE,eAAe,EAAE;IA0BrD,aAAa,CAAC,UAAU,KAAA,EAAE,SAAS,KAAA,EAAE,YAAY,KAAA,EAAE,WAAW,KAAA,EAAE,SAAS,KAAA,EAAE,UAAU,KAAA,EAAE,MAAM,KAAA,EAAE,IAAI,KAAA;IA6BnG,cAAc;yCAlFH,sBAAsB;6CAAtB,sBAAsB;CAsFlC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Annotation } from './annotation-view/annotation.model';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { SelectionAnnotation } from '../models/event-select.model';
|
|
5
|
+
import { CommentService } from '../comment-set/comment/comment.service';
|
|
6
|
+
import { Store } from '@ngrx/store';
|
|
7
|
+
import * as fromStore from '../../store/reducers/reducers';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AnnotationSetComponent implements OnInit {
|
|
10
|
+
private store;
|
|
11
|
+
private readonly commentService;
|
|
12
|
+
page: number;
|
|
13
|
+
annotations: Annotation[];
|
|
14
|
+
zoom: number;
|
|
15
|
+
rotate: number;
|
|
16
|
+
pageHeight: number;
|
|
17
|
+
pageWidth: number;
|
|
18
|
+
selectedAnnotation$: Observable<SelectionAnnotation>;
|
|
19
|
+
constructor(store: Store<fromStore.AnnotationSetState>, commentService: CommentService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
onAnnotationUpdate(annotation: Annotation): void;
|
|
22
|
+
onAnnotationDelete(annotation: Annotation): void;
|
|
23
|
+
selectAnnotation(selectedAnnotation: SelectionAnnotation): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationSetComponent, never>;
|
|
25
|
+
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>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=annotation-set.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotation-set.component.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-set.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,SAAS,MAAM,+BAA+B,CAAC;;AAI3D,qBAIa,sBAAuB,YAAW,MAAM;IAYjD,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ,CAAC,cAAc;IAXxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,UAAU,EAAE,CAAM;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAE3B,mBAAmB,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;gBAG3C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,EACjC,cAAc,EAAE,cAAc;IAGjD,QAAQ,IAAI,IAAI;IAIT,kBAAkB,CAAC,UAAU,EAAE,UAAU;IAIzC,kBAAkB,CAAC,UAAU,EAAE,UAAU;IAOhD,gBAAgB,CAAC,kBAAkB,EAAE,mBAAmB;yCA/B7C,sBAAsB;2CAAtB,sBAAsB;CAkClC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ApiPersisted } from '../models/api-persisted.model';
|
|
2
|
+
import { Annotation } from './annotation-view/annotation.model';
|
|
3
|
+
export interface AnnotationSet extends ApiPersisted {
|
|
4
|
+
documentId: string;
|
|
5
|
+
annotations: Annotation[];
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=annotation-set.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotation-set.model.d.ts","sourceRoot":"","sources":["../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-set.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
+
import { Annotation } from './annotation.model';
|
|
3
|
+
import { Rectangle } from './rectangle/rectangle.model';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import * as fromStore from '../../../store/reducers/reducers';
|
|
6
|
+
import { SelectionAnnotation } from '../../models/event-select.model';
|
|
7
|
+
import { ToolbarEventService } from '../../../toolbar/toolbar-event.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AnnotationViewComponent {
|
|
10
|
+
private readonly toolbarEvents;
|
|
11
|
+
private store;
|
|
12
|
+
set annotation(value: any);
|
|
13
|
+
anno: Annotation;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
zoom: number;
|
|
16
|
+
rotate: number;
|
|
17
|
+
set selectedAnnoId(selectedId: {
|
|
18
|
+
annotationId: string;
|
|
19
|
+
});
|
|
20
|
+
pageHeight: number;
|
|
21
|
+
pageWidth: number;
|
|
22
|
+
update: EventEmitter<Annotation>;
|
|
23
|
+
delete: EventEmitter<Annotation>;
|
|
24
|
+
annotationClick: EventEmitter<SelectionAnnotation>;
|
|
25
|
+
container: ElementRef;
|
|
26
|
+
constructor(toolbarEvents: ToolbarEventService, store: Store<fromStore.AnnotationSetState>);
|
|
27
|
+
onSelect(): void;
|
|
28
|
+
onRectangleUpdate(rectangle: Rectangle): void;
|
|
29
|
+
deleteHighlight(): void;
|
|
30
|
+
addOrEditComment(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationViewComponent, never>;
|
|
32
|
+
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>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=annotation-view.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotation-view.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-view/annotation-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAA4B,UAAU,EAAE,MAAM,eAAe,CAAC;AAE9F,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;;AAG7E,qBAIa,uBAAuB;IAwBhC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,KAAK;IAvBf,IAAa,UAAU,CAAC,KAAK,KAAA,EAE5B;IACD,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IACT,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACxB,IAAa,cAAc,CAAC,UAAU,EAAE;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,EAK/D;IACQ,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IACjB,MAAM,2BAAkC;IACxC,MAAM,2BAAkC;IACxC,eAAe,oCAA2C;IAEzB,SAAS,EAAE,UAAU,CAAC;gBAG9C,aAAa,EAAE,mBAAmB,EAC3C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC;IAG7C,QAAQ;IAKR,iBAAiB,CAAC,SAAS,EAAE,SAAS;IAOtC,eAAe;IAIf,gBAAgB;yCA5CZ,uBAAuB;2CAAvB,uBAAuB;CAsEnC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApiPersisted } from '../../models/api-persisted.model';
|
|
2
|
+
import { Rectangle } from './rectangle/rectangle.model';
|
|
3
|
+
import { Comment } from '../../comment-set/comment/comment.model';
|
|
4
|
+
import { TagsModel } from '../../models/tags.model';
|
|
5
|
+
export interface Annotation extends ApiPersisted {
|
|
6
|
+
annotationSetId?: string;
|
|
7
|
+
annotationId?: string;
|
|
8
|
+
page?: number;
|
|
9
|
+
color?: string;
|
|
10
|
+
comments?: Comment[];
|
|
11
|
+
rectangles?: Rectangle[];
|
|
12
|
+
type?: string;
|
|
13
|
+
tags: TagsModel[];
|
|
14
|
+
redactionId?: string;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=annotation.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotation.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-view/annotation.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAClE,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAElD,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Rectangle } from './rectangle.model';
|
|
3
|
+
import { ToolbarEventService } from '../../../../toolbar/toolbar-event.service';
|
|
4
|
+
import { HighlightCreateService } from '../../annotation-create/highlight-create/highlight-create.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RectangleComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
7
|
+
private readonly toolbarEvents;
|
|
8
|
+
private readonly highlightService;
|
|
9
|
+
color: String;
|
|
10
|
+
zoom: number;
|
|
11
|
+
rotate: number;
|
|
12
|
+
editable: boolean;
|
|
13
|
+
pageHeight: number;
|
|
14
|
+
pageWidth: number;
|
|
15
|
+
selectEvent: EventEmitter<Rectangle>;
|
|
16
|
+
updateEvent: EventEmitter<Rectangle>;
|
|
17
|
+
viewRect: ElementRef;
|
|
18
|
+
private subscriptions;
|
|
19
|
+
_selected: boolean;
|
|
20
|
+
enableGrabNDrag: boolean;
|
|
21
|
+
height: number;
|
|
22
|
+
width: number;
|
|
23
|
+
top: number;
|
|
24
|
+
left: number;
|
|
25
|
+
_annoRect: Rectangle;
|
|
26
|
+
set annoRect(annoRect: Rectangle);
|
|
27
|
+
get annoRect(): Rectangle;
|
|
28
|
+
constructor(toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
ngAfterViewInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
set selected(selected: boolean);
|
|
33
|
+
get selected(): boolean;
|
|
34
|
+
onClick(): void;
|
|
35
|
+
onUpdate(viewRect: any): void;
|
|
36
|
+
adjustForRotation(rotation: number): void;
|
|
37
|
+
hasRectangleChanged(viewRect: any): boolean;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RectangleComponent, never>;
|
|
39
|
+
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>;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=rectangle.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rectangle.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EAET,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mEAAmE,CAAC;;AAE3G,qBAIa,kBAAmB,YAAW,SAAS,EAAE,aAAa,EAAE,SAAS;IAsChE,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IArCpC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAEjB,WAAW,0BAAiC;IAC5C,WAAW,0BAAiC;IAEX,QAAQ,EAAE,UAAU,CAAC;IAEhE,OAAO,CAAC,aAAa,CAAsB;IAC3C,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,UAAS;IAExB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IAEb,SAAS,EAAE,SAAS,CAAC;IACrB,IACI,QAAQ,CAAC,QAAQ,EAAE,SAAS,EAM/B;IAED,IAAI,QAAQ,IARW,SAAS,CAU/B;gBAG4B,aAAa,EAAE,mBAAmB,EAClC,gBAAgB,EAAE,sBAAsB;IAErE,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,eAAe;IAMf,WAAW,IAAI,IAAI;IAKnB,IACI,QAAQ,CAAC,QAAQ,EAAE,OAAO,EAK7B;IAED,IAAI,QAAQ,IAPW,OAAO,CAS7B;IAED,OAAO;IAIP,QAAQ,CAAC,QAAQ,EAAE,GAAG;IAUtB,iBAAiB,CAAC,QAAQ,EAAE,MAAM;IAsBlC,mBAAmB,CAAC,QAAQ,KAAA,GAAG,OAAO;yCA1G3B,kBAAkB;2CAAlB,kBAAkB;CAgH9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rectangle.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Rectangle } from '../annotation-view/rectangle/rectangle.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CtxToolbarComponent implements OnChanges {
|
|
5
|
+
readonly defaultHeight: any;
|
|
6
|
+
readonly defaultWidth: any;
|
|
7
|
+
zoom: any;
|
|
8
|
+
rotate: any;
|
|
9
|
+
pageHeight: number;
|
|
10
|
+
pageWidth: number;
|
|
11
|
+
canHighlight: boolean;
|
|
12
|
+
canBookmark: boolean;
|
|
13
|
+
canComment: boolean;
|
|
14
|
+
canDelete: boolean;
|
|
15
|
+
createHighlightEvent: EventEmitter<any>;
|
|
16
|
+
deleteHighlightEvent: EventEmitter<any>;
|
|
17
|
+
addOrEditCommentEvent: EventEmitter<any>;
|
|
18
|
+
createBookmarkEvent: EventEmitter<Rectangle>;
|
|
19
|
+
rectangle: Rectangle;
|
|
20
|
+
_rectangles: Rectangle[];
|
|
21
|
+
top: number;
|
|
22
|
+
left: number;
|
|
23
|
+
constructor();
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
set rectangles(rectangles: Rectangle[]);
|
|
26
|
+
get rectangles(): Rectangle[];
|
|
27
|
+
createHighlight(): void;
|
|
28
|
+
deleteHighlight(): void;
|
|
29
|
+
addOrEditComment(): void;
|
|
30
|
+
createBookmark(): void;
|
|
31
|
+
setRectangle(): void;
|
|
32
|
+
popupTop(): any;
|
|
33
|
+
popupLeft(): number;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CtxToolbarComponent, never>;
|
|
35
|
+
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>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=ctx-toolbar.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ctx-toolbar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,SAAS,EAET,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;;AAEzE,qBAIa,mBAAoB,YAAW,SAAS;IAEnD,QAAQ,CAAC,aAAa,MAAC;IACvB,QAAQ,CAAC,YAAY,MAAC;IAEb,IAAI,MAAC;IACL,MAAM,MAAC;IACP,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAElB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IAElB,oBAAoB,oBAAsB;IAC1C,oBAAoB,oBAAsB;IAC1C,qBAAqB,oBAAsB;IAC3C,mBAAmB,0BAAiC;IAE9D,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,SAAS,EAAE,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;;IAOb,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,IAAa,UAAU,CAAC,UAAU,EAAE,SAAS,EAAE,EAK9C;IAED,IAAI,UAAU,IAPsB,SAAS,EAAE,CAS9C;IAED,eAAe;IAKf,eAAe;IAIf,gBAAgB;IAUhB,cAAc;IAKd,YAAY;IAwBZ,QAAQ;IAKR,SAAS;yCApGE,mBAAmB;2CAAnB,mBAAmB;CA8G/B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Store } from '@ngrx/store';
|
|
4
|
+
import * as fromStore from '../../../store/reducers/reducers';
|
|
5
|
+
import { HighlightCreateService } from '../annotation-create/highlight-create/highlight-create.service';
|
|
6
|
+
import { Rectangle } from '../annotation-view/rectangle/rectangle.model';
|
|
7
|
+
import { ToolbarEventService } from '../../../toolbar/toolbar-event.service';
|
|
8
|
+
import { Highlight, ViewerEventService } from '../../../viewers/viewer-event.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class MetadataLayerComponent implements OnInit, OnDestroy {
|
|
11
|
+
private store;
|
|
12
|
+
private readonly highlightService;
|
|
13
|
+
private readonly toolbarEvents;
|
|
14
|
+
private readonly viewerEvents;
|
|
15
|
+
zoom: number;
|
|
16
|
+
rotate: number;
|
|
17
|
+
pages: any[];
|
|
18
|
+
annoPages$: Observable<any>;
|
|
19
|
+
drawMode: boolean;
|
|
20
|
+
highlightPage: number;
|
|
21
|
+
rectangles: Rectangle[];
|
|
22
|
+
private $subscriptions;
|
|
23
|
+
constructor(store: Store<fromStore.AnnotationSetState>, highlightService: HighlightCreateService, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
showContextToolbar(highlight: Highlight): void;
|
|
27
|
+
clearContextToolbar(): void;
|
|
28
|
+
createHighlight(): void;
|
|
29
|
+
createBookmark(rectangle: Rectangle): void;
|
|
30
|
+
saveAnnotation({ rectangles, page }: {
|
|
31
|
+
rectangles: Rectangle[];
|
|
32
|
+
page: any;
|
|
33
|
+
}): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetadataLayerComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetadataLayerComponent, "mv-metadata-layer", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=metadata-layer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata-layer.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAC;AAG5C,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAC;AAG9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AACxG,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAGzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;;AAEtF,qBAIa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IAe5D,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAhBtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IAExB,KAAK,EAAE,GAAG,EAAE,CAAM;IAClB,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IAE5B,QAAQ,UAAS;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,SAAS,EAAE,CAAC;IAExB,OAAO,CAAC,cAAc,CAAe;gBAG3B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,EACjC,gBAAgB,EAAE,sBAAsB,EACxC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,kBAAkB;IAEnD,QAAQ,IAAI,IAAI;IAUhB,WAAW,IAAI,IAAI;IAInB,kBAAkB,CAAC,SAAS,EAAE,SAAS;IAQvC,mBAAmB;IAInB,eAAe;IAMf,cAAc,CAAC,SAAS,EAAE,SAAS;IAoBnC,cAAc,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,SAAS,EAAE,CAAC;QAAC,IAAI,EAAE,GAAG,CAAA;KAAE;yCAxEhE,sBAAsB;2CAAtB,sBAAsB;CA4ElC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./annotation-set/metadata-layer/metadata-layer.component";
|
|
3
|
+
import * as i2 from "./annotation-set/annotation-view/annotation-view.component";
|
|
4
|
+
import * as i3 from "./annotation-set/annotation-create/box-highlight-create/box-highlight-create.component";
|
|
5
|
+
import * as i4 from "./annotation-set/annotation-set.component";
|
|
6
|
+
import * as i5 from "./annotation-set/annotation-view/rectangle/rectangle.component";
|
|
7
|
+
import * as i6 from "./comment-set/comment/comment.component";
|
|
8
|
+
import * as i7 from "./comment-set/comment-set-header/comment-set-header.component";
|
|
9
|
+
import * as i8 from "./comment-set/comment-set-header/comment-search/comment-search.component";
|
|
10
|
+
import * as i9 from "./comment-set/comment/text-highlight/text-highlight.directive";
|
|
11
|
+
import * as i10 from "./annotation-set/ctx-toolbar/ctx-toolbar.component";
|
|
12
|
+
import * as i11 from "./comment-set/comment-set.component";
|
|
13
|
+
import * as i12 from "./comment-set/comment-navigate/comments-navigate.component";
|
|
14
|
+
import * as i13 from "./comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive";
|
|
15
|
+
import * as i14 from "./comments-summary/comments-summary.component";
|
|
16
|
+
import * as i15 from "./tags/tags.component";
|
|
17
|
+
import * as i16 from "./pipes/date/date.pipe";
|
|
18
|
+
import * as i17 from "./comment-set/comment-set-header/comment-filter/comment-filter.component";
|
|
19
|
+
import * as i18 from "./pipes/filter/filter.pipe";
|
|
20
|
+
import * as i19 from "./pipes/unsnake/unsnake.pipe";
|
|
21
|
+
import * as i20 from "@angular/cdk/a11y";
|
|
22
|
+
import * as i21 from "@angular/common";
|
|
23
|
+
import * as i22 from "@angular/forms";
|
|
24
|
+
import * as i23 from "@angular/common/http";
|
|
25
|
+
import * as i24 from "mutable-div";
|
|
26
|
+
import * as i25 from "ngx-chips";
|
|
27
|
+
import * as i26 from "@angular/router";
|
|
28
|
+
import * as i27 from "@swimlane/ngx-datatable";
|
|
29
|
+
import * as i28 from "../shared/shared.module";
|
|
30
|
+
import * as i29 from "rpx-xui-translation";
|
|
31
|
+
export declare class AnnotationsModule {
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationsModule, never>;
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnotationsModule, [typeof i1.MetadataLayerComponent, typeof i2.AnnotationViewComponent, typeof i3.BoxHighlightCreateComponent, typeof i4.AnnotationSetComponent, typeof i5.RectangleComponent, typeof i6.CommentComponent, typeof i7.CommentSetHeaderComponent, typeof i8.CommentSearchComponent, typeof i9.TextHighlightDirective, typeof i10.CtxToolbarComponent, typeof i11.CommentSetComponent, typeof i12.CommentsNavigateComponent, typeof i13.TextareaAutoExpandDirective, typeof i14.CommentsSummaryComponent, typeof i15.TagsComponent, typeof i16.MomentDatePipe, typeof i17.CommentFilterComponent, typeof i18.FilterPipe, typeof i19.UnsnakePipe], [typeof i20.A11yModule, typeof i21.CommonModule, typeof i22.FormsModule, typeof i23.HttpClientModule, typeof i24.MutableDivModule, typeof i25.TagInputModule, typeof i26.RouterModule, typeof i22.ReactiveFormsModule, typeof i27.NgxDatatableModule, typeof i28.SharedModule, typeof i29.RpxTranslationModule], [typeof i2.AnnotationViewComponent, typeof i3.BoxHighlightCreateComponent, typeof i4.AnnotationSetComponent, typeof i11.CommentSetComponent, typeof i7.CommentSetHeaderComponent, typeof i8.CommentSearchComponent, typeof i14.CommentsSummaryComponent, typeof i15.TagsComponent, typeof i17.CommentFilterComponent, typeof i16.MomentDatePipe, typeof i18.FilterPipe, typeof i19.UnsnakePipe, typeof i1.MetadataLayerComponent]>;
|
|
34
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnnotationsModule>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=annotations.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotations.module.d.ts","sourceRoot":"","sources":["../../../../projects/media-viewer/src/lib/annotations/annotations.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,qBA2Da,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAI"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Comment } from './comment.model';
|
|
3
|
+
import { User } from '../../models/user.model';
|
|
4
|
+
import { SelectionAnnotation } from '../../models/event-select.model';
|
|
5
|
+
import { CommentService } from './comment.service';
|
|
6
|
+
import { TagsModel } from '../../models/tags.model';
|
|
7
|
+
import { TagsServices } from '../../services/tags/tags.services';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import { Store } from '@ngrx/store';
|
|
10
|
+
import * as fromStore from '../../../store/reducers/reducers';
|
|
11
|
+
import { Annotation } from '../../annotation-set/annotation-view/annotation.model';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class CommentComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
14
|
+
private store;
|
|
15
|
+
private readonly commentService;
|
|
16
|
+
private tagsServices;
|
|
17
|
+
CHAR_LIMIT: number;
|
|
18
|
+
lastUpdate: string;
|
|
19
|
+
originalComment: string;
|
|
20
|
+
fullComment: string;
|
|
21
|
+
author: User;
|
|
22
|
+
createdBy: string;
|
|
23
|
+
editor: User;
|
|
24
|
+
_comment: Comment;
|
|
25
|
+
_editable: boolean;
|
|
26
|
+
_rectangle: any;
|
|
27
|
+
totalPrevPagesHeight: number;
|
|
28
|
+
rectTop: any;
|
|
29
|
+
rectLeft: any;
|
|
30
|
+
pageHeight: number;
|
|
31
|
+
hasUnsavedChanges: boolean;
|
|
32
|
+
selected: boolean;
|
|
33
|
+
searchString: string;
|
|
34
|
+
tagItems: TagsModel[];
|
|
35
|
+
marginToComment$: Observable<boolean>;
|
|
36
|
+
commentClick: EventEmitter<SelectionAnnotation>;
|
|
37
|
+
renderComments: EventEmitter<Comment>;
|
|
38
|
+
delete: EventEmitter<Comment>;
|
|
39
|
+
updated: EventEmitter<{
|
|
40
|
+
comment: Comment;
|
|
41
|
+
tags: TagsModel[];
|
|
42
|
+
}>;
|
|
43
|
+
changes: EventEmitter<boolean>;
|
|
44
|
+
rotate: number;
|
|
45
|
+
zoom: number;
|
|
46
|
+
index: number;
|
|
47
|
+
page: number;
|
|
48
|
+
form: ElementRef;
|
|
49
|
+
editableComment: ElementRef<HTMLElement>;
|
|
50
|
+
private subscriptions;
|
|
51
|
+
constructor(store: Store<fromStore.AnnotationSetState>, commentService: CommentService, tagsServices: TagsServices);
|
|
52
|
+
ngOnInit(): void;
|
|
53
|
+
ngAfterContentInit(): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
55
|
+
set comment(comment: Comment);
|
|
56
|
+
get comment(): Comment;
|
|
57
|
+
set annotation(annotation: Annotation);
|
|
58
|
+
get editable(): boolean;
|
|
59
|
+
onCommentChange(updatedComment: any): void;
|
|
60
|
+
deleteOrCancel(): void;
|
|
61
|
+
editOrSave(): void;
|
|
62
|
+
onCommentClick(): void;
|
|
63
|
+
reRenderComments(): void;
|
|
64
|
+
get commentTop(): number;
|
|
65
|
+
get height(): number;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentComponent, never>;
|
|
67
|
+
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>;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=comment.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/comment-set/comment/comment.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAEhB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,OAAO,EAAC,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAC,IAAI,EAAC,MAAM,yBAAyB,CAAC;AAE7C,OAAO,EAAC,mBAAmB,EAAC,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAgB,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAC;AAClC,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAC;AAG9D,OAAO,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;;AAGnF,qBAIa,gBAAiB,YAAW,MAAM,EAAE,SAAS,EAAE,gBAAgB;IAwCxE,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,YAAY;IAxCtB,UAAU,SAAQ;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,IAAI,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,IAAI,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,MAAC;IACX,oBAAoB,SAAK;IACzB,OAAO,MAAC;IACR,QAAQ,MAAC;IACT,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,UAAS;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC7B,gBAAgB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAE;IAI7B,YAAY,oCAA2C;IACvD,cAAc,wBAA+B;IAC7C,MAAM,wBAA+B;IACrC,OAAO;iBAA8B,OAAO;cAAQ,SAAS,EAAE;OAAK;IACpE,OAAO,wBAA+B;IACvC,MAAM,SAAK;IACX,IAAI,SAAK;IACT,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IAEc,IAAI,EAAE,UAAU,CAAC;IACN,eAAe,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAExF,OAAO,CAAC,aAAa,CAAe;gBAG1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,EACjC,cAAc,EAAE,cAAc,EACvC,YAAY,EAAE,YAAY;IAIpC,QAAQ,IAAI,IAAI;IAOhB,kBAAkB,IAAI,IAAI;IAM1B,WAAW,IAAI,IAAI;IAInB,IACI,OAAO,CAAC,OAAO,EAAE,OAAO,EAqB3B;IAED,IAAI,OAAO,IAvBU,OAAO,CAyB3B;IAED,IACI,UAAU,CAAC,UAAU,EAAE,UAAU,EAcpC;IAED,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,eAAe,CAAC,cAAc,KAAA;IAM9B,cAAc;IAcP,UAAU;IAiBjB,cAAc;IAQd,gBAAgB;IAIhB,IAAI,UAAU,IAAI,MAAM,CAEvB;IAGD,IAAI,MAAM,WAET;yCAxKU,gBAAgB;2CAAhB,gBAAgB;CAyK5B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ApiPersisted } from '../../models/api-persisted.model';
|
|
2
|
+
import { TagsModel } from '../../models/tags.model';
|
|
3
|
+
export interface Comment extends ApiPersisted {
|
|
4
|
+
annotationId: string;
|
|
5
|
+
content: string;
|
|
6
|
+
tags: TagsModel[];
|
|
7
|
+
page: number;
|
|
8
|
+
pages: object;
|
|
9
|
+
pageHeight: number;
|
|
10
|
+
selected: boolean;
|
|
11
|
+
editable: boolean;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=comment.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/comment-set/comment/comment.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,MAAM,WAAW,OAAQ,SAAQ,YAAY;IAC3C,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
2
|
+
import type { CommentSetComponent } from '../comment-set.component';
|
|
3
|
+
import { Annotation } from '../../annotation-set/annotation-view/annotation.model';
|
|
4
|
+
import type { CommentComponent } from './comment.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CommentService {
|
|
7
|
+
readonly unsavedChanges: Subject<boolean>;
|
|
8
|
+
readonly marginToCommentEmitter: BehaviorSubject<boolean>;
|
|
9
|
+
commentSetComponent: CommentSetComponent;
|
|
10
|
+
setCommentSet(commentSetComponent: any): void;
|
|
11
|
+
onCommentChange(changes: boolean): void;
|
|
12
|
+
getUnsavedChanges(): Observable<boolean>;
|
|
13
|
+
hasUnsavedComments(annotation: Annotation): boolean;
|
|
14
|
+
updateUnsavedCommentsStatus(annotation: Annotation, hasUnsavedChanges: boolean): void;
|
|
15
|
+
getComment(annotation: Annotation): CommentComponent;
|
|
16
|
+
resetCommentSet(): void;
|
|
17
|
+
allCommentsSaved(): void;
|
|
18
|
+
createMarginToCommentEvent(margin: boolean): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommentService>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=comment.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/media-viewer/src/lib/annotations/comment-set/comment/comment.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAG5D,qBACa,cAAc;IAEzB,SAAgB,cAAc,mBAA0B;IACxD,SAAgB,sBAAsB,2BAAuC;IAC7E,mBAAmB,EAAE,mBAAmB,CAAC;IAEzC,aAAa,CAAC,mBAAmB,KAAA;IAIjC,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAIvC,iBAAiB,IAAI,UAAU,CAAC,OAAO,CAAC;IAIxC,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO;IAQnD,2BAA2B,CAAC,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,OAAO,GAAG,IAAI;IAMrF,UAAU,CAAC,UAAU,EAAE,UAAU,GAAG,gBAAgB;IAKpD,eAAe,IAAI,IAAI;IAIvB,gBAAgB,IAAI,IAAI;IAIxB,0BAA0B,CAAC,MAAM,EAAE,OAAO;yCA7C/B,cAAc;6CAAd,cAAc;CAgD1B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AfterViewChecked, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextHighlightDirective implements AfterViewChecked {
|
|
4
|
+
private element;
|
|
5
|
+
textToHighlight: string;
|
|
6
|
+
constructor(element: ElementRef<HTMLElement>);
|
|
7
|
+
ngAfterViewChecked(): void;
|
|
8
|
+
highlightInputText(textToHighlight: string): void;
|
|
9
|
+
resetHighlight(): void;
|
|
10
|
+
private highlightPattern;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextHighlightDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextHighlightDirective, "[mvTextHighlight]", never, { "textToHighlight": { "alias": "textToHighlight"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=text-highlight.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-highlight.directive.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/comment-set/comment/text-highlight/text-highlight.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAa,UAAU,EAAS,MAAM,eAAe,CAAC;;AAE/E,qBAGa,sBAAuB,YAAW,gBAAgB;IAIjD,OAAO,CAAC,OAAO;IAFlB,eAAe,EAAE,MAAM,CAAC;gBAEb,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC;IAEpD,kBAAkB,IAAI,IAAI;IAM1B,kBAAkB,CAAC,eAAe,EAAE,MAAM;IAY1C,cAAc;IAWd,OAAO,CAAC,gBAAgB;yCAnCb,sBAAsB;2CAAtB,sBAAsB;CAsClC"}
|
package/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AfterContentChecked, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextareaAutoExpandDirective implements AfterContentChecked {
|
|
4
|
+
private el;
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
ngAfterContentChecked(): void;
|
|
7
|
+
onMouseDown(): void;
|
|
8
|
+
adjustHeight(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaAutoExpandDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextareaAutoExpandDirective, "[mvTextAreaAutoExpand]", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=textarea-auto-expand.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea-auto-expand.directive.d.ts","sourceRoot":"","sources":["../../../../../../../projects/media-viewer/src/lib/annotations/comment-set/comment/textarea-auto-expand/textarea-auto-expand.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAa,UAAU,EAAgB,MAAM,eAAe,CAAC;;AAEzF,qBAGa,2BAA4B,YAAW,mBAAmB;IAEzD,OAAO,CAAC,EAAE;gBAAF,EAAE,EAAE,UAAU;IAGlC,qBAAqB,IAAI,IAAI;IAIN,WAAW;IAIlC,YAAY,IAAI,IAAI;yCAbT,2BAA2B;2CAA3B,2BAA2B;CAoBvC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Rectangle } from '../../annotation-set/annotation-view/rectangle/rectangle.model';
|
|
3
|
+
import { Annotation } from '../../annotation-set/annotation-view/annotation.model';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import * as fromStore from '../../../store/reducers/reducers';
|
|
6
|
+
import { ToolbarEventService } from '../../../toolbar/toolbar-event.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CommentsNavigateComponent implements OnChanges {
|
|
9
|
+
private store;
|
|
10
|
+
readonly toolbarEvents: ToolbarEventService;
|
|
11
|
+
annotationList: Annotation[];
|
|
12
|
+
autoSelect: boolean;
|
|
13
|
+
navigationList: any[];
|
|
14
|
+
index: number;
|
|
15
|
+
constructor(store: Store<fromStore.AnnotationSetState>, toolbarEvents: ToolbarEventService);
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
initNavigationList(): void;
|
|
18
|
+
sortComments(mappedCommentA: any, mappedCommentB: any): number;
|
|
19
|
+
nextItem(): void;
|
|
20
|
+
prevItem(): void;
|
|
21
|
+
upperRectangle(rectangles: Rectangle[]): {
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
};
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentsNavigateComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommentsNavigateComponent, "mv-comments-navigate", never, { "annotationList": { "alias": "annotationList"; "required": false; }; "autoSelect": { "alias": "autoSelect"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=comments-navigate.component.d.ts.map
|