cat-documents-ng 0.3.40 → 0.3.41

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.
@@ -195,6 +195,14 @@ export declare class DocumentContentViewerComponent implements OnChanges, OnInit
195
195
  * Handles mouse wheel events for zooming
196
196
  */
197
197
  onWheel(event: WheelEvent): void;
198
+ /**
199
+ * Handles wheel zoom for document viewers
200
+ */
201
+ handleWheelZoom(event: WheelEvent): void;
202
+ /**
203
+ * Applies zoom transform to the document viewer
204
+ */
205
+ private applyZoomTransform;
198
206
  /**
199
207
  * Downloads the document
200
208
  */
@@ -46,6 +46,36 @@ export declare class DocumentZoomService {
46
46
  * Handles mouse wheel zoom
47
47
  */
48
48
  handleWheelZoom(event: WheelEvent, zoomFactor?: number): void;
49
+ /**
50
+ * Applies zoom transform to an iframe element
51
+ * @param iframe - The iframe element to apply zoom to
52
+ * @param zoomLevel - The zoom level to apply (defaults to current zoom)
53
+ */
54
+ applyIframeZoom(iframe: HTMLIFrameElement, zoomLevel?: number): void;
55
+ /**
56
+ * Applies zoom transform to multiple iframe elements
57
+ * @param iframes - Array of iframe elements to apply zoom to
58
+ * @param zoomLevel - The zoom level to apply (defaults to current zoom)
59
+ */
60
+ applyIframeZoomToMultiple(iframes: HTMLIFrameElement[], zoomLevel?: number): void;
61
+ /**
62
+ * Applies zoom transform to iframes within a container element
63
+ * @param container - The container element to search for iframes
64
+ * @param zoomLevel - The zoom level to apply (defaults to current zoom)
65
+ */
66
+ applyIframeZoomToContainer(container: HTMLElement, zoomLevel?: number): void;
67
+ /**
68
+ * Applies zoom transform to iframes within multiple container elements
69
+ * @param containers - Array of container elements to search for iframes
70
+ * @param zoomLevel - The zoom level to apply (defaults to current zoom)
71
+ */
72
+ applyIframeZoomToContainers(containers: HTMLElement[], zoomLevel?: number): void;
73
+ /**
74
+ * Applies zoom transform to iframes by CSS selector
75
+ * @param selector - CSS selector to find iframe containers
76
+ * @param zoomLevel - The zoom level to apply (defaults to current zoom)
77
+ */
78
+ applyIframeZoomBySelector(selector: string, zoomLevel?: number): void;
49
79
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentZoomService, never>;
50
80
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentZoomService>;
51
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-documents-ng",
3
- "version": "0.3.40",
3
+ "version": "0.3.41",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"