@progress/kendo-angular-pdfviewer 25.0.0-develop.7 → 25.0.0-develop.8

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.
@@ -12,7 +12,7 @@ import { PreventableEvent, Keys, normalizeKeys, focusableSelector, getLicenseMes
12
12
  import { FileSelectComponent, UploadDropZoneComponent, CustomMessagesComponent as CustomMessagesComponent$1 } from '@progress/kendo-angular-upload';
13
13
  import { Subscription } from 'rxjs';
14
14
  import { PagerComponent, CustomMessagesComponent } from '@progress/kendo-angular-pager';
15
- import { zoomInIcon, zoomOutIcon, handIcon, pointerIcon, searchIcon, folderOpenIcon, downloadIcon, printIcon, trackChangesIcon, highlightIcon, freeTextIcon, xIcon, convertLowercaseIcon, arrowUpIcon, arrowDownIcon, paletteIcon, trashIcon, checkIcon } from '@progress/kendo-svg-icons';
15
+ import { zoomInIcon, zoomOutIcon, handIcon, pointerIcon, searchIcon, folderOpenIcon, downloadIcon, printIcon, editAnnotationsIcon, highlightIcon, freeTextIcon, xIcon, convertLowercaseIcon, arrowUpIcon, arrowDownIcon, handleDragIcon, paletteIcon, trashIcon, checkIcon } from '@progress/kendo-svg-icons';
16
16
  import * as i1$1 from '@progress/kendo-angular-dropdowns';
17
17
  import { ComboBoxComponent, ItemTemplateDirective, KENDO_DROPDOWNLIST } from '@progress/kendo-angular-dropdowns';
18
18
  import * as i2 from '@progress/kendo-angular-buttons';
@@ -125,6 +125,10 @@ class Messages extends ComponentMessages {
125
125
  * Sets the title for the **Search** close button.
126
126
  */
127
127
  searchCloseTitle;
128
+ /**
129
+ * Sets the title for the **Search** drag handle button.
130
+ */
131
+ searchDragHandleTitle;
128
132
  /**
129
133
  * Sets the title for the **Search** match case button.
130
134
  */
@@ -197,8 +201,20 @@ class Messages extends ComponentMessages {
197
201
  * Sets the text for the FileSelect button in the blank page drop zone.
198
202
  */
199
203
  blankPageSelect;
204
+ /**
205
+ * Sets the `aria-label` attribute for the toolbar.
206
+ */
207
+ toolbarLabel;
208
+ /**
209
+ * Sets the `aria-label` attribute for the inner input of the zoom level ComboBox.
210
+ */
211
+ zoomLevelAriaLabel;
212
+ /**
213
+ * Sets the `aria-label` attribute for the inner input of the search TextBox.
214
+ */
215
+ searchAriaLabel;
200
216
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
201
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: Messages, isStandalone: true, selector: "kendo-pdfviewer-messages-base", inputs: { zoomInTitle: "zoomInTitle", zoomOutTitle: "zoomOutTitle", selectionTitle: "selectionTitle", panningTitle: "panningTitle", searchTitle: "searchTitle", openTitle: "openTitle", downloadTitle: "downloadTitle", printTitle: "printTitle", pagerInputLabel: "pagerInputLabel", pagerInputTitle: "pagerInputTitle", pagerFirstPage: "pagerFirstPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerLastPage: "pagerLastPage", pagerOf: "pagerOf", pagerPage: "pagerPage", fitToPage: "fitToPage", fitToWidth: "fitToWidth", searchInputPlaceholder: "searchInputPlaceholder", searchMatchesOf: "searchMatchesOf", searchPreviousMatchTitle: "searchPreviousMatchTitle", searchNextMatchTitle: "searchNextMatchTitle", searchCloseTitle: "searchCloseTitle", searchMatchCaseTitle: "searchMatchCaseTitle", zoomInputPlaceholder: "zoomInputPlaceholder", annotationsTitle: "annotationsTitle", annotationEditorTitle: "annotationEditorTitle", deleteAnnotationTitle: "deleteAnnotationTitle", highlightAnnotationTitle: "highlightAnnotationTitle", freeTextAnnotationTitle: "freeTextAnnotationTitle", closeAnnotationsToolbarTitle: "closeAnnotationsToolbarTitle", deleteAnnotationConfirmationDialogTitle: "deleteAnnotationConfirmationDialogTitle", deleteAnnotationConfirmationDialogContent: "deleteAnnotationConfirmationDialogContent", deleteAnnotationConfirmationDialogConfirmText: "deleteAnnotationConfirmationDialogConfirmText", deleteAnnotationConfirmationDialogRejectText: "deleteAnnotationConfirmationDialogRejectText", annotationEditorFontSizeTitle: "annotationEditorFontSizeTitle", annotationEditorColorTitle: "annotationEditorColorTitle", canvasLabel: "canvasLabel", blankPageDropFilesHere: "blankPageDropFilesHere", blankPageExternalDropFilesHere: "blankPageExternalDropFilesHere", blankPageSelect: "blankPageSelect" }, usesInheritance: true, ngImport: i0 });
217
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: Messages, isStandalone: true, selector: "kendo-pdfviewer-messages-base", inputs: { zoomInTitle: "zoomInTitle", zoomOutTitle: "zoomOutTitle", selectionTitle: "selectionTitle", panningTitle: "panningTitle", searchTitle: "searchTitle", openTitle: "openTitle", downloadTitle: "downloadTitle", printTitle: "printTitle", pagerInputLabel: "pagerInputLabel", pagerInputTitle: "pagerInputTitle", pagerFirstPage: "pagerFirstPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerLastPage: "pagerLastPage", pagerOf: "pagerOf", pagerPage: "pagerPage", fitToPage: "fitToPage", fitToWidth: "fitToWidth", searchInputPlaceholder: "searchInputPlaceholder", searchMatchesOf: "searchMatchesOf", searchPreviousMatchTitle: "searchPreviousMatchTitle", searchNextMatchTitle: "searchNextMatchTitle", searchCloseTitle: "searchCloseTitle", searchDragHandleTitle: "searchDragHandleTitle", searchMatchCaseTitle: "searchMatchCaseTitle", zoomInputPlaceholder: "zoomInputPlaceholder", annotationsTitle: "annotationsTitle", annotationEditorTitle: "annotationEditorTitle", deleteAnnotationTitle: "deleteAnnotationTitle", highlightAnnotationTitle: "highlightAnnotationTitle", freeTextAnnotationTitle: "freeTextAnnotationTitle", closeAnnotationsToolbarTitle: "closeAnnotationsToolbarTitle", deleteAnnotationConfirmationDialogTitle: "deleteAnnotationConfirmationDialogTitle", deleteAnnotationConfirmationDialogContent: "deleteAnnotationConfirmationDialogContent", deleteAnnotationConfirmationDialogConfirmText: "deleteAnnotationConfirmationDialogConfirmText", deleteAnnotationConfirmationDialogRejectText: "deleteAnnotationConfirmationDialogRejectText", annotationEditorFontSizeTitle: "annotationEditorFontSizeTitle", annotationEditorColorTitle: "annotationEditorColorTitle", canvasLabel: "canvasLabel", blankPageDropFilesHere: "blankPageDropFilesHere", blankPageExternalDropFilesHere: "blankPageExternalDropFilesHere", blankPageSelect: "blankPageSelect", toolbarLabel: "toolbarLabel", zoomLevelAriaLabel: "zoomLevelAriaLabel", searchAriaLabel: "searchAriaLabel" }, usesInheritance: true, ngImport: i0 });
202
218
  }
203
219
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: Messages, decorators: [{
204
220
  type: Directive,
@@ -251,6 +267,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
251
267
  type: Input
252
268
  }], searchCloseTitle: [{
253
269
  type: Input
270
+ }], searchDragHandleTitle: [{
271
+ type: Input
254
272
  }], searchMatchCaseTitle: [{
255
273
  type: Input
256
274
  }], zoomInputPlaceholder: [{
@@ -287,6 +305,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
287
305
  type: Input
288
306
  }], blankPageSelect: [{
289
307
  type: Input
308
+ }], toolbarLabel: [{
309
+ type: Input
310
+ }], zoomLevelAriaLabel: [{
311
+ type: Input
312
+ }], searchAriaLabel: [{
313
+ type: Input
290
314
  }] } });
291
315
 
292
316
  /**
@@ -340,8 +364,8 @@ const packageMetadata = {
340
364
  productName: 'Kendo UI for Angular',
341
365
  productCode: 'KENDOUIANGULAR',
342
366
  productCodes: ['KENDOUIANGULAR'],
343
- publishDate: 1784619049,
344
- version: '25.0.0-develop.7',
367
+ publishDate: 1784796143,
368
+ version: '25.0.0-develop.8',
345
369
  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',
346
370
  };
347
371
 
@@ -667,6 +691,9 @@ class ToolbarComponent {
667
691
  localization;
668
692
  navigationService;
669
693
  toolbarClasses = true;
694
+ get ariaLabel() {
695
+ return this.messageFor('toolbarLabel');
696
+ }
670
697
  fileSelectEl;
671
698
  zoomLevel = {
672
699
  text: '125%',
@@ -715,7 +742,7 @@ class ToolbarComponent {
715
742
  folderOpenIcon = folderOpenIcon;
716
743
  downloadIcon = downloadIcon;
717
744
  printIcon = printIcon;
718
- trackChangesIcon = trackChangesIcon;
745
+ editAnnotationsIcon = editAnnotationsIcon;
719
746
  highlightIcon = highlightIcon;
720
747
  freeTextIcon = freeTextIcon;
721
748
  xIcon = xIcon;
@@ -770,7 +797,7 @@ class ToolbarComponent {
770
797
  };
771
798
  }));
772
799
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.LocalizationService }, { token: ToolbarNavigationService }], target: i0.ɵɵFactoryTarget.Component });
773
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ToolbarComponent, isStandalone: true, selector: "[kendoPDFViewerToolbar]", inputs: { zoomLevel: "zoomLevel", calculatedComboBoxValue: "calculatedComboBoxValue", skip: "skip", pageSize: "pageSize", total: "total", zoomInDisabled: "zoomInDisabled", zoomOutDisabled: "zoomOutDisabled", disabledTools: "disabledTools", zoomLevelChooserValue: "zoomLevelChooserValue", zoomOptionsData: "zoomOptionsData", pagesContainerId: "pagesContainerId", tools: "tools", type: "type", wrapperId: "wrapperId", isAnnotationsToolbarVisible: "isAnnotationsToolbarVisible", annotationsToolId: "annotationsToolId", isSelectionEnabled: "isSelectionEnabled" }, outputs: { fileSelect: "fileSelect", fileSelectStart: "fileSelectStart", fileSelectError: "fileSelectError", download: "download", selectionEnabled: "selectionEnabled", panningEnabled: "panningEnabled", pageChange: "pageChange", zoomIn: "zoomIn", zoomOut: "zoomOut", zoomLevelChange: "zoomLevelChange", print: "print", search: "search", toggleAnnotationsToolbar: "toggleAnnotationsToolbar", setAnnotationMode: "setAnnotationMode" }, host: { properties: { "class.k-toolbar": "this.toolbarClasses", "class.k-toolbar-flat": "this.toolbarClasses" } }, providers: [ToolbarNavigationService], viewQueries: [{ propertyName: "fileSelectEl", first: true, predicate: ["fileSelectEl"], descendants: true }], ngImport: i0, template: `
800
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ToolbarComponent, isStandalone: true, selector: "[kendoPDFViewerToolbar]", inputs: { zoomLevel: "zoomLevel", calculatedComboBoxValue: "calculatedComboBoxValue", skip: "skip", pageSize: "pageSize", total: "total", zoomInDisabled: "zoomInDisabled", zoomOutDisabled: "zoomOutDisabled", disabledTools: "disabledTools", zoomLevelChooserValue: "zoomLevelChooserValue", zoomOptionsData: "zoomOptionsData", pagesContainerId: "pagesContainerId", tools: "tools", type: "type", wrapperId: "wrapperId", isAnnotationsToolbarVisible: "isAnnotationsToolbarVisible", annotationsToolId: "annotationsToolId", isSelectionEnabled: "isSelectionEnabled" }, outputs: { fileSelect: "fileSelect", fileSelectStart: "fileSelectStart", fileSelectError: "fileSelectError", download: "download", selectionEnabled: "selectionEnabled", panningEnabled: "panningEnabled", pageChange: "pageChange", zoomIn: "zoomIn", zoomOut: "zoomOut", zoomLevelChange: "zoomLevelChange", print: "print", search: "search", toggleAnnotationsToolbar: "toggleAnnotationsToolbar", setAnnotationMode: "setAnnotationMode" }, host: { properties: { "class.k-toolbar": "this.toolbarClasses", "class.k-toolbar-flat": "this.toolbarClasses", "attr.aria-label": "this.ariaLabel" } }, providers: [ToolbarNavigationService], viewQueries: [{ propertyName: "fileSelectEl", first: true, predicate: ["fileSelectEl"], descendants: true }], ngImport: i0, template: `
774
801
  @if (type === 'tools') {
775
802
  @for (tool of tools; track $index) {
776
803
  @switch (tool) {
@@ -850,12 +877,13 @@ class ToolbarComponent {
850
877
  [data]="zoomOptionsData"
851
878
  [disabled]="disabledTools"
852
879
  [placeholder]="messageFor('zoomInputPlaceholder')"
880
+ [inputAttributes]="{'aria-label': messageFor('zoomLevelAriaLabel')}"
853
881
  textField="displayValue"
854
882
  valueField="id"
855
883
  [value]="zoomLevelChooserValue"
856
884
  [allowCustom]="true"
857
885
  [valueNormalizer]="valueNormalizer"
858
- [clearButton]="false"
886
+ [clearButton]="true"
859
887
  (valueChange)="onZoomLevelChooserValueChange($event)">
860
888
  <ng-template kendoComboBoxItemTemplate let-dataItem>
861
889
  {{ dataItem.type ? messageFor('f' + dataItem.type.slice(1)) : dataItem.text }}
@@ -962,14 +990,14 @@ class ToolbarComponent {
962
990
  kendoButton
963
991
  class="k-toolbar-button"
964
992
  fillMode="flat"
965
- icon="track-changes"
993
+ icon="edit-annotations"
966
994
  [selected]="isAnnotationsToolbarVisible"
967
995
  [disabled]="disabledTools || !isSelectionEnabled"
968
996
  [attr.title]="messageFor('annotationsTitle')"
969
997
  [attr.aria-label]="messageFor('annotationsTitle')"
970
998
  [attr.aria-controls]="wrapperId"
971
999
  [attr.aria-expanded]="isAnnotationsToolbarVisible"
972
- [svgIcon]="trackChangesIcon"
1000
+ [svgIcon]="editAnnotationsIcon"
973
1001
  (click)="toggleAnnotationsToolbar.emit();"></button>
974
1002
  }
975
1003
  }
@@ -1118,12 +1146,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
1118
1146
  [data]="zoomOptionsData"
1119
1147
  [disabled]="disabledTools"
1120
1148
  [placeholder]="messageFor('zoomInputPlaceholder')"
1149
+ [inputAttributes]="{'aria-label': messageFor('zoomLevelAriaLabel')}"
1121
1150
  textField="displayValue"
1122
1151
  valueField="id"
1123
1152
  [value]="zoomLevelChooserValue"
1124
1153
  [allowCustom]="true"
1125
1154
  [valueNormalizer]="valueNormalizer"
1126
- [clearButton]="false"
1155
+ [clearButton]="true"
1127
1156
  (valueChange)="onZoomLevelChooserValueChange($event)">
1128
1157
  <ng-template kendoComboBoxItemTemplate let-dataItem>
1129
1158
  {{ dataItem.type ? messageFor('f' + dataItem.type.slice(1)) : dataItem.text }}
@@ -1230,14 +1259,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
1230
1259
  kendoButton
1231
1260
  class="k-toolbar-button"
1232
1261
  fillMode="flat"
1233
- icon="track-changes"
1262
+ icon="edit-annotations"
1234
1263
  [selected]="isAnnotationsToolbarVisible"
1235
1264
  [disabled]="disabledTools || !isSelectionEnabled"
1236
1265
  [attr.title]="messageFor('annotationsTitle')"
1237
1266
  [attr.aria-label]="messageFor('annotationsTitle')"
1238
1267
  [attr.aria-controls]="wrapperId"
1239
1268
  [attr.aria-expanded]="isAnnotationsToolbarVisible"
1240
- [svgIcon]="trackChangesIcon"
1269
+ [svgIcon]="editAnnotationsIcon"
1241
1270
  (click)="toggleAnnotationsToolbar.emit();"></button>
1242
1271
  }
1243
1272
  }
@@ -1309,6 +1338,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
1309
1338
  }, {
1310
1339
  type: HostBinding,
1311
1340
  args: ['class.k-toolbar-flat']
1341
+ }], ariaLabel: [{
1342
+ type: HostBinding,
1343
+ args: ['attr.aria-label']
1312
1344
  }], fileSelectEl: [{
1313
1345
  type: ViewChild,
1314
1346
  args: ['fileSelectEl']
@@ -1399,6 +1431,7 @@ class PDFViewerSearchComponent {
1399
1431
  convertLowercaseIcon = convertLowercaseIcon;
1400
1432
  arrowUpIcon = arrowUpIcon;
1401
1433
  arrowDownIcon = arrowDownIcon;
1434
+ handleDragIcon = handleDragIcon;
1402
1435
  xIcon = xIcon;
1403
1436
  value = null;
1404
1437
  matchCase = false;
@@ -1419,17 +1452,28 @@ class PDFViewerSearchComponent {
1419
1452
  }
1420
1453
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: PDFViewerSearchComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1421
1454
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: PDFViewerSearchComponent, isStandalone: true, selector: "[kendoPDFViewerSearch]", inputs: { matches: "matches", currentMatch: "currentMatch" }, outputs: { searchChange: "searchChange", prevMatch: "prevMatch", nextMatch: "nextMatch", close: "close" }, host: { listeners: { "keydown.escape": "onEscape()" }, properties: { "attr.role": "this.ariaRole", "attr.aria-label": "this.ariaLabel" } }, viewQueries: [{ propertyName: "textbox", first: true, predicate: ["textbox"], descendants: true }, { propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true, read: ElementRef }], ngImport: i0, template: `
1455
+ <button
1456
+ type="button"
1457
+ kendoButton
1458
+ class="k-search-dialog-draghandle"
1459
+ fillMode="flat"
1460
+ [attr.aria-label]="messageFor('searchDragHandleTitle')"
1461
+ icon="handle-drag"
1462
+ [svgIcon]="handleDragIcon"></button>
1422
1463
  <kendo-textbox
1423
1464
  #textbox
1424
1465
  [placeholder]="messageFor('searchInputPlaceholder')"
1466
+ [inputAttributes]="{'aria-label': messageFor('searchAriaLabel')}"
1425
1467
  [value]="value"
1426
1468
  (valueChange)="value = $event; searchChange.emit({text: $event, matchCase})"
1427
1469
  (keydown.shift.tab)="onShiftTab($event)">
1428
- <ng-template kendoTextBoxSuffixTemplate>
1470
+ <ng-template kendoTextBoxSuffixTemplate [showSeparator]="true">
1429
1471
  <button
1430
1472
  type="button"
1431
1473
  kendoButton
1474
+ class="k-match-case-button"
1432
1475
  [attr.title]="messageFor('searchMatchCaseTitle')"
1476
+ [attr.aria-label]="messageFor('searchMatchCaseTitle')"
1433
1477
  fillMode="flat"
1434
1478
  [togglable]="true"
1435
1479
  (click)="matchCase = !matchCase; searchChange.emit({text: value, matchCase})"
@@ -1444,6 +1488,7 @@ class PDFViewerSearchComponent {
1444
1488
  type="button"
1445
1489
  kendoButton
1446
1490
  [attr.title]="messageFor('searchPreviousMatchTitle')"
1491
+ [attr.aria-label]="messageFor('searchPreviousMatchTitle')"
1447
1492
  fillMode="flat"
1448
1493
  [disabled]="matches === 0"
1449
1494
  (click)="prevMatch.emit()"
@@ -1453,6 +1498,7 @@ class PDFViewerSearchComponent {
1453
1498
  type="button"
1454
1499
  kendoButton
1455
1500
  [attr.title]="messageFor('searchNextMatchTitle')"
1501
+ [attr.aria-label]="messageFor('searchNextMatchTitle')"
1456
1502
  fillMode="flat"
1457
1503
  [disabled]="matches === 0"
1458
1504
  (click)="nextMatch.emit()"
@@ -1463,6 +1509,7 @@ class PDFViewerSearchComponent {
1463
1509
  #closeButton
1464
1510
  kendoButton
1465
1511
  [attr.title]="messageFor('searchCloseTitle')"
1512
+ [attr.aria-label]="messageFor('searchCloseTitle')"
1466
1513
  fillMode="flat"
1467
1514
  (click)="close.emit()"
1468
1515
  (keydown.tab)="$event.preventDefault(); textbox.focus();"
@@ -1475,17 +1522,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
1475
1522
  args: [{
1476
1523
  selector: '[kendoPDFViewerSearch]',
1477
1524
  template: `
1525
+ <button
1526
+ type="button"
1527
+ kendoButton
1528
+ class="k-search-dialog-draghandle"
1529
+ fillMode="flat"
1530
+ [attr.aria-label]="messageFor('searchDragHandleTitle')"
1531
+ icon="handle-drag"
1532
+ [svgIcon]="handleDragIcon"></button>
1478
1533
  <kendo-textbox
1479
1534
  #textbox
1480
1535
  [placeholder]="messageFor('searchInputPlaceholder')"
1536
+ [inputAttributes]="{'aria-label': messageFor('searchAriaLabel')}"
1481
1537
  [value]="value"
1482
1538
  (valueChange)="value = $event; searchChange.emit({text: $event, matchCase})"
1483
1539
  (keydown.shift.tab)="onShiftTab($event)">
1484
- <ng-template kendoTextBoxSuffixTemplate>
1540
+ <ng-template kendoTextBoxSuffixTemplate [showSeparator]="true">
1485
1541
  <button
1486
1542
  type="button"
1487
1543
  kendoButton
1544
+ class="k-match-case-button"
1488
1545
  [attr.title]="messageFor('searchMatchCaseTitle')"
1546
+ [attr.aria-label]="messageFor('searchMatchCaseTitle')"
1489
1547
  fillMode="flat"
1490
1548
  [togglable]="true"
1491
1549
  (click)="matchCase = !matchCase; searchChange.emit({text: value, matchCase})"
@@ -1500,6 +1558,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
1500
1558
  type="button"
1501
1559
  kendoButton
1502
1560
  [attr.title]="messageFor('searchPreviousMatchTitle')"
1561
+ [attr.aria-label]="messageFor('searchPreviousMatchTitle')"
1503
1562
  fillMode="flat"
1504
1563
  [disabled]="matches === 0"
1505
1564
  (click)="prevMatch.emit()"
@@ -1509,6 +1568,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
1509
1568
  type="button"
1510
1569
  kendoButton
1511
1570
  [attr.title]="messageFor('searchNextMatchTitle')"
1571
+ [attr.aria-label]="messageFor('searchNextMatchTitle')"
1512
1572
  fillMode="flat"
1513
1573
  [disabled]="matches === 0"
1514
1574
  (click)="nextMatch.emit()"
@@ -1519,6 +1579,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
1519
1579
  #closeButton
1520
1580
  kendoButton
1521
1581
  [attr.title]="messageFor('searchCloseTitle')"
1582
+ [attr.aria-label]="messageFor('searchCloseTitle')"
1522
1583
  fillMode="flat"
1523
1584
  (click)="close.emit()"
1524
1585
  (keydown.tab)="$event.preventDefault(); textbox.focus();"
@@ -2667,6 +2728,9 @@ class PDFViewerComponent {
2667
2728
  i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
2668
2729
  searchCloseTitle="Close"
2669
2730
 
2731
+ i18n-searchDragHandleTitle="kendo.pdfviewer.searchDragHandleTitle|The title of the Search tool drag handle button."
2732
+ searchDragHandleTitle="Drag handle"
2733
+
2670
2734
  i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
2671
2735
  searchMatchCaseTitle="Match case"
2672
2736
 
@@ -2719,7 +2783,16 @@ class PDFViewerComponent {
2719
2783
  blankPageExternalDropFilesHere="Drag and drop files here to upload"
2720
2784
 
2721
2785
  i18n-blankPageSelect="kendo.pdfviewer.blankPageSelect|The FileSelect button text for the blank page."
2722
- blankPageSelect="Select files...">
2786
+ blankPageSelect="Select files..."
2787
+
2788
+ i18n-toolbarLabel="kendo.pdfviewer.toolbarLabel|The aria-label for the toolbar."
2789
+ toolbarLabel="Toolbar"
2790
+
2791
+ i18n-zoomLevelAriaLabel="kendo.pdfviewer.zoomLevelAriaLabel|The aria-label for the inner input of the zoom level ComboBox."
2792
+ zoomLevelAriaLabel="Zoom level"
2793
+
2794
+ i18n-searchAriaLabel="kendo.pdfviewer.searchAriaLabel|The aria-label for the inner input of the search TextBox."
2795
+ searchAriaLabel="Search text">
2723
2796
  </ng-container>
2724
2797
  @if (loading) {
2725
2798
  <div kendoPDFViewerLoader
@@ -2908,6 +2981,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
2908
2981
  i18n-searchCloseTitle="kendo.pdfviewer.searchCloseTitle|The title of the Search tool close button."
2909
2982
  searchCloseTitle="Close"
2910
2983
 
2984
+ i18n-searchDragHandleTitle="kendo.pdfviewer.searchDragHandleTitle|The title of the Search tool drag handle button."
2985
+ searchDragHandleTitle="Drag handle"
2986
+
2911
2987
  i18n-searchMatchCaseTitle="kendo.pdfviewer.searchMatchCaseTitle|The title of the Search tool match case button."
2912
2988
  searchMatchCaseTitle="Match case"
2913
2989
 
@@ -2960,7 +3036,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
2960
3036
  blankPageExternalDropFilesHere="Drag and drop files here to upload"
2961
3037
 
2962
3038
  i18n-blankPageSelect="kendo.pdfviewer.blankPageSelect|The FileSelect button text for the blank page."
2963
- blankPageSelect="Select files...">
3039
+ blankPageSelect="Select files..."
3040
+
3041
+ i18n-toolbarLabel="kendo.pdfviewer.toolbarLabel|The aria-label for the toolbar."
3042
+ toolbarLabel="Toolbar"
3043
+
3044
+ i18n-zoomLevelAriaLabel="kendo.pdfviewer.zoomLevelAriaLabel|The aria-label for the inner input of the zoom level ComboBox."
3045
+ zoomLevelAriaLabel="Zoom level"
3046
+
3047
+ i18n-searchAriaLabel="kendo.pdfviewer.searchAriaLabel|The aria-label for the inner input of the search TextBox."
3048
+ searchAriaLabel="Search text">
2964
3049
  </ng-container>
2965
3050
  @if (loading) {
2966
3051
  <div kendoPDFViewerLoader
package/index.d.ts CHANGED
@@ -197,6 +197,7 @@ declare class ToolbarComponent {
197
197
  private localization;
198
198
  private navigationService;
199
199
  toolbarClasses: boolean;
200
+ get ariaLabel(): string;
200
201
  fileSelectEl: ElementRef;
201
202
  zoomLevel: ZoomLevel;
202
203
  calculatedComboBoxValue: {
@@ -241,7 +242,7 @@ declare class ToolbarComponent {
241
242
  folderOpenIcon: SVGIcon;
242
243
  downloadIcon: SVGIcon;
243
244
  printIcon: SVGIcon;
244
- trackChangesIcon: SVGIcon;
245
+ editAnnotationsIcon: SVGIcon;
245
246
  highlightIcon: SVGIcon;
246
247
  freeTextIcon: SVGIcon;
247
248
  xIcon: SVGIcon;
@@ -723,6 +724,10 @@ declare class Messages extends ComponentMessages {
723
724
  * Sets the title for the **Search** close button.
724
725
  */
725
726
  searchCloseTitle: string;
727
+ /**
728
+ * Sets the title for the **Search** drag handle button.
729
+ */
730
+ searchDragHandleTitle: string;
726
731
  /**
727
732
  * Sets the title for the **Search** match case button.
728
733
  */
@@ -795,8 +800,20 @@ declare class Messages extends ComponentMessages {
795
800
  * Sets the text for the FileSelect button in the blank page drop zone.
796
801
  */
797
802
  blankPageSelect: string;
803
+ /**
804
+ * Sets the `aria-label` attribute for the toolbar.
805
+ */
806
+ toolbarLabel: string;
807
+ /**
808
+ * Sets the `aria-label` attribute for the inner input of the zoom level ComboBox.
809
+ */
810
+ zoomLevelAriaLabel: string;
811
+ /**
812
+ * Sets the `aria-label` attribute for the inner input of the search TextBox.
813
+ */
814
+ searchAriaLabel: string;
798
815
  static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
799
- static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-pdfviewer-messages-base", never, { "zoomInTitle": { "alias": "zoomInTitle"; "required": false; }; "zoomOutTitle": { "alias": "zoomOutTitle"; "required": false; }; "selectionTitle": { "alias": "selectionTitle"; "required": false; }; "panningTitle": { "alias": "panningTitle"; "required": false; }; "searchTitle": { "alias": "searchTitle"; "required": false; }; "openTitle": { "alias": "openTitle"; "required": false; }; "downloadTitle": { "alias": "downloadTitle"; "required": false; }; "printTitle": { "alias": "printTitle"; "required": false; }; "pagerInputLabel": { "alias": "pagerInputLabel"; "required": false; }; "pagerInputTitle": { "alias": "pagerInputTitle"; "required": false; }; "pagerFirstPage": { "alias": "pagerFirstPage"; "required": false; }; "pagerPreviousPage": { "alias": "pagerPreviousPage"; "required": false; }; "pagerNextPage": { "alias": "pagerNextPage"; "required": false; }; "pagerLastPage": { "alias": "pagerLastPage"; "required": false; }; "pagerOf": { "alias": "pagerOf"; "required": false; }; "pagerPage": { "alias": "pagerPage"; "required": false; }; "fitToPage": { "alias": "fitToPage"; "required": false; }; "fitToWidth": { "alias": "fitToWidth"; "required": false; }; "searchInputPlaceholder": { "alias": "searchInputPlaceholder"; "required": false; }; "searchMatchesOf": { "alias": "searchMatchesOf"; "required": false; }; "searchPreviousMatchTitle": { "alias": "searchPreviousMatchTitle"; "required": false; }; "searchNextMatchTitle": { "alias": "searchNextMatchTitle"; "required": false; }; "searchCloseTitle": { "alias": "searchCloseTitle"; "required": false; }; "searchMatchCaseTitle": { "alias": "searchMatchCaseTitle"; "required": false; }; "zoomInputPlaceholder": { "alias": "zoomInputPlaceholder"; "required": false; }; "annotationsTitle": { "alias": "annotationsTitle"; "required": false; }; "annotationEditorTitle": { "alias": "annotationEditorTitle"; "required": false; }; "deleteAnnotationTitle": { "alias": "deleteAnnotationTitle"; "required": false; }; "highlightAnnotationTitle": { "alias": "highlightAnnotationTitle"; "required": false; }; "freeTextAnnotationTitle": { "alias": "freeTextAnnotationTitle"; "required": false; }; "closeAnnotationsToolbarTitle": { "alias": "closeAnnotationsToolbarTitle"; "required": false; }; "deleteAnnotationConfirmationDialogTitle": { "alias": "deleteAnnotationConfirmationDialogTitle"; "required": false; }; "deleteAnnotationConfirmationDialogContent": { "alias": "deleteAnnotationConfirmationDialogContent"; "required": false; }; "deleteAnnotationConfirmationDialogConfirmText": { "alias": "deleteAnnotationConfirmationDialogConfirmText"; "required": false; }; "deleteAnnotationConfirmationDialogRejectText": { "alias": "deleteAnnotationConfirmationDialogRejectText"; "required": false; }; "annotationEditorFontSizeTitle": { "alias": "annotationEditorFontSizeTitle"; "required": false; }; "annotationEditorColorTitle": { "alias": "annotationEditorColorTitle"; "required": false; }; "canvasLabel": { "alias": "canvasLabel"; "required": false; }; "blankPageDropFilesHere": { "alias": "blankPageDropFilesHere"; "required": false; }; "blankPageExternalDropFilesHere": { "alias": "blankPageExternalDropFilesHere"; "required": false; }; "blankPageSelect": { "alias": "blankPageSelect"; "required": false; }; }, {}, never, never, true, never>;
816
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-pdfviewer-messages-base", never, { "zoomInTitle": { "alias": "zoomInTitle"; "required": false; }; "zoomOutTitle": { "alias": "zoomOutTitle"; "required": false; }; "selectionTitle": { "alias": "selectionTitle"; "required": false; }; "panningTitle": { "alias": "panningTitle"; "required": false; }; "searchTitle": { "alias": "searchTitle"; "required": false; }; "openTitle": { "alias": "openTitle"; "required": false; }; "downloadTitle": { "alias": "downloadTitle"; "required": false; }; "printTitle": { "alias": "printTitle"; "required": false; }; "pagerInputLabel": { "alias": "pagerInputLabel"; "required": false; }; "pagerInputTitle": { "alias": "pagerInputTitle"; "required": false; }; "pagerFirstPage": { "alias": "pagerFirstPage"; "required": false; }; "pagerPreviousPage": { "alias": "pagerPreviousPage"; "required": false; }; "pagerNextPage": { "alias": "pagerNextPage"; "required": false; }; "pagerLastPage": { "alias": "pagerLastPage"; "required": false; }; "pagerOf": { "alias": "pagerOf"; "required": false; }; "pagerPage": { "alias": "pagerPage"; "required": false; }; "fitToPage": { "alias": "fitToPage"; "required": false; }; "fitToWidth": { "alias": "fitToWidth"; "required": false; }; "searchInputPlaceholder": { "alias": "searchInputPlaceholder"; "required": false; }; "searchMatchesOf": { "alias": "searchMatchesOf"; "required": false; }; "searchPreviousMatchTitle": { "alias": "searchPreviousMatchTitle"; "required": false; }; "searchNextMatchTitle": { "alias": "searchNextMatchTitle"; "required": false; }; "searchCloseTitle": { "alias": "searchCloseTitle"; "required": false; }; "searchDragHandleTitle": { "alias": "searchDragHandleTitle"; "required": false; }; "searchMatchCaseTitle": { "alias": "searchMatchCaseTitle"; "required": false; }; "zoomInputPlaceholder": { "alias": "zoomInputPlaceholder"; "required": false; }; "annotationsTitle": { "alias": "annotationsTitle"; "required": false; }; "annotationEditorTitle": { "alias": "annotationEditorTitle"; "required": false; }; "deleteAnnotationTitle": { "alias": "deleteAnnotationTitle"; "required": false; }; "highlightAnnotationTitle": { "alias": "highlightAnnotationTitle"; "required": false; }; "freeTextAnnotationTitle": { "alias": "freeTextAnnotationTitle"; "required": false; }; "closeAnnotationsToolbarTitle": { "alias": "closeAnnotationsToolbarTitle"; "required": false; }; "deleteAnnotationConfirmationDialogTitle": { "alias": "deleteAnnotationConfirmationDialogTitle"; "required": false; }; "deleteAnnotationConfirmationDialogContent": { "alias": "deleteAnnotationConfirmationDialogContent"; "required": false; }; "deleteAnnotationConfirmationDialogConfirmText": { "alias": "deleteAnnotationConfirmationDialogConfirmText"; "required": false; }; "deleteAnnotationConfirmationDialogRejectText": { "alias": "deleteAnnotationConfirmationDialogRejectText"; "required": false; }; "annotationEditorFontSizeTitle": { "alias": "annotationEditorFontSizeTitle"; "required": false; }; "annotationEditorColorTitle": { "alias": "annotationEditorColorTitle"; "required": false; }; "canvasLabel": { "alias": "canvasLabel"; "required": false; }; "blankPageDropFilesHere": { "alias": "blankPageDropFilesHere"; "required": false; }; "blankPageExternalDropFilesHere": { "alias": "blankPageExternalDropFilesHere"; "required": false; }; "blankPageSelect": { "alias": "blankPageSelect"; "required": false; }; "toolbarLabel": { "alias": "toolbarLabel"; "required": false; }; "zoomLevelAriaLabel": { "alias": "zoomLevelAriaLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; }, {}, never, never, true, never>;
800
817
  }
