@syncfusion/ej2-angular-pdfviewer 30.1.37-ngcc → 30.1.38-ngcc

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.
@@ -1,279 +1,279 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = Object.setPrototypeOf ||
3
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
- return function (d, b) {
6
- extendStatics(d, b);
7
- function __() { this.constructor = d; }
8
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
- };
10
- })();
11
- import { ChangeDetectionStrategy, Component, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
- import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
13
- import { Annotation, BookmarkView, FormDesigner, FormFields, LinkAnnotation, Magnification, Navigation, PageOrganizer, PdfViewer, Print, TextSearch, TextSelection, ThumbnailView, Toolbar } from '@syncfusion/ej2-pdfviewer';
14
- import { CommonModule } from '@angular/common';
15
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
16
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
18
- r = Reflect.decorate(decorators, target, key, desc);
19
- else
20
- for (var i = decorators.length - 1; i >= 0; i--)
21
- if (d = decorators[i])
22
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
- return c > 3 && r && Object.defineProperty(target, key, r), r;
24
- };
25
- var __metadata = (this && this.__metadata) || function (k, v) {
26
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
27
- return Reflect.metadata(k, v);
28
- };
29
- var inputs = ['DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'commandManager', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customContextMenuItems', 'customFonts', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'disableDefaultContextMenu', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAccessibilityTags', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHtmlSanitizer', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableLocalStorage', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePageOrganizer', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'extractTextOption', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'initialRenderPages', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isPageOrganizerOpen', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'maxZoom', 'measurementSettings', 'minZoom', 'pageCount', 'pageOrganizerSettings', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'printScaleFactor', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'resourceUrl', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showCustomContextMenuBottom', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'squigglySettings', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue'];
30
- var outputs = ['addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'keyboardCustomCommands', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'pageOrganizerSaveAs', 'pageRenderComplete', 'pageRenderInitiate', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'resourcesLoaded', 'signaturePropertiesChange', 'signatureSelect', 'signatureUnselect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'toolbarClick', 'validateFormFields', 'zoomChange', 'pageOrganizerZoomChanged'];
31
- var twoWays = [];
32
- /**
33
- * `ejs-pdfviewer` represents the Angular PdfViewer Component.
34
- * ```html
35
- * <ejs-pdfviewer></ejs-pdfviewer>
36
- * ```
37
- */
38
- var PdfViewerComponent = /** @class */ (function (_super) {
39
- __extends(PdfViewerComponent, _super);
40
- /**
41
- * @param {?} ngEle
42
- * @param {?} srenderer
43
- * @param {?} viewContainerRef
44
- * @param {?} injector
45
- */
46
- function PdfViewerComponent(ngEle, srenderer, viewContainerRef, injector) {
47
- var _this = _super.call(this) || this;
48
- _this.ngEle = ngEle;
49
- _this.srenderer = srenderer;
50
- _this.viewContainerRef = viewContainerRef;
51
- _this.injector = injector;
52
- _this.element = _this.ngEle.nativeElement;
53
- _this.injectedModules = _this.injectedModules || [];
54
- try {
55
- var mod = _this.injector.get('PdfViewerLinkAnnotation');
56
- if (_this.injectedModules.indexOf(mod) === -1) {
57
- _this.injectedModules.push(mod);
58
- }
59
- }
60
- catch (_a) { }
61
- try {
62
- var mod = _this.injector.get('PdfViewerBookmarkView');
63
- if (_this.injectedModules.indexOf(mod) === -1) {
64
- _this.injectedModules.push(mod);
65
- }
66
- }
67
- catch (_b) { }
68
- try {
69
- var mod = _this.injector.get('PdfViewerMagnification');
70
- if (_this.injectedModules.indexOf(mod) === -1) {
71
- _this.injectedModules.push(mod);
72
- }
73
- }
74
- catch (_c) { }
75
- try {
76
- var mod = _this.injector.get('PdfViewerThumbnailView');
77
- if (_this.injectedModules.indexOf(mod) === -1) {
78
- _this.injectedModules.push(mod);
79
- }
80
- }
81
- catch (_d) { }
82
- try {
83
- var mod = _this.injector.get('PdfViewerToolbar');
84
- if (_this.injectedModules.indexOf(mod) === -1) {
85
- _this.injectedModules.push(mod);
86
- }
87
- }
88
- catch (_e) { }
89
- try {
90
- var mod = _this.injector.get('PdfViewerNavigation');
91
- if (_this.injectedModules.indexOf(mod) === -1) {
92
- _this.injectedModules.push(mod);
93
- }
94
- }
95
- catch (_f) { }
96
- try {
97
- var mod = _this.injector.get('PdfViewerPrint');
98
- if (_this.injectedModules.indexOf(mod) === -1) {
99
- _this.injectedModules.push(mod);
100
- }
101
- }
102
- catch (_g) { }
103
- try {
104
- var mod = _this.injector.get('PdfViewerTextSelection');
105
- if (_this.injectedModules.indexOf(mod) === -1) {
106
- _this.injectedModules.push(mod);
107
- }
108
- }
109
- catch (_h) { }
110
- try {
111
- var mod = _this.injector.get('PdfViewerTextSearch');
112
- if (_this.injectedModules.indexOf(mod) === -1) {
113
- _this.injectedModules.push(mod);
114
- }
115
- }
116
- catch (_j) { }
117
- try {
118
- var mod = _this.injector.get('PdfViewerAnnotation');
119
- if (_this.injectedModules.indexOf(mod) === -1) {
120
- _this.injectedModules.push(mod);
121
- }
122
- }
123
- catch (_k) { }
124
- try {
125
- var mod = _this.injector.get('PdfViewerFormDesigner');
126
- if (_this.injectedModules.indexOf(mod) === -1) {
127
- _this.injectedModules.push(mod);
128
- }
129
- }
130
- catch (_l) { }
131
- try {
132
- var mod = _this.injector.get('PdfViewerFormFields');
133
- if (_this.injectedModules.indexOf(mod) === -1) {
134
- _this.injectedModules.push(mod);
135
- }
136
- }
137
- catch (_m) { }
138
- try {
139
- var mod = _this.injector.get('PdfViewerPageOrganizer');
140
- if (_this.injectedModules.indexOf(mod) === -1) {
141
- _this.injectedModules.push(mod);
142
- }
143
- }
144
- catch (_o) { }
145
- _this.registerEvents(outputs);
146
- _this.addTwoWay.call(_this, twoWays);
147
- setValue('currentInstance', _this, _this.viewContainerRef);
148
- _this.context = new ComponentBase();
149
- return _this;
150
- }
151
- /**
152
- * @return {?}
153
- */
154
- PdfViewerComponent.prototype.ngOnInit = function () {
155
- this.context.ngOnInit(this);
156
- };
157
- /**
158
- * @return {?}
159
- */
160
- PdfViewerComponent.prototype.ngAfterViewInit = function () {
161
- this.context.ngAfterViewInit(this);
162
- };
163
- /**
164
- * @return {?}
165
- */
166
- PdfViewerComponent.prototype.ngOnDestroy = function () {
167
- this.context.ngOnDestroy(this);
168
- };
169
- /**
170
- * @return {?}
171
- */
172
- PdfViewerComponent.prototype.ngAfterContentChecked = function () {
173
- this.context.ngAfterContentChecked(this);
174
- };
175
- return PdfViewerComponent;
176
- }(PdfViewer));
177
- PdfViewerComponent.decorators = [
178
- { type: Component, args: [{
179
- selector: 'ejs-pdfviewer',
180
- inputs: inputs,
181
- outputs: outputs,
182
- template: '',
183
- changeDetection: ChangeDetectionStrategy.OnPush,
184
- queries: {}
185
- },] },
186
- ];
187
- /**
188
- * @nocollapse
189
- */
190
- PdfViewerComponent.ctorParameters = function () { return [
191
- { type: ElementRef, },
192
- { type: Renderer2, },
193
- { type: ViewContainerRef, },
194
- { type: Injector, },
195
- ]; };
196
- PdfViewerComponent = __decorate([
197
- ComponentMixins([ComponentBase]),
198
- __metadata("design:paramtypes", [ElementRef,
199
- Renderer2,
200
- ViewContainerRef,
201
- Injector])
202
- ], PdfViewerComponent);
203
- /**
204
- * NgModule definition for the PdfViewer component.
205
- */
206
- var PdfViewerModule = /** @class */ (function () {
207
- function PdfViewerModule() {
208
- }
209
- return PdfViewerModule;
210
- }());
211
- PdfViewerModule.decorators = [
212
- { type: NgModule, args: [{
213
- imports: [CommonModule],
214
- declarations: [
215
- PdfViewerComponent
216
- ],
217
- exports: [
218
- PdfViewerComponent
219
- ]
220
- },] },
221
- ];
222
- /**
223
- * @nocollapse
224
- */
225
- PdfViewerModule.ctorParameters = function () { return []; };
226
- var LinkAnnotationService = { provide: 'PdfViewerLinkAnnotation', useValue: LinkAnnotation };
227
- var BookmarkViewService = { provide: 'PdfViewerBookmarkView', useValue: BookmarkView };
228
- var MagnificationService = { provide: 'PdfViewerMagnification', useValue: Magnification };
229
- var ThumbnailViewService = { provide: 'PdfViewerThumbnailView', useValue: ThumbnailView };
230
- var ToolbarService = { provide: 'PdfViewerToolbar', useValue: Toolbar };
231
- var NavigationService = { provide: 'PdfViewerNavigation', useValue: Navigation };
232
- var PrintService = { provide: 'PdfViewerPrint', useValue: Print };
233
- var TextSelectionService = { provide: 'PdfViewerTextSelection', useValue: TextSelection };
234
- var TextSearchService = { provide: 'PdfViewerTextSearch', useValue: TextSearch };
235
- var AnnotationService = { provide: 'PdfViewerAnnotation', useValue: Annotation };
236
- var FormDesignerService = { provide: 'PdfViewerFormDesigner', useValue: FormDesigner };
237
- var FormFieldsService = { provide: 'PdfViewerFormFields', useValue: FormFields };
238
- var PageOrganizerService = { provide: 'PdfViewerPageOrganizer', useValue: PageOrganizer };
239
- /**
240
- * NgModule definition for the PdfViewer component with providers.
241
- */
242
- var PdfViewerAllModule = /** @class */ (function () {
243
- function PdfViewerAllModule() {
244
- }
245
- return PdfViewerAllModule;
246
- }());
247
- PdfViewerAllModule.decorators = [
248
- { type: NgModule, args: [{
249
- imports: [CommonModule, PdfViewerModule],
250
- exports: [
251
- PdfViewerModule
252
- ],
253
- providers: [
254
- LinkAnnotationService,
255
- BookmarkViewService,
256
- MagnificationService,
257
- ThumbnailViewService,
258
- ToolbarService,
259
- NavigationService,
260
- PrintService,
261
- TextSelectionService,
262
- TextSearchService,
263
- AnnotationService,
264
- FormDesignerService,
265
- FormFieldsService,
266
- PageOrganizerService
267
- ]
268
- },] },
269
- ];
270
- /**
271
- * @nocollapse
272
- */
273
- PdfViewerAllModule.ctorParameters = function () { return []; };
274
- /**
275
- * Generated bundle index. Do not edit.
276
- */
277
- export { PdfViewerComponent, PdfViewerModule, PdfViewerAllModule, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, PrintService, TextSelectionService, TextSearchService, AnnotationService, FormDesignerService, FormFieldsService, PageOrganizerService, inputs as ɵa, outputs as ɵb };
278
- export { Drawing, findActiveElement, findObjectsUnderMouse, findObjectUnderMouse, CalculateLeaderPoints, findElementUnderMouse, insertObject, findTargetShapeElement, findObjects, findActivePage, ActiveElements, getConnectorPoints, getSegmentPath, updateSegmentElement, getSegmentElement, updateDecoratorElement, getDecoratorElement, clipDecorators, clipDecorator, initDistanceLabel, updateDistanceLabel, updateRadiusLabel, initPerimeterLabel, updatePerimeterLabel, removePerimeterLabel, updateCalibrateLabel, getPolygonPath, textElement, initLeaders, initLeader, isPointOverConnector, findNearestPoint, getDecoratorShape, renderAdornerLayer, createSvg, isLineShapes, setElementStype, findPointsLength, findPerimeterLength, getBaseShapeAttributes, getFunction, cloneObject, cloneArray, getInternalProperties, isLeader, PdfBounds, PdfFont, PdfAnnotationBase, PdfFormFieldBase, ZOrderPageTable, Selector, ToolBase, SelectTool, MoveTool, StampTool, InkDrawingTool, ConnectTool, ResizeTool, NodeDrawingTool, PolygonDrawingTool, LineTool, RotateTool, Annotation, AnnotationBaseSettings, AnnotBoundsRect, AnnotBoundsBase, AnnotRectBase, AnnotFontBase, IBounds, AnnotationsInternal, AnnotationsBase, LinkAnnotation, TextMarkupAnnotation, MeasurementScaleRatio, MeasureAnnotation, ShapeAnnotation, StampAnnotation, StickyNotesAnnotation, FreeTextAnnotation, InputElement, InkAnnotation, NavigationPane, PdfViewerBase, TextLayer, ContextMenu, CommentStatus, FontStyle, ContextMenuItem, SignatureType, AnnotationResizerLocation, ExtractTextOption, DisplayMode, CursorType, DynamicStampItem, SignStampItem, StandardBusinessStampItem, AllowedInteraction, AnnotationDataFormat, FormFieldDataFormat, ModifierKeys, PdfKeys, AjaxHandler, Signature, Spinner, createSpinner, showSpinner, hideSpinner, setSpinner, BlazorUiAdaptor, Magnification, Navigation, ThumbnailView, Toolbar, AnnotationToolbar, FormDesignerToolbar, ToolbarSettings, CustomToolbarItem, AjaxRequestSettings, CustomStamp, AnnotationToolbarSettings, FormDesignerToolbarSettings, SignatureFieldSettings, InitialFieldSettings, SignatureIndicatorSettings, SignatureDialogSettings, ServerActionSettings, StrikethroughSettings, SquigglySettings, UnderlineSettings, HighlightSettings, LineSettings, ArrowSettings, RectangleSettings, CircleSettings, ShapeLabelSettings, PolygonSettings, StampSettings, CustomStampSettings, DistanceSettings, PerimeterSettings, AreaSettings, RadiusSettings, VolumeSettings, InkAnnotationSettings, StickyNotesSettings, MeasurementSettings, FreeTextSettings, AnnotationSelectorSettings, TextSearchColorSettings, PageInfo, HandWrittenSignatureSettings, AnnotationSettings, DocumentTextCollectionSettings, TextDataSettings, RectangleBounds, TileRenderingSettings, ScrollSettings, FormField, ContextMenuSettings, TextFieldSettings, PasswordFieldSettings, CheckBoxFieldSettings, RadioButtonFieldSettings, DropdownFieldSettings, ListBoxFieldSettings, Item, KeyGesture, KeyboardCommand, CommandManager, PageOrganizerSettings, SearchResult, PdfViewer, BookmarkView, TextSelection, TextSearch, Print, FormFields, FormDesigner, AccessibilityTags, RectBounds, PdfiumRunner, PageRenderer, StampAnnotationBase, PdfRenderer, SizeBase, Annotations, FormFieldsBase, PdfRenderedFields, AnnotationRenderer, PointBase, FreeTextAnnotationBase, InkSignatureAnnotation, ShapeAnnotationBase, MeasureShapeAnnotationBase, SignatureAnnotationBase, PopupAnnotationBase, TextMarkupAnnotationBase, PdfLayer, AnnotPoint, AnnotBounds, AnnotColor, FontBase, Path, RectangleBase, SignatureBase, BookmarkBase, BookmarkDestination, BookmarkStyles, getArialFontData, ImageStructureBase, PageOrganizer, PdfPageRotateAngle, PageRotation, OrganizeDetails } from '@syncfusion/ej2-pdfviewer';
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = Object.setPrototypeOf ||
3
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
+ return function (d, b) {
6
+ extendStatics(d, b);
7
+ function __() { this.constructor = d; }
8
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
+ };
10
+ })();
11
+ import { ChangeDetectionStrategy, Component, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
+ import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
13
+ import { Annotation, BookmarkView, FormDesigner, FormFields, LinkAnnotation, Magnification, Navigation, PageOrganizer, PdfViewer, Print, TextSearch, TextSelection, ThumbnailView, Toolbar } from '@syncfusion/ej2-pdfviewer';
14
+ import { CommonModule } from '@angular/common';
15
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
16
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
18
+ r = Reflect.decorate(decorators, target, key, desc);
19
+ else
20
+ for (var i = decorators.length - 1; i >= 0; i--)
21
+ if (d = decorators[i])
22
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
24
+ };
25
+ var __metadata = (this && this.__metadata) || function (k, v) {
26
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
27
+ return Reflect.metadata(k, v);
28
+ };
29
+ var inputs = ['DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'commandManager', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customContextMenuItems', 'customFonts', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'disableDefaultContextMenu', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAccessibilityTags', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHtmlSanitizer', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableLocalStorage', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePageOrganizer', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'extractTextOption', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideEmptyDigitalSignatureFields', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'initialRenderPages', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isPageOrganizerOpen', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'maxZoom', 'measurementSettings', 'minZoom', 'pageCount', 'pageOrganizerSettings', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'printScaleFactor', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'resourceUrl', 'restrictZoomRequest', 'retryCount', 'retryStatusCodes', 'retryTimeout', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showCustomContextMenuBottom', 'showDigitalSignatureAppearance', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue'];
30
+ var outputs = ['addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'customContextMenuBeforeOpen', 'customContextMenuSelect', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'keyboardCustomCommands', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'pageOrganizerSaveAs', 'pageRenderComplete', 'pageRenderInitiate', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'resourcesLoaded', 'signaturePropertiesChange', 'signatureSelect', 'signatureUnselect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'toolbarClick', 'validateFormFields', 'zoomChange'];
31
+ var twoWays = [];
32
+ /**
33
+ * `ejs-pdfviewer` represents the Angular PdfViewer Component.
34
+ * ```html
35
+ * <ejs-pdfviewer></ejs-pdfviewer>
36
+ * ```
37
+ */
38
+ var PdfViewerComponent = /** @class */ (function (_super) {
39
+ __extends(PdfViewerComponent, _super);
40
+ /**
41
+ * @param {?} ngEle
42
+ * @param {?} srenderer
43
+ * @param {?} viewContainerRef
44
+ * @param {?} injector
45
+ */
46
+ function PdfViewerComponent(ngEle, srenderer, viewContainerRef, injector) {
47
+ var _this = _super.call(this) || this;
48
+ _this.ngEle = ngEle;
49
+ _this.srenderer = srenderer;
50
+ _this.viewContainerRef = viewContainerRef;
51
+ _this.injector = injector;
52
+ _this.element = _this.ngEle.nativeElement;
53
+ _this.injectedModules = _this.injectedModules || [];
54
+ try {
55
+ var mod = _this.injector.get('PdfViewerLinkAnnotation');
56
+ if (_this.injectedModules.indexOf(mod) === -1) {
57
+ _this.injectedModules.push(mod);
58
+ }
59
+ }
60
+ catch (_a) { }
61
+ try {
62
+ var mod = _this.injector.get('PdfViewerBookmarkView');
63
+ if (_this.injectedModules.indexOf(mod) === -1) {
64
+ _this.injectedModules.push(mod);
65
+ }
66
+ }
67
+ catch (_b) { }
68
+ try {
69
+ var mod = _this.injector.get('PdfViewerMagnification');
70
+ if (_this.injectedModules.indexOf(mod) === -1) {
71
+ _this.injectedModules.push(mod);
72
+ }
73
+ }
74
+ catch (_c) { }
75
+ try {
76
+ var mod = _this.injector.get('PdfViewerThumbnailView');
77
+ if (_this.injectedModules.indexOf(mod) === -1) {
78
+ _this.injectedModules.push(mod);
79
+ }
80
+ }
81
+ catch (_d) { }
82
+ try {
83
+ var mod = _this.injector.get('PdfViewerToolbar');
84
+ if (_this.injectedModules.indexOf(mod) === -1) {
85
+ _this.injectedModules.push(mod);
86
+ }
87
+ }
88
+ catch (_e) { }
89
+ try {
90
+ var mod = _this.injector.get('PdfViewerNavigation');
91
+ if (_this.injectedModules.indexOf(mod) === -1) {
92
+ _this.injectedModules.push(mod);
93
+ }
94
+ }
95
+ catch (_f) { }
96
+ try {
97
+ var mod = _this.injector.get('PdfViewerPrint');
98
+ if (_this.injectedModules.indexOf(mod) === -1) {
99
+ _this.injectedModules.push(mod);
100
+ }
101
+ }
102
+ catch (_g) { }
103
+ try {
104
+ var mod = _this.injector.get('PdfViewerTextSelection');
105
+ if (_this.injectedModules.indexOf(mod) === -1) {
106
+ _this.injectedModules.push(mod);
107
+ }
108
+ }
109
+ catch (_h) { }
110
+ try {
111
+ var mod = _this.injector.get('PdfViewerTextSearch');
112
+ if (_this.injectedModules.indexOf(mod) === -1) {
113
+ _this.injectedModules.push(mod);
114
+ }
115
+ }
116
+ catch (_j) { }
117
+ try {
118
+ var mod = _this.injector.get('PdfViewerAnnotation');
119
+ if (_this.injectedModules.indexOf(mod) === -1) {
120
+ _this.injectedModules.push(mod);
121
+ }
122
+ }
123
+ catch (_k) { }
124
+ try {
125
+ var mod = _this.injector.get('PdfViewerFormDesigner');
126
+ if (_this.injectedModules.indexOf(mod) === -1) {
127
+ _this.injectedModules.push(mod);
128
+ }
129
+ }
130
+ catch (_l) { }
131
+ try {
132
+ var mod = _this.injector.get('PdfViewerFormFields');
133
+ if (_this.injectedModules.indexOf(mod) === -1) {
134
+ _this.injectedModules.push(mod);
135
+ }
136
+ }
137
+ catch (_m) { }
138
+ try {
139
+ var mod = _this.injector.get('PdfViewerPageOrganizer');
140
+ if (_this.injectedModules.indexOf(mod) === -1) {
141
+ _this.injectedModules.push(mod);
142
+ }
143
+ }
144
+ catch (_o) { }
145
+ _this.registerEvents(outputs);
146
+ _this.addTwoWay.call(_this, twoWays);
147
+ setValue('currentInstance', _this, _this.viewContainerRef);
148
+ _this.context = new ComponentBase();
149
+ return _this;
150
+ }
151
+ /**
152
+ * @return {?}
153
+ */
154
+ PdfViewerComponent.prototype.ngOnInit = function () {
155
+ this.context.ngOnInit(this);
156
+ };
157
+ /**
158
+ * @return {?}
159
+ */
160
+ PdfViewerComponent.prototype.ngAfterViewInit = function () {
161
+ this.context.ngAfterViewInit(this);
162
+ };
163
+ /**
164
+ * @return {?}
165
+ */
166
+ PdfViewerComponent.prototype.ngOnDestroy = function () {
167
+ this.context.ngOnDestroy(this);
168
+ };
169
+ /**
170
+ * @return {?}
171
+ */
172
+ PdfViewerComponent.prototype.ngAfterContentChecked = function () {
173
+ this.context.ngAfterContentChecked(this);
174
+ };
175
+ return PdfViewerComponent;
176
+ }(PdfViewer));
177
+ PdfViewerComponent.decorators = [
178
+ { type: Component, args: [{
179
+ selector: 'ejs-pdfviewer',
180
+ inputs: inputs,
181
+ outputs: outputs,
182
+ template: '',
183
+ changeDetection: ChangeDetectionStrategy.OnPush,
184
+ queries: {}
185
+ },] },
186
+ ];
187
+ /**
188
+ * @nocollapse
189
+ */
190
+ PdfViewerComponent.ctorParameters = function () { return [
191
+ { type: ElementRef, },
192
+ { type: Renderer2, },
193
+ { type: ViewContainerRef, },
194
+ { type: Injector, },
195
+ ]; };
196
+ PdfViewerComponent = __decorate([
197
+ ComponentMixins([ComponentBase]),
198
+ __metadata("design:paramtypes", [ElementRef,
199
+ Renderer2,
200
+ ViewContainerRef,
201
+ Injector])
202
+ ], PdfViewerComponent);
203
+ /**
204
+ * NgModule definition for the PdfViewer component.
205
+ */
206
+ var PdfViewerModule = /** @class */ (function () {
207
+ function PdfViewerModule() {
208
+ }
209
+ return PdfViewerModule;
210
+ }());
211
+ PdfViewerModule.decorators = [
212
+ { type: NgModule, args: [{
213
+ imports: [CommonModule],
214
+ declarations: [
215
+ PdfViewerComponent
216
+ ],
217
+ exports: [
218
+ PdfViewerComponent
219
+ ]
220
+ },] },
221
+ ];
222
+ /**
223
+ * @nocollapse
224
+ */
225
+ PdfViewerModule.ctorParameters = function () { return []; };
226
+ var LinkAnnotationService = { provide: 'PdfViewerLinkAnnotation', useValue: LinkAnnotation };
227
+ var BookmarkViewService = { provide: 'PdfViewerBookmarkView', useValue: BookmarkView };
228
+ var MagnificationService = { provide: 'PdfViewerMagnification', useValue: Magnification };
229
+ var ThumbnailViewService = { provide: 'PdfViewerThumbnailView', useValue: ThumbnailView };
230
+ var ToolbarService = { provide: 'PdfViewerToolbar', useValue: Toolbar };
231
+ var NavigationService = { provide: 'PdfViewerNavigation', useValue: Navigation };
232
+ var PrintService = { provide: 'PdfViewerPrint', useValue: Print };
233
+ var TextSelectionService = { provide: 'PdfViewerTextSelection', useValue: TextSelection };
234
+ var TextSearchService = { provide: 'PdfViewerTextSearch', useValue: TextSearch };
235
+ var AnnotationService = { provide: 'PdfViewerAnnotation', useValue: Annotation };
236
+ var FormDesignerService = { provide: 'PdfViewerFormDesigner', useValue: FormDesigner };
237
+ var FormFieldsService = { provide: 'PdfViewerFormFields', useValue: FormFields };
238
+ var PageOrganizerService = { provide: 'PdfViewerPageOrganizer', useValue: PageOrganizer };
239
+ /**
240
+ * NgModule definition for the PdfViewer component with providers.
241
+ */
242
+ var PdfViewerAllModule = /** @class */ (function () {
243
+ function PdfViewerAllModule() {
244
+ }
245
+ return PdfViewerAllModule;
246
+ }());
247
+ PdfViewerAllModule.decorators = [
248
+ { type: NgModule, args: [{
249
+ imports: [CommonModule, PdfViewerModule],
250
+ exports: [
251
+ PdfViewerModule
252
+ ],
253
+ providers: [
254
+ LinkAnnotationService,
255
+ BookmarkViewService,
256
+ MagnificationService,
257
+ ThumbnailViewService,
258
+ ToolbarService,
259
+ NavigationService,
260
+ PrintService,
261
+ TextSelectionService,
262
+ TextSearchService,
263
+ AnnotationService,
264
+ FormDesignerService,
265
+ FormFieldsService,
266
+ PageOrganizerService
267
+ ]
268
+ },] },
269
+ ];
270
+ /**
271
+ * @nocollapse
272
+ */
273
+ PdfViewerAllModule.ctorParameters = function () { return []; };
274
+ /**
275
+ * Generated bundle index. Do not edit.
276
+ */
277
+ export { PdfViewerComponent, PdfViewerModule, PdfViewerAllModule, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, PrintService, TextSelectionService, TextSearchService, AnnotationService, FormDesignerService, FormFieldsService, PageOrganizerService, inputs as ɵa, outputs as ɵb };
278
+ export { Drawing, findActiveElement, findObjectsUnderMouse, findObjectUnderMouse, CalculateLeaderPoints, findElementUnderMouse, insertObject, findTargetShapeElement, findObjects, findActivePage, ActiveElements, getConnectorPoints, getSegmentPath, updateSegmentElement, getSegmentElement, updateDecoratorElement, getDecoratorElement, clipDecorators, clipDecorator, initDistanceLabel, updateDistanceLabel, updateRadiusLabel, initPerimeterLabel, updatePerimeterLabel, removePerimeterLabel, updateCalibrateLabel, getPolygonPath, textElement, initLeaders, initLeader, isPointOverConnector, findNearestPoint, getDecoratorShape, renderAdornerLayer, createSvg, isLineShapes, setElementStype, findPointsLength, findPerimeterLength, getBaseShapeAttributes, getFunction, cloneObject, cloneArray, getInternalProperties, isLeader, PdfBounds, PdfFont, PdfAnnotationBase, PdfFormFieldBase, ZOrderPageTable, Selector, ToolBase, SelectTool, MoveTool, StampTool, InkDrawingTool, ConnectTool, ResizeTool, NodeDrawingTool, PolygonDrawingTool, LineTool, RotateTool, Annotation, AnnotationBaseSettings, AnnotBoundsRect, AnnotBoundsBase, AnnotRectBase, AnnotFontBase, IBounds, AnnotationsInternal, AnnotationsBase, LinkAnnotation, TextMarkupAnnotation, MeasurementScaleRatio, MeasureAnnotation, ShapeAnnotation, StampAnnotation, StickyNotesAnnotation, FreeTextAnnotation, InputElement, InkAnnotation, NavigationPane, PdfViewerBase, TextLayer, ContextMenu, CommentStatus, FontStyle, ContextMenuItem, SignatureType, AnnotationResizerLocation, ExtractTextOption, DisplayMode, CursorType, DynamicStampItem, SignStampItem, StandardBusinessStampItem, AllowedInteraction, AnnotationDataFormat, FormFieldDataFormat, ModifierKeys, PdfKeys, AjaxHandler, Signature, Spinner, createSpinner, showSpinner, hideSpinner, setSpinner, BlazorUiAdaptor, Magnification, Navigation, ThumbnailView, Toolbar, AnnotationToolbar, FormDesignerToolbar, ToolbarSettings, CustomToolbarItem, AjaxRequestSettings, CustomStamp, AnnotationToolbarSettings, FormDesignerToolbarSettings, SignatureFieldSettings, InitialFieldSettings, SignatureIndicatorSettings, SignatureDialogSettings, ServerActionSettings, StrikethroughSettings, SquigglySettings, UnderlineSettings, HighlightSettings, LineSettings, ArrowSettings, RectangleSettings, CircleSettings, ShapeLabelSettings, PolygonSettings, StampSettings, CustomStampSettings, DistanceSettings, PerimeterSettings, AreaSettings, RadiusSettings, VolumeSettings, InkAnnotationSettings, StickyNotesSettings, MeasurementSettings, FreeTextSettings, AnnotationSelectorSettings, TextSearchColorSettings, PageInfo, HandWrittenSignatureSettings, AnnotationSettings, DocumentTextCollectionSettings, TextDataSettings, RectangleBounds, TileRenderingSettings, ScrollSettings, FormField, ContextMenuSettings, TextFieldSettings, PasswordFieldSettings, CheckBoxFieldSettings, RadioButtonFieldSettings, DropdownFieldSettings, ListBoxFieldSettings, Item, KeyGesture, KeyboardCommand, CommandManager, PageOrganizerSettings, SearchResult, PdfViewer, BookmarkView, TextSelection, TextSearch, Print, FormFields, FormDesigner, AccessibilityTags, RectBounds, PdfiumRunner, PageRenderer, StampAnnotationBase, PdfRenderer, SizeBase, Annotations, FormFieldsBase, PdfRenderedFields, AnnotationRenderer, PointBase, FreeTextAnnotationBase, InkSignatureAnnotation, ShapeAnnotationBase, MeasureShapeAnnotationBase, SignatureAnnotationBase, PopupAnnotationBase, TextMarkupAnnotationBase, PdfLayer, AnnotPoint, AnnotBounds, AnnotColor, FontBase, Path, RectangleBase, SignatureBase, BookmarkBase, BookmarkDestination, BookmarkStyles, getArialFontData, ImageStructureBase, PageOrganizer, PdfPageRotateAngle, PageRotation, OrganizeDetails } from '@syncfusion/ej2-pdfviewer';
279
279
  //# sourceMappingURL=ej2-angular-pdfviewer.es5.js.map