Merge branch 'master' into VM/RED-6774
This commit is contained in:
commit
6bf476a575
@ -145,40 +145,32 @@ export class REDDocumentViewer {
|
||||
|
||||
#listenForDocEvents() {
|
||||
this.#document.addEventListener('textSelected', (quads: Quad, selectedText: string, pageNumber: number) => {
|
||||
this.#ngZone.run(() => {
|
||||
this.#disableTextPopupIfCompareMode(pageNumber);
|
||||
this.#selectedText.set(selectedText);
|
||||
});
|
||||
this.#selectedText.set(selectedText);
|
||||
this.#disableTextPopupIfCompareMode(pageNumber);
|
||||
});
|
||||
|
||||
this.#document.addEventListener('pageComplete', event => {
|
||||
this.#ngZone.run(() => {
|
||||
setTimeout(() => {
|
||||
this.#pageComplete.set(event);
|
||||
}, 300);
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.#pageComplete.set(event);
|
||||
}, 300);
|
||||
});
|
||||
|
||||
this.#document.addEventListener('documentUnloaded', () => {
|
||||
this.#ngZone.run(() => {
|
||||
this.#logger.info('[PDF] Document unloaded');
|
||||
this.#loaded.set(false);
|
||||
});
|
||||
this.#logger.info('[PDF] Document unloaded');
|
||||
this.#loaded.set(false);
|
||||
});
|
||||
|
||||
this.#document.addEventListener('documentLoaded', () => {
|
||||
this.#ngZone.run(() => {
|
||||
this.#logger.info('[PDF] Document loaded');
|
||||
this.#logger.info('[PDF] Document loaded');
|
||||
|
||||
this.#pdf.runWithCleanup(() => {
|
||||
this.#flattenAnnotations().then();
|
||||
this.#setCurrentPage();
|
||||
this.#setInitialDisplayMode();
|
||||
this.updateTooltipsVisibility();
|
||||
});
|
||||
|
||||
this.#loaded.set(true);
|
||||
this.#pdf.runWithCleanup(() => {
|
||||
this.#flattenAnnotations().then();
|
||||
this.#setCurrentPage();
|
||||
this.#setInitialDisplayMode();
|
||||
this.updateTooltipsVisibility();
|
||||
});
|
||||
|
||||
this.#loaded.set(true);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
FROM node:18.12-buster as prep
|
||||
|
||||
RUN ls -al
|
||||
RUN cat .dockerenv
|
||||
RUN printenv
|
||||
|
||||
RUN apt-get update && apt-get install -y jq
|
||||
COPY package.json /tmp
|
||||
|
||||
@ -25,6 +29,8 @@ COPY apps apps
|
||||
COPY libs libs
|
||||
COPY tools tools
|
||||
COPY package.json package.json
|
||||
#RUN jq --arg version "$(jq .FRONTEND_APP_VERSION version.json -r | cat)" '.version = $version' package.json
|
||||
#RUN cat package.json
|
||||
COPY yarn.lock yarn.lock
|
||||
COPY nx.json nx.json
|
||||
COPY .eslintrc.json .eslintrc.json
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "redaction",
|
||||
"version": "4.126.0",
|
||||
"version": "4.128.0",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user