PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

ui5-cc-pdfviewer

A UI5 custom control that renders a PDF from a base64 data URI with pdfjs-dist, so a file picked in the browser can be shown before it has been uploaded anywhere and has a URL.

A UI5 control that displays a PDF expects a file URL, which a document picked from a file uploader does not have until it has been sent somewhere. This takes the base64 data URI instead: the control is PdfViewer in the cc.pdfviewer namespace, bound through its pdfSource property, so a file chosen in the browser can be shown before anything is stored. Installation is the npm package plus two resourceRoots entries in manifest.json, one for the control and one for pdfjs-dist, which is the renderer it ships with. The README states it is a fork of lemaiwo/UI5LabLibraryPDFViewer.

Facts

Latestv0.1.1ReleasedLast pushLicenceMIT

Where it sits

Lives in
Provides
Custom controls and librariesUI5Custom controls and librariescapabilityExtending the set of controls an app is built from: a control of its own, a wrapper around a third-party widget, or an icon font registered with the framework, packaged so another app can reuse it. Distinct from [Web Components interop](capability:ui5-web-components), which brings in standard custom elements, and from [generators](capability:generators), which scaffold a control project rather than being one.

Who is behind it

Marian ZeisMarian ZeisPersonMaintains this
In the atlas: maintains 35, contributes to 86, wrote 25
@marianfoo
maintainerGregor WolfPersonContributes to this
In the atlas: maintains 17, contributes to 59, wrote 2
@gregorwolf
1 contributor

Before choosing this

Signals

ActivityQuietRelease and repository quiet for 41 months

Both observable publication channels have been quiet for at least 24 full months. This may be normal for stable software; check whether its current state still fits your use.

Conditions

PracticalFunctional boundary

The case it is written for is a document that has not been uploaded; anything already served from a URL is what the framework's own PDF control takes. Passing a document as a data URI means holding it in the page as a string first, which is a different cost from streaming it from a server.

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
Inside its host
Distributed through
npm

Connections1

Install

npm add ui5-cc-pdfviewer

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from marianfoo/ui5-cc-pdfviewer under MIT, read
marianfoo/ui5-cc-pdfviewer/README.mdOn GitHub

UI5Lab Library PDFViewer

This is a fork of https://github.com/lemaiwo/UI5LabLibraryPDFViewer!

The PDFViewer is a custom UI5 control that enables you to view PDF's by using a base64 data uri instead of a file URL. This can be useful in case you want to preview a PDF that you want to upload without uploading it.

Demo

In folder test/pdfviewer, execute npm install and upload a PDF file. Then run npm start.

Usage

Include the library in your project
  1. Install Control
npm install "ui5-cc-pdfviewer"
  1. Configure the manifest.json
    "resourceRoots": {
      "cc.pdfviewer": "./thirdparty/cc/pdfviewer",
      "pdfjs-dist": "./thirdparty/cc/pdfviewer/pdfjs-dist/build"
    },
  1. Use the PDF Control
<mvc:View controllerName="pdfviewer.controller.Main"
    xmlns:mvc="sap.ui.core.mvc" displayBlock="true"
    xmlns="sap.m" xmlns:u="sap.ui.unified" xmlns:pdf ="cc.pdfviewer">
    <Page id="page" title="{i18n>title}">
        <content>
            <u:FileUploader id="upload" fileType="pdf" name="upload" tooltip="Upload your image" change="onFileChange" maximumFileSize="10" sameFilenameAllowed="true"></u:FileUploader>
            <Button text="Open PDF in dialog" press="onOpenPDFViewer"/>
            <pdf:PdfViewer id="pdfViewer" pdfSource="{/pdfsource}" height="700px"/>
        </content>
    </Page>
</mvc:View>
MIT, read

History

Latest

v0.1.1

  1. v0.1.0

  2. v0.0.1

On npm
1downloads per week, npm
Weekly downloads for ui5-cc-pdfviewer26 complete calendar weeks from 2026-04-27 to 2026-10-25; the latest total is 1.27 Apr – 3 May: 54 May – 10 May: 1311 May – 17 May: 1318 May – 24 May: 2225 May – 31 May: 41 Jun – 7 Jun: 48 Jun – 14 Jun: 615 Jun – 21 Jun: 1022 Jun – 28 Jun: 829 Jun – 5 Jul: 136 Jul – 12 Jul: 1313 Jul – 19 Jul: 220 Jul – 26 Jul: 627 Jul – 2 Aug: 53 Aug – 9 Aug: 1510 Aug – 16 Aug: 717 Aug – 23 Aug: 624 Aug – 30 Aug: 431 Aug – 6 Sept: 147 Sept – 13 Sept: 1414 Sept – 20 Sept: 421 Sept – 27 Sept: 228 Sept – 4 Oct: 55 Oct – 11 Oct: 712 Oct – 18 Oct: 519 Oct – 25 Oct: 1
Custom controls and libraries
  1. custom-controlsThirteen custom UI5 controls for abap2UI5 appsfrom ABAP
  2. @abap2ui5/embed-controlUI5 custom control that runs an abap2UI5 app inside a host appfrom UI5
  3. ui5-cc-timerbuttonUI5 control library with a button that delays enabling or showingfrom UI5
  4. ui5-control-generatorCommand line generator of UI5 custom controls from htmlfrom UI5
  5. @marianfoo/ui5-cc-dayjsUI5 custom control formatting dates with Day.jsfrom UI5
  6. openui5-passwordOpenUI5 password input with strength scoring and rulesfrom UI5
  7. openui5-tourOpenUI5 control library for guided app toursfrom UI5
  8. ui5-lib-visualizationUI5 control library wrapping C3.js charts as ui5.viz controlsfrom UI5
  9. UI5XUI5 library of eight composite controls under the ui5x namespacefrom UI5
  10. openui5-cameraUI5 control for live camera preview and PNG capturefrom UI5
  11. ui5-cc-chartUI5 custom control wrapping Chart.js for line chartsfrom UI5
  12. ui5-cc-mdUI5 custom control rendering Markdown to HTMLfrom UI5
  13. ui5-fontawesome-libUI5 library adding Font Awesome icon sets to sap-icon://from UI5
  14. openui5-paginatorA UI5 custom control that pages through large data in a table, for backends that serve pages over REST rather than OData.from UI5

Details

Sources4
GitHub APIdiscovered here, marianfoochecked
npm registry, ui5-cc-pdfviewerversion, releases, installschecked
github.com/marianfoo/ui5-cc-pdfviewertree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
latestv0.1.1
first release
releases and cadence3, ~5d median
discovered viaGitHub API · marianfoo
first seen in the atlas
ecosystem and domainui5, ui-and-frontend-bridge
Contributors1

From the repository’s contributor list, .

History in the atlas2
  1. Read out of the marianfoo account listing. No lineage edge: the README states the fork of lemaiwo/UI5LabLibraryPDFViewer, and that repository is not in the corpus, so the fact is carried in the description rather than pointed at an id that does not resolve.
  2. First seen.
For your agent
Ref
artifact:marianfoo-ui5-cc-pdfviewer
JSON
/artifacts/marianfoo-ui5-cc-pdfviewer.json
MCP
Connecting an agent