801
818
 
802
819
  /**
@@ -880,6 +897,7 @@ declare class PDFViewerSearchComponent implements AfterViewInit {
880
897
  convertLowercaseIcon: SVGIcon;
881
898
  arrowUpIcon: SVGIcon;
882
899
  arrowDownIcon: SVGIcon;
900
+ handleDragIcon: SVGIcon;
883
901
  xIcon: SVGIcon;
884
902
  value: string;
885
903
  matchCase: boolean;
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1784619049,
11
- "version": "25.0.0-develop.7",
10
+ "publishDate": 1784796143,
11
+ "version": "25.0.0-develop.8",
12
12
  "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"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-pdfviewer",
3
- "version": "25.0.0-develop.7",
3
+ "version": "25.0.0-develop.8",
4
4
  "description": "Kendo UI PDFViewer for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -34,7 +34,7 @@
34
34
  "package": {
35
35
  "productName": "Kendo UI for Angular",
36
36
  "productCode": "KENDOUIANGULAR",
37
- "publishDate": 1784619049,
37
+ "publishDate": 1784796143,
38
38
  "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"
39
39
  }
40
40
  },
@@ -44,23 +44,23 @@
44
44
  "@angular/core": "20 - 22",
45
45
  "@angular/platform-browser": "20 - 22",
46
46
  "@progress/kendo-licensing": "^1.11.0",
47
- "@progress/kendo-angular-buttons": "25.0.0-develop.7",
48
- "@progress/kendo-angular-common": "25.0.0-develop.7",
49
- "@progress/kendo-angular-dialog": "25.0.0-develop.7",
50
- "@progress/kendo-angular-dropdowns": "25.0.0-develop.7",
51
- "@progress/kendo-angular-inputs": "25.0.0-develop.7",
52
- "@progress/kendo-angular-intl": "25.0.0-develop.7",
53
- "@progress/kendo-angular-l10n": "25.0.0-develop.7",
54
- "@progress/kendo-angular-icons": "25.0.0-develop.7",
55
- "@progress/kendo-angular-indicators": "25.0.0-develop.7",
56
- "@progress/kendo-angular-pager": "25.0.0-develop.7",
57
- "@progress/kendo-angular-popup": "25.0.0-develop.7",
58
- "@progress/kendo-angular-upload": "25.0.0-develop.7",
47
+ "@progress/kendo-angular-buttons": "25.0.0-develop.8",
48
+ "@progress/kendo-angular-common": "25.0.0-develop.8",
49
+ "@progress/kendo-angular-dialog": "25.0.0-develop.8",
50
+ "@progress/kendo-angular-dropdowns": "25.0.0-develop.8",
51
+ "@progress/kendo-angular-inputs": "25.0.0-develop.8",
52
+ "@progress/kendo-angular-intl": "25.0.0-develop.8",
53
+ "@progress/kendo-angular-l10n": "25.0.0-develop.8",
54
+ "@progress/kendo-angular-icons": "25.0.0-develop.8",
55
+ "@progress/kendo-angular-indicators": "25.0.0-develop.8",
56
+ "@progress/kendo-angular-pager": "25.0.0-develop.8",
57
+ "@progress/kendo-angular-popup": "25.0.0-develop.8",
58
+ "@progress/kendo-angular-upload": "25.0.0-develop.8",
59
59
  "rxjs": "^6.5.3 || ^7.0.0"
60
60
  },
61
61
  "dependencies": {
62
62
  "tslib": "^2.3.1",
63
- "@progress/kendo-angular-schematics": "25.0.0-develop.7",
63
+ "@progress/kendo-angular-schematics": "25.0.0-develop.8",
64
64
  "@progress/kendo-file-saver": "^1.0.1",
65
65
  "@progress/kendo-pdfviewer-common": "1.0.0"
66
66
  },
@@ -9,8 +9,8 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PDFViewerModule', package: 'pdfviewer', peerDependencies: {
11
11
  // peers of the dropdowns
12
- '@progress/kendo-angular-navigation': '25.0.0-develop.7',
13
- '@progress/kendo-angular-treeview': '25.0.0-develop.7'
12
+ '@progress/kendo-angular-navigation': '25.0.0-develop.8',
13
+ '@progress/kendo-angular-treeview': '25.0.0-develop.8'
14
14
  } });
15
15
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
16
16
  }