@pdfme/schemas 4.4.2 → 4.5.0-dev.1
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/dist/cjs/src/index.js
CHANGED
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.rotatePoint = exports.convertForPdfLayoutProps = exports.getDynamicHeightsForTable = exports.builtInPlugins = exports.ellipse = exports.rectangle = exports.tableBeta = exports.line = exports.barcodes = exports.readOnlySvg = exports.svg = exports.readOnlyImage = exports.image = exports.readOnlyText = exports.text = exports.multiVariableText = void 0;
|
29
|
+
exports.rotatePoint = exports.convertForPdfLayoutProps = exports.getDynamicHeightsForTable = exports.builtInPlugins = exports.ellipse = exports.rectangle = exports.table = exports.tableBeta = exports.line = exports.barcodes = exports.readOnlySvg = exports.svg = exports.readOnlyImage = exports.image = exports.readOnlyText = exports.text = exports.multiVariableText = void 0;
|
30
30
|
const index_js_1 = __importDefault(require("./multiVariableText/index.js"));
|
31
31
|
exports.multiVariableText = index_js_1.default;
|
32
32
|
const index_js_2 = __importStar(require("./text/index.js"));
|
@@ -43,6 +43,7 @@ exports.barcodes = index_js_3.default;
|
|
43
43
|
const line_js_1 = __importDefault(require("./shapes/line.js"));
|
44
44
|
exports.line = line_js_1.default;
|
45
45
|
const index_js_4 = __importDefault(require("./tables/index.js"));
|
46
|
+
exports.table = index_js_4.default;
|
46
47
|
const dynamicTemplate_js_1 = require("./tables/dynamicTemplate.js");
|
47
48
|
Object.defineProperty(exports, "getDynamicHeightsForTable", { enumerable: true, get: function () { return dynamicTemplate_js_1.getDynamicHeightsForTable; } });
|
48
49
|
const rectAndEllipse_js_1 = require("./shapes/rectAndEllipse.js");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources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AG,EAAE,IAAI,EAAE,kBAAI,EAAE,CAAC;AAiBpC,wCAAc"}
|
package/dist/esm/src/index.js
CHANGED
@@ -10,7 +10,7 @@ import { rectangle, ellipse } from './shapes/rectAndEllipse.js';
|
|
10
10
|
import { convertForPdfLayoutProps, rotatePoint } from './utils.js';
|
11
11
|
const tableBeta = table;
|
12
12
|
const builtInPlugins = { Text: text };
|
13
|
-
export { multiVariableText, text, readOnlyText, image, readOnlyImage, svg, readOnlySvg, barcodes, line, tableBeta, rectangle, ellipse,
|
13
|
+
export { multiVariableText, text, readOnlyText, image, readOnlyImage, svg, readOnlySvg, barcodes, line, tableBeta, table, rectangle, ellipse,
|
14
14
|
// utils
|
15
15
|
builtInPlugins, getDynamicHeightsForTable, convertForPdfLayoutProps, rotatePoint, };
|
16
16
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAC7D,OAAO,IAAI,EAAE,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,GAAG,EAAE,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEnE,MAAM,SAAS,GAAG,KAAK,CAAC;AAExB,MAAM,cAAc,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAEtC,OAAO,EACL,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,aAAa,EACb,GAAG,EACH,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,SAAS,EACT,OAAO;AACP,QAAQ;AACR,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,WAAW,GACZ,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAC7D,OAAO,IAAI,EAAE,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,GAAG,EAAE,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEnE,MAAM,SAAS,GAAG,KAAK,CAAC;AAExB,MAAM,cAAc,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAEtC,OAAO,EACL,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,aAAa,EACb,GAAG,EACH,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,KAAK,EACL,SAAS,EACT,OAAO;AACP,QAAQ;AACR,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,WAAW,GACZ,CAAC"}
|
@@ -4,6 +4,7 @@ import image, { readOnlyImage } from './graphics/image.js';
|
|
4
4
|
import svg, { readOnlySvg } from './graphics/svg.js';
|
5
5
|
import barcodes from './barcodes/index.js';
|
6
6
|
import line from './shapes/line.js';
|
7
|
+
import table from './tables/index.js';
|
7
8
|
import { getDynamicHeightsForTable } from './tables/dynamicTemplate.js';
|
8
9
|
import { rectangle, ellipse } from './shapes/rectAndEllipse.js';
|
9
10
|
import { convertForPdfLayoutProps, rotatePoint } from './utils.js';
|
@@ -11,4 +12,4 @@ declare const tableBeta: import("@pdfme/common").Plugin<import("./tables/types.j
|
|
11
12
|
declare const builtInPlugins: {
|
12
13
|
Text: import("@pdfme/common").Plugin<import("./text/types.js").TextSchema>;
|
13
14
|
};
|
14
|
-
export { multiVariableText, text, readOnlyText, image, readOnlyImage, svg, readOnlySvg, barcodes, line, tableBeta, rectangle, ellipse, builtInPlugins, getDynamicHeightsForTable, convertForPdfLayoutProps, rotatePoint, };
|
15
|
+
export { multiVariableText, text, readOnlyText, image, readOnlyImage, svg, readOnlySvg, barcodes, line, tableBeta, table, rectangle, ellipse, builtInPlugins, getDynamicHeightsForTable, convertForPdfLayoutProps, rotatePoint, };
|
package/package.json
CHANGED