@ottoai/documents 1.5.6 → 1.5.8

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.
@@ -1,4 +1,5 @@
1
1
  export * as us from "./united-states";
2
2
  export * as utils from "./util";
3
3
  export * as types from "./types";
4
+ export * as pdfme from "./pdfme";
4
5
  export { generatePdf } from "./custom-generate";
@@ -23,10 +23,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.generatePdf = exports.types = exports.utils = exports.us = void 0;
26
+ exports.generatePdf = exports.pdfme = exports.types = exports.utils = exports.us = void 0;
27
27
  exports.us = __importStar(require("./united-states"));
28
28
  exports.utils = __importStar(require("./util"));
29
29
  exports.types = __importStar(require("./types"));
30
+ exports.pdfme = __importStar(require("./pdfme"));
30
31
  var custom_generate_1 = require("./custom-generate");
31
32
  Object.defineProperty(exports, "generatePdf", { enumerable: true, get: function () { return custom_generate_1.generatePdf; } });
32
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/create/pdf/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAsC;AACtC,gDAAgC;AAChC,iDAAiC;AAEjC,qDAAgD;AAAvC,8GAAA,WAAW,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/create/pdf/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAsC;AACtC,gDAAgC;AAChC,iDAAiC;AACjC,iDAAiC;AAEjC,qDAAgD;AAAvC,8GAAA,WAAW,OAAA"}
@@ -0,0 +1,2 @@
1
+ export { DEFAULT_FONT_NAME, isHexValid, b64toUint8Array, pt2mm, pt2px, getB64BasePdf, isBlankPdf, mm2pt, px2mm, getFallbackFontName, getDefaultFont, } from "@pdfme/common";
2
+ export type { Schema, Plugins, GeneratorOptions, Template, PDFRenderProps, Plugin, Mode, ColorType, UIRenderProps, GenerateProps, Dict, Font, } from "@pdfme/common";
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getDefaultFont = exports.getFallbackFontName = exports.px2mm = exports.mm2pt = exports.isBlankPdf = exports.getB64BasePdf = exports.pt2px = exports.pt2mm = exports.b64toUint8Array = exports.isHexValid = exports.DEFAULT_FONT_NAME = void 0;
4
+ var common_1 = require("@pdfme/common");
5
+ Object.defineProperty(exports, "DEFAULT_FONT_NAME", { enumerable: true, get: function () { return common_1.DEFAULT_FONT_NAME; } });
6
+ Object.defineProperty(exports, "isHexValid", { enumerable: true, get: function () { return common_1.isHexValid; } });
7
+ Object.defineProperty(exports, "b64toUint8Array", { enumerable: true, get: function () { return common_1.b64toUint8Array; } });
8
+ Object.defineProperty(exports, "pt2mm", { enumerable: true, get: function () { return common_1.pt2mm; } });
9
+ Object.defineProperty(exports, "pt2px", { enumerable: true, get: function () { return common_1.pt2px; } });
10
+ Object.defineProperty(exports, "getB64BasePdf", { enumerable: true, get: function () { return common_1.getB64BasePdf; } });
11
+ Object.defineProperty(exports, "isBlankPdf", { enumerable: true, get: function () { return common_1.isBlankPdf; } });
12
+ Object.defineProperty(exports, "mm2pt", { enumerable: true, get: function () { return common_1.mm2pt; } });
13
+ Object.defineProperty(exports, "px2mm", { enumerable: true, get: function () { return common_1.px2mm; } });
14
+ Object.defineProperty(exports, "getFallbackFontName", { enumerable: true, get: function () { return common_1.getFallbackFontName; } });
15
+ Object.defineProperty(exports, "getDefaultFont", { enumerable: true, get: function () { return common_1.getDefaultFont; } });
16
+ //# sourceMappingURL=pdfme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdfme.js","sourceRoot":"","sources":["../../../src/create/pdf/pdfme.ts"],"names":[],"mappings":";;;AAAA,wCAYuB;AAXrB,2GAAA,iBAAiB,OAAA;AACjB,oGAAA,UAAU,OAAA;AACV,yGAAA,eAAe,OAAA;AACf,+FAAA,KAAK,OAAA;AACL,+FAAA,KAAK,OAAA;AACL,uGAAA,aAAa,OAAA;AACb,oGAAA,UAAU,OAAA;AACV,+FAAA,KAAK,OAAA;AACL,+FAAA,KAAK,OAAA;AACL,6GAAA,mBAAmB,OAAA;AACnB,wGAAA,cAAc,OAAA"}