@progress/kendo-angular-pdfviewer 21.1.1-develop.2 → 21.2.0-develop.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.
@@ -14,7 +14,6 @@ import { Subscription } from 'rxjs';
14
14
  import { ToolbarComponent } from './toolbar/toolbar.component';
15
15
  import { PDFViewerSearchComponent } from './toolbar/search.component';
16
16
  import { LoaderComponent } from './loader/loader.component';
17
- import { NgIf } from '@angular/common';
18
17
  import { LocalizedPDFViewerMessagesDirective } from './localization/localized-messages.directive';
19
18
  import 'pdfjs-dist/build/pdf.worker.min.mjs';
20
19
  import { AnnotationEditorTypes } from './models/annotation-editor.type';
@@ -674,7 +673,7 @@ export class PDFViewerComponent {
674
673
  return observer;
675
674
  };
676
675
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFViewerComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i2.PopupService }], target: i0.ɵɵFactoryTarget.Component });
677
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PDFViewerComponent, isStandalone: true, selector: "kendo-pdfviewer", inputs: { tools: "tools", loaderSettings: "loaderSettings", renderForms: "renderForms", saveFileName: "saveFileName", saveOptions: "saveOptions", url: "url", data: "data", arrayBuffer: "arrayBuffer", typedArray: "typedArray", zoom: "zoom", zoomRate: "zoomRate", minZoom: "minZoom", maxZoom: "maxZoom", loadOnDemand: "loadOnDemand", loadOnDemandPageSize: "loadOnDemandPageSize", removeAnnotationConfirmation: "removeAnnotationConfirmation" }, outputs: { load: "load", error: "error", download: "download", pageChange: "pageChange", zoomLevelChange: "zoomLevelChange" }, host: { properties: { "class.k-pdf-viewer": "this.hostClass", "attr.dir": "this.direction", "attr.display": "this.display" } }, providers: [
676
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: PDFViewerComponent, isStandalone: true, selector: "kendo-pdfviewer", inputs: { tools: "tools", loaderSettings: "loaderSettings", renderForms: "renderForms", saveFileName: "saveFileName", saveOptions: "saveOptions", url: "url", data: "data", arrayBuffer: "arrayBuffer", typedArray: "typedArray", zoom: "zoom", zoomRate: "zoomRate", minZoom: "minZoom", maxZoom: "maxZoom", loadOnDemand: "loadOnDemand", loadOnDemandPageSize: "loadOnDemandPageSize", removeAnnotationConfirmation: "removeAnnotationConfirmation" }, outputs: { load: "load", error: "error", download: "download", pageChange: "pageChange", zoomLevelChange: "zoomLevelChange" }, host: { properties: { "class.k-pdf-viewer": "this.hostClass", "attr.dir": "this.direction", "attr.display": "this.display" } }, providers: [
678
677
  LocalizationService,
679
678
  {
680
679
  provide: L10N_PREFIX,
@@ -682,151 +681,153 @@ export class PDFViewerComponent {
682
681
  }
683
682
  ], viewQueries: [{ propertyName: "pagesContainer", first: true, predicate: ["pagesContainer"], descendants: true }, { propertyName: "pagesContainerViewContainerRef", first: true, predicate: ["pagesContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dialogContainerViewContainerRef", first: true, predicate: ["dialogContainer"], descendants: true, read: ViewContainerRef }], exportAs: ["kendo-pdfviewer"], usesOnChanges: true, ngImport: i0, template: `
684
683
  <ng-container kendoPDFViewerLocalizedMessages
685
- i18n-pagerFirstPage="kendo.pdfviewer.pagerFirstPage|The label for the first page button in the Pager"
686
- pagerFirstPage="Go to the first page"
687
-
688
- i18n-pagerPreviousPage="kendo.pdfviewer.pagerPreviousPage|The label for the previous page button in the Pager"
689
- pagerPreviousPage="Go to the previous page"
690
-
691
- i18n-pagerNextPage="kendo.pdfviewer.pagerNextPage|The label for the next page button in the Pager"
692
- pagerNextPage="Go to the next page"
693
-
694
- i18n-pagerLastPage="kendo.pdfviewer.pagerLastPage|The label for the last page button in the Pager"
695
- pagerLastPage="Go to the last page"
696
-
697
- i18n-pagerPage="kendo.pdfviewer.pagerPage|The text before the current page number in the Pager"
698
- pagerPage="Page"
699
-
700
- i18n-pagerOf="kendo.pdfviewer.pagerOf|The text before the total pages number in the Pager"
701
- pagerOf="of"
702
-
703
- i18n-pagerInputTitle="kendo.pdfviewer.pagerInputTitle|The label of the pager input element"
704
- pagerInputTitle="Page Number"
705
-
706
- i18n-pagerInputLabel="kendo.pdfviewer.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number."
707
- pagerInputLabel="Type a page number"
708
-
709
- i18n-zoomInTitle="kendo.pdfviewer.zoomInTitle|The ZoomIn tool title and label."
710
- zoomInTitle="Zoom in"
711
-
712
- i18n-zoomOutTitle="kendo.pdfviewer.zoomOutTitle|The ZoomOut tool title and label."
713
- zoomOutTitle="Zoom out"
714
-
715
- i18n-selectionTitle="kendo.pdfviewer.selectionTitle|The Selection tool title and label."
716
- selectionTitle="Enable selection"
717
-
718
- i18n-panningTitle="kendo.pdfviewer.panningTitle|The Panning tool title and label."
719
- panningTitle="Enable panning"
720
-
721
- i18n-searchTitle="kendo.pdfviewer.searchTitle|The Search tool title and label."
722
- searchTitle="Search"
723
-
724
- i18n-openTitle="kendo.pdfviewer.openTitle|The Open tool title and label."
725
- openTitle="Open"
726
-
727
- i18n-downloadTitle="kendo.pdfviewer.downloadTitle|The Download tool title and label."
728
- downloadTitle="Download"
729
-
730
- i18n-printTitle="kendo.pdfviewer.printTitle|The Print tool title and label."
731
- printTitle="Print"
732
-
733
- i18n-fitToPage="kendo.pdfviewer.fitToPage|The text for the zoom level chooser Fit to page option."
734
- fitToPage="Fit to page"
735
-
736
- i18n-fitToWidth="kendo.pdfviewer.fitToWidth|The text for the zoom level chooser Fit to width option."
737
- fitToWidth="Fit to width"
738
-
739
- i18n-searchInputPlaceholder="kendo.pdfviewer.searchInputPlaceholder|The text for the search input placeholder."
740
- searchInputPlaceholder="Search"
741
-
742
- i18n-searchMatchesOf="kendo.pdfviewer.searchMatchesOf|The text before the total number of matches in the Search tool."
743
- searchMatchesOf="of"
744
-
745
- i18n-searchPreviousMatchTitle="kendo.pdfviewer.searchPreviousMatchTitle|The title of the Search tool previous match button."
746
- searchPreviousMatchTitle="Previous match"
747
-
748
- i18n-searchNextMatchTitle="kendo.pdfviewer.searchNextMatchTitle|The title of the Search tool next match button."
749
- searchNextMatchTitle="Next match"
750
-
751
- i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
752
- searchCloseTitle="Close"
753
-
754
- i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
755
- searchMatchCaseTitle="Match case"
756
-
757
- i18n-zoomInputPlaceholder="kendo.pdfviewer.zoomInputPlaceholder|The text for the zoom tool input placeholder."
758
- zoomInputPlaceholder="Choose zoom level"
759
-
760
- i18n-annotationsTitle="kendo.pdfviewer.annotationsTitle|The Annotations tool title and label."
761
- annotationsTitle="Annotations"
762
-
763
- i18n-annotationEditorTitle="kendo.pdfviewer.annotationEditorTitle|The annotation editor tool title and label."
764
- annotationEditorTitle="Annotation editor"
765
-
766
- i18n-deleteAnnotationTitle="kendo.pdfviewer.deleteAnnotationTitle|The delete annotation tool title and label."
767
- deleteAnnotationTitle="Delete annotation"
768
-
769
- i18n-highlightAnnotationTitle="kendo.pdfviewer.highlightAnnotationTitle|The highlight annotation tool title and label."
770
- highlightAnnotationTitle="Highlight"
771
-
772
- i18n-freeTextAnnotationTitle="kendo.pdfviewer.freeTextAnnotationTitle|The free text annotation tool title and label."
773
- freeTextAnnotationTitle="Free text"
774
-
775
- i18n-closeAnnotationsToolbarTitle="kendo.pdfviewer.closeAnnotationsToolbarTitle|The close annotations toolbar tool title and label."
776
- closeAnnotationsToolbarTitle="Close"
777
-
778
- i18n-deleteAnnotationConfirmationDialogTitle="kendo.pdfviewer.deleteAnnotationConfirmationDialogTitle|The delete annotation confirmation dialog title."
779
- deleteAnnotationConfirmationDialogTitle="Delete annotation"
780
-
781
- i18n-deleteAnnotationConfirmationDialogContent="kendo.pdfviewer.deleteAnnotationConfirmationDialogContent|The delete annotation confirmation dialog content."
782
- deleteAnnotationConfirmationDialogContent="Are you sure you want to delete this annotation?"
783
-
784
- i18n-deleteAnnotationConfirmationDialogConfirmText="kendo.pdfviewer.deleteAnnotationConfirmationDialogConfirmText|The delete annotation confirmation dialog confirm button text."
785
- deleteAnnotationConfirmationDialogConfirmText="Delete"
786
-
787
- i18n-deleteAnnotationConfirmationDialogRejectText="kendo.pdfviewer.deleteAnnotationConfirmationDialogRejectText|The delete annotation confirmation dialog reject button text."
788
- deleteAnnotationConfirmationDialogRejectText="Cancel"
789
-
790
- i18n-annotationEditorFontSizeTitle="kendo.pdfviewer.annotationEditorFontSizeTitle|The annotation editor font size section title."
791
- annotationEditorFontSizeTitle="Font size"
792
-
793
- i18n-annotationEditorColorTitle="kendo.pdfviewer.annotationEditorColorTitle|The annotation editor color section title."
794
- annotationEditorColorTitle="Color">
684
+ i18n-pagerFirstPage="kendo.pdfviewer.pagerFirstPage|The label for the first page button in the Pager"
685
+ pagerFirstPage="Go to the first page"
686
+
687
+ i18n-pagerPreviousPage="kendo.pdfviewer.pagerPreviousPage|The label for the previous page button in the Pager"
688
+ pagerPreviousPage="Go to the previous page"
689
+
690
+ i18n-pagerNextPage="kendo.pdfviewer.pagerNextPage|The label for the next page button in the Pager"
691
+ pagerNextPage="Go to the next page"
692
+
693
+ i18n-pagerLastPage="kendo.pdfviewer.pagerLastPage|The label for the last page button in the Pager"
694
+ pagerLastPage="Go to the last page"
695
+
696
+ i18n-pagerPage="kendo.pdfviewer.pagerPage|The text before the current page number in the Pager"
697
+ pagerPage="Page"
698
+
699
+ i18n-pagerOf="kendo.pdfviewer.pagerOf|The text before the total pages number in the Pager"
700
+ pagerOf="of"
701
+
702
+ i18n-pagerInputTitle="kendo.pdfviewer.pagerInputTitle|The label of the pager input element"
703
+ pagerInputTitle="Page Number"
704
+
705
+ i18n-pagerInputLabel="kendo.pdfviewer.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number."
706
+ pagerInputLabel="Type a page number"
707
+
708
+ i18n-zoomInTitle="kendo.pdfviewer.zoomInTitle|The ZoomIn tool title and label."
709
+ zoomInTitle="Zoom in"
710
+
711
+ i18n-zoomOutTitle="kendo.pdfviewer.zoomOutTitle|The ZoomOut tool title and label."
712
+ zoomOutTitle="Zoom out"
713
+
714
+ i18n-selectionTitle="kendo.pdfviewer.selectionTitle|The Selection tool title and label."
715
+ selectionTitle="Enable selection"
716
+
717
+ i18n-panningTitle="kendo.pdfviewer.panningTitle|The Panning tool title and label."
718
+ panningTitle="Enable panning"
719
+
720
+ i18n-searchTitle="kendo.pdfviewer.searchTitle|The Search tool title and label."
721
+ searchTitle="Search"
722
+
723
+ i18n-openTitle="kendo.pdfviewer.openTitle|The Open tool title and label."
724
+ openTitle="Open"
725
+
726
+ i18n-downloadTitle="kendo.pdfviewer.downloadTitle|The Download tool title and label."
727
+ downloadTitle="Download"
728
+
729
+ i18n-printTitle="kendo.pdfviewer.printTitle|The Print tool title and label."
730
+ printTitle="Print"
731
+
732
+ i18n-fitToPage="kendo.pdfviewer.fitToPage|The text for the zoom level chooser Fit to page option."
733
+ fitToPage="Fit to page"
734
+
735
+ i18n-fitToWidth="kendo.pdfviewer.fitToWidth|The text for the zoom level chooser Fit to width option."
736
+ fitToWidth="Fit to width"
737
+
738
+ i18n-searchInputPlaceholder="kendo.pdfviewer.searchInputPlaceholder|The text for the search input placeholder."
739
+ searchInputPlaceholder="Search"
740
+
741
+ i18n-searchMatchesOf="kendo.pdfviewer.searchMatchesOf|The text before the total number of matches in the Search tool."
742
+ searchMatchesOf="of"
743
+
744
+ i18n-searchPreviousMatchTitle="kendo.pdfviewer.searchPreviousMatchTitle|The title of the Search tool previous match button."
745
+ searchPreviousMatchTitle="Previous match"
746
+
747
+ i18n-searchNextMatchTitle="kendo.pdfviewer.searchNextMatchTitle|The title of the Search tool next match button."
748
+ searchNextMatchTitle="Next match"
749
+
750
+ i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
751
+ searchCloseTitle="Close"
752
+
753
+ i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
754
+ searchMatchCaseTitle="Match case"
755
+
756
+ i18n-zoomInputPlaceholder="kendo.pdfviewer.zoomInputPlaceholder|The text for the zoom tool input placeholder."
757
+ zoomInputPlaceholder="Choose zoom level"
758
+
759
+ i18n-annotationsTitle="kendo.pdfviewer.annotationsTitle|The Annotations tool title and label."
760
+ annotationsTitle="Annotations"
761
+
762
+ i18n-annotationEditorTitle="kendo.pdfviewer.annotationEditorTitle|The annotation editor tool title and label."
763
+ annotationEditorTitle="Annotation editor"
764
+
765
+ i18n-deleteAnnotationTitle="kendo.pdfviewer.deleteAnnotationTitle|The delete annotation tool title and label."
766
+ deleteAnnotationTitle="Delete annotation"
767
+
768
+ i18n-highlightAnnotationTitle="kendo.pdfviewer.highlightAnnotationTitle|The highlight annotation tool title and label."
769
+ highlightAnnotationTitle="Highlight"
770
+
771
+ i18n-freeTextAnnotationTitle="kendo.pdfviewer.freeTextAnnotationTitle|The free text annotation tool title and label."
772
+ freeTextAnnotationTitle="Free text"
773
+
774
+ i18n-closeAnnotationsToolbarTitle="kendo.pdfviewer.closeAnnotationsToolbarTitle|The close annotations toolbar tool title and label."
775
+ closeAnnotationsToolbarTitle="Close"
776
+
777
+ i18n-deleteAnnotationConfirmationDialogTitle="kendo.pdfviewer.deleteAnnotationConfirmationDialogTitle|The delete annotation confirmation dialog title."
778
+ deleteAnnotationConfirmationDialogTitle="Delete annotation"
779
+
780
+ i18n-deleteAnnotationConfirmationDialogContent="kendo.pdfviewer.deleteAnnotationConfirmationDialogContent|The delete annotation confirmation dialog content."
781
+ deleteAnnotationConfirmationDialogContent="Are you sure you want to delete this annotation?"
782
+
783
+ i18n-deleteAnnotationConfirmationDialogConfirmText="kendo.pdfviewer.deleteAnnotationConfirmationDialogConfirmText|The delete annotation confirmation dialog confirm button text."
784
+ deleteAnnotationConfirmationDialogConfirmText="Delete"
785
+
786
+ i18n-deleteAnnotationConfirmationDialogRejectText="kendo.pdfviewer.deleteAnnotationConfirmationDialogRejectText|The delete annotation confirmation dialog reject button text."
787
+ deleteAnnotationConfirmationDialogRejectText="Cancel"
788
+
789
+ i18n-annotationEditorFontSizeTitle="kendo.pdfviewer.annotationEditorFontSizeTitle|The annotation editor font size section title."
790
+ annotationEditorFontSizeTitle="Font size"
791
+
792
+ i18n-annotationEditorColorTitle="kendo.pdfviewer.annotationEditorColorTitle|The annotation editor color section title."
793
+ annotationEditorColorTitle="Color">
795
794
  </ng-container>
796
- <div kendoPDFViewerLoader
797
- *ngIf="loading"
798
- [settings]="loaderSettings"></div>
795
+ @if (loading) {
796
+ <div kendoPDFViewerLoader
797
+ [settings]="loaderSettings"></div>
798
+ }
799
799
  <div kendoPDFViewerToolbar
800
- #toolbar
801
- role="toolbar"
802
- [attr.aria-controls]="pagesContainerId"
803
- [tools]="tools"
804
- [skip]="skip"
805
- [total]="pdfContext?.pdfPages.length ? pdfContext?.pdfPages.length : 1"
806
- [pageSize]="1"
807
- [zoomInDisabled]="zoom >= maxZoom || !pdfContext?.pdfDoc"
808
- [zoomOutDisabled]="zoom <= minZoom || !pdfContext?.pdfDoc"
809
- [zoomOptionsData]="zoomOptionsData"
810
- [zoomLevelChooserValue]="zoomLevel"
811
- [disabledTools]="!pdfContext?.pdfDoc"
812
- [isAnnotationsToolbarVisible]="showAnnotationsToolbar"
813
- [wrapperId]="showAnnotationsToolbar ? annotationsToolbarId : undefined"
814
- [annotationsToolId]="annotationsToolId"
815
- [isSelectionEnabled]="enabledSelection"
816
- (pageChange)="onPageChange($event)"
817
- (fileSelect)="onFileSelect($event)"
818
- (fileSelectStart)="loading = true;"
819
- (fileSelectError)="onFileSelectError($event)"
820
- (download)="onDownload()"
821
- (panningEnabled)="onPanningEnabled();"
822
- (selectionEnabled)="onSelectionEnabled();"
823
- (zoomIn)="onZoomIn()"
824
- (zoomOut)="onZoomOut()"
825
- (zoomLevelChange)="onZoomLevelChange($event)"
826
- (print)="onPrint()"
827
- (search)="onSearch()"
828
- (toggleAnnotationsToolbar)="toggleAnnotationsToolbar()"></div>
829
- <div *ngIf="showAnnotationsToolbar"
800
+ #toolbar
801
+ role="toolbar"
802
+ [attr.aria-controls]="pagesContainerId"
803
+ [tools]="tools"
804
+ [skip]="skip"
805
+ [total]="pdfContext?.pdfPages.length ? pdfContext?.pdfPages.length : 1"
806
+ [pageSize]="1"
807
+ [zoomInDisabled]="zoom >= maxZoom || !pdfContext?.pdfDoc"
808
+ [zoomOutDisabled]="zoom <= minZoom || !pdfContext?.pdfDoc"
809
+ [zoomOptionsData]="zoomOptionsData"
810
+ [zoomLevelChooserValue]="zoomLevel"
811
+ [disabledTools]="!pdfContext?.pdfDoc"
812
+ [isAnnotationsToolbarVisible]="showAnnotationsToolbar"
813
+ [wrapperId]="showAnnotationsToolbar ? annotationsToolbarId : undefined"
814
+ [annotationsToolId]="annotationsToolId"
815
+ [isSelectionEnabled]="enabledSelection"
816
+ (pageChange)="onPageChange($event)"
817
+ (fileSelect)="onFileSelect($event)"
818
+ (fileSelectStart)="loading = true;"
819
+ (fileSelectError)="onFileSelectError($event)"
820
+ (download)="onDownload()"
821
+ (panningEnabled)="onPanningEnabled();"
822
+ (selectionEnabled)="onSelectionEnabled();"
823
+ (zoomIn)="onZoomIn()"
824
+ (zoomOut)="onZoomOut()"
825
+ (zoomLevelChange)="onZoomLevelChange($event)"
826
+ (print)="onPrint()"
827
+ (search)="onSearch()"
828
+ (toggleAnnotationsToolbar)="toggleAnnotationsToolbar()"></div>
829
+ @if (showAnnotationsToolbar) {
830
+ <div
830
831
  [attr.id]="annotationsToolbarId"
831
832
  kendoPDFViewerToolbar
832
833
  role="toolbar"
@@ -834,35 +835,39 @@ export class PDFViewerComponent {
834
835
  (setAnnotationMode)="onSetAnnotationMode($event)"
835
836
  [attr.aria-controls]="pagesContainerId"
836
837
  [disabledTools]="!pdfContext?.pdfDoc"
837
- (toggleAnnotationsToolbar)="toggleAnnotationsToolbar()"></div>
838
+ (toggleAnnotationsToolbar)="toggleAnnotationsToolbar()"></div>
839
+ }
838
840
  <div
839
- class="k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto"
840
- [class.k-enable-text-select]="enabledSelection"
841
- [class.k-enable-panning]="!enabledSelection"
842
- [attr.aria-describedby]="activePageId"
843
- tabindex="0">
844
- <div
845
- kendoPDFViewerSearch
846
- *ngIf="searchActive"
847
- [currentMatch]="currentMatch"
848
- [matches]="currentMatches.length"
849
- class="k-search-panel k-pos-sticky k-top-center"
850
- (searchChange)="onSearchChange($event)"
851
- (prevMatch)="onPreviousMatch()"
852
- (nextMatch)="onNextMatch()"
853
- (close)="closeSearch(toolbar)"></div>
841
+ class="k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto"
842
+ [class.k-enable-text-select]="enabledSelection"
843
+ [class.k-enable-panning]="!enabledSelection"
844
+ [attr.aria-describedby]="activePageId"
845
+ tabindex="0">
846
+ @if (searchActive) {
854
847
  <div
855
- #pagesContainer
848
+ kendoPDFViewerSearch
849
+ [currentMatch]="currentMatch"
850
+ [matches]="currentMatches.length"
851
+ class="k-search-panel k-pos-sticky k-top-center"
852
+ (searchChange)="onSearchChange($event)"
853
+ (prevMatch)="onPreviousMatch()"
854
+ (nextMatch)="onNextMatch()"
855
+ (close)="closeSearch(toolbar)"></div>
856
+ }
857
+ <div
858
+ #pagesContainer
856
859
  [kendoEventsOutsideAngular]="{
857
860
  wheel: stopPropagation
858
861
  }"
859
- class="k-pdf-viewer-pages"
860
- [attr.id]="pagesContainerId"></div>
862
+ class="k-pdf-viewer-pages"
863
+ [attr.id]="pagesContainerId"></div>
861
864
  </div>
862
-
865
+
863
866
  <div #dialogContainer></div>
864
- <div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
865
- `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedPDFViewerMessagesDirective, selector: "[kendoPDFViewerLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: LoaderComponent, selector: "[kendoPDFViewerLoader]", inputs: ["settings"] }, { kind: "component", type: ToolbarComponent, selector: "[kendoPDFViewerToolbar]", inputs: ["zoomLevel", "calculatedComboBoxValue", "skip", "pageSize", "total", "zoomInDisabled", "zoomOutDisabled", "disabledTools", "zoomLevelChooserValue", "zoomOptionsData", "pagesContainerId", "tools", "type", "wrapperId", "isAnnotationsToolbarVisible", "annotationsToolId", "isSelectionEnabled"], outputs: ["fileSelect", "fileSelectStart", "fileSelectError", "download", "selectionEnabled", "panningEnabled", "pageChange", "zoomIn", "zoomOut", "zoomLevelChange", "print", "search", "toggleAnnotationsToolbar", "setAnnotationMode"] }, { kind: "component", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: ["matches", "currentMatch"], outputs: ["searchChange", "prevMatch", "nextMatch", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
867
+ @if (showLicenseWatermark) {
868
+ <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
869
+ }
870
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedPDFViewerMessagesDirective, selector: "[kendoPDFViewerLocalizedMessages]" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: LoaderComponent, selector: "[kendoPDFViewerLoader]", inputs: ["settings"] }, { kind: "component", type: ToolbarComponent, selector: "[kendoPDFViewerToolbar]", inputs: ["zoomLevel", "calculatedComboBoxValue", "skip", "pageSize", "total", "zoomInDisabled", "zoomOutDisabled", "disabledTools", "zoomLevelChooserValue", "zoomOptionsData", "pagesContainerId", "tools", "type", "wrapperId", "isAnnotationsToolbarVisible", "annotationsToolId", "isSelectionEnabled"], outputs: ["fileSelect", "fileSelectStart", "fileSelectError", "download", "selectionEnabled", "panningEnabled", "pageChange", "zoomIn", "zoomOut", "zoomLevelChange", "print", "search", "toggleAnnotationsToolbar", "setAnnotationMode"] }, { kind: "component", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: ["matches", "currentMatch"], outputs: ["searchChange", "prevMatch", "nextMatch", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
866
871
  }
867
872
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFViewerComponent, decorators: [{
868
873
  type: Component,
@@ -878,151 +883,153 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
878
883
  ],
879
884
  template: `
880
885
  <ng-container kendoPDFViewerLocalizedMessages
881
- i18n-pagerFirstPage="kendo.pdfviewer.pagerFirstPage|The label for the first page button in the Pager"
882
- pagerFirstPage="Go to the first page"
883
-
884
- i18n-pagerPreviousPage="kendo.pdfviewer.pagerPreviousPage|The label for the previous page button in the Pager"
885
- pagerPreviousPage="Go to the previous page"
886
-
887
- i18n-pagerNextPage="kendo.pdfviewer.pagerNextPage|The label for the next page button in the Pager"
888
- pagerNextPage="Go to the next page"
889
-
890
- i18n-pagerLastPage="kendo.pdfviewer.pagerLastPage|The label for the last page button in the Pager"
891
- pagerLastPage="Go to the last page"
892
-
893
- i18n-pagerPage="kendo.pdfviewer.pagerPage|The text before the current page number in the Pager"
894
- pagerPage="Page"
895
-
896
- i18n-pagerOf="kendo.pdfviewer.pagerOf|The text before the total pages number in the Pager"
897
- pagerOf="of"
898
-
899
- i18n-pagerInputTitle="kendo.pdfviewer.pagerInputTitle|The label of the pager input element"
900
- pagerInputTitle="Page Number"
901
-
902
- i18n-pagerInputLabel="kendo.pdfviewer.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number."
903
- pagerInputLabel="Type a page number"
904
-
905
- i18n-zoomInTitle="kendo.pdfviewer.zoomInTitle|The ZoomIn tool title and label."
906
- zoomInTitle="Zoom in"
907
-
908
- i18n-zoomOutTitle="kendo.pdfviewer.zoomOutTitle|The ZoomOut tool title and label."
909
- zoomOutTitle="Zoom out"
910
-
911
- i18n-selectionTitle="kendo.pdfviewer.selectionTitle|The Selection tool title and label."
912
- selectionTitle="Enable selection"
913
-
914
- i18n-panningTitle="kendo.pdfviewer.panningTitle|The Panning tool title and label."
915
- panningTitle="Enable panning"
916
-
917
- i18n-searchTitle="kendo.pdfviewer.searchTitle|The Search tool title and label."
918
- searchTitle="Search"
919
-
920
- i18n-openTitle="kendo.pdfviewer.openTitle|The Open tool title and label."
921
- openTitle="Open"
922
-
923
- i18n-downloadTitle="kendo.pdfviewer.downloadTitle|The Download tool title and label."
924
- downloadTitle="Download"
925
-
926
- i18n-printTitle="kendo.pdfviewer.printTitle|The Print tool title and label."
927
- printTitle="Print"
928
-
929
- i18n-fitToPage="kendo.pdfviewer.fitToPage|The text for the zoom level chooser Fit to page option."
930
- fitToPage="Fit to page"
931
-
932
- i18n-fitToWidth="kendo.pdfviewer.fitToWidth|The text for the zoom level chooser Fit to width option."
933
- fitToWidth="Fit to width"
934
-
935
- i18n-searchInputPlaceholder="kendo.pdfviewer.searchInputPlaceholder|The text for the search input placeholder."
936
- searchInputPlaceholder="Search"
937
-
938
- i18n-searchMatchesOf="kendo.pdfviewer.searchMatchesOf|The text before the total number of matches in the Search tool."
939
- searchMatchesOf="of"
940
-
941
- i18n-searchPreviousMatchTitle="kendo.pdfviewer.searchPreviousMatchTitle|The title of the Search tool previous match button."
942
- searchPreviousMatchTitle="Previous match"
943
-
944
- i18n-searchNextMatchTitle="kendo.pdfviewer.searchNextMatchTitle|The title of the Search tool next match button."
945
- searchNextMatchTitle="Next match"
946
-
947
- i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
948
- searchCloseTitle="Close"
949
-
950
- i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
951
- searchMatchCaseTitle="Match case"
952
-
953
- i18n-zoomInputPlaceholder="kendo.pdfviewer.zoomInputPlaceholder|The text for the zoom tool input placeholder."
954
- zoomInputPlaceholder="Choose zoom level"
955
-
956
- i18n-annotationsTitle="kendo.pdfviewer.annotationsTitle|The Annotations tool title and label."
957
- annotationsTitle="Annotations"
958
-
959
- i18n-annotationEditorTitle="kendo.pdfviewer.annotationEditorTitle|The annotation editor tool title and label."
960
- annotationEditorTitle="Annotation editor"
961
-
962
- i18n-deleteAnnotationTitle="kendo.pdfviewer.deleteAnnotationTitle|The delete annotation tool title and label."
963
- deleteAnnotationTitle="Delete annotation"
964
-
965
- i18n-highlightAnnotationTitle="kendo.pdfviewer.highlightAnnotationTitle|The highlight annotation tool title and label."
966
- highlightAnnotationTitle="Highlight"
967
-
968
- i18n-freeTextAnnotationTitle="kendo.pdfviewer.freeTextAnnotationTitle|The free text annotation tool title and label."
969
- freeTextAnnotationTitle="Free text"
970
-
971
- i18n-closeAnnotationsToolbarTitle="kendo.pdfviewer.closeAnnotationsToolbarTitle|The close annotations toolbar tool title and label."
972
- closeAnnotationsToolbarTitle="Close"
973
-
974
- i18n-deleteAnnotationConfirmationDialogTitle="kendo.pdfviewer.deleteAnnotationConfirmationDialogTitle|The delete annotation confirmation dialog title."
975
- deleteAnnotationConfirmationDialogTitle="Delete annotation"
976
-
977
- i18n-deleteAnnotationConfirmationDialogContent="kendo.pdfviewer.deleteAnnotationConfirmationDialogContent|The delete annotation confirmation dialog content."
978
- deleteAnnotationConfirmationDialogContent="Are you sure you want to delete this annotation?"
979
-
980
- i18n-deleteAnnotationConfirmationDialogConfirmText="kendo.pdfviewer.deleteAnnotationConfirmationDialogConfirmText|The delete annotation confirmation dialog confirm button text."
981
- deleteAnnotationConfirmationDialogConfirmText="Delete"
982
-
983
- i18n-deleteAnnotationConfirmationDialogRejectText="kendo.pdfviewer.deleteAnnotationConfirmationDialogRejectText|The delete annotation confirmation dialog reject button text."
984
- deleteAnnotationConfirmationDialogRejectText="Cancel"
985
-
986
- i18n-annotationEditorFontSizeTitle="kendo.pdfviewer.annotationEditorFontSizeTitle|The annotation editor font size section title."
987
- annotationEditorFontSizeTitle="Font size"
988
-
989
- i18n-annotationEditorColorTitle="kendo.pdfviewer.annotationEditorColorTitle|The annotation editor color section title."
990
- annotationEditorColorTitle="Color">
886
+ i18n-pagerFirstPage="kendo.pdfviewer.pagerFirstPage|The label for the first page button in the Pager"
887
+ pagerFirstPage="Go to the first page"
888
+
889
+ i18n-pagerPreviousPage="kendo.pdfviewer.pagerPreviousPage|The label for the previous page button in the Pager"
890
+ pagerPreviousPage="Go to the previous page"
891
+
892
+ i18n-pagerNextPage="kendo.pdfviewer.pagerNextPage|The label for the next page button in the Pager"
893
+ pagerNextPage="Go to the next page"
894
+
895
+ i18n-pagerLastPage="kendo.pdfviewer.pagerLastPage|The label for the last page button in the Pager"
896
+ pagerLastPage="Go to the last page"
897
+
898
+ i18n-pagerPage="kendo.pdfviewer.pagerPage|The text before the current page number in the Pager"
899
+ pagerPage="Page"
900
+
901
+ i18n-pagerOf="kendo.pdfviewer.pagerOf|The text before the total pages number in the Pager"
902
+ pagerOf="of"
903
+
904
+ i18n-pagerInputTitle="kendo.pdfviewer.pagerInputTitle|The label of the pager input element"
905
+ pagerInputTitle="Page Number"
906
+
907
+ i18n-pagerInputLabel="kendo.pdfviewer.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number."
908
+ pagerInputLabel="Type a page number"
909
+
910
+ i18n-zoomInTitle="kendo.pdfviewer.zoomInTitle|The ZoomIn tool title and label."
911
+ zoomInTitle="Zoom in"
912
+
913
+ i18n-zoomOutTitle="kendo.pdfviewer.zoomOutTitle|The ZoomOut tool title and label."
914
+ zoomOutTitle="Zoom out"
915
+
916
+ i18n-selectionTitle="kendo.pdfviewer.selectionTitle|The Selection tool title and label."
917
+ selectionTitle="Enable selection"
918
+
919
+ i18n-panningTitle="kendo.pdfviewer.panningTitle|The Panning tool title and label."
920
+ panningTitle="Enable panning"
921
+
922
+ i18n-searchTitle="kendo.pdfviewer.searchTitle|The Search tool title and label."
923
+ searchTitle="Search"
924
+
925
+ i18n-openTitle="kendo.pdfviewer.openTitle|The Open tool title and label."
926
+ openTitle="Open"
927
+
928
+ i18n-downloadTitle="kendo.pdfviewer.downloadTitle|The Download tool title and label."
929
+ downloadTitle="Download"
930
+
931
+ i18n-printTitle="kendo.pdfviewer.printTitle|The Print tool title and label."
932
+ printTitle="Print"
933
+
934
+ i18n-fitToPage="kendo.pdfviewer.fitToPage|The text for the zoom level chooser Fit to page option."
935
+ fitToPage="Fit to page"
936
+
937
+ i18n-fitToWidth="kendo.pdfviewer.fitToWidth|The text for the zoom level chooser Fit to width option."
938
+ fitToWidth="Fit to width"
939
+
940
+ i18n-searchInputPlaceholder="kendo.pdfviewer.searchInputPlaceholder|The text for the search input placeholder."
941
+ searchInputPlaceholder="Search"
942
+
943
+ i18n-searchMatchesOf="kendo.pdfviewer.searchMatchesOf|The text before the total number of matches in the Search tool."
944
+ searchMatchesOf="of"
945
+
946
+ i18n-searchPreviousMatchTitle="kendo.pdfviewer.searchPreviousMatchTitle|The title of the Search tool previous match button."
947
+ searchPreviousMatchTitle="Previous match"
948
+
949
+ i18n-searchNextMatchTitle="kendo.pdfviewer.searchNextMatchTitle|The title of the Search tool next match button."
950
+ searchNextMatchTitle="Next match"
951
+
952
+ i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
953
+ searchCloseTitle="Close"
954
+
955
+ i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
956
+ searchMatchCaseTitle="Match case"
957
+
958
+ i18n-zoomInputPlaceholder="kendo.pdfviewer.zoomInputPlaceholder|The text for the zoom tool input placeholder."
959
+ zoomInputPlaceholder="Choose zoom level"
960
+
961
+ i18n-annotationsTitle="kendo.pdfviewer.annotationsTitle|The Annotations tool title and label."
962
+ annotationsTitle="Annotations"
963
+
964
+ i18n-annotationEditorTitle="kendo.pdfviewer.annotationEditorTitle|The annotation editor tool title and label."
965
+ annotationEditorTitle="Annotation editor"
966
+
967
+ i18n-deleteAnnotationTitle="kendo.pdfviewer.deleteAnnotationTitle|The delete annotation tool title and label."
968
+ deleteAnnotationTitle="Delete annotation"
969
+
970
+ i18n-highlightAnnotationTitle="kendo.pdfviewer.highlightAnnotationTitle|The highlight annotation tool title and label."
971
+ highlightAnnotationTitle="Highlight"
972
+
973
+ i18n-freeTextAnnotationTitle="kendo.pdfviewer.freeTextAnnotationTitle|The free text annotation tool title and label."
974
+ freeTextAnnotationTitle="Free text"
975
+
976
+ i18n-closeAnnotationsToolbarTitle="kendo.pdfviewer.closeAnnotationsToolbarTitle|The close annotations toolbar tool title and label."
977
+ closeAnnotationsToolbarTitle="Close"
978
+
979
+ i18n-deleteAnnotationConfirmationDialogTitle="kendo.pdfviewer.deleteAnnotationConfirmationDialogTitle|The delete annotation confirmation dialog title."
980
+ deleteAnnotationConfirmationDialogTitle="Delete annotation"
981
+
982
+ i18n-deleteAnnotationConfirmationDialogContent="kendo.pdfviewer.deleteAnnotationConfirmationDialogContent|The delete annotation confirmation dialog content."
983
+ deleteAnnotationConfirmationDialogContent="Are you sure you want to delete this annotation?"
984
+
985
+ i18n-deleteAnnotationConfirmationDialogConfirmText="kendo.pdfviewer.deleteAnnotationConfirmationDialogConfirmText|The delete annotation confirmation dialog confirm button text."
986
+ deleteAnnotationConfirmationDialogConfirmText="Delete"
987
+
988
+ i18n-deleteAnnotationConfirmationDialogRejectText="kendo.pdfviewer.deleteAnnotationConfirmationDialogRejectText|The delete annotation confirmation dialog reject button text."
989
+ deleteAnnotationConfirmationDialogRejectText="Cancel"
990
+
991
+ i18n-annotationEditorFontSizeTitle="kendo.pdfviewer.annotationEditorFontSizeTitle|The annotation editor font size section title."
992
+ annotationEditorFontSizeTitle="Font size"
993
+
994
+ i18n-annotationEditorColorTitle="kendo.pdfviewer.annotationEditorColorTitle|The annotation editor color section title."
995
+ annotationEditorColorTitle="Color">
991
996
  </ng-container>
992
- <div kendoPDFViewerLoader
993
- *ngIf="loading"
994
- [settings]="loaderSettings"></div>
997
+ @if (loading) {
998
+ <div kendoPDFViewerLoader
999
+ [settings]="loaderSettings"></div>
1000
+ }
995
1001
  <div kendoPDFViewerToolbar
996
- #toolbar
997
- role="toolbar"
998
- [attr.aria-controls]="pagesContainerId"
999
- [tools]="tools"
1000
- [skip]="skip"
1001
- [total]="pdfContext?.pdfPages.length ? pdfContext?.pdfPages.length : 1"
1002
- [pageSize]="1"
1003
- [zoomInDisabled]="zoom >= maxZoom || !pdfContext?.pdfDoc"
1004
- [zoomOutDisabled]="zoom <= minZoom || !pdfContext?.pdfDoc"
1005
- [zoomOptionsData]="zoomOptionsData"
1006
- [zoomLevelChooserValue]="zoomLevel"
1007
- [disabledTools]="!pdfContext?.pdfDoc"
1008
- [isAnnotationsToolbarVisible]="showAnnotationsToolbar"
1009
- [wrapperId]="showAnnotationsToolbar ? annotationsToolbarId : undefined"
1010
- [annotationsToolId]="annotationsToolId"
1011
- [isSelectionEnabled]="enabledSelection"
1012
- (pageChange)="onPageChange($event)"
1013
- (fileSelect)="onFileSelect($event)"
1014
- (fileSelectStart)="loading = true;"
1015
- (fileSelectError)="onFileSelectError($event)"
1016
- (download)="onDownload()"
1017
- (panningEnabled)="onPanningEnabled();"
1018
- (selectionEnabled)="onSelectionEnabled();"
1019
- (zoomIn)="onZoomIn()"
1020
- (zoomOut)="onZoomOut()"
1021
- (zoomLevelChange)="onZoomLevelChange($event)"
1022
- (print)="onPrint()"
1023
- (search)="onSearch()"
1024
- (toggleAnnotationsToolbar)="toggleAnnotationsToolbar()"></div>
1025
- <div *ngIf="showAnnotationsToolbar"
1002
+ #toolbar
1003
+ role="toolbar"
1004
+ [attr.aria-controls]="pagesContainerId"
1005
+ [tools]="tools"
1006
+ [skip]="skip"
1007
+ [total]="pdfContext?.pdfPages.length ? pdfContext?.pdfPages.length : 1"
1008
+ [pageSize]="1"
1009
+ [zoomInDisabled]="zoom >= maxZoom || !pdfContext?.pdfDoc"
1010
+ [zoomOutDisabled]="zoom <= minZoom || !pdfContext?.pdfDoc"
1011
+ [zoomOptionsData]="zoomOptionsData"
1012
+ [zoomLevelChooserValue]="zoomLevel"
1013
+ [disabledTools]="!pdfContext?.pdfDoc"
1014
+ [isAnnotationsToolbarVisible]="showAnnotationsToolbar"
1015
+ [wrapperId]="showAnnotationsToolbar ? annotationsToolbarId : undefined"
1016
+ [annotationsToolId]="annotationsToolId"
1017
+ [isSelectionEnabled]="enabledSelection"
1018
+ (pageChange)="onPageChange($event)"
1019
+ (fileSelect)="onFileSelect($event)"
1020
+ (fileSelectStart)="loading = true;"
1021
+ (fileSelectError)="onFileSelectError($event)"
1022
+ (download)="onDownload()"
1023
+ (panningEnabled)="onPanningEnabled();"
1024
+ (selectionEnabled)="onSelectionEnabled();"
1025
+ (zoomIn)="onZoomIn()"
1026
+ (zoomOut)="onZoomOut()"
1027
+ (zoomLevelChange)="onZoomLevelChange($event)"
1028
+ (print)="onPrint()"
1029
+ (search)="onSearch()"
1030
+ (toggleAnnotationsToolbar)="toggleAnnotationsToolbar()"></div>
1031
+ @if (showAnnotationsToolbar) {
1032
+ <div
1026
1033
  [attr.id]="annotationsToolbarId"
1027
1034
  kendoPDFViewerToolbar
1028
1035
  role="toolbar"
@@ -1030,37 +1037,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
1030
1037
  (setAnnotationMode)="onSetAnnotationMode($event)"
1031
1038
  [attr.aria-controls]="pagesContainerId"
1032
1039
  [disabledTools]="!pdfContext?.pdfDoc"
1033
- (toggleAnnotationsToolbar)="toggleAnnotationsToolbar()"></div>
1040
+ (toggleAnnotationsToolbar)="toggleAnnotationsToolbar()"></div>
1041
+ }
1034
1042
  <div
1035
- class="k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto"
1036
- [class.k-enable-text-select]="enabledSelection"
1037
- [class.k-enable-panning]="!enabledSelection"
1038
- [attr.aria-describedby]="activePageId"
1039
- tabindex="0">
1040
- <div
1041
- kendoPDFViewerSearch
1042
- *ngIf="searchActive"
1043
- [currentMatch]="currentMatch"
1044
- [matches]="currentMatches.length"
1045
- class="k-search-panel k-pos-sticky k-top-center"
1046
- (searchChange)="onSearchChange($event)"
1047
- (prevMatch)="onPreviousMatch()"
1048
- (nextMatch)="onNextMatch()"
1049
- (close)="closeSearch(toolbar)"></div>
1043
+ class="k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto"
1044
+ [class.k-enable-text-select]="enabledSelection"
1045
+ [class.k-enable-panning]="!enabledSelection"
1046
+ [attr.aria-describedby]="activePageId"
1047
+ tabindex="0">
1048
+ @if (searchActive) {
1050
1049
  <div
1051
- #pagesContainer
1050
+ kendoPDFViewerSearch
1051
+ [currentMatch]="currentMatch"
1052
+ [matches]="currentMatches.length"
1053
+ class="k-search-panel k-pos-sticky k-top-center"
1054
+ (searchChange)="onSearchChange($event)"
1055
+ (prevMatch)="onPreviousMatch()"
1056
+ (nextMatch)="onNextMatch()"
1057
+ (close)="closeSearch(toolbar)"></div>
1058
+ }
1059
+ <div
1060
+ #pagesContainer
1052
1061
  [kendoEventsOutsideAngular]="{
1053
1062
  wheel: stopPropagation
1054
1063
  }"
1055
- class="k-pdf-viewer-pages"
1056
- [attr.id]="pagesContainerId"></div>
1064
+ class="k-pdf-viewer-pages"
1065
+ [attr.id]="pagesContainerId"></div>
1057
1066
  </div>
1058
-
1067
+
1059
1068
  <div #dialogContainer></div>
1060
- <div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
1061
- `,
1069
+ @if (showLicenseWatermark) {
1070
+ <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
1071
+ }
1072
+ `,
1062
1073
  standalone: true,
1063
- imports: [LocalizedPDFViewerMessagesDirective, NgIf, EventsOutsideAngularDirective, LoaderComponent, ToolbarComponent, PDFViewerSearchComponent, WatermarkOverlayComponent]
1074
+ imports: [LocalizedPDFViewerMessagesDirective, EventsOutsideAngularDirective, LoaderComponent, ToolbarComponent, PDFViewerSearchComponent, WatermarkOverlayComponent]
1064
1075
  }]
1065
1076
  }], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i2.PopupService }], propDecorators: { hostClass: [{
1066
1077
  type: HostBinding,