@scaleflex/widget-pdf-js 4.0.7 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7605 -7593
- package/LICENSE +0 -0
- package/README.md +67 -67
- package/package.json +3 -3
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
# `@scaleflex/widget-pdf-js`
|
|
2
|
-
|
|
3
|
-
[![Plugins][plugins-image]](#plugins)
|
|
4
|
-
[![Website][filerobot-image]][sfx-url]
|
|
5
|
-
[![Version][filerobot-version]][version-url]
|
|
6
|
-
[![Scaleflex team][made-by-image]][sfx-url]
|
|
7
|
-
[![License][license-image]][license-url]
|
|
8
|
-
[![CodeSandbox][codeSandbox-image]][codeSandbox-url]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<div align='center'>
|
|
12
|
-
<img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://assets.scaleflex.com/Corporate+Branding/%5B2025%5D+ALL+LOGOS+%2B+ICONS/SCALEFLEX/VXP+logo/Horizontal+White/VXP+logo+WHITE.png?vh=663932" width="140"/>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
The pdf-js plugin provides functionality for preview pdf pages in [Scaleflex Media Asset Widget](https://www.npmjs.com/package/@scaleflex/widget-core).
|
|
16
|
-
|
|
17
|
-
## Usage
|
|
18
|
-
|
|
19
|
-
### NPM
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npm install --save @scaleflex/widget-pdf-js
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### YARN
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
yarn add @scaleflex/widget-pdf-js
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
then
|
|
32
|
-
|
|
33
|
-
```js
|
|
34
|
-
import PdfJs from '@scaleflex/widget-pdf-js'
|
|
35
|
-
...
|
|
36
|
-
...
|
|
37
|
-
...
|
|
38
|
-
scaleflexWidget.use(PdfJs)
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### CDN
|
|
42
|
-
|
|
43
|
-
The plugin from CDN is found inside `Scaleflex` global object `Scaleflex.PdfJs`
|
|
44
|
-
|
|
45
|
-
```js
|
|
46
|
-
const PdfJs = window.ScaleflexWidget.PdfJs
|
|
47
|
-
...
|
|
48
|
-
...
|
|
49
|
-
...
|
|
50
|
-
scaleflexWidget.use(PdfJs)
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
<!-- Variables -->
|
|
54
|
-
|
|
55
|
-
[npm-url]: https://www.npmjs.com/package/@scaleflex/widget-pdf-js
|
|
56
|
-
[license-url]: https://opensource.org/licenses/MIT
|
|
57
|
-
[sfx-url]: https://www.scaleflex.com/
|
|
58
|
-
[version-url]: https://www.npmjs.com/package/@scaleflex/widget-pdf-js
|
|
59
|
-
[codeSandbox-url]: https://codesandbox.io/p/sandbox/scalelfex-widget-v4-sandbox-dtp6l3?file=%2Fsrc%2Findex.js
|
|
60
|
-
|
|
61
|
-
[npm-image]: https://img.shields.io/npm/v/@telus/remark-config.svg?style=for-the-badge&logo=npm
|
|
62
|
-
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge
|
|
63
|
-
[made-by-image]: https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg?style=for-the-badge
|
|
64
|
-
[plugins-image]: https://img.shields.io/static/v1?label=Scaleflex&message=Plugins&color=yellow&style=for-the-badge
|
|
65
|
-
[filerobot-image]: https://img.shields.io/static/v1?label=Scaleflex&message=website&color=orange&style=for-the-badge
|
|
66
|
-
[filerobot-version]: https://img.shields.io/npm/v/@scaleflex/widget-pdf-js?label=Version&style=for-the-badge&logo=npm
|
|
67
|
-
[codeSandbox-image]: https://img.shields.io/badge/CodeSandbox-black?style=for-the-badge&logo=CodeSandbox
|
|
1
|
+
# `@scaleflex/widget-pdf-js`
|
|
2
|
+
|
|
3
|
+
[![Plugins][plugins-image]](#plugins)
|
|
4
|
+
[![Website][filerobot-image]][sfx-url]
|
|
5
|
+
[![Version][filerobot-version]][version-url]
|
|
6
|
+
[![Scaleflex team][made-by-image]][sfx-url]
|
|
7
|
+
[![License][license-image]][license-url]
|
|
8
|
+
[![CodeSandbox][codeSandbox-image]][codeSandbox-url]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
<div align='center'>
|
|
12
|
+
<img title="Scaleflex Widget logo" alt="Scaleflex Widget logo" src="https://assets.scaleflex.com/Corporate+Branding/%5B2025%5D+ALL+LOGOS+%2B+ICONS/SCALEFLEX/VXP+logo/Horizontal+White/VXP+logo+WHITE.png?vh=663932" width="140"/>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
The pdf-js plugin provides functionality for preview pdf pages in [Scaleflex Media Asset Widget](https://www.npmjs.com/package/@scaleflex/widget-core).
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### NPM
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install --save @scaleflex/widget-pdf-js
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### YARN
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
yarn add @scaleflex/widget-pdf-js
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
then
|
|
32
|
+
|
|
33
|
+
```js
|
|
34
|
+
import PdfJs from '@scaleflex/widget-pdf-js'
|
|
35
|
+
...
|
|
36
|
+
...
|
|
37
|
+
...
|
|
38
|
+
scaleflexWidget.use(PdfJs)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### CDN
|
|
42
|
+
|
|
43
|
+
The plugin from CDN is found inside `Scaleflex` global object `Scaleflex.PdfJs`
|
|
44
|
+
|
|
45
|
+
```js
|
|
46
|
+
const PdfJs = window.ScaleflexWidget.PdfJs
|
|
47
|
+
...
|
|
48
|
+
...
|
|
49
|
+
...
|
|
50
|
+
scaleflexWidget.use(PdfJs)
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
<!-- Variables -->
|
|
54
|
+
|
|
55
|
+
[npm-url]: https://www.npmjs.com/package/@scaleflex/widget-pdf-js
|
|
56
|
+
[license-url]: https://opensource.org/licenses/MIT
|
|
57
|
+
[sfx-url]: https://www.scaleflex.com/
|
|
58
|
+
[version-url]: https://www.npmjs.com/package/@scaleflex/widget-pdf-js
|
|
59
|
+
[codeSandbox-url]: https://codesandbox.io/p/sandbox/scalelfex-widget-v4-sandbox-dtp6l3?file=%2Fsrc%2Findex.js
|
|
60
|
+
|
|
61
|
+
[npm-image]: https://img.shields.io/npm/v/@telus/remark-config.svg?style=for-the-badge&logo=npm
|
|
62
|
+
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge
|
|
63
|
+
[made-by-image]: https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg?style=for-the-badge
|
|
64
|
+
[plugins-image]: https://img.shields.io/static/v1?label=Scaleflex&message=Plugins&color=yellow&style=for-the-badge
|
|
65
|
+
[filerobot-image]: https://img.shields.io/static/v1?label=Scaleflex&message=website&color=orange&style=for-the-badge
|
|
66
|
+
[filerobot-version]: https://img.shields.io/npm/v/@scaleflex/widget-pdf-js?label=Version&style=for-the-badge&logo=npm
|
|
67
|
+
[codeSandbox-image]: https://img.shields.io/badge/CodeSandbox-black?style=for-the-badge&logo=CodeSandbox
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleflex/widget-pdf-js",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Pdf-js integration with Scaleflex",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@scaleflex/icons": "^3.0.0-beta.11",
|
|
17
17
|
"@scaleflex/ui": "^3.0.0-beta.11",
|
|
18
|
-
"@scaleflex/widget-common": "^4.0
|
|
18
|
+
"@scaleflex/widget-common": "^4.1.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"react": "^19.0.0",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"react": ">=19.0.0",
|
|
28
28
|
"react-dom": ">=19.0.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "471120d67066617a0d8824eae11b07d1f2259473"
|
|
31
31
|
}
|