@tallcomponents/unopdf-vue
Advanced tools
Comparing version 1.2.7 to 1.2.8-3e2e30dc
@@ -1,1 +0,1 @@ | ||
import{defineContainer}from"./vue-component-lib/utils";export const PdfApplication=defineContainer("pdf-application",void 0,["publickey","privatekey","apiBaseUrl"]);export const PdfBookmarks=defineContainer("pdf-bookmarks",void 0,["document","pagesviewer"]);export const PdfDocument=defineContainer("pdf-document",void 0,["name","pdfid","loaded","unloaded","formdatachanged"]);export const PdfLayers=defineContainer("pdf-layers",void 0,["document","pagesviewer"]);export const PdfOverlay=defineContainer("pdf-overlay",void 0,["images","texts","pageInfo","pageIndex","width","height","userMode","origin","p","rectangleSelect"]);export const PdfPage=defineContainer("pdf-page",void 0,["pdfdoc","pdfviewer","pageIndex","documentId","pdfPage","rectangleSelect","showCustomWidget","setFocusWidget"]);export const PdfPages=defineContainer("pdf-pages",void 0,["document","name","pageMode","debugUserMode","showCustomWidget","focusWidget","pageindexchanged","zoomfactorchanged","usermodechanged","focuswidgetchanged","rectangleselect"]);export const PdfSidebar=defineContainer("pdf-sidebar",void 0,["document"]);export const PdfSpinner=defineContainer("pdf-spinner",void 0,["showText"]);export const PdfStoreWrapper=defineContainer("pdf-store-wrapper",void 0,["pdfdoc","pdfviewer","pageindex","documentStoreLoaded","viewerStoreLoaded"]);export const PdfThumbnail=defineContainer("pdf-thumbnail",void 0,["documentId","pdfdoc","pdfviewer","pageIndex"]);export const PdfThumbnails=defineContainer("pdf-thumbnails",void 0,["document","pagesviewer","direction"]);export const PdfUploader=defineContainer("pdf-uploader",void 0,["document","pagesviewer"]);export const PdfWidgetBase=defineContainer("pdf-widget-base",void 0,["viewerStore","pageIndex","documentStore","pdfWidget","widgetDivStyles","pdfPage","onClick"]);export const PdfWidgetCheckbox=defineContainer("pdf-widget-checkbox",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","pdfPage","selectChanged"]);export const PdfWidgetListbox=defineContainer("pdf-widget-listbox",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","size","pdfPage","hasFocus","selectChanged","focusChanged"]);export const PdfWidgetMultilinetextbox=defineContainer("pdf-widget-multilinetextbox",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","type","pdfPage","hasFocus","selectChanged","focusChanged"]);export const PdfWidgetRadiobutton=defineContainer("pdf-widget-radiobutton",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","pdfPage","selectChanged"]);export const PdfWidgetSignature=defineContainer("pdf-widget-signature",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","pdfPage","selectChanged"]);export const PdfWidgetTextbox=defineContainer("pdf-widget-textbox",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","type","pdfPage","hasFocus","selectChanged","focusChanged"]);export const PdfWidgets=defineContainer("pdf-widgets",void 0,["pdfdoc","pdfviewer","pageindex","pdfPage","showCustomWidget","setFocusWidget"]);export const PdfZoomButton=defineContainer("pdf-zoom-button",void 0,["pdfdoc","pdfviewer","zoom"]);export const PdfZoomControl=defineContainer("pdf-zoom-control",void 0,["pdfdoc","pdfviewer"]); | ||
import{defineContainer}from"./vue-component-lib/utils";export const PdfApplication=defineContainer("pdf-application",void 0,["publickey","privatekey","apiBaseUrl","sessionsurl","apiError"]);export const PdfBookmarks=defineContainer("pdf-bookmarks",void 0,["document","pagesviewer"]);export const PdfDocument=defineContainer("pdf-document",void 0,["name","pdfid","loaded","unloaded","formdatachanged"]);export const PdfLayers=defineContainer("pdf-layers",void 0,["document","pagesviewer"]);export const PdfOverlay=defineContainer("pdf-overlay",void 0,["images","texts","pageInfo","pageIndex","width","height","userMode","origin","p","rectangleSelect"]);export const PdfPage=defineContainer("pdf-page",void 0,["pdfdoc","pdfviewer","pageIndex","documentId","pdfPage","rectangleSelect","showCustomWidget","setFocusWidget"]);export const PdfPages=defineContainer("pdf-pages",void 0,["document","name","pageMode","debugUserMode","showCustomWidget","focusWidget","pageindexchanged","zoomfactorchanged","usermodechanged","focuswidgetchanged","rectangleselect"]);export const PdfSidebar=defineContainer("pdf-sidebar",void 0,["document"]);export const PdfSpinner=defineContainer("pdf-spinner",void 0,["showText"]);export const PdfStoreWrapper=defineContainer("pdf-store-wrapper",void 0,["pdfdoc","pdfviewer","pageindex","documentStoreLoaded","viewerStoreLoaded"]);export const PdfThumbnail=defineContainer("pdf-thumbnail",void 0,["documentId","pdfdoc","pdfviewer","pageIndex"]);export const PdfThumbnails=defineContainer("pdf-thumbnails",void 0,["document","pagesviewer","direction"]);export const PdfUploader=defineContainer("pdf-uploader",void 0,["document","pagesviewer"]);export const PdfWidgetBase=defineContainer("pdf-widget-base",void 0,["viewerStore","pageIndex","documentStore","pdfWidget","widgetDivStyles","pdfPage","onClick"]);export const PdfWidgetCheckbox=defineContainer("pdf-widget-checkbox",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","pdfPage","selectChanged"]);export const PdfWidgetListbox=defineContainer("pdf-widget-listbox",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","size","pdfPage","hasFocus","selectChanged","focusChanged"]);export const PdfWidgetMultilinetextbox=defineContainer("pdf-widget-multilinetextbox",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","type","pdfPage","hasFocus","selectChanged","focusChanged"]);export const PdfWidgetRadiobutton=defineContainer("pdf-widget-radiobutton",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","pdfPage","selectChanged"]);export const PdfWidgetSignature=defineContainer("pdf-widget-signature",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","pdfPage","selectChanged"]);export const PdfWidgetTextbox=defineContainer("pdf-widget-textbox",void 0,["pdfdoc","pdfviewer","pageIndex","pdfWidget","selected","type","pdfPage","hasFocus","selectChanged","focusChanged"]);export const PdfWidgets=defineContainer("pdf-widgets",void 0,["pdfdoc","pdfviewer","pageindex","pdfPage","showCustomWidget","setFocusWidget"]);export const PdfZoomButton=defineContainer("pdf-zoom-button",void 0,["pdfdoc","pdfviewer","zoom"]);export const PdfZoomControl=defineContainer("pdf-zoom-control",void 0,["pdfdoc","pdfviewer"]); |
@@ -118,9 +118,17 @@ | ||
| Property | Attribute | Description | Type | Default | | ||
| ------------ | -------------- | ----------------------------------------------------------------- | --------------------- | ----------- | | ||
| `apiBaseUrl` | `api-base-url` | Base URL of the Pdf Api server, for usage with an on-premise Api. | `string \| undefined` | `undefined` | | ||
| `privatekey` | `privatekey` | Private Key used to start a Session on the Pdf Api server | `string \| undefined` | `undefined` | | ||
| `publickey` | `publickey` | Public Key used to start a Session on the Pdf Api server | `string \| undefined` | `undefined` | | ||
| Property | Attribute | Description | Type | Default | | ||
| ------------- | -------------- | ------------------------------------------------------------------------------------------------------------ | --------------------- | ----------- | | ||
| `apiBaseUrl` | `api-base-url` | Base URL of the Pdf Api server, for usage with an on-premise Api. | `string \| undefined` | `undefined` | | ||
| `privatekey` | `privatekey` | Private Key used to start a Session on the Pdf Api server. | `string \| undefined` | `undefined` | | ||
| `publickey` | `publickey` | Public Key used to start a Session on the Pdf Api server. | `string \| undefined` | `undefined` | | ||
| `sessionsurl` | `sessionsurl` | URL that points to the backend service that acquires a jwt for authentication (defaults to '/api/sessions'). | `string \| undefined` | `undefined` | | ||
## Events | ||
| Event | Description | Type | | ||
| ---------- | ---------------------------------------- | ------------------------ | | ||
| `apiError` | Event handler used to report Api errors. | `CustomEvent<HttpError>` | | ||
## Methods | ||
@@ -190,3 +198,3 @@ | ||
Return list of documents | ||
Retrieve list of documents | ||
@@ -320,12 +328,6 @@ #### Returns | ||
### `convertTo(format: 'docx' | 'pptx') => Promise<ApiRequest<void, string> | null>` | ||
### `download() => Promise<ApiRequest<void, string> | null>` | ||
Convert document | ||
Download document | ||
#### Parameters | ||
| Name | Type | Description | | ||
| -------- | ------------------ | ----------- | | ||
| `format` | `"docx" \| "pptx"` | | | ||
#### Returns | ||
@@ -337,6 +339,12 @@ | ||
### `download() => Promise<ApiRequest<void, string> | null>` | ||
### `downloadAs(format: 'docx' | 'pptx') => Promise<ApiRequest<void, string> | null>` | ||
Download document | ||
This function converts the current PDF document to either DOCX or PPTX format and initiates a download. | ||
#### Parameters | ||
| Name | Type | Description | | ||
| -------- | ------------------ | ----------- | | ||
| `format` | `"docx" \| "pptx"` | | | ||
#### Returns | ||
@@ -343,0 +351,0 @@ |
{ | ||
"name": "@tallcomponents/unopdf-vue", | ||
"version": "1.2.7", | ||
"version": "1.2.8-3e2e30dc", | ||
"author": "TallComponents <info@tallcomponents.com>", | ||
@@ -5,0 +5,0 @@ "homepage": "https://unopdf.tallcomponents.com", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41060
2