@pdfme/common 1.2.6 → 2.0.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.
Files changed (42) hide show
  1. package/dist/cjs/__tests__/font.test.js +254 -0
  2. package/dist/cjs/__tests__/font.test.js.map +1 -0
  3. package/dist/cjs/__tests__/helper.test.js +0 -189
  4. package/dist/cjs/__tests__/helper.test.js.map +1 -1
  5. package/dist/cjs/src/constants.js +2 -1
  6. package/dist/cjs/src/constants.js.map +1 -1
  7. package/dist/cjs/src/{calculateDynamicFontSize.js → font.js} +76 -7
  8. package/dist/cjs/src/font.js.map +1 -0
  9. package/dist/cjs/src/helper.js +11 -52
  10. package/dist/cjs/src/helper.js.map +1 -1
  11. package/dist/cjs/src/index.js +10 -6
  12. package/dist/cjs/src/index.js.map +1 -1
  13. package/dist/esm/__tests__/font.test.js +229 -0
  14. package/dist/esm/__tests__/font.test.js.map +1 -0
  15. package/dist/esm/__tests__/helper.test.js +1 -167
  16. package/dist/esm/__tests__/helper.test.js.map +1 -1
  17. package/dist/esm/src/constants.js +1 -0
  18. package/dist/esm/src/constants.js.map +1 -1
  19. package/dist/esm/src/{calculateDynamicFontSize.js → font.js} +70 -7
  20. package/dist/esm/src/font.js.map +1 -0
  21. package/dist/esm/src/helper.js +2 -40
  22. package/dist/esm/src/helper.js.map +1 -1
  23. package/dist/esm/src/index.js +4 -4
  24. package/dist/esm/src/index.js.map +1 -1
  25. package/dist/types/src/constants.d.ts +1 -0
  26. package/dist/types/src/font.d.ts +17 -0
  27. package/dist/types/src/helper.d.ts +1 -7
  28. package/dist/types/src/index.d.ts +4 -4
  29. package/package.json +2 -2
  30. package/src/constants.ts +1 -0
  31. package/src/font.ts +194 -0
  32. package/src/helper.ts +3 -58
  33. package/src/index.ts +13 -4
  34. package/dist/cjs/__tests__/calculateDynamicFontSize.test.js +0 -97
  35. package/dist/cjs/__tests__/calculateDynamicFontSize.test.js.map +0 -1
  36. package/dist/cjs/src/calculateDynamicFontSize.js.map +0 -1
  37. package/dist/esm/__tests__/calculateDynamicFontSize.test.js +0 -72
  38. package/dist/esm/__tests__/calculateDynamicFontSize.test.js.map +0 -1
  39. package/dist/esm/src/calculateDynamicFontSize.js.map +0 -1
  40. package/dist/types/src/calculateDynamicFontSize.d.ts +0 -6
  41. package/src/calculateDynamicFontSize.ts +0 -101
  42. /package/dist/types/__tests__/{calculateDynamicFontSize.test.d.ts → font.test.d.ts} +0 -0
