SYMBOL INDEX (225 symbols across 50 files) FILE: packages/react-pdf/src/Document.spec.tsx function ChildInternal (line 22) | function ChildInternal({ function Child (line 36) | function Child(props: React.ComponentProps) { function waitForAsync (line 44) | async function waitForAsync() { function triggerTouchStart (line 657) | function triggerTouchStart(element: HTMLElement) { FILE: packages/react-pdf/src/Document.tsx type OnItemClick (line 58) | type OnItemClick = (args: OnItemClickArgs) => void; type OnPassword (line 60) | type OnPassword = (callback: OnPasswordCallback, reason: PasswordRespons... type OnSourceError (line 62) | type OnSourceError = OnError; type OnSourceSuccess (line 64) | type OnSourceSuccess = () => void; type DocumentProps (line 66) | type DocumentProps = { function isParameterObject (line 233) | function isParameterObject(file: File): file is Source { function onSourceSuccess (line 349) | function onSourceSuccess() { function onSourceError (line 358) | function onSourceError() { function resetSource (line 371) | function resetSource() { function onLoadSuccess (line 475) | function onLoadSuccess() { function onLoadError (line 492) | function onLoadError() { function renderChildren (line 608) | function renderChildren() { function renderContent (line 625) | function renderContent() { FILE: packages/react-pdf/src/LinkService.ts constant DEFAULT_LINK_REL (line 27) | const DEFAULT_LINK_REL = 'noopener noreferrer nofollow'; type PDFViewer (line 29) | type PDFViewer = { class LinkService (line 34) | class LinkService implements IPDFLinkService { method constructor (line 42) | constructor() { method setDocument (line 51) | setDocument(pdfDocument: PDFDocumentProxy): void { method setViewer (line 55) | setViewer(pdfViewer: PDFViewer): void { method setExternalLinkRel (line 59) | setExternalLinkRel(externalLinkRel?: ExternalLinkRel): void { method setExternalLinkTarget (line 63) | setExternalLinkTarget(externalLinkTarget?: ExternalLinkTarget): void { method setHash (line 67) | setHash(): void { method setHistory (line 71) | setHistory(): void { method pagesCount (line 75) | get pagesCount(): number { method page (line 79) | get page(): number { method page (line 85) | set page(value: number) { method rotation (line 91) | get rotation(): number { method rotation (line 95) | set rotation(_value) { method addLinkAttributes (line 99) | addLinkAttributes(link: HTMLAnchorElement, url: string, newWindow: boo... method goToDestination (line 105) | goToDestination(dest: Dest): Promise { method goToPage (line 159) | goToPage(pageNumber: number): void { method goToXY (line 175) | goToXY(): void { method cachePageRef (line 179) | cachePageRef(): void { method getDestinationHash (line 183) | getDestinationHash(): string { method getAnchorUrl (line 187) | getAnchorUrl(): string { method executeNamedAction (line 191) | executeNamedAction(): void { method executeSetOCGState (line 195) | executeSetOCGState(): void { method isPageVisible (line 199) | isPageVisible(): boolean { method isPageCached (line 203) | isPageCached(): boolean { method navigateTo (line 207) | navigateTo(dest: Dest): void { FILE: packages/react-pdf/src/Message.tsx type MessageProps (line 1) | type MessageProps = { function Message (line 6) | function Message({ children, type }: MessageProps): React.ReactElement { FILE: packages/react-pdf/src/Outline.spec.tsx type PDFOutline (line 17) | type PDFOutline = Awaited>; function renderWithContext (line 22) | async function renderWithContext(children: React.ReactNode, context: Par... FILE: packages/react-pdf/src/Outline.tsx type PDFOutline (line 22) | type PDFOutline = Awaited>; type OutlineProps (line 24) | type OutlineProps = { function Outline (line 66) | function Outline(props: OutlineProps): React.ReactElement | null { FILE: packages/react-pdf/src/OutlineItem.spec.tsx type PDFOutline (line 17) | type PDFOutline = Awaited>; type PDFOutlineItem (line 18) | type PDFOutlineItem = PDFOutline[number]; function renderWithContext (line 20) | async function renderWithContext( FILE: packages/react-pdf/src/OutlineItem.tsx type PDFOutline (line 12) | type PDFOutline = Awaited>; type PDFOutlineItem (line 14) | type PDFOutlineItem = PDFOutline[number]; type OutlineItemProps (line 16) | type OutlineItemProps = { function OutlineItem (line 21) | function OutlineItem(props: OutlineItemProps): React.ReactElement { FILE: packages/react-pdf/src/Page.spec.tsx function renderWithContext (line 24) | async function renderWithContext(children: React.ReactNode, context: Par... function CustomRenderer (line 550) | function CustomRenderer() { function CustomRenderer (line 659) | function CustomRenderer() { function triggerTouchStart (line 996) | function triggerTouchStart(element: HTMLElement) { FILE: packages/react-pdf/src/Page.tsx type PageProps (line 53) | type PageProps = { function Page (line 318) | function Page(props: PageProps): React.ReactElement { FILE: packages/react-pdf/src/Page/AnnotationLayer.spec.tsx function renderWithContext (line 21) | async function renderWithContext( FILE: packages/react-pdf/src/Page/AnnotationLayer.tsx function AnnotationLayer (line 19) | function AnnotationLayer(): React.ReactElement { FILE: packages/react-pdf/src/Page/Canvas.spec.tsx function renderWithContext (line 17) | async function renderWithContext(children: React.ReactNode, context: Par... FILE: packages/react-pdf/src/Page/Canvas.tsx constant ANNOTATION_MODE (line 22) | const ANNOTATION_MODE = pdfjs.AnnotationMode; type CanvasProps (line 24) | type CanvasProps = { function Canvas (line 28) | function Canvas(props: CanvasProps): React.ReactElement { FILE: packages/react-pdf/src/Page/TextLayer.spec.tsx function renderWithContext (line 19) | async function renderWithContext(children: React.ReactNode, context: Par... function getTextItems (line 38) | function getTextItems(container: HTMLElement) { FILE: packages/react-pdf/src/Page/TextLayer.tsx function isTextItem (line 17) | function isTextItem(item: TextItem | TextMarkedContent): item is TextItem { constant BLOCKED_CUSTOM_TEXT_TAGS (line 21) | const BLOCKED_CUSTOM_TEXT_TAGS = new Set([ constant URL_ATTRIBUTES (line 33) | const URL_ATTRIBUTES = new Set(['action', 'formaction', 'href', 'poster'... function isDangerousUrl (line 35) | function isDangerousUrl(value: string): boolean { function isElementNode (line 51) | function isElementNode(node: Node): node is Element { function isHtmlElement (line 55) | function isHtmlElement(node: Node): node is HTMLElement { function isBlockedCustomTextElement (line 59) | function isBlockedCustomTextElement(node: Node): boolean { function sanitizeCustomHtmlElement (line 63) | function sanitizeCustomHtmlElement(element: HTMLElement): HTMLElement { function sanitizeCustomTextNode (line 87) | function sanitizeCustomTextNode(node: ChildNode): Node { function renderSafeCustomText (line 95) | function renderSafeCustomText(target: Element, content: string): void { function TextLayer (line 108) | function TextLayer(): React.ReactElement { FILE: packages/react-pdf/src/Ref.ts class Ref (line 1) | class Ref { method constructor (line 5) | constructor({ num, gen }: { num: number; gen: number }) { method toString (line 10) | toString(): string { FILE: packages/react-pdf/src/StructTree.spec.tsx function renderWithContext (line 18) | async function renderWithContext(children: React.ReactNode, context: Par... FILE: packages/react-pdf/src/StructTree.tsx function StructTree (line 15) | function StructTree(): React.ReactElement | null { FILE: packages/react-pdf/src/StructTreeItem.tsx type StructTreeItemProps (line 12) | type StructTreeItemProps = { function StructTreeItem (line 17) | function StructTreeItem({ FILE: packages/react-pdf/src/Thumbnail.spec.tsx function renderWithContext (line 22) | async function renderWithContext(children: React.ReactNode, context: Par... function CustomRenderer (line 452) | function CustomRenderer() { function triggerTouchStart (line 649) | function triggerTouchStart(element: HTMLElement) { FILE: packages/react-pdf/src/Thumbnail.tsx type ThumbnailProps (line 15) | type ThumbnailProps = Omit< function Thumbnail (line 51) | function Thumbnail(props: ThumbnailProps): React.ReactElement { FILE: packages/react-pdf/src/shared/constants.ts constant PDF_ROLE_TO_HTML_ROLE (line 3) | const PDF_ROLE_TO_HTML_ROLE = { constant HEADING_PATTERN (line 59) | const HEADING_PATTERN: RegExp = /^H(\d+)$/; FILE: packages/react-pdf/src/shared/hooks/useCachedValue.ts function useCachedValue (line 7) | function useCachedValue(getter: () => T): () => T { FILE: packages/react-pdf/src/shared/hooks/useDocumentContext.ts function useDocumentContext (line 7) | function useDocumentContext(): DocumentContextType { FILE: packages/react-pdf/src/shared/hooks/useOutlineContext.ts function useOutlineContext (line 7) | function useOutlineContext(): OutlineContextType { FILE: packages/react-pdf/src/shared/hooks/usePageContext.ts function usePageContext (line 7) | function usePageContext(): PageContextType { FILE: packages/react-pdf/src/shared/hooks/useResolver.ts type State (line 3) | type State = type Action (line 8) | type Action = function reducer (line 13) | function reducer(state: State, action: Action): State { function useResolver (line 26) | function useResolver(): [State, React.Dispatch>] { FILE: packages/react-pdf/src/shared/structTreeUtils.ts type PdfRole (line 6) | type PdfRole = keyof typeof PDF_ROLE_TO_HTML_ROLE; type Attributes (line 8) | type Attributes = React.HTMLAttributes; function isPdfRole (line 10) | function isPdfRole(role: string): role is PdfRole { function isStructTreeNode (line 14) | function isStructTreeNode(node: StructTreeNode | StructTreeContent): nod... function isStructTreeNodeWithOnlyContentChild (line 18) | function isStructTreeNodeWithOnlyContentChild( function getRoleAttributes (line 28) | function getRoleAttributes(node: StructTreeNode | StructTreeContent): At... function getBaseAttributes (line 51) | function getBaseAttributes( function getAttributes (line 84) | function getAttributes( FILE: packages/react-pdf/src/shared/types.ts type NullableObject (line 21) | type NullableObject = { [P in keyof T]: T[P] | null }; type KeyOfUnion (line 23) | type KeyOfUnion = T extends unknown ? keyof T : never; type Annotations (line 26) | type Annotations = AnnotationLayerParameters['annotations']; type ClassName (line 28) | type ClassName = string | null | undefined | (string | null | undefined)[]; type ResolvedDest (line 30) | type ResolvedDest = (RefProxy | number)[]; type Dest (line 32) | type Dest = Promise | ResolvedDest | string | null; type ExternalLinkRel (line 34) | type ExternalLinkRel = string; type ExternalLinkTarget (line 36) | type ExternalLinkTarget = '_self' | '_blank' | '_parent' | '_top'; type FilterAnnotationsArgs (line 38) | type FilterAnnotationsArgs = { type ImageResourcesPath (line 42) | type ImageResourcesPath = string; type OnError (line 44) | type OnError = (error: Error) => void; type OnItemClickArgs (line 46) | type OnItemClickArgs = { type OnLoadProgressArgs (line 52) | type OnLoadProgressArgs = { type RegisterPage (line 57) | type RegisterPage = (pageIndex: number, ref: HTMLDivElement) => void; type RenderMode (line 59) | type RenderMode = 'canvas' | 'custom' | 'none'; type ScrollPageIntoViewArgs (line 61) | type ScrollPageIntoViewArgs = { type BinaryData (line 67) | type BinaryData = TypedArray | ArrayBuffer | number[] | string; type Source (line 69) | type Source = type UnregisterPage (line 74) | type UnregisterPage = (pageIndex: number) => void; type CustomRenderer (line 77) | type CustomRenderer = React.FunctionComponent | React.ComponentClass; type CustomTextRenderer (line 79) | type CustomTextRenderer = ( type DocumentCallback (line 83) | type DocumentCallback = PDFDocumentProxy; type File (line 85) | type File = string | ArrayBuffer | Blob | Source | null; type PageCallback (line 87) | type PageCallback = PDFPageProxy & { type NodeOrRenderer (line 94) | type NodeOrRenderer = React.ReactNode | (() => React.ReactNode); type FilterAnnotations (line 96) | type FilterAnnotations = (args: FilterAnnotationsArgs) => Annotations; type OnDocumentLoadError (line 98) | type OnDocumentLoadError = OnError; type OnDocumentLoadProgress (line 100) | type OnDocumentLoadProgress = (args: OnLoadProgressArgs) => void; type OnDocumentLoadSuccess (line 102) | type OnDocumentLoadSuccess = (document: DocumentCallback) => void; type OnGetAnnotationsError (line 104) | type OnGetAnnotationsError = OnError; type OnGetAnnotationsSuccess (line 106) | type OnGetAnnotationsSuccess = (annotations: Annotations) => void; type OnGetStructTreeError (line 108) | type OnGetStructTreeError = OnError; type OnGetStructTreeSuccess (line 110) | type OnGetStructTreeSuccess = (tree: StructTreeNode) => void; type OnGetTextError (line 112) | type OnGetTextError = OnError; type OnGetTextSuccess (line 114) | type OnGetTextSuccess = (textContent: TextContent) => void; type OnPageLoadError (line 116) | type OnPageLoadError = OnError; type OnPageLoadSuccess (line 118) | type OnPageLoadSuccess = (page: PageCallback) => void; type OnPasswordCallback (line 120) | type OnPasswordCallback = (password: string | null) => void; type OnRenderAnnotationLayerError (line 122) | type OnRenderAnnotationLayerError = (error: unknown) => void; type OnRenderAnnotationLayerSuccess (line 124) | type OnRenderAnnotationLayerSuccess = () => void; type OnRenderError (line 126) | type OnRenderError = OnError; type OnRenderSuccess (line 128) | type OnRenderSuccess = (page: PageCallback) => void; type OnRenderTextLayerError (line 130) | type OnRenderTextLayerError = OnError; type OnRenderTextLayerSuccess (line 132) | type OnRenderTextLayerSuccess = () => void; type PasswordResponse (line 134) | type PasswordResponse = (typeof PasswordResponses)[keyof typeof Password... type Options (line 136) | type Options = NullableObject, 'pdf'>... type PageRenderProps (line 196) | type PageRenderProps = Omit, 'page'> & { FILE: packages/react-pdf/src/shared/utils.ts function isDefined (line 22) | function isDefined(variable: T | undefined): variable is T { function isProvided (line 31) | function isProvided(variable: T | null | undefined): variable is T { function isString (line 40) | function isString(variable: unknown): variable is string { function isArrayBuffer (line 49) | function isArrayBuffer(variable: unknown): variable is ArrayBuffer { function isBlob (line 58) | function isBlob(variable: unknown): variable is Blob { function isDataURI (line 69) | function isDataURI(variable: unknown): variable is `data:${string}` { function dataURItoByteString (line 73) | function dataURItoByteString(dataURI: unknown): string { function getDevicePixelRatio (line 86) | function getDevicePixelRatio(): number { function displayCORSWarning (line 93) | function displayCORSWarning(): void { function displayWorkerWarning (line 100) | function displayWorkerWarning(): void { function cancelRunningTask (line 107) | function cancelRunningTask(runningTask?: { cancel?: () => void } | null)... function makePageCallback (line 111) | function makePageCallback(page: PDFPageProxy, scale: number): PageCallba... function isAbortException (line 139) | function isAbortException(error: Error): boolean { function loadFromFile (line 143) | function loadFromFile(file: Blob): Promise { FILE: sample/next-app/app/Sample.tsx type PDFFile (line 28) | type PDFFile = string | File | null; function Sample (line 30) | function Sample() { FILE: sample/next-app/app/layout.tsx function RootLayout (line 5) | function RootLayout({ children }: { children: React.ReactNode }) { FILE: sample/next-app/app/page.tsx function Page (line 9) | function Page() { FILE: sample/next-pages/pages/Sample.tsx type PDFFile (line 24) | type PDFFile = string | File | null; function Sample (line 26) | function Sample() { FILE: sample/next-pages/pages/_app.tsx function App (line 5) | function App({ Component, pageProps }: AppProps) { FILE: sample/next-pages/pages/index.tsx function Page (line 7) | function Page() { FILE: sample/parcel2/Sample.tsx type PDFFile (line 28) | type PDFFile = string | File | null; function Sample (line 30) | function Sample() { FILE: sample/vite/Sample.tsx type PDFFile (line 26) | type PDFFile = string | File | null; function Sample (line 28) | function Sample() { FILE: sample/webpack5/Sample.tsx type PDFFile (line 26) | type PDFFile = string | File | null; function Sample (line 28) | function Sample() { FILE: test-utils.ts type Func (line 6) | type Func = (...args: T) => void; function makeAsyncCallbackWithoutValue (line 8) | function makeAsyncCallbackWithoutValue(): { function makeAsyncCallbackWithValue (line 21) | function makeAsyncCallbackWithValue(value: T): { function makeAsyncCallback (line 38) | function makeAsyncCallback(value?: T) { function loadPDF (line 45) | async function loadPDF(path: string): Promise<{ function muteConsole (line 81) | function muteConsole(): void { function restoreConsole (line 93) | function restoreConsole(): void { FILE: test/AnnotationOptions.tsx type AnnotationOptionsProps (line 5) | type AnnotationOptionsProps = { function AnnotationOptions (line 10) | function AnnotationOptions({ FILE: test/CustomRenderer.tsx function CustomRenderer (line 7) | function CustomRenderer() { FILE: test/LayerOptions.tsx type LayerOptionsProps (line 3) | type LayerOptionsProps = { function LayerOptions (line 14) | function LayerOptions({ FILE: test/LoadingOptions.tsx type LoadingOptionsProps (line 8) | type LoadingOptionsProps = { function LoadingOptions (line 14) | function LoadingOptions({ file, setFile, setRender }: LoadingOptionsProp... FILE: test/PassingOptions.tsx type PassingOptionsProps (line 6) | type PassingOptionsProps = { function PassingOptions (line 12) | function PassingOptions({ file, passMethod, setPassMethod }: PassingOpti... FILE: test/Test.tsx function readAsDataURL (line 33) | function readAsDataURL(file: Blob): Promise { function Test (line 72) | function Test() { FILE: test/ViewOptions.tsx type ViewOptionsProps (line 5) | type ViewOptionsProps = { function ViewOptions (line 26) | function ViewOptions({ FILE: test/shared/types.ts type BinaryData (line 4) | type BinaryData = TypedArray | ArrayBuffer | number[] | string; type Source (line 6) | type Source = type ExternalLinkTarget (line 11) | type ExternalLinkTarget = '_self' | '_blank' | '_parent' | '_top'; type File (line 13) | type File = string | ArrayBuffer | Blob | Source | null; type PassMethod (line 15) | type PassMethod = 'normal' | 'object' | 'string'; type RenderMode (line 17) | type RenderMode = 'canvas' | 'custom' | 'none'; FILE: test/shared/utils.ts function isString (line 13) | function isString(variable: unknown): variable is string { function isArrayBuffer (line 22) | function isArrayBuffer(variable: unknown): variable is ArrayBuffer { function isBlob (line 31) | function isBlob(variable: unknown): variable is Blob { function isDataURI (line 42) | function isDataURI(variable: unknown): variable is `data:${string}` { function loadFromFile (line 46) | function loadFromFile(file: Blob): Promise {