@hmcts/media-viewer 2.7.14 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/bundles/hmcts-media-viewer.umd.js +7404 -4728
  2. package/bundles/hmcts-media-viewer.umd.js.map +1 -1
  3. package/bundles/hmcts-media-viewer.umd.min.js +16 -1
  4. package/bundles/hmcts-media-viewer.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-media-viewer.js +60 -78
  6. package/esm2015/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.js +2 -2
  7. package/esm2015/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +2 -2
  8. package/esm2015/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.js +2 -2
  9. package/esm2015/lib/annotations/comment-set/comment-set-header/comment-set-header.component.js +2 -2
  10. package/esm2015/lib/annotations/comment-set/comment-set.component.js +3 -3
  11. package/esm2015/lib/annotations/comments-summary/comments-summary.component.js +2 -2
  12. package/esm2015/lib/annotations/services/tags/tags.services.js +3 -3
  13. package/esm2015/lib/icp/icp-update.service.js +3 -3
  14. package/esm2015/lib/media-viewer.component.js +5 -5
  15. package/esm2015/lib/print.service.js +1 -1
  16. package/esm2015/lib/shared/gov-uk-error-message/gov-uk-error-message.component.js +3 -2
  17. package/esm2015/lib/shared/gov-uk-label/gov-uk-label.component.js +3 -2
  18. package/esm2015/lib/shared/util/services/number.helper.service.js +4 -3
  19. package/esm2015/lib/store/effects/annotation.effects.js +7 -7
  20. package/esm2015/lib/store/effects/bookmarks.effects.js +11 -11
  21. package/esm2015/lib/store/effects/document.effects.js +7 -7
  22. package/esm2015/lib/store/effects/icp.effects.js +5 -5
  23. package/esm2015/lib/store/effects/redaction.effects.js +11 -11
  24. package/esm2015/lib/store/reducers/annotations.reducer.js +19 -19
  25. package/esm2015/lib/store/reducers/bookmarks.reducer.js +10 -10
  26. package/esm2015/lib/store/reducers/document.reducer.js +12 -12
  27. package/esm2015/lib/store/reducers/icp.reducer.js +7 -7
  28. package/esm2015/lib/store/reducers/redaction.reducer.js +11 -11
  29. package/esm2015/lib/store/reducers/tags.reducer.js +8 -8
  30. package/esm2015/lib/store/selectors/annotation.selectors.js +3 -3
  31. package/esm2015/lib/store/store-utils.js +10 -10
  32. package/esm2015/lib/toolbar/toolbar-button-visibility.service.js +1 -1
  33. package/esm2015/lib/toolbar/toolbar-event.service.js +1 -1
  34. package/esm2015/lib/viewers/image-viewer/image-viewer.component.js +3 -3
  35. package/esm2015/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.js +2 -2
  36. package/esm2015/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +1 -1
  37. package/esm2015/lib/viewers/pdf-viewer/pdf-viewer.component.js +4 -4
  38. package/esm2015/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.js +5 -5
  39. package/esm2015/lib/viewers/pdf-viewer/side-bar/side-bar.component.js +2 -2
  40. package/esm2015/lib/viewers/viewer-event.service.js +1 -1
  41. package/esm2015/lib/viewers/viewer-util.service.js +1 -1
  42. package/esm2015/public_api.js +19 -1
  43. package/esm5/hmcts-media-viewer.js +60 -78
  44. package/esm5/lib/annotations/annotation-set/annotation-create/box-highlight-create/box-highlight-create.component.js +3 -3
  45. package/esm5/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.directive.js +3 -3
  46. package/esm5/lib/annotations/annotation-set/annotation-create/highlight-create/highlight-create.service.js +3 -3
  47. package/esm5/lib/annotations/annotation-set/annotation-view/annotation-view.component.js +4 -4
  48. package/esm5/lib/annotations/annotation-set/annotation-view/rectangle/rectangle.component.js +5 -5
  49. package/esm5/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.js +3 -3
  50. package/esm5/lib/annotations/annotation-set/metadata-layer/metadata-layer.component.js +3 -3
  51. package/esm5/lib/annotations/comment-set/comment/comment.component.js +3 -3
  52. package/esm5/lib/annotations/comment-set/comment-navigate/comments-navigate.component.js +4 -4
  53. package/esm5/lib/annotations/comment-set/comment-set-header/comment-set-header.component.js +5 -5
  54. package/esm5/lib/annotations/comment-set/comment-set.component.js +4 -4
  55. package/esm5/lib/annotations/comments-summary/comments-summary.component.js +4 -4
  56. package/esm5/lib/annotations/pipes/date/date.pipe.js +3 -3
  57. package/esm5/lib/annotations/services/annotation-api/annotation-api.service.js +3 -3
  58. package/esm5/lib/annotations/services/tags/tags.services.js +5 -5
  59. package/esm5/lib/icp/icp-update.service.js +4 -4
  60. package/esm5/lib/media-viewer.component.js +6 -6
  61. package/esm5/lib/print.service.js +1 -1
  62. package/esm5/lib/redaction/components/redaction.component.js +3 -3
  63. package/esm5/lib/shared/util/services/number.helper.service.js +1 -1
  64. package/esm5/lib/store/bookmarks-store-utils.js +4 -4
  65. package/esm5/lib/store/effects/annotation.effects.js +7 -7
  66. package/esm5/lib/store/effects/bookmarks.effects.js +13 -13
  67. package/esm5/lib/store/effects/document.effects.js +7 -7
  68. package/esm5/lib/store/effects/icp.effects.js +5 -5
  69. package/esm5/lib/store/effects/redaction.effects.js +11 -11
  70. package/esm5/lib/store/reducers/annotations.reducer.js +25 -25
  71. package/esm5/lib/store/reducers/bookmarks.reducer.js +14 -14
  72. package/esm5/lib/store/reducers/document.reducer.js +13 -13
  73. package/esm5/lib/store/reducers/icp.reducer.js +8 -8
  74. package/esm5/lib/store/reducers/redaction.reducer.js +15 -15
  75. package/esm5/lib/store/reducers/tags.reducer.js +14 -14
  76. package/esm5/lib/store/selectors/annotation.selectors.js +4 -4
  77. package/esm5/lib/store/store-utils.js +12 -12
  78. package/esm5/lib/toolbar/main-toolbar/main-toolbar.component.js +3 -3
  79. package/esm5/lib/toolbar/search-bar/search-bar.component.js +3 -3
  80. package/esm5/lib/toolbar/toolbar-button-visibility.service.js +1 -1
  81. package/esm5/lib/toolbar/toolbar-event.service.js +1 -1
  82. package/esm5/lib/viewers/image-viewer/image-viewer.component.js +5 -5
  83. package/esm5/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.js +5 -5
  84. package/esm5/lib/viewers/pdf-viewer/pdf-js/pdf-js-wrapper.provider.js +1 -1
  85. package/esm5/lib/viewers/pdf-viewer/pdf-viewer.component.js +7 -7
  86. package/esm5/lib/viewers/pdf-viewer/side-bar/bookmarks/bookmarks.component.js +7 -7
  87. package/esm5/lib/viewers/pdf-viewer/side-bar/side-bar.component.js +3 -3
  88. package/esm5/lib/viewers/unsupported-viewer/unsupported-viewer.component.js +3 -3
  89. package/esm5/lib/viewers/viewer-event.service.js +1 -1
  90. package/esm5/lib/viewers/viewer-util.service.js +1 -1
  91. package/esm5/public_api.js +19 -1
  92. package/fesm2015/hmcts-media-viewer.js +2617 -179
  93. package/fesm2015/hmcts-media-viewer.js.map +1 -1
  94. package/fesm5/hmcts-media-viewer.js +2574 -141
  95. package/fesm5/hmcts-media-viewer.js.map +1 -1
  96. package/hmcts-media-viewer-v2.8.1.tgz +0 -0
  97. package/hmcts-media-viewer.d.ts +63 -81
  98. package/hmcts-media-viewer.metadata.json +1 -1
  99. package/lib/annotations/annotation-set/ctx-toolbar/ctx-toolbar.component.d.ts +3 -3
  100. package/lib/annotations/comment-set/comment-set-header/comment-set-header.component.d.ts +1 -1
  101. package/lib/store/reducers/reducers.d.ts +1 -1
  102. package/lib/store/selectors/annotation.selectors.d.ts +17 -55
  103. package/lib/store/selectors/bookmark.selectors.d.ts +7 -17
  104. package/lib/store/selectors/document.selectors.d.ts +9 -14
  105. package/lib/store/selectors/icp.selectors.d.ts +8 -8
  106. package/lib/store/selectors/redaction.selectors.d.ts +7 -17
  107. package/lib/store/selectors/tag.selectors.d.ts +7 -16
  108. package/lib/toolbar/icp-event.service.d.ts +4 -4
  109. package/lib/toolbar/toolbar-event.service.d.ts +5 -5
  110. package/lib/viewers/image-viewer/image-viewer.component.d.ts +1 -1
  111. package/lib/viewers/pdf-viewer/side-bar/outline-item/outline-item.component.d.ts +1 -1
  112. package/lib/viewers/viewer-event.service.d.ts +1 -1
  113. package/package.json +7 -10
  114. package/public_api.d.ts +18 -0
  115. package/hmcts-media-viewer-v2.7.14.tgz +0 -0
@@ -1,27 +1,27 @@
1
+ import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, ViewEncapsulation, Output, Input, ViewChild, ElementRef, ChangeDetectorRef, HostListener, NgModule, ViewChildren, Directive, Pipe } from '@angular/core';
2
+ import { CommonModule, DatePipe } from '@angular/common';
3
+ import { FormsModule, FormGroup, FormControl, FormBuilder, ReactiveFormsModule } from '@angular/forms';
4
+ import { HttpClient, HttpClientModule } from '@angular/common/http';
5
+ import { __awaiter, __decorate, __metadata } from 'tslib';
6
+ import { BehaviorSubject, Subject, asyncScheduler, combineLatest, Observable, of } from 'rxjs';
7
+ import { tap, throttleTime, filter, map, catchError, take, distinctUntilChanged, auditTime, switchMap, exhaustMap, withLatestFrom } from 'rxjs/operators';
8
+ import { createFeatureSelector, createSelector, select, Store, StoreModule } from '@ngrx/store';
1
9
  import { PDFLinkService, EventBus, PDFFindController, PDFViewer, DownloadManager } from 'pdfjs-dist/web/pdf_viewer';
2
10
  import { GlobalWorkerOptions, getDocument } from 'pdfjs-dist';
3
11
  import 'pdfjs-dist/build/pdf.worker';
4
12
  import uuid from 'uuid/v4';
13
+ import moment from 'moment-timezone';
5
14
  import 'hammerjs';
6
15
  import { ConnectionPositionPair, OverlayModule } from '@angular/cdk/overlay';
16
+ import { RouterModule } from '@angular/router';
7
17
  import { A11yModule } from '@angular/cdk/a11y';
8
- import { NgxDatatableModule } from '@swimlane/ngx-datatable';
9
- import moment from 'moment-timezone';
10
- import { CommonModule, DatePipe } from '@angular/common';
11
- import { FormsModule, FormBuilder, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
18
+ import { MutableDivModule } from 'mutable-div';
12
19
  import { TagInputModule } from 'ngx-chips';
13
- import { RouterModule } from '@angular/router';
20
+ import { NgxDatatableModule } from '@swimlane/ngx-datatable';
21
+ import uuid$1, { v4 } from 'uuid';
22
+ import { ofType, Actions, Effect, EffectsModule } from '@ngrx/effects';
14
23
  import socketio from 'socket.io-client/dist/socket.io.js';
15
- import { HttpClient, HttpClientModule } from '@angular/common/http';
16
- import { __awaiter, __decorate, __metadata } from 'tslib';
17
- import { Actions, Effect, ofType, EffectsModule } from '@ngrx/effects';
18
- import { BehaviorSubject, Subject, asyncScheduler, combineLatest, Observable, of } from 'rxjs';
19
- import { MutableDivModule } from 'mutable-div';
20
24
  import { TreeModule } from 'angular-tree-component';
21
- import { filter, tap, throttleTime, catchError, map, take, distinctUntilChanged, auditTime, exhaustMap, switchMap, withLatestFrom } from 'rxjs/operators';
22
- import uuid$1, { v4 } from 'uuid';
23
- import { createFeatureSelector, createSelector, select, Store, StoreModule } from '@ngrx/store';
24
- import { Injectable, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, Output, ViewChild, ViewEncapsulation, NgModule, Directive, HostListener, ViewChildren, Pipe, ɵɵdefineInjectable, ɵɵinject } from '@angular/core';
25
25
 
26
26
  /**
27
27
  * @fileoverview added by tsickle
@@ -316,6 +316,78 @@ class PdfJsWrapper {
316
316
  return this.documentTitle;
317
317
  }
318
318
  }
319
+ if (false) {
320
+ /**
321
+ * @type {?}
322
+ * @private
323
+ */
324
+ PdfJsWrapper.prototype.zoomValue;
325
+ /**
326
+ * @type {?}
327
+ * @private
328
+ */
329
+ PdfJsWrapper.prototype.documentTitle;
330
+ /**
331
+ * @type {?}
332
+ * @private
333
+ */
334
+ PdfJsWrapper.prototype.documentOutline;
335
+ /**
336
+ * @type {?}
337
+ * @private
338
+ */
339
+ PdfJsWrapper.prototype.pdfViewer;
340
+ /**
341
+ * @type {?}
342
+ * @private
343
+ */
344
+ PdfJsWrapper.prototype.downloadManager;
345
+ /**
346
+ * @type {?}
347
+ * @private
348
+ */
349
+ PdfJsWrapper.prototype.toolbarEvents;
350
+ /** @type {?} */
351
+ PdfJsWrapper.prototype.documentLoadInit;
352
+ /** @type {?} */
353
+ PdfJsWrapper.prototype.documentLoadProgress;
354
+ /** @type {?} */
355
+ PdfJsWrapper.prototype.documentLoaded;
356
+ /** @type {?} */
357
+ PdfJsWrapper.prototype.outlineLoaded;
358
+ /** @type {?} */
359
+ PdfJsWrapper.prototype.documentLoadFailed;
360
+ /** @type {?} */
361
+ PdfJsWrapper.prototype.pageRendered;
362
+ /** @type {?} */
363
+ PdfJsWrapper.prototype.positionUpdated;
364
+ }
365
+ /**
366
+ * @record
367
+ */
368
+ function DocumentLoadProgress() { }
369
+ if (false) {
370
+ /** @type {?} */
371
+ DocumentLoadProgress.prototype.loaded;
372
+ /** @type {?} */
373
+ DocumentLoadProgress.prototype.total;
374
+ }
375
+ /**
376
+ * @record
377
+ */
378
+ function PageEvent() { }
379
+ if (false) {
380
+ /** @type {?} */
381
+ PageEvent.prototype.div;
382
+ /** @type {?} */
383
+ PageEvent.prototype.scale;
384
+ /** @type {?} */
385
+ PageEvent.prototype.rotation;
386
+ /** @type {?} */
387
+ PageEvent.prototype.id;
388
+ /** @type {?} */
389
+ PageEvent.prototype.viewportScale;
390
+ }
319
391
 
