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.
45 lines • 4.31 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLWZpbmRiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIvIiwic291cmNlcyI6WyJsaWIvdG9vbGJhci9wZGYtZmluZGJhci9wZGYtZmluZGJhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUU5RDtJQUFBO1FBT1MsbUJBQWMsR0FBRyxJQUFJLENBQUM7SUFvQi9CLENBQUM7O2dCQTNCQSxTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLGFBQWE7b0JBQ3ZCLDRoQ0FBMkM7O2lCQUU1Qzs7O2lDQUVFLEtBQUs7MENBR0wsS0FBSzs4QkFHTCxLQUFLOzZCQUdMLEtBQUs7eUNBSUwsS0FBSztnQ0FHTCxLQUFLO3VDQUdMLEtBQUs7O0lBRVIsMEJBQUM7Q0FBQSxBQTNCRCxJQTJCQztTQXRCWSxtQkFBbUI7OztJQUM5Qiw2Q0FDNkI7O0lBRTdCLHNEQUN1Qzs7SUFFdkMsMENBQ3VDOztJQUV2Qyx5Q0FDc0M7O0lBR3RDLHFEQUNnRDs7SUFFaEQsNENBQ3VDOztJQUV2QyxtREFDOEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0LCBUZW1wbGF0ZVJlZiB9IG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