@@ -0,0 +1,254 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
+ return new (P || (P = Promise))(function (resolve, reject) {
28
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
32
+ });
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ const fs_1 = require("fs");
36
+ const path = __importStar(require("path"));
37
+ const font_1 = require("../src/font");
38
+ const src_1 = require("../src");
39
+ const sansData = (0, fs_1.readFileSync)(path.join(__dirname, `/assets/fonts/SauceHanSansJP.ttf`));
40
+ const serifData = (0, fs_1.readFileSync)(path.join(__dirname, `/assets/fonts/SauceHanSerifJP.ttf`));
41
+ const getSampleFont = () => ({
42
+ SauceHanSansJP: { fallback: true, data: sansData },
43
+ SauceHanSerifJP: { data: serifData },
44
+ });
45
+ const getTemplate = () => ({
46
+ basePdf: src_1.BLANK_PDF,
47
+ schemas: [
48
+ {
49
+ a: {
50
+ type: 'text',
51
+ fontName: 'SauceHanSansJP',
52
+ position: { x: 0, y: 0 },
53
+ width: 100,
54
+ height: 100,
55
+ },
56
+ b: {
57
+ type: 'text',
58
+ position: { x: 0, y: 0 },
59
+ width: 100,
60
+ height: 100,
61
+ },
62
+ },
63
+ ],
64
+ });
65
+ const getTextSchema = () => {
66
+ const textSchema = {
67
+ position: { x: 0, y: 0 }, type: 'text', fontSize: 14, characterSpacing: 1, width: 50, height: 50
68
+ };
69
+ return textSchema;
70
+ };
71
+ describe('checkFont test', () => {
72
+ test('success test: no fontName in Schemas', () => {
73
+ const _getTemplate = () => ({
74
+ basePdf: src_1.BLANK_PDF,
75
+ schemas: [
76
+ {
77
+ a: {
78
+ type: 'text',
79
+ position: { x: 0, y: 0 },
80
+ width: 100,
81
+ height: 100,
82
+ },
83
+ b: {
84
+ type: 'text',
85
+ position: { x: 0, y: 0 },
86
+ width: 100,
87
+ height: 100,
88
+ },
89
+ },
90
+ ],
91
+ });
92
+ try {
93
+ (0, font_1.checkFont)({ template: _getTemplate(), font: getSampleFont() });
94
+ expect.anything();
95
+ }
96
+ catch (e) {
97
+ fail();
98
+ }
99
+ });
100
+ test('success test: fontName in Schemas(fallback font)', () => {
101
+ try {
102
+ (0, font_1.checkFont)({ template: getTemplate(), font: getSampleFont() });
103
+ expect.anything();
104
+ }
105
+ catch (e) {
106
+ fail();
107
+ }
108
+ });
109
+ test('success test: fontName in Schemas(not fallback font)', () => {
110
+ const getFont = () => ({
111
+ SauceHanSansJP: { data: sansData },
112
+ SauceHanSerifJP: { fallback: true, data: serifData },
113
+ });
114
+ try {
115
+ (0, font_1.checkFont)({ template: getTemplate(), font: getFont() });
116
+ expect.anything();
117
+ }
118
+ catch (e) {
119
+ fail();
120
+ }
121
+ });
122
+ test('fail test: no fallback font', () => {
123
+ const getFont = () => ({
124
+ SauceHanSansJP: { data: sansData },
125
+ SauceHanSerifJP: { data: serifData },
126
+ });
127
+ try {
128
+ (0, font_1.checkFont)({ template: getTemplate(), font: getFont() });
129
+ fail();
130
+ }
131
+ catch (e) {
132
+ expect(e.message).toEqual('fallback flag is not found in font. true fallback flag must be only one.');
133
+ }
134
+ });
135
+ test('fail test: too many fallback font', () => {
136
+ const getFont = () => ({
137
+ SauceHanSansJP: { data: sansData, fallback: true },
138
+ SauceHanSerifJP: { data: serifData, fallback: true },
139
+ });
140
+ try {
141
+ (0, font_1.checkFont)({ template: getTemplate(), font: getFont() });
142
+ fail();
143
+ }
144
+ catch (e) {
145
+ expect(e.message).toEqual('2 fallback flags found in font. true fallback flag must be only one.');
146
+ }
147
+ });
148
+ test('fail test: fontName in Schemas not found in font(single)', () => {
149
+ const _getTemplate = () => ({
150
+ basePdf: src_1.BLANK_PDF,
151
+ schemas: [
152
+ {
153
+ a: {
154
+ type: 'text',
155
+ fontName: 'SauceHanSansJP2',
156
+ position: { x: 0, y: 0 },
157
+ width: 100,
158
+ height: 100,
159
+ },
160
+ b: {
161
+ type: 'text',
162
+ position: { x: 0, y: 0 },
163
+ width: 100,
164
+ height: 100,
165
+ },
166
+ },
167
+ ],
168
+ });
169
+ try {
170
+ (0, font_1.checkFont)({ template: _getTemplate(), font: getSampleFont() });
171
+ fail();
172
+ }
173
+ catch (e) {
174
+ expect(e.message).toEqual('SauceHanSansJP2 of template.schemas is not found in font.');
175
+ }
176
+ });
177
+ test('fail test: fontName in Schemas not found in font(single)', () => {
178
+ const _getTemplate = () => ({
179
+ basePdf: src_1.BLANK_PDF,
180
+ schemas: [
181
+ {
182
+ a: {
183
+ type: 'text',
184
+ fontName: 'SauceHanSansJP2',
185
+ position: { x: 0, y: 0 },
186
+ width: 100,
187
+ height: 100,
188
+ },
189
+ b: {
190
+ type: 'text',
191
+ fontName: 'SauceHanSerifJP2',
192
+ position: { x: 0, y: 0 },
193
+ width: 100,
194
+ height: 100,
195
+ },
196
+ },
197
+ ],
198
+ });
199
+ try {
200
+ (0, font_1.checkFont)({ template: _getTemplate(), font: getSampleFont() });
201
+ fail();
202
+ }
203
+ catch (e) {
204
+ expect(e.message).toEqual('SauceHanSansJP2,SauceHanSerifJP2 of template.schemas is not found in font.');
205
+ }
206
+ });
207
+ });
208
+ describe('calculateDynamicFontSize with Default font', () => {
209
+ const font = (0, font_1.getDefaultFont)();
210
+ it('should return default font size when dynamicFontSizeSetting is not provided', () => __awaiter(void 0, void 0, void 0, function* () {
211
+ const textSchema = getTextSchema();
212
+ const result = yield (0, font_1.calculateDynamicFontSize)({ textSchema, font, input: 'test' });
213
+ expect(result).toBe(14);
214
+ }));
215
+ it('should return smaller font size when dynamicFontSizeSetting is provided', () => __awaiter(void 0, void 0, void 0, function* () {
216
+ const textSchema = Object.assign(getTextSchema(), { dynamicFontSize: { max: 20, min: 10 } });
217
+ const result = yield (0, font_1.calculateDynamicFontSize)({ textSchema, font, input: 'testtesttesttesttest' });
218
+ expect(result).toBe(14.25);
219
+ }));
220
+ it('should return min font size when dynamicFontSizeSetting and long text are provided', () => __awaiter(void 0, void 0, void 0, function* () {
221
+ const textSchema = Object.assign(getTextSchema(), { dynamicFontSize: { max: 20, min: 10 } });
222
+ const result = yield (0, font_1.calculateDynamicFontSize)({ textSchema, font, input: 'testtesttesttesttesttesttesttesttesttesttest' });
223
+ expect(result).toBe(10);
224
+ }));
225
+ it('should return max font size when dynamicFontSizeSetting and short text are provided', () => __awaiter(void 0, void 0, void 0, function* () {
226
+ const textSchema = Object.assign(getTextSchema(), { dynamicFontSize: { max: 20, min: 10 } });
227
+ const result = yield (0, font_1.calculateDynamicFontSize)({ textSchema, font, input: 'a' });
228
+ expect(result).toBe(20);
229
+ }));
230
+ });
231
+ describe('calculateDynamicFontSize with Custom font', () => {
232
+ const font = getSampleFont();
233
+ it('should return default font size when dynamicFontSizeSetting is not provided', () => __awaiter(void 0, void 0, void 0, function* () {
234
+ const textSchema = getTextSchema();
235
+ const result = yield (0, font_1.calculateDynamicFontSize)({ textSchema, font, input: 'あいう' });
236
+ expect(result).toBe(14);
237
+ }));
238
+ it('should return smaller font size when dynamicFontSizeSetting is provided', () => __awaiter(void 0, void 0, void 0, function* () {
239
+ const textSchema = Object.assign(getTextSchema(), { dynamicFontSize: { max: 20, min: 10 } });
240
+ const result = yield (0, font_1.calculateDynamicFontSize)({ textSchema, font, input: 'あいうあいうあい' });
241
+ expect(result).toBe(16.5);
242
+ }));
243
+ it('should return min font size when dynamicFontSizeSetting and long text are provided', () => __awaiter(void 0, void 0, void 0, function* () {
244
+ const textSchema = Object.assign(getTextSchema(), { dynamicFontSize: { max: 20, min: 10 } });
245
+ const result = yield (0, font_1.calculateDynamicFontSize)({ textSchema, font, input: 'あいうあいうあいうあいうあいうあいうあいうあいうあいう' });
246
+ expect(result).toBe(10);
247
+ }));
248
+ it('should return max font size when dynamicFontSizeSetting and short text are provided', () => __awaiter(void 0, void 0, void 0, function* () {
249
+ const textSchema = Object.assign(getTextSchema(), { dynamicFontSize: { max: 20, min: 10 } });
250
+ const result = yield (0, font_1.calculateDynamicFontSize)({ textSchema, font, input: 'あ' });
251
+ expect(result).toBe(20);
252
+ }));
253
+ });
254
+ //# sourceMappingURL=font.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font.test.js","sourceRoot":"","sources":["../../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AAE,eAAe,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QAC7F,MAAM,MAAM,GAAG,MAAM,IAAA,+BAAwB,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QAEhF,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC1B,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,195 +1,6 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
- const fs_1 = require("fs");
27
- const path = __importStar(require("path"));
28
3
  const helper_1 = require("../src/helper");
