UNPKG

ngx-extended-pdf-viewer

Version:

Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.

46 lines 4.4 kB
/** * @fileoverview added by tsickle * Generated from: lib/toolbar/pdf-findbar/pdf-findbar.component.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Component, Input, TemplateRef } from '@angular/core'; var PdfFindbarComponent = /** @class */ (function () { function PdfFindbarComponent() { this.showFindButton = true; } PdfFindbarComponent.decorators = [ { type: Component, args: [{ selector: 'pdf-findbar', template: "<ng-container [ngTemplateOutlet]=\"customFindbar ? customFindbar : defaultFindbar\">\n</ng-container>\n\n<ng-template #defaultFindbar>\n <div\n class=\"findbar hidden doorHanger\"\n [class.invisible]=\"!showFindButton\"\n id=\"findbar\"\n [style.transform]=\"'scale(' + mobileFriendlyZoomScale + ')'\"\n [style.transformOrigin]=\"'left center'\"\n [style.left]=\"findbarLeft\"\n [style.top]=\"findbarTop\"\n >\n <ng-container [ngTemplateOutlet]=\"customFindbarButtons ? customFindbarButtons : defaultFindbarButtons\"> </ng-container>\n </div>\n</ng-template>\n\n<ng-template #defaultFindbarButtons>\n <pdf-find-input-area [customFindbarInputArea]=\"customFindbarInputArea\"></pdf-find-input-area>\n <pdf-findbar-options-one-container></pdf-findbar-options-one-container>\n <pdf-findbar-options-two-container></pdf-findbar-options-two-container>\n <pdf-findbar-options-three-container></pdf-findbar-options-three-container>\n <pdf-findbar-message-container></pdf-findbar-message-container>\n</ng-template>\n", styles: [""] }] } ]; PdfFindbarComponent.propDecorators = { showFindButton: [{ type: Input }], mobileFriendlyZoomScale: [{ type: Input }], findbarLeft: [{ type: Input }], findbarTop: [{ type: Input }], customFindbarInputArea: [{ type: Input }], customFindbar: [{ type: Input }], customFindbarButtons: [{ type: Input }] }; return PdfFindbarComponent; }()); export { PdfFindbarComponent }; if (false) { /** @type {?} */ PdfFindbarComponent.prototype.showFindButton; /** @type {?} */ PdfFindbarComponent.prototype.mobileFriendlyZoomScale; /** @type {?} */ PdfFindbarComponent.prototype.findbarLeft; /** @type {?} */ PdfFindbarComponent.prototype.findbarTop; /** @type {?} */ PdfFindbarComponent.prototype.customFindbarInputArea; /** @type {?} */ PdfFindbarComponent.prototype.customFindbar; /** @type {?} */ PdfFindbarComponent.prototype.customFindbarButtons; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLWZpbmRiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIvIiwic291cmNlcyI6WyJsaWIvdG9vbGJhci9wZGYtZmluZGJhci9wZGYtZmluZGJhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFOUQ7SUFBQTtRQU9TLG1CQUFjLEdBQUcsSUFBSSxDQUFDO0lBb0IvQixDQUFDOztnQkEzQkEsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSxhQUFhO29CQUN2Qiw0aENBQTJDOztpQkFFNUM7OztpQ0FFRSxLQUFLOzBDQUdMLEtBQUs7OEJBR0wsS0FBSzs2QkFHTCxLQUFLO3lDQUlMLEtBQUs7Z0NBR0wsS0FBSzt1Q0FHTCxLQUFLOztJQUVSLDBCQUFDO0NBQUEsQUEzQkQsSUEyQkM7U0F0QlksbUJBQW1COzs7SUFDOUIsNkNBQzZCOztJQUU3QixzREFDdUM7O0lBRXZDLDBDQUN1Qzs7SUFFdkMseUNBQ3NDOztJQUd0QyxxREFDZ0Q7O0lBRWhELDRDQUN1Qzs7SUFFdkMsbURBQzhDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCwgVGVtcGxhdGVSZWYgfSBm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