@progress/kendo-angular-pdfviewer 25.4.0-develop.32 → 25.4.0-develop.33

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.
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { Input, Directive, forwardRef, Component, Injectable, HostBinding, EventEmitter, Output, ViewChild, ElementRef, HostListener, isDevMode, ViewContainerRef, ContentChild, NgModule } from '@angular/core';
6
+ import { Input, Directive, forwardRef, ChangeDetectionStrategy, Component, Injectable, signal as signal$1, HostBinding, EventEmitter, Output, ViewChild, ElementRef, HostListener, isDevMode, ViewContainerRef, ContentChild, NgModule } from '@angular/core';
7
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';
@@ -341,16 +341,17 @@ class PDFViewerCustomMessagesComponent extends Messages {
341
341
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: PDFViewerCustomMessagesComponent, isStandalone: true, selector: "kendo-pdfviewer-messages", providers: [{
342
342
  provide: Messages,
343
343
  useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
344
- }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
344
+ }], usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
345
345
  }
346
346
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: PDFViewerCustomMessagesComponent, decorators: [{
347
347
  type: Component,
348
348
  args: [{
349
+ selector: 'kendo-pdfviewer-messages',
350
+ changeDetection: ChangeDetectionStrategy.OnPush,
349
351
  providers: [{
350
352
  provide: Messages,
351
353
  useExisting: forwardRef(() => PDFViewerCustomMessagesComponent)
352
354
  }],
353
- selector: 'kendo-pdfviewer-messages',
354
355
  template: ``,
355
356
  standalone: true
356
357
  }]
@@ -364,8 +365,8 @@ const packageMetadata = {
364
365
  productName: 'Kendo UI for Angular',
365
366
  productCode: 'KENDOUIANGULAR',
366
367
  productCodes: ['KENDOUIANGULAR'],
367
- publishDate: 1793967249,
368
- version: '25.4.0-develop.32',
368
+ publishDate: 1793971490,
369
+ version: '25.4.0-develop.33',
369
370
  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',
370
371
  };
371
372
 
@@ -631,8 +632,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
631
632
  class ToolbarInputWrapperComponent {
632
633
  host;
633
634
  renderer;
634
- toolbarTool;
635
+ set toolbarTool(value) {
636
+ this._toolbarTool.set(value);
637
+ }
638
+ get toolbarTool() {
639
+ return this._toolbarTool();
640
+ }
635
641
  hostClass = true;
642
+ _toolbarTool = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_toolbarTool" }] : []));
636
643
  subs = new Subscription();
637
644
  constructor(host, renderer) {
638
645
  this.host = host;
@@ -666,12 +673,13 @@ class ToolbarInputWrapperComponent {
666
673
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ToolbarInputWrapperComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
667
674
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: ToolbarInputWrapperComponent, isStandalone: true, selector: "kendo-toolbar-input-wrapper", inputs: { toolbarTool: "toolbarTool" }, host: { properties: { "class.k-toolbar-item": "this.hostClass" } }, ngImport: i0, template: `
668
675
  <ng-content></ng-content>
669
- `, isInline: true });
676
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
670
677
  }
671
678
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ToolbarInputWrapperComponent, decorators: [{
672
679
  type: Component,
673
680
  args: [{
674
681
  selector: 'kendo-toolbar-input-wrapper',
682
+ changeDetection: ChangeDetectionStrategy.OnPush,
675
683
  template: `
676
684
  <ng-content></ng-content>
677
685
  `,
@@ -695,31 +703,108 @@ class ToolbarComponent {
695
703
  return this.messageFor('toolbarLabel');
696
704
  }
697
705
  fileSelectEl;
698
- zoomLevel = {
699
- text: '125%',
700
- displayValue: '125%',
701
- value: 1.25
702
- };
703
- calculatedComboBoxValue = {
704
- text: 'Fit to width',
705
- displayValue: null,
706
- value: null
707
- };
708
- skip = 0;
709
- pageSize = 1;
710
- total;
711
- zoomInDisabled;
712
- zoomOutDisabled;
713
- disabledTools;
714
- zoomLevelChooserValue;
715
- zoomOptionsData;
716
- pagesContainerId;
717
- tools;
718
- type = 'tools';
719
- wrapperId;
720
- isAnnotationsToolbarVisible = false;
721
- annotationsToolId;
722
- isSelectionEnabled = false;
706
+ set zoomLevel(value) {
707
+ this._zoomLevel.set(value);
708
+ }
709
+ get zoomLevel() {
710
+ return this._zoomLevel();
711
+ }
712
+ set calculatedComboBoxValue(value) {
713
+ this._calculatedComboBoxValue.set(value);
714
+ }
715
+ get calculatedComboBoxValue() {
716
+ return this._calculatedComboBoxValue();
717
+ }
718
+ set skip(value) {
719
+ this._skip.set(value);
720
+ }
721
+ get skip() {
722
+ return this._skip();
723
+ }
724
+ set pageSize(value) {
725
+ this._pageSize.set(value);
726
+ }
727
+ get pageSize() {
728
+ return this._pageSize();
729
+ }
730
+ set total(value) {
731
+ this._total.set(value);
732
+ }
733
+ get total() {
734
+ return this._total();
735
+ }
736
+ set zoomInDisabled(value) {
737
+ this._zoomInDisabled.set(value);
738
+ }
739
+ get zoomInDisabled() {
740
+ return this._zoomInDisabled();
741
+ }
742
+ set zoomOutDisabled(value) {
743
+ this._zoomOutDisabled.set(value);
744
+ }
745
+ get zoomOutDisabled() {
746
+ return this._zoomOutDisabled();
747
+ }
748
+ set disabledTools(value) {
749
+ this._disabledTools.set(value);
750
+ }
751
+ get disabledTools() {
752
+ return this._disabledTools();
753
+ }
754
+ set zoomLevelChooserValue(value) {
755
+ this._zoomLevelChooserValue.set(value);
756
+ }
757
+ get zoomLevelChooserValue() {
758
+ return this._zoomLevelChooserValue();
759
+ }
760
+ set zoomOptionsData(value) {
761
+ this._zoomOptionsData.set(value);
762
+ }
763
+ get zoomOptionsData() {
764
+ return this._zoomOptionsData();
765
+ }
766
+ set pagesContainerId(value) {
767
+ this._pagesContainerId.set(value);
768
+ }
769
+ get pagesContainerId() {
770
+ return this._pagesContainerId();
771
+ }
772
+ set tools(value) {
773
+ this._tools.set(value);
774
+ }
775
+ get tools() {
776
+ return this._tools();
777
+ }
778
+ set type(value) {
779
+ this._type.set(value);
780
+ }
781
+ get type() {
782
+ return this._type();
783
+ }
784
+ set wrapperId(value) {
785
+ this._wrapperId.set(value);
786
+ }
787
+ get wrapperId() {
788
+ return this._wrapperId();
789
+ }
790
+ set isAnnotationsToolbarVisible(value) {
791
+ this._isAnnotationsToolbarVisible.set(value);
792
+ }
793
+ get isAnnotationsToolbarVisible() {
794
+ return this._isAnnotationsToolbarVisible();
795
+ }
796
+ set annotationsToolId(value) {
797
+ this._annotationsToolId.set(value);
798
+ }
799
+ get annotationsToolId() {
800
+ return this._annotationsToolId();
801
+ }
802
+ set isSelectionEnabled(value) {
803
+ this._isSelectionEnabled.set(value);
804
+ }
805
+ get isSelectionEnabled() {
806
+ return this._isSelectionEnabled();
807
+ }
723
808
  fileSelect = new EventEmitter();
724
809
  fileSelectStart = new EventEmitter();
725
810
  fileSelectError = new EventEmitter();
@@ -747,8 +832,45 @@ class ToolbarComponent {
747
832
  freeTextIcon = freeTextIcon;
748
833
  xIcon = xIcon;
749
834
  pagerType = 'input';
750
- isHighlightMode;
751
- isFreeTextMode;
835
+ set isHighlightMode(value) {
836
+ this._isHighlightMode.set(value);
837
+ }
838
+ get isHighlightMode() {
839
+ return this._isHighlightMode();
840
+ }
841
+ set isFreeTextMode(value) {
842
+ this._isFreeTextMode.set(value);
843
+ }
844
+ get isFreeTextMode() {
845
+ return this._isFreeTextMode();
846
+ }
847
+ _zoomLevel = signal$1({
848
+ text: '125%',
849
+ displayValue: '125%',
850
+ value: 1.25
851
+ }, ...(ngDevMode ? [{ debugName: "_zoomLevel" }] : []));
852
+ _calculatedComboBoxValue = signal$1({
853
+ text: 'Fit to width',
854
+ displayValue: null,
855
+ value: null
856
+ }, ...(ngDevMode ? [{ debugName: "_calculatedComboBoxValue" }] : []));
857
+ _skip = signal$1(0, ...(ngDevMode ? [{ debugName: "_skip" }] : []));
858
+ _pageSize = signal$1(1, ...(ngDevMode ? [{ debugName: "_pageSize" }] : []));
859
+ _total = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_total" }] : []));
860
+ _zoomInDisabled = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_zoomInDisabled" }] : []));
861
+ _zoomOutDisabled = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_zoomOutDisabled" }] : []));
862
+ _disabledTools = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_disabledTools" }] : []));
863
+ _zoomLevelChooserValue = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_zoomLevelChooserValue" }] : []));
864
+ _zoomOptionsData = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_zoomOptionsData" }] : []));
865
+ _pagesContainerId = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_pagesContainerId" }] : []));
866
+ _tools = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_tools" }] : []));
867
+ _type = signal$1('tools', ...(ngDevMode ? [{ debugName: "_type" }] : []));
868
+ _wrapperId = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_wrapperId" }] : []));
869
+ _isAnnotationsToolbarVisible = signal$1(false, ...(ngDevMode ? [{ debugName: "_isAnnotationsToolbarVisible" }] : []));
870
+ _annotationsToolId = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_annotationsToolId" }] : []));
871
+ _isSelectionEnabled = signal$1(false, ...(ngDevMode ? [{ debugName: "_isSelectionEnabled" }] : []));
872
+ _isHighlightMode = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_isHighlightMode" }] : []));
873
+ _isFreeTextMode = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_isFreeTextMode" }] : []));
752
874
  constructor(localization, navigationService) {
753
875
  this.localization = localization;
754
876
  this.navigationService = navigationService;
@@ -1063,12 +1185,13 @@ class ToolbarComponent {
1063
1185
  accept=".pdf, .PDF"
1064
1186
  (change)="onFileSelect($event)" />
1065
1187
  }
1066
- `, isInline: true, dependencies: [{ kind: "component", type: ToolbarInputWrapperComponent, selector: "kendo-toolbar-input-wrapper", inputs: ["toolbarTool"] }, { kind: "directive", type: ToolbarFocusableDirective, selector: "[kendoPDFViewerToolbarFocusable]" }, { kind: "component", type: PagerComponent, selector: "kendo-datapager, kendo-pager", inputs: ["externalTemplate", "total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size", "responsive", "adaptiveMode"], outputs: ["pageChange", "pageSizeChange", "pagerInputVisibilityChange", "pageTextVisibilityChange", "itemsTextVisibilityChange"], exportAs: ["kendoDataPager", "kendoPager"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-datapager-messages, kendo-pager-messages" }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "directive", type: ToolbarComboBoxDirective, selector: "[kendoPDFViewerComboBox]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }] });
1188
+ `, isInline: true, dependencies: [{ kind: "component", type: ToolbarInputWrapperComponent, selector: "kendo-toolbar-input-wrapper", inputs: ["toolbarTool"] }, { kind: "directive", type: ToolbarFocusableDirective, selector: "[kendoPDFViewerToolbarFocusable]" }, { kind: "component", type: PagerComponent, selector: "kendo-datapager, kendo-pager", inputs: ["externalTemplate", "total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size", "responsive", "adaptiveMode"], outputs: ["pageChange", "pageSizeChange", "pagerInputVisibilityChange", "pageTextVisibilityChange", "itemsTextVisibilityChange"], exportAs: ["kendoDataPager", "kendoPager"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-datapager-messages, kendo-pager-messages" }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "directive", type: ToolbarComboBoxDirective, selector: "[kendoPDFViewerComboBox]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1067
1189
  }
1068
1190
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ToolbarComponent, decorators: [{
1069
1191
  type: Component,
1070
1192
  args: [{
1071
1193
  selector: '[kendoPDFViewerToolbar]',
1194
+ changeDetection: ChangeDetectionStrategy.OnPush,
1072
1195
  providers: [ToolbarNavigationService],
1073
1196
  template: `
1074
1197
  @if (type === 'tools') {
@@ -1426,8 +1549,18 @@ class PDFViewerSearchComponent {
1426
1549
  onEscape() {
1427
1550
  this.close.emit();
1428
1551
  }
1429
- matches;
1430
- currentMatch;
1552
+ set matches(value) {
1553
+ this._matches.set(value);
1554
+ }
1555
+ get matches() {
1556
+ return this._matches();
1557
+ }
1558
+ set currentMatch(value) {
1559
+ this._currentMatch.set(value);
1560
+ }
1561
+ get currentMatch() {
1562
+ return this._currentMatch();
1563
+ }
1431
1564
  searchChange = new EventEmitter();
1432
1565
  prevMatch = new EventEmitter();
1433
1566
  nextMatch = new EventEmitter();
@@ -1437,8 +1570,22 @@ class PDFViewerSearchComponent {
1437
1570
  arrowDownIcon = arrowDownIcon;
1438
1571
  handleDragIcon = handleDragIcon;
1439
1572
  xIcon = xIcon;
1440
- value = null;
1441
- matchCase = false;
1573
+ set value(value) {
1574
+ this._value.set(value);
1575
+ }
1576
+ get value() {
1577
+ return this._value();
1578
+ }
1579
+ set matchCase(value) {
1580
+ this._matchCase.set(value);
1581
+ }
1582
+ get matchCase() {
1583
+ return this._matchCase();
1584
+ }
1585
+ _matches = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_matches" }] : []));
1586
+ _currentMatch = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_currentMatch" }] : []));
1587
+ _value = signal$1(null, ...(ngDevMode ? [{ debugName: "_value" }] : []));
1588
+ _matchCase = signal$1(false, ...(ngDevMode ? [{ debugName: "_matchCase" }] : []));
1442
1589
  constructor(localization) {
1443
1590
  this.localization = localization;
1444
1591
  }
@@ -1519,12 +1666,13 @@ class PDFViewerSearchComponent {
1519
1666
  (keydown.tab)="$event.preventDefault(); textbox.focus();"
1520
1667
  icon='x'
1521
1668
  [svgIcon]="xIcon"></button>
1522
- `, isInline: true, dependencies: [{ kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextBoxSuffixTemplateDirective, selector: "[kendoTextBoxSuffixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1669
+ `, isInline: true, dependencies: [{ kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextBoxSuffixTemplateDirective, selector: "[kendoTextBoxSuffixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1523
1670
  }
1524
1671
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: PDFViewerSearchComponent, decorators: [{
1525
1672
  type: Component,
1526
1673
  args: [{
1527
1674
  selector: '[kendoPDFViewerSearch]',
1675
+ changeDetection: ChangeDetectionStrategy.OnPush,
1528
1676
  template: `
1529
1677
  <button
1530
1678
  type="button"
@@ -1626,10 +1774,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
1626
1774
  * @hidden
1627
1775
  */
1628
1776
  class LoaderComponent {
1629
- settings;
1777
+ set settings(value) {
1778
+ this._settings.set(value);
1779
+ }
1780
+ get settings() {
1781
+ return this._settings();
1782
+ }
1630
1783
  loaderContainerClass = true;
1631
1784
  loaderContainerSizingClass = true;
1632
1785
  loaderPositionClass = true;
1786
+ _settings = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_settings" }] : []));
1633
1787
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1634
1788
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.33", type: LoaderComponent, isStandalone: true, selector: "[kendoPDFViewerLoader]", inputs: { settings: "settings" }, host: { properties: { "class.k-loader-container": "this.loaderContainerClass", "class.k-loader-container-md": "this.loaderContainerSizingClass", "class.k-loader-top": "this.loaderPositionClass" } }, ngImport: i0, template: `
1635
1789
  <div class="k-loader-container-overlay k-overlay"></div>
@@ -1639,12 +1793,13 @@ class LoaderComponent {
1639
1793
  [type]="settings?.type"
1640
1794
  [themeColor]="settings?.themeColor"></kendo-loader>
1641
1795
  </div>
1642
- `, isInline: true, dependencies: [{ kind: "component", type: LoaderComponent$1, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }] });
1796
+ `, isInline: true, dependencies: [{ kind: "component", type: LoaderComponent$1, selector: "kendo-loader", inputs: ["type", "themeColor", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1643
1797
  }
1644
1798
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: LoaderComponent, decorators: [{
1645
1799
  type: Component,
1646
1800
  args: [{
1647
1801
  selector: '[kendoPDFViewerLoader]',
1802
+ changeDetection: ChangeDetectionStrategy.OnPush,
1648
1803
  template: `
1649
1804
  <div class="k-loader-container-overlay k-overlay"></div>
1650
1805
  <div class="k-loader-container-inner">
@@ -1749,21 +1904,57 @@ const AnnotationEditorTypes = {
1749
1904
  class AnnotationPopupToolbarContentComponent {
1750
1905
  dialogService;
1751
1906
  ngZone;
1752
- hostClasses = true;
1907
+ get hostClasses() {
1908
+ return this._hostClasses();
1909
+ }
1910
+ set hostClasses(value) {
1911
+ this._hostClasses.set(value);
1912
+ }
1753
1913
  paletteIcon = paletteIcon;
1754
1914
  trashIcon = trashIcon;
1755
- localizationService;
1915
+ set localizationService(value) {
1916
+ this._localizationService.set(value);
1917
+ }
1918
+ get localizationService() {
1919
+ return this._localizationService();
1920
+ }
1756
1921
  pdfViewerWidget;
1757
1922
  anchor;
1758
- annotationEditorType;
1923
+ set annotationEditorType(value) {
1924
+ this._annotationEditorType.set(value);
1925
+ }
1926
+ get annotationEditorType() {
1927
+ return this._annotationEditorType();
1928
+ }
1759
1929
  popupRef;
1760
- showToolbar = true;
1761
- initialColor;
1930
+ set showToolbar(value) {
1931
+ this._showToolbar.set(value);
1932
+ }
1933
+ get showToolbar() {
1934
+ return this._showToolbar();
1935
+ }
1936
+ set initialColor(value) {
1937
+ this._initialColor.set(value);
1938
+ }
1939
+ get initialColor() {
1940
+ return this._initialColor();
1941
+ }
1762
1942
  fontSizes = fontSizes;
1763
- initialFontSize;
1943
+ set initialFontSize(value) {
1944
+ this._initialFontSize.set(value);
1945
+ }
1946
+ get initialFontSize() {
1947
+ return this._initialFontSize();
1948
+ }
1764
1949
  dialogContainer;
1765
1950
  removeAnnotationConfirmation;
1766
1951
  dialogResultSub;
1952
+ _hostClasses = signal$1(true, ...(ngDevMode ? [{ debugName: "_hostClasses" }] : []));
1953
+ _localizationService = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_localizationService" }] : []));
1954
+ _annotationEditorType = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_annotationEditorType" }] : []));
1955
+ _showToolbar = signal$1(true, ...(ngDevMode ? [{ debugName: "_showToolbar" }] : []));
1956
+ _initialColor = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_initialColor" }] : []));
1957
+ _initialFontSize = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_initialFontSize" }] : []));
1767
1958
  constructor(dialogService, ngZone) {
1768
1959
  this.dialogService = dialogService;
1769
1960
  this.ngZone = ngZone;
@@ -1860,12 +2051,13 @@ class AnnotationPopupToolbarContentComponent {
1860
2051
  (valueChange)="onColorValueChange($event)"
1861
2052
  fillMode="flat"></kendo-flatcolorpicker>
1862
2053
  }
1863
- `, isInline: true, dependencies: [{ kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i3.FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: ["readonly", "disabled", "format", "value", "tabindex", "clearButton", "preview", "actionsLayout", "activeView", "views", "gradientSettings", "adaptiveMode", "paletteSettings", "size"], outputs: ["valueChange", "cancel", "activeViewChange", "clearButtonClick", "actionButtonClick"], exportAs: ["kendoFlatColorPicker"] }, { kind: "component", type: i1$1.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }] });
2054
+ `, isInline: true, dependencies: [{ kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "endIcon", "endSvgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i3.FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: ["readonly", "disabled", "format", "value", "tabindex", "clearButton", "preview", "actionsLayout", "activeView", "views", "gradientSettings", "adaptiveMode", "paletteSettings", "size"], outputs: ["valueChange", "cancel", "activeViewChange", "clearButtonClick", "actionButtonClick"], exportAs: ["kendoFlatColorPicker"] }, { kind: "component", type: i1$1.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1864
2055
  }
1865
2056
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: AnnotationPopupToolbarContentComponent, decorators: [{
1866
2057
  type: Component,
1867
2058
  args: [{
1868
2059
  selector: '[kendoPDFViewerAnnotationPopupToolbar]',
2060
+ changeDetection: ChangeDetectionStrategy.OnPush,
1869
2061
  standalone: true,
1870
2062
  providers: [DialogService],
1871
2063
  imports: [KENDO_BUTTON, KENDO_FLATCOLORPICKER, KENDO_DROPDOWNLIST],
@@ -1945,38 +2137,36 @@ class PDFViewerComponent {
1945
2137
  ngZone;
1946
2138
  renderer;
1947
2139
  localizationService;
1948
- cdr;
1949
2140
  host;
1950
2141
  popupService;
1951
2142
  hostClass = true;
1952
- direction;
2143
+ get direction() {
2144
+ return this._direction();
2145
+ }
2146
+ set direction(value) {
2147
+ this._direction.set(value);
2148
+ }
1953
2149
  display = 'flex';
1954
2150
  /**
1955
2151
  * Represents the tools collection rendered in the toolbar.
1956
2152
  * @default ['pager', 'spacer', 'zoomInOut', 'zoom', 'selection', 'spacer', 'search', 'open', 'download', 'print', 'annotations' ]
1957
2153
  */
1958
- tools = [
1959
- 'pager',
1960
- 'spacer',
1961
- 'zoomInOut',
1962
- 'zoom',
1963
- 'selection',
1964
- 'spacer',
1965
- 'search',
1966
- 'open',
1967
- 'download',
1968
- 'print',
1969
- 'annotations'
1970
- ];
2154
+ set tools(value) {
2155
+ this._tools.set(value);
2156
+ }
2157
+ get tools() {
2158
+ return this._tools();
2159
+ }
1971
2160
  /**
1972
2161
  * The configuration of the internal Loader component.
1973
2162
  * @default { size: 'large', type: 'pulsing', themeColor: 'primary' }
1974
2163
  */
1975
- loaderSettings = {
1976
- size: 'large',
1977
- type: 'pulsing',
1978
- themeColor: 'primary'
1979
- };
2164
+ set loaderSettings(value) {
2165
+ this._loaderSettings.set(value);
2166
+ }
2167
+ get loaderSettings() {
2168
+ return this._loaderSettings();
2169
+ }
1980
2170
  /**
1981
2171
  * Enables form filling capabilities by rendering widgets such as:
1982
2172
  *
@@ -1987,33 +2177,68 @@ class PDFViewerComponent {
1987
2177
  * - Select&mdash;Allows users to select one or multiple options from a list of predefined items.
1988
2178
  * @default false
1989
2179
  */
1990
- renderForms = false;
2180
+ set renderForms(value) {
2181
+ this._renderForms.set(value);
2182
+ }
2183
+ get renderForms() {
2184
+ return this._renderForms();
2185
+ }
1991
2186
  /**
1992
2187
  * The name of the file that will be saved when the end user clicks the Download tool.
1993
2188
  * @default 'Download'
1994
2189
  */
1995
- saveFileName = 'Download';
2190
+ set saveFileName(value) {
2191
+ this._saveFileName.set(value);
2192
+ }
2193
+ get saveFileName() {
2194
+ return this._saveFileName();
2195
+ }
1996
2196
  /**
1997
2197
  * Represents the options for saving the file when the end user clicks the Download tool.
1998
2198
  * @default {}
1999
2199
  */
2000
- saveOptions = {};
2200
+ set saveOptions(value) {
2201
+ this._saveOptions.set(value);
2202
+ }
2203
+ get saveOptions() {
2204
+ return this._saveOptions();
2205
+ }
2001
2206
  /**
2002
2207
  * Represents the url of the PDF file.
2003
2208
  */
2004
- url;
2209
+ set url(value) {
2210
+ this._url.set(value);
2211
+ }
2212
+ get url() {
2213
+ return this._url();
2214
+ }
2005
2215
  /**
2006
2216
  * Represents the data of the PDF file in [Base64 format](https://developer.mozilla.org/en-US/docs/Glossary/Base64).
2007
2217
  */
2008
- data;
2218
+ set data(value) {
2219
+ this._data.set(value);
2220
+ }
2221
+ get data() {
2222
+ return this._data();
2223
+ }
2009
2224
  /**
2010
2225
  * Represents the raw [binary data buffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) of the PDF file.
2011
2226
  */
2012
- arrayBuffer;
2227
+ set arrayBuffer(value) {
2228
+ this._arrayBuffer.set(value);
2229
+ }
2230
+ get arrayBuffer() {
2231
+ return this._arrayBuffer();
2232
+ }
2013
2233
  /**
2014
2234
  * Represents the data of the PDF file in [`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) format.
2015
2235
  */
2016
- typedArray;
2236
+ set typedArray(value) {
2237
+ this._typedArray.set(value);
2238
+ }
2239
+ get typedArray() {
2240
+ return this._typedArray();
2241
+ }
2017
2242
  /**
2018
2243
  * Sets the initial zoom level of the PDF document
2019
2244
  * ([see example](https://www.telerik.com/kendo-angular-ui/components/pdfviewer/tools#zooming-tools)).
@@ -2022,52 +2247,82 @@ class PDFViewerComponent {
2022
2247
  */
2023
2248
  set zoom(value) {
2024
2249
  if (typeof value === 'number') {
2025
- this._zoom = value;
2250
+ this._zoom.set(value);
2026
2251
  this._fitType = null;
2027
2252
  this.setZoomLevel(value);
2028
2253
  }
2029
2254
  else {
2030
- this._zoom = INITIAL_ZOOM_LEVEL;
2255
+ this._zoom.set(INITIAL_ZOOM_LEVEL);
2031
2256
  this._fitType = zoomToFitOptions[value];
2032
2257
  }
2033
2258
  this._zoomToFit = typeof value !== 'number';
2034
2259
  }
2035
2260
  get zoom() {
2036
- return this._zoom;
2261
+ return this._zoom();
2037
2262
  }
2038
2263
  /**
2039
2264
  * Represents the step the zoom level will be changed with when using the **ZoomIn** and **ZoomOut** tools.
2040
2265
  * @default 0.25
2041
2266
  */
2042
- zoomRate = 0.25;
2267
+ set zoomRate(value) {
2268
+ this._zoomRate.set(value);
2269
+ }
2270
+ get zoomRate() {
2271
+ return this._zoomRate();
2272
+ }
2043
2273
  /**
2044
2274
  * Represents minimum allowed zoom value.
2045
2275
  * @default 0.5
2046
2276
  */
2047
- minZoom = 0.5;
2277
+ set minZoom(value) {
2278
+ this._minZoom.set(value);
2279
+ }
2280
+ get minZoom() {
2281
+ return this._minZoom();
2282
+ }
2048
2283
  /**
2049
2284
  * Represents maximum allowed zoom value.
2050
2285
  * @default 4
2051
2286
  */
2052
- maxZoom = 4;
2287
+ set maxZoom(value) {
2288
+ this._maxZoom.set(value);
2289
+ }
2290
+ get maxZoom() {
2291
+ return this._maxZoom();
2292
+ }
2053
2293
  /**
2054
2294
  * Sets whether the component loads all PDF document pages at once or loads new pages on demand when needed.
2055
2295
  *
2056
2296
  * @default false
2057
2297
  */
2058
- loadOnDemand = false;
2298
+ set loadOnDemand(value) {
2299
+ this._loadOnDemand.set(value);
2300
+ }
2301
+ get loadOnDemand() {
2302
+ return this._loadOnDemand();
2303
+ }
2059
2304
  /**
2060
2305
  * Sets the number of pages to load on demand when the `loadOnDemand` property is `true`.
2061
2306
  *
2062
2307
  * @default 1
2063
2308
  */
2064
- loadOnDemandPageSize = 1;
2309
+ set loadOnDemandPageSize(value) {
2310
+ this._loadOnDemandPageSize.set(value);
2311
+ }
2312
+ get loadOnDemandPageSize() {
2313
+ return this._loadOnDemandPageSize();
2314
+ }
2065
2315
  /**
2066
2316
  * Determines whether a confirmation dialog is shown when the user tries to delete an annotation.
2067
2317
  *
2068
2318
  * @default true
2069
2319
  */
2070
- removeAnnotationConfirmation = true;
2320
+ set removeAnnotationConfirmation(value) {
2321
+ this._removeAnnotationConfirmation.set(value);
2322
+ }
2323
+ get removeAnnotationConfirmation() {
2324
+ return this._removeAnnotationConfirmation();
2325
+ }
2071
2326
  /**
2072
2327
  * Fires when the user selects a file, from the blank page, to be loaded in the PDFViewer.
2073
2328
  */
@@ -2108,13 +2363,13 @@ class PDFViewerComponent {
2108
2363
  return isDocumentLoaded ? this.skip + 1 : null;
2109
2364
  }
2110
2365
  set pdfContext(doc) {
2111
- this._pdfContext = doc;
2366
+ this._pdfContext.set(doc);
2112
2367
  }
2113
2368
  /**
2114
2369
  * Exposes the loaded `PDF.js` document, its pages, and their DOM element wrapper.
2115
2370
  */
2116
2371
  get pdfContext() {
2117
- return this._pdfContext;
2372
+ return this._pdfContext();
2118
2373
  }
2119
2374
  /**
2120
2375
  * @hidden
@@ -2152,12 +2407,37 @@ class PDFViewerComponent {
2152
2407
  get pdfId() {
2153
2408
  return `k-pdfviewer-${counter}`;
2154
2409
  }
2155
- loading = false;
2156
- searchActive = false;
2410
+ set loading(value) {
2411
+ this._loading.set(value);
2412
+ }
2413
+ get loading() {
2414
+ return this._loading();
2415
+ }
2416
+ set searchActive(value) {
2417
+ this._searchActive.set(value);
2418
+ }
2419
+ get searchActive() {
2420
+ return this._searchActive();
2421
+ }
2157
2422
  matchCase = false;
2158
- currentMatches = [];
2159
- currentMatch;
2160
- showAnnotationsToolbar = false;
2423
+ set currentMatches(value) {
2424
+ this._currentMatches.set(value);
2425
+ }
2426
+ get currentMatches() {
2427
+ return this._currentMatches();
2428
+ }
2429
+ set currentMatch(value) {
2430
+ this._currentMatch.set(value);
2431
+ }
2432
+ get currentMatch() {
2433
+ return this._currentMatch();
2434
+ }
2435
+ set showAnnotationsToolbar(value) {
2436
+ this._showAnnotationsToolbar.set(value);
2437
+ }
2438
+ get showAnnotationsToolbar() {
2439
+ return this._showAnnotationsToolbar();
2440
+ }
2161
2441
  /**
2162
2442
  * @hidden
2163
2443
  */
@@ -2165,13 +2445,13 @@ class PDFViewerComponent {
2165
2445
  if (this.pdfViewerWidget) {
2166
2446
  this.ngZone.runOutsideAngular(() => this.pdfViewerWidget.setInteractionMode({ mode: value ? PdfViewerInteractionMode.TextSelection : PdfViewerInteractionMode.Pan }));
2167
2447
  }
2168
- this._enabledSelection = value;
2448
+ this._enabledSelection.set(value);
2169
2449
  }
2170
2450
  /**
2171
2451
  * @hidden
2172
2452
  */
2173
2453
  get enabledSelection() {
2174
- return this._enabledSelection;
2454
+ return this._enabledSelection();
2175
2455
  }
2176
2456
  /**
2177
2457
  * @hidden
@@ -2195,23 +2475,71 @@ class PDFViewerComponent {
2195
2475
  * @hidden
2196
2476
  */
2197
2477
  licenseMessage;
2198
- skip = 0;
2478
+ set skip(value) {
2479
+ this._skip.set(value);
2480
+ }
2481
+ get skip() {
2482
+ return this._skip();
2483
+ }
2199
2484
  zoomOptionsData = zoomOptionsData;
2200
- zoomLevel = this.zoomOptionsData[5];
2201
- _pdfContext = null;
2202
- _enabledSelection = false;
2203
- _zoom = INITIAL_ZOOM_LEVEL;
2485
+ set zoomLevel(value) {
2486
+ this._zoomLevel.set(value);
2487
+ }
2488
+ get zoomLevel() {
2489
+ return this._zoomLevel();
2490
+ }
2491
+ _tools = signal$1([
2492
+ 'pager',
2493
+ 'spacer',
2494
+ 'zoomInOut',
2495
+ 'zoom',
2496
+ 'selection',
2497
+ 'spacer',
2498
+ 'search',
2499
+ 'open',
2500
+ 'download',
2501
+ 'print',
2502
+ 'annotations'
2503
+ ], ...(ngDevMode ? [{ debugName: "_tools" }] : []));
2504
+ _loaderSettings = signal$1({
2505
+ size: 'large',
2506
+ type: 'pulsing',
2507
+ themeColor: 'primary'
2508
+ }, ...(ngDevMode ? [{ debugName: "_loaderSettings" }] : []));
2509
+ _renderForms = signal$1(false, ...(ngDevMode ? [{ debugName: "_renderForms" }] : []));
2510
+ _saveFileName = signal$1('Download', ...(ngDevMode ? [{ debugName: "_saveFileName" }] : []));
2511
+ _saveOptions = signal$1({}, ...(ngDevMode ? [{ debugName: "_saveOptions" }] : []));
2512
+ _url = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_url" }] : []));
2513
+ _data = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_data" }] : []));
2514
+ _arrayBuffer = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_arrayBuffer" }] : []));
2515
+ _typedArray = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_typedArray" }] : []));
2516
+ _zoomRate = signal$1(0.25, ...(ngDevMode ? [{ debugName: "_zoomRate" }] : []));
2517
+ _minZoom = signal$1(0.5, ...(ngDevMode ? [{ debugName: "_minZoom" }] : []));
2518
+ _maxZoom = signal$1(4, ...(ngDevMode ? [{ debugName: "_maxZoom" }] : []));
2519
+ _loadOnDemand = signal$1(false, ...(ngDevMode ? [{ debugName: "_loadOnDemand" }] : []));
2520
+ _loadOnDemandPageSize = signal$1(1, ...(ngDevMode ? [{ debugName: "_loadOnDemandPageSize" }] : []));
2521
+ _removeAnnotationConfirmation = signal$1(true, ...(ngDevMode ? [{ debugName: "_removeAnnotationConfirmation" }] : []));
2522
+ _direction = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : []));
2523
+ _loading = signal$1(false, ...(ngDevMode ? [{ debugName: "_loading" }] : []));
2524
+ _searchActive = signal$1(false, ...(ngDevMode ? [{ debugName: "_searchActive" }] : []));
2525
+ _currentMatches = signal$1([], ...(ngDevMode ? [{ debugName: "_currentMatches" }] : []));
2526
+ _currentMatch = signal$1(undefined, ...(ngDevMode ? [{ debugName: "_currentMatch" }] : []));
2527
+ _showAnnotationsToolbar = signal$1(false, ...(ngDevMode ? [{ debugName: "_showAnnotationsToolbar" }] : []));
2528
+ _skip = signal$1(0, ...(ngDevMode ? [{ debugName: "_skip" }] : []));
2529
+ _zoomLevel = signal$1(zoomOptionsData[5], ...(ngDevMode ? [{ debugName: "_zoomLevel" }] : []));
2530
+ _pdfContext = signal$1(null, ...(ngDevMode ? [{ debugName: "_pdfContext" }] : []));
2531
+ _enabledSelection = signal$1(false, ...(ngDevMode ? [{ debugName: "_enabledSelection" }] : []));
2532
+ _zoom = signal$1(INITIAL_ZOOM_LEVEL, ...(ngDevMode ? [{ debugName: "_zoom" }] : []));
2204
2533
  _fitType;
2205
2534
  _zoomToFit = false;
2206
2535
  subs = new Subscription();
2207
2536
  popupSub = new Subscription();
2208
2537
  emitLoad = true;
2209
2538
  pdfViewerWidget;
2210
- constructor(ngZone, renderer, localizationService, cdr, host, popupService) {
2539
+ constructor(ngZone, renderer, localizationService, host, popupService) {
2211
2540
  this.ngZone = ngZone;
2212
2541
  this.renderer = renderer;
2213
2542
  this.localizationService = localizationService;
2214
- this.cdr = cdr;
2215
2543
  this.host = host;
2216
2544
  this.popupService = popupService;
2217
2545
  const isValid = validatePackage(packageMetadata);
@@ -2268,8 +2596,7 @@ class PDFViewerComponent {
2268
2596
  this.pdfContext = null;
2269
2597
  this.loading = false;
2270
2598
  this.skip = 0;
2271
- this._enabledSelection = true;
2272
- this.cdr.markForCheck();
2599
+ this._enabledSelection.set(true);
2273
2600
  }
2274
2601
  /**
2275
2602
  * @hidden
@@ -2388,7 +2715,7 @@ class PDFViewerComponent {
2388
2715
  previousZoomLevel: this.zoom,
2389
2716
  currentZoomLevel: newZoom
2390
2717
  });
2391
- this._zoom = newZoom;
2718
+ this._zoom.set(newZoom);
2392
2719
  this._fitType = null;
2393
2720
  this._zoomToFit = false;
2394
2721
  this.pdfContext.zoom = newZoom;
@@ -2544,7 +2871,6 @@ class PDFViewerComponent {
2544
2871
  scrollHandler = (e) => {
2545
2872
  const currentPage = this.currentPage;
2546
2873
  this.skip = e.pageNumber - 1;
2547
- this.cdr.markForCheck();
2548
2874
  if (e.isPageChanged) {
2549
2875
  this.zoneAwareEmitter('pageChange', {
2550
2876
  previousPage: currentPage,
@@ -2573,7 +2899,6 @@ class PDFViewerComponent {
2573
2899
  if (shouldFocusFirstPage) {
2574
2900
  this.pdfViewerWidget.activatePageNumber(1);
2575
2901
  }
2576
- this.cdr.markForCheck();
2577
2902
  this.assignPageIds();
2578
2903
  this.ngZone.run(() => this.loading = false);
2579
2904
  };
@@ -2593,7 +2918,6 @@ class PDFViewerComponent {
2593
2918
  annotationPopup = null;
2594
2919
  observer;
2595
2920
  onAnnotationEditorToolBarShowHandler = (e) => {
2596
- this.cdr.markForCheck();
2597
2921
  this.observer?.disconnect();
2598
2922
  const type = e.annotationEditorMode;
2599
2923
  const anchor = e.anchor;
@@ -2636,7 +2960,6 @@ class PDFViewerComponent {
2636
2960
  });
2637
2961
  };
2638
2962
  onAnnotationEditorToolBarHideHandler = () => {
2639
- this.cdr.markForCheck();
2640
2963
  if (this.annotationPopup?.popup) {
2641
2964
  this.annotationPopup.close();
2642
2965
  this.annotationPopup = null;
@@ -2656,7 +2979,7 @@ class PDFViewerComponent {
2656
2979
  observer.observe(element, { attributeFilter: ['class'] });
2657
2980
  return observer;
2658
2981
  };
2659
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: PDFViewerComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i2$1.PopupService }], target: i0.ɵɵFactoryTarget.Component });
2982
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: PDFViewerComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i2$1.PopupService }], target: i0.ɵɵFactoryTarget.Component });
2660
2983
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", 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: { fileSelect: "fileSelect", 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: [
2661
2984
  LocalizationService,
2662
2985
  {
@@ -2903,13 +3226,14 @@ class PDFViewerComponent {
2903
3226
  @if (showLicenseWatermark) {
2904
3227
  <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
2905
3228
  }
2906
- `, 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], kendo-watermark-overlay", inputs: ["licenseMessage"] }, { kind: "component", type: FileSelectComponent, selector: "kendo-fileselect", inputs: ["name"], outputs: ["valueChange"], exportAs: ["kendoFileSelect"] }, { kind: "component", type: UploadDropZoneComponent, selector: "kendo-uploaddropzone", inputs: ["zoneId", "icon", "iconClass", "svgIcon"], exportAs: ["kendoUploadDropZone"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CustomMessagesComponent$1, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages" }] });
3229
+ `, 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], kendo-watermark-overlay", inputs: ["licenseMessage"] }, { kind: "component", type: FileSelectComponent, selector: "kendo-fileselect", inputs: ["name"], outputs: ["valueChange"], exportAs: ["kendoFileSelect"] }, { kind: "component", type: UploadDropZoneComponent, selector: "kendo-uploaddropzone", inputs: ["zoneId", "icon", "iconClass", "svgIcon"], exportAs: ["kendoUploadDropZone"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CustomMessagesComponent$1, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2907
3230
  }
2908
3231
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: PDFViewerComponent, decorators: [{
2909
3232
  type: Component,
2910
3233
  args: [{
2911
- exportAs: 'kendo-pdfviewer',
2912
3234
  selector: 'kendo-pdfviewer',
3235
+ exportAs: 'kendo-pdfviewer',
3236
+ changeDetection: ChangeDetectionStrategy.OnPush,
2913
3237
  providers: [
2914
3238
  LocalizationService,
2915
3239
  {
@@ -3161,7 +3485,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
3161
3485
  standalone: true,
3162
3486
  imports: [LocalizedPDFViewerMessagesDirective, EventsOutsideAngularDirective, LoaderComponent, ToolbarComponent, PDFViewerSearchComponent, WatermarkOverlayComponent, FileSelectComponent, UploadDropZoneComponent, NgTemplateOutlet, CustomMessagesComponent$1],
3163
3487
  }]
3164
- }], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i2$1.PopupService }], propDecorators: { hostClass: [{
3488
+ }], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i2$1.PopupService }], propDecorators: { hostClass: [{
3165
3489
  type: HostBinding,
3166
3490
  args: ['class.k-pdf-viewer']
3167
3491
  }], direction: [{