29
- const src_1 = require("../src");
30
- const sansData = (0, fs_1.readFileSync)(path.join(__dirname, `/assets/fonts/SauceHanSansJP.ttf`));
31
- const serifData = (0, fs_1.readFileSync)(path.join(__dirname, `/assets/fonts/SauceHanSerifJP.ttf`));
32
- const getSampleFont = () => ({
33
- SauceHanSansJP: { fallback: true, data: sansData },
34
- SauceHanSerifJP: { data: serifData },
35
- });
36
- const getTemplate = () => ({
37
- basePdf: src_1.BLANK_PDF,
38
- schemas: [
39
- {
40
- a: {
41
- type: 'text',
42
- fontName: 'SauceHanSansJP',
43
- position: { x: 0, y: 0 },
44
- width: 100,
45
- height: 100,
46
- },
47
- b: {
48
- type: 'text',
49
- position: { x: 0, y: 0 },
50
- width: 100,
51
- height: 100,
52
- },
53
- },
54
- ],
55
- });
56
- describe('checkFont test', () => {
57
- test('success test: no fontName in Schemas', () => {
58
- const _getTemplate = () => ({
59
- basePdf: src_1.BLANK_PDF,
60
- schemas: [
61
- {
62
- a: {
63
- type: 'text',
64
- position: { x: 0, y: 0 },
65
- width: 100,
66
- height: 100,
67
- },
68
- b: {
69
- type: 'text',
70
- position: { x: 0, y: 0 },
71
- width: 100,
72
- height: 100,
73
- },
74
- },
75
- ],
76
- });
77
- try {
78
- (0, helper_1.checkFont)({ template: _getTemplate(), font: getSampleFont() });
79
- expect.anything();
80
- }
81
- catch (e) {
82
- fail();
83
- }
84
- });
85
- test('success test: fontName in Schemas(fallback font)', () => {
86
- try {
87
- (0, helper_1.checkFont)({ template: getTemplate(), font: getSampleFont() });
88
- expect.anything();
89
- }
90
- catch (e) {
91
- fail();
92
- }
93
- });
94
- test('success test: fontName in Schemas(not fallback font)', () => {
95
- const getFont = () => ({
96
- SauceHanSansJP: { data: sansData },
97
- SauceHanSerifJP: { fallback: true, data: serifData },
98
- });
99
- try {
100
- (0, helper_1.checkFont)({ template: getTemplate(), font: getFont() });
101
- expect.anything();
102
- }
103
- catch (e) {
104
- fail();
105
- }
106
- });
107
- test('fail test: no fallback font', () => {
108
- const getFont = () => ({
109
- SauceHanSansJP: { data: sansData },
110
- SauceHanSerifJP: { data: serifData },
111
- });
112
- try {
113
- (0, helper_1.checkFont)({ template: getTemplate(), font: getFont() });
114
- fail();
115
- }
116
- catch (e) {
117
- expect(e.message).toEqual('fallback flag is not found in font. true fallback flag must be only one.');
118
- }
119
- });
120
- test('fail test: too many fallback font', () => {
121
- const getFont = () => ({
122
- SauceHanSansJP: { data: sansData, fallback: true },
123
- SauceHanSerifJP: { data: serifData, fallback: true },
124
- });
125
- try {
126
- (0, helper_1.checkFont)({ template: getTemplate(), font: getFont() });
127
- fail();
128
- }
129
- catch (e) {
130
- expect(e.message).toEqual('2 fallback flags found in font. true fallback flag must be only one.');
131
- }
132
- });
133
- test('fail test: fontName in Schemas not found in font(single)', () => {
134
- const _getTemplate = () => ({
135
- basePdf: src_1.BLANK_PDF,
136
- schemas: [
137
- {
138
- a: {
139
- type: 'text',
140
- fontName: 'SauceHanSansJP2',
141
- position: { x: 0, y: 0 },
142
- width: 100,
143
- height: 100,
144
- },
145
- b: {
146
- type: 'text',
147
- position: { x: 0, y: 0 },
148
- width: 100,
149
- height: 100,
150
- },
151
- },
152
- ],
153
- });
154
- try {
155
- (0, helper_1.checkFont)({ template: _getTemplate(), font: getSampleFont() });
156
- fail();
157
- }
158
- catch (e) {
159
- expect(e.message).toEqual('SauceHanSansJP2 of template.schemas is not found in font.');
160
- }
161
- });
162
- test('fail test: fontName in Schemas not found in font(single)', () => {
163
- const _getTemplate = () => ({
164
- basePdf: src_1.BLANK_PDF,
165
- schemas: [
166
- {
167
- a: {
168
- type: 'text',
169
- fontName: 'SauceHanSansJP2',
170
- position: { x: 0, y: 0 },
171
- width: 100,
172
- height: 100,
173
- },
174
- b: {
175
- type: 'text',
176
- fontName: 'SauceHanSerifJP2',
177
- position: { x: 0, y: 0 },
178
- width: 100,
179
- height: 100,
180
- },
181
- },
182
- ],
183
- });
184
- try {
185
- (0, helper_1.checkFont)({ template: _getTemplate(), font: getSampleFont() });
186
- fail();
187
- }
188
- catch (e) {
189
- expect(e.message).toEqual('SauceHanSansJP2,SauceHanSerifJP2 of template.schemas is not found in font.');
190
- }
191
- });
192
- });
193
4
  describe('validateBarcodeInput test', () => {
194
5
  test('qrcode', () => {
195
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