@pdfme/common 6.1.12-dev.7 → 6.1.13
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/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/schema.d.ts +61 -54
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Buffer } from "buffer";
|
|
|
3
3
|
import { PDFName } from "@pdfme/pdf-lib";
|
|
4
4
|
import * as acorn from "acorn";
|
|
5
5
|
//#region src/version.ts
|
|
6
|
-
var PDFME_VERSION = "6.1.
|
|
6
|
+
var PDFME_VERSION = "6.1.13";
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/pageSize.ts
|
|
9
9
|
var PAGE_SIZE_PRESETS = {
|
|
@@ -100,6 +100,7 @@ var DEFAULT_FONT_VALUE = "data:font/ttf;base64,AAEAAAASAQAABAAgR0RFRnC0bdgAAZ5sA
|
|
|
100
100
|
var Lang = z.enum([
|
|
101
101
|
"en",
|
|
102
102
|
"zh",
|
|
103
|
+
"zh-TW",
|
|
103
104
|
"ja",
|
|
104
105
|
"ko",
|
|
105
106
|
"ar",
|
|
@@ -933,7 +934,10 @@ var evaluatePlaceholders = (arg) => {
|
|
|
933
934
|
resultContent += content.slice(startIndex, endIndex);
|
|
934
935
|
}
|
|
935
936
|
index = endIndex;
|
|
936
|
-
} else
|
|
937
|
+
} else {
|
|
938
|
+
resultContent += content.slice(startIndex);
|
|
939
|
+
break;
|
|
940
|
+
}
|
|
937
941
|
}
|
|
938
942
|
return resultContent;
|
|
939
943
|
};
|