@pdfme/common 4.2.2 → 4.2.3

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/README.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # PDFME
2
2
 
3
- <p>
3
+ <p align="center">
4
+ <img src="https://raw.githubusercontent.com/pdfme/pdfme/main/website/static/img/logo.svg" width="300"/>
5
+ </p>
6
+
7
+ <h4 align="center">
8
+ <a href="https://pdfme.com/">Website</a> |
9
+ <a href="https://app.pdfme.com/">pdfme Cloud</a> |
10
+ <a href="https://discord.gg/xWPTJbmgNV">Discord</a>
11
+ </h4>
12
+
13
+ <p align="center">
4
14
  <a href="https://github.com/pdfme/pdfme/blob/master/LICENSE.md">
5
15
  <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="pdfme is released under the MIT license." />
6
16
  </a>
@@ -13,20 +23,9 @@
13
23
  <a href="https://npmcharts.com/compare/@pdfme/common?minimal=true">
14
24
  <img src="https://img.shields.io/npm/dm/@pdfme/common.svg" alt="Downloads per month on npm." />
15
25
  </a>
16
- <a href="https://pdfme.com/docs/development-guide#contribution">
17
- <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome!" />
18
- </a>
19
- <a href="https://twitter.com/intent/tweet?text=Awesome+pdf+library%21&url=https://pdfme.com">
20
- <img src="https://img.shields.io/twitter/url/http/shields.io.svg?style=social" alt="Tweet" />
21
- </a>
22
26
  </p>
23
27
 
24
- TypeScript base PDF generator and React base UI.
25
- Open source, developed by the community, and completely free to use under the MIT license!
26
-
27
- <p align="center">
28
- <img src="https://raw.githubusercontent.com/pdfme/pdfme/main/website/static/img/logo.svg" width="300"/>
29
- </p>
28
+ <p align="center">TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!</p>
30
29
 
31
30
  ## Features
32
31
 
@@ -302,3 +301,18 @@ const viewer = new Viewer({ domContainer, template, inputs });
302
301
 
303
302
  If you want to contribute to pdfme, please check the [Development Guide](https://pdfme.com/docs/development-guide) page.
304
303
  We look forward to your contribution!
304
+
305
+ ## Cloud Service Option
306
+
307
+ While pdfme is a powerful open-source library, we understand that some users might prefer a managed solution. For those looking for a ready-to-use, scalable PDF generation service without the need for setup and maintenance, we offer pdfme Cloud.
308
+
309
+ **[Try pdfme Cloud - Hassle-free PDF Generation](https://app.pdfme.com/)**
310
+
311
+ pdfme Cloud provides all the features of the open-source library, plus:
312
+
313
+ - PDF generation at scale without infrastructure management
314
+ - Hosted WYSIWYG template designer
315
+ - Simple API integration
316
+ - Automatic updates and maintenance
317
+
318
+ \*pdfme is and will always remain open-source. The cloud service is an optional offering for those who prefer a managed solution.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DEFAULT_FONT_VALUE = exports.DEFAULT_FONT_NAME = exports.BLANK_PDF = exports.ZOOM = exports.MM_TO_PT_RATIO = exports.PT_TO_MM_RATIO = exports.PT_TO_PX_RATIO = exports.PDFME_VERSION = void 0;
4
+ // TODO: Automatically retrieve and apply the current git tag during the build process.
4
5
  exports.PDFME_VERSION = '4.0.0';
5
6
  exports.PT_TO_PX_RATIO = 1.333;
6
7
  exports.PT_TO_MM_RATIO = 0.3528;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG,OAAO,CAAC;AACxB,QAAA,cAAc,GAAG,KAAK,CAAC;AACvB,QAAA,cAAc,GAAG,MAAM,CAAC;AACxB,QAAA,cAAc,GAAG,MAAM,CAAC,CAAC,2DAA2D;AACpF,QAAA,IAAI,GAAG,YAAY,CAAC;AACpB,QAAA,SAAS,GACpB,8kCAA8kC,CAAC;AACpkC,QAAA,iBAAiB,GAAG,QAAQ,CAAC;AAC7B,QAAA,kBAAkB,GAC7B,mwxKAAmwxK,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":";;;AAAA,uFAAuF;AAC1E,QAAA,aAAa,GAAG,OAAO,CAAC;AACxB,QAAA,cAAc,GAAG,KAAK,CAAC;AACvB,QAAA,cAAc,GAAG,MAAM,CAAC;AACxB,QAAA,cAAc,GAAG,MAAM,CAAC,CAAC,2DAA2D;AACpF,QAAA,IAAI,GAAG,YAAY,CAAC;AACpB,QAAA,SAAS,GACpB,8kCAA8kC,CAAC;AACpkC,QAAA,iBAAiB,GAAG,QAAQ,CAAC;AAC7B,QAAA,kBAAkB,GAC7B,mwxKAAmwxK,CAAC"}
@@ -1,3 +1,4 @@
1
+ // TODO: Automatically retrieve and apply the current git tag during the build process.
1
2
  export const PDFME_VERSION = '4.0.0';
2
3
  export const PT_TO_PX_RATIO = 1.333;
3
4
  export const PT_TO_MM_RATIO = 0.3528;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC;AACrC,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC;AACpC,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC;AACrC,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,2DAA2D;AACjG,MAAM,CAAC,MAAM,IAAI,GAAG,YAAY,CAAC;AACjC,MAAM,CAAC,MAAM,SAAS,GACpB,8kCAA8kC,CAAC;AACjlC,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAC1C,MAAM,CAAC,MAAM,kBAAkB,GAC7B,mwxKAAmwxK,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC;AACrC,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC;AACpC,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC;AACrC,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,2DAA2D;AACjG,MAAM,CAAC,MAAM,IAAI,GAAG,YAAY,CAAC;AACjC,MAAM,CAAC,MAAM,SAAS,GACpB,8kCAA8kC,CAAC;AACjlC,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAC1C,MAAM,CAAC,MAAM,kBAAkB,GAC7B,mwxKAAmwxK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfme/common",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "sideEffects": false,
5
5
  "author": "hand-dot",
6
6
  "license": "MIT",
package/src/constants.ts CHANGED
@@ -1,3 +1,4 @@
1
+ // TODO: Automatically retrieve and apply the current git tag during the build process.
1
2
  export const PDFME_VERSION = '4.0.0';
2
3
  export const PT_TO_PX_RATIO = 1.333;
3
4
  export const PT_TO_MM_RATIO = 0.3528;