@progress/kendo-angular-pdfviewer 19.3.0-develop.2 → 19.3.0-develop.20
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.
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
13
|
-
publishDate:
|
14
|
-
version: '19.3.0-develop.
|
13
|
+
publishDate: 1754293991,
|
14
|
+
version: '19.3.0-develop.20',
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
|
16
16
|
};
|
@@ -7,7 +7,7 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
7
7
|
import { packageMetadata } from './package-metadata';
|
8
8
|
import { INITIAL_ZOOM_LEVEL, zoomOptionsData, zoomToFitOptions } from './util';
|
9
9
|
import { PdfViewer, removeChildren, } from '@progress/kendo-pdfviewer-common';
|
10
|
-
import { EventsOutsideAngularDirective, hasObservers, shouldShowValidationUI, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
10
|
+
import { EventsOutsideAngularDirective, hasObservers, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
11
11
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
12
12
|
import { PDFViewerDownloadEvent } from './models/events';
|
13
13
|
import { saveAs } from '@progress/kendo-file-saver';
|
@@ -222,6 +222,10 @@ export class PDFViewerComponent {
|
|
222
222
|
* @hidden
|
223
223
|
*/
|
224
224
|
showLicenseWatermark = false;
|
225
|
+
/**
|
226
|
+
* @hidden
|
227
|
+
*/
|
228
|
+
licenseMessage;
|
225
229
|
skip = 0;
|
226
230
|
zoomOptionsData = zoomOptionsData;
|
227
231
|
zoomLevel = this.zoomOptionsData[5];
|
@@ -239,6 +243,7 @@ export class PDFViewerComponent {
|
|
239
243
|
this.cdr = cdr;
|
240
244
|
this.host = host;
|
241
245
|
const isValid = validatePackage(packageMetadata);
|
246
|
+
this.licenseMessage = getLicenseMessage(packageMetadata);
|
242
247
|
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
243
248
|
this.direction = localizationService.rtl ? 'rtl' : 'ltr';
|
244
249
|
counter++;
|
@@ -552,59 +557,59 @@ export class PDFViewerComponent {
|
|
552
557
|
|
553
558
|
i18n-pagerInputLabel="kendo.pdfviewer.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number."
|
554
559
|
pagerInputLabel="Type a page number"
|
555
|
-
|
560
|
+
|
556
561
|
i18n-zoomInTitle="kendo.pdfviewer.zoomInTitle|The ZoomIn tool title and label."
|
557
562
|
zoomInTitle="Zoom in"
|
558
|
-
|
563
|
+
|
559
564
|
i18n-zoomOutTitle="kendo.pdfviewer.zoomOutTitle|The ZoomOut tool title and label."
|
560
565
|
zoomOutTitle="Zoom out"
|
561
|
-
|
566
|
+
|
562
567
|
i18n-selectionTitle="kendo.pdfviewer.selectionTitle|The Selection tool title and label."
|
563
568
|
selectionTitle="Enable selection"
|
564
|
-
|
569
|
+
|
565
570
|
i18n-panningTitle="kendo.pdfviewer.panningTitle|The Panning tool title and label."
|
566
571
|
panningTitle="Enable panning"
|
567
|
-
|
572
|
+
|
568
573
|
i18n-searchTitle="kendo.pdfviewer.searchTitle|The Search tool title and label."
|
569
574
|
searchTitle="Search"
|
570
|
-
|
575
|
+
|
571
576
|
i18n-openTitle="kendo.pdfviewer.openTitle|The Open tool title and label."
|
572
577
|
openTitle="Open"
|
573
|
-
|
578
|
+
|
574
579
|
i18n-downloadTitle="kendo.pdfviewer.downloadTitle|The Download tool title and label."
|
575
580
|
downloadTitle="Download"
|
576
|
-
|
581
|
+
|
577
582
|
i18n-printTitle="kendo.pdfviewer.printTitle|The Print tool title and label."
|
578
583
|
printTitle="Print"
|
579
|
-
|
584
|
+
|
580
585
|
i18n-fitToPage="kendo.pdfviewer.fitToPage|The text for the zoom level chooser Fit to page option."
|
581
586
|
fitToPage="Fit to page"
|
582
|
-
|
587
|
+
|
583
588
|
i18n-fitToWidth="kendo.pdfviewer.fitToWidth|The text for the zoom level chooser Fit to width option."
|
584
589
|
fitToWidth="Fit to width"
|
585
|
-
|
590
|
+
|
586
591
|
i18n-searchInputPlaceholder="kendo.pdfviewer.searchInputPlaceholder|The text for the search input placeholder."
|
587
592
|
searchInputPlaceholder="Search"
|
588
|
-
|
593
|
+
|
589
594
|
i18n-searchMatchesOf="kendo.pdfviewer.searchMatchesOf|The text before the total number of matches in the Search tool."
|
590
595
|
searchMatchesOf="of"
|
591
|
-
|
596
|
+
|
592
597
|
i18n-searchPreviousMatchTitle="kendo.pdfviewer.searchPreviousMatchTitle|The title of the Search tool previous match button."
|
593
598
|
searchPreviousMatchTitle="Previous match"
|
594
|
-
|
599
|
+
|
595
600
|
i18n-searchNextMatchTitle="kendo.pdfviewer.searchNextMatchTitle|The title of the Search tool next match button."
|
596
601
|
searchNextMatchTitle="Next match"
|
597
|
-
|
602
|
+
|
598
603
|
i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
|
599
604
|
searchCloseTitle="Close"
|
600
|
-
|
605
|
+
|
601
606
|
i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
|
602
607
|
searchMatchCaseTitle="Match case"
|
603
|
-
|
608
|
+
|
604
609
|
i18n-zoomInputPlaceholder="kendo.pdfviewer.zoomInputPlaceholder|The text for the zoom tool input placeholder."
|
605
610
|
zoomInputPlaceholder="Choose zoom level">
|
606
611
|
</ng-container>
|
607
|
-
<div kendoPDFViewerLoader
|
612
|
+
<div kendoPDFViewerLoader
|
608
613
|
*ngIf="loading"
|
609
614
|
[settings]="loaderSettings"></div>
|
610
615
|
<div kendoPDFViewerToolbar
|
@@ -648,7 +653,7 @@ export class PDFViewerComponent {
|
|
648
653
|
(prevMatch)="onPreviousMatch()"
|
649
654
|
(nextMatch)="onNextMatch()"
|
650
655
|
(close)="closeSearch(toolbar)"></div>
|
651
|
-
<div
|
656
|
+
<div
|
652
657
|
#pagesContainer
|
653
658
|
[kendoEventsOutsideAngular]="{
|
654
659
|
wheel: stopPropagation
|
@@ -657,8 +662,8 @@ export class PDFViewerComponent {
|
|
657
662
|
[attr.id]="pagesContainerId"></div>
|
658
663
|
</div>
|
659
664
|
|
660
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
661
|
-
`, 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"], outputs: ["fileSelect", "fileSelectStart", "fileSelectError", "download", "selectionEnabled", "panningEnabled", "pageChange", "zoomIn", "zoomOut", "zoomLevelChange", "print", "search"] }, { kind: "component", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: ["matches", "currentMatch"], outputs: ["searchChange", "prevMatch", "nextMatch", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
665
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
666
|
+
`, 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"], outputs: ["fileSelect", "fileSelectStart", "fileSelectError", "download", "selectionEnabled", "panningEnabled", "pageChange", "zoomIn", "zoomOut", "zoomLevelChange", "print", "search"] }, { kind: "component", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: ["matches", "currentMatch"], outputs: ["searchChange", "prevMatch", "nextMatch", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
|
662
667
|
}
|
663
668
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFViewerComponent, decorators: [{
|
664
669
|
type: Component,
|
@@ -697,59 +702,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
697
702
|
|
698
703
|
i18n-pagerInputLabel="kendo.pdfviewer.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number."
|
699
704
|
pagerInputLabel="Type a page number"
|
700
|
-
|
705
|
+
|
701
706
|
i18n-zoomInTitle="kendo.pdfviewer.zoomInTitle|The ZoomIn tool title and label."
|
702
707
|
zoomInTitle="Zoom in"
|
703
|
-
|
708
|
+
|
704
709
|
i18n-zoomOutTitle="kendo.pdfviewer.zoomOutTitle|The ZoomOut tool title and label."
|
705
710
|
zoomOutTitle="Zoom out"
|
706
|
-
|
711
|
+
|
707
712
|
i18n-selectionTitle="kendo.pdfviewer.selectionTitle|The Selection tool title and label."
|
708
713
|
selectionTitle="Enable selection"
|
709
|
-
|
714
|
+
|
710
715
|
i18n-panningTitle="kendo.pdfviewer.panningTitle|The Panning tool title and label."
|
711
716
|
panningTitle="Enable panning"
|
712
|
-
|
717
|
+
|
713
718
|
i18n-searchTitle="kendo.pdfviewer.searchTitle|The Search tool title and label."
|
714
719
|
searchTitle="Search"
|
715
|
-
|
720
|
+
|
716
721
|
i18n-openTitle="kendo.pdfviewer.openTitle|The Open tool title and label."
|
717
722
|
openTitle="Open"
|
718
|
-
|
723
|
+
|
719
724
|
i18n-downloadTitle="kendo.pdfviewer.downloadTitle|The Download tool title and label."
|
720
725
|
downloadTitle="Download"
|
721
|
-
|
726
|
+
|
722
727
|
i18n-printTitle="kendo.pdfviewer.printTitle|The Print tool title and label."
|
723
728
|
printTitle="Print"
|
724
|
-
|
729
|
+
|
725
730
|
i18n-fitToPage="kendo.pdfviewer.fitToPage|The text for the zoom level chooser Fit to page option."
|
726
731
|
fitToPage="Fit to page"
|
727
|
-
|
732
|
+
|
728
733
|
i18n-fitToWidth="kendo.pdfviewer.fitToWidth|The text for the zoom level chooser Fit to width option."
|
729
734
|
fitToWidth="Fit to width"
|
730
|
-
|
735
|
+
|
731
736
|
i18n-searchInputPlaceholder="kendo.pdfviewer.searchInputPlaceholder|The text for the search input placeholder."
|
732
737
|
searchInputPlaceholder="Search"
|
733
|
-
|
738
|
+
|
734
739
|
i18n-searchMatchesOf="kendo.pdfviewer.searchMatchesOf|The text before the total number of matches in the Search tool."
|
735
740
|
searchMatchesOf="of"
|
736
|
-
|
741
|
+
|
737
742
|
i18n-searchPreviousMatchTitle="kendo.pdfviewer.searchPreviousMatchTitle|The title of the Search tool previous match button."
|
738
743
|
searchPreviousMatchTitle="Previous match"
|
739
|
-
|
744
|
+
|
740
745
|
i18n-searchNextMatchTitle="kendo.pdfviewer.searchNextMatchTitle|The title of the Search tool next match button."
|
741
746
|
searchNextMatchTitle="Next match"
|
742
|
-
|
747
|
+
|
743
748
|
i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
|
744
749
|
searchCloseTitle="Close"
|
745
|
-
|
750
|
+
|
746
751
|
i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
|
747
752
|
searchMatchCaseTitle="Match case"
|
748
|
-
|
753
|
+
|
749
754
|
i18n-zoomInputPlaceholder="kendo.pdfviewer.zoomInputPlaceholder|The text for the zoom tool input placeholder."
|
750
755
|
zoomInputPlaceholder="Choose zoom level">
|
751
756
|
</ng-container>
|
752
|
-
<div kendoPDFViewerLoader
|
757
|
+
<div kendoPDFViewerLoader
|
753
758
|
*ngIf="loading"
|
754
759
|
[settings]="loaderSettings"></div>
|
755
760
|
<div kendoPDFViewerToolbar
|
@@ -793,7 +798,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
793
798
|
(prevMatch)="onPreviousMatch()"
|
794
799
|
(nextMatch)="onNextMatch()"
|
795
800
|
(close)="closeSearch(toolbar)"></div>
|
796
|
-
<div
|
801
|
+
<div
|
797
802
|
#pagesContainer
|
798
803
|
[kendoEventsOutsideAngular]="{
|
799
804
|
wheel: stopPropagation
|
@@ -802,7 +807,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
802
807
|
[attr.id]="pagesContainerId"></div>
|
803
808
|
</div>
|
804
809
|
|
805
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
810
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
806
811
|
`,
|
807
812
|
standalone: true,
|
808
813
|
imports: [LocalizedPDFViewerMessagesDirective, NgIf, EventsOutsideAngularDirective, LoaderComponent, ToolbarComponent, PDFViewerSearchComponent, WatermarkOverlayComponent]
|
@@ -8,7 +8,7 @@ import * as i1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
10
10
|
import { removeChildren, PdfViewer } from '@progress/kendo-pdfviewer-common';
|
11
|
-
import { PreventableEvent, Keys, focusableSelector, shouldShowValidationUI, hasObservers, EventsOutsideAngularDirective, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
11
|
+
import { PreventableEvent, Keys, focusableSelector, getLicenseMessage, shouldShowValidationUI, hasObservers, EventsOutsideAngularDirective, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
12
12
|
import { saveAs } from '@progress/kendo-file-saver';
|
13
13
|
import { Subscription } from 'rxjs';
|
14
14
|
import { PagerComponent, CustomMessagesComponent } from '@progress/kendo-angular-pager';
|
@@ -240,8 +240,8 @@ const packageMetadata = {
|
|
240
240
|
productName: 'Kendo UI for Angular',
|
241
241
|
productCode: 'KENDOUIANGULAR',
|
242
242
|
productCodes: ['KENDOUIANGULAR'],
|
243
|
-
publishDate:
|
244
|
-
version: '19.3.0-develop.
|
243
|
+
publishDate: 1754293991,
|
244
|
+
version: '19.3.0-develop.20',
|
245
245
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
|
246
246
|
};
|
247
247
|
|
@@ -1543,6 +1543,10 @@ class PDFViewerComponent {
|
|
1543
1543
|
* @hidden
|
1544
1544
|
*/
|
1545
1545
|
showLicenseWatermark = false;
|
1546
|
+
/**
|
1547
|
+
* @hidden
|
1548
|
+
*/
|
1549
|
+
licenseMessage;
|
1546
1550
|
skip = 0;
|
1547
1551
|
zoomOptionsData = zoomOptionsData;
|
1548
1552
|
zoomLevel = this.zoomOptionsData[5];
|
@@ -1560,6 +1564,7 @@ class PDFViewerComponent {
|
|
1560
1564
|
this.cdr = cdr;
|
1561
1565
|
this.host = host;
|
1562
1566
|
const isValid = validatePackage(packageMetadata);
|
1567
|
+
this.licenseMessage = getLicenseMessage(packageMetadata);
|
1563
1568
|
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
1564
1569
|
this.direction = localizationService.rtl ? 'rtl' : 'ltr';
|
1565
1570
|
counter++;
|
@@ -1873,59 +1878,59 @@ class PDFViewerComponent {
|
|
1873
1878
|
|
1874
1879
|
i18n-pagerInputLabel="kendo.pdfviewer.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number."
|
1875
1880
|
pagerInputLabel="Type a page number"
|
1876
|
-
|
1881
|
+
|
1877
1882
|
i18n-zoomInTitle="kendo.pdfviewer.zoomInTitle|The ZoomIn tool title and label."
|
1878
1883
|
zoomInTitle="Zoom in"
|
1879
|
-
|
1884
|
+
|
1880
1885
|
i18n-zoomOutTitle="kendo.pdfviewer.zoomOutTitle|The ZoomOut tool title and label."
|
1881
1886
|
zoomOutTitle="Zoom out"
|
1882
|
-
|
1887
|
+
|
1883
1888
|
i18n-selectionTitle="kendo.pdfviewer.selectionTitle|The Selection tool title and label."
|
1884
1889
|
selectionTitle="Enable selection"
|
1885
|
-
|
1890
|
+
|
1886
1891
|
i18n-panningTitle="kendo.pdfviewer.panningTitle|The Panning tool title and label."
|
1887
1892
|
panningTitle="Enable panning"
|
1888
|
-
|
1893
|
+
|
1889
1894
|
i18n-searchTitle="kendo.pdfviewer.searchTitle|The Search tool title and label."
|
1890
1895
|
searchTitle="Search"
|
1891
|
-
|
1896
|
+
|
1892
1897
|
i18n-openTitle="kendo.pdfviewer.openTitle|The Open tool title and label."
|
1893
1898
|
openTitle="Open"
|
1894
|
-
|
1899
|
+
|
1895
1900
|
i18n-downloadTitle="kendo.pdfviewer.downloadTitle|The Download tool title and label."
|
1896
1901
|
downloadTitle="Download"
|
1897
|
-
|
1902
|
+
|
1898
1903
|
i18n-printTitle="kendo.pdfviewer.printTitle|The Print tool title and label."
|
1899
1904
|
printTitle="Print"
|
1900
|
-
|
1905
|
+
|
1901
1906
|
i18n-fitToPage="kendo.pdfviewer.fitToPage|The text for the zoom level chooser Fit to page option."
|
1902
1907
|
fitToPage="Fit to page"
|
1903
|
-
|
1908
|
+
|
1904
1909
|
i18n-fitToWidth="kendo.pdfviewer.fitToWidth|The text for the zoom level chooser Fit to width option."
|
1905
1910
|
fitToWidth="Fit to width"
|
1906
|
-
|
1911
|
+
|
1907
1912
|
i18n-searchInputPlaceholder="kendo.pdfviewer.searchInputPlaceholder|The text for the search input placeholder."
|
1908
1913
|
searchInputPlaceholder="Search"
|
1909
|
-
|
1914
|
+
|
1910
1915
|
i18n-searchMatchesOf="kendo.pdfviewer.searchMatchesOf|The text before the total number of matches in the Search tool."
|
1911
1916
|
searchMatchesOf="of"
|
1912
|
-
|
1917
|
+
|
1913
1918
|
i18n-searchPreviousMatchTitle="kendo.pdfviewer.searchPreviousMatchTitle|The title of the Search tool previous match button."
|
1914
1919
|
searchPreviousMatchTitle="Previous match"
|
1915
|
-
|
1920
|
+
|
1916
1921
|
i18n-searchNextMatchTitle="kendo.pdfviewer.searchNextMatchTitle|The title of the Search tool next match button."
|
1917
1922
|
searchNextMatchTitle="Next match"
|
1918
|
-
|
1923
|
+
|
1919
1924
|
i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
|
1920
1925
|
searchCloseTitle="Close"
|
1921
|
-
|
1926
|
+
|
1922
1927
|
i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
|
1923
1928
|
searchMatchCaseTitle="Match case"
|
1924
|
-
|
1929
|
+
|
1925
1930
|
i18n-zoomInputPlaceholder="kendo.pdfviewer.zoomInputPlaceholder|The text for the zoom tool input placeholder."
|
1926
1931
|
zoomInputPlaceholder="Choose zoom level">
|
1927
1932
|
</ng-container>
|
1928
|
-
<div kendoPDFViewerLoader
|
1933
|
+
<div kendoPDFViewerLoader
|
1929
1934
|
*ngIf="loading"
|
1930
1935
|
[settings]="loaderSettings"></div>
|
1931
1936
|
<div kendoPDFViewerToolbar
|
@@ -1969,7 +1974,7 @@ class PDFViewerComponent {
|
|
1969
1974
|
(prevMatch)="onPreviousMatch()"
|
1970
1975
|
(nextMatch)="onNextMatch()"
|
1971
1976
|
(close)="closeSearch(toolbar)"></div>
|
1972
|
-
<div
|
1977
|
+
<div
|
1973
1978
|
#pagesContainer
|
1974
1979
|
[kendoEventsOutsideAngular]="{
|
1975
1980
|
wheel: stopPropagation
|
@@ -1978,8 +1983,8 @@ class PDFViewerComponent {
|
|
1978
1983
|
[attr.id]="pagesContainerId"></div>
|
1979
1984
|
</div>
|
1980
1985
|
|
1981
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
1982
|
-
`, 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"], outputs: ["fileSelect", "fileSelectStart", "fileSelectError", "download", "selectionEnabled", "panningEnabled", "pageChange", "zoomIn", "zoomOut", "zoomLevelChange", "print", "search"] }, { kind: "component", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: ["matches", "currentMatch"], outputs: ["searchChange", "prevMatch", "nextMatch", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
1986
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
1987
|
+
`, 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"], outputs: ["fileSelect", "fileSelectStart", "fileSelectError", "download", "selectionEnabled", "panningEnabled", "pageChange", "zoomIn", "zoomOut", "zoomLevelChange", "print", "search"] }, { kind: "component", type: PDFViewerSearchComponent, selector: "[kendoPDFViewerSearch]", inputs: ["matches", "currentMatch"], outputs: ["searchChange", "prevMatch", "nextMatch", "close"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
|
1983
1988
|
}
|
1984
1989
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFViewerComponent, decorators: [{
|
1985
1990
|
type: Component,
|
@@ -2018,59 +2023,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2018
2023
|
|
2019
2024
|
i18n-pagerInputLabel="kendo.pdfviewer.pagerInputLabel|The text of the aria-label attribute applied to the input element for entering the page number."
|
2020
2025
|
pagerInputLabel="Type a page number"
|
2021
|
-
|
2026
|
+
|
2022
2027
|
i18n-zoomInTitle="kendo.pdfviewer.zoomInTitle|The ZoomIn tool title and label."
|
2023
2028
|
zoomInTitle="Zoom in"
|
2024
|
-
|
2029
|
+
|
2025
2030
|
i18n-zoomOutTitle="kendo.pdfviewer.zoomOutTitle|The ZoomOut tool title and label."
|
2026
2031
|
zoomOutTitle="Zoom out"
|
2027
|
-
|
2032
|
+
|
2028
2033
|
i18n-selectionTitle="kendo.pdfviewer.selectionTitle|The Selection tool title and label."
|
2029
2034
|
selectionTitle="Enable selection"
|
2030
|
-
|
2035
|
+
|
2031
2036
|
i18n-panningTitle="kendo.pdfviewer.panningTitle|The Panning tool title and label."
|
2032
2037
|
panningTitle="Enable panning"
|
2033
|
-
|
2038
|
+
|
2034
2039
|
i18n-searchTitle="kendo.pdfviewer.searchTitle|The Search tool title and label."
|
2035
2040
|
searchTitle="Search"
|
2036
|
-
|
2041
|
+
|
2037
2042
|
i18n-openTitle="kendo.pdfviewer.openTitle|The Open tool title and label."
|
2038
2043
|
openTitle="Open"
|
2039
|
-
|
2044
|
+
|
2040
2045
|
i18n-downloadTitle="kendo.pdfviewer.downloadTitle|The Download tool title and label."
|
2041
2046
|
downloadTitle="Download"
|
2042
|
-
|
2047
|
+
|
2043
2048
|
i18n-printTitle="kendo.pdfviewer.printTitle|The Print tool title and label."
|
2044
2049
|
printTitle="Print"
|
2045
|
-
|
2050
|
+
|
2046
2051
|
i18n-fitToPage="kendo.pdfviewer.fitToPage|The text for the zoom level chooser Fit to page option."
|
2047
2052
|
fitToPage="Fit to page"
|
2048
|
-
|
2053
|
+
|
2049
2054
|
i18n-fitToWidth="kendo.pdfviewer.fitToWidth|The text for the zoom level chooser Fit to width option."
|
2050
2055
|
fitToWidth="Fit to width"
|
2051
|
-
|
2056
|
+
|
2052
2057
|
i18n-searchInputPlaceholder="kendo.pdfviewer.searchInputPlaceholder|The text for the search input placeholder."
|
2053
2058
|
searchInputPlaceholder="Search"
|
2054
|
-
|
2059
|
+
|
2055
2060
|
i18n-searchMatchesOf="kendo.pdfviewer.searchMatchesOf|The text before the total number of matches in the Search tool."
|
2056
2061
|
searchMatchesOf="of"
|
2057
|
-
|
2062
|
+
|
2058
2063
|
i18n-searchPreviousMatchTitle="kendo.pdfviewer.searchPreviousMatchTitle|The title of the Search tool previous match button."
|
2059
2064
|
searchPreviousMatchTitle="Previous match"
|
2060
|
-
|
2065
|
+
|
2061
2066
|
i18n-searchNextMatchTitle="kendo.pdfviewer.searchNextMatchTitle|The title of the Search tool next match button."
|
2062
2067
|
searchNextMatchTitle="Next match"
|
2063
|
-
|
2068
|
+
|
2064
2069
|
i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
|
2065
2070
|
searchCloseTitle="Close"
|
2066
|
-
|
2071
|
+
|
2067
2072
|
i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
|
2068
2073
|
searchMatchCaseTitle="Match case"
|
2069
|
-
|
2074
|
+
|
2070
2075
|
i18n-zoomInputPlaceholder="kendo.pdfviewer.zoomInputPlaceholder|The text for the zoom tool input placeholder."
|
2071
2076
|
zoomInputPlaceholder="Choose zoom level">
|
2072
2077
|
</ng-container>
|
2073
|
-
<div kendoPDFViewerLoader
|
2078
|
+
<div kendoPDFViewerLoader
|
2074
2079
|
*ngIf="loading"
|
2075
2080
|
[settings]="loaderSettings"></div>
|
2076
2081
|
<div kendoPDFViewerToolbar
|
@@ -2114,7 +2119,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2114
2119
|
(prevMatch)="onPreviousMatch()"
|
2115
2120
|
(nextMatch)="onNextMatch()"
|
2116
2121
|
(close)="closeSearch(toolbar)"></div>
|
2117
|
-
<div
|
2122
|
+
<div
|
2118
2123
|
#pagesContainer
|
2119
2124
|
[kendoEventsOutsideAngular]="{
|
2120
2125
|
wheel: stopPropagation
|
@@ -2123,7 +2128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2123
2128
|
[attr.id]="pagesContainerId"></div>
|
2124
2129
|
</div>
|
2125
2130
|
|
2126
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
2131
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
2127
2132
|
`,
|
2128
2133
|
standalone: true,
|
2129
2134
|
imports: [LocalizedPDFViewerMessagesDirective, NgIf, EventsOutsideAngularDirective, LoaderComponent, ToolbarComponent, PDFViewerSearchComponent, WatermarkOverlayComponent]
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@progress/kendo-angular-pdfviewer",
|
3
|
-
"version": "19.3.0-develop.
|
3
|
+
"version": "19.3.0-develop.20",
|
4
4
|
"description": "Kendo UI PDFViewer for Angular",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "Progress",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"package": {
|
20
20
|
"productName": "Kendo UI for Angular",
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
22
|
-
"publishDate":
|
22
|
+
"publishDate": 1754293991,
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
24
24
|
}
|
25
25
|
},
|
@@ -28,22 +28,22 @@
|
|
28
28
|
"@angular/common": "16 - 20",
|
29
29
|
"@angular/core": "16 - 20",
|
30
30
|
"@angular/platform-browser": "16 - 20",
|
31
|
-
"@progress/kendo-licensing": "^1.
|
32
|
-
"@progress/kendo-angular-buttons": "19.3.0-develop.
|
33
|
-
"@progress/kendo-angular-common": "19.3.0-develop.
|
34
|
-
"@progress/kendo-angular-dropdowns": "19.3.0-develop.
|
35
|
-
"@progress/kendo-angular-inputs": "19.3.0-develop.
|
36
|
-
"@progress/kendo-angular-intl": "19.3.0-develop.
|
37
|
-
"@progress/kendo-angular-l10n": "19.3.0-develop.
|
38
|
-
"@progress/kendo-angular-icons": "19.3.0-develop.
|
39
|
-
"@progress/kendo-angular-indicators": "19.3.0-develop.
|
40
|
-
"@progress/kendo-angular-pager": "19.3.0-develop.
|
41
|
-
"@progress/kendo-angular-popup": "19.3.0-develop.
|
31
|
+
"@progress/kendo-licensing": "^1.7.0",
|
32
|
+
"@progress/kendo-angular-buttons": "19.3.0-develop.20",
|
33
|
+
"@progress/kendo-angular-common": "19.3.0-develop.20",
|
34
|
+
"@progress/kendo-angular-dropdowns": "19.3.0-develop.20",
|
35
|
+
"@progress/kendo-angular-inputs": "19.3.0-develop.20",
|
36
|
+
"@progress/kendo-angular-intl": "19.3.0-develop.20",
|
37
|
+
"@progress/kendo-angular-l10n": "19.3.0-develop.20",
|
38
|
+
"@progress/kendo-angular-icons": "19.3.0-develop.20",
|
39
|
+
"@progress/kendo-angular-indicators": "19.3.0-develop.20",
|
40
|
+
"@progress/kendo-angular-pager": "19.3.0-develop.20",
|
41
|
+
"@progress/kendo-angular-popup": "19.3.0-develop.20",
|
42
42
|
"rxjs": "^6.5.3 || ^7.0.0"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
45
|
"tslib": "^2.3.1",
|
46
|
-
"@progress/kendo-angular-schematics": "19.3.0-develop.
|
46
|
+
"@progress/kendo-angular-schematics": "19.3.0-develop.20",
|
47
47
|
"@progress/kendo-file-saver": "^1.0.1",
|
48
48
|
"@progress/kendo-pdfviewer-common": "0.5.0"
|
49
49
|
},
|
package/pdfviewer.component.d.ts
CHANGED
@@ -4,8 +4,8 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
4
4
|
function default_1(options) {
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PDFViewerModule', package: 'pdfviewer', peerDependencies: {
|
6
6
|
// peers of the dropdowns
|
7
|
-
'@progress/kendo-angular-navigation': '19.3.0-develop.
|
8
|
-
'@progress/kendo-angular-treeview': '19.3.0-develop.
|
7
|
+
'@progress/kendo-angular-navigation': '19.3.0-develop.20',
|
8
|
+
'@progress/kendo-angular-treeview': '19.3.0-develop.20'
|
9
9
|
} });
|
10
10
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
11
11
|
}
|