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.

18 lines 4.02 kB
import { Component, Input } from '@angular/core'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "../pdf-find-next/pdf-find-next.component"; import * as i3 from "../pdf-find-previous/pdf-find-previous.component"; import * as i4 from "../pdf-search-input-field/pdf-search-input-field.component"; export class PdfFindInputAreaComponent { customFindbarInputArea; static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfFindInputAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PdfFindInputAreaComponent, selector: "pdf-find-input-area", inputs: { customFindbarInputArea: "customFindbarInputArea" }, ngImport: i0, template: "@if (!customFindbarInputArea) {\n <div id=\"findbarInputContainer\">\n <pdf-search-input-field></pdf-search-input-field>\n <pdf-find-previous></pdf-find-previous>\n <pdf-find-next></pdf-find-next>\n </div>\n}\n\n<ng-container [ngTemplateOutlet]=\"customFindbarInputArea || null\"> </ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.PdfFindNextComponent, selector: "pdf-find-next" }, { kind: "component", type: i3.PdfFindPreviousComponent, selector: "pdf-find-previous" }, { kind: "component", type: i4.PdfSearchInputFieldComponent, selector: "pdf-search-input-field" }] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfFindInputAreaComponent, decorators: [{ type: Component, args: [{ selector: 'pdf-find-input-area', template: "@if (!customFindbarInputArea) {\n <div id=\"findbarInputContainer\">\n <pdf-search-input-field></pdf-search-input-field>\n <pdf-find-previous></pdf-find-previous>\n <pdf-find-next></pdf-find-next>\n </div>\n}\n\n<ng-container [ngTemplateOutlet]=\"customFindbarInputArea || null\"> </ng-container>\n" }] }], propDecorators: { customFindbarInputArea: [{ type: Input }] } }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLWZpbmQtaW5wdXQtYXJlYS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtZXh0ZW5kZWQtcGRmLXZpZXdlci9zcmMvbGliL3Rvb2xiYXIvcGRmLWZpbmRiYXIvcGRmLWZpbmQtaW5wdXQtYXJlYS9wZGYtZmluZC1pbnB1dC1hcmVhLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1leHRlbmRlZC1wZGYtdmlld2VyL3NyYy9saWIvdG9vbGJhci9wZGYtZmluZGJhci9wZGYtZmluZC1pbnB1dC1hcmVhL3BkZi1maW5kLWlucHV0LWFyZWEuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQWUsTUFBTSxlQUFlLENBQUM7Ozs7OztBQU85RCxNQUFNLE9BQU8seUJBQXlCO0lBRTdCLHNCQUFzQixDQUErQjt3R0FGakQseUJBQXlCOzRGQUF6Qix5QkFBeUIseUhDUHRDLHVUQVNBOzs0RkRGYSx5QkFBeUI7a0JBTHJDLFNBQVM7K0JBQ0UscUJBQXFCOzhCQU14QixzQkFBc0I7c0JBRDVCLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0LCBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdwZGYtZmluZC1pbnB1dC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