320
392
  /**
321
393
  * @fileoverview added by tsickle
@@ -382,6 +454,7 @@ const confirmExit = (/**
382
454
  });
383
455
 
384
456
  var icpEvents = /*#__PURE__*/Object.freeze({
457
+ __proto__: null,
385
458
  enabled: enabled,
386
459
  sessionLaunch: sessionLaunch,
387
460
  becomingPresenter: becomingPresenter,
@@ -401,6 +474,34 @@ var icpEvents = /*#__PURE__*/Object.freeze({
401
474
  * @fileoverview added by tsickle
402
475
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
403
476
  */
477
+ /**
478
+ * @record
479
+ */
480
+ function SearchOperation() { }
481
+ if (false) {
482
+ /** @type {?} */
483
+ SearchOperation.prototype.searchTerm;
484
+ /** @type {?} */
485
+ SearchOperation.prototype.highlightAll;
486
+ /** @type {?} */
487
+ SearchOperation.prototype.matchCase;
488
+ /** @type {?} */
489
+ SearchOperation.prototype.wholeWord;
490
+ /** @type {?} */
491
+ SearchOperation.prototype.previous;
492
+ /** @type {?} */
493
+ SearchOperation.prototype.reset;
494
+ }
495
+ /**
496
+ * @record
497
+ */
498
+ function SearchResultsCount() { }
499
+ if (false) {
500
+ /** @type {?} */
501
+ SearchResultsCount.prototype.current;
502
+ /** @type {?} */
503
+ SearchResultsCount.prototype.total;
504
+ }
404
505
  class ToolbarEventService {
405
506
  constructor() {
406
507
  this.highlightModeSubject = new BehaviorSubject(false);
@@ -626,7 +727,59 @@ class ToolbarEventService {
626
727
  ToolbarEventService.decorators = [
627
728
  { type: Injectable, args: [{ providedIn: 'root' },] }
628
729
  ];
629
- /** @nocollapse */ ToolbarEventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
730
+ /** @nocollapse */ ToolbarEventService.ɵprov = ɵɵdefineInjectable({ factory: function ToolbarEventService_Factory() { return new ToolbarEventService(); }, token: ToolbarEventService, providedIn: "root" });
731
+ if (false) {
732
+ /** @type {?} */
733
+ ToolbarEventService.prototype.highlightModeSubject;
734
+ /** @type {?} */
735
+ ToolbarEventService.prototype.drawModeSubject;
736
+ /** @type {?} */
737
+ ToolbarEventService.prototype.rotateSubject;
738
+ /** @type {?} */
739
+ ToolbarEventService.prototype.searchSubject;
740
+ /** @type {?} */
741
+ ToolbarEventService.prototype.searchResultsCountSubject;
742
+ /** @type {?} */
743
+ ToolbarEventService.prototype.zoomSubject;
744
+ /** @type {?} */
745
+ ToolbarEventService.prototype.stepZoomSubject;
746
+ /** @type {?} */
747
+ ToolbarEventService.prototype.zoomValueSubject;
748
+ /** @type {?} */
749
+ ToolbarEventService.prototype.pageCountSubject;
750
+ /** @type {?} */
751
+ ToolbarEventService.prototype.printSubject;
752
+ /** @type {?} */
753
+ ToolbarEventService.prototype.downloadSubject;
754
+ /** @type {?} */
755
+ ToolbarEventService.prototype.setCurrentPageSubject;
756
+ /** @type {?} */
757
+ ToolbarEventService.prototype.setCurrentPageInputValueSubject;
758
+ /** @type {?} */
759
+ ToolbarEventService.prototype.changePageByDeltaSubject;
760
+ /** @type {?} */
761
+ ToolbarEventService.prototype.showCommentSummary;
762
+ /** @type {?} */
763
+ ToolbarEventService.prototype.grabNDrag;
764
+ /** @type {?} */
765
+ ToolbarEventService.prototype.saveRotationSubject;
766
+ /** @type {?} */
767
+ ToolbarEventService.prototype.redactionMode;
768
+ /** @type {?} */
769
+ ToolbarEventService.prototype.redactionPreview;
770
+ /** @type {?} */
771
+ ToolbarEventService.prototype.applyRedactToDocument;
772
+ /** @type {?} */
773
+ ToolbarEventService.prototype.clearAllRedactMarkers;
774
+ /** @type {?} */
775
+ ToolbarEventService.prototype.sidebarOpen;
776
+ /** @type {?} */
777
+ ToolbarEventService.prototype.searchBarHidden;
778
+ /** @type {?} */
779
+ ToolbarEventService.prototype.commentsPanelVisible;
780
+ /** @type {?} */
781
+ ToolbarEventService.prototype.icp;
782
+ }
630
783
 
631
784
  /**
632
785
  * @fileoverview added by tsickle
@@ -678,7 +831,29 @@ PdfJsWrapperFactory.decorators = [
678
831
  PdfJsWrapperFactory.ctorParameters = () => [
679
832
  { type: ToolbarEventService }
680
833
  ];
681
- /** @nocollapse */ PdfJsWrapperFactory.ngInjectableDef = ɵɵdefineInjectable({ factory: function PdfJsWrapperFactory_Factory() { return new PdfJsWrapperFactory(ɵɵinject(ToolbarEventService)); }, token: PdfJsWrapperFactory, providedIn: "root" });
834
+ /** @nocollapse */ PdfJsWrapperFactory.ɵprov = ɵɵdefineInjectable({ factory: function PdfJsWrapperFactory_Factory() { return new PdfJsWrapperFactory(ɵɵinject(ToolbarEventService)); }, token: PdfJsWrapperFactory, providedIn: "root" });
835
+ if (false) {
836
+ /**
837
+ * @type {?}
838
+ * @private
839
+ */
840
+ PdfJsWrapperFactory.prototype.linkService;
841
+ /**
842
+ * @type {?}
843
+ * @private
844
+ */
845
+ PdfJsWrapperFactory.prototype.eventBus;
846
+ /**
847
+ * @type {?}
848
+ * @private
849
+ */
850
+ PdfJsWrapperFactory.prototype.pdfJsWrapper;
851
+ /**
852
+ * @type {?}
853
+ * @private
854
+ */
855
+ PdfJsWrapperFactory.prototype.toolbarEvents;
856
+ }
682
857
 
683
858
  /**
684
859
  * @fileoverview added by tsickle
@@ -715,7 +890,7 @@ PrintService.decorators = [
715
890
  providedIn: 'root'
716
891
  },] }
717
892
  ];
718
- /** @nocollapse */ PrintService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PrintService_Factory() { return new PrintService(); }, token: PrintService, providedIn: "root" });
893
+ /** @nocollapse */ PrintService.ɵprov = ɵɵdefineInjectable({ factory: function PrintService_Factory() { return new PrintService(); }, token: PrintService, providedIn: "root" });
719
894
 
720
895
  /**
721
896
  * @fileoverview added by tsickle
@@ -727,6 +902,16 @@ const ResponseType = {
727
902
  FAILURE: 'FAILURE',
728
903
  UNSUPPORTED: 'UNSUPPORTED',
729
904
  };
905
+ /**
906
+ * @record
907
+ */
908
+ function ExceptionDetail() { }
909
+ if (false) {
910
+ /** @type {?|undefined} */
911
+ ExceptionDetail.prototype.httpResponseCode;
912
+ /** @type {?|undefined} */
913
+ ExceptionDetail.prototype.message;
914
+ }
730
915
  class ViewerException {
731
916
  /**
732
917
  * @param {?=} exceptionType
@@ -737,6 +922,12 @@ class ViewerException {
737
922
  this.detail = detail;
738
923
  }
739
924
  }
925
+ if (false) {
926
+ /** @type {?} */
927
+ ViewerException.prototype.exceptionType;
928
+ /** @type {?} */
929
+ ViewerException.prototype.detail;
930
+ }
740
931
 
741
932
  /**
742
933
  * @fileoverview added by tsickle
@@ -791,7 +982,41 @@ class ToolbarButtonVisibilityService {
791
982
  ToolbarButtonVisibilityService.decorators = [
792
983
  { type: Injectable, args: [{ providedIn: 'root' },] }
793
984
  ];
794
- /** @nocollapse */ ToolbarButtonVisibilityService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ToolbarButtonVisibilityService_Factory() { return new ToolbarButtonVisibilityService(); }, token: ToolbarButtonVisibilityService, providedIn: "root" });
985
+ /** @nocollapse */ ToolbarButtonVisibilityService.ɵprov = ɵɵdefineInjectable({ factory: function ToolbarButtonVisibilityService_Factory() { return new ToolbarButtonVisibilityService(); }, token: ToolbarButtonVisibilityService, providedIn: "root" });
986
+ if (false) {
987
+ /** @type {?} */
988
+ ToolbarButtonVisibilityService.prototype.showPrint;
989
+ /** @type {?} */
990
+ ToolbarButtonVisibilityService.prototype.showDownload;
991
+ /** @type {?} */
992
+ ToolbarButtonVisibilityService.prototype.showNavigation;
993
+ /** @type {?} */
994
+ ToolbarButtonVisibilityService.prototype.showZoom;
995
+ /** @type {?} */
996
+ ToolbarButtonVisibilityService.prototype.showRotate;
997
+ /** @type {?} */
998
+ ToolbarButtonVisibilityService.prototype.showPresentationMode;
999
+ /** @type {?} */
1000
+ ToolbarButtonVisibilityService.prototype.showRedact;
1001
+ /** @type {?} */
1002
+ ToolbarButtonVisibilityService.prototype.showOpenFile;
1003
+ /** @type {?} */
1004
+ ToolbarButtonVisibilityService.prototype.showBookmark;
1005
+ /** @type {?} */
1006
+ ToolbarButtonVisibilityService.prototype.showHighlightButton;
1007
+ /** @type {?} */
1008
+ ToolbarButtonVisibilityService.prototype.showDrawButton;
1009
+ /** @type {?} */
1010
+ ToolbarButtonVisibilityService.prototype.showSearchBar;
1011
+ /** @type {?} */
1012
+ ToolbarButtonVisibilityService.prototype.showSidebar;
1013
+ /** @type {?} */
1014
+ ToolbarButtonVisibilityService.prototype.showCommentSummary;
1015
+ /** @type {?} */
1016
+ ToolbarButtonVisibilityService.prototype.showGrabNDragButton;
1017
+ /** @type {?} */
1018
+ ToolbarButtonVisibilityService.prototype.showSaveRotationButton;
1019
+ }
795
1020
  /**
796
1021
  * Default toolbar state for the PDF viewer
797
1022
  * @type {?}
@@ -877,6 +1102,12 @@ class SetDocumentId {
877
1102
  this.type = SET_DOCUMENT_ID;
878
1103
  }
879
1104
  }
1105
+ if (false) {
1106
+ /** @type {?} */
1107
+ SetDocumentId.prototype.type;
1108
+ /** @type {?} */
1109
+ SetDocumentId.prototype.payload;
1110
+ }
880
1111
  class AddPages {
881
1112
  /**
882
1113
  * @param {?} payload
@@ -886,6 +1117,12 @@ class AddPages {
886
1117
  this.type = ADD_PAGES;
887
1118
  }
888
1119
  }
1120
+ if (false) {
1121
+ /** @type {?} */
1122
+ AddPages.prototype.type;
1123
+ /** @type {?} */
1124
+ AddPages.prototype.payload;
1125
+ }
889
1126
  class PdfPositionUpdate {
890
1127
  /**
891
1128
  * @param {?} payload
@@ -895,6 +1132,12 @@ class PdfPositionUpdate {
895
1132
  this.type = POSITION_UPDATED;
896
1133
  }
897
1134
  }
1135
+ if (false) {
1136
+ /** @type {?} */
1137
+ PdfPositionUpdate.prototype.type;
1138
+ /** @type {?} */
1139
+ PdfPositionUpdate.prototype.payload;
1140
+ }
898
1141
  class Convert {
899
1142
  /**
900
1143
  * @param {?} payload
@@ -904,6 +1147,12 @@ class Convert {
904
1147
  this.type = CONVERT;
905
1148
  }
906
1149
  }
1150
+ if (false) {
1151
+ /** @type {?} */
1152
+ Convert.prototype.type;
1153
+ /** @type {?} */
1154
+ Convert.prototype.payload;
1155
+ }
907
1156
  class ConvertSuccess {
908
1157
  /**
909
1158
  * @param {?} payload
@@ -913,6 +1162,12 @@ class ConvertSuccess {
913
1162
  this.type = CONVERT_SUCCESS;
914
1163
  }
915
1164
  }
1165
+ if (false) {
1166
+ /** @type {?} */
1167
+ ConvertSuccess.prototype.type;
1168
+ /** @type {?} */
1169
+ ConvertSuccess.prototype.payload;
1170
+ }
916
1171
  class ConvertFailure {
917
1172
  /**
918
1173
  * @param {?} payload
@@ -922,11 +1177,21 @@ class ConvertFailure {
922
1177
  this.type = CONVERT_FAIL;
923
1178
  }
924
1179
  }
1180
+ if (false) {
1181
+ /** @type {?} */
1182
+ ConvertFailure.prototype.type;
1183
+ /** @type {?} */
1184
+ ConvertFailure.prototype.payload;
1185
+ }
925
1186
  class ClearConvertDocUrl {
926
1187
  constructor() {
927
1188
  this.type = CLEAR_CONVERT_DOC_URL;
928
1189
  }
929
1190
  }
1191
+ if (false) {
1192
+ /** @type {?} */
1193
+ ClearConvertDocUrl.prototype.type;
1194
+ }
930
1195
  class LoadRotation {
931
1196
  /**
932
1197
  * @param {?} payload
@@ -936,6 +1201,12 @@ class LoadRotation {
936
1201
  this.type = LOAD_ROTATION;
937
1202
  }
938
1203
  }
1204
+ if (false) {
1205
+ /** @type {?} */
1206
+ LoadRotation.prototype.type;
1207
+ /** @type {?} */
1208
+ LoadRotation.prototype.payload;
1209
+ }
939
1210
  class LoadRotationSuccess {
940
1211
  /**
941
1212
  * @param {?} payload
@@ -945,6 +1216,12 @@ class LoadRotationSuccess {
945
1216
  this.type = LOAD_ROTATION_SUCCESS;
946
1217
  }
947
1218
  }
1219
+ if (false) {
1220
+ /** @type {?} */
1221
+ LoadRotationSuccess.prototype.type;
1222
+ /** @type {?} */
1223
+ LoadRotationSuccess.prototype.payload;
1224
+ }
948
1225
  class LoadRotationFailure {
949
1226
  /**
950
1227
  * @param {?} payload
@@ -954,6 +1231,12 @@ class LoadRotationFailure {
954
1231
  this.type = LOAD_ROTATION_FAIL;
955
1232
  }
956
1233
  }
1234
+ if (false) {
1235
+ /** @type {?} */
1236
+ LoadRotationFailure.prototype.type;
1237
+ /** @type {?} */
1238
+ LoadRotationFailure.prototype.payload;
1239
+ }
957
1240
  class SaveRotation {
958
1241
  /**
959
1242
  * @param {?} payload
@@ -963,6 +1246,12 @@ class SaveRotation {
963
1246
  this.type = SAVE_ROTATION;
964
1247
  }
965
1248
  }
1249
+ if (false) {
1250
+ /** @type {?} */
1251
+ SaveRotation.prototype.type;
1252
+ /** @type {?} */
1253
+ SaveRotation.prototype.payload;
1254
+ }
966
1255
  class SaveRotationSuccess {
967
1256
  /**
968
1257
  * @param {?} payload
@@ -972,6 +1261,12 @@ class SaveRotationSuccess {
972
1261
  this.type = SAVE_ROTATION_SUCCESS;
973
1262
  }
974
1263
  }
1264
+ if (false) {
1265
+ /** @type {?} */
1266
+ SaveRotationSuccess.prototype.type;
1267
+ /** @type {?} */
1268
+ SaveRotationSuccess.prototype.payload;
1269
+ }
975
1270
  class SaveRotationFailure {
976
1271
  /**
977
1272
  * @param {?} payload
@@ -981,15 +1276,38 @@ class SaveRotationFailure {
981
1276
  this.type = SAVE_ROTATION_FAIL;
982
1277
  }
983
1278
  }
1279
+ if (false) {
1280
+ /** @type {?} */
1281
+ SaveRotationFailure.prototype.type;
1282
+ /** @type {?} */
1283
+ SaveRotationFailure.prototype.payload;
1284
+ }
984
1285
 
985
1286
  /**
986
1287
  * @fileoverview added by tsickle
987
1288
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
988
1289
  */
989
1290
  /** @type {?} */
1291
+ const UPDATE_TAGS = '[Tags] Update Tags';
1292
+ /** @type {?} */
990
1293
  const ADD_FILTER_TAGS = '[Tags] Add Filter Tags';
991
1294
  /** @type {?} */
992
1295
  const CLEAR_FILTER_TAGS = '[Tags] Clear Filter Tags';
1296
+ class UpdateTags {
1297
+ /**
1298
+ * @param {?} payload
1299
+ */
1300
+ constructor(payload) {
1301
+ this.payload = payload;
1302
+ this.type = UPDATE_TAGS;
1303
+ }
1304
+ }
1305
+ if (false) {
1306
+ /** @type {?} */
1307
+ UpdateTags.prototype.type;
1308
+ /** @type {?} */
1309
+ UpdateTags.prototype.payload;
1310
+ }
993
1311
  class AddFilterTags {
994
1312
  /**
995
1313
  * @param {?} payload
@@ -999,11 +1317,21 @@ class AddFilterTags {
999
1317
  this.type = ADD_FILTER_TAGS;
1000
1318
  }
1001
1319
  }
1320
+ if (false) {
1321
+ /** @type {?} */
1322
+ AddFilterTags.prototype.type;
1323
+ /** @type {?} */
1324
+ AddFilterTags.prototype.payload;
1325
+ }
1002
1326
  class ClearFilterTags {
1003
1327
  constructor() {
1004
1328
  this.type = CLEAR_FILTER_TAGS;
1005
1329
  }
1006
1330
  }
1331
+ if (false) {
1332
+ /** @type {?} */
1333
+ ClearFilterTags.prototype.type;
1334
+ }
1007
1335
 
1008
1336
  /**
1009
1337
  * @fileoverview added by tsickle
@@ -1034,6 +1362,12 @@ class SetCaseId {
1034
1362
  this.type = SET_CASE_ID;
1035
1363
  }
1036
1364
  }
1365
+ if (false) {
1366
+ /** @type {?} */
1367
+ SetCaseId.prototype.type;
1368
+ /** @type {?} */
1369
+ SetCaseId.prototype.payload;
1370
+ }
1037
1371
  class LoadIcpSession {
1038
1372
  /**
1039
1373
  * @param {?} payload
@@ -1043,6 +1377,12 @@ class LoadIcpSession {
1043
1377
  this.type = LOAD_ICP_SESSION;
1044
1378
  }
1045
1379
  }
1380
+ if (false) {
1381
+ /** @type {?} */
1382
+ LoadIcpSession.prototype.type;
1383
+ /** @type {?} */
1384
+ LoadIcpSession.prototype.payload;
1385
+ }
1046
1386
  class LoadIcpSessionFailure {
1047
1387
  /**
1048
1388
  * @param {?} payload
@@ -1052,6 +1392,12 @@ class LoadIcpSessionFailure {
1052
1392
  this.type = LOAD_ICP_SESSION_FAIL;
1053
1393
  }
1054
1394
  }
1395
+ if (false) {
1396
+ /** @type {?} */
1397
+ LoadIcpSessionFailure.prototype.type;
1398
+ /** @type {?} */
1399
+ LoadIcpSessionFailure.prototype.payload;
1400
+ }
1055
1401
  class JoinIcpSocketSession {
1056
1402
  /**
1057
1403
  * @param {?} payload
@@ -1061,6 +1407,12 @@ class JoinIcpSocketSession {
1061
1407
  this.type = JOIN_ICP_SOCKET_SESSION;
1062
1408
  }
1063
1409
  }
1410
+ if (false) {
1411
+ /** @type {?} */
1412
+ JoinIcpSocketSession.prototype.type;
1413
+ /** @type {?} */
1414
+ JoinIcpSocketSession.prototype.payload;
1415
+ }
1064
1416
  class IcpSocketSessionJoined {
1065
1417
  /**
1066
1418
  * @param {?} payload
@@ -1070,11 +1422,21 @@ class IcpSocketSessionJoined {
1070
1422
  this.type = ICP_SOCKET_SESSION_JOINED;
1071
1423
  }
1072
1424
  }
1425
+ if (false) {
1426
+ /** @type {?} */
1427
+ IcpSocketSessionJoined.prototype.type;
1428
+ /** @type {?} */
1429
+ IcpSocketSessionJoined.prototype.payload;
1430
+ }
1073
1431
  class LeaveIcpSocketSession {
1074
1432
  constructor() {
1075
1433
  this.type = LEAVE_ICP_SOCKET_SESSION;
1076
1434
  }
1077
1435
  }
1436
+ if (false) {
1437
+ /** @type {?} */
1438
+ LeaveIcpSocketSession.prototype.type;
1439
+ }
1078
1440
  class IcpPresenterUpdated {
1079
1441
  /**
1080
1442
  * @param {?} payload
@@ -1084,6 +1446,12 @@ class IcpPresenterUpdated {
1084
1446
  this.type = ICP_PRESENTER_UPDATED;
1085
1447
  }
1086
1448
  }
1449
+ if (false) {
1450
+ /** @type {?} */
1451
+ IcpPresenterUpdated.prototype.type;
1452
+ /** @type {?} */
1453
+ IcpPresenterUpdated.prototype.payload;
1454
+ }
1087
1455
  class IcpParticipantListUpdated {
1088
1456
  /**
1089
1457
  * @param {?} payload
@@ -1093,11 +1461,71 @@ class IcpParticipantListUpdated {
1093
1461
  this.type = ICP_PARTICIPANT_LIST_UPDATED;
1094
1462
  }
1095
1463
  }
1464
+ if (false) {
1465
+ /** @type {?} */
1466
+ IcpParticipantListUpdated.prototype.type;
1467
+ /** @type {?} */
1468
+ IcpParticipantListUpdated.prototype.payload;
1469
+ }
1096
1470
 
1097
1471
  /**
1098
1472
  * @fileoverview added by tsickle
1099
1473
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1100
1474
  */
1475
+ /**
1476
+ * @record
1477
+ */
1478
+ function DocumentState() { }
1479
+ if (false) {
1480
+ /** @type {?} */
1481
+ DocumentState.prototype.convertedDocument;
1482
+ /** @type {?} */
1483
+ DocumentState.prototype.documentId;
1484
+ /** @type {?} */
1485
+ DocumentState.prototype.pdfPosition;
1486
+ /** @type {?} */
1487
+ DocumentState.prototype.pages;
1488
+ /** @type {?} */
1489
+ DocumentState.prototype.hasDifferentPageSize;
1490
+ /** @type {?} */
1491
+ DocumentState.prototype.rotation;
1492
+ /** @type {?} */
1493
+ DocumentState.prototype.rotationLoaded;
1494
+ /** @type {?} */
1495
+ DocumentState.prototype.loaded;
1496
+ /** @type {?} */
1497
+ DocumentState.prototype.loading;
1498
+ }
1499
+ /**
1500
+ * @record
1501
+ */
1502
+ function DocumentPages() { }
1503
+ if (false) {
1504
+ /** @type {?} */
1505
+ DocumentPages.prototype.numberOfPages;
1506
+ /** @type {?} */
1507
+ DocumentPages.prototype.styles;
1508
+ /** @type {?} */
1509
+ DocumentPages.prototype.scaleRotation;
1510
+ /** @type {?} */
1511
+ DocumentPages.prototype.viewportScale;
1512
+ }
1513
+ /**
1514
+ * @record
1515
+ */
1516
+ function PdfPosition() { }
1517
+ if (false) {
1518
+ /** @type {?} */
1519
+ PdfPosition.prototype.pageNumber;
1520
+ /** @type {?} */
1521
+ PdfPosition.prototype.scale;
1522
+ /** @type {?} */
1523
+ PdfPosition.prototype.top;
1524
+ /** @type {?} */
1525
+ PdfPosition.prototype.left;
1526
+ /** @type {?} */
1527
+ PdfPosition.prototype.rotation;
1528
+ }
1101
1529
  /** @type {?} */
1102
1530
  const initialDocumentState = {
1103
1531
  convertedDocument: undefined,
@@ -1123,7 +1551,7 @@ function docReducer(state = initialDocumentState, action) {
1123
1551
  url: action.payload,
1124
1552
  error: undefined
1125
1553
  };
1126
- return Object.assign({}, state, { convertedDocument });
1554
+ return Object.assign(Object.assign({}, state), { convertedDocument });
1127
1555
  }
1128
1556
  case CONVERT_FAIL: {
1129
1557
  /** @type {?} */
@@ -1131,35 +1559,35 @@ function docReducer(state = initialDocumentState, action) {
1131
1559
  url: undefined,
1132
1560
  error: action.payload
1133
1561
  };
1134
- return Object.assign({}, state, { convertedDocument });
1562
+ return Object.assign(Object.assign({}, state), { convertedDocument });
1135
1563
  }
1136
1564
  case CLEAR_CONVERT_DOC_URL: {
1137
1565
  /** @type {?} */
1138
1566
  const convertedDocument = undefined;
1139
- return Object.assign({}, state, { convertedDocument });
1567
+ return Object.assign(Object.assign({}, state), { convertedDocument });
1140
1568
  }
1141
1569
  case LOAD_ROTATION: {
1142
- return Object.assign({}, state, { rotationLoaded: false });
1570
+ return Object.assign(Object.assign({}, state), { rotationLoaded: false });
1143
1571
  }
1144
1572
  case LOAD_ROTATION_SUCCESS: {
1145
1573
  /** @type {?} */
1146
1574
  const metadata = action.payload;
1147
1575
  /** @type {?} */
1148
1576
  const rotation = metadata ? metadata.rotationAngle : 0;
1149
- return Object.assign({}, state, { rotation, rotationLoaded: true });
1577
+ return Object.assign(Object.assign({}, state), { rotation, rotationLoaded: true });
1150
1578
  }
1151
1579
  case LOAD_ROTATION_FAIL: {
1152
- return Object.assign({}, state, { rotation: 0, rotationLoaded: true });
1580
+ return Object.assign(Object.assign({}, state), { rotation: 0, rotationLoaded: true });
1153
1581
  }
1154
1582
  case SAVE_ROTATION_SUCCESS: {
1155
1583
  /** @type {?} */
1156
1584
  const metadata = action.payload;
1157
1585
  /** @type {?} */
1158
1586
  const rotation = metadata.rotationAngle;
1159
- return Object.assign({}, state, { rotation });
1587
+ return Object.assign(Object.assign({}, state), { rotation });
1160
1588
  }
1161
1589
  case SET_DOCUMENT_ID: {
1162
- return Object.assign({}, state, { documentId: action.payload });
1590
+ return Object.assign(Object.assign({}, state), { documentId: action.payload });
1163
1591
  }
1164
1592
  case ADD_PAGES: {
1165
1593
  /** @type {?} */
@@ -1202,15 +1630,15 @@ function docReducer(state = initialDocumentState, action) {
1202
1630
  scaleRotation,
1203
1631
  viewportScale: page.viewportScale
1204
1632
  };
1205
- pages = Object.assign({}, pages, { [page.id]: p });
1633
+ pages = Object.assign(Object.assign({}, pages), { [page.id]: p });
1206
1634
  }));
1207
- return Object.assign({}, state, { pages,
1635
+ return Object.assign(Object.assign({}, state), { pages,
1208
1636
  hasDifferentPageSize });
1209
1637
  }
1210
1638
  case POSITION_UPDATED: {
1211
1639
  /** @type {?} */
1212
1640
  const pdfPosition = action.payload;
1213
- return Object.assign({}, state, { pdfPosition });
1641
+ return Object.assign(Object.assign({}, state), { pdfPosition });
1214
1642
  }
1215
1643
  }
1216
1644
  return state;
@@ -1299,6 +1727,12 @@ class LoadAnnotationSet {
1299
1727
  this.type = LOAD_ANNOTATION_SET;
1300
1728
  }
1301
1729
  }
1730
+ if (false) {
1731
+ /** @type {?} */
1732
+ LoadAnnotationSet.prototype.type;
1733
+ /** @type {?} */
1734
+ LoadAnnotationSet.prototype.payload;
1735
+ }
1302
1736
  class LoadAnnotationSetSucess {
1303
1737
  /**
1304
1738
  * @param {?} payload
@@ -1308,6 +1742,12 @@ class LoadAnnotationSetSucess {
1308
1742
  this.type = LOAD_ANNOTATION_SET_SUCCESS;
1309
1743
  }
1310
1744
  }
1745
+ if (false) {
1746
+ /** @type {?} */
1747
+ LoadAnnotationSetSucess.prototype.type;
1748
+ /** @type {?} */
1749
+ LoadAnnotationSetSucess.prototype.payload;
1750
+ }
1311
1751
  class LoadAnnotationSetFail {
1312
1752
  /**
1313
1753
  * @param {?} payload
@@ -1317,6 +1757,12 @@ class LoadAnnotationSetFail {
1317
1757
  this.type = LOAD_ANNOTATION_SET_FAIL;
1318
1758
  }
1319
1759
  }
1760
+ if (false) {
1761
+ /** @type {?} */
1762
+ LoadAnnotationSetFail.prototype.type;
1763
+ /** @type {?} */
1764
+ LoadAnnotationSetFail.prototype.payload;
1765
+ }
1320
1766
  class SaveAnnotation {
1321
1767
  /**
1322
1768
  * @param {?} payload
@@ -1326,6 +1772,12 @@ class SaveAnnotation {
1326
1772
  this.type = SAVE_ANNOTATION;
1327
1773
  }
1328
1774
  }
1775
+ if (false) {
1776
+ /** @type {?} */
1777
+ SaveAnnotation.prototype.type;
1778
+ /** @type {?} */
1779
+ SaveAnnotation.prototype.payload;
1780
+ }
1329
1781
  class SaveAnnotationSuccess {
1330
1782
  /**
1331
1783
  * @param {?} payload
@@ -1335,6 +1787,12 @@ class SaveAnnotationSuccess {
1335
1787
  this.type = SAVE_ANNOTATION_SUCCESS;
1336
1788
  }
1337
1789
  }
1790
+ if (false) {
1791
+ /** @type {?} */
1792
+ SaveAnnotationSuccess.prototype.type;
1793
+ /** @type {?} */
1794
+ SaveAnnotationSuccess.prototype.payload;
1795
+ }
1338
1796
  class SaveAnnotationFail {
1339
1797
  /**
1340
1798
  * @param {?} payload
@@ -1344,6 +1802,12 @@ class SaveAnnotationFail {
1344
1802
  this.type = SAVE_ANNOTATION_FAIL;
1345
1803
  }
1346
1804
  }
1805
+ if (false) {
1806
+ /** @type {?} */
1807
+ SaveAnnotationFail.prototype.type;
1808
+ /** @type {?} */
1809
+ SaveAnnotationFail.prototype.payload;
1810
+ }
1347
1811
  class AddOrEditComment {
1348
1812
  /**
1349
1813
  * @param {?} payload
@@ -1353,6 +1817,12 @@ class AddOrEditComment {
1353
1817
  this.type = ADD_OR_EDIT_COMMENT;
1354
1818
  }
1355
1819
  }
1820
+ if (false) {
1821
+ /** @type {?} */
1822
+ AddOrEditComment.prototype.type;
1823
+ /** @type {?} */
1824
+ AddOrEditComment.prototype.payload;
1825
+ }
1356
1826
  class DeleteAnnotation {
1357
1827
  /**
1358
1828
  * @param {?} payload
@@ -1362,6 +1832,12 @@ class DeleteAnnotation {
1362
1832
  this.type = DELETE_ANNOTATION;
1363
1833
  }
1364
1834
  }
1835
+ if (false) {
1836
+ /** @type {?} */
1837
+ DeleteAnnotation.prototype.type;
1838
+ /** @type {?} */
1839
+ DeleteAnnotation.prototype.payload;
1840
+ }
1365
1841
  class DeleteAnnotationSuccess {
1366
1842
  /**
1367
1843
  * @param {?} payload
@@ -1371,6 +1847,12 @@ class DeleteAnnotationSuccess {
1371
1847
  this.type = DELETE_ANNOTATION_SUCCESS;
1372
1848
  }
1373
1849
  }
1850
+ if (false) {
1851
+ /** @type {?} */
1852
+ DeleteAnnotationSuccess.prototype.type;
1853
+ /** @type {?} */
1854
+ DeleteAnnotationSuccess.prototype.payload;
1855
+ }
1374
1856
  class DeleteAnnotationFail {
1375
1857
  /**
1376
1858
  * @param {?} payload
@@ -1380,6 +1862,12 @@ class DeleteAnnotationFail {
1380
1862
  this.type = DELETE_ANNOTATION_FAIL;
1381
1863
  }
1382
1864
  }
1865
+ if (false) {
1866
+ /** @type {?} */
1867
+ DeleteAnnotationFail.prototype.type;
1868
+ /** @type {?} */
1869
+ DeleteAnnotationFail.prototype.payload;
1870
+ }
1383
1871
  class SelectedAnnotation {
1384
1872
  /**
1385
1873
  * @param {?} payload
@@ -1389,6 +1877,12 @@ class SelectedAnnotation {
1389
1877
  this.type = SELECT_ANNOTATION;
1390
1878
  }
1391
1879
  }
1880
+ if (false) {
1881
+ /** @type {?} */
1882
+ SelectedAnnotation.prototype.type;
1883
+ /** @type {?} */
1884
+ SelectedAnnotation.prototype.payload;
1885
+ }
1392
1886
  class SearchComment {
1393
1887
  /**
1394
1888
  * @param {?} payload
@@ -1398,6 +1892,12 @@ class SearchComment {
1398
1892
  this.type = SEARCH_COMMENT;
1399
1893
  }
1400
1894
  }
1895
+ if (false) {
1896
+ /** @type {?} */
1897
+ SearchComment.prototype.type;
1898
+ /** @type {?} */
1899
+ SearchComment.prototype.payload;
1900
+ }
1401
1901
  class ApplyCommentSymmaryFilter {
1402
1902
  /**
1403
1903
  * @param {?} payload
@@ -1407,11 +1907,21 @@ class ApplyCommentSymmaryFilter {
1407
1907
  this.type = APPLY_COMMENT_SUMMARY_FILTER;
1408
1908
  }
1409
1909
  }
1910
+ if (false) {
1911
+ /** @type {?} */
1912
+ ApplyCommentSymmaryFilter.prototype.type;
1913
+ /** @type {?} */
1914
+ ApplyCommentSymmaryFilter.prototype.payload;
1915
+ }
1410
1916
  class ClearCommentSummaryFilters {
1411
1917
  constructor() {
1412
1918
  this.type = CLEAR_COMMENT_SUMMARY_FILTER;
1413
1919
  }
1414
1920
  }
1921
+ if (false) {
1922
+ /** @type {?} */
1923
+ ClearCommentSummaryFilters.prototype.type;
1924
+ }
1415
1925
 
1416
1926
  /**
1417
1927
  * @fileoverview added by tsickle
@@ -1449,8 +1959,8 @@ class StoreUtils {
1449
1959
  (commentEntities, annotation) => {
1450
1960
  if (annotation.comments.length) {
1451
1961
  /** @type {?} */
1452
- const comment = Object.assign({}, annotation.comments[0] || '', { tags: [...annotation.tags || []] });
1453
- return Object.assign({}, commentEntities, { [annotation.id]: comment });
1962
+ const comment = Object.assign(Object.assign({}, annotation.comments[0] || ''), { tags: [...annotation.tags || []] });
1963
+ return Object.assign(Object.assign({}, commentEntities), { [annotation.id]: comment });
1454
1964
  }
1455
1965
  return Object.assign({}, commentEntities);
1456
1966
  }), {});
@@ -1479,7 +1989,7 @@ class StoreUtils {
1479
1989
  * @return {?}
1480
1990
  */
1481
1991
  (tagEntitiy, tagItem) => {
1482
- return Object.assign({}, tagEntitiy, tagItem);
1992
+ return Object.assign(Object.assign({}, tagEntitiy), tagItem);
1483
1993
  }), {});
1484
1994
  return this.genNameEnt(annotations, groupedByName);
1485
1995
  }
@@ -1515,8 +2025,8 @@ class StoreUtils {
1515
2025
  * @param {?} anno
1516
2026
  * @return {?}
1517
2027
  */
1518
- (obj, anno) => (Object.assign({}, obj, { [anno]: anno }))), {});
1519
- return Object.assign({}, tagNameEnt, { [key]: readyAnno });
2028
+ (obj, anno) => (Object.assign(Object.assign({}, obj), { [anno]: anno }))), {});
2029
+ return Object.assign(Object.assign({}, tagNameEnt), { [key]: readyAnno });
1520
2030
  }), {});
1521
2031
  }
1522
2032
  /**
@@ -1531,9 +2041,9 @@ class StoreUtils {
1531
2041
  */
1532
2042
  (annoEntities, annotation) => {
1533
2043
  /** @type {?} */
1534
- const annot = Object.assign({}, annotation, { positionTop: annotation.rectangles[0].y // todo remove this
2044
+ const annot = Object.assign(Object.assign({}, annotation), { positionTop: annotation.rectangles[0].y // todo remove this
1535
2045
  });
1536
- return Object.assign({}, annoEntities, { [annotation.id]: annot });
2046
+ return Object.assign(Object.assign({}, annoEntities), { [annotation.id]: annot });
1537
2047
  }), {});
1538
2048
  }
1539
2049
  /**
@@ -1547,7 +2057,7 @@ class StoreUtils {
1547
2057
  * @return {?}
1548
2058
  */
1549
2059
  (redactEntities, redaction) => {
1550
- return Object.assign({}, redactEntities, { [redaction.redactionId]: redaction });
2060
+ return Object.assign(Object.assign({}, redactEntities), { [redaction.redactionId]: redaction });
1551
2061
  }), {});
1552
2062
  }
1553
2063
  /**
@@ -1561,7 +2071,7 @@ class StoreUtils {
1561
2071
  * @return {?}
1562
2072
  */
1563
2073
  (object, key) => {
1564
- object[key] = Object.assign({}, ent[key], { editable: false, selected: false });
2074
+ object[key] = Object.assign(Object.assign({}, ent[key]), { editable: false, selected: false });
1565
2075
  return object;
1566
2076
  }), {});
1567
2077
  }
@@ -1597,16 +2107,16 @@ class StoreUtils {
1597
2107
  * @param {?} filter
1598
2108
  * @return {?}
1599
2109
  */
1600
- filter$$1 => {
2110
+ filter => {
1601
2111
  /** @type {?} */
1602
- const label = filters.tagFilters[filter$$1];
2112
+ const label = filters.tagFilters[filter];
1603
2113
  if (label) {
1604
2114
  return comment.tags.forEach((/**
1605
2115
  * @param {?} tag
1606
2116
  * @return {?}
1607
2117
  */
1608
2118
  tag => {
1609
- if (tag.name === filter$$1 && !hasTagFilter) {
2119
+ if (tag.name === filter && !hasTagFilter) {
1610
2120
  hasTagFilter = true;
1611
2121
  }
1612
2122
  }));
@@ -1651,6 +2161,30 @@ class StoreUtils {
1651
2161
  * @fileoverview added by tsickle
1652
2162
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1653
2163
  */
2164
+ /**
2165
+ * @record
2166
+ */
2167
+ function AnnotationSetState() { }
2168
+ if (false) {
2169
+ /** @type {?} */
2170
+ AnnotationSetState.prototype.annotationSet;
2171
+ /** @type {?} */
2172
+ AnnotationSetState.prototype.annotationEntities;
2173
+ /** @type {?} */
2174
+ AnnotationSetState.prototype.annotationPageEntities;
2175
+ /** @type {?} */
2176
+ AnnotationSetState.prototype.commentEntities;
2177
+ /** @type {?} */
2178
+ AnnotationSetState.prototype.selectedAnnotation;
2179
+ /** @type {?} */
2180
+ AnnotationSetState.prototype.commentSearchQueries;
2181
+ /** @type {?} */
2182
+ AnnotationSetState.prototype.commentSummaryFilters;
2183
+ /** @type {?} */
2184
+ AnnotationSetState.prototype.loaded;
2185
+ /** @type {?} */
2186
+ AnnotationSetState.prototype.loading;
2187
+ }
1654
2188
  /** @type {?} */
1655
2189
  const initialState = {
1656
2190
  annotationSet: {},
@@ -1672,20 +2206,20 @@ function reducer(state = initialState, action) {
1672
2206
  switch (action.type) {
1673
2207
  case LOAD_ANNOTATION_SET: {
1674
2208
  /** @type {?} */
1675
- const annotationSet = Object.assign({}, state.annotationSet, { documentId: action.payload });
1676
- return Object.assign({}, initialState, { annotationSet, loading: true });
2209
+ const annotationSet = Object.assign(Object.assign({}, state.annotationSet), { documentId: action.payload });
2210
+ return Object.assign(Object.assign({}, initialState), { annotationSet, loading: true });
1677
2211
  }
1678
2212
  case LOAD_ANNOTATION_SET_SUCCESS:
1679
2213
  case LOAD_ANNOTATION_SET_FAIL: {
1680
2214
  /** @type {?} */
1681
- const annotationSet = action.payload.status === 200 ? action.payload.body : Object.assign({}, state.annotationSet, { annotations: [], id: uuid() });
2215
+ const annotationSet = action.payload.status === 200 ? action.payload.body : Object.assign(Object.assign({}, state.annotationSet), { annotations: [], id: uuid() });
1682
2216
  /** @type {?} */
1683
2217
  const annotationEntities = StoreUtils.generateAnnotationEntities(annotationSet.annotations);
1684
2218
  /** @type {?} */
1685
2219
  const annotationPageEntities = StoreUtils.groupByKeyEntities(annotationSet.annotations, 'page');
1686
2220
  /** @type {?} */
1687
2221
  const commentEntities = StoreUtils.generateCommentsEntities(annotationSet.annotations);
1688
- return Object.assign({}, state, { annotationSet,
2222
+ return Object.assign(Object.assign({}, state), { annotationSet,
1689
2223
  annotationEntities,
1690
2224
  annotationPageEntities,
1691
2225
  commentEntities, loading: false, loaded: true });
@@ -1694,7 +2228,7 @@ function reducer(state = initialState, action) {
1694
2228
  /** @type {?} */
1695
2229
  const anno = action.payload;
1696
2230
  /** @type {?} */
1697
- const annEntities = Object.assign({}, state.annotationEntities, { [anno.id]: anno });
2231
+ const annEntities = Object.assign(Object.assign({}, state.annotationEntities), { [anno.id]: anno });
1698
2232
  /** @type {?} */
1699
2233
  const annotArray = Object.keys(annEntities).map((/**
1700
2234
  * @param {?} key
@@ -1708,8 +2242,8 @@ function reducer(state = initialState, action) {
1708
2242
  /** @type {?} */
1709
2243
  const commentEntities = StoreUtils.generateCommentsEntities(annotArray);
1710
2244
  /** @type {?} */
1711
- const selectedAnnotation = Object.assign({}, state.selectedAnnotation, { annotationId: anno.id, editable: false });
1712
- return Object.assign({}, state, { annotationEntities,
2245
+ const selectedAnnotation = Object.assign(Object.assign({}, state.selectedAnnotation), { annotationId: anno.id, editable: false });
2246
+ return Object.assign(Object.assign({}, state), { annotationEntities,
1713
2247
  annotationPageEntities,
1714
2248
  commentEntities,
1715
2249
  selectedAnnotation, loading: false, loaded: true });
@@ -1731,13 +2265,13 @@ function reducer(state = initialState, action) {
1731
2265
  anno => anno.id !== id))
1732
2266
  ];
1733
2267
  /** @type {?} */
1734
- const annotationPageEntities = Object.assign({}, state.annotationPageEntities, { [page]: pageAnnotationsRemoved });
2268
+ const annotationPageEntities = Object.assign(Object.assign({}, state.annotationPageEntities), { [page]: pageAnnotationsRemoved });
1735
2269
  /** @type {?} */
1736
2270
  const commentEntities = Object.assign({}, state.commentEntities);
1737
2271
  if (state.commentEntities[id]) {
1738
2272
  delete commentEntities[id];
1739
2273
  }
1740
- return Object.assign({}, state, { annotationEntities,
2274
+ return Object.assign(Object.assign({}, state), { annotationEntities,
1741
2275
  annotationPageEntities,
1742
2276
  commentEntities });
1743
2277
  }
@@ -1747,26 +2281,26 @@ function reducer(state = initialState, action) {
1747
2281
  [action.payload.annotationId]: action.payload
1748
2282
  };
1749
2283
  /** @type {?} */
1750
- const comments = Object.assign({}, state.commentEntities, comment);
1751
- return Object.assign({}, state, { commentEntities: comments });
2284
+ const comments = Object.assign(Object.assign({}, state.commentEntities), comment);
2285
+ return Object.assign(Object.assign({}, state), { commentEntities: comments });
1752
2286
  }
1753
2287
  case SELECT_ANNOTATION: {
1754
2288
  /** @type {?} */
1755
2289
  const payload = action.payload;
1756
2290
  /** @type {?} */
1757
- const commentEntity = Object.assign({}, state.commentEntities[payload.annotationId], { editable: payload.editable, selected: payload.selected });
2291
+ const commentEntity = Object.assign(Object.assign({}, state.commentEntities[payload.annotationId]), { editable: payload.editable, selected: payload.selected });
1758
2292
  /** @type {?} */
1759
2293
  const resetCommentEntSelect = StoreUtils.resetCommentEntSelect(Object.assign({}, state.commentEntities));
1760
2294
  /** @type {?} */
1761
- const commentEntities = payload.annotationId && state.commentEntities[payload.annotationId] ? Object.assign({}, resetCommentEntSelect, { [payload.annotationId]: commentEntity }) : Object.assign({}, resetCommentEntSelect);
1762
- return Object.assign({}, state, { commentEntities, selectedAnnotation: action.payload });
2295
+ const commentEntities = payload.annotationId && state.commentEntities[payload.annotationId] ? Object.assign(Object.assign({}, resetCommentEntSelect), { [payload.annotationId]: commentEntity }) : Object.assign({}, resetCommentEntSelect);
2296
+ return Object.assign(Object.assign({}, state), { commentEntities, selectedAnnotation: action.payload });
1763
2297
  }
1764
2298
  case SEARCH_COMMENT: {
1765
2299
  /** @type {?} */
1766
- const commentSearchQueries = Object.assign({}, state.commentSearchQueries, { commentSearch: action.payload });
2300
+ const commentSearchQueries = Object.assign(Object.assign({}, state.commentSearchQueries), { commentSearch: action.payload });
1767
2301
  /** @type {?} */
1768
2302
  const commentEntities = StoreUtils.resetCommentEntSelect(Object.assign({}, state.commentEntities));
1769
- return Object.assign({}, state, { commentEntities,
2303
+ return Object.assign(Object.assign({}, state), { commentEntities,
1770
2304
  commentSearchQueries });
1771
2305
  }
1772
2306
  case APPLY_COMMENT_SUMMARY_FILTER: {
@@ -1784,8 +2318,8 @@ function reducer(state = initialState, action) {
1784
2318
  * @param {?} filter
1785
2319
  * @return {?}
1786
2320
  */
1787
- filter$$1 => {
1788
- if (payload.tagFilters[filter$$1] && !isFiltered) {
2321
+ filter => {
2322
+ if (payload.tagFilters[filter] && !isFiltered) {
1789
2323
  isFiltered = true;
1790
2324
  }
1791
2325
  }));
@@ -1799,10 +2333,10 @@ function reducer(state = initialState, action) {
1799
2333
  hasFilter,
1800
2334
  filters: payload
1801
2335
  };
1802
- return Object.assign({}, state, { commentSummaryFilters: commentSummaryFilters });
2336
+ return Object.assign(Object.assign({}, state), { commentSummaryFilters: commentSummaryFilters });
1803
2337
  }
1804
2338
  case CLEAR_COMMENT_SUMMARY_FILTER: {
1805
- return Object.assign({}, state, { commentSummaryFilters: Object.assign({}, initialState.commentSummaryFilters) });
2339
+ return Object.assign(Object.assign({}, state), { commentSummaryFilters: Object.assign({}, initialState.commentSummaryFilters) });
1806
2340
  }
1807
2341
  }
1808
2342
  return state;
@@ -1854,6 +2388,24 @@ const getSummaryFilters = (/**
1854
2388
  * @fileoverview added by tsickle
1855
2389
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1856
2390
  */
2391
+ /**
2392
+ * @record
2393
+ */
2394
+ function TagsState() { }
2395
+ if (false) {
2396
+ /** @type {?} */
2397
+ TagsState.prototype.tagNameEnt;
2398
+ /** @type {?} */
2399
+ TagsState.prototype.filteredComments;
2400
+ /** @type {?} */
2401
+ TagsState.prototype.filteredPageEntities;
2402
+ /** @type {?} */
2403
+ TagsState.prototype.annotations;
2404
+ /** @type {?} */
2405
+ TagsState.prototype.formFilterState;
2406
+ /** @type {?} */
2407
+ TagsState.prototype.filters;
2408
+ }
1857
2409
  /** @type {?} */
1858
2410
  const initialTagState = {
1859
2411
  tagNameEnt: {},
@@ -1871,14 +2423,14 @@ const initialTagState = {
1871
2423
  function tagsReducer(state = initialTagState, action) {
1872
2424
  switch (action.type) {
1873
2425
  case LOAD_ANNOTATION_SET: {
1874
- return Object.assign({}, state, initialTagState);
2426
+ return Object.assign(Object.assign({}, state), initialTagState);
1875
2427
  }
1876
2428
  case LOAD_ANNOTATION_SET_SUCCESS: {
1877
2429
  /** @type {?} */
1878
2430
  const annotations = action.payload.body.annotations;
1879
2431
  /** @type {?} */
1880
2432
  const tagNameEnt = StoreUtils.genTagNameEntities(annotations);
1881
- return Object.assign({}, state, { tagNameEnt,
2433
+ return Object.assign(Object.assign({}, state), { tagNameEnt,
1882
2434
  annotations });
1883
2435
  }
1884
2436
  case SAVE_ANNOTATION_SUCCESS: {
@@ -1894,7 +2446,7 @@ function tagsReducer(state = initialTagState, action) {
1894
2446
  const annotations = [...anno, payload];
1895
2447
  /** @type {?} */
1896
2448
  const tagNameEnt = StoreUtils.genTagNameEntities(annotations);
1897
- return Object.assign({}, state, { annotations,
2449
+ return Object.assign(Object.assign({}, state), { annotations,
1898
2450
  tagNameEnt });
1899
2451
  }
1900
2452
  case DELETE_ANNOTATION_SUCCESS: {
@@ -1913,7 +2465,7 @@ function tagsReducer(state = initialTagState, action) {
1913
2465
  /** @type {?} */
1914
2466
  const filteredComments = Object.assign({}, state.filteredComments);
1915
2467
  delete filteredComments[id];
1916
- return Object.assign({}, state, { annotations,
2468
+ return Object.assign(Object.assign({}, state), { annotations,
1917
2469
  tagNameEnt,
1918
2470
  filteredComments,
1919
2471
  filteredPageEntities, filters: [] });
@@ -1937,7 +2489,7 @@ function tagsReducer(state = initialTagState, action) {
1937
2489
  * @return {?}
1938
2490
  */
1939
2491
  (obj, f) => {
1940
- return Object.assign({}, obj, state.tagNameEnt[f]);
2492
+ return Object.assign(Object.assign({}, obj), state.tagNameEnt[f]);
1941
2493
  }), {});
1942
2494
  /** @type {?} */
1943
2495
  const annotations = Object.keys(filteredComments).map((/**
@@ -1951,12 +2503,12 @@ function tagsReducer(state = initialTagState, action) {
1951
2503
  a => a.id === key))[0]));
1952
2504
  /** @type {?} */
1953
2505
  const filteredPageEntities = StoreUtils.groupByKeyEntities(annotations, 'page');
1954
- return Object.assign({}, state, { filters,
2506
+ return Object.assign(Object.assign({}, state), { filters,
1955
2507
  filteredComments,
1956
2508
  filteredPageEntities });
1957
2509
  }
1958
2510
  case CLEAR_FILTER_TAGS: {
1959
- return Object.assign({}, state, { filters: [], filteredComments: {}, filteredPageEntities: {} });
2511
+ return Object.assign(Object.assign({}, state), { filters: [], filteredComments: {}, filteredPageEntities: {} });
1960
2512
  }
1961
2513
  }
1962
2514
  return state;
@@ -2025,6 +2577,10 @@ class LoadBookmarks {
2025
2577
  this.type = LOAD_BOOKMARKS;
2026
2578
  }
2027
2579
  }
2580
+ if (false) {
2581
+ /** @type {?} */
2582
+ LoadBookmarks.prototype.type;
2583
+ }
2028
2584
  class LoadBookmarksSuccess {
2029
2585
  /**
2030
2586
  * @param {?} payload
@@ -2034,6 +2590,12 @@ class LoadBookmarksSuccess {
2034
2590
  this.type = LOAD_BOOKMARKS_SUCCESS;
2035
2591
  }
2036
2592
  }
2593
+ if (false) {
2594
+ /** @type {?} */
2595
+ LoadBookmarksSuccess.prototype.type;
2596
+ /** @type {?} */
2597
+ LoadBookmarksSuccess.prototype.payload;
2598
+ }
2037
2599
  class LoadBookmarksFailure {
2038
2600
  /**
2039
2601
  * @param {?} payload
@@ -2043,6 +2605,12 @@ class LoadBookmarksFailure {
2043
2605
  this.type = LOAD_BOOKMARKS_FAIL;
2044
2606
  }
2045
2607
  }
2608
+ if (false) {
2609
+ /** @type {?} */
2610
+ LoadBookmarksFailure.prototype.type;
2611
+ /** @type {?} */
2612
+ LoadBookmarksFailure.prototype.payload;
2613
+ }
2046
2614
  class CreateBookmark {
2047
2615
  /**
2048
2616
  * @param {?} payload
@@ -2052,6 +2620,12 @@ class CreateBookmark {
2052
2620
  this.type = CREATE_BOOKMARK;
2053
2621
  }
2054
2622
  }
2623
+ if (false) {
2624
+ /** @type {?} */
2625
+ CreateBookmark.prototype.type;
2626
+ /** @type {?} */
2627
+ CreateBookmark.prototype.payload;
2628
+ }
2055
2629
  class CreateBookmarkSuccess {
2056
2630
  /**
2057
2631
  * @param {?} payload
@@ -2061,6 +2635,12 @@ class CreateBookmarkSuccess {
2061
2635
  this.type = CREATE_BOOKMARK_SUCCESS;
2062
2636
  }
2063
2637
  }
2638
+ if (false) {
2639
+ /** @type {?} */
2640
+ CreateBookmarkSuccess.prototype.type;
2641
+ /** @type {?} */
2642
+ CreateBookmarkSuccess.prototype.payload;
2643
+ }
2064
2644
  class CreateBookmarkFailure {
2065
2645
  /**
2066
2646
  * @param {?} payload
@@ -2070,6 +2650,12 @@ class CreateBookmarkFailure {
2070
2650
  this.type = CREATE_BOOKMARK_FAIL;
2071
2651
  }
2072
2652
  }
2653
+ if (false) {
2654
+ /** @type {?} */
2655
+ CreateBookmarkFailure.prototype.type;
2656
+ /** @type {?} */
2657
+ CreateBookmarkFailure.prototype.payload;
2658
+ }
2073
2659
  class DeleteBookmark {
2074
2660
  /**
2075
2661
  * @param {?} payload
@@ -2079,6 +2665,12 @@ class DeleteBookmark {
2079
2665
  this.type = DELETE_BOOKMARK;
2080
2666
  }
2081
2667
  }
2668
+ if (false) {
2669
+ /** @type {?} */
2670
+ DeleteBookmark.prototype.type;
2671
+ /** @type {?} */
2672
+ DeleteBookmark.prototype.payload;
2673
+ }
2082
2674
  class DeleteBookmarkSuccess {
2083
2675
  /**
2084
2676
  * @param {?} payload
@@ -2088,6 +2680,12 @@ class DeleteBookmarkSuccess {
2088
2680
  this.type = DELETE_BOOKMARK_SUCCESS;
2089
2681
  }
2090
2682
  }
2683
+ if (false) {
2684
+ /** @type {?} */
2685
+ DeleteBookmarkSuccess.prototype.type;
2686
+ /** @type {?} */
2687
+ DeleteBookmarkSuccess.prototype.payload;
2688
+ }
2091
2689
  class DeleteBookmarkFailure {
2092
2690
  /**
2093
2691
  * @param {?} payload
@@ -2097,6 +2695,12 @@ class DeleteBookmarkFailure {
2097
2695
  this.type = DELETE_BOOKMARK_FAIL;
2098
2696
  }
2099
2697
  }
2698
+ if (false) {
2699
+ /** @type {?} */
2700
+ DeleteBookmarkFailure.prototype.type;
2701
+ /** @type {?} */
2702
+ DeleteBookmarkFailure.prototype.payload;
2703
+ }
2100
2704
  class MoveBookmark {
2101
2705
  /**
2102
2706
  * @param {?} payload
@@ -2106,6 +2710,12 @@ class MoveBookmark {
2106
2710
  this.type = MOVE_BOOKMARK;
2107
2711
  }
2108
2712
  }
2713
+ if (false) {
2714
+ /** @type {?} */
2715
+ MoveBookmark.prototype.type;
2716
+ /** @type {?} */
2717
+ MoveBookmark.prototype.payload;
2718
+ }
2109
2719
  class MoveBookmarkSuccess {
2110
2720
  /**
2111
2721
  * @param {?} payload
@@ -2115,6 +2725,12 @@ class MoveBookmarkSuccess {
2115
2725
  this.type = MOVE_BOOKMARK_SUCCESS;
2116
2726
  }
2117
2727
  }
2728
+ if (false) {
2729
+ /** @type {?} */
2730
+ MoveBookmarkSuccess.prototype.type;
2731
+ /** @type {?} */
2732
+ MoveBookmarkSuccess.prototype.payload;
2733
+ }
2118
2734
  class MoveBookmarkFailure {
2119
2735
  /**
2120
2736
  * @param {?} payload
@@ -2124,6 +2740,12 @@ class MoveBookmarkFailure {
2124
2740
  this.type = MOVE_BOOKMARK_FAIL;
2125
2741
  }
2126
2742
  }
2743
+ if (false) {
2744
+ /** @type {?} */
2745
+ MoveBookmarkFailure.prototype.type;
2746
+ /** @type {?} */
2747
+ MoveBookmarkFailure.prototype.payload;
2748
+ }
2127
2749
  class UpdateBookmark {
2128
2750
  /**
2129
2751
  * @param {?} payload
@@ -2133,6 +2755,12 @@ class UpdateBookmark {
2133
2755
  this.type = UPDATE_BOOKMARK;
2134
2756
  }
2135
2757
  }
2758
+ if (false) {
2759
+ /** @type {?} */
2760
+ UpdateBookmark.prototype.type;
2761
+ /** @type {?} */
2762
+ UpdateBookmark.prototype.payload;
2763
+ }
2136
2764
  class UpdateBookmarkSuccess {
2137
2765
  /**
2138
2766
  * @param {?} payload
@@ -2142,6 +2770,12 @@ class UpdateBookmarkSuccess {
2142
2770
  this.type = UPDATE_BOOKMARK_SUCCESS;
2143
2771
  }
2144
2772
  }
2773
+ if (false) {
2774
+ /** @type {?} */
2775
+ UpdateBookmarkSuccess.prototype.type;
2776
+ /** @type {?} */
2777
+ UpdateBookmarkSuccess.prototype.payload;
2778
+ }
2145
2779
  class UpdateBookmarkFailure {
2146
2780
  /**
2147
2781
  * @param {?} payload
@@ -2151,6 +2785,12 @@ class UpdateBookmarkFailure {
2151
2785
  this.type = UPDATE_BOOKMARK_FAIL;
2152
2786
  }
2153
2787
  }
2788
+ if (false) {
2789
+ /** @type {?} */
2790
+ UpdateBookmarkFailure.prototype.type;
2791
+ /** @type {?} */
2792
+ UpdateBookmarkFailure.prototype.payload;
2793
+ }
2154
2794
 
2155
2795
  /**
2156
2796
  * @fileoverview added by tsickle
@@ -2221,6 +2861,7 @@ const indexEntities = (/**
2221
2861
  keysToRemove = [];
2222
2862
  }
2223
2863
  });
2864
+ const ɵ0 = indexEntities;
2224
2865
  /** @type {?} */
2225
2866
  const generateBookmarkNodes = (/**
2226
2867
  * @param {?} entities
@@ -2257,6 +2898,24 @@ const generateBookmarkNodes = (/**
2257
2898
  * @fileoverview added by tsickle
2258
2899
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2259
2900
  */
2901
+ /**
2902
+ * @record
2903
+ */
2904
+ function BookmarksState() { }
2905
+ if (false) {
2906
+ /** @type {?} */
2907
+ BookmarksState.prototype.bookmarks;
2908
+ /** @type {?} */
2909
+ BookmarksState.prototype.bookmarkEntities;
2910
+ /** @type {?} */
2911
+ BookmarksState.prototype.bookmarkPageEntities;
2912
+ /** @type {?} */
2913
+ BookmarksState.prototype.editableBookmark;
2914
+ /** @type {?} */
2915
+ BookmarksState.prototype.loaded;
2916
+ /** @type {?} */
2917
+ BookmarksState.prototype.loading;
2918
+ }
2260
2919
  /** @type {?} */
2261
2920
  const initialBookmarksState = {
2262
2921
  bookmarks: [],
@@ -2274,7 +2933,7 @@ const initialBookmarksState = {
2274
2933
  function bookmarksReducer(state = initialBookmarksState, action) {
2275
2934
  switch (action.type) {
2276
2935
  case LOAD_BOOKMARKS: {
2277
- return Object.assign({}, state, { loading: true });
2936
+ return Object.assign(Object.assign({}, state), { loading: true });
2278
2937
  }
2279
2938
  case LOAD_BOOKMARKS_SUCCESS:
2280
2939
  case LOAD_BOOKMARKS_FAIL: {
@@ -2284,7 +2943,7 @@ function bookmarksReducer(state = initialBookmarksState, action) {
2284
2943
  const bookmarkEntities = generateBookmarkEntities(bookmarks);
2285
2944
  /** @type {?} */
2286
2945
  const bookmarkPageEntities = StoreUtils.groupByKeyEntities(bookmarks, 'pageNumber');
2287
- return Object.assign({}, state, { bookmarks,
2946
+ return Object.assign(Object.assign({}, state), { bookmarks,
2288
2947
  bookmarkEntities,
2289
2948
  bookmarkPageEntities, loaded: true });
2290
2949
  }
@@ -2292,7 +2951,7 @@ function bookmarksReducer(state = initialBookmarksState, action) {
2292
2951
  /** @type {?} */
2293
2952
  const bookmark = action.payload;
2294
2953
  /** @type {?} */
2295
- const bookmarkEntities = Object.assign({}, state.bookmarkEntities, { [bookmark.id]: bookmark });
2954
+ const bookmarkEntities = Object.assign(Object.assign({}, state.bookmarkEntities), { [bookmark.id]: bookmark });
2296
2955
  /** @type {?} */
2297
2956
  const bookmarkArray = Object.keys(bookmarkEntities).map((/**
2298
2957
  * @param {?} key
@@ -2303,7 +2962,7 @@ function bookmarksReducer(state = initialBookmarksState, action) {
2303
2962
  const bookmarkPageEntities = StoreUtils.groupByKeyEntities(bookmarkArray, 'pageNumber');
2304
2963
  /** @type {?} */
2305
2964
  const editableBookmark = bookmark.id;
2306
- return Object.assign({}, state, { bookmarkEntities,
2965
+ return Object.assign(Object.assign({}, state), { bookmarkEntities,
2307
2966
  editableBookmark,
2308
2967
  bookmarkPageEntities, loading: false, loaded: true });
2309
2968
  }
@@ -2311,8 +2970,8 @@ function bookmarksReducer(state = initialBookmarksState, action) {
2311
2970
  /** @type {?} */
2312
2971
  const movedBookmarks = generateBookmarkEntities(action.payload);
2313
2972
  /** @type {?} */
2314
- const bookmarkEntities = Object.assign({}, state.bookmarkEntities, movedBookmarks);
2315
- return Object.assign({}, state, { bookmarkEntities, loading: false, loaded: true });
2973
+ const bookmarkEntities = Object.assign(Object.assign({}, state.bookmarkEntities), movedBookmarks);
2974
+ return Object.assign(Object.assign({}, state), { bookmarkEntities, loading: false, loaded: true });
2316
2975
  }
2317
2976
  case DELETE_BOOKMARK_SUCCESS: {
2318
2977
  /** @type {?} */
@@ -2348,14 +3007,14 @@ function bookmarksReducer(state = initialBookmarksState, action) {
2348
3007
  */
2349
3008
  bookmarkId => bmrkIds.includes(bookmarkId)));
2350
3009
  }));
2351
- return Object.assign({}, state, { bookmarkEntities,
3010
+ return Object.assign(Object.assign({}, state), { bookmarkEntities,
2352
3011
  bookmarkPageEntities, loading: false, loaded: true });
2353
3012
  }
2354
3013
  case UPDATE_BOOKMARK_SUCCESS: {
2355
3014
  /** @type {?} */
2356
3015
  const bookmark = action.payload;
2357
3016
  /** @type {?} */
2358
- const bookmarkEntities = Object.assign({}, state.bookmarkEntities, { [bookmark.id]: Object.assign({}, bookmark) });
3017
+ const bookmarkEntities = Object.assign(Object.assign({}, state.bookmarkEntities), { [bookmark.id]: Object.assign({}, bookmark) });
2359
3018
  /** @type {?} */
2360
3019
  const bookmarkArray = Object.keys(bookmarkEntities).map((/**
2361
3020
  * @param {?} key
@@ -2366,7 +3025,7 @@ function bookmarksReducer(state = initialBookmarksState, action) {
2366
3025
  const bookmarkPageEntities = StoreUtils.groupByKeyEntities(bookmarkArray, 'pageNumber');
2367
3026
  /** @type {?} */
2368
3027
  const editableBookmark = undefined;
2369
- return Object.assign({}, state, { bookmarkEntities,
3028
+ return Object.assign(Object.assign({}, state), { bookmarkEntities,
2370
3029
  editableBookmark,
2371
3030
  bookmarkPageEntities, loading: false, loaded: true });
2372
3031
  }
@@ -2374,6 +3033,12 @@ function bookmarksReducer(state = initialBookmarksState, action) {
2374
3033
  return state;
2375
3034
  }
2376
3035
  /** @type {?} */
3036
+ const getBookmarks = (/**
3037
+ * @param {?} state
3038
+ * @return {?}
3039
+ */
3040
+ (state) => state.bookmarks);
3041
+ /** @type {?} */
2377
3042
  const getBookmarkEnts = (/**
2378
3043
  * @param {?} state
2379
3044
  * @return {?}
@@ -2437,6 +3102,12 @@ class LoadRedactions {
2437
3102
  this.type = LOAD_REDACTIONS;
2438
3103
  }
2439
3104
  }
3105
+ if (false) {
3106
+ /** @type {?} */
3107
+ LoadRedactions.prototype.type;
3108
+ /** @type {?} */
3109
+ LoadRedactions.prototype.payload;
3110
+ }
2440
3111
  class LoadRedactionSuccess {
2441
3112
  /**
2442
3113
  * @param {?} payload
@@ -2446,6 +3117,12 @@ class LoadRedactionSuccess {
2446
3117
  this.type = LOAD_REDACTION_SUCCESS;
2447
3118
  }
2448
3119
  }
3120
+ if (false) {
3121
+ /** @type {?} */
3122
+ LoadRedactionSuccess.prototype.type;
3123
+ /** @type {?} */
3124
+ LoadRedactionSuccess.prototype.payload;
3125
+ }
2449
3126
  class LoadRedactionFailure {
2450
3127
  /**
2451
3128
  * @param {?} payload
@@ -2455,6 +3132,12 @@ class LoadRedactionFailure {
2455
3132
  this.type = LOAD_REDACTION_FAIL;
2456
3133
  }
2457
3134
  }
3135
+ if (false) {
3136
+ /** @type {?} */
3137
+ LoadRedactionFailure.prototype.type;
3138
+ /** @type {?} */
3139
+ LoadRedactionFailure.prototype.payload;
3140
+ }
2458
3141
  class SaveRedaction {
2459
3142
  /**
2460
3143
  * @param {?} payload
@@ -2464,6 +3147,12 @@ class SaveRedaction {
2464
3147
  this.type = SAVE_REDACTION;
2465
3148
  }
2466
3149
  }
3150
+ if (false) {
3151
+ /** @type {?} */
3152
+ SaveRedaction.prototype.type;
3153
+ /** @type {?} */
3154
+ SaveRedaction.prototype.payload;
3155
+ }
2467
3156
  class SaveRedactionSuccess {
2468
3157
  /**
2469
3158
  * @param {?} payload
@@ -2473,6 +3162,12 @@ class SaveRedactionSuccess {
2473
3162
  this.type = SAVE_REDACTION_SUCCESS;
2474
3163
  }
2475
3164
  }
3165
+ if (false) {
3166
+ /** @type {?} */
3167
+ SaveRedactionSuccess.prototype.type;
3168
+ /** @type {?} */
3169
+ SaveRedactionSuccess.prototype.payload;
3170
+ }
2476
3171
  class SaveRedactionFailure {
2477
3172
  /**
2478
3173
  * @param {?} payload
@@ -2482,6 +3177,12 @@ class SaveRedactionFailure {
2482
3177
  this.type = SAVE_REDACTION_FAIL;
2483
3178
  }
2484
3179
  }
3180
+ if (false) {
3181
+ /** @type {?} */
3182
+ SaveRedactionFailure.prototype.type;
3183
+ /** @type {?} */
3184
+ SaveRedactionFailure.prototype.payload;
3185
+ }
2485
3186
  class DeleteRedaction {
2486
3187
  /**
2487
3188
  * @param {?} payload
@@ -2491,6 +3192,12 @@ class DeleteRedaction {
2491
3192
  this.type = DELETE_REDACTION;
2492
3193
  }
2493
3194
  }
3195
+ if (false) {
3196
+ /** @type {?} */
3197
+ DeleteRedaction.prototype.type;
3198
+ /** @type {?} */
3199
+ DeleteRedaction.prototype.payload;
3200
+ }
2494
3201
  class DeleteRedactionSuccess {
2495
3202
  /**
2496
3203
  * @param {?} payload
@@ -2500,6 +3207,12 @@ class DeleteRedactionSuccess {
2500
3207
  this.type = DELETE_REDACTION_SUCCESS;
2501
3208
  }
2502
3209
  }
3210
+ if (false) {
3211
+ /** @type {?} */
3212
+ DeleteRedactionSuccess.prototype.type;
3213
+ /** @type {?} */
3214
+ DeleteRedactionSuccess.prototype.payload;
3215
+ }
2503
3216
  class DeleteRedactionFailure {
2504
3217
  /**
2505
3218
  * @param {?} payload
@@ -2509,6 +3222,12 @@ class DeleteRedactionFailure {
2509
3222
  this.type = DELETE_REDACTION_FAIL;
2510
3223
  }
2511
3224
  }
3225
+ if (false) {
3226
+ /** @type {?} */
3227
+ DeleteRedactionFailure.prototype.type;
3228
+ /** @type {?} */
3229
+ DeleteRedactionFailure.prototype.payload;
3230
+ }
2512
3231
  class SelectRedaction {
2513
3232
  /**
2514
3233
  * @param {?} payload
@@ -2518,6 +3237,12 @@ class SelectRedaction {
2518
3237
  this.type = SELECT_REDACTION;
2519
3238
  }
2520
3239
  }
3240
+ if (false) {
3241
+ /** @type {?} */
3242
+ SelectRedaction.prototype.type;
3243
+ /** @type {?} */
3244
+ SelectRedaction.prototype.payload;
3245
+ }
2521
3246
  class Redact {
2522
3247
  /**
2523
3248
  * @param {?} payload
@@ -2527,6 +3252,12 @@ class Redact {
2527
3252
  this.type = REDACT;
2528
3253
  }
2529
3254
  }
3255
+ if (false) {
3256
+ /** @type {?} */
3257
+ Redact.prototype.type;
3258
+ /** @type {?} */
3259
+ Redact.prototype.payload;
3260
+ }
2530
3261
  class RedactSuccess {
2531
3262
  /**
2532
3263
  * @param {?} payload
@@ -2536,6 +3267,12 @@ class RedactSuccess {
2536
3267
  this.type = REDACT_SUCCESS;
2537
3268
  }
2538
3269
  }
3270
+ if (false) {
3271
+ /** @type {?} */
3272
+ RedactSuccess.prototype.type;
3273
+ /** @type {?} */
3274
+ RedactSuccess.prototype.payload;
3275
+ }
2539
3276
  class RedactFailure {
2540
3277
  /**
2541
3278
  * @param {?} payload
@@ -2545,11 +3282,21 @@ class RedactFailure {
2545
3282
  this.type = REDACT_FAIL;
2546
3283
  }
2547
3284
  }
3285
+ if (false) {
3286
+ /** @type {?} */
3287
+ RedactFailure.prototype.type;
3288
+ /** @type {?} */
3289
+ RedactFailure.prototype.payload;
3290
+ }
2548
3291
  class ResetRedactedDocument {
2549
3292
  constructor() {
2550
3293
  this.type = RESET_REDACTED_DOCUMENT;
2551
3294
  }
2552
3295
  }
3296
+ if (false) {
3297
+ /** @type {?} */
3298
+ ResetRedactedDocument.prototype.type;
3299
+ }
2553
3300
  class UnmarkAll {
2554
3301
  /**
2555
3302
  * @param {?} payload
@@ -2559,16 +3306,42 @@ class UnmarkAll {
2559
3306
  this.type = UNMARK_ALL;
2560
3307
  }
2561
3308
  }
3309
+ if (false) {
3310
+ /** @type {?} */
3311
+ UnmarkAll.prototype.type;
3312
+ /** @type {?} */
3313
+ UnmarkAll.prototype.payload;
3314
+ }
2562
3315
  class UnmarkAllSuccess {
2563
3316
  constructor() {
2564
3317
  this.type = UNMARK_ALL_SUCCESS;
2565
3318
  }
2566
3319
  }
3320
+ if (false) {
3321
+ /** @type {?} */
3322
+ UnmarkAllSuccess.prototype.type;
3323
+ }
2567
3324
 
2568
3325
  /**
2569
3326
  * @fileoverview added by tsickle
2570
3327
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2571
3328
  */
3329
+ /**
3330
+ * @record
3331
+ */
3332
+ function RedactionState() { }
3333
+ if (false) {
3334
+ /** @type {?} */
3335
+ RedactionState.prototype.redactionEntities;
3336
+ /** @type {?} */
3337
+ RedactionState.prototype.redactionPageEntities;
3338
+ /** @type {?} */
3339
+ RedactionState.prototype.selectedRedaction;
3340
+ /** @type {?} */
3341
+ RedactionState.prototype.redactedDocumentInfo;
3342
+ /** @type {?} */
3343
+ RedactionState.prototype.documentId;
3344
+ }
2572
3345
  /** @type {?} */
2573
3346
  const initialRedactionState = {
2574
3347
  redactionEntities: {},
@@ -2585,7 +3358,7 @@ const initialRedactionState = {
2585
3358
  function redactionReducer(state = initialRedactionState, action) {
2586
3359
  switch (action.type) {
2587
3360
  case LOAD_REDACTIONS: {
2588
- return Object.assign({}, state, initialRedactionState);
3361
+ return Object.assign(Object.assign({}, state), initialRedactionState);
2589
3362
  }
2590
3363
  case LOAD_REDACTION_SUCCESS: {
2591
3364
  /** @type {?} */
@@ -2595,7 +3368,7 @@ function redactionReducer(state = initialRedactionState, action) {
2595
3368
  const redactionEntities = StoreUtils.generateRedactionEntities(payload);
2596
3369
  /** @type {?} */
2597
3370
  const redactionPageEntities = StoreUtils.groupByKeyEntities(payload, 'page');
2598
- return Object.assign({}, state, { redactionEntities,
3371
+ return Object.assign(Object.assign({}, state), { redactionEntities,
2599
3372
  redactionPageEntities });
2600
3373
  }
2601
3374
  return Object.assign({}, state);
@@ -2603,7 +3376,7 @@ function redactionReducer(state = initialRedactionState, action) {
2603
3376
  case SAVE_REDACTION_SUCCESS: {
2604
3377
  const { payload } = action;
2605
3378
  /** @type {?} */
2606
- const redactionEntities = Object.assign({}, state.redactionEntities, { [payload.redactionId]: payload });
3379
+ const redactionEntities = Object.assign(Object.assign({}, state.redactionEntities), { [payload.redactionId]: payload });
2607
3380
  /** @type {?} */
2608
3381
  const redactionArray = Object.keys(redactionEntities).map((/**
2609
3382
  * @param {?} key
@@ -2612,12 +3385,12 @@ function redactionReducer(state = initialRedactionState, action) {
2612
3385
  key => redactionEntities[key]));
2613
3386
  /** @type {?} */
2614
3387
  const redactionPageEntities = StoreUtils.groupByKeyEntities(redactionArray, 'page');
2615
- return Object.assign({}, state, { redactionEntities,
3388
+ return Object.assign(Object.assign({}, state), { redactionEntities,
2616
3389
  redactionPageEntities });
2617
3390
  }
2618
3391
  case SELECT_REDACTION:
2619
3392
  case SELECT_ANNOTATION: {
2620
- return Object.assign({}, state, { selectedRedaction: action.payload });
3393
+ return Object.assign(Object.assign({}, state), { selectedRedaction: action.payload });
2621
3394
  }
2622
3395
  case DELETE_REDACTION_SUCCESS: {
2623
3396
  /** @type {?} */
@@ -2636,20 +3409,20 @@ function redactionReducer(state = initialRedactionState, action) {
2636
3409
  redaction => redaction.redactionId !== id))
2637
3410
  ];
2638
3411
  /** @type {?} */
2639
- const redactionPageEntities = Object.assign({}, state.redactionPageEntities, { [page]: pageRedactionRemoved });
2640
- return Object.assign({}, state, { redactionPageEntities,
3412
+ const redactionPageEntities = Object.assign(Object.assign({}, state.redactionPageEntities), { [page]: pageRedactionRemoved });
3413
+ return Object.assign(Object.assign({}, state), { redactionPageEntities,
2641
3414
  redactionEntities });
2642
3415
  }
2643
3416
  case REDACT_SUCCESS: {
2644
3417
  /** @type {?} */
2645
3418
  const redactedDocumentInfo = action.payload;
2646
- return Object.assign({}, state, initialRedactionState, { redactedDocumentInfo });
3419
+ return Object.assign(Object.assign(Object.assign({}, state), initialRedactionState), { redactedDocumentInfo });
2647
3420
  }
2648
3421
  case RESET_REDACTED_DOCUMENT: {
2649
- return Object.assign({}, state, { redactedDocumentInfo: undefined });
3422
+ return Object.assign(Object.assign({}, state), { redactedDocumentInfo: undefined });
2650
3423
  }
2651
3424
  case UNMARK_ALL_SUCCESS: {
2652
- return Object.assign({}, state, initialRedactionState);
3425
+ return Object.assign(Object.assign({}, state), initialRedactionState);
2653
3426
  }
2654
3427
  }
2655
3428
  return state;
@@ -2701,15 +3474,15 @@ function icpReducer(state = initialIcpSessionState, action) {
2701
3474
  /** @type {?} */
2702
3475
  const caseId = action.payload;
2703
3476
  /** @type {?} */
2704
- const session = Object.assign({}, state.session, { caseId });
2705
- return Object.assign({}, state, { session });
3477
+ const session = Object.assign(Object.assign({}, state.session), { caseId });
3478
+ return Object.assign(Object.assign({}, state), { session });
2706
3479
  }
2707
3480
  case ICP_SOCKET_SESSION_JOINED: {
2708
3481
  /** @type {?} */
2709
3482
  const session = action.payload.session;
2710
3483
  /** @type {?} */
2711
3484
  const participantInfo = action.payload.participantInfo;
2712
- return Object.assign({}, state, { session, client: participantInfo.client, presenter: participantInfo.presenter });
3485
+ return Object.assign(Object.assign({}, state), { session, client: participantInfo.client, presenter: participantInfo.presenter });
2713
3486
  }
2714
3487
  case ICP_PARTICIPANT_LIST_UPDATED: {
2715
3488
  /** @type {?} */
@@ -2721,15 +3494,15 @@ function icpReducer(state = initialIcpSessionState, action) {
2721
3494
  * @return {?}
2722
3495
  */
2723
3496
  id => ({ id: id, username: updatedParticipants[id] })));
2724
- return Object.assign({}, state, { participants });
3497
+ return Object.assign(Object.assign({}, state), { participants });
2725
3498
  }
2726
3499
  case ICP_PRESENTER_UPDATED: {
2727
3500
  /** @type {?} */
2728
3501
  const presenter = action.payload;
2729
- return Object.assign({}, state, { presenter });
3502
+ return Object.assign(Object.assign({}, state), { presenter });
2730
3503
  }
2731
3504
  case LEAVE_ICP_SOCKET_SESSION: {
2732
- return Object.assign({}, state, initialIcpSessionState);
3505
+ return Object.assign(Object.assign({}, state), initialIcpSessionState);
2733
3506
  }
2734
3507
  }
2735
3508
  return state;
@@ -2763,6 +3536,24 @@ const getParticipants = (/**
2763
3536
  * @fileoverview added by tsickle
2764
3537
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2765
3538
  */
3539
+ /**
3540
+ * @record
3541
+ */
3542
+ function State() { }
3543
+ if (false) {
3544
+ /** @type {?} */
3545
+ State.prototype.document;
3546
+ /** @type {?} */
3547
+ State.prototype.annotations;
3548
+ /** @type {?} */
3549
+ State.prototype.tags;
3550
+ /** @type {?} */
3551
+ State.prototype.bookmarks;
3552
+ /** @type {?} */
3553
+ State.prototype.redactions;
3554
+ /** @type {?} */
3555
+ State.prototype.icp;
3556
+ }
2766
3557
  /** @type {?} */
2767
3558
  const reducers = {
2768
3559
  document: docReducer,
@@ -2812,6 +3603,16 @@ const rotationLoaded$1 = createSelector(getDocumentState, rotationLoaded);
2812
3603
  * @fileoverview added by tsickle
2813
3604
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2814
3605
  */
3606
+ /**
3607
+ * @record
3608
+ */
3609
+ function Highlight() { }
3610
+ if (false) {
3611
+ /** @type {?} */
3612
+ Highlight.prototype.page;
3613
+ /** @type {?} */
3614
+ Highlight.prototype.rectangles;
3615
+ }
2815
3616
  class ViewerEventService {
2816
3617
  constructor() {
2817
3618
  this.textHighlight = new Subject();
@@ -2852,7 +3653,17 @@ ViewerEventService.decorators = [
2852
3653
  ];
2853
3654
  /** @nocollapse */
2854
3655
  ViewerEventService.ctorParameters = () => [];
2855
- /** @nocollapse */ ViewerEventService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
3656
+ /** @nocollapse */ ViewerEventService.ɵprov = ɵɵdefineInjectable({ factory: function ViewerEventService_Factory() { return new ViewerEventService(); }, token: ViewerEventService, providedIn: "root" });
3657
+ if (false) {
3658
+ /** @type {?} */
3659
+ ViewerEventService.prototype.textHighlight;
3660
+ /** @type {?} */
3661
+ ViewerEventService.prototype.boxHighlight;
3662
+ /** @type {?} */
3663
+ ViewerEventService.prototype.ctxToolbarCleared;
3664
+ /** @type {?} */
3665
+ ViewerEventService.prototype.navigationEvent;
3666
+ }
2856
3667
 
2857
3668
  /**
2858
3669
  * @fileoverview added by tsickle
@@ -3224,6 +4035,106 @@ PdfViewerComponent.propDecorators = {
3224
4035
  pdfViewer: [{ type: ViewChild, args: ['pdfViewer', { static: false },] }],
3225
4036
  searchBarHidden: [{ type: Input }]
3226
4037
  };
4038
+ if (false) {
4039
+ /** @type {?} */
4040
+ PdfViewerComponent.prototype.mediaLoadStatus;
4041
+ /** @type {?} */
4042
+ PdfViewerComponent.prototype.pdfViewerException;
4043
+ /** @type {?} */
4044
+ PdfViewerComponent.prototype.documentTitle;
4045
+ /** @type {?} */
4046
+ PdfViewerComponent.prototype.downloadUrl;
4047
+ /** @type {?} */
4048
+ PdfViewerComponent.prototype.url;
4049
+ /** @type {?} */
4050
+ PdfViewerComponent.prototype.downloadFileName;
4051
+ /** @type {?} */
4052
+ PdfViewerComponent.prototype.enableAnnotations;
4053
+ /** @type {?} */
4054
+ PdfViewerComponent.prototype.enableRedactions;
4055
+ /** @type {?} */
4056
+ PdfViewerComponent.prototype.enableICP;
4057
+ /** @type {?} */
4058
+ PdfViewerComponent.prototype.annotationSet;
4059
+ /** @type {?} */
4060
+ PdfViewerComponent.prototype.height;
4061
+ /** @type {?} */
4062
+ PdfViewerComponent.prototype.pageHeights;
4063
+ /** @type {?} */
4064
+ PdfViewerComponent.prototype.rotation;
4065
+ /** @type {?} */
4066
+ PdfViewerComponent.prototype.zoom;
4067
+ /** @type {?} */
4068
+ PdfViewerComponent.prototype.caseId;
4069
+ /** @type {?} */
4070
+ PdfViewerComponent.prototype.highlightMode;
4071
+ /** @type {?} */
4072
+ PdfViewerComponent.prototype.drawMode;
4073
+ /** @type {?} */
4074
+ PdfViewerComponent.prototype.documentOutline;
4075
+ /** @type {?} */
4076
+ PdfViewerComponent.prototype.loadingDocument;
4077
+ /** @type {?} */
4078
+ PdfViewerComponent.prototype.loadingDocumentProgress;
4079
+ /** @type {?} */
4080
+ PdfViewerComponent.prototype.errorMessage;
4081
+ /** @type {?} */
4082
+ PdfViewerComponent.prototype.hasDifferentPageSize;
4083
+ /** @type {?} */
4084
+ PdfViewerComponent.prototype.viewerContainer;
4085
+ /** @type {?} */
4086
+ PdfViewerComponent.prototype.pdfViewer;
4087
+ /**
4088
+ * @type {?}
4089
+ * @private
4090
+ */
4091
+ PdfViewerComponent.prototype.pdfWrapper;
4092
+ /**
4093
+ * @type {?}
4094
+ * @private
4095
+ */
4096
+ PdfViewerComponent.prototype.$subscription;
4097
+ /**
4098
+ * @type {?}
4099
+ * @private
4100
+ */
4101
+ PdfViewerComponent.prototype.viewerException;
4102
+ /** @type {?} */
4103
+ PdfViewerComponent.prototype.showCommentsPanel;
4104
+ /** @type {?} */
4105
+ PdfViewerComponent.prototype.showIcpParticipantsList;
4106
+ /** @type {?} */
4107
+ PdfViewerComponent.prototype.enableGrabNDrag;
4108
+ /**
4109
+ * @type {?}
4110
+ * @private
4111
+ */
4112
+ PdfViewerComponent.prototype.store;
4113
+ /**
4114
+ * @type {?}
4115
+ * @private
4116
+ */
4117
+ PdfViewerComponent.prototype.icpStore;
4118
+ /**
4119
+ * @type {?}
4120
+ * @private
4121
+ */
4122
+ PdfViewerComponent.prototype.pdfJsWrapperFactory;
4123
+ /**
4124
+ * @type {?}
4125
+ * @private
4126
+ */
4127
+ PdfViewerComponent.prototype.printService;
4128
+ /** @type {?} */
4129
+ PdfViewerComponent.prototype.toolbarEvents;
4130
+ /**
4131
+ * @type {?}
4132
+ * @private
4133
+ */
4134
+ PdfViewerComponent.prototype.viewerEvents;
4135
+ /** @type {?} */
4136
+ PdfViewerComponent.prototype.toolbarButtons;
4137
+ }
3227
4138
 
3228
4139
  /**
3229
4140
  * @fileoverview added by tsickle
@@ -3253,7 +4164,14 @@ ViewerUtilService.decorators = [
3253
4164
  ViewerUtilService.ctorParameters = () => [
3254
4165
  { type: HttpClient }
3255
4166
  ];
3256
- /** @nocollapse */ ViewerUtilService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(ɵɵinject(HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
4167
+ /** @nocollapse */ ViewerUtilService.ɵprov = ɵɵdefineInjectable({ factory: function ViewerUtilService_Factory() { return new ViewerUtilService(ɵɵinject(HttpClient)); }, token: ViewerUtilService, providedIn: "root" });
4168
+ if (false) {
4169
+ /**
4170
+ * @type {?}
4171
+ * @private
4172
+ */
4173
+ ViewerUtilService.prototype.http;
4174
+ }
3257
4175
 
3258
4176
  /**
3259
4177
  * @fileoverview added by tsickle
@@ -3506,6 +4424,76 @@ ImageViewerComponent.propDecorators = {
3506
4424
  imageViewerException: [{ type: Output }],
3507
4425
  img: [{ type: ViewChild, args: ['img', { static: false },] }]
3508
4426
  };
4427
+ if (false) {
4428
+ /** @type {?} */
4429
+ ImageViewerComponent.prototype.url;
4430
+ /** @type {?} */
4431
+ ImageViewerComponent.prototype.downloadFileName;
4432
+ /** @type {?} */
4433
+ ImageViewerComponent.prototype.enableAnnotations;
4434
+ /** @type {?} */
4435
+ ImageViewerComponent.prototype.annotationSet;
4436
+ /** @type {?} */
4437
+ ImageViewerComponent.prototype.height;
4438
+ /** @type {?} */
4439
+ ImageViewerComponent.prototype.mediaLoadStatus;
4440
+ /** @type {?} */
4441
+ ImageViewerComponent.prototype.imageViewerException;
4442
+ /** @type {?} */
4443
+ ImageViewerComponent.prototype.errorMessage;
4444
+ /** @type {?} */
4445
+ ImageViewerComponent.prototype.img;
4446
+ /** @type {?} */
4447
+ ImageViewerComponent.prototype.rotation;
4448
+ /** @type {?} */
4449
+ ImageViewerComponent.prototype.zoom;
4450
+ /**
4451
+ * @type {?}
4452
+ * @private
4453
+ */
4454
+ ImageViewerComponent.prototype.subscriptions;
4455
+ /**
4456
+ * @type {?}
4457
+ * @private
4458
+ */
4459
+ ImageViewerComponent.prototype.viewerException;
4460
+ /**
4461
+ * @type {?}
4462
+ * @private
4463
+ */
4464
+ ImageViewerComponent.prototype.response;
4465
+ /** @type {?} */
4466
+ ImageViewerComponent.prototype.showCommentsPanel;
4467
+ /** @type {?} */
4468
+ ImageViewerComponent.prototype.enableGrabNDrag;
4469
+ /** @type {?} */
4470
+ ImageViewerComponent.prototype.imageHeight;
4471
+ /** @type {?} */
4472
+ ImageViewerComponent.prototype.imageWidth;
4473
+ /** @type {?} */
4474
+ ImageViewerComponent.prototype.imageLeft;
4475
+ /** @type {?} */
4476
+ ImageViewerComponent.prototype.imageTop;
4477
+ /**
4478
+ * @type {?}
4479
+ * @private
4480
+ */
4481
+ ImageViewerComponent.prototype.store;
4482
+ /**
4483
+ * @type {?}
4484
+ * @private
4485
+ */
4486
+ ImageViewerComponent.prototype.printService;
4487
+ /**
4488
+ * @type {?}
4489
+ * @private
4490
+ */
4491
+ ImageViewerComponent.prototype.viewerUtilService;
4492
+ /** @type {?} */
4493
+ ImageViewerComponent.prototype.toolbarEvents;
4494
+ /** @type {?} */
4495
+ ImageViewerComponent.prototype.toolbarButtons;
4496
+ }
3509
4497
 
3510
4498
  /**
3511
4499
  * @fileoverview added by tsickle
@@ -3574,6 +4562,37 @@ UnsupportedViewerComponent.propDecorators = {
3574
4562
  unsupportedViewerException: [{ type: Output }],
3575
4563
  downloadLink: [{ type: ViewChild, args: ['downloadLink', { static: false },] }]
3576
4564
  };
4565
+ if (false) {
4566
+ /** @type {?} */
4567
+ UnsupportedViewerComponent.prototype.url;
4568
+ /** @type {?} */
4569
+ UnsupportedViewerComponent.prototype.downloadFileName;
4570
+ /** @type {?} */
4571
+ UnsupportedViewerComponent.prototype.typeException;
4572
+ /** @type {?} */
4573
+ UnsupportedViewerComponent.prototype.loadStatus;
4574
+ /** @type {?} */
4575
+ UnsupportedViewerComponent.prototype.unsupportedViewerException;
4576
+ /** @type {?} */
4577
+ UnsupportedViewerComponent.prototype.downloadLink;
4578
+ /**
4579
+ * @type {?}
4580
+ * @private
4581
+ */
4582
+ UnsupportedViewerComponent.prototype.subscriptions;
4583
+ /**
4584
+ * @type {?}
4585
+ * @private
4586
+ */
4587
+ UnsupportedViewerComponent.prototype.viewerException;
4588
+ /** @type {?} */
4589
+ UnsupportedViewerComponent.prototype.toolbarEvents;
4590
+ /**
4591
+ * @type {?}
4592
+ * @private
4593
+ */
4594
+ UnsupportedViewerComponent.prototype.viewerUtilService;
4595
+ }
3577
4596
 
3578
4597
  /**
3579
4598
  * @fileoverview added by tsickle
@@ -3698,6 +4717,25 @@ AnnotationApiService.decorators = [
3698
4717
  AnnotationApiService.ctorParameters = () => [
3699
4718
  { type: HttpClient }
3700
4719
  ];
4720
+ if (false) {
4721
+ /** @type {?} */
4722
+ AnnotationApiService.prototype.annotationApiUrl;
4723
+ /**
4724
+ * @type {?}
4725
+ * @private
4726
+ */
4727
+ AnnotationApiService.prototype.annotationSetBaseUrl;
4728
+ /**
4729
+ * @type {?}
4730
+ * @private
4731
+ */
4732
+ AnnotationApiService.prototype.annotationBaseUrl;
4733
+ /**
4734
+ * @type {?}
4735
+ * @private
4736
+ */
4737
+ AnnotationApiService.prototype.httpClient;
4738
+ }
3701
4739
 
3702
4740
  /**
3703
4741
  * @fileoverview added by tsickle
@@ -3783,6 +4821,12 @@ class CommentService {
3783
4821
  CommentService.decorators = [
3784
4822
  { type: Injectable }
3785
4823
  ];
4824
+ if (false) {
4825
+ /** @type {?} */
4826
+ CommentService.prototype.unsavedChanges;
4827
+ /** @type {?} */
4828
+ CommentService.prototype.commentSetComponent;
4829
+ }
3786
4830
 
3787
4831
  /**
3788
4832
  * @fileoverview added by tsickle
@@ -3853,7 +4897,7 @@ const ɵ2 = /**
3853
4897
  * @return {?}
3854
4898
  */
3855
4899
  (entities, set) => {
3856
- return Object.assign({}, set, { annotations: Object.keys(entities).map((/**
4900
+ return Object.assign(Object.assign({}, set), { annotations: Object.keys(entities).map((/**
3857
4901
  * @param {?} key
3858
4902
  * @return {?}
3859
4903
  */
@@ -3927,7 +4971,7 @@ const ɵ5 = /**
3927
4971
  key => {
3928
4972
  /** @type {?} */
3929
4973
  const page = annoEnts[key].page;
3930
- return Object.assign({}, commentEnts[key], { page,
4974
+ return Object.assign(Object.assign({}, commentEnts[key]), { page,
3931
4975
  pages });
3932
4976
  }));
3933
4977
  }
@@ -4159,16 +5203,16 @@ class MediaViewerComponent {
4159
5203
  */
4160
5204
  setToolbarButtons() {
4161
5205
  if (this.contentType === CoreContentTypes.PDF || this.needsConverting()) {
4162
- this.toolbarButtons.setup(Object.assign({}, defaultPdfOptions, { showHighlightButton: this.enableAnnotations, showDrawButton: this.enableAnnotations }, this.toolbarButtonOverrides));
5206
+ this.toolbarButtons.setup(Object.assign(Object.assign(Object.assign({}, defaultPdfOptions), { showHighlightButton: this.enableAnnotations, showDrawButton: this.enableAnnotations }), this.toolbarButtonOverrides));
4163
5207
  }
4164
5208
  else if (this.contentType === CoreContentTypes.IMAGE) {
4165
- this.toolbarButtons.setup(Object.assign({}, defaultImageOptions, { showDrawButton: this.enableAnnotations }, this.toolbarButtonOverrides));
5209
+ this.toolbarButtons.setup(Object.assign(Object.assign(Object.assign({}, defaultImageOptions), { showDrawButton: this.enableAnnotations }), this.toolbarButtonOverrides));
4166
5210
  }
4167
5211
  else if (this.isMultimedia()) {
4168
- this.toolbarButtons.setup(Object.assign({}, defaultMultimediaOptions, this.toolbarButtonOverrides));
5212
+ this.toolbarButtons.setup(Object.assign(Object.assign({}, defaultMultimediaOptions), this.toolbarButtonOverrides));
4169
5213
  }
4170
5214
  else {
4171
- this.toolbarButtons.setup(Object.assign({}, defaultUnsupportedOptions, this.toolbarButtonOverrides));
5215
+ this.toolbarButtons.setup(Object.assign(Object.assign({}, defaultUnsupportedOptions), this.toolbarButtonOverrides));
4172
5216
  }
4173
5217
  }
4174
5218
  /**
@@ -4216,43 +5260,140 @@ class MediaViewerComponent {
4216
5260
  this.hasScrollBar = window.navigator.userAgent.indexOf('Win') !== -1;
4217
5261
  }
4218
5262
  }
4219
- MediaViewerComponent.decorators = [
4220
- { type: Component, args: [{
4221
- selector: 'mv-media-viewer',
4222
- template: "<div id=\"outerContainer\"\n [ngClass]=\"{\n 'has-redact-bar': toolbarEvents.redactionMode | async,\n 'icp-mode': toolbarEvents.icp.enabled | async,\n 'is-redaction-preview': toolbarEvents.redactionPreview | async,\n sidebarOpen: toolbarEvents.sidebarOpen | async,\n 'has-scroll-bar': hasScrollBar,\n 'has-different-page-size': hasDifferentPageSize$ | async\n }\"\n [ngStyle]=\"{ width: width }\">\n\n <mv-comments-summary *ngIf=\"showCommentSummary\"\n [title]=\"documentTitle || 'Comment Summary'\"\n [contentType]=\"contentType\">\n </mv-comments-summary>\n\n <mv-confirm-action *ngIf=\"toolbarEvents.icp.leavingSession | async\"></mv-confirm-action>\n\n <div id=\"mainContainer\">\n <mv-main-toolbar *ngIf=\"showToolbar\"\n [enableAnnotations]=\"enableAnnotations\"\n [enableICP]=\"enableICP\"\n [enableRedactions]=\"enableRedactions\"\n [contentType]=\"contentType\"\n >\n </mv-main-toolbar>\n <mv-redaction-toolbar *ngIf=\"toolbarEvents.redactionMode | async\"></mv-redaction-toolbar>\n <mv-icp-toolbar *ngIf=\"toolbarEvents.icp.enabled | async\"></mv-icp-toolbar>\n\n <div #viewerRef>\n <mv-conversion-viewer *ngIf=\"convertibleContent\"\n (documentTitle)=\"onDocumentTitleChange($event)\"\n (mediaLoadStatus)=\"onMediaLoad($event)\"\n (viewerException)=\"onLoadException($event)\"\n [enableAnnotations]=\"enableAnnotations\"\n [enableRedactions]=\"enableRedactions\"\n [annotationSet]=\"enableAnnotations ? (annotationSet$ | async) : null\"\n [originalUrl]=\"url\"\n [downloadFileName]=\"downloadFileName\"\n [height]=\"viewerHeight\"\n mvRotationPersist>\n </mv-conversion-viewer>\n <mv-pdf-viewer *ngIf=\"contentType === 'pdf'\"\n #pdfViewer\n (mediaLoadStatus)=\"onMediaLoad($event)\"\n (pdfViewerException)=\"onLoadException($event)\"\n (documentTitle)=\"onDocumentTitleChange($event)\"\n [url]=\"url\"\n [enableAnnotations]=\"enableAnnotations\"\n [enableRedactions]=\"enableRedactions\"\n [enableICP]=\"enableICP\"\n [annotationSet]=\"enableAnnotations ? (annotationSet$ | async) : null\"\n [downloadFileName]=\"downloadFileName\"\n [height]=\"viewerHeight\"\n [caseId]=\"caseId\"\n mvRotationPersist>\n </mv-pdf-viewer>\n <mv-image-viewer *ngIf=\"contentType === 'image'\"\n (mediaLoadStatus)=\"onMediaLoad($event)\"\n (imageViewerException)=\"onLoadException($event)\"\n [url]=\"url\"\n [enableAnnotations]=\"enableAnnotations\"\n [annotationSet]=\"enableAnnotations ? (annotationSet$ | async) : null\"\n [downloadFileName]=\"downloadFileName\"\n [height]=\"viewerHeight\"\n mvRotationPersist>\n </mv-image-viewer>\n <mv-multimedia-player *ngIf=\"multimediaContent\"\n [multimediaOn]=\"multimediaPlayerEnabled\"\n [url]=\"url\"\n [downloadFileName]=\"downloadFileName\"\n (loadStatus)=\"onMediaLoad($event)\">\n </mv-multimedia-player>\n <mv-unsupported-viewer *ngIf=\"unsupportedContent\"\n [url]=\"url\"\n [typeException]=\"typeException\"\n [downloadFileName]=\"downloadFileName\"\n (loadStatus)=\"onMediaLoad($event)\"\n (unsupportedViewerException)=\"onLoadException($event)\">\n </mv-unsupported-viewer>\n </div>\n </div>\n</div>\n",
4223
- encapsulation: ViewEncapsulation.None
4224
- }] }
4225
- ];
4226
- /** @nocollapse */
4227
- MediaViewerComponent.ctorParameters = () => [
4228
- { type: Store },
4229
- { type: ToolbarButtonVisibilityService },
4230
- { type: ToolbarEventService },
4231
- { type: AnnotationApiService },
4232
- { type: CommentService },
4233
- { type: ElementRef },
4234
- { type: ChangeDetectorRef }
4235
- ];
4236
- MediaViewerComponent.propDecorators = {
4237
- viewerRef: [{ type: ViewChild, args: ['viewerRef', { static: false },] }],
4238
- url: [{ type: Input }],
4239
- downloadFileName: [{ type: Input }],
4240
- contentType: [{ type: Input }],
4241
- showToolbar: [{ type: Input }],
4242
- toolbarButtonOverrides: [{ type: Input }],
4243
- height: [{ type: Input }],
4244
- width: [{ type: Input }],
4245
- mediaLoadStatus: [{ type: Output }],
4246
- viewerException: [{ type: Output }],
4247
- toolbarEventsOutput: [{ type: Output }],
4248
- unsavedChanges: [{ type: Output }],
4249
- enableAnnotations: [{ type: Input }],
4250
- annotationApiUrl: [{ type: Input }],
4251
- enableRedactions: [{ type: Input }],
4252
- enableICP: [{ type: Input }],
4253
- multimediaPlayerEnabled: [{ type: Input }],
4254
- caseId: [{ type: Input }]
4255
- };
5263
+ MediaViewerComponent.decorators = [
5264
+ { type: Component, args: [{
5265
+ selector: 'mv-media-viewer',
5266
+ template: "<div id=\"outerContainer\"\n [ngClass]=\"{\n 'has-redact-bar': toolbarEvents.redactionMode | async,\n 'icp-mode': toolbarEvents.icp.enabled | async,\n 'is-redaction-preview': toolbarEvents.redactionPreview | async,\n sidebarOpen: toolbarEvents.sidebarOpen | async,\n 'has-scroll-bar': hasScrollBar,\n 'has-different-page-size': hasDifferentPageSize$ | async\n }\"\n [ngStyle]=\"{ width: width }\">\n\n <mv-comments-summary *ngIf=\"showCommentSummary\"\n [title]=\"documentTitle || 'Comment Summary'\"\n [contentType]=\"contentType\">\n </mv-comments-summary>\n\n <mv-confirm-action *ngIf=\"toolbarEvents.icp.leavingSession | async\"></mv-confirm-action>\n\n <div id=\"mainContainer\">\n <mv-main-toolbar *ngIf=\"showToolbar\"\n [enableAnnotations]=\"enableAnnotations\"\n [enableICP]=\"enableICP\"\n [enableRedactions]=\"enableRedactions\"\n [contentType]=\"contentType\"\n >\n </mv-main-toolbar>\n <mv-redaction-toolbar *ngIf=\"toolbarEvents.redactionMode | async\"></mv-redaction-toolbar>\n <mv-icp-toolbar *ngIf=\"toolbarEvents.icp.enabled | async\"></mv-icp-toolbar>\n\n <div #viewerRef>\n <mv-conversion-viewer *ngIf=\"convertibleContent\"\n (documentTitle)=\"onDocumentTitleChange($event)\"\n (mediaLoadStatus)=\"onMediaLoad($event)\"\n (viewerException)=\"onLoadException($event)\"\n [enableAnnotations]=\"enableAnnotations\"\n [enableRedactions]=\"enableRedactions\"\n [annotationSet]=\"enableAnnotations ? (annotationSet$ | async) : null\"\n [originalUrl]=\"url\"\n [downloadFileName]=\"downloadFileName\"\n [height]=\"viewerHeight\"\n mvRotationPersist>\n </mv-conversion-viewer>\n <mv-pdf-viewer *ngIf=\"contentType === 'pdf'\"\n #pdfViewer\n (mediaLoadStatus)=\"onMediaLoad($event)\"\n (pdfViewerException)=\"onLoadException($event)\"\n (documentTitle)=\"onDocumentTitleChange($event)\"\n [url]=\"url\"\n [enableAnnotations]=\"enableAnnotations\"\n [enableRedactions]=\"enableRedactions\"\n [enableICP]=\"enableICP\"\n [annotationSet]=\"enableAnnotations ? (annotationSet$ | async) : null\"\n [downloadFileName]=\"downloadFileName\"\n [height]=\"viewerHeight\"\n [caseId]=\"caseId\"\n mvRotationPersist>\n </mv-pdf-viewer>\n <mv-image-viewer *ngIf=\"contentType === 'image'\"\n (mediaLoadStatus)=\"onMediaLoad($event)\"\n (imageViewerException)=\"onLoadException($event)\"\n [url]=\"url\"\n [enableAnnotations]=\"enableAnnotations\"\n [annotationSet]=\"enableAnnotations ? (annotationSet$ | async) : null\"\n [downloadFileName]=\"downloadFileName\"\n [height]=\"viewerHeight\"\n mvRotationPersist>\n </mv-image-viewer>\n <mv-multimedia-player *ngIf=\"multimediaContent\"\n [multimediaOn]=\"multimediaPlayerEnabled\"\n [url]=\"url\"\n [downloadFileName]=\"downloadFileName\"\n (loadStatus)=\"onMediaLoad($event)\">\n </mv-multimedia-player>\n <mv-unsupported-viewer *ngIf=\"unsupportedContent\"\n [url]=\"url\"\n [typeException]=\"typeException\"\n [downloadFileName]=\"downloadFileName\"\n (loadStatus)=\"onMediaLoad($event)\"\n (unsupportedViewerException)=\"onLoadException($event)\">\n </mv-unsupported-viewer>\n </div>\n </div>\n</div>\n",
5267
+ encapsulation: ViewEncapsulation.None
5268
+ }] }
5269
+ ];
5270
+ /** @nocollapse */
5271
+ MediaViewerComponent.ctorParameters = () => [
5272
+ { type: Store },
5273
+ { type: ToolbarButtonVisibilityService },
5274
+ { type: ToolbarEventService },
5275
+ { type: AnnotationApiService },
5276
+ { type: CommentService },
5277
+ { type: ElementRef },
5278
+ { type: ChangeDetectorRef }
5279
+ ];
5280
+ MediaViewerComponent.propDecorators = {
5281
+ viewerRef: [{ type: ViewChild, args: ['viewerRef', { static: false },] }],
5282
+ url: [{ type: Input }],
5283
+ downloadFileName: [{ type: Input }],
5284
+ contentType: [{ type: Input }],
5285
+ showToolbar: [{ type: Input }],
5286
+ toolbarButtonOverrides: [{ type: Input }],
5287
+ height: [{ type: Input }],
5288
+ width: [{ type: Input }],
5289
+ mediaLoadStatus: [{ type: Output }],
5290
+ viewerException: [{ type: Output }],
5291
+ toolbarEventsOutput: [{ type: Output }],
5292
+ unsavedChanges: [{ type: Output }],
5293
+ enableAnnotations: [{ type: Input }],
5294
+ annotationApiUrl: [{ type: Input }],
5295
+ enableRedactions: [{ type: Input }],
5296
+ enableICP: [{ type: Input }],
5297
+ multimediaPlayerEnabled: [{ type: Input }],
5298
+ caseId: [{ type: Input }]
5299
+ };
5300
+ if (false) {
5301
+ /** @type {?} */
5302
+ MediaViewerComponent.prototype.viewerRef;
5303
+ /** @type {?} */
5304
+ MediaViewerComponent.prototype.url;
5305
+ /** @type {?} */
5306
+ MediaViewerComponent.prototype.downloadFileName;
5307
+ /** @type {?} */
5308
+ MediaViewerComponent.prototype.contentType;
5309
+ /** @type {?} */
5310
+ MediaViewerComponent.prototype.showToolbar;
5311
+ /** @type {?} */
5312
+ MediaViewerComponent.prototype.toolbarButtonOverrides;
5313
+ /** @type {?} */
5314
+ MediaViewerComponent.prototype.height;
5315
+ /** @type {?} */
5316
+ MediaViewerComponent.prototype.viewerHeight;
5317
+ /** @type {?} */
5318
+ MediaViewerComponent.prototype.width;
5319
+ /** @type {?} */
5320
+ MediaViewerComponent.prototype.mediaLoadStatus;
5321
+ /** @type {?} */
5322
+ MediaViewerComponent.prototype.viewerException;
5323
+ /** @type {?} */
5324
+ MediaViewerComponent.prototype.toolbarEventsOutput;
5325
+ /** @type {?} */
5326
+ MediaViewerComponent.prototype.unsavedChanges;
5327
+ /** @type {?} */
5328
+ MediaViewerComponent.prototype.enableAnnotations;
5329
+ /** @type {?} */
5330
+ MediaViewerComponent.prototype.annotationApiUrl;
5331
+ /** @type {?} */
5332
+ MediaViewerComponent.prototype.enableRedactions;
5333
+ /** @type {?} */
5334
+ MediaViewerComponent.prototype.enableICP;
5335
+ /** @type {?} */
5336
+ MediaViewerComponent.prototype.multimediaPlayerEnabled;
5337
+ /** @type {?} */
5338
+ MediaViewerComponent.prototype.caseId;
5339
+ /** @type {?} */
5340
+ MediaViewerComponent.prototype.multimediaContent;
5341
+ /** @type {?} */
5342
+ MediaViewerComponent.prototype.convertibleContent;
5343
+ /** @type {?} */
5344
+ MediaViewerComponent.prototype.unsupportedContent;
5345
+ /** @type {?} */
5346
+ MediaViewerComponent.prototype.documentTitle;
5347
+ /** @type {?} */
5348
+ MediaViewerComponent.prototype.showCommentSummary;
5349
+ /** @type {?} */
5350
+ MediaViewerComponent.prototype.annotationSet$;
5351
+ /** @type {?} */
5352
+ MediaViewerComponent.prototype.hasScrollBar;
5353
+ /** @type {?} */
5354
+ MediaViewerComponent.prototype.typeException;
5355
+ /** @type {?} */
5356
+ MediaViewerComponent.prototype.hasDifferentPageSize$;
5357
+ /**
5358
+ * @type {?}
5359
+ * @private
5360
+ */
5361
+ MediaViewerComponent.prototype.$subscriptions;
5362
+ /**
5363
+ * @type {?}
5364
+ * @private
5365
+ */
5366
+ MediaViewerComponent.prototype.prevOffset;
5367
+ /**
5368
+ * @type {?}
5369
+ * @private
5370
+ */
5371
+ MediaViewerComponent.prototype.store;
5372
+ /** @type {?} */
5373
+ MediaViewerComponent.prototype.toolbarButtons;
5374
+ /** @type {?} */
5375
+ MediaViewerComponent.prototype.toolbarEvents;
5376
+ /**
5377
+ * @type {?}
5378
+ * @private
5379
+ */
5380
+ MediaViewerComponent.prototype.api;
5381
+ /**
5382
+ * @type {?}
5383
+ * @private
5384
+ */
5385
+ MediaViewerComponent.prototype.commentService;
5386
+ /**
5387
+ * @type {?}
5388
+ * @private
5389
+ */
5390
+ MediaViewerComponent.prototype.elRef;
5391
+ /**
5392
+ * @type {?}
5393
+ * @private
5394
+ */
5395
+ MediaViewerComponent.prototype.cdr;
5396
+ }
4256
5397
 
4257
5398
  /**
4258
5399
  * @fileoverview added by tsickle
@@ -4263,7 +5404,8 @@ MediaViewerComponent.propDecorators = {
4263
5404
  *
4264
5405
  */
4265
5406
  class NumberHelperService {
4266
- constructor() { }
5407
+ constructor() {
5408
+ }
4267
5409
  /**
4268
5410
  * @param {?} value
4269
5411
  * @return {?}
@@ -4282,7 +5424,7 @@ NumberHelperService.decorators = [
4282
5424
  ];
4283
5425
  /** @nocollapse */
4284
5426
  NumberHelperService.ctorParameters = () => [];
4285
- /** @nocollapse */ NumberHelperService.ngInjectableDef = ɵɵdefineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
5427
+ /** @nocollapse */ NumberHelperService.ɵprov = ɵɵdefineInjectable({ factory: function NumberHelperService_Factory() { return new NumberHelperService(); }, token: NumberHelperService, providedIn: "root" });
4286
5428
 
4287
5429
  /**
4288
5430
  * @fileoverview added by tsickle
@@ -4545,6 +5687,61 @@ MainToolbarComponent.propDecorators = {
4545
5687
  mvMenuItems: [{ type: ViewChild, args: ['dropdownMenu', { static: false },] }],
4546
5688
  onResize: [{ type: HostListener, args: ['window:resize', [],] }]
4547
5689
  };
5690
+ if (false) {
5691
+ /** @type {?} */
5692
+ MainToolbarComponent.prototype.enableAnnotations;
5693
+ /** @type {?} */
5694
+ MainToolbarComponent.prototype.enableRedactions;
5695
+ /** @type {?} */
5696
+ MainToolbarComponent.prototype.enableICP;
5697
+ /** @type {?} */
5698
+ MainToolbarComponent.prototype.contentType;
5699
+ /** @type {?} */
5700
+ MainToolbarComponent.prototype.zoomSelect;
5701
+ /** @type {?} */
5702
+ MainToolbarComponent.prototype.mvToolbarMain;
5703
+ /** @type {?} */
5704
+ MainToolbarComponent.prototype.mvMenuItems;
5705
+ /**
5706
+ * @type {?}
5707
+ * @private
5708
+ */
5709
+ MainToolbarComponent.prototype.subscriptions;
5710
+ /** @type {?} */
5711
+ MainToolbarComponent.prototype.icpEnabled;
5712
+ /** @type {?} */
5713
+ MainToolbarComponent.prototype.redactionEnabled;
5714
+ /** @type {?} */
5715
+ MainToolbarComponent.prototype.showCommentsPanel;
5716
+ /** @type {?} */
5717
+ MainToolbarComponent.prototype.pageNumber;
5718
+ /** @type {?} */
5719
+ MainToolbarComponent.prototype.pageCount;
5720
+ /** @type {?} */
5721
+ MainToolbarComponent.prototype.isDropdownMenuOpen;
5722
+ /** @type {?} */
5723
+ MainToolbarComponent.prototype.dropdownMenuPositions;
5724
+ /** @type {?} */
5725
+ MainToolbarComponent.prototype.zoomScales;
5726
+ /** @type {?} */
5727
+ MainToolbarComponent.prototype.allButtonsWidth;
5728
+ /** @type {?} */
5729
+ MainToolbarComponent.prototype.widthRequiredForBtn;
5730
+ /** @type {?} */
5731
+ MainToolbarComponent.prototype.toolbarEvents;
5732
+ /** @type {?} */
5733
+ MainToolbarComponent.prototype.toolbarButtons;
5734
+ /**
5735
+ * @type {?}
5736
+ * @private
5737
+ */
5738
+ MainToolbarComponent.prototype.cdr;
5739
+ /**
5740
+ * @type {?}
5741
+ * @private
5742
+ */
5743
+ MainToolbarComponent.prototype.numberHelper;
5744
+ }
4548
5745
 
4549
5746
  /**
4550
5747
  * @fileoverview added by tsickle
@@ -4691,6 +5888,33 @@ SearchBarComponent.propDecorators = {
4691
5888
  findInput: [{ type: ViewChild, args: ['findInput', { static: true },] }],
4692
5889
  onWindowKeyDown: [{ type: HostListener, args: ['window:keydown', ['$event'],] }]
4693
5890
  };
5891
+ if (false) {
5892
+ /** @type {?} */
5893
+ SearchBarComponent.prototype.findInput;
5894
+ /** @type {?} */
5895
+ SearchBarComponent.prototype.highlightAll;
5896
+ /** @type {?} */
5897
+ SearchBarComponent.prototype.matchCase;
5898
+ /** @type {?} */
5899
+ SearchBarComponent.prototype.wholeWord;
5900
+ /** @type {?} */
5901
+ SearchBarComponent.prototype.resultsText;
5902
+ /** @type {?} */
5903
+ SearchBarComponent.prototype.searchText;
5904
+ /** @type {?} */
5905
+ SearchBarComponent.prototype.resultCount;
5906
+ /**
5907
+ * @type {?}
5908
+ * @private
5909
+ */
5910
+ SearchBarComponent.prototype.subscriptions;
5911
+ /** @type {?} */
5912
+ SearchBarComponent.prototype.advancedSearchVisible;
5913
+ /** @type {?} */
5914
+ SearchBarComponent.prototype.toolbarButtons;
5915
+ /** @type {?} */
5916
+ SearchBarComponent.prototype.toolbarEvents;
5917
+ }
4694
5918
 
4695
5919
  /**
4696
5920
  * @fileoverview added by tsickle
@@ -4837,6 +6061,23 @@ RedactionToolbarComponent.ctorParameters = () => [
4837
6061
  { type: ToolbarButtonVisibilityService },
4838
6062
  { type: Store }
4839
6063
  ];
6064
+ if (false) {
6065
+ /** @type {?} */
6066
+ RedactionToolbarComponent.prototype.preview;
6067
+ /** @type {?} */
6068
+ RedactionToolbarComponent.prototype.hasRedactions;
6069
+ /** @type {?} */
6070
+ RedactionToolbarComponent.prototype.$subscription;
6071
+ /** @type {?} */
6072
+ RedactionToolbarComponent.prototype.toolbarEventService;
6073
+ /** @type {?} */
6074
+ RedactionToolbarComponent.prototype.toolbarButtons;
6075
+ /**
6076
+ * @type {?}
6077
+ * @private
6078
+ */
6079
+ RedactionToolbarComponent.prototype.store;
6080
+ }
4840
6081
 
4841
6082
  /**
4842
6083
  * @fileoverview added by tsickle
@@ -4903,7 +6144,7 @@ class IcpToolbarComponent {
4903
6144
  * @param {?} isPresenter
4904
6145
  * @return {?}
4905
6146
  */
4906
- isPresenter$$1 => this.isPresenter = isPresenter$$1));
6147
+ isPresenter => this.isPresenter = isPresenter));
4907
6148
  this.$subscription.add(this.store.pipe(select(getPresenterName))
4908
6149
  .subscribe((/**
4909
6150
  * @param {?} name
@@ -4953,6 +6194,24 @@ IcpToolbarComponent.ctorParameters = () => [
4953
6194
  { type: ToolbarEventService },
4954
6195
  { type: Store }
4955
6196
  ];
6197
+ if (false) {
6198
+ /** @type {?} */
6199
+ IcpToolbarComponent.prototype.presenterName;
6200
+ /** @type {?} */
6201
+ IcpToolbarComponent.prototype.isPresenter;
6202
+ /**
6203
+ * @type {?}
6204
+ * @private
6205
+ */
6206
+ IcpToolbarComponent.prototype.$subscription;
6207
+ /** @type {?} */
6208
+ IcpToolbarComponent.prototype.toolbarEventService;
6209
+ /**
6210
+ * @type {?}
6211
+ * @private
6212
+ */
6213
+ IcpToolbarComponent.prototype.store;
6214
+ }
4956
6215
 
4957
6216
  /**
4958
6217
  * @fileoverview added by tsickle
@@ -5104,6 +6363,38 @@ AnnotationViewComponent.propDecorators = {
5104
6363
  annotationClick: [{ type: Output }],
5105
6364
  container: [{ type: ViewChild, args: ['container', { static: false },] }]
5106
6365
  };
6366
+ if (false) {
6367
+ /** @type {?} */
6368
+ AnnotationViewComponent.prototype.anno;
6369
+ /** @type {?} */
6370
+ AnnotationViewComponent.prototype.selected;
6371
+ /** @type {?} */
6372
+ AnnotationViewComponent.prototype.zoom;
6373
+ /** @type {?} */
6374
+ AnnotationViewComponent.prototype.rotate;
6375
+ /** @type {?} */
6376
+ AnnotationViewComponent.prototype.pageHeight;
6377
+ /** @type {?} */
6378
+ AnnotationViewComponent.prototype.pageWidth;
6379
+ /** @type {?} */
6380
+ AnnotationViewComponent.prototype.update;
6381
+ /** @type {?} */
6382
+ AnnotationViewComponent.prototype.delete;
6383
+ /** @type {?} */
6384
+ AnnotationViewComponent.prototype.annotationClick;
6385
+ /** @type {?} */
6386
+ AnnotationViewComponent.prototype.container;
6387
+ /**
6388
+ * @type {?}
6389
+ * @private
6390
+ */
6391
+ AnnotationViewComponent.prototype.toolbarEvents;
6392
+ /**
6393
+ * @type {?}
6394
+ * @private
6395
+ */
6396
+ AnnotationViewComponent.prototype.store;
6397
+ }
5107
6398
 
5108
6399
  /**
5109
6400
  * @fileoverview added by tsickle
@@ -5169,6 +6460,32 @@ AnnotationSetComponent.propDecorators = {
5169
6460
  pageHeight: [{ type: Input }],
5170
6461
  pageWidth: [{ type: Input }]
5171
6462
  };
6463
+ if (false) {
6464
+ /** @type {?} */
6465
+ AnnotationSetComponent.prototype.page;
6466
+ /** @type {?} */
6467
+ AnnotationSetComponent.prototype.annotations;
6468
+ /** @type {?} */
6469
+ AnnotationSetComponent.prototype.zoom;
6470
+ /** @type {?} */
6471
+ AnnotationSetComponent.prototype.rotate;
6472
+ /** @type {?} */
6473
+ AnnotationSetComponent.prototype.pageHeight;
6474
+ /** @type {?} */
6475
+ AnnotationSetComponent.prototype.pageWidth;
6476
+ /** @type {?} */
6477
+ AnnotationSetComponent.prototype.selectedAnnotation$;
6478
+ /**
6479
+ * @type {?}
6480
+ * @private
6481
+ */
6482
+ AnnotationSetComponent.prototype.store;
6483
+ /**
6484
+ * @type {?}
6485
+ * @private
6486
+ */
6487
+ AnnotationSetComponent.prototype.commentService;
6488
+ }
5172
6489
 
5173
6490
  /**
5174
6491
  * @fileoverview added by tsickle
@@ -5195,7 +6512,7 @@ class HighlightCreateService {
5195
6512
  */
5196
6513
  anoSetDocId => {
5197
6514
  /** @type {?} */
5198
- const anno = Object.assign({ id: uuid$1(), color: 'FFFF00', comments: [], page: page, rectangles: rectangles, type: 'highlight' }, anoSetDocId, { createdBy: '', createdByDetails: undefined, createdDate: moment.utc().tz('Europe/London').toISOString(), lastModifiedBy: '', lastModifiedByDetails: undefined, lastModifiedDate: '', tags: [] });
6515
+ const anno = Object.assign(Object.assign({ id: uuid$1(), color: 'FFFF00', comments: [], page: page, rectangles: rectangles, type: 'highlight' }, anoSetDocId), { createdBy: '', createdByDetails: undefined, createdDate: moment.utc().tz('Europe/London').toISOString(), lastModifiedBy: '', lastModifiedByDetails: undefined, lastModifiedDate: '', tags: [] });
5199
6516
  this.store.dispatch(new SaveAnnotation(anno));
5200
6517
  }));
5201
6518
  }
@@ -5255,6 +6572,18 @@ HighlightCreateService.ctorParameters = () => [
5255
6572
  { type: ToolbarEventService },
5256
6573
  { type: Store }
5257
6574
  ];
6575
+ if (false) {
6576
+ /**
6577
+ * @type {?}
6578
+ * @private
6579
+ */
6580
+ HighlightCreateService.prototype.toolBarEvents;
6581
+ /**
6582
+ * @type {?}
6583
+ * @private
6584
+ */
6585
+ HighlightCreateService.prototype.store;
6586
+ }
5258
6587
 
5259
6588
  /**
5260
6589
  * @fileoverview added by tsickle
@@ -5356,7 +6685,7 @@ class RectangleComponent {
5356
6685
  /** @type {?} */
5357
6686
  let rectangle = this.highlightService
5358
6687
  .applyRotation(this.pageHeight, this.pageWidth, offsetHeight, offsetWidth, offsetTop, offsetLeft, this.rotate, this.zoom);
5359
- rectangle = Object.assign({}, this.annoRect, rectangle);
6688
+ rectangle = Object.assign(Object.assign({}, this.annoRect), rectangle);
5360
6689
  this.update.emit(Object.assign({}, rectangle));
5361
6690
  }
5362
6691
  }
@@ -5420,6 +6749,55 @@ RectangleComponent.propDecorators = {
5420
6749
  annoRect: [{ type: Input }],
5421
6750
  selected: [{ type: Input }]
5422
6751
  };
6752
+ if (false) {
6753
+ /** @type {?} */
6754
+ RectangleComponent.prototype.color;
6755
+ /** @type {?} */
6756
+ RectangleComponent.prototype.zoom;
6757
+ /** @type {?} */
6758
+ RectangleComponent.prototype.rotate;
6759
+ /** @type {?} */
6760
+ RectangleComponent.prototype.editable;
6761
+ /** @type {?} */
6762
+ RectangleComponent.prototype.pageHeight;
6763
+ /** @type {?} */
6764
+ RectangleComponent.prototype.pageWidth;
6765
+ /** @type {?} */
6766
+ RectangleComponent.prototype.select;
6767
+ /** @type {?} */
6768
+ RectangleComponent.prototype.update;
6769
+ /** @type {?} */
6770
+ RectangleComponent.prototype.viewRect;
6771
+ /**
6772
+ * @type {?}
6773
+ * @private
6774
+ */
6775
+ RectangleComponent.prototype.subscriptions;
6776
+ /** @type {?} */
6777
+ RectangleComponent.prototype._selected;
6778
+ /** @type {?} */
6779
+ RectangleComponent.prototype.enableGrabNDrag;
6780
+ /** @type {?} */
6781
+ RectangleComponent.prototype.height;
6782
+ /** @type {?} */
6783
+ RectangleComponent.prototype.width;
6784
+ /** @type {?} */
6785
+ RectangleComponent.prototype.top;
6786
+ /** @type {?} */
6787
+ RectangleComponent.prototype.left;
6788
+ /** @type {?} */
6789
+ RectangleComponent.prototype._annoRect;
6790
+ /**
6791
+ * @type {?}
6792
+ * @private
6793
+ */
6794
+ RectangleComponent.prototype.toolbarEvents;
6795
+ /**
6796
+ * @type {?}
6797
+ * @private
6798
+ */
6799
+ RectangleComponent.prototype.highlightService;
6800
+ }
5423
6801
 
5424
6802
  /**
5425
6803
  * @fileoverview added by tsickle
@@ -5476,9 +6854,9 @@ class TagsServices {
5476
6854
  * @return {?}
5477
6855
  */
5478
6856
  item => {
5479
- return Object.assign({}, item, { name: this.snakeCase(item.name) });
6857
+ return Object.assign(Object.assign({}, item), { name: this.snakeCase(item.name) });
5480
6858
  }));
5481
- this.tagItems = Object.assign({}, this.tagItems, { [annoId]: snakeCased });
6859
+ this.tagItems = Object.assign(Object.assign({}, this.tagItems), { [annoId]: snakeCased });
5482
6860
  }
5483
6861
  }
5484
6862
  TagsServices.decorators = [
@@ -5488,6 +6866,20 @@ TagsServices.decorators = [
5488
6866
  TagsServices.ctorParameters = () => [
5489
6867
  { type: HttpClient }
5490
6868
  ];
6869
+ if (false) {
6870
+ /** @type {?} */
6871
+ TagsServices.prototype.tagItems;
6872
+ /**
6873
+ * @type {?}
6874
+ * @private
6875
+ */
6876
+ TagsServices.prototype.snakeCase;
6877
+ /**
6878
+ * @type {?}
6879
+ * @private
6880
+ */
6881
+ TagsServices.prototype.http;
6882
+ }
5491
6883
 
5492
6884
  /**
5493
6885
  * @fileoverview added by tsickle
@@ -5711,6 +7103,86 @@ CommentComponent.propDecorators = {
5711
7103
  comment: [{ type: Input }],
5712
7104
  annotation: [{ type: Input }]
5713
7105
  };
7106
+ if (false) {
7107
+ /** @type {?} */
7108
+ CommentComponent.prototype.CHAR_LIMIT;
7109
+ /** @type {?} */
7110
+ CommentComponent.prototype.lastUpdate;
7111
+ /** @type {?} */
7112
+ CommentComponent.prototype.originalComment;
7113
+ /** @type {?} */
7114
+ CommentComponent.prototype.fullComment;
7115
+ /** @type {?} */
7116
+ CommentComponent.prototype.author;
7117
+ /** @type {?} */
7118
+ CommentComponent.prototype.createdBy;
7119
+ /** @type {?} */
7120
+ CommentComponent.prototype.editor;
7121
+ /** @type {?} */
7122
+ CommentComponent.prototype._comment;
7123
+ /** @type {?} */
7124
+ CommentComponent.prototype._editable;
7125
+ /** @type {?} */
7126
+ CommentComponent.prototype._rectangle;
7127
+ /** @type {?} */
7128
+ CommentComponent.prototype.totalPrevPagesHeight;
7129
+ /** @type {?} */
7130
+ CommentComponent.prototype.rectTop;
7131
+ /** @type {?} */
7132
+ CommentComponent.prototype.rectLeft;
7133
+ /** @type {?} */
7134
+ CommentComponent.prototype.pageHeight;
7135
+ /** @type {?} */
7136
+ CommentComponent.prototype.hasUnsavedChanges;
7137
+ /** @type {?} */
7138
+ CommentComponent.prototype.selected;
7139
+ /** @type {?} */
7140
+ CommentComponent.prototype.searchString;
7141
+ /** @type {?} */
7142
+ CommentComponent.prototype.tagItems;
7143
+ /** @type {?} */
7144
+ CommentComponent.prototype.commentClick;
7145
+ /** @type {?} */
7146
+ CommentComponent.prototype.renderComments;
7147
+ /** @type {?} */
7148
+ CommentComponent.prototype.delete;
7149
+ /** @type {?} */
7150
+ CommentComponent.prototype.updated;
7151
+ /** @type {?} */
7152
+ CommentComponent.prototype.changes;
7153
+ /** @type {?} */
7154
+ CommentComponent.prototype.rotate;
7155
+ /** @type {?} */
7156
+ CommentComponent.prototype.zoom;
7157
+ /** @type {?} */
7158
+ CommentComponent.prototype.index;
7159
+ /** @type {?} */
7160
+ CommentComponent.prototype.page;
7161
+ /** @type {?} */
7162
+ CommentComponent.prototype.form;
7163
+ /** @type {?} */
7164
+ CommentComponent.prototype.editableComment;
7165
+ /**
7166
+ * @type {?}
7167
+ * @private
7168
+ */
7169
+ CommentComponent.prototype.subscriptions;
7170
+ /**
7171
+ * @type {?}
7172
+ * @private
7173
+ */
7174
+ CommentComponent.prototype.store;
7175
+ /**
7176
+ * @type {?}
7177
+ * @private
7178
+ */
7179
+ CommentComponent.prototype.commentService;
7180
+ /**
7181
+ * @type {?}
7182
+ * @private
7183
+ */
7184
+ CommentComponent.prototype.tagsServices;
7185
+ }
5714
7186
 
5715
7187
  /**
5716
7188
  * @fileoverview added by tsickle
@@ -5856,6 +7328,44 @@ CtxToolbarComponent.propDecorators = {
5856
7328
  createBookmarkEvent: [{ type: Output }],
5857
7329
  rectangles: [{ type: Input }]
5858
7330
  };
7331
+ if (false) {
7332
+ /** @type {?} */
7333
+ CtxToolbarComponent.prototype.defaultHeight;
7334
+ /** @type {?} */
7335
+ CtxToolbarComponent.prototype.defaultWidth;
7336
+ /** @type {?} */
7337
+ CtxToolbarComponent.prototype.zoom;
7338
+ /** @type {?} */
7339
+ CtxToolbarComponent.prototype.rotate;
7340
+ /** @type {?} */
7341
+ CtxToolbarComponent.prototype.pageHeight;
7342
+ /** @type {?} */
7343
+ CtxToolbarComponent.prototype.pageWidth;
7344
+ /** @type {?} */
7345
+ CtxToolbarComponent.prototype.canHighlight;
7346
+ /** @type {?} */
7347
+ CtxToolbarComponent.prototype.canBookmark;
7348
+ /** @type {?} */
7349
+ CtxToolbarComponent.prototype.canComment;
7350
+ /** @type {?} */
7351
+ CtxToolbarComponent.prototype.canDelete;
7352
+ /** @type {?} */
7353
+ CtxToolbarComponent.prototype.createHighlightEvent;
7354
+ /** @type {?} */
7355
+ CtxToolbarComponent.prototype.deleteHighlightEvent;
7356
+ /** @type {?} */
7357
+ CtxToolbarComponent.prototype.addOrEditCommentEvent;
7358
+ /** @type {?} */
7359
+ CtxToolbarComponent.prototype.createBookmarkEvent;
7360
+ /** @type {?} */
7361
+ CtxToolbarComponent.prototype.rectangle;
7362
+ /** @type {?} */
7363
+ CtxToolbarComponent.prototype._rectangles;
7364
+ /** @type {?} */
7365
+ CtxToolbarComponent.prototype.top;
7366
+ /** @type {?} */
7367
+ CtxToolbarComponent.prototype.left;
7368
+ }
5859
7369
 
5860
7370
  /**
5861
7371
  * @fileoverview added by tsickle
@@ -6062,7 +7572,7 @@ class CommentSetComponent {
6062
7572
  /** @type {?} */
6063
7573
  const comments = [];
6064
7574
  /** @type {?} */
6065
- const annot = Object.assign({}, annotation, { comments });
7575
+ const annot = Object.assign(Object.assign({}, annotation), { comments });
6066
7576
  this.onAnnotationUpdate(annot);
6067
7577
  this.redrawComments();
6068
7578
  }
@@ -6108,7 +7618,7 @@ class CommentSetComponent {
6108
7618
  /** @type {?} */
6109
7619
  const tags = payload.tags;
6110
7620
  /** @type {?} */
6111
- const annot = Object.assign({}, annotation, { comments,
7621
+ const annot = Object.assign(Object.assign({}, annotation), { comments,
6112
7622
  tags });
6113
7623
  this.onAnnotationUpdate(annot);
6114
7624
  }
@@ -6165,6 +7675,61 @@ CommentSetComponent.propDecorators = {
6165
7675
  panel: [{ type: ViewChild, args: ['panel', { static: false },] }],
6166
7676
  commentComponents: [{ type: ViewChildren, args: ['commentComponent',] }]
6167
7677
  };
7678
+ if (false) {
7679
+ /** @type {?} */
7680
+ CommentSetComponent.prototype.annotationSet;
7681
+ /** @type {?} */
7682
+ CommentSetComponent.prototype.zoom;
7683
+ /** @type {?} */
7684
+ CommentSetComponent.prototype.rotate;
7685
+ /** @type {?} */
7686
+ CommentSetComponent.prototype.height;
7687
+ /** @type {?} */
7688
+ CommentSetComponent.prototype.pageHeights;
7689
+ /** @type {?} */
7690
+ CommentSetComponent.prototype.contentScrollTop;
7691
+ /** @type {?} */
7692
+ CommentSetComponent.prototype.comments;
7693
+ /** @type {?} */
7694
+ CommentSetComponent.prototype.tags;
7695
+ /**
7696
+ * @type {?}
7697
+ * @private
7698
+ */
7699
+ CommentSetComponent.prototype.subscriptions;
7700
+ /** @type {?} */
7701
+ CommentSetComponent.prototype.comments$;
7702
+ /** @type {?} */
7703
+ CommentSetComponent.prototype.annoEntities$;
7704
+ /** @type {?} */
7705
+ CommentSetComponent.prototype.container;
7706
+ /** @type {?} */
7707
+ CommentSetComponent.prototype.panel;
7708
+ /** @type {?} */
7709
+ CommentSetComponent.prototype.commentComponents;
7710
+ /** @type {?} */
7711
+ CommentSetComponent.prototype.showCommentsPanel;
7712
+ /**
7713
+ * @type {?}
7714
+ * @private
7715
+ */
7716
+ CommentSetComponent.prototype.store;
7717
+ /**
7718
+ * @type {?}
7719
+ * @private
7720
+ */
7721
+ CommentSetComponent.prototype.commentService;
7722
+ /**
7723
+ * @type {?}
7724
+ * @private
7725
+ */
7726
+ CommentSetComponent.prototype.renderService;
7727
+ /**
7728
+ * @type {?}
7729
+ * @private
7730
+ */
7731
+ CommentSetComponent.prototype.toolbarEvents;
7732
+ }
6168
7733
 
6169
7734
  /**
6170
7735
  * @fileoverview added by tsickle
@@ -6212,6 +7777,13 @@ TextareaAutoExpandDirective.ctorParameters = () => [
6212
7777
  TextareaAutoExpandDirective.propDecorators = {
6213
7778
  onMouseDown: [{ type: HostListener, args: ['input',] }]
6214
7779
  };
7780
+ if (false) {
7781
+ /**
7782
+ * @type {?}
7783
+ * @private
7784
+ */
7785
+ TextareaAutoExpandDirective.prototype.el;
7786
+ }
6215
7787
 
6216
7788
  /**
6217
7789
  * @fileoverview added by tsickle
@@ -6310,7 +7882,7 @@ class CommentsSummaryComponent {
6310
7882
  /** @type {?} */
6311
7883
  const dateRangeTo = hasDateTo ?
6312
7884
  new Date(value.dateRangeTo.year, value.dateRangeTo.month - 1, value.dateRangeTo.day).getTime() : null;
6313
- this.store.dispatch(new ApplyCommentSymmaryFilter(Object.assign({}, value, { dateRangeFrom, dateRangeTo })));
7885
+ this.store.dispatch(new ApplyCommentSymmaryFilter(Object.assign(Object.assign({}, value), { dateRangeFrom, dateRangeTo })));
6314
7886
  }
6315
7887
  /**
6316
7888
  * @return {?}
@@ -6367,6 +7939,51 @@ CommentsSummaryComponent.propDecorators = {
6367
7939
  container: [{ type: ViewChild, args: ['outerContainer', { static: false },] }],
6368
7940
  commentsTable: [{ type: ViewChild, args: ['commentContainer', { static: false },] }]
6369
7941
  };
7942
+ if (false) {
7943
+ /** @type {?} */
7944
+ CommentsSummaryComponent.prototype.title;
7945
+ /** @type {?} */
7946
+ CommentsSummaryComponent.prototype.contentType;
7947
+ /** @type {?} */
7948
+ CommentsSummaryComponent.prototype.container;
7949
+ /** @type {?} */
7950
+ CommentsSummaryComponent.prototype.commentsTable;
7951
+ /** @type {?} */
7952
+ CommentsSummaryComponent.prototype.comments$;
7953
+ /** @type {?} */
7954
+ CommentsSummaryComponent.prototype.filtersFg;
7955
+ /**
7956
+ * @type {?}
7957
+ * @private
7958
+ */
7959
+ CommentsSummaryComponent.prototype.$subscriptions;
7960
+ /** @type {?} */
7961
+ CommentsSummaryComponent.prototype.allTags$;
7962
+ /** @type {?} */
7963
+ CommentsSummaryComponent.prototype.showFilters;
7964
+ /** @type {?} */
7965
+ CommentsSummaryComponent.prototype.hasFilter;
7966
+ /**
7967
+ * @type {?}
7968
+ * @private
7969
+ */
7970
+ CommentsSummaryComponent.prototype.store;
7971
+ /**
7972
+ * @type {?}
7973
+ * @private
7974
+ */
7975
+ CommentsSummaryComponent.prototype.printService;
7976
+ /**
7977
+ * @type {?}
7978
+ * @private
7979
+ */
7980
+ CommentsSummaryComponent.prototype.toolbarEvents;
7981
+ /**
7982
+ * @type {?}
7983
+ * @private
7984
+ */
7985
+ CommentsSummaryComponent.prototype.fb;
7986
+ }
6370
7987
 
6371
7988
  /**
6372
7989
  * @fileoverview added by tsickle
@@ -6498,6 +8115,63 @@ BoxHighlightCreateComponent.propDecorators = {
6498
8115
  saveSelection: [{ type: Output }],
6499
8116
  highlight: [{ type: ViewChild, args: ['boxHighlight', { static: false },] }]
6500
8117
  };
8118
+ if (false) {
8119
+ /** @type {?} */
8120
+ BoxHighlightCreateComponent.prototype.page;
8121
+ /** @type {?} */
8122
+ BoxHighlightCreateComponent.prototype.pageHeight;
8123
+ /** @type {?} */
8124
+ BoxHighlightCreateComponent.prototype.pageWidth;
8125
+ /** @type {?} */
8126
+ BoxHighlightCreateComponent.prototype.rotate;
8127
+ /** @type {?} */
8128
+ BoxHighlightCreateComponent.prototype.zoom;
8129
+ /** @type {?} */
8130
+ BoxHighlightCreateComponent.prototype.container;
8131
+ /** @type {?} */
8132
+ BoxHighlightCreateComponent.prototype.saveSelection;
8133
+ /** @type {?} */
8134
+ BoxHighlightCreateComponent.prototype.highlight;
8135
+ /** @type {?} */
8136
+ BoxHighlightCreateComponent.prototype.drawStartX;
8137
+ /** @type {?} */
8138
+ BoxHighlightCreateComponent.prototype.drawStartY;
8139
+ /** @type {?} */
8140
+ BoxHighlightCreateComponent.prototype.top;
8141
+ /** @type {?} */
8142
+ BoxHighlightCreateComponent.prototype.left;
8143
+ /** @type {?} */
8144
+ BoxHighlightCreateComponent.prototype.height;
8145
+ /** @type {?} */
8146
+ BoxHighlightCreateComponent.prototype.width;
8147
+ /** @type {?} */
8148
+ BoxHighlightCreateComponent.prototype.display;
8149
+ /** @type {?} */
8150
+ BoxHighlightCreateComponent.prototype.drawMode;
8151
+ /** @type {?} */
8152
+ BoxHighlightCreateComponent.prototype.defaultHeight;
8153
+ /** @type {?} */
8154
+ BoxHighlightCreateComponent.prototype.defaultWidth;
8155
+ /** @type {?} */
8156
+ BoxHighlightCreateComponent.prototype.position;
8157
+ /** @type {?} */
8158
+ BoxHighlightCreateComponent.prototype.backgroundColor;
8159
+ /**
8160
+ * @type {?}
8161
+ * @private
8162
+ */
8163
+ BoxHighlightCreateComponent.prototype.subscriptions;
8164
+ /**
8165
+ * @type {?}
8166
+ * @private
8167
+ */
8168
+ BoxHighlightCreateComponent.prototype.toolbarEvents;
8169
+ /**
8170
+ * @type {?}
8171
+ * @private
8172
+ */
8173
+ BoxHighlightCreateComponent.prototype.highlightService;
8174
+ }
6501
8175
 
6502
8176
  /**
6503
8177
  * @fileoverview added by tsickle
@@ -6537,7 +8211,7 @@ class CommentSetHeaderComponent {
6537
8211
  * @return {?}
6538
8212
  */
6539
8213
  (tab) => {
6540
- return !this.isFiltered && tab.label === 'filter' ? Object.assign({}, tab, { isFiltered: true }) : Object.assign({}, tab, { isFiltered: false });
8214
+ return !this.isFiltered && tab.label === 'filter' ? Object.assign(Object.assign({}, tab), { isFiltered: true }) : Object.assign(Object.assign({}, tab), { isFiltered: false });
6541
8215
  }));
6542
8216
  }));
6543
8217
  }
@@ -6583,6 +8257,29 @@ CommentSetHeaderComponent.propDecorators = {
6583
8257
  showCommentSummary: [{ type: Input }],
6584
8258
  showCommentSummaryDialog: [{ type: Output }]
6585
8259
  };
8260
+ if (false) {
8261
+ /** @type {?} */
8262
+ CommentSetHeaderComponent.prototype.showCommentSummary;
8263
+ /** @type {?} */
8264
+ CommentSetHeaderComponent.prototype.showCommentSummaryDialog;
8265
+ /** @type {?} */
8266
+ CommentSetHeaderComponent.prototype.tabs;
8267
+ /** @type {?} */
8268
+ CommentSetHeaderComponent.prototype.tabSelected;
8269
+ /** @type {?} */
8270
+ CommentSetHeaderComponent.prototype.isFiltered;
8271
+ /** @type {?} */
8272
+ CommentSetHeaderComponent.prototype.navigationList;
8273
+ /** @type {?} */
8274
+ CommentSetHeaderComponent.prototype.$subscriptions;
8275
+ /**
8276
+ * @type {?}
8277
+ * @private
8278
+ */
8279
+ CommentSetHeaderComponent.prototype.store;
8280
+ /** @type {?} */
8281
+ CommentSetHeaderComponent.prototype.toolbarEvents;
8282
+ }
6586
8283
 
6587
8284
  /**
6588
8285
  * @fileoverview added by tsickle
@@ -6664,6 +8361,23 @@ CommentSearchComponent.propDecorators = {
6664
8361
  annotations: [{ type: Input }],
6665
8362
  searchInput: [{ type: ViewChild, args: ['searchInput', { static: false },] }]
6666
8363
  };
8364
+ if (false) {
8365
+ /** @type {?} */
8366
+ CommentSearchComponent.prototype.annotations;
8367
+ /** @type {?} */
8368
+ CommentSearchComponent.prototype.searchInput;
8369
+ /** @type {?} */
8370
+ CommentSearchComponent.prototype.searchString;
8371
+ /** @type {?} */
8372
+ CommentSearchComponent.prototype.searchResults;
8373
+ /** @type {?} */
8374
+ CommentSearchComponent.prototype.searchIndex;
8375
+ /**
8376
+ * @type {?}
8377
+ * @private
8378
+ */
8379
+ CommentSearchComponent.prototype.store;
8380
+ }
6667
8381
 
6668
8382
  /**
6669
8383
  * @fileoverview added by tsickle
@@ -6738,6 +8452,15 @@ TextHighlightDirective.ctorParameters = () => [
6738
8452
  TextHighlightDirective.propDecorators = {
6739
8453
  textToHighlight: [{ type: Input }]
6740
8454
  };
8455
+ if (false) {
8456
+ /** @type {?} */
8457
+ TextHighlightDirective.prototype.textToHighlight;
8458
+ /**
8459
+ * @type {?}
8460
+ * @private
8461
+ */
8462
+ TextHighlightDirective.prototype.element;
8463
+ }
6741
8464
 
6742
8465
  /**
6743
8466
  * @fileoverview added by tsickle
@@ -6813,6 +8536,27 @@ TagsComponent.propDecorators = {
6813
8536
  editable: [{ type: Input }],
6814
8537
  annoId: [{ type: Input }]
6815
8538
  };
8539
+ if (false) {
8540
+ /** @type {?} */
8541
+ TagsComponent.prototype.tagItems;
8542
+ /** @type {?} */
8543
+ TagsComponent.prototype.userId;
8544
+ /** @type {?} */
8545
+ TagsComponent.prototype.editable;
8546
+ /** @type {?} */
8547
+ TagsComponent.prototype.annoId;
8548
+ /** @type {?} */
8549
+ TagsComponent.prototype.validators;
8550
+ /** @type {?} */
8551
+ TagsComponent.prototype.errorMessages;
8552
+ /** @type {?} */
8553
+ TagsComponent.prototype.requestAutocompleteItems;
8554
+ /**
8555
+ * @type {?}
8556
+ * @private
8557
+ */
8558
+ TagsComponent.prototype.tagsServices;
8559
+ }
6816
8560
 
6817
8561
  /**
6818
8562
  * @fileoverview added by tsickle
@@ -6945,6 +8689,23 @@ CommentsNavigateComponent.propDecorators = {
6945
8689
  annotationList: [{ type: Input }],
6946
8690
  autoSelect: [{ type: Input }]
6947
8691
  };
8692
+ if (false) {
8693
+ /** @type {?} */
8694
+ CommentsNavigateComponent.prototype.annotationList;
8695
+ /** @type {?} */
8696
+ CommentsNavigateComponent.prototype.autoSelect;
8697
+ /** @type {?} */
8698
+ CommentsNavigateComponent.prototype.navigationList;
8699
+ /** @type {?} */
8700
+ CommentsNavigateComponent.prototype.index;
8701
+ /**
8702
+ * @type {?}
8703
+ * @private
8704
+ */
8705
+ CommentsNavigateComponent.prototype.store;
8706
+ /** @type {?} */
8707
+ CommentsNavigateComponent.prototype.toolbarEvents;
8708
+ }
6948
8709
 
6949
8710
  /**
6950
8711
  * @fileoverview added by tsickle
@@ -7041,6 +8802,30 @@ CommentFilterComponent.ctorParameters = () => [
7041
8802
  { type: Store },
7042
8803
  { type: FormBuilder }
7043
8804
  ];
8805
+ if (false) {
8806
+ /** @type {?} */
8807
+ CommentFilterComponent.prototype.tagGroup;
8808
+ /** @type {?} */
8809
+ CommentFilterComponent.prototype.$subscriptions;
8810
+ /** @type {?} */
8811
+ CommentFilterComponent.prototype.filter$;
8812
+ /** @type {?} */
8813
+ CommentFilterComponent.prototype.allTags$;
8814
+ /** @type {?} */
8815
+ CommentFilterComponent.prototype.searchValue;
8816
+ /** @type {?} */
8817
+ CommentFilterComponent.prototype.isPreview;
8818
+ /**
8819
+ * @type {?}
8820
+ * @private
8821
+ */
8822
+ CommentFilterComponent.prototype.store;
8823
+ /**
8824
+ * @type {?}
8825
+ * @private
8826
+ */
8827
+ CommentFilterComponent.prototype.fb;
8828
+ }
7044
8829
 
7045
8830
  /**
7046
8831
  * @fileoverview added by tsickle
@@ -7165,6 +8950,18 @@ BookmarksApiService.decorators = [
7165
8950
  BookmarksApiService.ctorParameters = () => [
7166
8951
  { type: HttpClient }
7167
8952
  ];
8953
+ if (false) {
8954
+ /**
8955
+ * @type {?}
8956
+ * @private
8957
+ */
8958
+ BookmarksApiService.prototype.ANNOTATIONS_API;
8959
+ /**
8960
+ * @type {?}
8961
+ * @private
8962
+ */
8963
+ BookmarksApiService.prototype.httpClient;
8964
+ }
7168
8965
 
7169
8966
  /**
7170
8967
  * @fileoverview added by tsickle
@@ -7249,6 +9046,14 @@ GovUkDateComponent.propDecorators = {
7249
9046
  errorMessage: [{ type: Input }],
7250
9047
  formGroup: [{ type: Input }]
7251
9048
  };
9049
+ if (false) {
9050
+ /** @type {?} */
9051
+ GovUkDateComponent.prototype.config;
9052
+ /** @type {?} */
9053
+ GovUkDateComponent.prototype.errorMessage;
9054
+ /** @type {?} */
9055
+ GovUkDateComponent.prototype.formGroup;
9056
+ }
7252
9057
 
7253
9058
  /**
7254
9059
  * @fileoverview added by tsickle
@@ -7261,7 +9066,8 @@ GovUkDateComponent.propDecorators = {
7261
9066
  * @prop errorMessage - all error bject with messages property that is arry of strings.
7262
9067
  * */
7263
9068
  class GovUkErrorMessageComponent {
7264
- constructor() { }
9069
+ constructor() {
9070
+ }
7265
9071
  }
7266
9072
  GovUkErrorMessageComponent.decorators = [
7267
9073
  { type: Component, args: [{
@@ -7279,6 +9085,12 @@ GovUkErrorMessageComponent.propDecorators = {
7279
9085
  config: [{ type: Input }],
7280
9086
  errorMessage: [{ type: Input }]
7281
9087
  };
9088
+ if (false) {
9089
+ /** @type {?} */
9090
+ GovUkErrorMessageComponent.prototype.config;
9091
+ /** @type {?} */
9092
+ GovUkErrorMessageComponent.prototype.errorMessage;
9093
+ }
7282
9094
 
7283
9095
  /**
7284
9096
  * @fileoverview added by tsickle
@@ -7353,6 +9165,14 @@ GovUkFieldsetComponent.propDecorators = {
7353
9165
  isHeading: [{ type: Input }],
7354
9166
  errorMessage: [{ type: Input }]
7355
9167
  };
9168
+ if (false) {
9169
+ /** @type {?} */
9170
+ GovUkFieldsetComponent.prototype.config;
9171
+ /** @type {?} */
9172
+ GovUkFieldsetComponent.prototype.isHeading;
9173
+ /** @type {?} */
9174
+ GovUkFieldsetComponent.prototype.errorMessage;
9175
+ }
7356
9176
 
7357
9177
  /**
7358
9178
  * @fileoverview added by tsickle
@@ -7365,7 +9185,8 @@ GovUkFieldsetComponent.propDecorators = {
7365
9185
  * @prop config - obj with properties
7366
9186
  * */
7367
9187
  class GovUkLabelComponent {
7368
- constructor() { }
9188
+ constructor() {
9189
+ }
7369
9190
  }
7370
9191
  GovUkLabelComponent.decorators = [
7371
9192
  { type: Component, args: [{
@@ -7388,6 +9209,10 @@ GovUkLabelComponent.ctorParameters = () => [];
7388
9209
  GovUkLabelComponent.propDecorators = {
7389
9210
  config: [{ type: Input }]
7390
9211
  };
9212
+ if (false) {
9213
+ /** @type {?} */
9214
+ GovUkLabelComponent.prototype.config;
9215
+ }
7391
9216
 
7392
9217
  /**
7393
9218
  * @fileoverview added by tsickle
@@ -7582,7 +9407,7 @@ class MetadataLayerComponent {
7582
9407
  (bookmarkInfo) => {
7583
9408
  /** @type {?} */
7584
9409
  const selection = window.getSelection().toString();
7585
- this.store.dispatch(new CreateBookmark((/** @type {?} */ (Object.assign({}, bookmarkInfo, { name: selection.length > 0 ? selection.substr(0, 30) : 'new bookmark', id: uuid$1(), pageNumber: this.highlightPage - 1, xCoordinate: rectangle.x, yCoordinate: rectangle.y })))));
9410
+ this.store.dispatch(new CreateBookmark((/** @type {?} */ (Object.assign(Object.assign({}, bookmarkInfo), { name: selection.length > 0 ? selection.substr(0, 30) : 'new bookmark', id: uuid$1(), pageNumber: this.highlightPage - 1, xCoordinate: rectangle.x, yCoordinate: rectangle.y })))));
7586
9411
  this.toolbarEvents.toggleSideBar(true);
7587
9412
  this.highlightService.resetHighlight();
7588
9413
  this.rectangles = undefined;
@@ -7614,6 +9439,47 @@ MetadataLayerComponent.propDecorators = {
7614
9439
  zoom: [{ type: Input }],
7615
9440
  rotate: [{ type: Input }]
7616
9441
  };
9442
+ if (false) {
9443
+ /** @type {?} */
9444
+ MetadataLayerComponent.prototype.zoom;
9445
+ /** @type {?} */
9446
+ MetadataLayerComponent.prototype.rotate;
9447
+ /** @type {?} */
9448
+ MetadataLayerComponent.prototype.pages;
9449
+ /** @type {?} */
9450
+ MetadataLayerComponent.prototype.annoPages$;
9451
+ /** @type {?} */
9452
+ MetadataLayerComponent.prototype.drawMode;
9453
+ /** @type {?} */
9454
+ MetadataLayerComponent.prototype.highlightPage;
9455
+ /** @type {?} */
9456
+ MetadataLayerComponent.prototype.rectangles;
9457
+ /**
9458
+ * @type {?}
9459
+ * @private
9460
+ */
9461
+ MetadataLayerComponent.prototype.$subscriptions;
9462
+ /**
9463
+ * @type {?}
9464
+ * @private
9465
+ */
9466
+ MetadataLayerComponent.prototype.store;
9467
+ /**
9468
+ * @type {?}
9469
+ * @private
9470
+ */
9471
+ MetadataLayerComponent.prototype.highlightService;
9472
+ /**
9473
+ * @type {?}
9474
+ * @private
9475
+ */
9476
+ MetadataLayerComponent.prototype.toolbarEvents;
9477
+ /**
9478
+ * @type {?}
9479
+ * @private
9480
+ */
9481
+ MetadataLayerComponent.prototype.viewerEvents;
9482
+ }
7617
9483
 
7618
9484
  /**
7619
9485
  * @fileoverview added by tsickle
@@ -7754,6 +9620,24 @@ GrabNDragDirective.propDecorators = {
7754
9620
  onPointerMove: [{ type: HostListener, args: ['window:pointermove', ['$event'],] }],
7755
9621
  onWindowPointerUp: [{ type: HostListener, args: ['window:pointerup',] }]
7756
9622
  };
9623
+ if (false) {
9624
+ /** @type {?} */
9625
+ GrabNDragDirective.prototype.originalPosition;
9626
+ /**
9627
+ * @type {?}
9628
+ * @private
9629
+ */
9630
+ GrabNDragDirective.prototype.pointerDown;
9631
+ /** @type {?} */
9632
+ GrabNDragDirective.prototype.dragEnabled;
9633
+ /** @type {?} */
9634
+ GrabNDragDirective.prototype.dragX;
9635
+ /**
9636
+ * @type {?}
9637
+ * @private
9638
+ */
9639
+ GrabNDragDirective.prototype.el;
9640
+ }
7757
9641
 
7758
9642
  /**
7759
9643
  * @fileoverview added by tsickle
@@ -7821,7 +9705,7 @@ class SideBarComponent {
7821
9705
  * @return {?}
7822
9706
  */
7823
9707
  (bookmarkInfo) => {
7824
- this.store.dispatch(new CreateBookmark((/** @type {?} */ (Object.assign({}, bookmarkInfo, { name: 'new bookmark', id: uuid$1() })))));
9708
+ this.store.dispatch(new CreateBookmark((/** @type {?} */ (Object.assign(Object.assign({}, bookmarkInfo), { name: 'new bookmark', id: uuid$1() })))));
7825
9709
  }));
7826
9710
  }
7827
9711
  }
@@ -7843,6 +9727,34 @@ SideBarComponent.propDecorators = {
7843
9727
  zoom: [{ type: Input }],
7844
9728
  rotate: [{ type: Input }]
7845
9729
  };
9730
+ if (false) {
9731
+ /** @type {?} */
9732
+ SideBarComponent.prototype.annotationsEnabled;
9733
+ /** @type {?} */
9734
+ SideBarComponent.prototype.outline;
9735
+ /** @type {?} */
9736
+ SideBarComponent.prototype.url;
9737
+ /** @type {?} */
9738
+ SideBarComponent.prototype.zoom;
9739
+ /** @type {?} */
9740
+ SideBarComponent.prototype.rotate;
9741
+ /** @type {?} */
9742
+ SideBarComponent.prototype.selectedView;
9743
+ /** @type {?} */
9744
+ SideBarComponent.prototype.bookmarkNodes$;
9745
+ /** @type {?} */
9746
+ SideBarComponent.prototype.$subscription;
9747
+ /**
9748
+ * @type {?}
9749
+ * @private
9750
+ */
9751
+ SideBarComponent.prototype.viewerEvents;
9752
+ /**
9753
+ * @type {?}
9754
+ * @private
9755
+ */
9756
+ SideBarComponent.prototype.store;
9757
+ }
7846
9758
 
7847
9759
  /**
7848
9760
  * @fileoverview added by tsickle
@@ -7884,6 +9796,14 @@ OutlineItemComponent.propDecorators = {
7884
9796
  outline: [{ type: Input }],
7885
9797
  navigationEvent: [{ type: Output }]
7886
9798
  };
9799
+ if (false) {
9800
+ /** @type {?} */
9801
+ OutlineItemComponent.prototype.outline;
9802
+ /** @type {?} */
9803
+ OutlineItemComponent.prototype.navigationEvent;
9804
+ /** @type {?} */
9805
+ OutlineItemComponent.prototype.showOutlineItems;
9806
+ }
7887
9807
 
7888
9808
  /**
7889
9809
  * @fileoverview added by tsickle
@@ -8047,6 +9967,42 @@ RedactionComponent.propDecorators = {
8047
9967
  zoom: [{ type: Input }],
8048
9968
  rotate: [{ type: Input }]
8049
9969
  };
9970
+ if (false) {
9971
+ /** @type {?} */
9972
+ RedactionComponent.prototype.zoom;
9973
+ /** @type {?} */
9974
+ RedactionComponent.prototype.rotate;
9975
+ /** @type {?} */
9976
+ RedactionComponent.prototype.redactionsPerPage$;
9977
+ /** @type {?} */
9978
+ RedactionComponent.prototype.selectedRedaction$;
9979
+ /** @type {?} */
9980
+ RedactionComponent.prototype.rectangles;
9981
+ /** @type {?} */
9982
+ RedactionComponent.prototype.drawMode;
9983
+ /** @type {?} */
9984
+ RedactionComponent.prototype.documentId;
9985
+ /**
9986
+ * @type {?}
9987
+ * @private
9988
+ */
9989
+ RedactionComponent.prototype.$subscription;
9990
+ /**
9991
+ * @type {?}
9992
+ * @private
9993
+ */
9994
+ RedactionComponent.prototype.store;
9995
+ /**
9996
+ * @type {?}
9997
+ * @private
9998
+ */
9999
+ RedactionComponent.prototype.viewerEvents;
10000
+ /**
10001
+ * @type {?}
10002
+ * @private
10003
+ */
10004
+ RedactionComponent.prototype.toolbarEvents;
10005
+ }
8050
10006
 
8051
10007
  /**
8052
10008
  * @fileoverview added by tsickle
@@ -8081,6 +10037,15 @@ IcpSessionApiService.decorators = [
8081
10037
  IcpSessionApiService.ctorParameters = () => [
8082
10038
  { type: HttpClient }
8083
10039
  ];
10040
+ if (false) {
10041
+ /** @type {?} */
10042
+ IcpSessionApiService.prototype.ICP_SESSION_API;
10043
+ /**
10044
+ * @type {?}
10045
+ * @private
10046
+ */
10047
+ IcpSessionApiService.prototype.httpClient;
10048
+ }
8084
10049
 
8085
10050
  /**
8086
10051
  * @fileoverview added by tsickle
@@ -8178,6 +10143,17 @@ SocketService.decorators = [
8178
10143
  ];
8179
10144
  /** @nocollapse */
8180
10145
  SocketService.ctorParameters = () => [];
10146
+ if (false) {
10147
+ /**
10148
+ * @type {?}
10149
+ * @private
10150
+ */
10151
+ SocketService.prototype.socket;
10152
+ /** @type {?} */
10153
+ SocketService.prototype.subscription;
10154
+ /** @type {?} */
10155
+ SocketService.prototype.connected$;
10156
+ }
8181
10157
 
8182
10158
  /**
8183
10159
  * @fileoverview added by tsickle
@@ -8207,7 +10183,7 @@ class IcpUpdateService {
8207
10183
  joinSession(username, session) {
8208
10184
  this.session = session;
8209
10185
  this.socket.connect();
8210
- this.socket.join(Object.assign({}, this.session, { username }));
10186
+ this.socket.join(Object.assign(Object.assign({}, this.session), { username }));
8211
10187
  return this.socket.listen(this.SESSION_JOINED);
8212
10188
  }
8213
10189
  /**
@@ -8248,7 +10224,7 @@ class IcpUpdateService {
8248
10224
  * @return {?}
8249
10225
  */
8250
10226
  updatePresenter(presenter) {
8251
- this.socket.emit(this.UPDATE_PRESENTER, Object.assign({}, this.session, { presenterId: presenter.id, presenterName: presenter.username }));
10227
+ this.socket.emit(this.UPDATE_PRESENTER, Object.assign(Object.assign({}, this.session), { presenterId: presenter.id, presenterName: presenter.username }));
8252
10228
  }
8253
10229
  /**
8254
10230
  * @return {?}
@@ -8266,19 +10242,46 @@ class IcpUpdateService {
8266
10242
  this.socket.emit(this.UPDATE_SCREEN, update);
8267
10243
  }
8268
10244
  /**
8269
- * @return {?}
10245
+ * @return {?}
10246
+ */
10247
+ screenUpdated() {
10248
+ return this.socket.listen(this.SCREEN_UPDATED);
10249
+ }
10250
+ }
10251
+ IcpUpdateService.decorators = [
10252
+ { type: Injectable }
10253
+ ];
10254
+ /** @nocollapse */
10255
+ IcpUpdateService.ctorParameters = () => [
10256
+ { type: SocketService }
10257
+ ];
10258
+ if (false) {
10259
+ /** @type {?} */
10260
+ IcpUpdateService.prototype.SESSION_JOINED;
10261
+ /** @type {?} */
10262
+ IcpUpdateService.prototype.CLIENT_DISCONNECTED;
10263
+ /** @type {?} */
10264
+ IcpUpdateService.prototype.NEW_PARTICIPANT_JOINED;
10265
+ /** @type {?} */
10266
+ IcpUpdateService.prototype.REMOVE_PARTICIPANT;
10267
+ /** @type {?} */
10268
+ IcpUpdateService.prototype.PARTICIPANTS_UPDATED;
10269
+ /** @type {?} */
10270
+ IcpUpdateService.prototype.UPDATE_PRESENTER;
10271
+ /** @type {?} */
10272
+ IcpUpdateService.prototype.PRESENTER_UPDATED;
10273
+ /** @type {?} */
10274
+ IcpUpdateService.prototype.UPDATE_SCREEN;
10275
+ /** @type {?} */
10276
+ IcpUpdateService.prototype.SCREEN_UPDATED;
10277
+ /** @type {?} */
10278
+ IcpUpdateService.prototype.session;
10279
+ /**
10280
+ * @type {?}
10281
+ * @private
8270
10282
  */
8271
- screenUpdated() {
8272
- return this.socket.listen(this.SCREEN_UPDATED);
8273
- }
10283
+ IcpUpdateService.prototype.socket;
8274
10284
  }
8275
- IcpUpdateService.decorators = [
8276
- { type: Injectable }
8277
- ];
8278
- /** @nocollapse */
8279
- IcpUpdateService.ctorParameters = () => [
8280
- { type: SocketService }
8281
- ];
8282
10285
 
8283
10286
  /**
8284
10287
  * @fileoverview added by tsickle
@@ -8299,8 +10302,8 @@ class IcpPresenterService {
8299
10302
  * @param {?} isPresenter
8300
10303
  * @return {?}
8301
10304
  */
8302
- update(isPresenter$$1) {
8303
- if (isPresenter$$1) {
10305
+ update(isPresenter) {
10306
+ if (isPresenter) {
8304
10307
  this.subscribe();
8305
10308
  }
8306
10309
  else {
@@ -8368,6 +10371,31 @@ IcpPresenterService.ctorParameters = () => [
8368
10371
  { type: IcpUpdateService },
8369
10372
  { type: Store }
8370
10373
  ];
10374
+ if (false) {
10375
+ /** @type {?} */
10376
+ IcpPresenterService.prototype.session;
10377
+ /** @type {?} */
10378
+ IcpPresenterService.prototype.presenter;
10379
+ /** @type {?} */
10380
+ IcpPresenterService.prototype.pdfPosition;
10381
+ /** @type {?} */
10382
+ IcpPresenterService.prototype.$subscription;
10383
+ /**
10384
+ * @type {?}
10385
+ * @private
10386
+ */
10387
+ IcpPresenterService.prototype.toolbarEvents;
10388
+ /**
10389
+ * @type {?}
10390
+ * @private
10391
+ */
10392
+ IcpPresenterService.prototype.socketService;
10393
+ /**
10394
+ * @type {?}
10395
+ * @private
10396
+ */
10397
+ IcpPresenterService.prototype.store;
10398
+ }
8371
10399
 
8372
10400
  /**
8373
10401
  * @fileoverview added by tsickle
@@ -8457,6 +10485,32 @@ IcpFollowerService.ctorParameters = () => [
8457
10485
  { type: IcpUpdateService },
8458
10486
  { type: Store }
8459
10487
  ];
10488
+ if (false) {
10489
+ /** @type {?} */
10490
+ IcpFollowerService.prototype.session;
10491
+ /** @type {?} */
10492
+ IcpFollowerService.prototype.$subscription;
10493
+ /**
10494
+ * @type {?}
10495
+ * @private
10496
+ */
10497
+ IcpFollowerService.prototype.toolbarEvents;
10498
+ /**
10499
+ * @type {?}
10500
+ * @private
10501
+ */
10502
+ IcpFollowerService.prototype.viewerEvents;
10503
+ /**
10504
+ * @type {?}
10505
+ * @private
10506
+ */
10507
+ IcpFollowerService.prototype.socketService;
10508
+ /**
10509
+ * @type {?}
10510
+ * @private
10511
+ */
10512
+ IcpFollowerService.prototype.store;
10513
+ }
8460
10514
 
8461
10515
  /**
8462
10516
  * @fileoverview added by tsickle
@@ -8549,10 +10603,10 @@ class IcpService {
8549
10603
  * @param {?} isPresenter
8550
10604
  * @return {?}
8551
10605
  */
8552
- isPresenter$$1 => {
8553
- this.isPresenter = isPresenter$$1;
8554
- this.presenterSubscriptions.update(isPresenter$$1);
8555
- this.followerSubscriptions.update(!isPresenter$$1);
10606
+ isPresenter => {
10607
+ this.isPresenter = isPresenter;
10608
+ this.presenterSubscriptions.update(isPresenter);
10609
+ this.followerSubscriptions.update(!isPresenter);
8556
10610
  })));
8557
10611
  this.sessionSubscription.add(this.socketService.clientDisconnected().subscribe((/**
8558
10612
  * @param {?} cli
@@ -8638,6 +10692,50 @@ IcpService.ctorParameters = () => [
8638
10692
  { type: IcpFollowerService },
8639
10693
  { type: Store }
8640
10694
  ];
10695
+ if (false) {
10696
+ /** @type {?} */
10697
+ IcpService.prototype.caseId;
10698
+ /** @type {?} */
10699
+ IcpService.prototype.client;
10700
+ /** @type {?} */
10701
+ IcpService.prototype.presenter;
10702
+ /** @type {?} */
10703
+ IcpService.prototype.isPresenter;
10704
+ /** @type {?} */
10705
+ IcpService.prototype.subscription;
10706
+ /** @type {?} */
10707
+ IcpService.prototype.sessionSubscription;
10708
+ /**
10709
+ * @type {?}
10710
+ * @private
10711
+ */
10712
+ IcpService.prototype.toolbarEvents;
10713
+ /**
10714
+ * @type {?}
10715
+ * @private
10716
+ */
10717
+ IcpService.prototype.viewerEvents;
10718
+ /**
10719
+ * @type {?}
10720
+ * @private
10721
+ */
10722
+ IcpService.prototype.socketService;
10723
+ /**
10724
+ * @type {?}
10725
+ * @private
10726
+ */
10727
+ IcpService.prototype.presenterSubscriptions;
10728
+ /**
10729
+ * @type {?}
10730
+ * @private
10731
+ */
10732
+ IcpService.prototype.followerSubscriptions;
10733
+ /**
10734
+ * @type {?}
10735
+ * @private
10736
+ */
10737
+ IcpService.prototype.store;
10738
+ }
8641
10739
 
8642
10740
  /**
8643
10741
  * @fileoverview added by tsickle
@@ -8742,6 +10840,24 @@ __decorate([
8742
10840
  Effect(),
8743
10841
  __metadata("design:type", Object)
8744
10842
  ], AnnotationEffects.prototype, "deleteAnnotation$", void 0);
10843
+ if (false) {
10844
+ /** @type {?} */
10845
+ AnnotationEffects.prototype.loadAnnotation$;
10846
+ /** @type {?} */
10847
+ AnnotationEffects.prototype.postAnnotation$;
10848
+ /** @type {?} */
10849
+ AnnotationEffects.prototype.deleteAnnotation$;
10850
+ /**
10851
+ * @type {?}
10852
+ * @private
10853
+ */
10854
+ AnnotationEffects.prototype.actions$;
10855
+ /**
10856
+ * @type {?}
10857
+ * @private
10858
+ */
10859
+ AnnotationEffects.prototype.annotationApiService;
10860
+ }
8745
10861
 
8746
10862
  /**
8747
10863
  * @fileoverview added by tsickle
@@ -8887,6 +11003,33 @@ __decorate([
8887
11003
  Effect(),
8888
11004
  __metadata("design:type", Object)
8889
11005
  ], BookmarksEffects.prototype, "updateBookmark$", void 0);
11006
+ if (false) {
11007
+ /** @type {?} */
11008
+ BookmarksEffects.prototype.loadBookmarks$;
11009
+ /** @type {?} */
11010
+ BookmarksEffects.prototype.createBookmark$;
11011
+ /** @type {?} */
11012
+ BookmarksEffects.prototype.moveBookmark$;
11013
+ /** @type {?} */
11014
+ BookmarksEffects.prototype.deleteBookmark$;
11015
+ /** @type {?} */
11016
+ BookmarksEffects.prototype.updateBookmark$;
11017
+ /**
11018
+ * @type {?}
11019
+ * @private
11020
+ */
11021
+ BookmarksEffects.prototype.actions$;
11022
+ /**
11023
+ * @type {?}
11024
+ * @private
11025
+ */
11026
+ BookmarksEffects.prototype.store;
11027
+ /**
11028
+ * @type {?}
11029
+ * @private
11030
+ */
11031
+ BookmarksEffects.prototype.bookmarksApiService;
11032
+ }
8890
11033
 
8891
11034
  /**
8892
11035
  * @fileoverview added by tsickle
@@ -8981,6 +11124,23 @@ RedactionApiService.decorators = [
8981
11124
  RedactionApiService.ctorParameters = () => [
8982
11125
  { type: HttpClient }
8983
11126
  ];
11127
+ if (false) {
11128
+ /**
11129
+ * @type {?}
11130
+ * @private
11131
+ */
11132
+ RedactionApiService.prototype.markupsApiUrl;
11133
+ /**
11134
+ * @type {?}
11135
+ * @private
11136
+ */
11137
+ RedactionApiService.prototype.redactApiUrl;
11138
+ /**
11139
+ * @type {?}
11140
+ * @private
11141
+ */
11142
+ RedactionApiService.prototype.httpClient;
11143
+ }
8984
11144
 
8985
11145
  /**
8986
11146
  * @fileoverview added by tsickle
@@ -9143,6 +11303,28 @@ __decorate([
9143
11303
  Effect(),
9144
11304
  __metadata("design:type", Object)
9145
11305
  ], RedactionEffects.prototype, "unmarkAll$", void 0);
11306
+ if (false) {
11307
+ /** @type {?} */
11308
+ RedactionEffects.prototype.loadRedactions$;
11309
+ /** @type {?} */
11310
+ RedactionEffects.prototype.saveRedaction$;
11311
+ /** @type {?} */
11312
+ RedactionEffects.prototype.deleteRedaction$;
11313
+ /** @type {?} */
11314
+ RedactionEffects.prototype.redact$;
11315
+ /** @type {?} */
11316
+ RedactionEffects.prototype.unmarkAll$;
11317
+ /**
11318
+ * @type {?}
11319
+ * @private
11320
+ */
11321
+ RedactionEffects.prototype.actions$;
11322
+ /**
11323
+ * @type {?}
11324
+ * @private
11325
+ */
11326
+ RedactionEffects.prototype.redactionApiService;
11327
+ }
9146
11328
 
9147
11329
  /**
9148
11330
  * @fileoverview added by tsickle
@@ -9181,6 +11363,18 @@ DocumentConversionApiService.decorators = [
9181
11363
  DocumentConversionApiService.ctorParameters = () => [
9182
11364
  { type: HttpClient }
9183
11365
  ];
11366
+ if (false) {
11367
+ /**
11368
+ * @type {?}
11369
+ * @private
11370
+ */
11371
+ DocumentConversionApiService.prototype.documentConversionUrl;
11372
+ /**
11373
+ * @type {?}
11374
+ * @private
11375
+ */
11376
+ DocumentConversionApiService.prototype.httpClient;
11377
+ }
9184
11378
 
9185
11379
  /**
9186
11380
  * @fileoverview added by tsickle
@@ -9230,6 +11424,15 @@ RotationApiService.decorators = [
9230
11424
  RotationApiService.ctorParameters = () => [
9231
11425
  { type: HttpClient }
9232
11426
  ];
11427
+ if (false) {
11428
+ /** @type {?} */
11429
+ RotationApiService.prototype.rotationApiUrl;
11430
+ /**
11431
+ * @type {?}
11432
+ * @private
11433
+ */
11434
+ RotationApiService.prototype.httpClient;
11435
+ }
9233
11436
 
9234
11437
  /**
9235
11438
  * @fileoverview added by tsickle
@@ -9339,6 +11542,29 @@ __decorate([
9339
11542
  Effect(),
9340
11543
  __metadata("design:type", Object)
9341
11544
  ], DocumentEffects.prototype, "saveRotation$", void 0);
11545
+ if (false) {
11546
+ /** @type {?} */
11547
+ DocumentEffects.prototype.convert$;
11548
+ /** @type {?} */
11549
+ DocumentEffects.prototype.loadRotation$;
11550
+ /** @type {?} */
11551
+ DocumentEffects.prototype.saveRotation$;
11552
+ /**
11553
+ * @type {?}
11554
+ * @private
11555
+ */
11556
+ DocumentEffects.prototype.actions$;
11557
+ /**
11558
+ * @type {?}
11559
+ * @private
11560
+ */
11561
+ DocumentEffects.prototype.documentConversionService;
11562
+ /**
11563
+ * @type {?}
11564
+ * @private
11565
+ */
11566
+ DocumentEffects.prototype.rotationApiService;
11567
+ }
9342
11568
 
9343
11569
  /**
9344
11570
  * @fileoverview added by tsickle
@@ -9405,6 +11631,27 @@ __decorate([
9405
11631
  Effect(),
9406
11632
  __metadata("design:type", Object)
9407
11633
  ], IcpEffects.prototype, "joinIcpSocketSession$", void 0);
11634
+ if (false) {
11635
+ /** @type {?} */
11636
+ IcpEffects.prototype.loadIcpSession$;
11637
+ /** @type {?} */
11638
+ IcpEffects.prototype.joinIcpSocketSession$;
11639
+ /**
11640
+ * @type {?}
11641
+ * @private
11642
+ */
11643
+ IcpEffects.prototype.actions$;
11644
+ /**
11645
+ * @type {?}
11646
+ * @private
11647
+ */
11648
+ IcpEffects.prototype.icpApiService;
11649
+ /**
11650
+ * @type {?}
11651
+ * @private
11652
+ */
11653
+ IcpEffects.prototype.icpUpdateService;
11654
+ }
9408
11655
 
9409
11656
  /**
9410
11657
  * @fileoverview added by tsickle
@@ -9475,17 +11722,17 @@ class BookmarksComponent {
9475
11722
  */
9476
11723
  onBookmarkMove({ node, from, to }) {
9477
11724
  /** @type {?} */
9478
- let movedBookmarks = [Object.assign({}, node, { previous: to.index > 0 ? to.parent.children[to.index - 1].id : undefined, parent: to.parent.documentId ? to.parent.id : undefined })];
11725
+ let movedBookmarks = [Object.assign(Object.assign({}, node), { previous: to.index > 0 ? to.parent.children[to.index - 1].id : undefined, parent: to.parent.documentId ? to.parent.id : undefined })];
9479
11726
  /** @type {?} */
9480
11727
  let fromNext = this.getSibling(from, from.index);
9481
11728
  fromNext = fromNext && fromNext.id === node.previous ? this.getSibling(from, from.index + 1) : fromNext;
9482
11729
  if (fromNext) {
9483
- movedBookmarks = [...movedBookmarks, Object.assign({}, fromNext, { previous: node.previous })];
11730
+ movedBookmarks = [...movedBookmarks, Object.assign(Object.assign({}, fromNext), { previous: node.previous })];
9484
11731
  }
9485
11732
  /** @type {?} */
9486
11733
  const toNext = this.getSibling(to, to.index + 1);
9487
11734
  if (toNext) {
9488
- movedBookmarks = [...movedBookmarks, Object.assign({}, toNext, { previous: node.id })];
11735
+ movedBookmarks = [...movedBookmarks, Object.assign(Object.assign({}, toNext), { previous: node.id })];
9489
11736
  }
9490
11737
  this.store.dispatch(new MoveBookmark(movedBookmarks));
9491
11738
  }
@@ -9513,7 +11760,7 @@ class BookmarksComponent {
9513
11760
  */
9514
11761
  updateBookmark(bookmark, name) {
9515
11762
  /** @type {?} */
9516
- const editedBookmark = Object.assign({}, bookmark, { name });
11763
+ const editedBookmark = Object.assign(Object.assign({}, bookmark), { name });
9517
11764
  this.store.dispatch(new UpdateBookmark(editedBookmark));
9518
11765
  this.editableBookmark = undefined;
9519
11766
  }
@@ -9590,6 +11837,31 @@ BookmarksComponent.propDecorators = {
9590
11837
  rotate: [{ type: Input }],
9591
11838
  goToDestination: [{ type: Output }]
9592
11839
  };
11840
+ if (false) {
11841
+ /** @type {?} */
11842
+ BookmarksComponent.prototype.bookmarkNodes;
11843
+ /** @type {?} */
11844
+ BookmarksComponent.prototype.zoom;
11845
+ /** @type {?} */
11846
+ BookmarksComponent.prototype.rotate;
11847
+ /** @type {?} */
11848
+ BookmarksComponent.prototype.goToDestination;
11849
+ /** @type {?} */
11850
+ BookmarksComponent.prototype.pageLookup;
11851
+ /** @type {?} */
11852
+ BookmarksComponent.prototype.editableBookmark;
11853
+ /** @type {?} */
11854
+ BookmarksComponent.prototype.BOOKMARK_CHAR_LIMIT;
11855
+ /** @type {?} */
11856
+ BookmarksComponent.prototype.options;
11857
+ /** @type {?} */
11858
+ BookmarksComponent.prototype.$subscription;
11859
+ /**
11860
+ * @type {?}
11861
+ * @private
11862
+ */
11863
+ BookmarksComponent.prototype.store;
11864
+ }
9593
11865
 
9594
11866
  /**
9595
11867
  * @fileoverview added by tsickle
@@ -9694,6 +11966,38 @@ ConvertibleContentViewerComponent.propDecorators = {
9694
11966
  viewerException: [{ type: Output }],
9695
11967
  documentTitle: [{ type: Output }]
9696
11968
  };
11969
+ if (false) {
11970
+ /** @type {?} */
11971
+ ConvertibleContentViewerComponent.prototype.originalUrl;
11972
+ /** @type {?} */
11973
+ ConvertibleContentViewerComponent.prototype.downloadFileName;
11974
+ /** @type {?} */
11975
+ ConvertibleContentViewerComponent.prototype.height;
11976
+ /** @type {?} */
11977
+ ConvertibleContentViewerComponent.prototype.enableAnnotations;
11978
+ /** @type {?} */
11979
+ ConvertibleContentViewerComponent.prototype.enableRedactions;
11980
+ /** @type {?} */
11981
+ ConvertibleContentViewerComponent.prototype.annotationSet;
11982
+ /** @type {?} */
11983
+ ConvertibleContentViewerComponent.prototype.mediaLoadStatus;
11984
+ /** @type {?} */
11985
+ ConvertibleContentViewerComponent.prototype.viewerException;
11986
+ /** @type {?} */
11987
+ ConvertibleContentViewerComponent.prototype.documentTitle;
11988
+ /**
11989
+ * @type {?}
11990
+ * @private
11991
+ */
11992
+ ConvertibleContentViewerComponent.prototype.$subscription;
11993
+ /** @type {?} */
11994
+ ConvertibleContentViewerComponent.prototype.convertedUrl;
11995
+ /**
11996
+ * @type {?}
11997
+ * @private
11998
+ */
11999
+ ConvertibleContentViewerComponent.prototype.store;
12000
+ }
9697
12001
 
9698
12002
  /**
9699
12003
  * @fileoverview added by tsickle
@@ -9730,6 +12034,13 @@ ConfirmActionDialogComponent.decorators = [
9730
12034
  ConfirmActionDialogComponent.ctorParameters = () => [
9731
12035
  { type: ToolbarEventService }
9732
12036
  ];
12037
+ if (false) {
12038
+ /**
12039
+ * @type {?}
12040
+ * @private
12041
+ */
12042
+ ConfirmActionDialogComponent.prototype.toolbarEvents;
12043
+ }
9733
12044
 
9734
12045
  /**
9735
12046
  * @fileoverview added by tsickle
@@ -9763,6 +12074,23 @@ BookmarkIconsComponent.propDecorators = {
9763
12074
  zoom: [{ type: Input }],
9764
12075
  rotate: [{ type: Input }]
9765
12076
  };
12077
+ if (false) {
12078
+ /** @type {?} */
12079
+ BookmarkIconsComponent.prototype.zoom;
12080
+ /** @type {?} */
12081
+ BookmarkIconsComponent.prototype.rotate;
12082
+ /** @type {?} */
12083
+ BookmarkIconsComponent.prototype.bookmarksPerPage$;
12084
+ /** @type {?} */
12085
+ BookmarkIconsComponent.prototype.bookmarks;
12086
+ /** @type {?} */
12087
+ BookmarkIconsComponent.prototype.documentId;
12088
+ /**
12089
+ * @type {?}
12090
+ * @private
12091
+ */
12092
+ BookmarkIconsComponent.prototype.store;
12093
+ }
9766
12094
 
9767
12095
  /**
9768
12096
  * @fileoverview added by tsickle
@@ -9874,6 +12202,33 @@ RotationPersistDirective.ctorParameters = () => [
9874
12202
  RotationPersistDirective.propDecorators = {
9875
12203
  onMediaLoad: [{ type: HostListener, args: ['mediaLoadStatus', ['$event'],] }]
9876
12204
  };
12205
+ if (false) {
12206
+ /** @type {?} */
12207
+ RotationPersistDirective.prototype.documentId;
12208
+ /** @type {?} */
12209
+ RotationPersistDirective.prototype.rotation;
12210
+ /** @type {?} */
12211
+ RotationPersistDirective.prototype.savedRotation;
12212
+ /** @type {?} */
12213
+ RotationPersistDirective.prototype.$subscriptions;
12214
+ /**
12215
+ * @type {?}
12216
+ * @private
12217
+ */
12218
+ RotationPersistDirective.prototype.el;
12219
+ /**
12220
+ * @type {?}
12221
+ * @private
12222
+ */
12223
+ RotationPersistDirective.prototype.store;
12224
+ /** @type {?} */
12225
+ RotationPersistDirective.prototype.toolbarButtons;
12226
+ /**
12227
+ * @type {?}
12228
+ * @private
12229
+ */
12230
+ RotationPersistDirective.prototype.toolbarEvents;
12231
+ }
9877
12232
 
9878
12233
  /**
9879
12234
  * @fileoverview added by tsickle
@@ -9920,6 +12275,28 @@ ParticipantsListComponent.ctorParameters = () => [
9920
12275
  { type: ToolbarEventService },
9921
12276
  { type: Store }
9922
12277
  ];
12278
+ if (false) {
12279
+ /** @type {?} */
12280
+ ParticipantsListComponent.prototype.subscription;
12281
+ /** @type {?} */
12282
+ ParticipantsListComponent.prototype.participants$;
12283
+ /** @type {?} */
12284
+ ParticipantsListComponent.prototype.presenter$;
12285
+ /** @type {?} */
12286
+ ParticipantsListComponent.prototype.isPresenter$;
12287
+ /** @type {?} */
12288
+ ParticipantsListComponent.prototype.showParticipantsList;
12289
+ /**
12290
+ * @type {?}
12291
+ * @private
12292
+ */
12293
+ ParticipantsListComponent.prototype.toolbarEvents;
12294
+ /**
12295
+ * @type {?}
12296
+ * @private
12297
+ */
12298
+ ParticipantsListComponent.prototype.store;
12299
+ }
9923
12300
 
9924
12301
  /**
9925
12302
  * @fileoverview added by tsickle
@@ -10081,6 +12458,45 @@ HighlightCreateDirective.propDecorators = {
10081
12458
  onMouseUp: [{ type: HostListener, args: ['mouseup', ['$event'],] }],
10082
12459
  onPdfViewerClick: [{ type: HostListener, args: ['mousedown', ['$event'],] }]
10083
12460
  };
12461
+ if (false) {
12462
+ /** @type {?} */
12463
+ HighlightCreateDirective.prototype.pageHeight;
12464
+ /** @type {?} */
12465
+ HighlightCreateDirective.prototype.pageWidth;
12466
+ /** @type {?} */
12467
+ HighlightCreateDirective.prototype.zoom;
12468
+ /** @type {?} */
12469
+ HighlightCreateDirective.prototype.rotate;
12470
+ /** @type {?} */
12471
+ HighlightCreateDirective.prototype.allPages;
12472
+ /** @type {?} */
12473
+ HighlightCreateDirective.prototype.$subscription;
12474
+ /**
12475
+ * @type {?}
12476
+ * @private
12477
+ */
12478
+ HighlightCreateDirective.prototype.element;
12479
+ /**
12480
+ * @type {?}
12481
+ * @private
12482
+ */
12483
+ HighlightCreateDirective.prototype.toolbarEvents;
12484
+ /**
12485
+ * @type {?}
12486
+ * @private
12487
+ */
12488
+ HighlightCreateDirective.prototype.viewerEvents;
12489
+ /**
12490
+ * @type {?}
12491
+ * @private
12492
+ */
12493
+ HighlightCreateDirective.prototype.highlightService;
12494
+ /**
12495
+ * @type {?}
12496
+ * @private
12497
+ */
12498
+ HighlightCreateDirective.prototype.store;
12499
+ }
10084
12500
 
10085
12501
  /**
10086
12502
  * @fileoverview added by tsickle
@@ -10161,6 +12577,29 @@ MultimediaPlayerComponent.propDecorators = {
10161
12577
  downloadLink: [{ type: ViewChild, args: ['downloadLink', { static: false },] }],
10162
12578
  videoPlayer: [{ type: ViewChild, args: ['videoPlayer', { static: false },] }]
10163
12579
  };
12580
+ if (false) {
12581
+ /** @type {?} */
12582
+ MultimediaPlayerComponent.prototype.url;
12583
+ /** @type {?} */
12584
+ MultimediaPlayerComponent.prototype.downloadFileName;
12585
+ /** @type {?} */
12586
+ MultimediaPlayerComponent.prototype.multimediaOn;
12587
+ /** @type {?} */
12588
+ MultimediaPlayerComponent.prototype.loadStatus;
12589
+ /** @type {?} */
12590
+ MultimediaPlayerComponent.prototype.downloadLink;
12591
+ /** @type {?} */
12592
+ MultimediaPlayerComponent.prototype.videoPlayer;
12593
+ /** @type {?} */
12594
+ MultimediaPlayerComponent.prototype.playbackMsg;
12595
+ /**
12596
+ * @type {?}
12597
+ * @private
12598
+ */
12599
+ MultimediaPlayerComponent.prototype.subscription;
12600
+ /** @type {?} */
12601
+ MultimediaPlayerComponent.prototype.toolbarEvents;
12602
+ }
10164
12603
 
10165
12604
  /**
10166
12605
  * @fileoverview added by tsickle
@@ -10237,6 +12676,5 @@ MediaViewerModule.decorators = [
10237
12676
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10238
12677
  */
10239
12678
 
10240
- export { MediaViewerModule, ToolbarButtonVisibilityService, ToolbarEventService, ToolbarModule, AnnotationApiService, AnnotationsModule, ResponseType, ViewerException, reducer, initialState, getAnnoSet, getCommentEnts, getAnnoPageEnt, getAnnoEnt, getSelectedAnno, commentSearchQ, getSummaryFilters, getAnnotationsSetState, getAnnotationEntities, getSet, getDocumentIdSetId, getAnnotationSet, getSelectedAnnotation, getCommentEntities, getPageEntities, getComponentSearchQueries, getComponentSearchText, getCommentSummaryFilters, getAnnoPerPage, getCommentsArray, getCommentSummary, getFilteredAnnotations, LOAD_ANNOTATION_SET, LOAD_ANNOTATION_SET_SUCCESS, LOAD_ANNOTATION_SET_FAIL, SAVE_ANNOTATION, SAVE_ANNOTATION_SUCCESS, SAVE_ANNOTATION_FAIL, ADD_OR_EDIT_COMMENT, DELETE_ANNOTATION, DELETE_ANNOTATION_SUCCESS, DELETE_ANNOTATION_FAIL, SELECT_ANNOTATION, SEARCH_COMMENT, APPLY_COMMENT_SUMMARY_FILTER, CLEAR_COMMENT_SUMMARY_FILTER, LoadAnnotationSet, LoadAnnotationSetSucess, LoadAnnotationSetFail, SaveAnnotation, SaveAnnotationSuccess, SaveAnnotationFail, AddOrEditComment, DeleteAnnotation, DeleteAnnotationSuccess, DeleteAnnotationFail, SelectedAnnotation, SearchComment, ApplyCommentSymmaryFilter, ClearCommentSummaryFilters, AnnotationEffects, BoxHighlightCreateComponent as ɵbc, HighlightCreateDirective as ɵcw, HighlightCreateService as ɵz, AnnotationSetComponent as ɵbd, AnnotationViewComponent as ɵbb, RectangleComponent as ɵbf, CtxToolbarComponent as ɵbl, MetadataLayerComponent as ɵy, CommentsNavigateComponent as ɵbo, CommentFilterComponent as ɵbu, CommentSearchComponent as ɵbj, CommentSetHeaderComponent as ɵbi, CommentSetRenderService as ɵbn, CommentSetComponent as ɵbm, CommentComponent as ɵbg, CommentService as ɵbe, TextHighlightDirective as ɵbk, TextareaAutoExpandDirective as ɵbp, CommentsSummaryComponent as ɵbq, MomentDatePipe as ɵbt, FilterPipe as ɵbv, UnsnakePipe as ɵbw, BookmarksApiService as ɵbx, TagsServices as ɵbh, TagsComponent as ɵbs, BookmarkIconsComponent as ɵcz, ConfirmActionDialogComponent as ɵcx, IcpFollowerService as ɵdd, IcpPresenterService as ɵdc, IcpSessionApiService as ɵcg, IcpUpdateService as ɵch, IcpService as ɵdb, ParticipantsListComponent as ɵda, SocketService as ɵci, MediaViewerComponent as ɵcs, PrintService as ɵbr, RedactionComponent as ɵcy, RedactionApiService as ɵcb, GovUkDateComponent as ɵu, GovUkErrorMessageComponent as ɵv, GovUkFieldsetComponent as ɵw, GovUkLabelComponent as ɵx, SharedModule as ɵt, NumberHelperService as ɵc, BookmarksEffects as ɵbz, DocumentEffects as ɵcc, IcpEffects as ɵcf, effects as ɵby, RedactionEffects as ɵca, bookmarksReducer as ɵo, docReducer as ɵi, getDocPages as ɵj, icpReducer as ɵq, redactionReducer as ɵp, getMVState as ɵg, reducers as ɵf, getFilteredComments as ɵl, getFilteredPageEnt as ɵm, tagsReducer as ɵk, getDocumentState as ɵde, getPages as ɵdf, getFilteredPageEntities as ɵdi, getTagFiltered as ɵdh, getTagsRootState as ɵdg, IcpToolbarComponent as ɵr, MainToolbarComponent as ɵb, RedactionToolbarComponent as ɵd, SearchBarComponent as ɵa, ConvertibleContentViewerComponent as ɵct, DocumentConversionApiService as ɵcd, GrabNDragDirective as ɵcu, ImageViewerComponent as ɵco, MultimediaPlayerComponent as ɵcr, PdfJsWrapperFactory as ɵck, PdfViewerComponent as ɵcj, BookmarksComponent as ɵcm, OutlineItemComponent as ɵcn, SideBarComponent as ɵcl, RotationApiService as ɵce, RotationPersistDirective as ɵcv, UnsupportedViewerComponent as ɵcq, ViewerEventService as ɵba, ViewerUtilService as ɵcp };
10241
-
10242
- //# sourceMappingURL=hmcts-media-viewer.js.map
12679
+ export { ADD_OR_EDIT_COMMENT, APPLY_COMMENT_SUMMARY_FILTER, AddOrEditComment, AnnotationApiService, AnnotationEffects, AnnotationSetComponent, AnnotationViewComponent, AnnotationsModule, ApplyCommentSymmaryFilter, BoxHighlightCreateComponent, CLEAR_COMMENT_SUMMARY_FILTER, ClearCommentSummaryFilters, CommentFilterComponent, CommentSearchComponent, CommentSetComponent, CommentSetHeaderComponent, CommentsSummaryComponent, DELETE_ANNOTATION, DELETE_ANNOTATION_FAIL, DELETE_ANNOTATION_SUCCESS, DeleteAnnotation, DeleteAnnotationFail, DeleteAnnotationSuccess, FilterPipe, IcpToolbarComponent, LOAD_ANNOTATION_SET, LOAD_ANNOTATION_SET_FAIL, LOAD_ANNOTATION_SET_SUCCESS, LoadAnnotationSet, LoadAnnotationSetFail, LoadAnnotationSetSucess, MainToolbarComponent, MediaViewerComponent, MediaViewerModule, MetadataLayerComponent, MomentDatePipe, RedactionToolbarComponent, ResponseType, SAVE_ANNOTATION, SAVE_ANNOTATION_FAIL, SAVE_ANNOTATION_SUCCESS, SEARCH_COMMENT, SELECT_ANNOTATION, SaveAnnotation, SaveAnnotationFail, SaveAnnotationSuccess, SearchBarComponent, SearchComment, SelectedAnnotation, TagsComponent, ToolbarButtonVisibilityService, ToolbarEventService, ToolbarModule, UnsnakePipe, ViewerException, commentSearchQ, getAnnoEnt, getAnnoPageEnt, getAnnoPerPage, getAnnoSet, getAnnotationEntities, getAnnotationSet, getAnnotationsSetState, getCommentEntities, getCommentEnts, getCommentSummary, getCommentSummaryFilters, getCommentsArray, getComponentSearchQueries, getComponentSearchText, getDocumentIdSetId, getFilteredAnnotations, getPageEntities, getSelectedAnno, getSelectedAnnotation, getSet, getSummaryFilters, initialState, reducer, NumberHelperService as ɵa, TextHighlightDirective as ɵba, CtxToolbarComponent as ɵbb, CommentSetRenderService as ɵbc, CommentsNavigateComponent as ɵbd, TextareaAutoExpandDirective as ɵbe, PrintService as ɵbf, BookmarksApiService as ɵbg, effects as ɵbh, BookmarksEffects as ɵbi, RedactionEffects as ɵbj, RedactionApiService as ɵbk, DocumentEffects as ɵbl, DocumentConversionApiService as ɵbm, RotationApiService as ɵbn, IcpEffects as ɵbo, IcpSessionApiService as ɵbp, IcpUpdateService as ɵbq, SocketService as ɵbr, PdfViewerComponent as ɵbs, PdfJsWrapperFactory as ɵbt, SideBarComponent as ɵbu, BookmarksComponent as ɵbv, OutlineItemComponent as ɵbw, ImageViewerComponent as ɵbx, ViewerUtilService as ɵby, UnsupportedViewerComponent as ɵbz, reducers as ɵc, MultimediaPlayerComponent as ɵca, ConvertibleContentViewerComponent as ɵcb, GrabNDragDirective as ɵcc, RotationPersistDirective as ɵcd, HighlightCreateDirective as ɵce, ConfirmActionDialogComponent as ɵcf, RedactionComponent as ɵcg, BookmarkIconsComponent as ɵch, ParticipantsListComponent as ɵci, IcpService as ɵcj, IcpPresenterService as ɵck, IcpFollowerService as ɵcl, getDocumentState as ɵcm, getPages as ɵcn, getTagsRootState as ɵco, getTagFiltered as ɵcp, getFilteredPageEntities as ɵcq, getMVState as ɵd, docReducer as ɵf, getDocPages as ɵg, tagsReducer as ɵh, getFilteredComments as ɵi, getFilteredPageEnt as ɵj, bookmarksReducer as ɵl, redactionReducer as ɵm, icpReducer as ɵn, SharedModule as ɵp, GovUkDateComponent as ɵq, GovUkErrorMessageComponent as ɵr, GovUkFieldsetComponent as ɵs, GovUkLabelComponent as ɵt, HighlightCreateService as ɵu, ViewerEventService as ɵv, CommentService as ɵw, RectangleComponent as ɵx, CommentComponent as ɵy, TagsServices as ɵz };
12680
+ //# sourceMappingURL=hmcts-media-viewer.js.map